JPH07101352B2 - Music signal generator - Google Patents
Music signal generatorInfo
- Publication number
- JPH07101352B2 JPH07101352B2 JP62237720A JP23772087A JPH07101352B2 JP H07101352 B2 JPH07101352 B2 JP H07101352B2 JP 62237720 A JP62237720 A JP 62237720A JP 23772087 A JP23772087 A JP 23772087A JP H07101352 B2 JPH07101352 B2 JP H07101352B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- musical tone
- data
- shift register
- waveform data
- 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 - Fee Related
Links
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【発明の詳細な説明】 (産業上の利用分野) 本発明は、電子楽器、ゲーム機器等に利用される楽音信
号発生装置に係り、特に時間経過に従って波形が徐々に
変化する楽音信号を発生する楽音信号発生装置に関す
る。Description: TECHNICAL FIELD The present invention relates to a musical tone signal generator used in electronic musical instruments, game machines, etc., and particularly generates a musical tone signal whose waveform gradually changes over time. The present invention relates to a tone signal generator.
(従来技術) 従来、この種の装置は、例えば特開昭61−107298号公報
に示されるように、異なる楽音波形を表す楽音波形デー
タを時間経過に従って順次切換え出力する楽音波形デー
タ発生手段と、楽音波形データを発生すべき楽音の音高
周期に対応した遅延時間をもって循環記憶する記憶手段
と、楽音波形データ発生手段からの楽音波形データと記
憶手段に循環記憶されている楽音波形データとの差に応
じて記憶手段に記憶されている楽音波形データを徐々に
変更修正するデータ修正手段と、記憶手段に記憶されて
いる波形データを楽音信号として出力する出力手段とを
有し、出力手段から時間経過に従って波形が徐々に変化
する楽音信号を発生するようにしている。(Prior Art) Conventionally, a device of this type has, as shown in, for example, Japanese Patent Laid-Open No. 61-107298, a musical tone waveform data generation means for sequentially switching and outputting musical tone waveform data representing different musical tone waveforms, Storage means for cyclically storing the musical tone waveform data with a delay time corresponding to the pitch period of the musical tone to be generated, and a difference between the musical tone waveform data from the musical tone waveform data generating means and the musical tone waveform data cyclically stored in the storing means. According to the above, it has a data correction means for gradually changing and correcting the tone waveform data stored in the storage means, and an output means for outputting the waveform data stored in the storage means as a tone signal. A musical tone signal whose waveform gradually changes over time is generated.
(発明が解決しようとする問題点) しかるに、上記従来の装置にあっては、記憶手段に循環
記憶されている楽音波形データは常に発生すべき楽音の
音高周期に対応して出力されるので、ビブラート効果等
の音楽効果を付与した楽音を発生できないという問題が
ある。(Problems to be Solved by the Invention) However, in the above-mentioned conventional apparatus, the tone waveform data circulated and stored in the storage means is always output in correspondence with the pitch period of the tone to be generated. However, there is a problem in that a musical sound to which a music effect such as a vibrato effect is added cannot be generated.
本発明は上記問題に鑑み案出されたもので、その目的と
するところは、時間経過に従って波形が徐々に変化する
楽音信号を発生する楽音信号発生装置において、ビブラ
ート効果等の音楽効果の付与された楽音を発生できる楽
音信号発生装置を提供することにある。The present invention has been devised in view of the above problems, and an object thereof is to provide a musical effect signal such as a vibrato effect in a musical sound signal generation device that generates a musical sound signal whose waveform gradually changes over time. Another object of the present invention is to provide a musical tone signal generator capable of generating a musical tone.
(問題点を解決するための手段) 上記問題を解決して本発明の目的を達成するために、本
発明の構成上の特徴は、異なる楽音波形を表す楽音波形
データを時間経過に従って順次切換え出力する楽音波形
データ発生手段と、楽音波形データを発生すべき楽音の
音高周期に対応した遅延時間をもって循環記憶する記憶
手段と、楽音波形データ発生手段からの楽音波形データ
と記憶手段に循環記憶されている楽音波形データとの差
に応じて記憶手段に記憶されている楽音波形データを徐
々に変更修正するデータ修正手段と、記憶手段に記憶さ
れている波形データを記憶手段の循環記憶動作に応じて
楽音信号として出力する出力手段とを有する楽音信号発
生装置において、記憶手段による波形データの遅延時間
を変調する変調手段を設けたことにある。(Means for Solving the Problems) In order to solve the above problems and achieve the object of the present invention, a characteristic feature of the present invention is that the musical tone waveform data representing different musical tone waveforms are sequentially output as time passes. Means for generating musical tone waveform data, storage means for cyclically storing the musical tone waveform data with a delay time corresponding to the pitch period of the musical tone to be generated, and musical tone waveform data from the musical tone waveform data generating means Data correction means for gradually changing and correcting the tone waveform data stored in the storage means in accordance with the difference between the waveform data stored in the storage means and the waveform data stored in the storage means according to the circulating storage operation of the storage means. In the tone signal generator having the output means for outputting as a tone signal, the modulation means for modulating the delay time of the waveform data by the storage means is provided. .
(発明の作用) 上記のように構成した本発明においては、波形データ発
生手段から異なる楽音波形を表す楽音波形データが時間
経過に従って順次切換え出力されると、記憶手段は該波
形データを発生すべき楽音の音高周期に対応した遅延時
間をもって循環記憶するとともに、データ修正手段との
協働により記憶波形データを徐々に変更していき、該変
更された波形データが出力手段を介して楽音信号として
出力される。かかる楽音信号の発生中、変調手段は記憶
手段による波形データの遅延時間を変調するので、記憶
手段に循環記憶される波形データの循環記憶時間が変調
信号に応じて変化し、記憶手段の循環記憶動作に応じて
出力手段を介して出力される楽音信号にはビブラート効
果のような周波数変調効果が付与される。(Operation of the Invention) In the present invention configured as described above, when musical tone waveform data representing different musical tone waveforms are sequentially switched and output from the waveform data generating means over time, the storage means should generate the waveform data. The stored waveform data is circulated and stored with a delay time corresponding to the pitch period of the musical sound, and the stored waveform data is gradually changed in cooperation with the data correction means, and the changed waveform data is converted into a musical sound signal via the output means. Is output. During the generation of such a tone signal, the modulating means modulates the delay time of the waveform data stored in the storage means. Therefore, the circulating storage time of the waveform data cyclically stored in the storage means changes according to the modulation signal, and the circulating storage of the storage means. A frequency modulation effect such as a vibrato effect is added to the musical tone signal output via the output means in accordance with the operation.
(発明の効果) 上記作用説明からも理解できる通り、本発明によれば、
時間経過に従って波形が徐々に変化する楽音信号を発生
する楽音信号発生装置において、ビブラート効果等の音
楽効果の付与された楽音を発生できるので、当該楽音信
号発生装置の品質が向上する。(Effect of the invention) As can be understood from the above description of the operation, according to the present invention,
In a musical tone signal generator that generates a musical tone signal whose waveform gradually changes over time, a musical tone with a music effect such as a vibrato effect can be generated, so the quality of the musical tone signal generator is improved.
(実施例) 以下、本発明の一実施例を図面を用いて説明すると、第
1図はこの発明に係る楽音信号発生装置の適用された電
子楽器をブロック図にて示している。(Embodiment) An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an electronic musical instrument to which a musical tone signal generating apparatus according to the present invention is applied.
この電子楽器は鍵スイッチ回路11及び音色選択スイッチ
回路12を有する。鍵スイッチ回路11は鍵盤の各種に各々
対応した複数の鍵スイッチにより構成されており、同ス
イッチは各鍵の押離鍵に応じて各々開閉成する。鍵スイ
ッチ回路11には押鍵検出回路13が接続されており、同検
出回路13は鍵スイッチ回路11内の各鍵スイッチの開閉成
を検出することにより鍵盤の各鍵の押離鍵を検出して、
鍵盤にて押されている鍵を表すキーコードKC及び鍵が押
されるとハイレベル“1"(以下単に“1"という)とな
り、かつ鍵が離されるとローレベル“0"(以下単に“0"
という)となるキーオン信号KONを出力する。音色選択
スイッチ回路12は電子楽器の前面パネル上に設けられた
音色選択操作子群の各操作子に各々対応した複数の音色
選択スイッチにより構成されており、同スイッチ回路12
は音色選択操作子群により選択された音色を表す音色選
択信号TSWを出力する。This electronic musical instrument has a key switch circuit 11 and a tone color selection switch circuit 12. The key switch circuit 11 is composed of a plurality of key switches corresponding to various kinds of keyboards, and the switches are opened / closed in response to the pressing and releasing of each key. A key press detection circuit 13 is connected to the key switch circuit 11, and the detection circuit 13 detects the pressing and releasing of each key on the keyboard by detecting the open / close state of each key switch in the key switch circuit 11. hand,
The key code KC representing the key pressed on the keyboard and the high level “1” (hereinafter simply “1”) when the key is pressed, and the low level “0” (hereinafter simply “0” when the key is released). "
The key-on signal KON is output. The tone color selection switch circuit 12 is composed of a plurality of tone color selection switches corresponding to the respective operators of the tone color selection operator group provided on the front panel of the electronic musical instrument.
Outputs a tone color selection signal TSW representing the tone color selected by the tone color selection operator group.
これらの音色選択スイッチ回路12及び押鍵検出回路13に
はアドレス発生器20が接続されている。また、アドレス
発生器20にマスタクロック発生器14も接続されており、
同発生器14は一定の高い周波数のマスタクロック信号φ
Cを出力する。An address generator 20 is connected to the tone color selection switch circuit 12 and the key press detection circuit 13. Also, the master clock generator 14 is connected to the address generator 20,
The generator 14 has a constant high frequency master clock signal φ.
Output C.
アドレス発生器20は波形メモリ30に記憶されている波形
データの読出しを制御する第1及び第2アドレス信号AD
1,AD2を出力するもので、第2図に詳細に示されるよう
に、可変分周器21を有する。可変分周器21はキーコード
KCに応じて分周比メモリ22から読出された分周比データ
によりマスタクロック信号φCを分周して、押された鍵
の音高周波数のm(mは一周期分の楽音波形のサンプリ
ングデータ数に等しい)倍の周波数を有する第1ノート
クロック信号φn1を出力する。この第1ノートクロック
信号φn1はカウンタ23に入力され、同カウンタ23は第1
ノートクロック信号φn1をカウンタすることにより
「0」〜「m−1」に渡り繰返し変化するカウント値を
第1アドレス信号AD1として出力する。このカウンタ23
のリセット端子Rには、微分回路24によりキーオン信号
KONを立ち上がり微分したキーオンパルス信号KONPが供
給されており、同カウンタ23はこのキーオンパルス信号
KONPの到来に応じて押鍵時にリセットされるようになっ
ている。The address generator 20 has first and second address signals AD for controlling the reading of the waveform data stored in the waveform memory 30.
It outputs 1 and AD2, and has a variable frequency divider 21, as shown in detail in FIG. Variable frequency divider 21 is a key code
The master clock signal φ C is frequency-divided by the frequency division ratio data read from the frequency division ratio memory 22 according to KC, and m of the pitch frequency of the pressed key (m is a musical tone waveform sampling for one cycle). The first note clock signal φ n1 having a frequency doubled (equal to the number of data) is output. The first note clock signal φ n1 is input to the counter 23, and the counter 23 receives the first
By counting the note clock signal φ n1 , a count value that repeatedly changes from “0” to “m−1” is output as the first address signal AD1. This counter 23
Differentiating circuit 24 supplies a key-on signal to the reset terminal R of
The key-on pulse signal KONP, which is a derivative of KON rising, is supplied.
It is designed to be reset when the key is pressed in response to the arrival of KONP.
また、カウンタ23のカウンタ値「m−1」から「0」に
変化する毎に同カウンタ23から発生されるキャリイ信号
CAはカウンタ25に入力されており、同カウンタ25はこの
キャリイ信号CAをカウンタすることにより第1アドレス
信号AD1の1周期毎に1ずつ増加するカウンタ値を出力
する。このカウンタ25のリセツト端子Rにはオア回路OR
を介してキーオンパルス信号KONP及び後述する比較器26
からの一致信号EQが供給されており、同カウンタ25はキ
ーオンパルス信号KONP又は一致信号EQの到来に応じて押
鍵時又は比較器26による一致信号EQの発生時にリセット
されるようになっている。カウンタ25から出力されるカ
ウント値は比較器26の一方の入力に供給され、同比較器
26の他方の入力には繰返し回数メモリ27から繰返し回数
値が供給されている。繰返し回数メモリ27は波形メモリ
30に記憶されている同一波形を繰返し出力する回数を各
波形毎に記憶するもので、音色選択スイッチ回路12から
出力される演奏者により選択された音色を表す音色選択
信号TSW及びカウンタ28からのカウント値(第2アドレ
ス信号AD2)に応じて前記繰返し回数を出力する。これ
により、比較器26は、カウンタ25からのカウント値が繰
返し回数メモリ27からの繰返し回数値に一致した時点
で、一致信号EQを出力して、カウンタ25をオア回路ORを
介してリセットすると同時に、同一致信号EQをアンド回
路ANDの一方の入力を介してカウンタ28に供給するよう
になっている。カウンタ28はこの供給された一致信号EQ
をカウントして1ずつ増加するカウント値を第2アドレ
ス信号AD2として出力する。アンド回路ANDの他方の入力
には、第2アドレス信号AD2の全ビットが“1"になった
ことを検知するナンド回路NANDの出力が供給されてお
り、第2アドレス信号AD2の全ビツトが“1"(この実施
例ではカウンタ28のカウント値が「7」)になったと
き、一致信号EQがアンド回路ANDを介してカウンタ28に
供給されないようになっている。これにより、カウンタ
28は一致信号EQの到来に応じてそのカウント値を1ずつ
増加させて、例えば「0」〜「7」まで変化する第2ア
ドレス信号AD2を出力する。またカウンタ28のリセット
端子Rにはキーオンパルス信号KONPが供給されており、
同カウンタ28は押鍵時にリセットされるようになってい
る。A carry signal generated from the counter 23 every time the counter value "m-1" of the counter 23 changes from "0".
CA is input to the counter 25, and the counter 25 counts the carry signal CA and outputs a counter value that is incremented by 1 for each cycle of the first address signal AD1. An OR circuit OR is provided to the reset terminal R of the counter 25.
Key-on pulse signal KONP and a comparator 26 described later.
The coincidence signal EQ from the counter 25 is supplied, and the counter 25 is reset when the key is pressed or when the coincidence signal EQ is generated by the comparator 26 in response to the arrival of the key-on pulse signal KONP or the coincidence signal EQ. . The count value output from the counter 25 is supplied to one input of the comparator 26,
A repeat count value is supplied from the repeat count memory 27 to the other input of 26. Repeat count memory 27 is waveform memory
The number of times that the same waveform stored in 30 is repeatedly output is stored for each waveform, and the tone color selection signal TSW representing the tone color selected by the performer output from the tone color selection switch circuit 12 and the counter 28 The number of repetitions is output according to the count value (second address signal AD2). Accordingly, the comparator 26 outputs the coincidence signal EQ and resets the counter 25 via the OR circuit OR at the time when the count value from the counter 25 coincides with the repeat count value from the repeat count memory 27. The coincidence signal EQ is supplied to the counter 28 via one input of the AND circuit AND. The counter 28 receives the supplied match signal EQ.
Is output as a second address signal AD2. The other input of the AND circuit AND is supplied with the output of the NAND circuit NAND which detects that all the bits of the second address signal AD2 have become "1", and all the bits of the second address signal AD2 are " When 1 "(the count value of the counter 28 in this embodiment is" 7 "), the coincidence signal EQ is not supplied to the counter 28 via the AND circuit AND. This allows the counter
28 increments its count value by 1 in response to the arrival of the coincidence signal EQ and outputs the second address signal AD2 which changes from "0" to "7", for example. Also, the key-on pulse signal KONP is supplied to the reset terminal R of the counter 28,
The counter 28 is reset when a key is pressed.
また、アドレス発生器20はゲート制御回路29を有してお
り、同期制御回路29はカウンタ25のカウント値の所定値
毎、例えば“0,3,6・・・",“0,5,10・・・”にて“1"
となるゲート信号GONを出力する。このゲート制御回路2
9には音色選択スイッチ回路12からの音色選択信号TSWが
供給されており、ゲート信号GONが“1"となる頻度がこ
の音色選択信号TSWにより変更されるようになってい
る。Further, the address generator 20 has a gate control circuit 29, and the synchronization control circuit 29 has a predetermined count value of the counter 25, for example, “0,3,6 ...”, “0,5,10”. "..." in "1"
Output the gate signal GON. This gate control circuit 2
The tone color selection signal TSW from the tone color selection switch circuit 12 is supplied to 9 and the frequency at which the gate signal GON becomes "1" is changed by this tone color selection signal TSW.
波形メモリ30はn個の音色に対応しかつ音色選択スイッ
チ回路12からの音色選択信号TSWにより指定される波形
データメモリ30−1,30−2・・・30−nを有する。各波
形データメモリ30−1,30−2・・・30−nは各々第2ア
ドレス信号AD2により指定される複数のエリア(この実
施例は8エリアE0,E1・・・E7)に分割されている。各
エリアE0,E1・・・E7は各々楽音の一周期分に相当する
異なる波形のm個のサンプリングデータを記憶してお
り、同データは第1アドレス信号AD1により読出され
る。The waveform memory 30 has waveform data memories 30-1, 30-2 ... 30-n corresponding to n tone colors and designated by the tone color selection signal TSW from the tone color selection switch circuit 12. Each of the waveform data memories 30-1, 30-2 ... 30-n has a plurality of areas (8 areas E 0 , E 1 ... E 7 in this embodiment) designated by the second address signal AD2. It is divided. Each area E 0 , E 1 ... E 7 stores m pieces of sampling data having different waveforms corresponding to one cycle of the musical tone, and the data is read by the first address signal AD1.
波形メモリ30には補間回路40が接続されており、同回路
40は波形メモリ30からの波形データを循環記憶する手段
としてのシフトレジスタ41と、減算器42、ゲート回路4
3、乗算器44及び加算器45からなって同レジスタ41に記
憶されている波形データを徐々に修正変更するデータ修
正手段とを備えている。An interpolation circuit 40 is connected to the waveform memory 30.
Reference numeral 40 denotes a shift register 41 as a means for circulatingly storing the waveform data from the waveform memory 30, a subtractor 42, and a gate circuit 4
3, and a data correction means including a multiplier 44 and an adder 45 for gradually correcting and changing the waveform data stored in the register 41.
シフトレジスタ41は楽音波形の一周期分に相当するm個
のサンブリングデータを記憶するmステージを有し、各
ステージに記憶されているサンプリングデータはキーオ
ンパルス信号KONPによりリセットされるとともに、可変
分周器51から供給される第2ノートクロック信号φn2に
より順次シフトされるようになっている。可変分周器21
は加算器52からの分周比データによりマスタクロック発
生器14からのマスタクロック信号φcを分周して、押さ
れた鍵の音高周波数のm倍の周波数を中心周波数として
上下に若干変化する第2ノートクロック信号φn2を出力
する。加算器52には分周比メモリ53及び変調信号発生器
60が接続されており、同加算器52は分周比メモリ53及び
変調信号発生器60からの各データを加算して出力する。The shift register 41 has m stages that store m pieces of sambling data corresponding to one cycle of the tone waveform, and the sampling data stored in each stage is reset by the key-on pulse signal KONP and is changed by a variable amount. The second note clock signal φ n2 supplied from the frequency divider 51 is sequentially shifted. Variable frequency divider 21
Divides the master clock signal φ c from the master clock generator 14 according to the frequency division ratio data from the adder 52, and slightly changes up and down with a frequency m times the pitch frequency of the pressed key as the center frequency. Output the second note clock signal φ n2 . The adder 52 includes a frequency division ratio memory 53 and a modulation signal generator.
60 is connected, and the adder 52 adds the respective data from the frequency division ratio memory 53 and the modulation signal generator 60 and outputs the result.
分周比メモリ53は前記アドレス発生器20内の分周比メモ
リ22と同様に構成され、供給されるキーコードKCに応じ
た分周比データを出力する。なお、この分周比メモリ53
と前記分周比メモリ22とを共通に用いてもよい。変調信
号発生器60は、第3図に示すように、複数の変調波形デ
ータ発生器61,62,63を備えており、各発生器61,62,63は
低周波数例えば数Hz〜10数Hzの異なる波形例えば正弦
波、三角波、鋸歯状波等を表す波形データをそれぞれ出
力する。各発生器61,62,63にはセレクタ64が接続されて
おり、同セレクタ64は演奏者により選択される選択スイ
ッチ65からの選択信号に応じて前記各発生器61,62,63か
らのいずれかの波形データを選択出力する。The frequency division ratio memory 53 is configured similarly to the frequency division ratio memory 22 in the address generator 20, and outputs frequency division ratio data according to the supplied key code KC. This division ratio memory 53
And the frequency division ratio memory 22 may be used in common. As shown in FIG. 3, the modulation signal generator 60 includes a plurality of modulation waveform data generators 61, 62, 63, and each of the generators 61, 62, 63 has a low frequency, for example, several Hz to several tens of Hz. Of different waveforms, for example, sine wave, triangular wave, sawtooth wave, etc., are respectively output. A selector 64 is connected to each of the generators 61, 62 and 63, and any one of the generators 61, 62 and 63 is selected according to a selection signal from a selection switch 65 selected by the performer. Selectively output the waveform data.
前記データ修正手段を構成する減算器42は波形メモリ30
から供給されるサンプリングデータから、シフトレジス
タ41の最終ステージから供給されるサンプリングデータ
を減算して、該減算による差データをゲート回路43に出
力する。ゲート回路43はアドレス発生器20からのゲート
信号GONにより導通又は非導通制御されるもので、同信
号GONが“1"のとき減算器42からの入力データを乗算器4
4に供給し、かつ同信号GONが“0"のとき前記供給を禁止
する。乗算器44はゲート回路43からの入力データに利得
係数gを乗算して加算器45の一方の入力に供給する。こ
の利得係数gは利得係数メモリ54から供給されるもの
で、同メモリ54はn個の音色に対応しかつ音色選択スイ
ッチ12からの音色選択信号TSWにより指定される利得係
数データメモリ54−1,54−2・・・54−nを有する。各
利得係数データメモリ54−1,54−2・・・54−nは各々
第2アドレス信号AD2によりアドレス指定される複数の
利得係数データ(この実施例では8データg0,g1・・・g
7)を記憶している。The subtractor 42 constituting the data correction means is a waveform memory 30.
The sampling data supplied from the final stage of the shift register 41 is subtracted from the sampling data supplied from the above, and difference data resulting from the subtraction is output to the gate circuit 43. The gate circuit 43 is controlled to be conductive or non-conductive by the gate signal GON from the address generator 20, and when the signal GON is “1”, the input data from the subtractor 42 is multiplied by the multiplier 4
When the signal GON is "0", the supply is prohibited. The multiplier 44 multiplies the input data from the gate circuit 43 by the gain coefficient g and supplies it to one input of the adder 45. The gain coefficient g is supplied from the gain coefficient memory 54. The memory 54 corresponds to n timbres and is designated by the timbre selection signal TSW from the timbre selection switch 12. 54-2 ... 54-n. Each gain coefficient data memory 54-1, 54-2, ... 54-n has a plurality of gain coefficient data (8 data g 0 , g 1, ... In this embodiment) addressed by the second address signal AD2. g
7 ) Remember.
加算器45の他方の入力にはシフトレジスタ41の最終ステ
ージからのサンプリングデータが供給されてあり、同加
算器45は該サンプリングデータと乗算器44からの入力デ
ータとを加算してシフトレジスタ41の第1ステージに供
給する。The other input of the adder 45 is supplied with the sampling data from the final stage of the shift register 41, and the adder 45 adds the sampling data and the input data from the multiplier 44 to add the sampling data to the shift register 41. Supply to the first stage.
また、加算器45の出力には乗算器71が接続されており、
同乗算器71は加算器45からのサンプリングデータとエン
ブロープ波形データを乗算して出力する。このエンベロ
ープ波形データはエンベロープ発生器72から供給される
もので、同発生器72は押鍵検出回路13からのキーオン信
号KONに応じて楽音のエンブロープ波形を表すエンブロ
ープ波形データを形成して出力する。また、このエンベ
ロープ波形は音色選択スイッチ回路12からの音色選択信
号TSWにより制御され、各楽音の音色に適した形状に形
成される。Further, a multiplier 71 is connected to the output of the adder 45,
The multiplier 71 multiplies the sampling data from the adder 45 and the envelope waveform data and outputs the result. This envelope waveform data is supplied from the envelope generator 72, and the generator 72 forms and outputs the envelope waveform data representing the envelope waveform of the musical sound in response to the key-on signal KON from the key pressing detection circuit 13. The envelope waveform is controlled by the tone color selection signal TSW from the tone color selection switch circuit 12, and is formed into a shape suitable for the tone color of each tone.
乗算器71にはディジタルアナログ返還器73が接続されて
おり、同変換器73は乗算器71からのディジタル信号をア
ナログ信号に変換してサウンドシステム74に出力する。
サウンドシステム74はアンプ、スピーカー等により構成
されており、デイジタルアナログ変換器73から供給され
るアナログ信号に応じた楽音を発音する。A digital-analog return device 73 is connected to the multiplier 71, and the converter 73 converts the digital signal from the multiplier 71 into an analog signal and outputs it to the sound system 74.
The sound system 74 is composed of an amplifier, a speaker, etc., and produces a musical sound according to the analog signal supplied from the digital-analog converter 73.
以上のように構成した実施例の動作を説明する。鍵盤に
ていずれかの鍵が押下されて、鍵スイッチ回路11内にお
ける前記押下鍵に対応した鍵スイッチが閉成すると、押
鍵検出回路13はこの押鍵を検出して、押された鍵を表す
キーコードKC及びキーオン信号KONをアドレス発生器20
に供給する。アドレス発生器20においては、マスタクロ
ック発生器14からのマスタクロック信号φcを入力する
可変分周器21が供給されたキーコードKCに基づき分周比
メモリ22と協働して第1ノートクロック信号φn1を出力
し始めるとともに、微分回路24がキーオン信号KONを微
分することによりキーオンパルス信号KONPを発生し、こ
のキーオンパルス信号KONPによりカウンタ23,25がそれ
ぞれリセットされる。このキーオンパルス信号KONPは補
間回路40のシフトレジスタ41にも供給され、シフトレジ
スタ41に記憶されている全サンプリングデータがクリア
される。The operation of the embodiment configured as above will be described. When any key is pressed on the keyboard and the key switch corresponding to the pressed key in the key switch circuit 11 is closed, the key pressing detection circuit 13 detects this key pressing and detects the pressed key. The address generator 20 sends the key code KC and the key-on signal KON
Supply to. In the address generator 20, the variable frequency divider 21 for inputting the master clock signal φ c from the master clock generator 14 cooperates with the frequency division ratio memory 22 based on the supplied key code KC to generate the first note clock. While starting to output the signal φ n1 , the differentiating circuit 24 differentiates the key-on signal KON to generate the key-on pulse signal KONP, and the key-on pulse signal KONP resets the counters 23 and 25, respectively. The key-on pulse signal KONP is also supplied to the shift register 41 of the interpolation circuit 40, and all sampling data stored in the shift register 41 is cleared.
このクリア後、アドレス発生器20内のカウンタ23は1ノ
ートクロック信号φn1をカウントして、同信号φn1に同
期するとともに「0」〜「m−1」に渡り繰り返し変化
する第1アドレス信号AD1を波形メモリ30に供給する。
この波形メモリ30には演奏者によって選択された音色を
表す音色選択信号TSWが音色選択スイッチ12から供給さ
れるとともに、前記リセットにより「0」に設定されて
いる第2アドレス信号AD2がカウンタ25から供給されて
おり、同メモリ30は選択音色に対応した波形データメモ
リ30−i(iは1〜nのいずれかの整数)内の第1エリ
アE0に記憶されているサンプリングデータを順次出力す
る。このサンプリングデータは減算器42に供給され、減
算器42は該サンプリングデータからシフトレジスタ41の
最終ステージからサンプリングデータを減算して、該減
算した差データをゲート回路43に出力する。なお、この
場合、シフトレジスタ41内のサンプリングデータはキー
オンパルス信号KONPによりクリアされているので、同レ
ジスタ41から減算器42に供給されるサンプリングデータ
は「0」であり、ゲート回路43に供給される前記差デー
タは波形メモリ30からのサンプリングデータと等しくな
る。ゲート回路43は最初“1"となるゲート信号GONによ
り導通状態に制御されているので、減算器42からのデー
タを乗算器44に供給する。After the clear counter 23 in the address generator 20 counts the 1 note clock signal phi n1, a first address signal which changes repetitively over "0" to "m-1" as well as synchronized with the signal phi n1 AD1 is supplied to the waveform memory 30.
A tone color selection signal TSW representing a tone color selected by the player is supplied from the tone color selection switch 12 to the waveform memory 30, and a second address signal AD2 set to "0" by the reset is supplied from the counter 25. The sampling data stored in the first area E 0 of the waveform data memory 30-i (i is an integer of 1 to n) corresponding to the selected tone color is sequentially output. . The sampling data is supplied to the subtractor 42, which subtracts the sampling data from the final stage of the shift register 41 from the sampling data and outputs the subtracted difference data to the gate circuit 43. In this case, since the sampling data in the shift register 41 has been cleared by the key-on pulse signal KONP, the sampling data supplied from the register 41 to the subtractor 42 is “0” and is supplied to the gate circuit 43. The difference data is equal to the sampling data from the waveform memory 30. Since the gate circuit 43 is controlled to be conductive by the gate signal GON which is initially “1”, the data from the subtractor 42 is supplied to the multiplier 44.
乗算器44には、音色選択信号TSWにより指定される利得
係数メモリ54内の利得係数データメモリ54−i(iは1
〜nのいずれかの整数)から、「0」に設定されている
第2アドレス信号AD2により読出された利得係数データg
0が供給されており、同乗算器44は前記供給データに利
得係数データg0を乗算して加算器45の一方の入力に供給
する。この場合、加算器45の他方の入力には上述のよう
に「0」に設定されているサンプリングデータがシフト
レジスタ41の最終ステージから供給されているので、乗
算器44からのデータがシフトレジスタ41の第1ステージ
に入力され、同レジスタ41は同データを第2ノートクロ
ック信号φn2に同期して順次シフトしながら記憶する。
このようにして、カウンタ23が「m−1」をカウントし
終えると、波形メモリ30は波形の一周期分のサンプリン
グデータを補間回路40に出力したことになり、シフトレ
ジスタ41の各ステージには前記一周期分のサンプリング
データが記憶される。The multiplier 44 has a gain coefficient data memory 54-i (i is 1) in the gain coefficient memory 54 designated by the tone color selection signal TSW.
To n), the gain coefficient data g read by the second address signal AD2 set to "0"
0 is supplied, and the multiplier 44 multiplies the supplied data by the gain coefficient data g 0 and supplies it to one input of the adder 45. In this case, since the sampling data set to “0” as described above is supplied to the other input of the adder 45 from the final stage of the shift register 41, the data from the multiplier 44 is input to the shift register 41. Is input to the first stage, and the register 41 stores the same data while sequentially shifting the same in synchronization with the second note clock signal φ n2 .
In this way, when the counter 23 finishes counting "m-1", the waveform memory 30 outputs the sampling data for one cycle of the waveform to the interpolation circuit 40, and each stage of the shift register 41 has The sampling data for one cycle is stored.
一方、加算器45からシフトレジスタ41の第1ステージに
入力されるサンプリングデータは乗算器71にも供給さ
れ、乗算器71にてエンブロープ発生器72から供給される
エンベロープ波形データと乗算されてデイジタルアナロ
グ変換器73に供給される。このエンベロープ流形データ
が乗算されたサンプリングデータはデイジタルアナログ
変換器73にてアナログ信号に変換され、このアナログ信
号はサウンドシステム74に供給されて、同システム74が
このアナログ信号に対応した楽音を発生し始める。On the other hand, the sampling data input from the adder 45 to the first stage of the shift register 41 is also supplied to the multiplier 71, and is multiplied by the envelope waveform data supplied from the envelope generator 72 in the multiplier 71 to obtain a digital analog signal. It is supplied to the converter 73. The sampling data multiplied by the envelope streamform data is converted into an analog signal by the digital analog converter 73, and this analog signal is supplied to the sound system 74, which generates a musical sound corresponding to this analog signal. Begin to.
かかる状態で、カウンタ23に次の第1ノートクロック信
号φn1に入力されると、同カウンタ値は「m−1」から
「0」になり、以降同カウンタ23は上記場合と同様
「0」〜「m−1」に渡って変化する第1アドレス信号
AD1を繰返し出力する。また、前記カウンタ値「m−
1」から「0」に変化するとき、同カウンタ23がキャリ
イ信号CAをカウンタ25に出力するので、同カウンタ25の
カウント値は「1」となる。この場合、ゲート制御回路
29は、前記「1」に設定されたカウント値に基づき、
“0"となるゲート信号GONを出力するので、ゲート回路4
3は非導通制御され、加算器45の一方の入力には「0」
を表すデータが供給される。In this state, when the next first note clock signal φ n1 is input to the counter 23, the counter value changes from “m−1” to “0”, and thereafter, the counter 23 becomes “0” as in the above case. ~ First address signal changing over "m-1"
AD1 is repeatedly output. Further, the counter value "m-
When changing from "1" to "0", the counter 23 outputs the carry signal CA to the counter 25, so that the count value of the counter 25 becomes "1". In this case, the gate control circuit
29 is based on the count value set to “1” above,
Since the gate signal GON that becomes “0” is output, the gate circuit 4
3 is non-conductive controlled, and "0" is input to one input of the adder 45.
Is supplied.
これにより、加算器45はシフトレジスタ41の最終ステー
ジから供給されるサンプリグデータをそのままシフトレ
ジスタ41の第1ステージに供給するので、同レジスタ41
は上記記憶したサンプリングデータを循環記憶する。As a result, the adder 45 directly supplies the sampling data supplied from the final stage of the shift register 41 to the first stage of the shift register 41.
Circulates the stored sampling data.
そして、かかるサンプルリングデータの記憶中において
も、前述のようにサンプリングデータは乗算器71にも供
給され、サウンドシステム74からは該循環記憶中のサン
プリングデータに対応した楽音信号が発生される。Even during the storage of the sampling data, the sampling data is supplied to the multiplier 71 as described above, and the sound system 74 generates the tone signal corresponding to the sampling data in the circular storage.
かかる状態にてカウンタ25のカウント値が上昇して所定
値(例えば「3」又は「5」)に達するとゲート信号GO
Nが“1"になる。このように、ゲート信号GONが“1"にな
ると、ゲート回路43は導通状態に制御され、前述と同様
に、波形データメモリ30−i内の第1エリアE0から読出
されたサンプリングデータとシフトレジスタ41の最終ス
テージから出力されたサンプリングデータとの差データ
が、ゲート回路43及び乗算器44を介して加算器45の一方
の入力に供給される。加算器45の他方の入力には、シフ
トレジスタ41の最終ステージから出力されたサンプリン
グデータが供給されているので、同加算器45はシフトレ
ジスタ41に記憶されていたサンプリングデータを前記差
データに応じて修正し、シフトレジスタ41はこの修正し
たサンプリングデータを再び記憶することにより以前の
サンプリングデータを更新する。そして、再びカウンタ
25のカウント値が上昇してゲート信号GONが“0"になる
と、ゲート回路43は非導通状態に制御され、シフトレジ
スタ41は再びサンプリングデータを循環記憶するように
なる。以降、このゲート回路43の導通制御に伴うシフト
レジスタ41内のサンプリングデータの更新及びゲート回
路43の非導通制御に伴うシフトレジスタ41内のサンプリ
ングデータの記憶保持により、シフトレジスタ41に記憶
されるサンプリングデータが波形データメモリ30−iの
第1エリアE0に記憶されているサンプリングデータに徐
々に近づく。このように徐々に変化するサンプリングデ
ータは、上記場合と同様に、乗算器71及びデイジタルア
ナログ変換器73を介してサウンドシステム74に供給さ
れ、同システム74がこのサンプリングデータに対応した
楽音が発生するので、発生楽音は波形データメモリ30−
iの第1エリアE0に記憶されているサンプリングデータ
により表された波形に徐々に近づく。In this state, when the count value of the counter 25 increases and reaches a predetermined value (for example, "3" or "5"), the gate signal GO
N becomes “1”. In this way, when the gate signal GON becomes "1", the gate circuit 43 is controlled to be in the conductive state, and similarly to the above, the sampling data read from the first area E 0 in the waveform data memory 30-i and the shift data are shifted. Difference data from the sampling data output from the final stage of the register 41 is supplied to one input of the adder 45 via the gate circuit 43 and the multiplier 44. Since the sampling data output from the final stage of the shift register 41 is supplied to the other input of the adder 45, the adder 45 compares the sampling data stored in the shift register 41 with the difference data. Then, the shift register 41 updates the previous sampling data by storing the corrected sampling data again. And again the counter
When the count value of 25 increases and the gate signal GON becomes “0”, the gate circuit 43 is controlled to be in the non-conductive state, and the shift register 41 again circulates and stores the sampling data. Thereafter, the sampling data stored in the shift register 41 is updated by updating the sampling data in the shift register 41 according to the conduction control of the gate circuit 43 and storing and holding the sampling data in the shift register 41 according to the non-conduction control of the gate circuit 43. The data gradually approaches the sampling data stored in the first area E 0 of the waveform data memory 30-i. The sampling data that gradually changes in this manner is supplied to the sound system 74 via the multiplier 71 and the digital-analog converter 73, as in the case described above, and the system 74 generates a musical sound corresponding to this sampling data. Therefore, the generated tone is the waveform data memory 30-
The waveform gradually approaches the waveform represented by the sampling data stored in the first area E 0 of i.
さらに、押鍵からの時間が経過して、カウンタ25のカウ
ント値が、音色選択信号TSW及び第2アドレス信号AD2に
よりアドレス指定されて繰返し回数メモリ27から読出さ
れた繰返し回数値に等しくなると、比較器26は一致信号
EQを出力する。この一致信号EQによりカウンタ25はリセ
ットされて再び「0」からカウントを開始し、かつカウ
ンタ28はカウント値を「1」だけ上昇させて第2アドレ
ス信号AD2を「1」に変更する。この第2アドレス信号A
D2の変更により、波形データメモリ30−iは第2エリア
E1に記憶しているサンプリングデータを繰返し出力する
ようになる。また、これと同時に、利得係数データメモ
リ54−iは利得係数データg1を出力するようになる。こ
の場合も、補間回路40は、上記第2アドレス信号AD2が
「0」である場合と同様、ゲート回路43の導通制御に伴
うシフトレジスタ41内のサンプリングデータの更新、及
びゲート回路43の非導通制御に伴うシフトレジスタ41内
のサンプリングデータの循環記憶により、シフトレジス
タ41に記憶されているサンプリングデータを、波形デー
タメモリ30−iの第2エリアE1に記憶されているサンプ
リングデータに徐々に近づける。これにより、サウンド
システム74から発生される楽音は、波形データメモリ30
−iの第1エリアE0内のサンプリングデータにより表さ
れる波形から、同メモリ30−iの第2エリアE1内のサン
プリングデータに徐々近づいていく。このようにして、
第2アドレス信号AD2が増加するに従って、サウンドシ
ステム74から発生される楽音の波形が波形データメモリ
30−iの各エリアE0,E1,・・・E7内のサンプリングデー
タにより表された波形に従って徐々に変化する。そし
て、第2アドレス信号AD2が「7」に達すると、ナンド
回路NANDは“0"を出力するので、カウンタ28による第2
アドレス信号AD2の更新が停止する。Further, if the count value of the counter 25 becomes equal to the repeat count value read from the repeat count memory 27 by being addressed by the tone color selection signal TSW and the second address signal AD2 after the lapse of time from the key depression, the comparison is made. Unit 26 is a match signal
Output EQ. The coincidence signal EQ resets the counter 25 to start counting from "0" again, and the counter 28 increases the count value by "1" to change the second address signal AD2 to "1". This second address signal A
Waveform data memory 30-i is in the second area due to the change of D2.
The sampling data stored in E 1 will be output repeatedly. At the same time, the gain coefficient data memory 54-i outputs the gain coefficient data g 1 . Also in this case, the interpolation circuit 40 updates the sampling data in the shift register 41 according to the conduction control of the gate circuit 43 and makes the gate circuit 43 non-conducting, as in the case where the second address signal AD2 is “0”. The sampling data stored in the shift register 41 is gradually brought closer to the sampling data stored in the second area E 1 of the waveform data memory 30-i by the cyclic storage of the sampling data in the shift register 41 accompanying the control. . As a result, the musical sound generated by the sound system 74 is transmitted to the waveform data memory 30.
The waveform represented by the sampling data in the first area E 0 of −i gradually approaches the sampling data in the second area E 1 of the same memory 30-i. In this way
As the second address signal AD2 increases, the waveform of the musical sound generated from the sound system 74 is stored in the waveform data memory.
It gradually changes according to the waveform represented by the sampling data in each area E 0 , E 1 , ... E 7 of 30-i. Then, when the second address signal AD2 reaches "7", the NAND circuit NAND outputs "0", so that the counter 28 outputs the second signal.
The update of the address signal AD2 stops.
前述のような楽音信号の発生中において、シフトレジス
タ41内のサンプリングデータは第2ノートクロック信号
φn2により循環シフトされ、この第2ノートクロック信
号φn2の周波数は基本的にはキーコードKCに基づき分周
比メモリ53から読出される分周比データにより決定され
て鍵盤にて押された鍵の音高周波数のm倍(mはシフト
レジスタ41のステージ数)にほぼ等しいので、サウンド
システム74から出力される楽音信号の周波数は鍵盤にて
押された鍵の音高周波数に対応したものとなる。During generation of the musical tone signals as described above, the sampling data in the shift register 41 are cyclically shifted by a second note clock signal phi n2, the frequency of the second note clock signal phi n2 is basically the key code KC Based on the frequency division ratio data read from the frequency division ratio memory 53, the sound system 74 is approximately equal to m times the pitch frequency of the key pressed on the keyboard (m is the number of stages of the shift register 41). The frequency of the tone signal output from the unit corresponds to the pitch frequency of the key pressed on the keyboard.
しかし、この場合、変調信号発生器60はセレクタ64の作
用により選択スイッチ65の選択状態に応じて変調波形デ
ータ発生器61,62,63のいずれかからの変調波形データを
加算器52に供給しており、加算器52は該変調波形データ
を前記分周比データに加算して可変分周器52の分周比を
制御している。そして、この変調波形データは低周波数
の波形を表すとともに前記分周比データを上下に若干変
更するので、可変分周器51により分周されシフトレジス
タ41にシフトクロックとして供給される第2ノートクロ
ック信号φn2は前記音周波数のm倍の周波数を中心とし
て上下に低周波数で若干変動するもの、すなわち前記音
高周波数のm倍の周波数を低周波信号で周波数変調した
ものとなる。これにより、シフトレジスタ41によるサン
プリングデータの循環記憶時間(遅延時間)が前記変調
波形データにより表された変調信号によって変調され、
かかる循環記憶中に加算器45から出力されて乗算器71及
びディジタルアナログ変換器73を介してサウンドシステ
ム74から出力される楽音信号にはビブラート効果が付与
される。However, in this case, the modulation signal generator 60 supplies the modulation waveform data from any one of the modulation waveform data generators 61, 62, 63 to the adder 52 according to the selection state of the selection switch 65 by the action of the selector 64. Therefore, the adder 52 controls the frequency division ratio of the variable frequency divider 52 by adding the modulated waveform data to the frequency division ratio data. The modulated waveform data represents a low frequency waveform and the frequency division ratio data is slightly changed up and down, so that the second note clock divided by the variable frequency divider 51 and supplied to the shift register 41 as a shift clock. The signal φ n2 is a signal that fluctuates slightly at low frequencies up and down around a frequency m times the sound frequency, that is, a frequency m times the frequency m times the pitch frequency is frequency-modulated with a low frequency signal. Thereby, the cyclic storage time (delay time) of the sampling data by the shift register 41 is modulated by the modulation signal represented by the modulation waveform data,
A vibrato effect is added to the tone signal output from the adder 45 during the cyclic storage and output from the sound system 74 via the multiplier 71 and the digital-analog converter 73.
なお、上記実施例を次のように変形しても本発明は実施
できるものである。The present invention can be implemented even if the above embodiment is modified as follows.
(1)上記実施例においては、シフトレジスタ41に供給
されるシフトクロックを周波数変調することにより出力
される楽音波形データの循環記憶における遅延時間を変
調するようにしたが、楽音波形データの循環記憶に実質
的に利用されるシフトレジスタ41のステージ数を変更制
御するようにしてもよい。すなわち、この変形例におい
ては、第4図に示すように、シフトレジスタ41の帰還路
に同レジスタ41の後段側における複数ステージからのサ
ンプリングデータを入力するセレクタ81を介装するとと
もに、上記実施例と同様に構成された変調信号発生器60
からの変調波形データをデコードしてセレクタ81の選択
動作を制御するデコーダ82を同セレクタ81に接続する。
なお、この場合、シフトレジスタ41に対するシフトクロ
ックとしてはアドレス発生器20から出力される第1ノー
トクロック信号φn1(鍵盤にて押された鍵の音高周波数
のm倍の周波数に対応)が利用される。他の回路は前記
実施例と同じである。(1) In the above embodiment, the delay time in the cyclic storage of the musical tone waveform data output by modulating the frequency of the shift clock supplied to the shift register 41 is modulated. Alternatively, the number of stages of the shift register 41 that is substantially used may be changed and controlled. That is, in this modified example, as shown in FIG. 4, a selector 81 for inputting sampling data from a plurality of stages on the rear side of the shift register 41 is provided in the feedback path of the shift register 41, and the above-mentioned embodiment is used. Modulation signal generator 60 configured similarly to
A decoder 82 for decoding the modulated waveform data from and controlling the selection operation of the selector 81 is connected to the selector 81.
In this case, as the shift clock for the shift register 41, the first note clock signal φ n1 (corresponding to a frequency m times the pitch frequency of the key pressed on the keyboard) output from the address generator 20 is used. To be done. The other circuits are the same as those in the above embodiment.
かかる構成によれば、セレクタ81が減算器42、加算器45
等からなるデータ修正手段を介してシフトレジスタ41の
第1ステージに帰還されるサンプリングデータの取出し
位置を変調信号発生器60からの変調信号に応じて変更制
御するので、楽音波形データの循環記憶に利用されるシ
フトレジスタ41のステージ数が前記変調信号に応じて変
更されることになる。これにより、シフトレジスタ41に
よるサンプリングデータの循環記憶時間(遅延時間)が
前記変調信号によって変調され、前記実施例の場合と同
様、この変形例においてもサウンドシステム74から出力
される楽音信号にビブラート効果が付与される。With this configuration, the selector 81 includes the subtractor 42 and the adder 45.
Since the sampling data fetching position fed back to the first stage of the shift register 41 via the data correcting means consisting of, etc., is controlled to be changed in accordance with the modulation signal from the modulation signal generator 60, it is possible to circulate and store the tone waveform data. The number of stages of the shift register 41 used will be changed according to the modulation signal. As a result, the cyclic storage time (delay time) of the sampling data by the shift register 41 is modulated by the modulation signal, and similarly to the case of the embodiment, the vibrato effect is applied to the tone signal output from the sound system 74 in this modification as well. Is given.
(2)また、前記(1)の変形例においてはサンプリン
グデータのシフトレジスタ41における取出し位置を変更
制御するようにしたが、サンプリングデータのシフトレ
ジスタ41における入力位置を変更制御するようにしても
よい。すなわち、この変形例においては、第5図に示す
ように、加算器45からサンプリングデータを入力してシ
フトレジスタ41の前段側の複数のステージのいずれかに
分配する分配回路83を加算器45とシフトレジスタ41との
間に介装するとともに、上記変形例と同様に構成された
変調信号発生器60及びデコーダ82を分配器83の分配動作
を制御するために同分配器83に接続する。なお、この場
合も、シフトレジスタ41に対するシフトロックとしては
アドレス発生器20から出力される第1ノードクロック信
号φn1が利用される。他の回路は前記実施例と同じであ
る。(2) In the modification of (1), the sampling data shift position in the shift register 41 is controlled to be changed. However, the sampling data input position in the shift register 41 may be controlled to be changed. . That is, in this modified example, as shown in FIG. 5, a distribution circuit 83 that inputs sampling data from the adder 45 and distributes the sampling data to any of the plurality of stages on the front side of the shift register 41 is added to the adder 45. The modulation signal generator 60 and the decoder 82, which are interposed between the shift register 41 and the configuration similar to the above-described modification, are connected to the distributor 83 in order to control the distribution operation of the distributor 83. Also in this case, the first node clock signal φ n1 output from the address generator 20 is used as the shift lock for the shift register 41. The other circuits are the same as those in the above embodiment.
かかる構成によれば、分配器83が加算器45からのサンプ
リングデータのシフトレジスタ41に対する入力位置を変
調信号発生器60からの変調信号に応じて変更制御するの
で、楽音波形データの循環記憶に利用されるシフトレジ
スタ41のステージ数が、前記変形例と同様に、前記変調
信号に応じて変更されることになる。その結果、この変
形例においても、シフトレジスタ41によるサンプリング
データの循環記憶時間(遅延時間)が前記変調信号によ
って変調され、サウンドシステム74から出力される楽音
信号にビブラート効果が付与される。With such a configuration, the distributor 83 controls the input position of the sampling data from the adder 45 to the shift register 41 in accordance with the modulation signal from the modulation signal generator 60, so that it is used for circular storage of tone waveform data. The number of stages of the shift register 41 is changed according to the modulation signal, as in the modification. As a result, also in this modification, the cyclic storage time (delay time) of the sampling data by the shift register 41 is modulated by the modulation signal, and the vibrato effect is added to the tone signal output from the sound system 74.
(3)また、前記実施例及び変形例においては波形デー
タを循環記憶する手段としてシフトレジスタを用いた
が、このシフトレジスタに代えてアドレス信号によりデ
ータの記憶位置が指定されてデータの読出し及び書込み
が制御される記憶手段を用いるようにしてもよい。すな
わち、この変形例は、第6図に示すように、前記記憶手
段として楽音の1波形分のサンプリングデータ数に等し
いm個の記憶位置を有するとともに、アドレス発生器20
からの第1ノートクロック信号φn1の前半周期“1"にて
読出しモードとなりかつ同信号φn1の後半周期“0"にて
書込みモードとなるRAM84を備えている。RAM84の入出力
データバス84aには加算器45からのサンプリングデータ
を入力するゲート回路85が接続されており、同ゲート回
路85は第1ノートクロック信号φn1の後半周期にて加算
器45からのサンプリングデータを入出力データバス84a
に供給する。また、この入出力データバス84aにはラッ
チ回路86,87も接続されている。ラッチ86はRAM84から読
出されたサンプリングデータを第1ノートクロック信号
φn1の前半周期毎にラッチして減算器42及び加算器45に
供給する。ラッチ回路87はゲート回路85からのサンプリ
ングデータを第1ノートクロック信号φn1の後半周期毎
にラッチして乗算器71に供給する。RAM84のアドレス入
力端子ADには加算器88が接続されている。加算器88はア
ドレスカウンタ89からのアドレスデータと前述と同様に
構成された変調信号発生器60から供給される変調波形デ
ータとを加算してRAM84に供給する。アドレスカウンタ8
9は第1ノートクロック信号φn1をカウントするもの
で、キーオンパルス信号KONPによる押鍵時のリセット後
RAM84のアドレスを繰返し指定するカウント値(0〜m
−1)を出力する。(3) Further, in the above-mentioned embodiments and modified examples, the shift register is used as a means for cyclically storing the waveform data. However, instead of this shift register, the storage position of the data is designated by the address signal, and the reading and writing of the data are carried out. You may make it use the storage means by which is controlled. That is, in this modification, as shown in FIG. 6, the storage means has m storage positions equal to the number of sampling data for one waveform of a musical tone, and the address generator 20
The RAM 84 is provided with a read mode in the first half cycle "1" of the first note clock signal φ n1 and a write mode in the second half cycle "0" of the signal φ n1 . A gate circuit 85 for inputting the sampling data from the adder 45 is connected to the input / output data bus 84a of the RAM 84, and the gate circuit 85 receives the sampling data from the adder 45 in the latter half cycle of the first note clock signal φ n1 . I / O data bus 84a for sampling data
Supply to. Latch circuits 86 and 87 are also connected to the input / output data bus 84a. The latch 86 latches the sampling data read from the RAM 84 every first half cycle of the first note clock signal φ n1 and supplies it to the subtractor 42 and the adder 45. The latch circuit 87 latches the sampling data from the gate circuit 85 every second half cycle of the first note clock signal φ n1 and supplies it to the multiplier 71. An adder 88 is connected to the address input terminal AD of the RAM 84. The adder 88 adds the address data from the address counter 89 and the modulation waveform data supplied from the modulation signal generator 60 configured as described above, and supplies it to the RAM 84. Address counter 8
9 is for counting the first note clock signal φ n1 , after resetting at the time of key depression by the key-on pulse signal KONP
Count value (0 to m
-1) is output.
かかる構成によれば、RAM84は、基本的には、アドレス
カウント89により0〜m−1に渡り変化するカウント値
により第1ノートクロック信号φn1に同期して繰返しア
ドレス指定され、該クロック信号n1の前半周期にて指定
アドレスに記憶されているサンプリングデータを入出力
データバス84aに読出し出力する。この読出し出力され
たサンプリングデータはラッチ回路86に供給され、同ラ
ッチ回路86は該サンプリングデータをラッチするととも
に減算器42及び加算器45に供給する。かかる場合、減算
器42、ゲート回路43、乗算器44及び加算器45からなるデ
ータ修正手段は第1ノートクロック信号φn1の後半周期
にて前記実施例の場合と同様にして前記サンプリングデ
ータを修正変更する。この時、導通状態にあるゲート回
路85は前記修正変更されたサンプリングデータを入出力
データバス84aに供給するとともに、書込みモード状態
にあるRAM84は同データを前半周期にてデータを読出し
たアドレスと同じアドレスに記憶する。これにより、RA
M84内のサンプリングデータは前記実施例の場合と同様
に修正変更される。また、かかる動作はアドレスカウン
タ89により指定されるアドレスに応じて楽音の1周期毎
に繰返し行われるので、RAM84内の楽音波形を表すサン
プリングデータは徐々に変更されながら雑音の1周期に
対応した遅延時間をもって循環記憶されることになる。With such a configuration, the RAM 84 is basically repeatedly addressed in synchronization with the first note clock signal φ n1 by the count value which varies from 0 to m−1 by the address count 89, and the clock signal n1 The sampling data stored in the specified address in the first half cycle of is read out and output to the input / output data bus 84a. The read and output sampling data is supplied to the latch circuit 86, which latches the sampling data and supplies the sampling data to the subtractor 42 and the adder 45. In such a case, the data correction means including the subtractor 42, the gate circuit 43, the multiplier 44 and the adder 45 corrects the sampling data in the latter half cycle of the first note clock signal φ n1 in the same manner as in the above embodiment. change. At this time, the gate circuit 85 in the conductive state supplies the modified sampling data to the input / output data bus 84a, and the RAM 84 in the write mode state has the same address as the address from which the data is read in the first half cycle. Store at address. This makes RA
The sampling data in M84 is modified and changed as in the case of the above embodiment. Further, since such an operation is repeatedly performed every one cycle of the musical tone in accordance with the address designated by the address counter 89, the sampling data representing the musical tone waveform in the RAM 84 is gradually changed and the delay corresponding to one cycle of the noise. It will be circulated and memorized with time.
一方、かかる場合、アドレスカウンタ89から出力される
アドレスデータは加算器88の作用により変調信号発生器
60からの変調信号に応じてゆっくりした周期で増減さ
れ、RAM84におけるサンプリングデータの読出し及び書
込み位置が変調信号に応じて変更制御されるので、サン
プリングデータの前記循環記憶における遅延時間が変調
されることになる。そして、前述のように遅延時間が変
調されながらRAM84に循環記憶されるサンプリングデー
タは入出力バス84aからラッチ回路87に供給され、同ラ
ッチ回路87は第1ノートクロック信号φn1の後半周期で
該供給されたサンプリングデータをラッチするともに乗
算器71に供給するので、前記実施例及び変形例の場合と
同様、サウンドシステム74から出力される楽音信号にビ
ブラート効果が付与される。On the other hand, in such a case, the address data output from the address counter 89 is generated by the adder 88 by the modulation signal generator.
The delay time in the cyclic storage of the sampling data is modulated because the reading and writing positions of the sampling data in the RAM 84 are controlled to change according to the modulation signal from the 60 in a slow cycle. become. Then, the sampling data cyclically stored in the RAM 84 while the delay time is modulated as described above is supplied from the input / output bus 84a to the latch circuit 87, and the latch circuit 87 outputs the sampling data in the latter half cycle of the first note clock signal φ n1. Since the supplied sampling data is latched and also supplied to the multiplier 71, the vibrato effect is added to the musical tone signal output from the sound system 74, as in the case of the above-described embodiments and modifications.
(4)また、前記実施例及び変形例においては変調信号
として時間的に波形変化のないものを利用したが、変調
信号発生器として、第7図に示すように、前記実施例で
楽音波形データを発生するために利用したものと同一構
成のアドレス発生器20a、波形メモリ30a、補間回路40a
及び利得係数メモリ54aからなる波形データ発生器を用
いて、時間的に波形の変化する信号を変調信号として利
用してもよい。なお、同図においては、各回路に前記実
施例の対応する回路と同符号を付すとともに符号aを追
記して示してある。この場合、前記実施例の音色選択ス
イッチ回路12及びマスタクロック発生器14、可変分周器
21、分周比メモリ22からなって第1ノートクロック信号
φn1を発生する手段において波形選択スイッチ回路91及
び低周波クロック発生器92を利用する。波形選択スイッ
チ回路91は変調波形の種類を選択する複数の波形選択ス
イッチからなり、波形メモリ30a、繰返し回数メモリ27
a、ゲート制御回路29a及び利得係数メモリ54aに波形選
択データWSを供給する。低周波クロック発生器92は低周
波数のクロック信号φLを発生するもので、同信号φL
をカウンタ23a、シフトレジスタ41aに供給する。また、
カウンタ23a,25a,27a及びシフトレジスタ41aには前記実
施例のアドレス発生器20からキーオンパルス信号KONPが
供給されるようになっている。(4) Further, in the above-mentioned embodiment and modification, a modulation signal which does not change in waveform with time was used. However, as the modulation signal generator, as shown in FIG. Address generator 20a, waveform memory 30a, and interpolation circuit 40a having the same configuration as that used to generate
Also, a waveform data generator including the gain coefficient memory 54a may be used to use a signal whose waveform changes with time as a modulation signal. In the figure, each circuit is given the same reference numeral as the corresponding circuit of the above-described embodiment and the reference numeral a is additionally shown. In this case, the tone color selection switch circuit 12, the master clock generator 14, and the variable frequency divider of the above embodiment are used.
21. The waveform selection switch circuit 91 and the low frequency clock generator 92 are used in the means for generating the first note clock signal .phi..sub.n1 composed of the frequency division ratio memory 22. The waveform selection switch circuit 91 is composed of a plurality of waveform selection switches for selecting the type of modulation waveform, and includes a waveform memory 30a and a repeat count memory 27.
The waveform selection data WS is supplied to the gate control circuit 29a and the gain coefficient memory 54a. The low-frequency clock generator 92 generates a low-frequency clock signal φ L , and the same signal φ L
Is supplied to the counter 23a and the shift register 41a. Also,
The key-on pulse signal KONP is supplied to the counters 23a, 25a, 27a and the shift register 41a from the address generator 20 of the above embodiment.
かかる構成によれば、前記実施例の場合と同様に加算器
45aからは時間的に波形の変化する信号が得られるとと
もに、この信号は低周波クロック発生器92から供給され
るクロック信号φLに応じた低周波数の信号であるの
で、発生される楽音には時間的に変化するビブラート効
果が付与される。According to this configuration, the adder is the same as in the above-mentioned embodiment.
A signal whose waveform changes with time is obtained from 45a, and since this signal is a low frequency signal corresponding to the clock signal φ L supplied from the low frequency clock generator 92, it is not generated as a musical tone. A vibrato effect that changes with time is added.
なお、この変形例の場合、発生する信号はビブラート効
果用のものであって、その波形は比較的単純なものでよ
いので、波形メモリ30a内の各波形データメモリ30a−1,
30a−2・・・30a−n及び利得係数メモリ54a内の各利
得係数データメモリ54a−1,54a−2・・・54a−nの記
憶エリアE0,E1・・・E7、g0,g1・・・g7数を少なくして
もよい。また、シフトレジスタ41aのステージ数mを少
なくしてもよい。In the case of this modification, the generated signal is for the vibrato effect, and its waveform may be relatively simple, so each waveform data memory 30a-1 in the waveform memory 30a,
30a-2 ... 30a-n and storage areas E 0 , E 1 ... E 7 , g 0 of the gain coefficient data memories 54a- 1 , 54a-2 ... 54a-n in the gain coefficient memory 54a. , g 1 ... g 7 The number may be reduced. Further, the number of stages m of the shift register 41a may be reduced.
さらに、この変形例において、低周波クロック発生器92
にカーコードKCを供給することによって同発生器92から
発生されるクロック信号φLを鍵盤にて押された鍵音高
に応じて制御すれば、発生楽音に音高に応じたビブラー
ト効果が付与される。Further, in this variation, the low frequency clock generator 92
By controlling the clock signal φ L generated by the generator 92 by supplying the car code KC to the key according to the pitch of the key pressed on the keyboard, a vibrato effect corresponding to the pitch is added to the generated tone. To be done.
(5)前記実施例においては、波形データを発生する手
段として波形メモリ30を用いるようにしたが、この波形
データを発生する手段として、演算、発振等の方法によ
り波形データを発生する回路を用いてもよい。(5) In the above embodiment, the waveform memory 30 is used as the means for generating the waveform data, but as the means for generating the waveform data, a circuit for generating the waveform data by a method such as calculation or oscillation is used. May be.
第1図は本発明の一実施例に係る楽音信号発生装置の適
用された電子楽器の全体ブロック図、第2図は第1図の
アドレス発生器の詳細例を示すブロック図、第3図は第
1図の変調信号発生器の一例を示すブロック図、第4図
乃至第7図はそれぞれ前記実施例の変形例を示すブロッ
ク図である。 符号の説明 20……アドレス発生器、30……波形メモリ、40……補間
回路、41……シフトレジスタ、42……減算器、43……ゲ
ート回路、44……乗算器、45,52,88……加算器、51……
可変分周器、53……分周比メモリ、54……利得係数メモ
リ、60……変調信号発生器、81……セレクタ、83……分
配回路、84……RAM、89……アドレスカウンタ。1 is an overall block diagram of an electronic musical instrument to which a tone signal generator according to an embodiment of the present invention is applied, FIG. 2 is a block diagram showing a detailed example of the address generator of FIG. 1, and FIG. FIG. 1 is a block diagram showing an example of the modulation signal generator of FIG. 1, and FIGS. 4 to 7 are block diagrams showing modified examples of the above embodiment. Explanation of code 20 …… Address generator, 30 …… Waveform memory, 40 …… Interpolation circuit, 41 …… Shift register, 42 …… Subtractor, 43 …… Gate circuit, 44 …… Multiplier, 45,52, 88 …… Adder, 51 ……
Variable frequency divider, 53 ... division ratio memory, 54 ... gain coefficient memory, 60 ... modulation signal generator, 81 ... selector, 83 ... distribution circuit, 84 ... RAM, 89 ... address counter.
Claims (5)
間経過に従って順次切換え出力する楽音波形データ発生
手段と、 楽音波形データを発生すべき楽音の音高周期に対応した
遅延時間をもって循環記憶する記憶手段と、 前記楽音波形データ発生手段からの楽音波形データと前
記記憶手段に循環記憶されている楽音波形データとの差
に応じて前記記憶手段に記憶されている楽音波形データ
を徐々に変更修正するデータ修正手段と、 前記記憶手段に記憶されている波形データを前記記憶手
段の循環記憶動作に応じて楽音信号として出力する出力
手段と を有する楽音信号発生装置において、 前記記憶手段による波形データの遅延時間を変調する変
調手段を設けたことを特徴とする楽音信号発生装置。1. A musical tone waveform data generating means for sequentially switching and outputting musical tone waveform data representing different musical tone waveforms according to the passage of time, and a memory for cyclically storing the musical tone waveform data with a delay time corresponding to a pitch period of a musical tone to be generated. Means, and gradually changing and correcting the musical tone waveform data stored in the storage means in accordance with the difference between the musical tone waveform data from the musical tone waveform data generating means and the musical tone waveform data cyclically stored in the storage means. In a musical tone signal generator having a data correction means and an output means for outputting the waveform data stored in the storage means as a musical tone signal in accordance with the circulating storage operation of the storage means, delay of the waveform data by the storage means A musical tone signal generating apparatus comprising a modulation means for modulating time.
波数のクロック信号で順次シフトされるシフトレジスタ
で構成するとともに、 前記変調手段を、 低周波数の変調信号を発生する変調信号発生手段と、 該変調信号に応じて前記クロック信号の周波数を変調す
る周波数変調手段と で構成した前記特許請求の範囲第1項記載の楽音信号発
生装置。2. The storage means comprises a shift register which is sequentially shifted by a clock signal having a frequency inversely proportional to the pitch period of a musical tone to be generated by the storage data, and the modulation means comprises a low frequency modulation signal. 2. The musical tone signal generating device according to claim 1, wherein the musical tone signal generating device comprises: a modulating signal generating means for generating the signal; and a frequency modulating means for modulating the frequency of the clock signal according to the modulating signal.
波数のクロック信号で順次シフトされるシフトレジスタ
で構成するとともに、 前記変調手段を、 低周波数の変調信号を発生する変調信号発生手段と、 前記シフトレジスタから前記データ修正手段への帰還路
に設けられ該データ修正手段に供給される波形データの
該シフトレジスタにおける取出し位置を前記変調信号に
応じて変更する出力位置変更手段と で構成した前記特許請求の範囲第1項記載の楽音信号発
生装置。3. The storage means comprises a shift register which is sequentially shifted by a clock signal having a frequency inversely proportional to a pitch period of a musical tone to be generated by the storage data, and the modulation means has a low frequency modulation signal. And a take-out position in the shift register of the waveform data supplied to the data correction means, which is provided in a feedback path from the shift register to the data correction means, according to the modulation signal. The musical sound signal generating device according to claim 1, wherein the musical tone signal generating device comprises output position changing means.
波数のクロック信号で順次シフトされるシフトレジスタ
で構成するとともに、 前記変調手段を、 低周波数の変調信号を発生する変調信号発生手段と、 前記データ修正手段から前記シフトレジスタへの入力路
に設けられ該データ修正手段から供給される波形データ
の該シフトレジスタに対する入力位置を前記変調信号に
応じて変更する入力位置変更手段と で構成した前記特許請求の範囲第1項記載の楽音信号発
生装置。4. The storage means is composed of a shift register which is sequentially shifted by a clock signal having a frequency inversely proportional to the pitch period of a musical tone to be generated by the storage data, and the modulation means is a low frequency modulation signal. And a modulation signal generating means for generating the signal, and changing the input position of the waveform data supplied from the data correcting means to the shift register to the shift register according to the modulation signal. The musical tone signal generating apparatus according to claim 1, comprising an input position changing means.
ドレス信号によって指定される番地にデータを記憶する
メモリで構成するとともに、 前記変調手段を、 低周波数の変調信号を発生する変調信号発生手段と、 前記アドレス信号を前記変調信号に応じて変更制御する
アドレス信号変更制御手段と で構成した前記特許請求の範囲第1項記載の楽音信号発
生装置。5. The memory means comprises a memory for storing data at an address designated by an address signal which changes in a cycle corresponding to a pitch cycle of a musical tone to be generated, and the modulating means comprises a low frequency 2. The musical tone signal generating apparatus according to claim 1, comprising: a modulation signal generating means for generating the modulation signal of 1. and an address signal change control means for changing and controlling the address signal according to the modulation signal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62237720A JPH07101352B2 (en) | 1987-09-22 | 1987-09-22 | Music signal generator |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62237720A JPH07101352B2 (en) | 1987-09-22 | 1987-09-22 | Music signal generator |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6479795A JPS6479795A (en) | 1989-03-24 |
| JPH07101352B2 true JPH07101352B2 (en) | 1995-11-01 |
Family
ID=17019495
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62237720A Expired - Fee Related JPH07101352B2 (en) | 1987-09-22 | 1987-09-22 | Music signal generator |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07101352B2 (en) |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58108587A (en) * | 1981-12-22 | 1983-06-28 | カシオ計算機株式会社 | Frequency controller for electronic musical instrument |
| JPS61239298A (en) * | 1985-04-16 | 1986-10-24 | ヤマハ株式会社 | Musical sound signal generator |
| JPS6214697A (en) * | 1985-07-13 | 1987-01-23 | ヤマハ株式会社 | Musical sound signal generator |
| JPH079590B2 (en) * | 1986-10-16 | 1995-02-01 | 株式会社河合楽器製作所 | Electronic musical instrument |
-
1987
- 1987-09-22 JP JP62237720A patent/JPH07101352B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6479795A (en) | 1989-03-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5033352A (en) | Electronic musical instrument with frequency modulation | |
| JPH0631968B2 (en) | Music signal generator | |
| US4893538A (en) | Parameter supply device in an electronic musical instrument | |
| US4573389A (en) | Musical tone generation device of waveshape memory type | |
| JPH0766267B2 (en) | Musical sound generator | |
| US4176577A (en) | Electronic musical instrument of waveshape memory reading type | |
| US4785706A (en) | Apparatus for generating a musical tone signal with tone color variations independent of tone pitch | |
| US4148239A (en) | Electronic musical instrument exhibiting randomness in tone elements | |
| US4227435A (en) | Electronic musical instrument | |
| US4194427A (en) | Generation of noise-like tones in an electronic musical instrument | |
| US4200021A (en) | Electronic musical instruments which form musical tones by repeatedly generating musical tone waveform elements | |
| US4554854A (en) | Automatic rhythm performing apparatus | |
| US4890527A (en) | Mixing type tone signal generation device employing two channels generating tones based upon different parameter | |
| NO810597L (en) | SYNTHESIS CONNECTION FOR PERIODIC SIGNALS, SPECIAL AS PART OF A MUSICAL INSTRUMENT | |
| JPH067338B2 (en) | Waveform data forming circuit for tone synthesis | |
| JPH07101352B2 (en) | Music signal generator | |
| US4326442A (en) | Electronic musical instruments with tone color selection | |
| US4186640A (en) | Electronic musical instrument | |
| JP2932841B2 (en) | Electronic musical instrument | |
| JP3246911B2 (en) | Electronic musical instrument | |
| US4723467A (en) | Automatic rhythm performing apparatus | |
| JP2500704B2 (en) | Electronic musical instrument | |
| JPH067337B2 (en) | Music signal generator | |
| JPS6030959B2 (en) | electronic musical instruments | |
| JP2707776B2 (en) | Electronic musical instrument |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |