JPH0727384B2 - Music signal generator - Google Patents

Music signal generator

Info

Publication number
JPH0727384B2
JPH0727384B2 JP60216100A JP21610085A JPH0727384B2 JP H0727384 B2 JPH0727384 B2 JP H0727384B2 JP 60216100 A JP60216100 A JP 60216100A JP 21610085 A JP21610085 A JP 21610085A JP H0727384 B2 JPH0727384 B2 JP H0727384B2
Authority
JP
Japan
Prior art keywords
waveform
waveforms
main
data
read
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
JP60216100A
Other languages
Japanese (ja)
Other versions
JPS6278599A (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 JP60216100A priority Critical patent/JPH0727384B2/en
Publication of JPS6278599A publication Critical patent/JPS6278599A/en
Publication of JPH0727384B2 publication Critical patent/JPH0727384B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、複数の異なる楽音波形を順次切換えて発生
することにより音色を時間的に変化させることのできる
楽音信号発生装置に関し、特に、波形の切換わりを滑ら
かに行うことができるようにしたことに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a musical tone signal generator capable of temporally changing a tone color by sequentially generating a plurality of different musical tone waveforms, and more particularly to a waveform. The present invention relates to enabling smooth switching of.

〔従来の技術〕[Conventional technology]

特開昭56-35192号公報においては、波形メモリに記憶し
た複数の異なる楽音波形を順次切換えて読み出すことに
より音色が時間的に変化する楽音信号を発生するように
したことが開示されている。
Japanese Patent Application Laid-Open No. 56-35192 discloses that a plurality of different tone waveforms stored in a waveform memory are sequentially switched and read out to generate a tone signal whose tone color changes with time.

特開昭58-95790号公報においては、上述と同様に複数の
異なる楽音波形を順次切換えて読み出すようにすること
が開示されており、そこにおいて、時間的に前後して発
生すべき2つの楽音波形を2系列で並列的に発生し、両
波形を時間的に変化する補間関数に従って補間合成する
ことにより両波形の切換わりを滑らかに行うことができ
るようにしている。
Japanese Patent Laid-Open No. 58-95790 discloses that a plurality of different musical tone waveforms are sequentially switched and read out in the same manner as described above, in which two musical tones to be generated before and after in time are generated. Waveforms are generated in parallel in two sequences, and both waveforms are interpolated and synthesized according to an interpolating function that changes with time, so that the switching of both waveforms can be performed smoothly.

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

前者の従来技術のような方式では、波形の切換わり時点
で楽音信号の波形が先行する楽音波形から次の楽音波形
に急激に変化するので急激な音色変化をもたらし、不自
然であった。後者の従来技術のような方式では、そのよ
うな波形切換わり時の不自然さは防止できるが、2系列
で楽音波形を発生しなければならない、及び補間関数発
生回路が必要とされる、及び乗算器等の補間演算回路が
必要とされる、などの理由によりハードウェア構成が複
雑となり、コスト高になるという問題点があった。
In the former method such as the conventional technique, the waveform of the musical tone signal changes abruptly from the preceding musical tone waveform to the next musical tone waveform at the time of waveform switching, resulting in an abrupt tone color change, which is unnatural. In the latter method of the prior art, such unnaturalness at the time of switching waveforms can be prevented, but a musical tone waveform must be generated in two sequences, and an interpolation function generating circuit is required, and There is a problem that the hardware configuration becomes complicated and the cost becomes high because an interpolation calculation circuit such as a multiplier is required.

この発明は上述の点に鑑みてなされたもので、楽音波形
切換わり時の不自然さをなくすと共に、そのことを補間
方式に見られるような複雑な回路構成を必要とせずに実
現し得るようにした楽音信号発生装置を提供しようとす
るものである。
The present invention has been made in view of the above points, and it is possible to eliminate the unnaturalness at the time of switching musical tone waveforms and to realize it without requiring a complicated circuit configuration as seen in the interpolation method. The present invention intends to provide a musical tone signal generator according to the above.

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

この発明の楽音信号発生装置は、1つの楽音の夫々一部
分に対応する波形であって、所定の順序で切換えて読み
出されるべき複数の主波形のデータと、切換え順序が相
前後する2つの前記主波形の間をつなぐための、該2つ
の主波形に対応する、複数周期から成るつなぎ波形のデ
ータとを記憶した波形記憶手段と、前記複数の各主波形
それぞれについての繰返し読出し回数を記憶した繰返し
回数記憶手段と、相前後して読み出されるべき2つの前
記主波形の間にそれに対応する前記つなぎ波形を介在さ
せる順序で、先行する主波形のデータを前記繰返し回数
記憶手段に記憶されている当該主波形に関する繰返し回
数が示す回数分だけ繰返し読み出した後、前記つなぎ波
形のデータを読み出し、続いて後続する主波形のデータ
を前記繰返し回数記憶手段に記憶されている当該主波形
に関する繰返し回数が示す回数分だけ繰返し読み出す波
形読出し手段とを具えたことを特徴とするものである。
The tone signal generator of the present invention has a plurality of main waveform data which are waveforms corresponding to a part of one tone and are to be read out by switching in a predetermined order, and two main waveforms whose switching orders are adjacent to each other. Waveform storage means for connecting between the waveforms, which stores data of a connecting waveform consisting of a plurality of periods, corresponding to the two main waveforms, and a repeat for storing the number of times of repeated reading for each of the plurality of main waveforms. The data of the preceding main waveform is stored in the repetition number storage means in the order of interposing the connecting waveform corresponding to the number of times storage means and the two main waveforms to be read one after another. After repeatedly reading the number of times indicated by the number of repetitions of the main waveform, the data of the connecting waveform is read, and then the data of the subsequent main waveform is repeated the number of times of repetition. It is characterized in that comprises a waveform reading means for repeatedly count about the main waveform stored in 憶 means repeatedly read out as many times shown.

〔作用及び発明の効果〕[Operation and effect of the invention]

複数の主波形のデータが所定の順序で切換えて読み出さ
れることにより音色の時間的変化が得られるのである
が、相前後して読み出されるべき2つの主波形の切換わ
りは、先行する主波形から後続する主波形に直ちに切換
わるのではなく、その間につなぎ波形を介在させて行わ
れる。これにより、得られる楽音信号は、先行する主波
形から後続する主波形に急激に変化せずに、つなぎ波形
を介在させて滑らかに変化する。
The time change of the timbre can be obtained by switching and reading the data of a plurality of main waveforms in a predetermined order. However, the switching of two main waveforms that should be read one after the other is different from the preceding main waveform. Instead of immediately switching to the subsequent main waveform, a connecting waveform is interposed between them. As a result, the obtained tone signal changes smoothly from the preceding main waveform to the succeeding main waveform without interposing a connecting waveform.

従って、この発明によれば、複数の波形を順次切換える
ことにより時間的に音色が変化する楽音信号を得る場合
において、切換わり時のつなぎ波形を介在させたことに
より滑らかに波形切換えを行うことができるようにな
り、不自然さを解消することができる。また、つなぎ波
形は記憶手段に予め記憶されているので、2系列の波形
を補間するというような面倒な処理は不要であり、回路
構成を簡略化し、コストを下げることもできる。
Therefore, according to the present invention, when a musical tone signal whose tone color changes with time is obtained by sequentially switching a plurality of waveforms, smooth waveform switching can be performed by interposing a connecting waveform at the time of switching. It will be possible to eliminate unnaturalness. Further, since the connecting waveform is stored in the storage means in advance, a troublesome process such as interpolation of two series of waveforms is not necessary, and the circuit configuration can be simplified and the cost can be reduced.

また、繰返し回数記憶手段に記憶する各主波形毎の繰返
し回数を変更するだけで、音色時間変化の態様を変更す
ることができ、比較的簡単な構成によって多様な変化態
様からなる楽音を発生することができる。
Further, it is possible to change the tone color time variation mode only by changing the number of repetitions of each main waveform stored in the number of repetitions storage means, and to generate musical tones having various variation modes with a relatively simple structure. be able to.

〔実施例〕〔Example〕

以下、添付図面を参照してこの発明の実施例を詳細に説
明しよう。
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

まず第1図を参照して主波形のデータとつなぎ波形のデ
ータを準備する処理の一例につき説明する。
First, with reference to FIG. 1, an example of the process of preparing the main waveform data and the connected waveform data will be described.

所望の自然楽器音の発音開始から終了までの全波形をサ
ンプリングし、これを原波形として準備する(第1図
(a))。
All waveforms from the start to the end of the desired natural musical instrument sound are sampled and prepared as an original waveform (Fig. 1 (a)).

次に、原波形に基づき複数の主波形のデータを作成す
る。例えば、アタック部は波形の変化が激しいので、原
波形における複数周期から成るアタック部の波形全部を
1つの主波形(これをアタック部波形ATという)として
取り出す。アタック部以後の原波形に関しては、時間軸
に沿って複数のフレームに分割し、各フレーム毎に1周
期又は複数周期から成る主波形(これをフレーム波形FW
1〜FW3ということにする)のデータを夫々作成する。フ
レーム波形FW1〜FW3の作成の仕方としては、例えばその
フレームにおける代表的な1周期又は複数周期波形を原
波形から取り出す、あるいはそのフレーム内における各
1周期波形の平均的波形を演算によって求める、等の処
理によって作成する。こうして求めた複数の主波形の一
例が第1図(b)に示されている。いずれのフレーム波
形FW1〜FW3も、そのピークレベルは所定の規格レベルに
統一するものとする。なお、フレーム数は3に限らず、
任意である。
Next, data of a plurality of main waveforms is created based on the original waveform. For example, since the attack part has a drastic change in waveform, the entire waveform of the attack part consisting of a plurality of periods in the original waveform is taken out as one main waveform (this is called attack part waveform AT). The original waveform after the attack part is divided into a plurality of frames along the time axis, and a main waveform consisting of one cycle or a plurality of cycles for each frame (this is the frame waveform FW
1 to FW3) data is created respectively. The frame waveforms FW1 to FW3 can be created by, for example, extracting a typical one-cycle or multiple-cycle waveform in the frame from the original waveform, or calculating an average waveform of each one-cycle waveform in the frame. Created by the process. An example of the plurality of main waveforms thus obtained is shown in FIG. 1 (b). The peak levels of all the frame waveforms FW1 to FW3 are unified to a predetermined standard level. The number of frames is not limited to 3,
It is optional.

次に、各主波形の間のつなぎ波形CW1〜CW3を作成する。
各つなぎ波形CW1〜CW3は、切換え順序が相前後する2つ
の主波形の間を滑らかにつなぐためのものであり、複数
周期から成る。切換え順序が相前後する2つの主波形の
間でクロスフェード補間演算を行うことによりそれに対
応するつなぎ波形を作成するとよい。アタック部波形AT
と第1のフレーム波形FW1に対応するつなぎ波形CW1は、
アタック部波形ATの最後の1周期波形を複数周期繰返し
てこれに立下り特性のクロスフェード用エンベロープを
付与したものを作成し、他方で、フレーム波形FW1を同
じ周期だけ繰返してこれに立上り特性のクロスフェード
用エンベロープを付与したものを作成し、両者を加算す
ることにより作成する。これにより、アタック部波形AT
の最後の1周期に対応する波形からフレーム波形FW1に
対応する波形まで波形が滑らかに変化する複数周期波形
を第1のつなぎ波形CW1として得ることができる。同様
に、第1のフレーム波形FW1を複数周期繰返してこれに
立下り特性のクロスフェード用エンベロープを付与した
ものを作成し、他方で、第2のフレーム波形FW2を複数
周期繰返してこれに立上り特性のクロスフェード用エン
ベロープを付与したものを作成し、両者を加算すること
により複数周期から成る第2のつなぎ波形CW2を作成す
る。以下同様にして、切換え順序が相前後する2つのフ
レーム波形を夫々複数周期分繰返し、先行するフレーム
波形に対応する複数周期波形を立下り特性のエンベロー
プで重みづけし、後続するフレーム波形に対応する複数
周期波形を立上り特性のエンベロープで重みづけし、両
者を加算することにより先行するフレーム波形から後続
するフレーム波形まで滑らかに波形が変化する複数周期
波形を作成し、これを該2つのフレーム波形に対応する
つなぎ波形とする。こうして、切換え順序が相前後する
2つの主波形AT,FW1,FW2,FW3・・・・の組合せに対応し
て複数周期から成るつなぎ波形CW1,CW2,CW3,・・・を夫
々予め作成する。第1図(c)はこれらのつなぎ波形CW
1〜CW3の一例を模式的に示したものである。
Next, connecting waveforms CW1 to CW3 between each main waveform are created.
Each of the connecting waveforms CW1 to CW3 is for smoothly connecting between two main waveforms whose switching orders are consecutive and has a plurality of cycles. It is advisable to create a corresponding connecting waveform by performing a crossfade interpolation calculation between two main waveforms whose switching orders are adjacent to each other. Attack part waveform AT
And the connecting waveform CW1 corresponding to the first frame waveform FW1 is
The last one cycle waveform of the attack part waveform AT is repeated a plurality of cycles to create a crossfading envelope with a falling characteristic, and on the other hand, the frame waveform FW1 is repeated for the same cycle to create a rising characteristic. It is created by adding a crossfade envelope and adding both. As a result, the attack waveform AT
It is possible to obtain, as the first connecting waveform CW1, a multi-cycle waveform in which the waveform smoothly changes from the waveform corresponding to the last one cycle of the waveform to the waveform corresponding to the frame waveform FW1. Similarly, the first frame waveform FW1 is repeated for a plurality of cycles to create a crossfade envelope having a falling characteristic, and on the other hand, the second frame waveform FW2 is repeated for a plurality of cycles to obtain a rising characteristic. Is added with the crossfade envelope and the both are added to create the second connecting waveform CW2 having a plurality of cycles. In the same manner, two frame waveforms whose switching order is repeated are repeated for a plurality of cycles, and a plurality of cycle waveforms corresponding to the preceding frame waveform are weighted by the falling characteristic envelope to correspond to subsequent frame waveforms. The multiple cycle waveforms are weighted with the envelope of the rising characteristic, and by adding them, a multiple cycle waveform whose waveform changes smoothly from the preceding frame waveform to the following frame waveform is created, and this is converted into the two frame waveforms. Use the corresponding connecting waveform. In this way, connecting waveforms CW1, CW2, CW3, ... Composed of a plurality of cycles are created in advance corresponding to the combination of the two main waveforms AT, FW1, FW2, FW3 ... Fig. 1 (c) shows these connecting waveforms CW.
1 schematically shows an example of 1 to CW3.

以上のようにして準備した主波形AT,FW1〜FW3及びつな
ぎ波形CW1〜CW3の各サンプル点のデータを所定の符号化
方式例えばPCM(パルスコード変調)方式で符号化して
波形メモリに記憶する。第1図(d)は波形メモリにお
ける各主波形及びつなぎ波形の記憶フォーマットを略示
したものであり、読み出すべき順序に従って波形メモリ
内に記憶される。
The data of the sample points of the main waveforms AT, FW1 to FW3 and the connecting waveforms CW1 to CW3 prepared as described above are encoded by a predetermined encoding method, for example, PCM (pulse code modulation) method, and stored in the waveform memory. FIG. 1 (d) schematically shows the storage format of each main waveform and the connecting waveform in the waveform memory, and the waveforms are stored in the waveform memory in the order of reading.

上記波形メモリから主波形及びつなぎ波形のデータを所
定の順序で読み出すことにより楽音信号を発生する。そ
の場合、個々の波形の繰返し回数を予め定めておき、そ
の回数だけ繰返し読み出した後次の波形に切換えるもの
とする。第1図(e)には、主波形及びつなぎ波形の読
み出し順序とその繰返し読み出し回数の一例が示されて
いる。
A tone signal is generated by reading the data of the main waveform and the connecting waveform from the waveform memory in a predetermined order. In that case, the number of repetitions of each waveform is set in advance, and the waveform is switched to the next waveform after repeatedly reading that number of times. FIG. 1 (e) shows an example of the reading order of the main waveform and the connecting waveform and the number of times of repeated reading thereof.

次に、この発明の楽音信号発生装置の一実施例につき第
2図に基づき説明する。
Next, an embodiment of the tone signal generating apparatus of the present invention will be described with reference to FIG.

波形メモリ10では、上述のようにして予め準備した主波
形AT,FW1〜FW3及びつなぎ波形CW1〜CW3のデータを音色
選択回路11で選択可能な各音色種類毎に夫々記憶してい
る。鍵盤12は、発生すべき楽音の音高を指定するための
複数の鍵を具えている。押鍵検出回路13ではこの鍵盤12
における押圧鍵を検出し、押圧鍵に対応するキーコード
KCと押鍵中は信号“1"を維持するキーオン信号KON及び
押鍵開始時に一時的に信号“1"となるキーオンパルスKO
NPを出力する。ノートクロック発生回路14は、キーコー
ドKCに応じて押圧鍵の音高に対応するノートクロックパ
ルスNCPを発生する。アドレスカウンタ15はノートクロ
ックパルスNCPをカウントして波形メモリ10を読み出す
ためのアドレス信号ADを発生するものである。このアド
レスカウンタ15はオア回路16を介して与えられるキーオ
ンパルスKONP及び比較器17の出力信号によってリセット
される。
In the waveform memory 10, the data of the main waveforms AT, FW1 to FW3 and the connecting waveforms CW1 to CW3 prepared in advance as described above are stored for each tone color type selectable by the tone color selection circuit 11. The keyboard 12 is provided with a plurality of keys for designating the pitch of the musical sound to be generated. In the key press detection circuit 13, this keyboard 12
Detected the pressed key in, and the key code corresponding to the pressed key
Key-on signal KON that keeps signal "1" during KC and key-pressing and key-on pulse KO that temporarily becomes signal "1" when key-pressing starts
Output NP. The note clock generation circuit 14 generates a note clock pulse NCP corresponding to the pitch of the pressed key according to the key code KC. The address counter 15 counts the note clock pulse NCP and generates an address signal AD for reading the waveform memory 10. The address counter 15 is reset by the key-on pulse KONP given through the OR circuit 16 and the output signal of the comparator 17.

スタートアドレスメモリ18は、波形メモリ10における各
主波形AT,FW1〜FW3及びつなぎ波形CW1〜CW3の最初のサ
ンプル点のデータを記憶したアドレス(スタートアドレ
ス)を各音色毎に記憶している。エンドアドレスメモリ
19は、波形メモリ10における各主波形AT,FW1〜FW3及び
つなぎ波形CW1〜CW3の最後のサンプル点のデータを記憶
したアドレス(エンドアドレス)を各音色毎に記憶して
いる。第1図(d)には、各波形AT〜FW3のスタートア
ドレスS0〜S6とエンドアドレスE0〜E6が例示されてい
る。なお、この実施例では、スタートアドレスS0〜S6
波形メモリ10における絶対アドレスで与えられ、エンド
アドレスE0〜E6は相対アドレス(つまり各々に対応する
スタートアドレスS0〜S6からのアドレス数)で与えられ
るとする。繰返し回数メモリ20は、各主波形AT,FW1〜FW
3及びつなぎ波形CW1〜CW3を繰返して読み出すべき回数
を各音色毎に記憶したものであり、その一例は第1図
(e)のようである。つまり、複数周期から成るアタッ
ク部波形AT及びつなぎ波形CW1〜CW3は夫々1回だけ読み
出し、フレーム波形FW1,FW2は夫々N回及びM回だけ繰
返し(N及びMは任意の整数)、最後のフレーム波形FW
3は特に繰返し回数を設定せずに発音終了まで繰返すよ
うにする。
The start address memory 18 stores, for each tone color, an address (start address) storing the data of the first sample points of the main waveforms AT, FW1 to FW3 and the connecting waveforms CW1 to CW3 in the waveform memory 10. End address memory
Reference numeral 19 stores, for each tone color, an address (end address) storing the data of the last sample points of the main waveforms AT, FW1 to FW3 and the connecting waveforms CW1 to CW3 in the waveform memory 10. The first diagram (d), the start address S 0 to S 6 and the end address E 0 to E 6 of each waveform AT~FW3 is illustrated. In this embodiment, the start addresses S 0 to S 6 are given as absolute addresses in the waveform memory 10, and the end addresses E 0 to E 6 are relative addresses (that is, from the start addresses S 0 to S 6 corresponding to the respective addresses). Address number). Repeat count memory 20 is used for each main waveform AT, FW1 to FW
3 and the connecting waveforms CW1 to CW3 are repeatedly stored and stored for each timbre, one example of which is shown in FIG. 1 (e). That is, the attack waveform AT and the connecting waveforms CW1 to CW3 each having a plurality of cycles are read out only once, and the frame waveforms FW1 and FW2 are repeated N times and M times (N and M are arbitrary integers) and the last frame. Waveform FW
For step 3, do not set the number of repetitions and repeat until the end of sound generation.

主波形AT,FW1〜FW3・・・及びつなぎ波形CW1〜CW3・・
・の各々を総称してセグメントということにし、その読
み出し順序AT,CW1,FW1,CW2,FW2,CW3,FW3・・・に従って
0,1,2,3,4,5,6・・・なるセグメント番号が割当てられ
るとする。セグメントカウンタ21は、波形メモリ10から
読み出すべき波形をセグメント番号によって指定するも
ので、発音開始時にキーオンパルスKONPによって0にリ
セットされてセグメント番号0つまりアタック部波形AT
を指定し、以後、アンド回路22を介して与えられる比較
器23の出力信号“1"によってカウントアップされる。こ
のセグメントカウンタ21のカウント値がセグメント番号
データSEGNとして各メモリ18,19,20に与えられる。各メ
モリ18,19,20には音色選択回路11から音色選択情報TCも
与えられており、選択された音色とセグメント番号デー
タSEGNとに応じて、今、波形メモリ10から読み出すべき
セグメント(主波形AT,FW1〜FW3・・・又はつなぎ波形C
W1〜CW3・・・のいずれか1つ)のスタートアドレス(S
0〜S6・・・のいずれか1つ)とエンドアドレス(E0〜E
6・・・のいずれか1つ)及び繰返し回数データを夫々
読み出す。
Main waveform AT, FW1 to FW3 ... and connecting waveforms CW1 to CW3 ...
・ Each of these is collectively referred to as a segment, and according to the reading order AT, CW1, FW1, CW2, FW2, CW3, FW3 ...
It is assumed that the segment numbers 0, 1, 2, 3, 4, 5, 6 ... Are assigned. The segment counter 21 designates the waveform to be read from the waveform memory 10 by the segment number, and is reset to 0 by the key-on pulse KONP at the start of sound generation and is segment number 0, that is, the attack waveform AT.
Is designated, and thereafter, it is counted up by the output signal "1" of the comparator 23 given through the AND circuit 22. The count value of the segment counter 21 is given to each memory 18, 19, 20 as segment number data SEGN. Each memory 18, 19, 20 is also provided with tone color selection information TC from the tone color selection circuit 11, and according to the selected tone color and segment number data SEGN, the segment (main waveform AT, FW1 to FW3 ... or connecting waveform C
Any one of W1 to CW3 ...) Start address (S
0 ~ S 6 ... any one) and end address (E 0 ~ E
6 ) and the repeat count data are read out.

最終セグメントメモリ24は、発音開始から終了に至る1
発音期間において一番最後に読み出されるべき主波形
(つまりフレーム波形)のセグメント番号を各音色毎に
記憶したもので、音色選択情報TCに応じて該セグメント
番号のデータを読み出す。なお、第1図では最終セグメ
ントは3番目のフレーム波形FW3であるが、これは一例
にすぎず、音色に応じて夫々任意である。
The last segment memory 24 is from the start to the end 1
The segment number of the main waveform (that is, the frame waveform) to be read out last in the sounding period is stored for each tone color, and the data of the segment number is read out according to the tone color selection information TC. In FIG. 1, the final segment is the third frame waveform FW3, but this is only an example and is arbitrary depending on the timbre.

比較器17はアドレスカウンタ15から出力されたアドレス
信号ADとエンドアドレスメモリ19から読み出されたエン
ドアドレスデータとを比較し、両者が一致したとき信号
“1"を出力する。従って、波形メモリ10を読み出すため
のアドレス信号ADがエンドアドレスに到達する毎に、つ
まりセグメント(主波形AT,FW1〜FW3又はつなぎ波形CW1
〜CW3)が1回読み出される毎に、比較器17が信号“1"
を出力する。前述の通り、アドレスカウンタ15のリセッ
ト入力にはオア回路16を介して比較器17の出力が与えら
れており、この比較器17の出力信号が“1"になる毎に該
カウンタ15がリセットされる。
The comparator 17 compares the address signal AD output from the address counter 15 with the end address data read from the end address memory 19, and outputs a signal "1" when both match. Therefore, each time the address signal AD for reading the waveform memory 10 reaches the end address, that is, the segment (main waveform AT, FW1 to FW3 or the connecting waveform CW1
~ CW3) is read once, the comparator 17 outputs the signal "1".
Is output. As described above, the reset input of the address counter 15 is given the output of the comparator 17 via the OR circuit 16, and the counter 15 is reset every time the output signal of the comparator 17 becomes “1”. It

繰返し回数カウンタ25は比較器17の出力信号“1"をカウ
ントすることにより同じセグメントを繰返し読み出した
回数をカウントするものであり、オア回路26を介して与
えられるキーオンパルスKONP及び比較器23の出力によっ
てリセットされる。比較器23は繰返し回数カウンタ25の
出力と繰返し回数メモリ20の出力とを比較し、両者が一
致したとき信号“1"を出力する。例えば、繰返し回数メ
モリ20から読み出された繰返し回数データが「1」のと
きは繰返し回数カウンタ25のカウント値が「1」になっ
たとき比較器23の出力が“1"となり、これにより該カウ
ンタ25がリセットされる。また、繰返し回数メモリ20か
ら読み出された繰返し回数データが「N」のときは、カ
ウンタ25のカウント値が「N」になるまで該カウンタ25
で比較器17の出力のカウントが行われ、「N」になった
とき比較器23の出力が“1"となって該カウンタ25がリセ
ットされる。
The repetition number counter 25 counts the number of times the same segment is repeatedly read by counting the output signal “1” of the comparator 17, and outputs the key-on pulse KONP given through the OR circuit 26 and the comparator 23. Reset by. The comparator 23 compares the output of the repeat count counter 25 with the output of the repeat count memory 20, and outputs a signal "1" when the two match. For example, when the repeat count data read from the repeat count memory 20 is "1", when the count value of the repeat count counter 25 becomes "1", the output of the comparator 23 becomes "1". Counter 25 is reset. When the repeat count data read from the repeat count memory 20 is "N", the counter 25 is counted until the count value of the counter 25 becomes "N".
Then, the output of the comparator 17 is counted, and when it becomes "N", the output of the comparator 23 becomes "1" and the counter 25 is reset.

こうして、セグメント(主波形AT,FW1〜FW3又はつなぎ
波形CW1〜CW3)が所定回数読み出されたとき、比較器23
の出力信号が“1"となり、該信号“1"がアンド回路22を
介して与えられてセグメントカウンタ21が1カウントア
ップされる。これにより次の順位のセグメント(主波形
FW1〜FW3又はつなぎ波形CW1〜CW3)がセグメントカウン
タ21の出力SEGNによって指定され、波形メモリ10から読
み出すべき波形が切換えられる。比較器27はセグメント
カウンタ21の出力SEGNと最終セグメントメモリ24の出力
とを比較し、両者が一致したとき、つまり最終セグメン
ト(例えばFW3)が読み出されるようになったとき、信
号“1"を出力する。この比較器27の出力はインバータ28
で反転され、アンド回路22の他の入力に加わる。従っ
て、アンド回路22に加わるインバータ28の出力信号は、
通常“1"であり、比較器23の出力信号“1"がセグメント
カウンタ21に与えられることを可能にするが、最終セグ
メントが読み出されているときは“0"となり、アンド回
路22を不動作にし、セグメントカウンタ21のカウント動
作をストップする。これにより、セグメントカウンタ21
の出力SEGNは最終セグメントの番号を維持する。従っ
て、最終セグメントの波形の繰返し回数は制限されず、
発音終了まで繰返し読み出すことが可能である。
In this way, when the segment (main waveform AT, FW1 to FW3 or connecting waveforms CW1 to CW3) is read a predetermined number of times, the comparator 23
Output signal becomes "1", the signal "1" is given through the AND circuit 22, and the segment counter 21 is incremented by one. This allows the next highest segment (main waveform
FW1 to FW3 or connecting waveforms CW1 to CW3) are designated by the output SEGN of the segment counter 21, and the waveform to be read from the waveform memory 10 is switched. The comparator 27 compares the output SEGN of the segment counter 21 with the output of the final segment memory 24, and outputs a signal "1" when they match, that is, when the final segment (eg FW3) is read out. To do. The output of this comparator 27 is the inverter 28.
It is inverted by and is added to the other input of the AND circuit 22. Therefore, the output signal of the inverter 28 applied to the AND circuit 22 is
Normally it is "1", which allows the output signal "1" of the comparator 23 to be given to the segment counter 21, but it becomes "0" when the last segment is being read, and the AND circuit 22 is disabled. Then, the segment counter 21 stops counting. This enables the segment counter 21
The output SEGN of keeps the number of the last segment. Therefore, the number of repetitions of the waveform of the final segment is not limited,
It is possible to read repeatedly until the end of sounding.

