JPH0799477B2 - Music signal generation method - Google Patents

Music signal generation method

Info

Publication number
JPH0799477B2
JPH0799477B2 JP60142053A JP14205385A JPH0799477B2 JP H0799477 B2 JPH0799477 B2 JP H0799477B2 JP 60142053 A JP60142053 A JP 60142053A JP 14205385 A JP14205385 A JP 14205385A JP H0799477 B2 JPH0799477 B2 JP H0799477B2
Authority
JP
Japan
Prior art keywords
waveform
waveforms
periodic waveforms
periodic
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60142053A
Other languages
Japanese (ja)
Other versions
JPS623299A (en
Inventor
秀雄 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP60142053A priority Critical patent/JPH0799477B2/en
Publication of JPS623299A publication Critical patent/JPS623299A/en
Publication of JPH0799477B2 publication Critical patent/JPH0799477B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、限られた複数周期の波形を繰返すことによ
り連続的な楽音信号を発生する方法に関し、特に、繰返
しによって生ずるおそれのある不自然さを軽減するよう
にした楽音信号発生方法に関する。
Description: TECHNICAL FIELD The present invention relates to a method of generating a continuous tone signal by repeating a waveform of a limited plurality of cycles, and in particular, unnaturalness that may occur due to repetition. The present invention relates to a musical tone signal generating method for reducing the noise.

〔従来の技術〕[Conventional technology]

楽音の発音開始から終了に至るまでの全波形をメモリに
予め記憶し、これを読み出すことにより高品質の楽音信
号を発生するようにすることが特開昭52−121313号公報
に示されている。しかし、このように全波形を記憶する
方式では、メモリ容量が膨大となり、コスト高になると
いう不都合があるほか、持続音の発生は実質的に不可能
であった。この点に鑑みて、全発音期間のうちの一部の
複数周期波形を波形メモリに記憶しておき、これを繰返
し読み出すことにより楽音信号を得るようにすることが
同じく上記公報中に示されている。しかし、繰返し読み
出した複数周期波形部分を単に連続させただけでは繰返
し部分相互のつながりが不自然になるという問題があっ
た。
JP-A-52-121313 discloses that all waveforms from the start to the end of musical tone generation are stored in a memory in advance and a high quality musical tone signal is generated by reading this waveform. . However, the method of storing all the waveforms as described above has a disadvantage that the memory capacity becomes huge and the cost becomes high, and continuous sound is substantially impossible to generate. In view of this point, it is also shown in the above-mentioned publication that a plurality of periodic waveforms of the entire tone generation period are stored in a waveform memory and a tone signal is obtained by repeatedly reading this waveform. There is. However, there is a problem that the connection between the repetitive portions becomes unnatural if the repetitive read-out multiple period waveform portions are simply made continuous.

この点に鑑みて、特開昭59−188697号公報においては、
繰返し部分の終端と始端とが滑らかにつながるようにし
た工夫が開示されている。
In view of this point, in JP-A-59-188697,
A device for smoothly connecting the terminal end and the starting end of the repeating portion is disclosed.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

ところで、限られた複数周期波形を繰返すことにより連
続的な楽音信号を発生する場合、上述のように繰返し部
分相互のつながりを滑らかにするのは勿論のこと、繰返
しによる不自然な周期性を感じさせないようにすること
も重要である。繰返し部分として準備した複数周期波形
の音色が定常的であれば、これを繰返しても不自然な周
期性を余り感じさせないが、この繰返し部分の音色が定
常的でなければ、これを繰返したとき不自然な周期性が
感じられてしまう、という問題点があった。このこと
を、音色変動をたて軸にとったグラフによって示すと、
第4図(a)のように音色が比較的安定している繰返し
部分を繰返した場合、同図(b)のように音色変化の不
自然な周期性が現われないが、同図(c)のように音色
が定常的でない繰返し部分を繰返した場合は、同図
(d)のように音色変化に不自然な周期性が生じる。
By the way, when a continuous tone signal is generated by repeating a limited number of periodic waveforms, it is of course necessary to smooth the connection between repeating portions as described above, and to feel unnatural periodicity due to repetition. It is also important not to let it happen. If the timbre of the multi-period waveform prepared as a repeating part is stationary, repeating this will not make you feel unnatural periodicity, but if the timbre of this repeating part is not stationary, when you repeat this There was a problem that an unnatural periodicity was felt. This is shown by a graph with timbre variation on the vertical axis,
When a repeating portion where the timbre is relatively stable as shown in FIG. 4 (a) is repeated, an unnatural periodicity of timbre change does not appear as in FIG. 4 (b), but FIG. When a repetitive portion whose tone color is not constant is repeated as shown in FIG. 5, unnatural periodicity occurs in the tone color change as shown in FIG.

従来のものにおいては、上述のように繰返し部分の終端
と始端を滑らかにつなぐ工夫はなされているが、繰返し
によって生ずる不自然さを軽減する特別の工夫はなされ
ていなかった。このような不自然さを軽減するには、単
純には、繰返し部分の波形としてできるだけ音色が定常
状態にある波形を選定すればよい(自然楽器音波形から
採取する)のであるが、それは面倒かつ困難であり、ま
た、楽器によってはそのような定常状態が無いものも多
い。例えば、ピアノの場合、特に低温部においてそのよ
うな音色の定常状態は存在せず、時間経過に伴って或る
指向性を持って音色が変動する。このように指向性を持
って変動する音色が、繰返しによって時間的に前の音色
に戻るのは極めて不自然である。
The conventional device has been devised to smoothly connect the terminal end and the starting end of the repetitive portion as described above, but has not been specially devised to reduce the unnaturalness caused by the repetitive operation. To reduce such unnaturalness, simply select a waveform whose timbre is in a steady state as much as possible for the waveform of the repetitive portion (sampled from the sound waveform of a natural musical instrument). It is difficult, and many musical instruments do not have such a steady state. For example, in the case of a piano, such a steady state of the tone color does not exist especially in the low temperature part, and the tone color fluctuates with a certain directivity with the passage of time. In this way, it is extremely unnatural for a tone color that changes with directivity to return to the previous tone color in time by repetition.

この発明は上述の点に鑑みてなされたもので、限られた
複数周期波形を繰返すことにより連続的な楽音信号を発
生する場合において、繰返しによって生じるおそれのあ
る不自然な周期性を軽減することができるようにした楽
音信号発生方法を提供しようとするものである。
The present invention has been made in view of the above points, and when a continuous tone signal is generated by repeating a limited plurality of periodic waveforms, it is possible to reduce unnatural periodicity that may occur due to repetition. It is intended to provide a musical tone signal generating method capable of performing the above.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係る楽音信号発生方法は、第1の複数周期波
形を準備すること、前記第1の複数周期波形を時間的に
逆向きに並べ換えることにより第2の複数周期波形を得
ること、前記第1及び第2の複数周期波形をサンプル点
同士で合成することにより、合成された複数周期波形を
得ること、前記合成された複数周期波形をメモリに記憶
すること、及び前記メモリに記憶された前記合成された
複数周期波形を繰返し読み出すことにより前記連続的な
楽音信号を発生すること、から成るものである。
A tone signal generating method according to the present invention comprises preparing a first plurality of periodic waveforms, obtaining a second plurality of periodic waveforms by rearranging the first plurality of periodic waveforms in a reverse direction in time, Obtaining a combined multiple-cycle waveform by combining the first and second multiple-cycle waveforms at sample points, storing the combined multiple-cycle waveform in a memory, and storing the combined multiple-cycle waveform in the memory The continuous tone signal is generated by repeatedly reading the synthesized plural period waveforms.

〔作用〕[Action]

第2の複数周期波形は第1の複数周期波形を時間的に逆
向きに並べ換えたものであるから、第1の複数周期波形
の音色変動の指向性とは逆向きの指向性を持つことにな
る。従って、両波形を合成することにより、音色変動が
平均化され、指向性が解消される。これにより、合成波
形の繰返しによって得られる連続的な楽音信号において
音色変化の不自然な周期性が軽減される。
Since the second plural-cycle waveform is obtained by rearranging the first plural-cycle waveform in the reverse direction in time, it has the directivity opposite to the directivity of the tone color variation of the first plural-cycle waveform. Become. Therefore, by synthesizing both waveforms, the tone color fluctuations are averaged and the directivity is eliminated. As a result, the unnatural periodicity of the tone color change is reduced in the continuous tone signal obtained by repeating the synthesized waveform.

実施態様として、第2の複数周期波形を得るための第1
の複数周期波形の並べ換えは、サンプル点単位で行って
もよいし、1又は複数周期単位若しくは1/2周期単位で
行ってもよい。
As an embodiment, the first for obtaining the second multi-period waveform
The multiple-cycle waveforms may be rearranged in sample point units, or in one or multiple cycle units or ½ cycle unit.

〔実施例〕〔Example〕

以下、添付図面に基づきこの発明の一実施例を詳細に説
明しよう。
An embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

第1図はこの発明の一実施例に係る手順を流れ図によっ
て示したもので、第1のステップにおいて、限られた複
数周期から成る第1の波形を準備する。第2のステップ
において、第1の複数周期波形を時間的に逆向きに並べ
換えることにより第2の複数周期波形を得る。第3のス
テップにおいて、第1及び第2の複数周期波形を合成す
る。
FIG. 1 is a flow chart showing a procedure according to an embodiment of the present invention. In the first step, a first waveform having a limited plurality of cycles is prepared. In the second step, the second plural-period waveform is obtained by rearranging the first plural-period waveform in a temporally reverse direction. In the third step, the first and second plural period waveforms are combined.

第2図は、各ステップで準備される若しくは得られる波
形の一例を示すと共に、それに関連する音色変動特性を
模式的に示すものである。
FIG. 2 shows an example of a waveform prepared or obtained in each step, and also schematically shows the tone color variation characteristics related thereto.

第2図(a)は、第1のステップで準備される第1の複
数周期波形を示す。このステップでは、例えば、所望の
自然楽器音の発音開始から終了に至るまでの全波形の中
から音色変動が比較的安定している部分(サステイン部
分)の複数周期波形を選定し、これを時間的に順方向に
複数サンプル点Mでサンプリングし、適宜のメモリに記
憶しておくとよい。なお、選定した複数周期波形のエン
ベロープレベルを一定にするレベル規格化処理を行って
おくとよい。
FIG. 2 (a) shows a first plural-period waveform prepared in the first step. In this step, for example, a multi-period waveform of a portion (sustain portion) where the tone color variation is relatively stable is selected from all waveforms from the start to the end of the desired natural musical instrument sound, and this It is advisable to perform sampling in the forward direction at a plurality of sample points M and store it in an appropriate memory. It should be noted that it is preferable to perform a level standardization process that makes the envelope level of the selected multiple-cycle waveform constant.

第2図(c)は、第2のステップで得られる第2の複数
周期波形を示す。このステップでは、例えば、メモリに
記憶した上記第1の複数周期波形を逆アドレス方向に読
み出すことにより該第1の複数周期波形をサンプル点単
位で時間的に逆向きに並べ換え、かつ位相反転を行う
(つまり各サンプル値の正負極性を反転する)ことによ
り第2の複数周期波形を作成し、これを適宜のメモリに
記憶しておくとよい。第1の複数周期波形における時間
的に順方向のサンプル点を1〜Mで番号付けし、第2の
複数周期波形における時間的に順方向のサンプル点を
1′〜M′で番号付けすると、サンプル点1′の波形サ
ンプル値はサンプル点Mの波形サンプル値の極性を反転
したものであり、サンプル点2′の波形サンプル値はサ
ンプル点M−1の波形サンプル値の極性を反転したもの
であり、以下同様に、サンプル点M′の波形サンプル値
はサンプル点1の波形サンプル値の極性を反転したもの
である。なお、位相反転する理由は、両波形を合成した
ときに振幅値の打消しが起ることを防ぐためである。波
形区間の選定の仕方によってそのような打消しの心配が
ない場合も有り得るが、そのような場合は、上述の位相
反転(極性反転)の必要はない。
FIG. 2 (c) shows a second multi-period waveform obtained in the second step. In this step, for example, the first plurality of periodic waveforms stored in the memory are read out in the reverse address direction, so that the first plurality of periodic waveforms are rearranged in a temporally reverse direction on a sample point basis and phase inversion is performed. (That is, the positive and negative polarities of each sample value are inverted) to create the second plurality of periodic waveforms, which may be stored in an appropriate memory. If the temporally forward sample points in the first plurality of periodic waveforms are numbered 1-M, and the temporally forward sample points in the second plurality of periodic waveforms are numbered 1'-M ', The waveform sample value at sample point 1'is the inverted polarity of the waveform sample value at sample point M, and the waveform sample value at sample point 2'is the inverted polarity of the waveform sample value at sample point M-1. Similarly, the waveform sample value at the sample point M'is the polarity of the waveform sample value at the sample point 1 inverted. The reason for phase inversion is to prevent the cancellation of the amplitude value when the two waveforms are combined. There may be a case where there is no fear of such cancellation depending on how the waveform section is selected, but in such a case, the above-mentioned phase inversion (polarity inversion) is not necessary.

第2図(b)は(a)の波形における音色変動特性の一
例を示し、(d)は(c)の波形における音色変動特性
を示す。(c)の波形は(a)の波形を時間的に逆向き
に並べ換えたものであるため、両波形における音色変動
の指向性はほぼ逆向きになる。
FIG. 2B shows an example of the tone color variation characteristic of the waveform shown in FIG. 2A, and FIG. 2D shows the tone color variation characteristic of the waveform shown in FIG. Since the waveform of (c) is obtained by rearranging the waveform of (a) in the opposite direction in time, the directivity of the tone color variation in both waveforms is almost opposite.

第2図(e)〜(g)は、第3のステップで合成される
複数周期波形の一例を示したものである。この例の場
合、まず(a),(c)に示す第1及び第2の複数周期
波形をメモリから読み出して同一アドレス順序のもの同
士(例えばサンプル点1と1′、あるいは2と2′、M
とM′など)を加算し、これを2で割って平均化し、第
2図(e)に示すような合成波形を得る。次に、この
(e)に示す合成波形の適当な始端区間A〜Bを立上り
特性のエンベロープで重みづけし、区間A〜Bと同じ幅
の終端区間C〜Dを立下り特性のエンベロープで重みづ
けして、第2図(f)に示すような合成波形を得る。次
に、(f)に示す合成波形の終端区間C〜Dを切り取
り、これを始端区間A〜Bの部分に加算し、第2図
(g)に示すような合成波形を得る。この(g)の合成
波形をメモリに記憶しておくとよい。第2図(h)は
(g)の波形における音色変動特性を示す。これは
(b),(d)に示された特性を合成した特性になるた
め、音色変動の指向性が解消され、ほぼ定常状態とな
る。なお、第2図(e),(f)に示す波形の音色変動
特性も第2図(h)と同様に定常状態を示すものとな
る。
2 (e) to (g) show an example of a plurality of periodic waveforms synthesized in the third step. In the case of this example, first, the first and second plural-period waveforms shown in (a) and (c) are read from the memory and those having the same address order (for example, sample points 1 and 1 ', or 2 and 2', M
And M ', etc.) are added, and this is divided by 2 and averaged to obtain a composite waveform as shown in FIG. 2 (e). Next, appropriate start end sections A to B of the composite waveform shown in (e) are weighted by the rising characteristic envelope, and end sections C to D having the same width as the section A to B are weighted by the falling characteristic envelope. In addition, a composite waveform as shown in FIG. 2 (f) is obtained. Next, the end sections C to D of the composite waveform shown in (f) are cut out and added to the portions of the start section A to B to obtain a composite waveform as shown in FIG. 2 (g). It is preferable to store the combined waveform of (g) in the memory. FIG. 2 (h) shows a tone color variation characteristic in the waveform of (g). Since this is a characteristic obtained by combining the characteristics shown in (b) and (d), the directivity of the tone color variation is eliminated, and a substantially steady state is achieved. The timbre variation characteristics of the waveforms shown in FIGS. 2 (e) and 2 (f) also show a steady state as in FIG. 2 (h).

楽音信号を発生する場合、例えば、第2図(g)に示す
合成波形をメモリから繰返し読み出す。こうして、第2
図(g)に示す複数周期波形を繰返すことにより連続的
な楽音信号が発生される。第2図(g)の波形を繰返し
た場合、繰返し部分同士のつながりを滑らかにすること
ができるので有利である。しかし、場合によっては、第
2図(e)に示す合成波形をメモリに記憶し、これを繰
返し読み出すことにより連続的な楽音信号を発生するよ
うにしてもよい。
When a musical tone signal is generated, for example, the synthetic waveform shown in FIG. 2 (g) is repeatedly read from the memory. Thus, the second
A continuous tone signal is generated by repeating the multiple-period waveform shown in FIG. When the waveform of FIG. 2 (g) is repeated, the connection between the repeated portions can be made smooth, which is advantageous. However, in some cases, the synthesized waveform shown in FIG. 2 (e) may be stored in a memory and read out repeatedly to generate a continuous tone signal.

楽音信号を発生するための別の例として、第1及び第2
のステップでメモリに記憶した第1及び第2の複数周期
波形を該メモリから同時に繰返し読み出し、こうして繰
返し発生される第1及び第2の複数周期波形に基づき前
記第3のステップを実時間で実行し、これにより第2図
(e)又は(g)に示すような合成波形が繰返し発生さ
れるようにしてもよい。また、第1のステップでメモリ
に記憶した第1の複数周期波形を順アドレス方向に繰返
し読み出すと共に、該メモリを逆アドレス方向に繰返し
読み出して前記第2のステップを実時間で実行し、こう
して繰返し発生される第1及び第2の複数周期波形に基
づき前記第3のステップを実時間で実行するようにして
もよい。
As another example for generating a musical tone signal, first and second
The first and second plurality of periodic waveforms stored in the memory in step 1 are repeatedly read from the memory at the same time, and the third step is executed in real time based on the repeatedly generated first and second plurality of periodic waveforms. However, by doing so, a composite waveform as shown in FIG. 2 (e) or (g) may be repeatedly generated. In addition, the first plurality of periodic waveforms stored in the memory in the first step are repeatedly read out in the forward address direction, the memory is repeatedly read out in the reverse address direction, and the second step is executed in real time. The third step may be executed in real time based on the generated first and second plural period waveforms.

前記第2のステップの別の例として、第1の複数周期波
形を1又は所定の複数周期単位で時間的に逆向きに並べ
換えることにより第2の複数周期波形を得るようにして
もよい。第2図(i)は、そのようにして得た第2の複
数周期波形の一例を示すものであり、1周期単位で並べ
換えたものである。すなわち、第2図(a)に示す第1
の複数周期波形の第1周期波形から第n(最終)周期波
形までをP1〜Pnで示すと、第2図(i)に示す第2の複
数周期波形の第1周期波形はPn、第2周期波形はPn-1,
……第n周期波形はP1となる。この場合、1周期波形内
のサンプル点順位は時間的に逆向きとなっていず、従っ
て、合成の際の波形打消しの心配がなく、位相反転の必
要はない。
As another example of the second step, the second plurality of periodic waveforms may be obtained by rearranging the first plurality of periodic waveforms in a reverse direction in time in units of one or a predetermined plurality of periods. FIG. 2 (i) shows an example of the second plurality of periodic waveforms thus obtained, which are rearranged in units of one period. That is, the first shown in FIG.
P 1 to P n from the first periodic waveform to the nth (final) periodic waveform of the plurality of periodic waveforms, the first periodic waveform of the second multiple periodic waveform shown in FIG. 2 (i) is P n. , The second periodic waveform is P n-1 ,
...... The nth period waveform becomes P 1 . In this case, the order of the sample points in the one-cycle waveform is not reversed in time, and therefore there is no fear of canceling the waveform at the time of synthesis and there is no need for phase inversion.

また、第2のステップの別の例として、第1の複数周期
波形を1/2周期単位で時間的に逆向きに並べ換え、かつ
位相反転を行うことにより第2の複数周期波形を得るよ
うにしてもよい。第2図(j)はそのようにして得た第
2の複数周期波形の一例を示す。この場合、半周期波形
内のサンプル点順位は逆向きになっていないが、半周期
毎に位相が逆転するので、合成の際の波形打消しの問題
が生じ、従って、位相反転(極性反転)を行う。
In addition, as another example of the second step, the second multiple-cycle waveform is obtained by rearranging the first multiple-cycle waveform in ½-cycle units in the opposite direction in time and performing phase inversion. May be. FIG. 2 (j) shows an example of the second multi-period waveform obtained in this way. In this case, the order of sample points in the half-cycle waveform is not reversed, but since the phase is reversed every half cycle, the problem of waveform cancellation during synthesis occurs, and therefore phase inversion (polarity inversion) occurs. I do.

更に、別の例として、任意のサンプル点数を単位として
前記第2のステップにおける並べ換え処理を行うように
してもよい。
Furthermore, as another example, the rearrangement process in the second step may be performed using an arbitrary number of sample points as a unit.

また、第3のステップにおいて、第2図(f)に示す波
形から区間A〜Bを切り離して区間C〜Dに加算し、第
2図(k)に示すような合成波形を得て、これを繰返す
ことにより楽音信号を発生するようにしてもよい。この
場合、特開昭59−188697号に示されるように、区間A〜
Bに対応する第1の複数周期波形の始端区間が、別途に
準備する立上り部の複数周期波形の終端区間に該当する
ものとすれば、この立上り部の複数周期波形と第2図
(k)に示す波形とのつながりを滑らかにすることがで
きる。
In the third step, the sections A to B are separated from the waveform shown in FIG. 2 (f) and added to the sections C to D to obtain a composite waveform as shown in FIG. 2 (k). The tone signal may be generated by repeating the above. In this case, as shown in Japanese Patent Laid-Open No. 59-188697, the section A to
If the starting end section of the first multiple-cycle waveform corresponding to B corresponds to the ending section of the multiple-cycle waveform of the rising section that is separately prepared, the multiple-cycle waveform of this rising section and FIG. The connection with the waveform shown in can be smoothed.

第3図はこの発明に係る楽音信号発生方法を応用した電
子楽器の一例を示すもので、波形メモリ10において、複
数周期から成る立上り部の楽音波形と繰返し部の楽音波
形とを各音色種類毎に記憶している。ここで、該波形メ
モリ10に記憶される繰返し部の楽音波形は、例えば前述
の第3のステップで合成された第2図(e),(g)、
又は(k)に示すような波形である。例えば、メモリ10
における1音色種類分の波形のデータの記憶の仕方は、
立上り部の楽音波形の順次サンプル点データがアタック
スタートアドレスAsから繰返しスタートアドレスRsの直
前のアドレスまでの範囲に記憶されており、繰返し部の
楽音波形の順次サンプル点データが繰返しスタートアド
レスRsから繰返しエンドアドレスReまでの範囲に記憶さ
れているものとする。この場合、メモリに記憶する波形
データの符号化形式は、PCM(パルスコード変調)方式
に限らず、DPCM方式、DM方式、ADPCM方式、ACM方式など
どのようなものでもよく、又はアナログ形式であっても
よい。
FIG. 3 shows an example of an electronic musical instrument to which the musical tone signal generating method according to the present invention is applied. In the waveform memory 10, a musical tone waveform of a rising portion and a musical tone waveform of a repeating portion which are composed of a plurality of cycles are provided for each tone color type. I remember. Here, the musical tone waveform of the repeating portion stored in the waveform memory 10 is, for example, FIG. 2 (e), (g), which is synthesized in the above-described third step,
Alternatively, the waveform is as shown in (k). For example, memory 10
How to store the waveform data for one tone color in
Sequential sample point data of the musical sound waveform of the rising portion are stored in a range from the attack start address A s to the address immediately before the repeat start address R s, sequential sample point data repeatedly start address of the musical tone waveform of the repeating unit R It is assumed to be stored in the range from s to the repeated end address R e . In this case, the coding format of the waveform data stored in the memory is not limited to the PCM (pulse code modulation) method, but may be any of the DPCM method, DM method, ADPCM method, ACM method, or the analog format. May be.

波形メモリ10には、音色選択装置11から音色選択信号TC
が与えられており、選択された音色種類に対応する立上
り部及び繰返し部の楽音波形が選択的に読み出し可能と
される。読み出し可能とされた楽音波形の各サンプル点
データは、アドレスカウンタ12及び加算器13を経由して
該メモリ10に与えられるアドレスデータに従って読み出
される。この読み出しは、最初に立上り部の楽音波形を
一通り読み出し、次に繰返し部の楽音波形を繰返し読み
出すことによって行われる。
The waveform memory 10 stores the tone color selection signal TC from the tone color selection device 11.
, The tone waveforms of the rising portion and the repeating portion corresponding to the selected tone color type can be selectively read out. Each readable tone waveform sample point data is read according to the address data given to the memory 10 via the address counter 12 and the adder 13. This reading is performed by first reading all the tone waveforms of the rising portion and then repeatedly reading the tone waveforms of the repeating portion.

以下、詳細を説明すると、鍵盤14における押鍵、離鍵が
押鍵検出回路15で検出され、押圧鍵を示すキーコードK
C、この鍵の押圧、離鍵に対応するキーオン信号KON、及
び押鍵開始時に一瞬だけ信号“1"となるキーオンパルス
KONPが該回路15から出力される。ノートクロック発生回
路16は、押圧鍵を示すキーコードKCを受入し、その音高
に対応する周波数をもつノートクロックパルスを発生す
る。アドレスカウンタ12は、発音開始時にカーオンパル
スKONPによって一旦リセットされ、以後、ノートクロッ
ク発生回路16から与えられるノートクロックパルスをカ
ウントする。スタートアドレス発生回路17は、音色選択
信号TCに応じて、選択された音色に対応する所定のアタ
ックスタートアドレスAsを示すデータを発生する。この
アタックスタートアドレスデータとアドレスカウンタ12
のカウント出力とが加算器13で加算され、その加算結果
がアドレスデータとして波形メモリ10に入力される。
To describe the details below, the key press K on the keyboard 14 is detected by the key press detection circuit 15, and the key code K indicating the pressed key is shown.
C, a key-on signal KON that corresponds to the pressing and releasing of this key, and a key-on pulse that becomes a signal "1" only momentarily at the start of key pressing.
KONP is output from the circuit 15. The note clock generation circuit 16 receives a key code KC indicating a pressed key and generates a note clock pulse having a frequency corresponding to the pitch. The address counter 12 is once reset by the car-on pulse KONP at the start of sound generation, and thereafter counts the note clock pulses given from the note clock generation circuit 16. Start address generation circuit 17, in response to the tone color selection signal TC, it generates data indicating a predetermined attack start address A s which corresponds to the tone color selected. This attack start address data and address counter 12
Is added by the adder 13 and the addition result is input to the waveform memory 10 as address data.

繰返しエンドアドレス発生回路18は、音色選択信号TCに
応じて、選択された音色に対応する所定の繰返しエンド
アドレスReを示すデータを発生する。加算器13から出力
されたアドレスデータと繰返しエンドアドレスデータと
が比較器19で比較され、両者が一致したとき信号“1"を
アドレスカウンタ12のプリセット制御入力に与える。繰
返しスタートアドレス発生回路20は、音色選択信号TCに
応じて、選択された音色に対応する所定の繰返しスター
トアドレスRsを示すデータを発生する。この場合、該回
路20から発生される繰返しスタートアドレスデータはア
タックスタートアドレスAsと繰返しスタートアドレスRs
との差で表現されているとする。この回路20から発生さ
れた繰返しスタートアドレスデータはアドレスカウンタ
12のプリセットデータ入力に与えられる。アドレスカウ
ンタ12は、比較器19の出力信号が“1"になったとき、つ
まり波形メモリ10の現読み出しアドレスが所定の繰返し
エンドアドレスReに到達したとき、回路20から発生され
た繰返しスタートアドレスデートをプリセットする。な
お、図中破線で示すようにアドレスカウンタ12の出力を
比較器19に入力するようにしてもよく、その場合はアタ
ックスタートアドレスAsと繰返しエンドアドレスReとの
差を表わすデータを回路18から発生するものとする。
The repeated end address generation circuit 18 generates data indicating a predetermined repeated end address R e corresponding to the selected tone color in response to the tone color selection signal TC. The address data output from the adder 13 and the repetitive end address data are compared by the comparator 19, and when they match each other, a signal "1" is given to the preset control input of the address counter 12. The repeated start address generation circuit 20 generates data indicating a predetermined repeated start address R s corresponding to the selected tone color in response to the tone color selection signal TC. In this case, repeat start address data attack start address A s and repeated start address generated from the circuit 20 R s
It is supposed to be expressed by the difference between and. The repeat start address data generated from this circuit 20 is the address counter.
Given to 12 preset data inputs. Address counter 12 when the output signal of the comparator 19 becomes "1", i.e. when the current read address of the waveform memory 10 has reached a predetermined repeat end address R e, repeat start address generated from the circuit 20 Preset a date. Incidentally, may be input to the comparator 19 the output of the address counter 12 as indicated by broken lines in the figure, the data representing the difference between the attack start address A s and repeat end address if R e circuit 18 Shall occur from.

以上の構成により、加算器13から波形メモリ10に与えら
れるアドレスデータは、鍵押圧に応答して、最初はアタ
ックスタートアドレスASから繰返しエンドアドレスRe
で押圧鍵の音高に対応するレートで順次変化し、これに
伴ない、波形メモリ10からは立上り部の楽音波形と、繰
返し部の楽音波形が連続して1回だけ読み出される。次
に、アドレスデータは繰返しスタートアドレスRsに戻
り、繰返しエンドアドレスReまで順次変化し、以後、繰
返しスタートアドレスRsからエンドアドレスReまでの変
化を繰返す。これに伴ない、繰返し部の楽音波形が波形
メモリ10から繰返し読み出される。
With the above configuration, the address data supplied from the adder 13 in the waveform memory 10 in response to the key pressed, initially sequentially at a rate corresponding to the pitch of the depressed key from the attack start address AS to repeat end address R e Along with this change, the musical tone waveform of the rising portion and the musical tone waveform of the repeating portion are continuously read from the waveform memory 10 only once. Next, the address data returns to the repeated start address R s and sequentially changes to the repeated end address R e , and thereafter, the change from the repeated start address R s to the end address R e is repeated. Along with this, the tone waveform of the repeating section is repeatedly read from the waveform memory 10.

波形メモリ10から読み出された楽音波形データは乗算器
21に与えられ、エンベロープ発生器22から発生されたエ
ンベロープ信号が乗算される。エンベロープ発生器22
は、キーオン信号KONに応じて、鍵押圧と同時に一定レ
ベルに立上り、この一定レベルを持続し、離鍵に応じて
所定のカーブ(音色選択信号TCに応じて、選択された音
色に対応するカーブ)で減衰するエンベロープ信号を発
生する。エンベロープ信号にアタック特性を持たせない
理由は、波形メモリ10に記憶した立上り部の楽音波形が
エンベロープ付与済みのものであるからである。一方、
発音の減衰は、繰返し読み出される繰返し部の楽音波形
にディケイエンベロープを付与することによりなされ
る。乗算器21の出力はディジタル/アナログ変換器23で
アナログ信号に選択され、その後、サウンドシステム24
に与えられる。
The tone waveform data read from the waveform memory 10 is a multiplier
The envelope signal supplied to 21 and generated from the envelope generator 22 is multiplied. Envelope generator 22
Responds to the key-on signal KON, rises to a certain level at the same time when the key is pressed, maintains this certain level, and a predetermined curve corresponding to the key release (the curve corresponding to the tone color selected according to the tone color selection signal TC). ) Produces an envelope signal that decays at. The reason why the envelope signal is not provided with the attack characteristic is that the musical tone waveform of the rising portion stored in the waveform memory 10 has already been enveloped. on the other hand,
The sound is attenuated by adding a decay envelope to the tone waveform of the repeated portion that is repeatedly read. The output of the multiplier 21 is selected as an analog signal by the digital / analog converter 23, and then the sound system 24
Given to.

第3図は単音楽器となっているが、周知のキーアサイナ
を設け、アドレスカウンタ12等を複数チャンネルで時分
割動作させれば複音楽器とすることができる。
Although FIG. 3 shows a single music instrument, a well-known key assigner may be provided and the address counter 12 and the like may be time-divisionally operated in a plurality of channels to form a dual music instrument.

また、上述では、1種類の複数周期波形(繰返し部)の
みを繰返すことにより楽音信号を発生しているが、複数
種類の複数周期波形を時間的に切換えながら夫々を繰返
すことにより連続的な楽音信号を発生する場合において
もこの発明を応用することができる。
Further, in the above description, the musical tone signal is generated by repeating only one type of multiple-cycle waveform (repetition unit), but a continuous tone is generated by repeating each of the multiple types of multiple-cycle waveforms in time. The present invention can be applied to the case of generating a signal.

また、第3図の構成は単なる一例にすぎず、その他様々
な構成の電子楽器においてこの発明を応用することがで
きる。
The configuration of FIG. 3 is merely an example, and the present invention can be applied to electronic musical instruments having various other configurations.

〔発明の効果〕〔The invention's effect〕

以上の通り、この発明によれば、第1の複数周期波形を
時間的に逆向きに並べ換えることにより第2の複数周期
波形を得て、両者を合成することにより音色変動の時間
的指向性を相殺した波形を得るようにしているので、こ
の合成波形の繰返しによって得られる楽音信号において
音色変化の不自然な周期性を取除くことができる、とい
う優れた効果を奏する。
As described above, according to the present invention, the second plurality of periodic waveforms are obtained by rearranging the first plurality of periodic waveforms in a temporally reverse direction, and the two are synthesized, and the temporal directivity of the tone color variation is obtained. Since the waveform that cancels out the above is obtained, it is possible to remove the unnatural periodicity of the tone color change in the tone signal obtained by repeating the synthesized waveform, which is an excellent effect.

【図面の簡単な説明】[Brief description of drawings]

第1図はこの発明の楽音信号発生方法に係る一実施例の
手順を略示する流れ図、 第2図は第1図の各ステップで準備される若しくは得ら
れる波形の一例を示すと共にそれに関連する音色変動特
性を模式的に示す図、 第3図はこの発明の楽音信号発生方法を応用した電子楽
器の一例を示す電気的ブロック図、 第4図はこの発明が解決しようとする問題点を説明する
ために補助的に用いたグラフ、である。 10……波形メモリ、11……音色選択装置、12……アドレ
スカウンタ、13……加算器、14……鍵盤。
FIG. 1 is a flow chart schematically showing the procedure of an embodiment according to the tone signal generating method of the present invention, and FIG. 2 shows an example of a waveform prepared or obtained at each step of FIG. 1 and related thereto. FIG. 3 is a diagram schematically showing timbre variation characteristics, FIG. 3 is an electrical block diagram showing an example of an electronic musical instrument to which the musical tone signal generating method of the present invention is applied, and FIG. 4 is a diagram showing a problem to be solved by the present invention. This is a graph used as a supplement to 10 ... Waveform memory, 11 ... Tone selection device, 12 ... Address counter, 13 ... Adder, 14 ... Keyboard.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】複数周期の波形を繰返すことにより連続的
な楽音信号を発生する方法において、 第1の複数周期波形を準備すること、 前記第1の複数周期波形を時間的に逆向きに並べ換える
ことにより第2の複数周期波形を得ること、 前記第1及び第2の複数周期波形をサンプル点同士で合
成することにより、合成された複数周期波形を得るこ
と、 前記合成された複数周期波形をメモリに記憶すること、
及び 前記メモリに記憶された前記合成された複数周期波形を
繰返し読み出すことにより前記連続的な楽音信号を発生
すること、 から成る楽音信号発生方法。
1. A method of generating a continuous tone signal by repeating a waveform of a plurality of cycles, which comprises preparing a first plurality of cycle waveforms, and rearranging the first plurality of cycle waveforms in a temporally reverse direction. Obtaining a second plurality of periodic waveforms, combining the first and second plurality of periodic waveforms at sample points to obtain a combined multiple periodic waveform, and the combined multiple periodic waveforms Storing in memory,
And a step of generating the continuous tone signal by repeatedly reading the synthesized plural period waveforms stored in the memory.
【請求項2】前記第2の複数周期波形を得る場合におい
て、前記第1の複数周期波形をサンプル点単位で時間的
に逆向きに並べ換え、かつ位相反転を行うことにより該
第2の複数周期波形を得るようにした特許請求の範囲第
1項記載の楽音信号発生方法。
2. When obtaining the second plurality of periodic waveforms, the first plurality of periodic waveforms are rearranged in the reverse direction in time on a sample point basis, and phase inversion is performed to perform the second plurality of periodic waveforms. The musical tone signal generating method according to claim 1, wherein a waveform is obtained.
【請求項3】前記第2の複数周期波形を得る場合におい
て、前記第1の複数周期波形を1又は複数周期単位で時
間的に逆向きに並べ換えることにより該第2の複数周期
波形を得るようにした特許請求の範囲第1項記載の楽音
信号発生方法。
3. When obtaining the second plurality of periodic waveforms, the second plurality of periodic waveforms are obtained by rearranging the first plurality of periodic waveforms in a reverse direction in units of one or a plurality of periods. A musical tone signal generating method as set forth in claim 1, wherein
【請求項4】前記第2の複数周期波形を得る場合におい
て、前記第1の複数周期波形を1/2周期単位で時間的に
逆向きに並べ換え、かつ位相反転を行うことにより該第
2の複数周期波形を得るようにした特許請求の範囲第1
項記載の楽音信号発生方法。
4. In the case of obtaining the second plurality of periodic waveforms, the first plurality of periodic waveforms are rearranged in a temporally opposite direction in units of 1/2 period, and phase inversion is performed, and the second plurality of periodic waveforms are rearranged. A first aspect of the present invention for obtaining a plurality of periodic waveforms.
A method for generating a tone signal according to the item.
JP60142053A 1985-06-28 1985-06-28 Music signal generation method Expired - Lifetime JPH0799477B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60142053A JPH0799477B2 (en) 1985-06-28 1985-06-28 Music signal generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60142053A JPH0799477B2 (en) 1985-06-28 1985-06-28 Music signal generation method

Publications (2)

Publication Number Publication Date
JPS623299A JPS623299A (en) 1987-01-09
JPH0799477B2 true JPH0799477B2 (en) 1995-10-25

Family

ID=15306311

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60142053A Expired - Lifetime JPH0799477B2 (en) 1985-06-28 1985-06-28 Music signal generation method

Country Status (1)

Country Link
JP (1) JPH0799477B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6454098U (en) * 1987-09-30 1989-04-04
JP2722463B2 (en) * 1987-10-14 1998-03-04 カシオ計算機株式会社 Address control device
JPH0321652U (en) * 1989-07-07 1991-03-05
JP3332081B2 (en) 1999-09-07 2002-10-07 日本ピラー工業株式会社 Mold for manufacturing fuel cell separator and method for manufacturing fuel cell separator

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6095498A (en) * 1983-10-28 1985-05-28 日本ビクター株式会社 Generator for non-cyclic musical sound signal
JPS60102693A (en) * 1983-11-10 1985-06-06 日本ビクター株式会社 Generator for percussion sound signal
JPS61177495A (en) * 1985-02-02 1986-08-09 片山 泰男 Signal conversion system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6095498A (en) * 1983-10-28 1985-05-28 日本ビクター株式会社 Generator for non-cyclic musical sound signal
JPS60102693A (en) * 1983-11-10 1985-06-06 日本ビクター株式会社 Generator for percussion sound signal
JPS61177495A (en) * 1985-02-02 1986-08-09 片山 泰男 Signal conversion system

Also Published As

Publication number Publication date
JPS623299A (en) 1987-01-09

Similar Documents

Publication Publication Date Title
JPS6332393B2 (en)
JPH0631968B2 (en) Music signal generator
JPS5917838B2 (en) Waveform generator for electronic musical instruments
KR900012197A (en) Digital signal generator
JP2571911B2 (en) Music signal generator
JPS6117000B2 (en)
JP2567717B2 (en) Musical sound generator
US4890527A (en) Mixing type tone signal generation device employing two channels generating tones based upon different parameter
JPH0799477B2 (en) Music signal generation method
US4683793A (en) Data reduction for a musical instrument using stored waveforms
JP2915452B2 (en) Tone generator
EP0154888B1 (en) Tone signal generation device for an electronic musical instrument
JPS5895790A (en) Musical sound generator
US4702142A (en) Fundamental frequency variation for a musical tone generator using stored waveforms
JPS61124994A (en) Musical sound signal generator
US4697490A (en) Musical tone generator using incremental harmonic variation
JPH0727384B2 (en) Music signal generator
JP2699886B2 (en) Music control information generator
JPS581800B2 (en) Denshigatsuki
JP2797140B2 (en) Musical sound wave generator
JPH0525116B2 (en)
JPH0782336B2 (en) Electronic musical instrument
JP3257520B2 (en) Music signal generator
JPH033236B2 (en)
JPH04128894A (en) Musical sound generation device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term