JPH067335B2 - Music signal generator - Google Patents

Music signal generator

Info

Publication number
JPH067335B2
JPH067335B2 JP63072224A JP7222488A JPH067335B2 JP H067335 B2 JPH067335 B2 JP H067335B2 JP 63072224 A JP63072224 A JP 63072224A JP 7222488 A JP7222488 A JP 7222488A JP H067335 B2 JPH067335 B2 JP H067335B2
Authority
JP
Japan
Prior art keywords
signal
memory
musical
musical tone
key
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
JP63072224A
Other languages
Japanese (ja)
Other versions
JPS63264794A (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 JP63072224A priority Critical patent/JPH067335B2/en
Publication of JPS63264794A publication Critical patent/JPS63264794A/en
Publication of JPH067335B2 publication Critical patent/JPH067335B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、外部から入力される外部音の波形データを演
奏前にメモリに書込んでおき、演奏時に該書込んだ波形
データを読出し出力することにより、前記波形データに
対応した楽音信号を発生する楽音信号発生装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention writes waveform data of an external sound inputted from the outside into a memory before playing, and reads out the written waveform data at the time of playing. By doing so, the present invention relates to a musical tone signal generator which generates a musical tone signal corresponding to the waveform data.

〔従来技術〕[Prior art]

従来技術としては、外部音を入力して該入力した外部音
をディジタル形式の波形データに変換する変換手段と、
波形データを記憶するメモリとを備え、演奏前に変換手
段にて変換された波形データをメモリに書込んでおき、
演奏時に指定音高に対応したレートでメモリに記憶され
ている波形データを読出し出力して、外部音に対応した
楽音信号を演奏音として発生できるようにしたものがあ
る。
As a conventional technique, a conversion means for inputting an external sound and converting the input external sound into waveform data in a digital format,
A memory for storing waveform data is provided, and the waveform data converted by the converting means is written in the memory before playing,
There is a type in which waveform data stored in a memory is read out and output at a rate corresponding to a specified pitch during performance so that a musical tone signal corresponding to an external sound can be generated as a performance sound.

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

しかるに、上記従来の装置にあっては、演奏時にはメモ
リに記憶されている波形データが指定音高に対応してレ
ートで読出されて、該波形データにより表された楽音す
なわち演奏前に入力した外部音がそのままの音色で発音
されのみで、発音され楽音を種々変更して外部音とは異
なる楽音を発音させるようにすることはできないので、
楽音の発生において自由度に欠け、音楽上利用価値の少
ないものであった。
However, in the above-mentioned conventional apparatus, the waveform data stored in the memory at the time of performance is read at a rate corresponding to the specified pitch, and the musical tone represented by the waveform data, that is, the external sound input before the performance is input. Since the sound is only pronounced with the tone color as it is, it is not possible to change the musical sound that is pronounced and to make a different musical sound from the external sound.
It lacked flexibility in the generation of musical sounds and was of little value in terms of music.

本発明はかかる問題点に鑑み案出されたもので、その目
的は、上記従来装置のような楽音信号発生装置におい
て、発生される楽音を外部音とは異なるものに変更でき
るようにすることにより楽音発生の自由度を増して、音
楽上利用価値の高い楽音信号発生装置を提供することに
ある。
The present invention has been devised in view of such problems, and an object thereof is to allow a musical tone signal generating device such as the above-mentioned conventional device to change a generated musical tone to a tone different from an external tone. Another object of the present invention is to provide a musical tone signal generating device which has a high degree of freedom in the generation of musical tones and is highly useful in music.

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

上記問題を解決して本発明の目的を達成するために、本
発明の構成上の特徴は、外部音を入力して該入力した外
部音をディジタル形式の波形データに変換する変換手段
と、波形データを記憶するメモリと、前記変換手段にて
変換された波形データを前記メモリに書込む書込み手段
と、前記メモリに記憶されている波形データを指定音高
に対応した読出しレートで読出す読出し手段とを備え、
前記メモリから読出された波形データに基づき楽音信号
を発生するようにした楽音信号発生装置において、前記
変換手段からの波形データと前記メモリに記憶されてい
る波形データとを合成演算して該演算結果を前記メモリ
に供給し前記書込み手段による前記演算結果の書込みを
許容する合成演算手段と、前記書込み手段による波形デ
ータの書込みレートを可変設定する書込みレート設定手
段とを設けたことにある。
In order to solve the above problems and achieve the object of the present invention, a structural feature of the present invention is to input an external sound and convert the input external sound into waveform data in a digital format; Memory for storing data, writing means for writing the waveform data converted by the converting means in the memory, and reading means for reading the waveform data stored in the memory at a reading rate corresponding to a designated pitch. With and
In a musical tone signal generating device for generating a musical tone signal based on the waveform data read from the memory, the waveform data from the converting means and the waveform data stored in the memory are combined and operated, and the operation result is obtained. Is provided to the memory to permit the writing of the calculation result by the writing unit, and a write rate setting unit that variably sets the waveform data writing rate by the writing unit.

〔発明の作用〕[Operation of the invention]

上記のように構成した本発明においては、合成演算手段
が変換手段からの波形データとメモリに記憶されている
波形データとを合成演算して該演算結果を前記メモリに
供給し、書込み手段による前記演算結果の書込みを許容
するので、第1の外部音に関する第1の波形データをメ
モリに記憶させた後、前記第1の外部音とは異なる第2
の外部音に関する第2の波形データを前記第1の波形デ
ータに重ねてメモリに記憶させることができ、その結
果、メモリには第1の外部音とも第2の外部音とも異な
る新たな楽音に関する波形データが記憶されることにな
り、この新たな波形データを読出し手段の作用により読
出して外部音とは異なる新たな楽音を発生できる。
In the present invention configured as described above, the synthesis operation means performs a synthesis operation on the waveform data from the conversion means and the waveform data stored in the memory, supplies the operation result to the memory, and writes the result by the writing means. Since the writing of the calculation result is allowed, after the first waveform data relating to the first external sound is stored in the memory, the second external sound different from the first external sound is stored.
The second waveform data relating to the external sound can be stored in the memory by being superimposed on the first waveform data, and as a result, the memory relating to a new musical tone different from the first external sound and the second external sound. Since the waveform data is stored, the new waveform data can be read by the action of the reading means to generate a new musical sound different from the external sound.

かかる場合、第1及び第2の波形データのメモリへの書
込みの際、書込みレート設定手段により前記第1及び第
2の波形データの書込みレートを同一にするとともに、
前記第1及び第2の外部音として同一周波数かつ異なる
種類の楽器音を選択するようにすれば、発生される楽音
は前記第1及び第2の外部音を混合したような音色とな
る。また、この場合、異なる周波数の第1及び第2の外
部音を選択するようにすれば、合成された波形データに
より表された楽音の倍音構造は前記第1及び第2の外部
音に対応して複雑なものとなる。さらに、第1及び第2
の外部音の周波数が固定され又はその帯域が狭く制限さ
れていても、書込みレート設定手段により、前記第1及
び第2の外部音に関する第1及び第2の波形データの書
込みレートを異なるレートに設定すれば、前記第1及び
第2の外部音として異なる周波数のものを選択した場合
と同様の結果となる。これにより、種々の音色を有する
楽音の合成が簡単にできるようになる。
In such a case, when writing the first and second waveform data to the memory, the write rate setting means makes the write rates of the first and second waveform data the same, and
By selecting instrument sounds of the same frequency and different types as the first and second external sounds, the generated musical tone has a tone color that is a mixture of the first and second external sounds. Further, in this case, if the first and second external sounds of different frequencies are selected, the overtone structure of the musical sound represented by the synthesized waveform data corresponds to the first and second external sounds. It becomes complicated. Furthermore, the first and second
Even if the frequency of the external sound is fixed or the band thereof is limited, the writing rate setting means sets the writing rates of the first and second waveform data regarding the first and second external sounds to different rates. If set, the same result as when selecting different frequencies as the first and second external sounds is obtained. This makes it possible to easily synthesize musical tones having various tones.

また、合成演算手段の前記合成演算機能及び書込みレー
ト設定手段の前記書込みレート変更機能を利用すれば、
演奏前に互いに異なる周波数の外部音の波形データをメ
モリに重複して書込んでおき、単一の音高指定により同
外部音に対応するとともに互いに異なる周波数の複数の
楽音信号例えば和音信号を同時に発生させることができ
る。すなわち、例えば、音高C2,E2,G2,に対応した周
波数の外部音を全て音高C2に対応した音高指定により
メモリに順次書込んだり、音高G2に対応した周波数の
外部音を音高C2,D2#,G2,にそれぞれ対応した音高指
定によりメモリに順次書込んだりしておけば、演奏時に
おける音高C2に対応した音高指定により、音高C2,
2,G2,に対応した楽音信号を同時に発生させることが
できる。そして、これらの発生楽音の周波数比は固定さ
れるので、波形データの読出し時における指定音高の変
更により、種々の和音を発生できる。また、かかる場
合、外部音として同一楽器音を利用すれば単一楽器によ
る和音が得られ、外部音として異なる楽器音を利用すれ
ばアンサンブル演奏のような楽音が得られる。
Further, by using the combination calculation function of the combination calculation means and the write rate change function of the write rate setting means,
Before playing, the waveform data of external sounds of different frequencies are duplicated and written in the memory, and a single pitch designation is used to correspond to the same external sounds, and at the same time multiple musical tone signals of different frequencies, such as chord signals, are simultaneously processed. Can be generated. That is, for example, all external sounds having frequencies corresponding to the pitches C 2 , E 2 , G 2 are sequentially written in the memory by designating the pitch corresponding to the pitch C 2 , or the frequencies corresponding to the pitch G 2. If the external sounds of are sequentially written in the memory by the pitch designation corresponding to the pitches C 2 , D 2 #, G 2 respectively, the pitch designation corresponding to the pitch C 2 at the time of performance causes Pitch C 2 ,
Musical tone signals corresponding to E 2 and G 2 can be simultaneously generated. Since the frequency ratio of these generated musical tones is fixed, various chords can be generated by changing the designated pitch when reading the waveform data. Further, in such a case, if the same instrument sound is used as the external sound, a chord by a single instrument is obtained, and if different instrument sounds are used as the external sounds, a musical sound such as an ensemble performance is obtained.

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

上記作用説明からも理解できる通り、本発明によれば、
合成演算手段及び書込みレート設定手段を設けることに
より、発生楽音の音色を種々に変更させたり、発生楽音
が複数の楽器音を含んだものと同等となるようにして、
発生楽音の自由度を増すようにしたので、当該楽音信号
発生装置の音楽上の利用価値が高められる。
As can be understood from the above description of the operation, according to the present invention,
By providing the synthesis operation means and the writing rate setting means, the tone color of the generated musical tone can be variously changed, or the generated musical tone can be made equivalent to that including a plurality of musical instrument sounds,
Since the degree of freedom of the generated musical sound is increased, the musical utility value of the musical sound signal generator can be enhanced.

〔実施例〕〔Example〕

以下、本発明の実施例を図面を用いて説明すると、第1
図は本発明による楽音信号発生装置を適用した電子楽器
の一例を示すブロック図である。同図において、1は鍵
盤部の各鍵に対応したキースイッチを有し、ある鍵が押
鍵されると対応するキースイッチが動作し、その出力か
ら押下鍵音高に対応するノートコードNCおよびブロッ
クコードBCからなるキーコードKCを出力するように
構成されたキースイッチ回路である。また、このキース
イッチ回路1はキーコードKCの送出開始時に短いパル
ス幅のキーオンパルスKONPを出力する。なお、この
キースイッチ回路1には単音優先回路が内蔵されてお
り、同時に2個以上のキースイッチが動作した場合、優
先度の高いキースイッチに対応するキーコードKCのみ
が出力されるように構成されている。
An embodiment of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing an example of an electronic musical instrument to which the tone signal generator according to the present invention is applied. In the figure, reference numeral 1 has a key switch corresponding to each key of the keyboard portion, and when a certain key is pressed, the corresponding key switch operates, and from its output, a note code NC corresponding to the pitch of the pressed key and The key switch circuit is configured to output a key code KC including a block code BC. Further, this key switch circuit 1 outputs a key-on pulse KONP having a short pulse width at the start of sending the key code KC. The key switch circuit 1 has a built-in single tone priority circuit, so that when two or more key switches are operated at the same time, only the key code KC corresponding to the key switch with high priority is output. Has been done.

2はキースイッチ回路1から出力されるキーコードKC
をキーオンパルスKONPによってラッチして記憶保持
するラッチ回路、3はラッチ回路2から供給されるキー
コードKCに対応した周波数の2倍の周波数を有するノ
ートクロック信号2・NCK(第2図(a)参照)を出力
するノートクロック発生回路、4は入力楽音をピックア
ップしてその入力楽音レベルに対応するディジタル楽音
データGDiに逐次変換して出力するディジタル変換回
路であって、入力楽音はマイク40によりピックアップ
されて対応する楽音信号GAに変換され、この後増幅器
41を介してAD変換器(ADC)42によってその信
号レベルに対応したディジタル楽音データGDiに変換
される。このディジタル変換回路4には、入力楽音の立
上りを検出する入力信号検出器43が設けられており、
外部からあるレベルをもった楽音が入力されると、その
入力楽音の立上り時点で入力信号検出器43から短いパ
ルス幅の検出信号が出力される。この検出信号は後述す
るメモリ制御回路6から出力される書込み指令信号WR
によって動作可能となるアンドゲート44を通過し、メ
モリ制御回路6に対してトリガ信号TRGとして供給さ
れる。
2 is a key code KC output from the key switch circuit 1
The latch circuit 3 for latching and holding by the key-on pulse KONP holds a note clock signal 2 · NCK (FIG. 2 (a)) having a frequency twice as high as the frequency corresponding to the key code KC supplied from the latch circuit 2. Is a digital clock conversion circuit for picking up an input musical tone and sequentially converting it into digital musical tone data GDi corresponding to the input musical tone level and outputting the digital musical tone data GDi. The input musical tone is picked up by a microphone 40. Then, it is converted into a corresponding musical tone signal GA, and then converted into digital musical tone data GDi corresponding to the signal level by an AD converter (ADC) 42 via an amplifier 41. The digital conversion circuit 4 is provided with an input signal detector 43 for detecting the rising edge of the input musical sound,
When a musical tone having a certain level is input from the outside, the input signal detector 43 outputs a detection signal having a short pulse width at the time of rising of the input musical tone. This detection signal is a write command signal WR output from the memory control circuit 6 described later.
It is supplied as a trigger signal TRG to the memory control circuit 6 through the AND gate 44 which becomes operable.

5は楽音データを記憶する楽音データメモリであってク
リアスイッチCL・SWから“1”信号が与えられると
その記憶内容がクリアされる。
Reference numeral 5 is a tone data memory for storing tone data, and the stored contents are cleared when a "1" signal is given from the clear switch CL.SW.

6は楽音データメモリ5に対して所定周期で変化するア
ドレス信号ADRを供給すると共に、このアドレス信号
ADRが同一アドレス値を示している同一アドレス時間
において楽音データメモリ5のモードを時分割的にリー
ドモードとライトモードとに制御するモード制御信号M
Dを出力するメモリ制御回路であって、ノートクロック
発生回路3からのノートクロック信号2・NCKを分周
して第2図(b)および第2図(c)に示すようなリードクロ
ックパルスφ1およびライトクロックパルスφ2を出力
するフリップフロップ61と、書込み指令スイッチW・
SWが閉じることにより“1”信号が与えられると短い
パルス幅のワンショットパルスWPを出力するワンショ
ット回路62と、楽音データメモリ5に対するアドレス
信号が最大値アドレスに達したことを示すアドレスエン
ド信号が与えられることにより短いパルス幅のワ
ンショットパルスEPを出力するワンショット回路63
と、ワンショットパルスWPによってセットされ、また
ワンショットパルスEPによってリセットされ、そのQ
出力から書込み指令信号WRを出力するフリップフロッ
プ64と、オアゲート65を介して入力されるトリガ信
号TRG又は書込み指令信号WRをインバータ74で反
転した反転書込み指令信号WRが“1”のときのみアン
ドゲート75及びオアゲート65を介して入力されるキ
ーオンパルスKONPによりリセットされ、オアゲート
66を介して入力されるノートクロック信号NCK′ま
たはリードクロック信号RCKをカウントし、そのカウ
ント出力を楽音データメモリ5に対してアドレス信号A
DRとして出力するカウンタ67と、アドレス信号AD
Rによるアドレス内容が最大値アドレスに達したことを
検出し、その出力から“0”のアドレスエンド信号
を出力するナンドゲート68と、ノートクロック発生
回路3からのノートクロック信号2・NCKを1/2分
周してノートクロック信号NCKを出力する1/2分周
器73と、書込み指令信号WRをインバータ69で反転
した反転書込み指令信号が“1”で、かつアドレス
エンド信号が“1”のときのみ1/2分周器73
から出力されるノートクロック信号NCKを通過させて
オアゲート66を介してカウンタ67に対してノートク
ロック信号NCK′として出力するアンドゲート70
と、書込み指令信号WRが“1”で、かつアドレスエン
ド信号が“1”のときのみフリップフロップ61
から出力されるリードクロックパルスφ1を通過させて
リードクロック信号RCKとして出力するアンドゲート
71と、書込み指令信号WRおよびライトクロックパル
スφ2を入力しそのナンド出力をモード制御信号MDと
して出力するナンドゲート72とを備えている。ところ
でこの場合、楽音データメモリ5は、そのリードライト
制御入力端子(R/W)に“0”のモード制御信号MD
が入力されるとライトモードとなり、“1”のモード制
御信号MDが入力されるとリードモードとなる。従っ
て、書込み指令信号WRが“1”のときには、モード制
御信号MDはライトクロックパルスφ2を反転した状態
の信号(すなわち、リードクロックパルスφ1と同一の
信号)となり、この結果楽音データメモリ5は第2図
(b)および(c)の斜線部分で示すように、リードクロック
パルスφ1が“1”の時間においてリードモードとな
り、ライトクロックパルスφ2が“1”の時間において
ライトモードとなる。一方、書込み指令信号WRが
“0”のときには、モード制御信号MDは常時“1”と
なり、その結果楽音データメモリ5は常時リードモード
となる。
Reference numeral 6 supplies the tone data memory 5 with an address signal ADR which changes in a predetermined cycle, and at the same address time when the address signal ADR indicates the same address value, the mode of the tone data memory 5 is read in a time division manner. Mode control signal M for controlling the mode and the write mode
A memory control circuit for outputting D, which is a read clock pulse φ1 as shown in FIGS. 2 (b) and 2 (c) by dividing the note clock signal 2 · NCK from the note clock generation circuit 3. And a flip-flop 61 that outputs a write clock pulse φ2, and a write command switch W.
A one-shot circuit 62 that outputs a one-shot pulse WP having a short pulse width when a "1" signal is given by closing the SW, and an address end signal indicating that the address signal for the musical tone data memory 5 has reached the maximum value address. Is supplied, a one-shot circuit 63 that outputs a one-shot pulse EP having a short pulse width.
Is set by the one-shot pulse WP and reset by the one-shot pulse EP, and its Q
A flip-flop 64 that outputs a write command signal WR from the output, and an AND gate only when the inverted write command signal WR obtained by inverting the trigger signal TRG or the write command signal WR input through the OR gate 65 by the inverter 74 is "1". The note clock signal NCK 'or the read clock signal RCK which is reset by the key-on pulse KONP input via the OR gate 65 and the OR gate 66 and counts the count output to the tone data memory 5. Address signal A
Counter 67 which outputs as DR, and address signal AD
The NAND gate 68 which detects that the address content by R has reached the maximum value address and outputs an address end signal of "0" and the note clock signal 2 · NCK from the note clock generation circuit 3 are halved. When the frequency divider 73 for dividing and outputting the note clock signal NCK and the inverted write command signal obtained by inverting the write command signal WR by the inverter 69 are "1" and the address end signal is "1". Only 1/2 divider 73
AND gate 70 which passes the note clock signal NCK output from the counter and outputs the note clock signal NCK 'to the counter 67 via the OR gate 66.
And the flip-flop 61 only when the write command signal WR is "1" and the address end signal is "1".
An AND gate 71 that passes the read clock pulse φ1 output from the device and outputs it as the read clock signal RCK; and a NAND gate 72 that inputs the write command signal WR and the write clock pulse φ2 and outputs the NAND output as the mode control signal MD. Is equipped with. By the way, in this case, the tone data memory 5 has a mode control signal MD of "0" at its read / write control input terminal (R / W).
Is input, the write mode is set, and when the mode control signal MD of "1" is input, the read mode is set. Therefore, when the write command signal WR is "1", the mode control signal MD becomes a signal in which the write clock pulse φ2 is inverted (that is, the same signal as the read clock pulse φ1), and as a result, the tone data memory 5 is Figure 2
As indicated by the shaded portions in (b) and (c), the read mode is set when the read clock pulse φ1 is “1”, and the write mode is set when the write clock pulse φ2 is “1”. On the other hand, when the write command signal WR is "0", the mode control signal MD is always "1", and as a result, the tone data memory 5 is always in the read mode.

次に、8はディジタル変換回路4から出力される楽音デ
ータGDiと楽音データメモリ5から読出された楽音デ
ータGDmとを加算してその加算データを合成楽音デー
タGDwとして出力する加算回路であって、加算器80
と、加算器80の加算出力データ「GDi+GDm」をラ
イトクロックパルスφ2の前縁で取込み保持するレジス
タ81と、レジスタ81から出力される合成楽音データ
GDwを書込み指令信号WRおよびライトクロックパル
スφ2が“1”の時にのみ通過させて出力するゲート8
2とを備え、ゲート82から出力される合成楽音データ
GDwは楽音データメモリ5に書込みデータとして供給
される。
Next, 8 is an addition circuit for adding the musical tone data GDi output from the digital conversion circuit 4 and the musical tone data GDm read from the musical tone data memory 5 and outputting the added data as the synthesized musical tone data GDw. Adder 80
And a register 81 which takes in and holds the addition output data “GDi + GDm” of the adder 80 at the leading edge of the write clock pulse φ2, and the write command signal WR and the write clock pulse φ2 which output the synthesized tone data GDw output from the register 81. Gate 8 that passes and outputs only when 1 "
2 and the synthesized tone data GDw output from the gate 82 is supplied to the tone data memory 5 as write data.

9は楽音データメモリ5から読出された楽音データGD
mをDA変換器90により対応するアナログ楽音信号に
変換し、これによって得た楽音信号をサウンドシステム
91から楽音として発音する楽音発生装置である。な
お、この楽音発生装置9には書込み指令信号WRが
“1”の時、楽音データGDmと合成楽音データGDw
がリードモード時間とライトモード時間において時分割
的に供給されるが、モニタを必要とする場合を除き発音
が禁止される。
9 is tone data GD read from the tone data memory 5.
This is a musical tone generating device in which m is converted into a corresponding analog musical tone signal by a DA converter 90, and the musical tone signal obtained thereby is generated from the sound system 91 as a musical tone. It should be noted that when the write command signal WR is "1", the musical tone generator 9 synthesizes the musical tone data GDm and the synthesized musical tone data GDw.
Are supplied in a time division manner in the read mode time and the write mode time, but the sound is prohibited unless a monitor is required.

以上のように構成された電子楽器の動作を次に説明す
る。
The operation of the electronic musical instrument configured as described above will be described below.

まず、外部音に対応した波形データを楽音データメモリ
5に記憶させようとする者はクリアスイッチCL・SW
を閉成することにより楽音データメモリ5をクリアし、
その後書込み指令スイッチW・SWを閉成すると、フリ
ップフロップ64がセットされ、そのQ出力から“1”
の書込み指令信号WRが出力され、これによって楽音デ
ータメモリ5は書込み待機状態となる。次に、鍵盤にて
所望の鍵を押鍵すると、キースイッチ回路1は該押鍵さ
れた鍵を表すキーコードKC及びキーオンパルスKON
Pを出力し、ラッチ回路2が前記キーコードKCをラッ
チするとともに該ラッチしたキーコードKCをノートク
ロック発生回路3に出力する。これにより、ノートクロ
ック発生回路3は供給キーコードKCに対応した周波数
の2倍の周波数を有するノートクロック信号2・NCK
を1/2分周器73及びフリップフロップ61に出力
し、1/2分周器73は該ノートクロック信号2・NC
Kを1/2分周したノートクロック信号NCKをアンド
ゲート70に出力するが、アンドゲート70にはインバ
ータ69を介して“0”の反転書込み指令信号が供
給されているので、前記ノートクロック信号NCKのア
ンドゲート70の通過は阻止される。一方、フリップフ
ロップ61も供給されたノートクロック信号2・NCK
を1/2分周して前記キーコードKCに対応した周波数
のリードクロックパルスφ1及びライトクロックパルス
φ2(第2図(b)(c)参照)を出力するようになる。な
お、上述したクリアスイッチCL・SWを閉成、書込み
指令スイッチW・SWの閉成及び鍵盤における押鍵の各
順序は上述した順序でなくても、いかなる順序でもよ
い。
First, the person who wants to store the waveform data corresponding to the external sound in the musical sound data memory 5 is the clear switch CL / SW.
Clear the tone data memory 5 by closing the
After that, when the write command switches W and SW are closed, the flip-flop 64 is set and "1" is output from its Q output.
The write command signal WR is output, and the tone data memory 5 enters the write standby state. Next, when a desired key is depressed on the keyboard, the key switch circuit 1 causes the key code KC and the key-on pulse KON representing the depressed key.
P is output, the latch circuit 2 latches the key code KC, and outputs the latched key code KC to the note clock generation circuit 3. As a result, the note clock generation circuit 3 causes the note clock signal 2 · NCK having a frequency twice the frequency corresponding to the supplied key code KC.
To the ½ frequency divider 73 and the flip-flop 61, and the ½ frequency divider 73 outputs the note clock signal 2 · NC
The note clock signal NCK obtained by dividing K by ½ is output to the AND gate 70. Since the AND gate 70 is supplied with the inverted write command signal of “0” via the inverter 69, the note clock signal NCK is output. The passage of NCK through AND gate 70 is blocked. On the other hand, the flip-flop 61 is also supplied with the note clock signal 2 · NCK
Is divided by 1/2 to output the read clock pulse φ1 and the write clock pulse φ2 (see FIGS. 2B and 2C) having the frequency corresponding to the key code KC. The order of closing the clear switches CL and SW, closing the write command switches W and SW, and pressing the keys on the keyboard is not limited to the order described above, but may be any order.

この状態において、マイク40に入力楽音が与えられる
と、ディジタル変換回路4はこの入力楽音のレベルに対
応したディジタル楽音データGDiを出力すると共に、
入力楽音の立上り時点において短いパルス幅のトリガ信
号TRGを出力する。このトリガ信号TRGは、メモリ
制御回路6のオアゲート65を介してカウンタ67に供
給され、これによって最大カウント値を示している状態
で停止しているカウンタ67はリセットされる。する
と、ナンドゲート68から出力されている“0”のアド
レスエンド信号がこの時点で“1”となる。この
ため、アンドゲート71の入力条件が成立し、リードク
ロックパルスφ1がこのアンドゲート71を介してリー
ドクロック信号RCKとして出力される。このリードク
ロック信号RCKは、この後オアゲート66を介してカ
ウンタ67にカウント入力として入力され、これによっ
てカウント67はこのリードクロック信号RCKの周期
で順次変化するアドレス信号ADRを出力する。
In this state, when an input musical tone is given to the microphone 40, the digital conversion circuit 4 outputs the digital musical tone data GDi corresponding to the level of the input musical tone, and
A trigger signal TRG having a short pulse width is output at the rising edge of the input musical tone. This trigger signal TRG is supplied to the counter 67 via the OR gate 65 of the memory control circuit 6, whereby the counter 67 stopped in the state showing the maximum count value is reset. Then, the address end signal of "0" output from the NAND gate 68 becomes "1" at this point. Therefore, the input condition of the AND gate 71 is satisfied, and the read clock pulse φ1 is output as the read clock signal RCK via the AND gate 71. The read clock signal RCK is then input as a count input to the counter 67 via the OR gate 66, whereby the count 67 outputs the address signal ADR which sequentially changes in the cycle of the read clock signal RCK.

一方、楽音データメモリ5にはナンドゲート72から同
一アドレス信号時間において交互に“1”,“0”とな
るモード制御信号MDが与えられている。このため、楽
音データメモリ5は、そのモードが同一アドレス信号時
間において交互にリードモード,ライトモードとなり、
リードモード時間においてアドレス信号ADRで指定さ
れるアドレスから読出された楽音データGDmは加算回
路8に供給されるが、上述したクリアスイッチCL・S
Wの閉成により楽音データメモリ5はクリアされている
ので、ディジタル変換回路4からの新たな楽音データG
Diのみが加算器80、レジスタ81及びゲート回路8
2を介してライトモード時間において楽音データメモリ
5に対して入力され、アドレス信号ADRにより指定さ
れたアドレスに記憶される。このような楽音データGD
iの書込み動作は他のアドレス信号時間においても同様
に行なわれるが、その後においてカウンタ67から出力
されるアドレス信号ADRが最大値アドレスを示すと、
ナンドゲート68から“0”のアドレスエンド信号
が出力され、これによってアンドゲート71は禁止状
態となり、カウンタ67の歩進動作は停止する。同時
に、“0”のアドレスエンド信号によりワンショ
ット回路63からワンショットパルスEPが出力され、
このワンショットパルスEPによってフリップフロップ
64はリセットし、そのQ出力から出力されている書込
み指令信号WRは“1”から“0”になる。
On the other hand, the tone data memory 5 is supplied from the NAND gate 72 with a mode control signal MD which alternately becomes "1" and "0" in the same address signal time. Therefore, the tone data memory 5 is alternately in the read mode and the write mode in the same address signal time,
The tone data GDm read from the address designated by the address signal ADR during the read mode time is supplied to the adder circuit 8.
Since the musical tone data memory 5 is cleared by closing W, new musical tone data G from the digital conversion circuit 4 is generated.
Only Di is the adder 80, the register 81 and the gate circuit 8
2 is input to the musical tone data memory 5 via the write mode time 2 and is stored in the address designated by the address signal ADR. Such tone data GD
The write operation of i is similarly performed at other address signal times, but when the address signal ADR output from the counter 67 thereafter indicates the maximum value address,
An address end signal of "0" is output from the NAND gate 68, whereby the AND gate 71 is disabled and the stepping operation of the counter 67 is stopped. At the same time, a one-shot pulse EP is output from the one-shot circuit 63 by the address end signal of "0",
The one-shot pulse EP resets the flip-flop 64, and the write command signal WR output from its Q output changes from "1" to "0".

以上のような動作により、楽音データメモリ5には、マ
イク40にて入力した外部音に対応した楽音データGD
iが、鍵盤にて押鍵された鍵の音高周波数に対応した書
込みレートで記憶される。
By the above operation, the musical tone data GD corresponding to the external sound input by the microphone 40 is stored in the musical tone data memory 5.
i is stored at the writing rate corresponding to the pitch frequency of the key pressed on the keyboard.

次に、楽音データメモリ5に記憶した楽音データGDm
に対応する楽音を発音させる場合の動作について説明す
る。
Next, the tone data GDm stored in the tone data memory 5
An operation for producing a musical sound corresponding to will be described.

この場合、まずキースイッチ回路1においてある鍵が押
鍵されると、キースイッチ回路1からこの押下鍵音高に
対応したキーコードKCが出力される。この時、キース
イッチ回路1は、キーコードKCの送出開始時に短いパ
ルス幅のキーオンパルスKONPを出力する。このキー
オンパルスKONPはメモリ制御回路6のアンドゲート
75に供給される。このとき、反転書込み指令信号
は“1”であるので、同ゲート75は前記キーオンパル
スKONPを通過させ、同パルスKONPはオアゲート
65を介してカウンタ67にリセット信号として入力さ
れ、これによってカウンタ67はリセットされる。この
ため、ナンドゲート68から出力されている“0”のア
ドレス信号はこの時点で“1”となる。
In this case, first, when a key is pressed in the key switch circuit 1, the key switch circuit 1 outputs a key code KC corresponding to the pitch of the pressed key. At this time, the key switch circuit 1 outputs a key-on pulse KONP having a short pulse width at the start of transmission of the key code KC. The key-on pulse KONP is supplied to the AND gate 75 of the memory control circuit 6. At this time, since the inverted write command signal is "1", the gate 75 passes the key-on pulse KONP, and the pulse KONP is input as a reset signal to the counter 67 via the OR gate 65, whereby the counter 67 is Will be reset. Therefore, the address signal of "0" output from the NAND gate 68 becomes "1" at this point.

一方、キースイッチ回路1から出力されるキーコードK
Cはラッチ回路2を介してノートクロック発生回路3に
供給される。すると、ノートクロック発生回路3は、供
給されるキーコードKC(すなわち押下鍵)に対応した
周波数の2倍のノートクロック信号2・NCKを出力す
る。このノートクロック信号2・NCKは1/2分周器
73にて1/2分周されてメモリ制御回路6のアンドゲ
ート70に供給されるが、この時アンドゲート70の他
の入力信号およびは双方とも“1”となって
いる。このため、ノートクロック発生回路3から発生さ
れかつ1/2分周器73にて1/2分周されたノートク
ロック信号NCKは、このアンドゲート70を通過し、
オアゲート66を介してカウンタ67のカウント入力と
なる。これによって、カウンタ67はノートクロック信
号NCKの周期で順次変化するアドレス信号ADRを楽
音データメモリ5に供給する。なお、このとき、書込み
指令信号WRは“0”であるので、アンド回路71はフ
リップフロップ61からのリードクロックパルスφ1の
通過を阻止する。
On the other hand, the key code K output from the key switch circuit 1
C is supplied to the note clock generation circuit 3 via the latch circuit 2. Then, the note clock generation circuit 3 outputs the note clock signal 2 · NCK having twice the frequency corresponding to the supplied key code KC (that is, the pressed key). The note clock signal 2 · NCK is divided by ½ by the ½ divider 73 and supplied to the AND gate 70 of the memory control circuit 6. At this time, other input signals of the AND gate 70 and Both are “1”. Therefore, the note clock signal NCK generated from the note clock generation circuit 3 and divided by 1/2 by the 1/2 divider 73 passes through the AND gate 70,
The count is input to the counter 67 via the OR gate 66. As a result, the counter 67 supplies the tone data memory 5 with the address signal ADR which sequentially changes in the cycle of the note clock signal NCK. Since the write command signal WR is "0" at this time, the AND circuit 71 blocks passage of the read clock pulse φ1 from the flip-flop 61.

かかる状態では、ナンドゲート72から楽音データメモ
リ5のリードライト制御入力端子(R/W)に供給され
るモード制御信号MDは、書込み指令信号WRが“0”
となっているために“1”となっている。このため、楽
音データメモリ5は常時リードモード状態を保持し、ア
ドレス信号ADRによって指定されるアドレスの記憶内
容が順次読出される。この読出された記憶内容、すなわ
ち楽音データGDmは楽音発生装置9に供給されて対応
する楽音として発音される。
In this state, the mode control signal MD supplied from the NAND gate 72 to the read / write control input terminal (R / W) of the tone data memory 5 is the write command signal WR of "0".
Therefore, it is "1". Therefore, the musical sound data memory 5 always holds the read mode state, and the stored contents of the address designated by the address signal ADR are sequentially read. The read stored contents, that is, the musical tone data GDm is supplied to the musical tone generating device 9 and is sounded as a corresponding musical tone.

このようにして、楽音データメモリ5に上述のようにし
て記憶した楽音データGDmは鍵盤にて押鍵された鍵の
音高周波数に対応した読出しレート(ノートクロック信
号NCK)で読出される。その結果、演奏に際して、楽
音データGDmの読出しのために、上述した演奏に先立
つ楽音データGDiの書込み時に押鍵した鍵と同一鍵を
押鍵した場合には、楽音データGDmの読出しレートと
楽音データGDiの書込みレートとが双方とも該鍵に対
応した同一のノートクロック信号NCK、すなわち等し
いものとなるので、かかる場合には外部音がその固有の
周波数でそのまま再現される。一方、演奏に際して、楽
音データGDmの読出しのために、上述した演奏に先立
つ楽音データGDiの書込み時に押鍵した鍵とは異なる
鍵を押鍵した場合には、楽音データGDmの読出しレー
トは両押鍵された鍵音高差に対応した分だけ楽音データ
GDiの書込みレートからずれるので、かかる場合には
外部音は前記鍵音高差に対応して周波数が変更されて発
音される。
In this way, the musical tone data GDm stored in the musical tone data memory 5 as described above is read at a reading rate (note clock signal NCK) corresponding to the pitch frequency of the key pressed by the keyboard. As a result, at the time of playing, if the same key as the key pressed at the time of writing the musical sound data GDi prior to the playing is pressed to read the musical sound data GDm, the reading rate of the musical sound data GDm and the musical sound data are set. Since the writing rate of GDi is the same note clock signal NCK corresponding to the key, that is, both are equal, in such a case, the external sound is reproduced as it is at its own frequency. On the other hand, when a key different from the key pressed at the time of writing the musical sound data GDi preceding the musical performance is pressed to read the musical sound data GDm during the performance, the reading rate of the musical sound data GDm is double-pressed. Since the writing rate of the musical sound data GDi deviates by an amount corresponding to the key pitch difference that is keyed, in such a case, the external sound is generated with the frequency changed corresponding to the key pitch difference.

上記のような説明からも理解できる通り、上記実施例に
よれば、外部音の周波数に対応した鍵を楽音データGD
iの書込み時に押鍵すれば、演奏中に発音される楽音の
周波数を鍵音高に対応させることができるようになるの
で、任意の周波数を有する外部音を音源として利用でき
るようになる。
As can be understood from the above description, according to the above-described embodiment, the key corresponding to the frequency of the external sound is set to the musical sound data GD.
If a key is pressed at the time of writing i, the frequency of the musical sound generated during the performance can be made to correspond to the pitch of the key, so that an external sound having an arbitrary frequency can be used as a sound source.

次に、楽音データメモリ5に既に楽音データGDmが記
憶されている状態で、書込み指令スイッチW・SWを閉
成した場合について説明する。かかる場合も、上述した
ように、マイク40に入力楽音が与えられた時点で楽音
データGDiの楽音データメモリ5の書込み動作が開始
されるとともに、該書込みレートは鍵盤にて押鍵された
鍵に対応したノートクロック信号NCKにより規定され
る。しかしながら、かかる場合、ナンドゲート72から
同一アドレス時間において交互“1”“0”となるモー
ド制御信号MDにより、リードモード時間においてアド
レス信号ADRで指定されるアドレスから読出された楽
音データGDmは以前に楽音データメモリ5に記憶され
たものであり、該データGDmは加算器80において新
たな楽音データGDiと加算される。そして、この加算
データはレジスタ81を介してゲート82から合成楽音
データGDwとして同一アドレス信号時間のうちライト
モード時間において楽音データメモリ5に対して入力さ
れ、アドレス信号ADRで指定されたアドレスにはリー
ドモード時間において読出された楽音データGDmに代
えて合成楽音データGDwが新たに記憶される。
Next, a case will be described in which the write command switches W and SW are closed while the tone data GDm is already stored in the tone data memory 5. Also in such a case, as described above, the writing operation of the musical tone data GDi to the musical tone data memory 5 is started at the time when the input musical tone is given to the microphone 40, and the writing rate is set to the key pressed by the keyboard. It is defined by the corresponding note clock signal NCK. However, in such a case, the tone data GDm read from the address designated by the address signal ADR in the read mode time by the mode control signal MD which is alternately "1" and "0" in the same address time from the NAND gate 72 has previously generated a tone. The data GDm stored in the data memory 5 is added to new musical tone data GDi in the adder 80. Then, this addition data is input from the gate 82 via the register 81 to the musical tone data memory 5 as the synthesized musical tone data GDw during the write mode time in the same address signal time, and is read to the address designated by the address signal ADR. The synthesized tone data GDw is newly stored in place of the tone data GDm read during the mode time.

このようにして、楽音データメモリ5に外部音を重複し
て書込むことができる。かかる場合、書込み時に鍵盤に
て押鍵する鍵を変更しないようにするとともに、マイク
40へ同一周波数かつ異なる種類の音(楽器音)を入力
させるようにすれば、楽音データメモリ5には前記入力
した音を混合した音色の楽音を表す楽音データが記憶さ
れることになる。また、この場合、マイク40へ入力さ
れる音(楽器音)の周波数を異ならせるか、前記書込み
時において押鍵する鍵を変更することにより前記2種の
音に関する書込みレートを変更すれば(前記入力される
音の周波数が固定又はその帯域が狭く制限されている場
合に有効)、楽音データメモリ5に重ねて記憶された楽
音データにより表された楽音の倍音構造が前記入力した
2種の音に対応して複雑なものとなる。
In this way, external sounds can be written in the musical sound data memory 5 in a duplicated manner. In such a case, if the keys to be pressed on the keyboard during writing are not changed and the microphone 40 is made to input sounds of different frequencies (musical instrument sounds) of the same frequency, the above-mentioned input to the tone data memory 5 is made. Musical tone data representing a musical tone having a mixed tone of the selected sounds is stored. Further, in this case, if the frequency of the sound (musical instrument sound) input to the microphone 40 is made different, or the writing rate for the two types of sounds is changed by changing the key to be pressed at the time of writing (the above-mentioned (Effective when the frequency of the input sound is fixed or its band is narrowly limited), and the overtone structure of the musical sound represented by the musical sound data stored in the musical sound data memory 5 is the two types of the inputted sound. It becomes complicated corresponding to.

さらに、マイク40へ入力される2種の楽器音を双方と
も鍵音高周波数に一致させるようにして、該2種の楽器
音に関する楽音データGDiを楽音データメモリ5へ重
ねて書込むようにすれば、演奏に際しての読出し時に単
一鍵の押鍵により複数の音高の楽音を同時に発音させる
ことができ、例えば和音演奏のような効果を期待でき
る。すなわち、例えば音高C2,E2,G2,に対応した周波
数の楽器音をマイク40へ順次入力させるとともに、こ
れらの全ての音を鍵盤における音高Cに対応した鍵の
押鍵により音高Cに対応した書込みレートで楽音デー
タメモリ5へ書込んだり、音高Gに対応した周波数の
楽器音を順次マイク40へ入力させるとともに、これら
の各音を音高C2,D2#,G2,にそれぞれ対応した鍵盤に
おける押鍵により音高C2,D2#,G2,にそれぞれ対応し
た書込みレートで楽音データメモリ5へ書込んだりすれ
ば、演奏時における音高Cに対応した鍵の押鍵によっ
て音高C2,E2,G2,に対応した楽音を同時に発生させる
ことができる。そして、これらの楽音の周波数関係は一
定に保たれるので、演奏時における指定音高の変更に応
じて種々の和音等が発音される。かかる場合、入力した
楽器音として同一のものを利用すれば単一楽器音による
和音が得られ、入力した楽器音として異なるものを利用
すればアンサンブル演奏のような効果が得られる。
Further, both of the two types of musical instrument sounds input to the microphone 40 may be matched with the key pitch high frequency, and the musical tone data GDi relating to the two types of musical instrument sounds may be overwritten and written in the musical tone data memory 5. For example, when reading out at the time of playing, it is possible to generate musical tones of a plurality of pitches at the same time by pressing a single key, and an effect such as a chord playing can be expected. That is, for example, instrument sounds of frequencies corresponding to the pitches C 2 , E 2 , G 2 are sequentially input to the microphone 40, and all these sounds are pressed by the keys corresponding to the pitch C 2 on the keyboard. While writing to the musical tone data memory 5 at a writing rate corresponding to the tone pitch C 2 or sequentially inputting musical instrument tones having a frequency corresponding to the tone pitch G 2 to the microphone 40, each of these tones C 2 , D By pressing the keys corresponding to 2 #, G 2 respectively to the tone pitch data memory 5 at the writing rates corresponding to the pitches C 2 , D 2 #, G 2 pitch C 2 by key depression corresponding to the C 2, E 2, G 2 , to thereby generate a musical tone corresponding simultaneously. Since the frequency relationship of these musical tones is kept constant, various chords and the like are sounded according to the change of the designated pitch during performance. In such a case, if the same input musical instrument sound is used, a chord with a single musical instrument sound is obtained, and if different input musical instrument sounds are used, an effect like an ensemble performance is obtained.

なお、上記実施例においては、アンドゲート70に1/
2分周器73からのノートクロック信号NCKを供給す
るようにしたが、同クロック信号NCKとフリップフロ
ップ61からのリードクロックパルスφ1は同一である
ので、1/2分周器73を省略してリードクロックパル
スφ1をアンドゲート70に導くようにしてもよい。ま
た、かかる変形によれば、両アンドゲート70,71に
供給される信号は書込み指令信号WRと反転書込み指令
信号WRとが異なるのみとなるので、いずれか一方のア
ンドゲート及びオアゲート66を省略し、アドレスエン
ド信号ENDとリードクロックパルスφ1とのアンド論
理出力をカウンタに直接供給するようにしてもよい。
In the above embodiment, the AND gate 70 has a 1 /
The note clock signal NCK from the frequency divider 73 is supplied. However, since the clock signal NCK and the read clock pulse φ1 from the flip-flop 61 are the same, the 1/2 frequency divider 73 is omitted. The read clock pulse φ1 may be guided to the AND gate 70. Further, according to this modification, the signals supplied to the AND gates 70 and 71 are different only in the write command signal WR and the inverted write command signal WR , so that one of the AND gate and the OR gate 66 is omitted. The AND logic output of the address end signal END and the read clock pulse φ1 may be directly supplied to the counter.

第3図は本発明による楽音信号発生方法及び装置を適用
した電子楽器の他の実施例を示すブロック図であって、
第1図に示した電子楽器とは、クロック発振器60′か
らの非常に高い周波数のクロックパルスφ0′をフリッ
プフロップ61にて分周してリードクロックパルスφ1
及びライトクロックパルスφ2を形成する点と、楽音デ
ータメモリ5に対して供給するアドレス信号ADRの作
り方の点が異なり、他の部分は同一構成となっている。
つまり、楽音データメモリ5に記憶された楽音データG
Dmに対応する楽音を発音させる演奏時には、ラッチ回
路2から出力されるキーコードKCを用いて周波数ナン
バメモリ3′から押下鍵音高に対応した小数部と整数部
とからなる周波数ナンバRが読出され、この周波数ナン
バRがゲート73を介して小数部アキュムレータ74a
と整数部アキュムレータ74bとからなるアキュムレー
タ74に供給され、ここにおいて周波数ナンバRの累算
値qR(q:1,2,3…)がリードクロックパルスφ1の発生
周期で形成される。このようにして形成された累算値q
Rはアドレス信号ADRとして楽音データメモリ5に供
給される。そして、累算値qRが最大値を示すと、整数
部アキュムレータ74bのキャリイ出力CAからアドレ
スエンド信号ENDが出力され、このアドレスエンド信
号ENDによってリセット状態にあるフリップフロップ
78がセットされ、このフリップフロップ78の出力
から“0”のアドレスエンド信号END′が出力され
る。すると、この“0”のアドレスエンド信号END′
によってそれまでオン状態となっていたゲート73はオ
フ状態となり、アキュムレータ74から出力される累算
値qRは最大値を示している状態でそれ以後変化しなく
なる。
FIG. 3 is a block diagram showing another embodiment of an electronic musical instrument to which the musical tone signal generating method and apparatus according to the present invention is applied,
The electronic musical instrument shown in FIG. 1 is a read clock pulse φ1 obtained by dividing a clock pulse φ0 ′ having a very high frequency from a clock oscillator 60 ′ by a flip-flop 61.
And the point that the write clock pulse φ2 is formed, and the way the address signal ADR supplied to the tone data memory 5 is made is different, and the other parts have the same configuration.
That is, the musical tone data G stored in the musical tone data memory 5
When playing a tone corresponding to Dm, a frequency code R consisting of a decimal part and an integer part corresponding to the pressed key pitch is read from the frequency number memory 3'using the key code KC output from the latch circuit 2. This frequency number R is passed through the gate 73 to the fractional part accumulator 74a.
And an integer part accumulator 74b are supplied to the accumulator 74, where the accumulated value qR (q: 1,2,3 ...) Of the frequency number R is formed in the generation cycle of the read clock pulse φ1. The accumulated value q formed in this way
R is supplied to the tone data memory 5 as an address signal ADR. When the accumulated value qR indicates the maximum value, the carry output CA of the integer part accumulator 74b outputs the address end signal END, and the address end signal END sets the flip-flop 78 in the reset state. From the output of 78, the address end signal END 'of "0" is output. Then, this "0" address end signal END '
As a result, the gate 73, which has been in the on state until then, is turned off, and the accumulated value qR output from the accumulator 74 shows the maximum value and does not change thereafter.

なお、フリップフロップ78は、楽音データメモリ5に
記憶された楽音データGDmに対応する楽音を発音させ
る演奏時には、反転書込み指令信号WRが“1”の時の
みオン状態となるアンドゲート75を通過し、さらにオ
アゲート77を通過するキーオンパルスKONPによっ
てリセットされるものである。
The flip-flop 78 passes through the AND gate 75 which is turned on only when the inversion write command signal WR is "1" at the time of playing a musical tone corresponding to the musical tone data GDm stored in the musical tone data memory 5. Further, it is reset by the key-on pulse KONP passing through the OR gate 77.

次に、楽音データメモリ5に楽音データGDiまたは合
成楽音データGDwを書込む場合について説明する。こ
の場合、まず、書込み指令スイッチW・SWを閉成す
る。これによってフリップフロップ64がセットされ、
そのQ出力から“1”の書込み指令信号WRが出力され
る。
Next, a case where the musical tone data GDi or the synthetic musical tone data GDw is written in the musical tone data memory 5 will be described. In this case, first, the write command switches W and SW are closed. This sets the flip-flop 64,
The write command signal WR of "1" is output from the Q output.

この状態において、前述の演奏時の場合と同様、任意の
鍵を押鍵すると、周波数ナンバメモリ3′から押下鍵音
高に対応した周波数ナンバRが読み出される。そして、
この状態でマイク40に対して入力楽音を与えると、デ
ィジタル変換回路4はこの入力楽音のレベルに対応した
ディジタル楽音データGDiを出力すると共に、入力楽
音の立上り時点においてトリガ信号TRGを出力する。
すると、このトリガ信号TRGがアンドゲート76を通
過し、さらにオアゲート77を通過してフリップフロッ
プ78のリセット信号として供給される。これによって
セット状態にあるフリップフロップ78はリセットさ
れ、その出力から出力されるアドレスエンド信号EN
D′が“1”信号となる。すると、それまで“0”のア
ドレスエンド信号END′によってゲート73の通過を
阻止されていた周波数ナンバRは、この“1”のアドレ
スエンド信号END′によってゲート73の通過し、ア
キュムレータ74に供給されるようになり、演奏時の場
合と同様にして累算値qRが形成されてこの累算値qRが
楽音データメモリ5に対してアドレス信号ADRとして
与えられる。そして、累算値qR、すなわちアドレス信
号ADRが最大値を示すと、アキュムレータ74からア
ドレスエンド信号ENDが出力され、このアドレスエン
ド信号ENDによってリセット状態にあるフリップフロ
ップ78がセットされ、このフリップフロップ78の
出力から出力されているアドレスエンド信号END′は
“0”信号となる。これによって、周波数ナンバRはゲ
ート73を通過できなくなり、アドレス信号ADRは最
大値を示しいる状態でそれ以後変化しなくなる。そし
て、このように変化する累算値qRで示される同一アド
レス信号時間において、楽音データメモリ5には“1”
と“0”が交互に変化するモード制御信号MDがナンド
ゲート72から与えられ、これによって第1図の実施例
の場合と同様に合成楽音データGDwまたは楽音データ
GDiが楽音データメモリ5に記憶される。
In this state, when an arbitrary key is depressed, the frequency number R corresponding to the tone pitch of the depressed key is read out from the frequency number memory 3 ', as in the case of the above-mentioned performance. And
When an input musical tone is given to the microphone 40 in this state, the digital conversion circuit 4 outputs the digital musical tone data GDi corresponding to the level of the input musical tone, and also outputs the trigger signal TRG at the rising time of the input musical tone.
Then, the trigger signal TRG passes through the AND gate 76, further passes through the OR gate 77, and is supplied as a reset signal for the flip-flop 78. As a result, the flip-flop 78 in the set state is reset and the address end signal EN output from its output is reset.
D'becomes a "1" signal. Then, the frequency number R, which has been prevented from passing through the gate 73 by the address end signal END ′ of “0”, passes through the gate 73 by the address end signal END ′ of “1” and is supplied to the accumulator 74. Then, the accumulated value qR is formed in the same manner as in the case of playing, and the accumulated value qR is given to the tone data memory 5 as the address signal ADR. When the accumulated value qR, that is, the address signal ADR shows the maximum value, the address end signal END is output from the accumulator 74, and the flip-flop 78 in the reset state is set by the address end signal END. The address end signal END 'outputted from the output of the above becomes a "0" signal. As a result, the frequency number R cannot pass through the gate 73, and the address signal ADR remains unchanged at the maximum value. Then, at the same address signal time indicated by the accumulated value qR which changes in this way, "1" is stored in the musical tone data memory 5.
A mode control signal MD alternately changing between "0" and "0" is applied from the NAND gate 72, whereby the synthesized tone data GDw or tone data GDi is stored in the tone data memory 5 as in the case of the embodiment of FIG. .

従って、この実施例による電子楽器においても、楽音デ
ータメモリ5のアドレス歩進は鍵盤にて押鍵された鍵の
音高周波数に対応したものとなり、同メモリ5の読出し
及び書込みレートが上記実施例の場合と同様に制御され
るので、上記実施例と同等な効果を得ることができる。
Therefore, also in the electronic musical instrument according to this embodiment, the address step of the tone data memory 5 corresponds to the pitch frequency of the key pressed on the keyboard, and the read and write rates of the memory 5 are the same as those of the above embodiment. Since the control is performed in the same manner as in the above case, it is possible to obtain the same effect as that of the above embodiment.

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

第1図は本発明による楽音信号発生装置を適用した電子
楽器の一実施例を示すブロック図、第2図は第1図に示
す電子楽器の動作を説明するためのタイムチャート、第
3図は本発明による楽音信号発生装置を適用した電子楽
器の他の実施例を示すブロック図である。 1…キースイッチ回路、3…ノートクロック発生回路、
3′…周波数ナンバメモリ、4…ディジタル変換回路、
5…楽音データメモリ、6…メモリ制御回路、8…加算
回路、9…楽音発生装置。
FIG. 1 is a block diagram showing an embodiment of an electronic musical instrument to which the musical tone signal generator according to the present invention is applied, FIG. 2 is a time chart for explaining the operation of the electronic musical instrument shown in FIG. 1, and FIG. FIG. 9 is a block diagram showing another embodiment of an electronic musical instrument to which the musical tone signal generator according to the present invention is applied. 1 ... Key switch circuit, 3 ... Note clock generation circuit,
3 '... frequency number memory, 4 ... digital conversion circuit,
5 ... tone data memory, 6 ... memory control circuit, 8 ... adding circuit, 9 ... tone generating device.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】外部音を入力して該入力した外部音をディ
ジタル形式の波形データに変換する変換手段と、波形デ
ータを記憶するメモリと、前記変換手段にて変換された
波形データを前記メモリに書込む書込み手段と、前記メ
モリに記憶されている波形データを指定音高に対応した
読出しレートで読出す読出し手段とを備え、前記メモリ
から読出された波形データに基づき楽音信号を発生する
ようにした楽音信号発生装置において、 前記変換手段からの波形データと前記メモリに記憶され
ている波形データとを合成演算して該演算結果を前記メ
モリに供給し前記書込み手段による前記演算結果の書込
みを許容する合成演算手段と、 前記書込み手段による波形データの書込みレートを可変
設定する書込みレート設定手段と を設けたことを特徴とする楽音信号発生装置。
1. A conversion means for inputting an external sound and converting the input external sound into digital waveform data, a memory for storing the waveform data, and the memory for storing the waveform data converted by the conversion means. And writing means for reading the waveform data stored in the memory at a reading rate corresponding to a specified pitch, and generating a tone signal based on the waveform data read from the memory. In the musical tone signal generator described above, the waveform data from the conversion means and the waveform data stored in the memory are combined and operated, the operation result is supplied to the memory, and the operation result is written by the writing means. And a writing rate setting means for variably setting the writing rate of the waveform data by the writing means. That musical tone signal generating apparatus.
JP63072224A 1988-03-25 1988-03-25 Music signal generator Expired - Lifetime JPH067335B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63072224A JPH067335B2 (en) 1988-03-25 1988-03-25 Music signal generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63072224A JPH067335B2 (en) 1988-03-25 1988-03-25 Music signal generator

Publications (2)

Publication Number Publication Date
JPS63264794A JPS63264794A (en) 1988-11-01
JPH067335B2 true JPH067335B2 (en) 1994-01-26

Family

ID=13483074

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63072224A Expired - Lifetime JPH067335B2 (en) 1988-03-25 1988-03-25 Music signal generator

Country Status (1)

Country Link
JP (1) JPH067335B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4944732A (en) * 1972-08-31 1974-04-27
JPS51130211A (en) * 1975-05-06 1976-11-12 Ikuo Tagusari Musical sound synthesizer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5747828Y2 (en) * 1976-10-06 1982-10-20

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4944732A (en) * 1972-08-31 1974-04-27
JPS51130211A (en) * 1975-05-06 1976-11-12 Ikuo Tagusari Musical sound synthesizer

Also Published As

Publication number Publication date
JPS63264794A (en) 1988-11-01

Similar Documents

Publication Publication Date Title
JPS6133199B2 (en)
KR940005988B1 (en) Musical sound waveform generator
JPS6031189A (en) Musical sound generator
JPH067335B2 (en) Music signal generator
JPS60100199A (en) Electronic musical instrument
JPS6048760B2 (en) Note clock generator for electronic musical instruments
JPS6113239B2 (en)
JPS6211355B2 (en)
JPS5842478B2 (en) Noise removal device for electronic musical instruments
JP3414150B2 (en) Chorus effect imparting device
JPS5936756B2 (en) electronic musical instruments
JPS6030959B2 (en) electronic musical instruments
JPH0158518B2 (en)
JPS61167995A (en) Automatic performer
JP2935053B2 (en) Electronic musical instrument
JPS61248096A (en) Electronic musical instrument
JP2586443B2 (en) Waveform generator
JPH0748160B2 (en) Electronic musical instrument
JPS6211354B2 (en)
JP2678970B2 (en) Tone generator
JPS6257036B2 (en)
JPH052999B2 (en)
JPH0142000B2 (en)
JPS6087396A (en) Musical sound generator
JPS61134798A (en) Musical sound signal generator