加算器29はスタートアドレスメモリ18から読み出された
スタートアドレスデータとアドレスカウンタ15から読み
出されたアドレス信号ADとを加算し、波形メモリ10から
読み出すべき波形サンプル点データを絶対アドレスで指
定するアドレスデータAADを出力し、これを波形メモリ1
0に入力する。
The adder 29 adds the start address data read from the start address memory 18 and the address signal AD read from the address counter 15, and specifies the waveform sample point data to be read from the waveform memory 10 with an absolute address. Outputs data AAD and stores it in waveform memory 1
Enter 0.

以上の構成により、順番に切換えて読み出されるべき主
波形AT,FW1〜FW3・・・の間につなぎ波形CW1〜CW3・・
・を介在させる順序で、波形メモリ10から各波形のデー
タが順次読み出され、しかも個々の波形は繰返し回数メ
モリ20に設定された回数だけ繰返し読み出される。すな
わち、まず、押鍵開始時にキーオンパルスKONPが発生さ
れると、各カウンタ15,21,25がリセットされ、セグメン
トカウンタ21から出力されるセグメント番号SEGNが
「0」となり、アタック部波形ATを指定する。これによ
り、スタートアドレスメモリ18からアタック部波形ATの
スタートアドレスS0を示すデータが読み出される。ま
た、繰返し読出し回数が第1図(e)のように設定され
ているとすると、繰返し回数「1」を示すデータがメモ
リ20から読み出される。また、エンドアドレスメモリ19
からはアタック部波形ATのエンドアドレスE0を示すデー
タが読み出される。アドレスカウンタ15から発生される
アドレス信号ADの値はノートクロックパルスNCPに従っ
て「0」から順次増加し、これが加算器29でスタートア
ドレスS0に加算されることにより、スタートアドレスS0
から順次増加するアドレスデータAADが得られる。この
アドレスデータAADに応じて波形メモリ10からアタック
部波形ATのデータが順次読み出される。アドレス信号AD
がエンドアドレスE0に一致すると、比較器17の出力が信
号“1"となり、繰返し回数カウンタ25を1カウントアッ
プしてその内容を「1」にすると共にアドレスカウンタ
15をリセットする。すると、メモリ20から読み出された
繰返し回数データ「1」とカウンタ25のカウント値
「1」が一致し、比較器23の出力が信号“1"となり、繰
返し回数カウンタ25をリセットすると共にセグメントカ
ウンタ21を1カウントアップしてその内容を「1」にす
る。こうしてカウンタ21から出力されるセグメント番号
SEGNが「0」から「1」に切換わり、複数周期から成る
アタック部波形ATは1回だけ読み出され、次に読み出さ
れるべき波形として第1のつなぎ波形CW1が指定され
る。以下同様の手順で波形の読み出しと切換え制御が行
われ、第1図(e)の場合は、アタック部波形ATを1回
読み出した後は、第1のつなぎ波形CW1を1回読み出
し、その後第1のフレーム波形FW1をN回繰返して読み
出し、次に第2のつなぎ波形CW2を1回読み出し、次に
フレーム波形FW2をM回繰返して読み出し、次に第3の
つなぎ波形を1回読み出し、最後にフレーム波形FW3を
少なくとも発音終了まで繰返し読み出す。なお、以上か
ら明らかなように、符号14から29までの回路を含むブロ
ックが波形メモリ10の読出し手段30として機能する。
With the above configuration, the connecting waveforms CW1 to CW3 ... between the main waveforms AT, FW1 to FW3 ...
The data of each waveform is sequentially read from the waveform memory 10 in the order of interposing, and the individual waveforms are repeatedly read the number of times set in the repeat count memory 20. That is, first, when a key-on pulse KONP is generated at the start of key depression, each counter 15, 21, 25 is reset, the segment number SEGN output from the segment counter 21 becomes "0", and the attack waveform AT is specified. To do. As a result, the data indicating the start address S 0 of the attack portion waveform AT is read from the start address memory 18. If the number of times of repeated reading is set as shown in FIG. 1 (e), data indicating the number of times of repeated "1" is read from the memory 20. Also, the end address memory 19
From this, data indicating the end address E 0 of the attack portion waveform AT is read. The value of the address signal AD generated from the address counter 15 sequentially increases from “0” according to the note clock pulse NCP, and this is added to the start address S 0 by the adder 29, so that the start address S 0
The address data AAD that sequentially increases from is obtained. Data of the attack portion waveform AT is sequentially read from the waveform memory 10 according to the address data AAD. Address signal AD
When the end address E 0 coincides with the end address E 0 , the output of the comparator 17 becomes the signal “1”, the repeat counter 25 is incremented by 1 to set its content to “1” and the address counter
Reset 15 Then, the repeat count data “1” read from the memory 20 and the count value “1” of the counter 25 match, the output of the comparator 23 becomes a signal “1”, the repeat count counter 25 is reset, and the segment counter is reset. Count up 21 and set the content to "1". In this way, the segment number output from the counter 21
SEGN switches from "0" to "1", the attack waveform AT consisting of a plurality of cycles is read out only once, and the first connecting waveform CW1 is designated as the waveform to be read next. Waveform reading and switching control are performed in the same procedure below. In the case of FIG. 1 (e), the attack waveform AT is read once, the first connecting waveform CW1 is read once, and then the 1 frame waveform FW1 is read N times, then the second connection waveform CW2 is read once, then frame waveform FW2 is read M times, then the third connection waveform is read once, and finally The frame waveform FW3 is repeatedly read at least until the end of sounding. As is clear from the above, a block including circuits 14 to 29 functions as the reading means 30 of the waveform memory 10.

波形メモリ10から読み出された波形データは乗算器31に
与えられ、エンベロープ発生器32から与えられるエンベ
ロープ波形信号が乗算される。エンベロープ発生器32
は、キーオン信号KON及び音色選択情報TCに基づき、ア
タック、ディケイ等の特性を持つエンベロープ波形信号
を発生する。波形メモリ10に記憶したアタック部波形AT
が予めアタックエンベロープが付与されたものである場
合は、このエンベロープ発生器32から発生するエンベロ
ープ波形信号の立上りは格別のアタックカーブ特性を示
さずに急激に立上るものであってよいが、アタック部波
形ATのピークレベルを一定レベルに規格化したものを波
形メモリ10に記憶した場合はこのエンベロープ波形信号
は所定のアタックカーブ特性で立上るものとする。乗算
器31の出力はディジタル/アナログ変換器33でアナログ
信号に変換され、サウンドシステム34に与えられる。
The waveform data read from the waveform memory 10 is given to the multiplier 31, and is multiplied by the envelope waveform signal given from the envelope generator 32. Envelope generator 32
Generates an envelope waveform signal having characteristics such as attack and decay based on the key-on signal KON and the tone color selection information TC. Attack waveform AT stored in waveform memory 10
If the attack envelope is given in advance, the rising edge of the envelope waveform signal generated from the envelope generator 32 may be a sharp rise without showing any particular attack curve characteristic, but the attack portion When the peak level of the waveform AT is standardized to a constant level and stored in the waveform memory 10, the envelope waveform signal rises with a predetermined attack curve characteristic. The output of the multiplier 31 is converted into an analog signal by the digital / analog converter 33 and given to the sound system 34.

上記実施例では、エンドアドレスメモリ19に記憶するエ
ンドアドレスデータは相対アドレスで表現されているも
のとしたが、これは絶対アドレスで表現したものであっ
てもよい。その場合は比較器17には相対的なアドレス信
号ADの代わりに絶対的なアドレスデータAADを入力する
ものとする。
In the above embodiment, the end address data stored in the end address memory 19 is expressed as a relative address, but it may be expressed as an absolute address. In that case, the absolute address data AAD is input to the comparator 17 instead of the relative address signal AD.

上記実施例では、アタック部では複数周期から成るアタ
ック部波形ATを1回だけ読み出すようにしているが、こ
れに限らず、所定の1周期波形を所定回数繰返し読み出
すようにしてもよい。
In the above-described embodiment, the attack part reads the attack part waveform AT consisting of a plurality of cycles only once, but the invention is not limited to this, and a predetermined one cycle waveform may be repeatedly read a predetermined number of times.

また、波形メモリ10を読み出すための読出し手段30は、
第2図のようなディスクリート型回路から成るものに限
らず、マイクロコンピュータを用いたソフトウェアプロ
グラムによって実施してもよい。
Further, the reading means 30 for reading the waveform memory 10 is
The present invention is not limited to the discrete type circuit as shown in FIG. 2, but may be implemented by a software program using a microcomputer.

上記実施例ではつなぎ波形CW1〜CW3・・・は相前後する
2つの主波形のクロスフェード補間演算を行うことによ
り準備しているが、これに限らず、相前後する2つの主
波形の間を滑らかにつなげることができるものであれば
どのようなやり方でつなぎ波形を形成してもよい。例え
ば、原波形から適当な複数周期波形を取り出し、これを
適宜修正することによりつなぎ波形を作成するようにし
てもよい。
In the above-described embodiment, the connecting waveforms CW1 to CW3 ... Are prepared by performing crossfade interpolation calculation of two main waveforms that follow each other. However, the present invention is not limited to this. The connecting waveform may be formed by any method as long as it can be smoothly connected. For example, an appropriate multi-period waveform may be extracted from the original waveform, and the connected waveform may be created by appropriately modifying the waveform.

上記実施例において、繰返し読み出すべき主波形つまり
フレーム波形FW1〜FW3・・・は、それぞれ任意の周期に
設定できるものであり、1周期波形から成るものに限ら
ず、2周期以上の波形から成るものであってもよく、ま
た、1/2周期あるいは1/4周期等1周期未満の波形であっ
てもよい。1周期未満の波形を記憶した場合は、通常知
られているように、位相反転あるいは逆方向読出し等の
手法により1周期波形として読み出し、これを繰返す。
In the above-described embodiment, the main waveforms to be repeatedly read, that is, the frame waveforms FW1 to FW3 ... Can be set to arbitrary periods, and are not limited to one period waveforms and two or more period waveforms. Or a waveform of less than 1 cycle such as 1/2 cycle or 1/4 cycle. When a waveform of less than one cycle is stored, as is generally known, it is read as a one-cycle waveform by a method such as phase inversion or reverse reading, and this is repeated.

主波形及びつなぎ波形を作成する際の基となる原波形は
自然楽器音をサンプリングしたものに限らず、シンセサ
イザ等によって人工的に作られた音の波形など、その他
どんな波形でもよい。また、原波形を準備せずに、各主
波形を適宜に作成するようにしてもよい。
The original waveform that is the basis for creating the main waveform and the connecting waveform is not limited to a sample of a natural musical instrument sound, and may be any other waveform such as a sound waveform artificially created by a synthesizer. Further, each main waveform may be appropriately created without preparing the original waveform.

各鍵(各音高)毎に別々に、あるいは所定の鍵域(音
域)毎に別々に、主波形及びつなぎ波形を波形メモリに
記憶し、発生すべき楽音の音高(又は音域)に応じてそ
れらを選択して読み出すようにしてもよい。
The main waveform and connecting waveform are stored in the waveform memory separately for each key (each pitch) or for each predetermined key range (tone range), depending on the pitch (or range) of the musical tone to be generated. They may be selected and read out.

また、波形メモリに記憶する波形データの符号化方式は
PCM方式に限らず、差分PCM方式、デルタ変調(DM)方
式、適応デルタ変調(ADM)方式などどのような方式で
あってもよい。その場合、適宜の復号回路を波形メモリ
の出力側に設けるものとする。
Also, the encoding method of the waveform data stored in the waveform memory is
Not limited to the PCM system, any system such as a differential PCM system, a delta modulation (DM) system, an adaptive delta modulation (ADM) system may be used. In that case, an appropriate decoding circuit is provided on the output side of the waveform memory.

第2図では単音電子楽器が示されているが、複音電子楽
器においてもこの発明を適用することができる。その場
合、各カウンタ15,21,25が複数チャンネルで時分割的に
動作し得る構成とすればよい。また、この発明は各鍵に
対応する音階音を発生する場合に限らず、リズム音その
他の可聴音の発生に適用することができる。
Although a single-tone electronic musical instrument is shown in FIG. 2, the present invention can be applied to a multi-tone electronic musical instrument. In that case, each counter 15, 21, 25 may be configured to operate in a time-divisional manner on a plurality of channels. Further, the present invention can be applied not only to the generation of the scale sound corresponding to each key, but also to the generation of rhythm sound and other audible sounds.

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

第1図は波形メモリに記憶すべき主波形及びつなぎ波形
の一例を模式的に示す図、 第2図はこの発明の一実施例に係る電子楽器のブロック
図、である。 AT……アタック部波形、FW1〜FW3……フレーム波形、CW
1〜CW3……つなぎ波形、S0〜S6……スタートアドレス、
E0〜E6……エンドアドレス、10……波形メモリ、11……
音色選択回路、12……鍵盤、30……読出し手段。
FIG. 1 is a diagram schematically showing an example of a main waveform and a connecting waveform to be stored in a waveform memory, and FIG. 2 is a block diagram of an electronic musical instrument according to an embodiment of the present invention. AT …… Attack waveform, FW1 to FW3 …… Frame waveform, CW
1~CW3 ...... connecting waveform, S 0 ~S 6 ...... start address,
E 0 to E 6 …… End address, 10 …… Waveform memory, 11 ……
Tone selection circuit, 12 ... keyboard, 30 ... reading means.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】1つの楽音の夫々一部分に対応する波形で
あって、所定の順序で切換えて読み出されるべき複数の
主波形のデータと、切換え順序が相前後する2つの前記
主波形の間をつなぐための、該2つの主波形に対応す
る、複数周期から成るつなぎ波形のデータとを記憶した
波形記憶手段と、 前記複数の各主波形それぞれについての繰返し読出し回
数を記憶した繰返し回数記憶手段と、 相前後して読み出されるべき2つの前記主波形の間にそ
れに対応する前記つなぎ波形を介在させる順序で、先行
する主波形のデータを前記繰返し回数記憶手段に記憶さ
れている当該主波形に関する繰返し回数が示す回数分だ
け繰返し読み出した後、前記つなぎ波形のデータを読み
出し、続いて後続する主波形のデータを前記繰返し回数
記憶手段に記憶されている当該主波形に関する繰返し回
数が示す回数分だけ繰返し読み出す波形読出し手段と を具えた楽音信号発生装置。
1. Data of a plurality of main waveforms, which are waveforms corresponding to respective portions of one musical tone and are to be read out by switching in a predetermined order, and between two main waveforms whose switching orders are in tandem. Waveform storage means for storing data of a connecting waveform consisting of a plurality of cycles, which corresponds to the two main waveforms, and a repetition number storage means for storing the number of repeated readings for each of the plurality of main waveforms. Repeating the data of the preceding main waveform with respect to the main waveform stored in the repetition number storage means in the order of interposing the corresponding connecting waveform between the two main waveforms to be read one after another. After repeatedly reading the number of times indicated by the number of times, the data of the connecting waveform is read, and subsequently the data of the main waveform is stored in the number of repetitions storing means. And has musical tone signal generating apparatus comprising a waveform reading means for reading repeatedly as many times indicated by the number of repetitions concerning the main waveform.
JP60216100A 1985-10-01 1985-10-01 Music signal generator Expired - Lifetime JPH0727384B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60216100A JPH0727384B2 (en) 1985-10-01 1985-10-01 Music signal generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60216100A JPH0727384B2 (en) 1985-10-01 1985-10-01 Music signal generator

Publications (2)

Publication Number Publication Date
JPS6278599A JPS6278599A (en) 1987-04-10
JPH0727384B2 true JPH0727384B2 (en) 1995-03-29

Family

ID=16683245

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60216100A Expired - Lifetime JPH0727384B2 (en) 1985-10-01 1985-10-01 Music signal generator

Country Status (1)

Country Link
JP (1) JPH0727384B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2621466B2 (en) * 1989-03-20 1997-06-18 カシオ計算機株式会社 Sampling device
JP2554988Y2 (en) * 1991-08-01 1997-11-19 尚生 犬束 Simple warehouse type space forming structure
JP5533892B2 (en) * 2012-01-06 2014-06-25 ヤマハ株式会社 Performance equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5643700A (en) * 1979-09-19 1981-04-22 Nippon Telegraph & Telephone Voice synthesizer
JPS60147793A (en) * 1984-01-12 1985-08-03 ヤマハ株式会社 Musical sound signal generator

Also Published As

Publication number Publication date
JPS6278599A (en) 1987-04-10

Similar Documents

Publication Publication Date Title
US4679480A (en) Tone signal generation device for changing the tone color of a stored tone waveshape in an electronic musical instrument
US4706537A (en) Tone signal generation device
JP2571911B2 (en) Music signal generator
JP2567717B2 (en) Musical sound generator
JPH0766267B2 (en) Musical sound generator
US4890527A (en) Mixing type tone signal generation device employing two channels generating tones based upon different parameter
US5290965A (en) Asynchronous waveform generating device for use in an electronic musical instrument
EP0167847A1 (en) Tone signal generation device
JPH0727384B2 (en) Music signal generator
JP2915452B2 (en) Tone generator
EP0154888B1 (en) Tone signal generation device for an electronic musical instrument
JPS6286394A (en) Generation of musical sound signal
JP2559209B2 (en) Music signal generator
JPS61204696A (en) Tone signal generator
JPS623299A (en) Tone signal generation
JP2950893B2 (en) Music signal generator
JP2728087B2 (en) Music signal generator
JPS61110199A (en) Musical sound signal generator
JPH0766268B2 (en) Musical sound generator
JPH08146961A (en) Waveform memory type musical sound generating device
JPH0644191B2 (en) Music signal generator
JPH05134673A (en) Electronic musical instrument
JPH04260099A (en) Musical sound generating device
JPH01101589A (en) Control signal generator for electronic musical instrument
JPH05134670A (en) Electronic musical instrument

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term