JPH0242491A - Musical sound synthesizer - Google Patents

Musical sound synthesizer

Info

Publication number
JPH0242491A
JPH0242491A JP1090355A JP9035589A JPH0242491A JP H0242491 A JPH0242491 A JP H0242491A JP 1090355 A JP1090355 A JP 1090355A JP 9035589 A JP9035589 A JP 9035589A JP H0242491 A JPH0242491 A JP H0242491A
Authority
JP
Japan
Prior art keywords
data
musical
waveform
signal
digital filter
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.)
Granted
Application number
JP1090355A
Other languages
Japanese (ja)
Other versions
JPH0421199B2 (en
Inventor
Koji Niimi
新美 幸二
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 JP1090355A priority Critical patent/JPH0242491A/en
Publication of JPH0242491A publication Critical patent/JPH0242491A/en
Publication of JPH0421199B2 publication Critical patent/JPH0421199B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To generate musical sounds rich in the change of tone color by changing and controlling the characteristic of a digital filter as time passes while waveform data circulates. CONSTITUTION:In the title musical sound synthesizer, having a data circuit in which a data delay means and a digital filter are connected like a closed loop, to take out the circulating data as the musical sound waveform data by circulating the waveform data through the data circuit, a control means to change and control the characteristic of the digital filter as time passes while the waveform data circulates is provided. Thus, the musical sounds rich in the change of the tone color can be generated and attack feeling, decay feeling, etc., can be sufficiently expressed.

Description

【発明の詳細な説明】 この発明は、音色が経時的に変化する楽音を発生する楽
音合成装置に関し、特にフィルタ特性を楽音発生中に経
時的に変更制御することにより音色変化に富んだ楽音発
生を可能としたものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a musical tone synthesizer that generates a musical tone whose timbre changes over time. This made it possible.

時間と共に楽音の振幅が変化し、同時にその音色(波形
)も変化するような楽音を発生する電子楽器に関しては
本願出願人が昭和50年12月16日出願した昭和50
年特許願第149148号(特開昭52−73721号
)「電子楽器」 (以下光出願という)において詳細に
説明されている。この先出願に示される電子楽器におい
て、楽音波形発生手段は、RAM (ランダム・アクセ
ス・メモリ)等の一時記憶回路及びディジタルフィルタ
を閉ループ状に接続したデータ循環路を有し、このデー
タ循環路を介してディジタル波形データを循環させるこ
とにより循環中のデータを楽音波形データとして取出す
ようになっている。
Regarding electronic musical instruments that generate musical tones whose amplitude changes over time and whose timbre (waveform) also changes at the same time, the Applicant of the present application filed an application on December 16, 1975.
It is explained in detail in Patent Application No. 149148 (Japanese Unexamined Patent Publication No. 73721/1989) entitled "Electronic Musical Instrument" (hereinafter referred to as "Hikari Application"). In the electronic musical instrument shown in this earlier application, the musical sound waveform generating means has a data circulation path in which a temporary storage circuit such as a RAM (random access memory) and a digital filter are connected in a closed loop. By circulating the digital waveform data, the data being circulated is extracted as musical waveform data.

上記した先出間の発明にあっては、楽音発生中にフィル
タ特性を変更制御するようになっていないので、音色変
化に乏しく、アタック感やデイケイ感の表現も十分でな
かった。
In the above-mentioned previous invention, since the filter characteristics are not controlled to be changed while musical tones are being generated, there is a lack of timbre change, and the expression of the attack feeling and the decay feeling is not sufficient.

この発明の目的は、音色変化に富んだ楽音発生を可能に
すると共に、アタック感、デイケイ感等も十分に表現可
能とすることにある。
An object of the present invention is to make it possible to generate musical tones with rich timbre changes, and to also make it possible to sufficiently express the sense of attack, decay, etc.

この発明は、データ遅延手段及びディジタルフィルタを
閉ループ状に接続したデータ循環路を有し、このデータ
循環路を介して波形データを循環させることにより循環
中のデータを楽音波形データとして取出すようにした楽
音合成装置において、ディジタルフィルタの特性を波形
データの循環中に経時的に変更制御する制御手段を設け
たことを特徴とするものである。
This invention has a data circulation path in which a data delay means and a digital filter are connected in a closed loop, and by circulating waveform data through this data circulation path, the data being circulated is extracted as musical waveform data. The musical tone synthesis apparatus is characterized in that it is provided with a control means for changing and controlling the characteristics of the digital filter over time while the waveform data is being circulated.

また、このような楽音合成装置にあっては、楽音の発生
開始及び減衰開始を指示する指示手段を設け、制御手段
では、指示手段による発生開始指示に応答して楽音波形
の振幅を増大させるべくディジタルフィルタの特性を制
御すると共に、指示手段による減衰開始指示に応答して
楽音波形の振幅を減少させるべくディジタルフィルタの
特性を制御するようにしてもよい。
Further, such a musical tone synthesis device is provided with an instruction means for instructing the start of generation and the start of attenuation of musical tones, and the control means is configured to increase the amplitude of the musical sound waveform in response to the instruction to start generation by the instruction means. The characteristics of the digital filter may be controlled so as to reduce the amplitude of the musical sound waveform in response to an instruction to start attenuation by the instruction means.

この発明の構成によれば、波形データの循環中にディジ
タルフィルタの特性を経時的に変更制御するようにした
ので、音色変化に富んだ楽音を発生させることができる
According to the configuration of the present invention, since the characteristics of the digital filter are changed and controlled over time while the waveform data is being circulated, it is possible to generate musical tones with rich timbre changes.

また、上記したように楽音の発生開始指示及び減衰開始
指示にそれぞれ応答してディジタルフィルタの特性を制
御すると、アタック感やデイケイ感を効果的に表現する
ことができる。
Further, as described above, if the characteristics of the digital filter are controlled in response to the musical tone generation start instruction and the decay start instruction, respectively, it is possible to effectively express a sense of attack or decay.

以下、添付図面に示す実施例についてこの発明を詳述す
る。
The invention will now be described in detail with reference to embodiments shown in the accompanying drawings.

第1図はこの発明の一実施例による電子楽器を示すブロ
ック線図である。同図において、lOは共通の情報伝送
路、20はCPUである。この明細書で言うCPUは制
御回路、演算回路およびレジスタをそなえ、CPU外に
あるメモリ装置と共に端末の入力装置から入力されるデ
ータを処理して端末の出力装置に対し出力することがで
きる汎用データ処理機能を備えた装置を意味する。また
、その好適な設計例としては、マイクロプロセッサが用
いられるものとする。CPU2Qによるデータ処理はメ
モリ装置22に記f、9されているプログラムと、CP
U制御盤部24から与えられる制御信号とによって定ま
る。したがって、これらを適宜変更することによりデー
タ処理の方法を自由に変えることができる。
FIG. 1 is a block diagram showing an electronic musical instrument according to an embodiment of the present invention. In the figure, IO is a common information transmission path, and 20 is a CPU. The CPU referred to in this specification is equipped with a control circuit, an arithmetic circuit, and a register, and together with a memory device located outside the CPU, general-purpose data that can process data input from the input device of a terminal and output it to the output device of the terminal. means a device equipped with processing functions. Further, a microprocessor is assumed to be used as a preferred design example. Data processing by the CPU 2Q is performed using programs stored in the memory device 22 and the CPU 2Q.
It is determined by the control signal given from the U control panel section 24. Therefore, by changing these appropriately, the data processing method can be changed freely.

第1図において、30は鍵盤部、32は音色制御盤部、
34は楽音発生部、36は表示盤部、38は通信回線の
ための変復調回路(MODEM)、39はデータ処理の
ための時間情報を供給するタイマである。ここで、注目
されることは、従来の電子楽器では、鍵盤部、音色制御
盤部、楽音発生部等がそれぞれ専用の配線で相互接続さ
れていたのに対し、この発明ではこれらの配線に代えて
共通の情報伝送路lOを設け、配線数の削減並びにシス
テムの多機能化を可能にしたことである。
In FIG. 1, 30 is a keyboard section, 32 is a tone control panel section,
34 is a musical tone generator, 36 is a display panel, 38 is a modulation/demodulation circuit (MODEM) for a communication line, and 39 is a timer for supplying time information for data processing. What should be noted here is that in conventional electronic musical instruments, the keyboard section, timbre control panel section, musical tone generation section, etc. are interconnected by dedicated wiring, but in this invention, instead of these wiring, By providing a common information transmission path lO, it is possible to reduce the number of wiring lines and make the system multifunctional.

なお、21.25.31.33.35.37はそれぞれ
CPU20、CPU制御盤部24、鍵盤部30、音色制
御盤部32、楽音発生部34、表示盤部36と共通の情
報伝送路10との間に設けられるインターフェイス回路
であって、これら回路の動作はCPUおよび各端末機器
の動作に含めて記述する。
Note that 21.25.31.33.35.37 is the information transmission path 10 common to the CPU 20, CPU control panel section 24, keyboard section 30, tone control panel section 32, musical tone generation section 34, and display panel section 36, respectively. The operations of these circuits will be described together with the operations of the CPU and each terminal device.

第1図に示す装置において、共通の情報伝送路lOを経
て各機器間に入出力される各種の信号は、たとえば第1
表に示すように分類される。
In the apparatus shown in FIG. 1, various signals input and output between each device via a common information transmission path IO are
Classified as shown in the table.

第  1  表 第1表において、 信号SI2はCPU20からメモリ装置22へ与えられ
る書込みおよび読出しのための制御信号等を含み、 信号S16は後述の信号S31及びS41に基づいてC
PU20で発生され、楽音発生部34に供給される発音
制御、音色設定等の信号を含み、 信号S21はCP U 20へ送出するインストラクシ
ョン、データ等の信号を含み、 信号S31は1!盤部30でのキー操作に応じて発生さ
れる押鍵情報としてのキーのオンオフ信号およびキーデ
ータ信号を含み、 信号S41は音色制御盤部32での音色選択操作に応じ
て発生される音色選択情報としての音色データ信号を含
み、 信号332.342はメモリ装置22への直接アクセス
を意味し、 信号S36はキーのオンオフ信号およびキーデータ信号
を含み、 信号346は音色データ信号、を含み、信号38+はプ
ログラム選択、CPU直接制御等の信号を含む。
Table 1 In Table 1, the signal SI2 includes control signals for writing and reading given from the CPU 20 to the memory device 22, and the signal S16 is a control signal given to the memory device 22 from the CPU 20.
The signal S21 includes signals such as sound generation control and tone color settings generated by the PU 20 and supplied to the musical tone generator 34. The signal S21 includes signals such as instructions and data sent to the CPU 20. The signal S31 is 1! It includes a key on/off signal and a key data signal as key press information generated in response to a key operation on the panel section 30, and the signal S41 is a tone selection signal generated in response to a tone selection operation on the tone control panel section 32. The signals 332 and 342 represent direct access to the memory device 22, the signal S36 includes a key on/off signal and the key data signal, the signal 346 includes a timbre data signal, and the signal 38+ includes signals for program selection, CPU direct control, etc.

ここで、信号336及びS46はそれぞれ信号S31及
びS41と同様のものであるが、信号S3+及びS41
のようにCPU20へ供給されるものではなく、楽音発
生部34を直接的に制御するものであり、このような制
御モードもありうることを示している。
Here, signals 336 and S46 are similar to signals S31 and S41, respectively, but signals S3+ and S41
Rather than being supplied to the CPU 20 as in the example shown in FIG.

信号S rt、 S 371  S 4tはそれぞれ信
号S16゜S 36+ S 46と同様または類似のも
のである。
The signals S rt, S 371 S 4t are each similar to or similar to the signal S 16°S 36+S 46.

また、信号S18+ 338.34&はそれぞれcpu
20と端末機器(この場合は鍵盤部30と音色制御盤部
32)の状態表示のための信号である。表示盤部36に
おいて、適当種目の状態表示が行なわれていると、次の
段階における制御に便利である。
Also, the signals S18+ 338, 34 & are respectively cpu
20 and terminal equipment (in this case, the keyboard section 30 and the tone control panel section 32). If the status of the appropriate event is displayed on the display panel 36, it will be convenient for control in the next stage.

第1表において、信号S 12+  21+ S 5+
は、事務用データ処理または技術用データ処理を行なう
電子計算機においても同様な信号の授受が行なわれ、そ
の技術の分野においてはよく知られているのでその説明
は省略する。また、第1図に示す共通の情報伝送路10
には外部記憶装置および外部データ処理装置等が接続さ
れたり、1個の楽音発生部34の外に1個以上の楽音発
生部が接続されたりすることがあり、これらの諸装置と
第1表に示す諸装置の間に信号の授受が行なわれるが、
このうち外部記憶装置および外部データ処理装置に関連
する部分は一般の電子計算機技術の分野においてよく知
られているので、その説明を省略する。
In Table 1, the signals S 12+ 21+ S 5+
Similar signals are sent and received in electronic computers that process business or technical data, and are well known in the technical field, so a description thereof will be omitted. In addition, the common information transmission path 10 shown in FIG.
An external storage device, an external data processing device, etc. may be connected to the , or one or more musical tone generating sections may be connected in addition to one musical tone generating section 34, and these devices and Table 1 Signals are exchanged between the devices shown in
Since the portions related to the external storage device and the external data processing device are well known in the field of general computer technology, their explanation will be omitted.

これらの信号の形態と、その形態に応じて定められるべ
き共通の情報伝送路の形態とに関しては設計によって自
由に選択することができる。第1表に示す信号は、−数
的にはアドレス部、データ部、インストラクション部に
分けることができ、また、そのアドレス部は、第1表に
受信側として示す装置を指定するマシンアドレス、更に
楽音発生部のように複数個存在する場合はそのうちのい
ずれであるかを指定するデバイスアドレス、デバイス内
のどのレジスタに入力するかを指定するデータアドレス
等に分けられるが、たとえばこれらすべてを含む信号を
ビットシリアル形式で伝送するようにし、共通の情報伝
送路10を1回線の伝送路とすることもできる。このよ
うな場合、各装置に対し割込み(インタラブド)の優先
順位が定められていてその1畳先順位に従って割込みが
制御される。また、CPU20では、これらの割込みを
受けつけて処理するばかプログラムの変更(選択)、と
びこし、停止、待ち等を行なう。これらの事は、この発
明の電子楽器をどのように構成するか、設計によって定
めるべぎ事項であるからその説明を省略する。
The formats of these signals and the format of the common information transmission path that should be determined according to the formats can be freely selected by design. The signals shown in Table 1 can be numerically divided into an address part, a data part, and an instruction part, and the address part consists of a machine address specifying the device shown as the receiving side in Table 1, and If there are multiple units, such as a musical tone generator, they can be divided into device addresses that specify which one of them, data addresses that specify which register in the device to input, etc. For example, a signal that includes all of these It is also possible to transmit the information in a bit serial format and use the common information transmission path 10 as a single line transmission path. In such a case, an interrupt priority order is determined for each device, and the interrupt is controlled according to the priority order. The CPU 20 also changes (selects), jumps in, stops, waits for, etc. the stupid program that receives and processes these interrupts. These matters are matters to be determined based on the design of how the electronic musical instrument of the present invention is constructed, so their explanation will be omitted.

次に、楽音発生部34の構成について説明する。Next, the configuration of the musical tone generator 34 will be explained.

共通の情報伝送路lOから楽音発生部34に入力される
べき信号は、音色データ信号、キーデータ信号、および
キーのオンオフ信号すなわちエンベロープスタート、リ
リーススタートの信号である。楽音発生部34で発生さ
れる楽音の基本周波数はキーデータ信号によって定めら
れ、エンベロープスタート信号によってアタック波形が
開始され、リリーススタート信号によってリリース波形
が開始される。アタック波形およびリリース波形の形状
すなわち楽音振幅のエンベロープの形状と楽音波形とは
音色データ信号によって決定される。
The signals to be input to the musical tone generator 34 from the common information transmission path IO are a timbre data signal, a key data signal, and a key on/off signal, that is, an envelope start signal and a release start signal. The fundamental frequency of the musical tone generated by the musical tone generator 34 is determined by the key data signal, the attack waveform is started by the envelope start signal, and the release waveform is started by the release start signal. The shapes of the attack waveform and release waveform, that is, the shape of the musical tone amplitude envelope and the musical sound waveform, are determined by the timbre data signal.

ところで、エンベロープスタート(発音開始)からリリ
ースフィニツシユ(発音終了)までの全発音期間を通じ
て相似の楽音波形を発生するよりもアタックおよびリリ
ースの期間漸次楽音波形が変化し、したがってその高調
波含有率も変化した方がピアノ、ハープ、シロフォン等
の楽器に類似した好ましい音色の楽音が得られることが
知られており、この発明の電子楽器はプログラムの選択
、変更等により音色データ信号の変更が容易なためこの
ような楽音を発生するのに最も通している。
By the way, rather than generating similar musical sound waves throughout the entire sound generation period from the envelope start (the start of sound production) to the release finish (the end of sound production), the sound waveforms gradually change during the attack and release periods, and therefore their harmonic content also increases. It is known that musical tones with preferable tones similar to musical instruments such as pianos, harps, xylophones, etc. can be obtained by changing the timbre data signal. Therefore, it is the most effective way to generate such musical tones.

第2図は、楽音発生部34の一構成例を示すブロック線
図であって、同図において楽音発生部34に外部から与
えられる信号としては、次の(a)〜(e)のようなも
のがある。
FIG. 2 is a block diagram showing an example of the configuration of the musical tone generating section 34, and in the figure, the following signals (a) to (e) are applied to the musical tone generating section 34 from the outside. There is something.

(a)オンされたキーを示すキーコードこのキーコード
はオンされたキーの属するオクターブを示すオクターブ
コードOCCと、オクターブ内の12音名のうちオンさ
れたキーに対応する音名を示すノートコードNTCとを
含み、オクターブコードoCCはレジスタ800に、ノ
ートコードNTCはレジスタ500にそれぞれストアさ
れる。
(a) Key code indicating the turned-on key This key code includes an octave code OCC indicating the octave to which the turned-on key belongs, and a note code indicating the name of the note corresponding to the turned-on key among the 12 note names within the octave. The octave code oCC is stored in the register 800, and the note code NTC is stored in the register 500.

(b)楽音の初期波形を定めるためのパラメータコード
Al +  A2 i  A3 これらのコードAI 、A2 * A3はそれぞれレジ
スタ140.150.160にストアされる。
(b) Parameter codes Al + A2 i A3 for determining the initial waveform of musical tones These codes AI and A2 * A3 are stored in registers 140, 150, and 160, respectively.

(C)ディジタルフィルタ5の特性を定めるためのパラ
メータコードP、 Q これらのコードP、Qはそれぞれレジスタ520゜54
0にストアされる。
(C) Parameter codes P and Q for determining the characteristics of the digital filter 5 These codes P and Q are stored in registers 520° and 54, respectively.
Stored at 0.

(d)楽音波形を初期波形から循環波形に切換えるため
の楽音波形切換信号S この信号Sは1ビツトの18号であり、レジスタ21に
ストアされる。
(d) Tone waveform switching signal S for switching the tone waveform from the initial waveform to the cyclic waveform This signal S is 1-bit No. 18 and is stored in the register 21.

(e)楽音発生を可能にするための楽音出力イネーブル
信号E この信号Eは1ビツトの信号であり、レジスタ71にス
トアされる。
(e) Musical tone output enable signal E for enabling musical tone generation This signal E is a 1-bit signal and is stored in the register 71.

点線で囲んだブロック1は初期波形発生器を示し、第2
図の例ではそれぞれ異なった楽音波形を記憶させたメモ
リ11.12.13と乗算回路14.15゜16と加算
回路17とを有し、乗算のパラメータコードA+ 、A
2 、A3を変更することによって初期波形を任意に変
更できる。また、説明の便宜のための数値例として、メ
モリ11.12.13は楽音波形の1周期分を1,02
4等分した各サンプル点における振幅を表わす16ビツ
トのディジタルコード(正負の符号を含む)がそのサン
プル点の位相順の番地に記憶されているROM (読出
し専用メモリ)であるとする。
Block 1 surrounded by a dotted line represents the initial waveform generator, and the second
In the example shown in the figure, there are memories 11, 12, 13 storing different tone waveforms, multiplication circuits 14, 15, 16, and addition circuit 17, and multiplication parameter codes A+, A
2. By changing A3, the initial waveform can be changed arbitrarily. In addition, as a numerical example for convenience of explanation, the memories 11, 12, and 13 store one period of the musical sound waveform at 1.02
It is assumed that a 16-bit digital code (including positive and negative signs) representing the amplitude at each sample point divided into four equal parts is stored in a ROM (read-only memory) at an address in the phase order of the sample point.

2はセレクタ、3はファーストイン・ファーストアウト
型のメモリ(以下FIFOメモリと略記する)、4はシ
フトレジスタであり、点線で囲んだブロック5はディジ
タルフィルタである。シフトレジスタ4とフィルタ5と
はセレクタ2の出力である楽音波形をその1周期ごとに
フィルタ5を循環させてフィルタ5の特性によフて漸次
楽音波形を変化させるための回路であって、先出願にお
いて詳細に説明した所である。
2 is a selector, 3 is a first-in, first-out type memory (hereinafter abbreviated as FIFO memory), 4 is a shift register, and block 5 surrounded by a dotted line is a digital filter. The shift register 4 and the filter 5 are circuits for circulating the musical sound waveform output from the selector 2 through the filter 5 every cycle and gradually changing the musical sound waveform according to the characteristics of the filter 5. This is explained in detail in the application.

第2図に示す実施例では、フィルタ5はレジスタ51、
乗算回路52.54、加算回路53から構成される回帰
型1段のディジタルフィルタであり、パラメータコード
P、Qを変更することによってフィルタ5の特性を変化
させることかできる。例えば、パラメータコードPの値
pをp〉0とすることにより低次倍音は殆ど減衰せず、
高次倍音は時間と共に急激に減衰する特性にすることが
でき、ピアノ、ギター等の楽音を模擬することができる
。また、パラメータコードQの値qを種々設定すること
により利得や減衰率を制御でき、楽音の立上りや立下り
の波形をyc擬することができる。
In the embodiment shown in FIG. 2, the filter 5 includes a register 51,
It is a regression type one-stage digital filter composed of multiplication circuits 52, 54 and addition circuits 53, and the characteristics of the filter 5 can be changed by changing parameter codes P and Q. For example, by setting the value p of the parameter code P to p>0, low-order harmonics are hardly attenuated,
High-order overtones can be made to have a characteristic of rapidly attenuating over time, and can simulate the musical sounds of pianos, guitars, and the like. Further, by setting various values q of the parameter code Q, the gain and attenuation rate can be controlled, and the waveforms of the rise and fall of musical tones can be simulated by yc.

さらに、p=o、q=tとすることにより楽音の持続波
形を模擬することができる。
Furthermore, by setting p=o and q=t, it is possible to simulate the continuous waveform of a musical tone.

6はD/A変換器、出力アンプ、スピーカ等を含むサウ
ンドスジステム、7はFIFOメモリ3からの楽音信号
の出力を制御するゲート回路である。
6 is a sound system including a D/A converter, an output amplifier, a speaker, etc.; 7 is a gate circuit for controlling the output of musical tone signals from the FIFO memory 3;

80はクロックパルス発生器、81はアンドゲート、8
2は分周回路、83はアドレスカウンタ、85はアドレ
スカウンタ出力接続制御装置、86はフリップフロップ
、501は読出しクロックパルス発生器、502はFI
FOメモリ3の書込み制御のためのカウンタ、503は
FIFOメモリ3の読出し制御のためのカウンタである
80 is a clock pulse generator, 81 is an AND gate, 8
2 is a frequency dividing circuit, 83 is an address counter, 85 is an address counter output connection control device, 86 is a flip-flop, 501 is a read clock pulse generator, 502 is an FI
A counter 503 is a counter for controlling the writing of the FO memory 3, and a counter 503 is a counter for controlling the reading of the FIFO memory 3.

第2図に示す楽音発生部34の特徴は、楽音波形が一定
のクロック速度でFIFOメモリ3に書込まれ、書込み
クロック速度を超過しない範囲で可変なりロック速度で
読出されることと、オクターブコードoCCの制御によ
って楽音波形の1周期のサンプル点数又は語数を変更す
る語数制御手段を有することである。
The musical tone generator 34 shown in FIG. 2 is characterized in that musical waveforms are written into the FIFO memory 3 at a constant clock speed, and are read out at a variable or locked speed within a range that does not exceed the writing clock speed, and octave codes. The object of the present invention is to include word number control means for changing the number of samples or the number of words in one period of a musical tone waveform by controlling the oCC.

以下、数値例を用いて第2図の回路動作を説明する。The operation of the circuit shown in FIG. 2 will be explained below using numerical examples.

オクターブコードoCCのコード構成とそれが表わすオ
クターブ、および各オクターブ毎の楽音波形1周期のサ
ンプル点数の具体例を第2表に示す。
Table 2 shows specific examples of the chord structure of the octave code oCC, the octaves it represents, and the number of samples in one cycle of the musical sound waveform for each octave.

第  2 表 クロツタパルス発生器80は2.[MHz]近傍(以下
簡単のため2 [MHz]と略記する)の周波数のクロ
ックパルスφ。を発生する。この2[MHz]のクロッ
クパルスφ。は後述のように断続的にゲート81を通過
したものが初期波形発生器1、ディジタルフィルタ5及
びシフトレジスタ4のためのマスタクロツタパルスφG
として用いられる。ROMII、 12.13及びシフ
トレジスタ4は1語あたり16ビツトのデータをストア
するものであるから、マスタクロツタパルスφGは分周
回路82で1/16分周され、アドレスカウンタ83に
入力される。このようにして、アドレス変更とマスタク
ロツタパルスφ。どの同期をとることができる。
Table 2 Kurotsuta pulse generator 80 is 2. A clock pulse φ having a frequency near [MHz] (hereinafter abbreviated as 2 [MHz] for simplicity). occurs. This 2 [MHz] clock pulse φ. As will be described later, what passes through the gate 81 intermittently is the master clock pulse φG for the initial waveform generator 1, digital filter 5, and shift register 4.
used as. Since the ROM II, 12.13 and shift register 4 store 16 bits of data per word, the master clock pulse φG is divided by 1/16 by the frequency dividing circuit 82 and input to the address counter 83. . In this way, address change and master clock pulse φ. Which synchronization can be done.

楽音波形の1周期における語数はシフトレジスタ4にお
いても第2表に従って変更する必要があるので、その便
宜のためシフトレジスタ4はRAM (ランダム・アク
セス・メモリ)を用い、これをROMII、 12.1
3と同じ< 1,024語×16ビツトの容量とする。
The number of words in one cycle of the musical waveform must be changed in the shift register 4 according to Table 2, so for convenience, the shift register 4 uses a RAM (random access memory), which is stored in the ROM II.12.1
The capacity is the same as 3, < 1,024 words x 16 bits.

なお、レジスタ51は1語×16ビツトの容量である。Note that the register 51 has a capacity of 1 word x 16 bits.

アドレスカウンタ83はバイナリステージを10段縦続
接続したもので、その出力はアドレスカウンタ出力接続
制御装置85によって第3図に示すように接続される。
The address counter 83 has ten binary stages connected in cascade, and its output is connected by an address counter output connection control device 85 as shown in FIG.

第3図でc9 + C6r・・・C。In Figure 3, c9 + C6r...C.

coはMSBからLSBへの順に示すアドレスカウンタ
83の並列出力であり、a9.aa+・・・al+  
aoはROMII、 12.13の読出しアドレス及び
RAM4の書込み及び読出しアドレスの10ビツトをM
SBからLSBへの順に示す。
co is the parallel output of the address counter 83 shown in order from MSB to LSB, a9. aa+...al+
ao is the read address of ROMII, 12.13, and the 10 bits of the write and read address of RAM4.
They are shown in order from SB to LSB.

たとえば、オクターブコードOCCが論理r100Jに
あると09〜Coのうち下位6ビツトC6〜Coだけが
出力されて、これがa、〜aOの上位6ビツトa9〜a
4となり、a3以下のビットには°0°゛が出力される
ので、アドレスカウンタ83に入力パルスが1発大るご
とにROM11、12.13及びRAM4のアドレスは
16番地変化し、したがって読出されるアドレスは0.
1B。
For example, if the octave code OCC is at logic r100J, only the lower 6 bits C6-Co of 09-Co are output, and this is the upper 6 bits a9-a of a, ~aO.
4, and °0° is output to the bits below a3. Therefore, each time the input pulse to the address counter 83 increases by one, the addresses of ROM11, 12.13 and RAM4 change by 16, and therefore, the address is not read out. The address is 0.
1B.

32、・・・1008の64個となり、第2表に示すよ
うに語数64の楽音波形が演算されてFIFOメモリ3
に書込まれる。
32, . . . 1008, resulting in 64 pieces, and as shown in Table 2, a musical sound waveform with 64 words is calculated and stored in the FIFO memory 3.
written to.

FIFOメモリ3は64語×16ビツトのメモリで、書
込みは断続的に行なわれ、読出しは書込みクロックパル
スよりも周波数の低いクロックパルスで連続的に行なわ
れるものであって、読出しクロックパルス発生器501
の発生周波数はオクターブコードOCCに関係なく第3
表に示すとおりである。なお、読出しクロックパルス発
生器501は、この実施例では可変分周回路が用いられ
、りロックパルス発生器80からのクロックパルスφ。
The FIFO memory 3 is a 64 word x 16 bit memory in which writing is performed intermittently and reading is performed continuously using a clock pulse having a lower frequency than the write clock pulse.
The generation frequency of is the third regardless of the octave code OCC.
As shown in the table. Note that the read clock pulse generator 501 uses a variable frequency dividing circuit in this embodiment, and receives the clock pulse φ from the relock pulse generator 80.

をノートコードNTCに対応して分周し、12音名に対
応した1 2 fffl類の読出しクロックパルスを発
生するものである。
is frequency-divided in accordance with the note code NTC to generate 1 2 fffl type read clock pulses corresponding to 12 note names.

第  3  表 第3表の読出しクロックパルス周波数はいずれもFIF
Oメモリ3の書込みクロックパルスの周波数2 [MH
z]/16=125  [KHz]よりも低い周波数と
しである。FIFOメモリ3の書込み読出しの時間関係
の一例を第4図に示す。第4図のパルス波形P、。3は
読出し制御用カウンタ503のカウント変化を示し、カ
ウントが第0番(第64番)になるごとにフリップフロ
ップ86がカウンタ503からのP。Nパルスに応じて
セットされる。そして、フリップフロップ86の出力Q
からなる制御信号aaaは“1′°になり、アンドゲー
ト81をオン状態にする。これによりマスタクロツタパ
ルスφ。およびアドレスカウンタ出力接続制御装置85
からのアドレス信号が出力されるので、セレクタ2から
楽音波形を表わすコードデータが出力され、FIFOメ
モリ3に書込まれる。第4図のパルスP5゜2は分周回
路82からの出力パルスを示し、この出力パルスはFI
FOメモリ3の書込み制御のためにカウンタ502に供
給される。
Table 3 The read clock pulse frequencies in Table 3 are all FIF
O Memory 3 write clock pulse frequency 2 [MH
z]/16=125 [KHz]. An example of the time relationship between writing and reading of the FIFO memory 3 is shown in FIG. The pulse waveform P in FIG. 3 indicates a change in the count of the read control counter 503, and every time the count reaches number 0 (number 64), the flip-flop 86 receives P from the counter 503. Set in response to N pulse. Then, the output Q of the flip-flop 86
The control signal aaa becomes "1'° and turns on the AND gate 81. As a result, the master clock pulse φ and the address counter output connection control device 85
Since the address signal is output from the selector 2, code data representing a musical tone waveform is output from the selector 2 and written into the FIFO memory 3. Pulse P5°2 in FIG. 4 indicates the output pulse from the frequency divider circuit 82, and this output pulse is
It is supplied to the counter 502 for write control of the FO memory 3.

P 503のパルス周波数はP5゜2のパルス周波数よ
り低くしであるので%P5゜3の第1番のパルスがFI
FOメモリ3に到来した時には、P 502の第1番の
パルスにより少なくとも1語のデータがFIFOメモリ
3中に既に書込まれている。したがって、FIFOメモ
リ3の読出しは連続的に行なうことができる。かくして
、第4図の信号Ga1lが“1”の期間中は書込みなが
ら順次読出してゆくが、書込み制御用のカウンタ502
のカウントが第64番(第0番)となるとフリップフロ
ップ86がカウンタ502からのP。FPパルスに応じ
てリセットされる。その後P。、4パルスによってフリ
ップフロップ8Bが再びセットされるまでFIFOメモ
リ3への書込みは停止され、その間は読出しだけが行な
われる。
Since the pulse frequency of P503 is lower than that of P5゜2, the first pulse of %P5゜3 is FI.
When reaching the FO memory 3, at least one word of data has already been written into the FIFO memory 3 by the first pulse of P502. Therefore, reading from the FIFO memory 3 can be performed continuously. Thus, during the period when the signal Ga1l in FIG.
When the count reaches number 64 (number 0), flip-flop 86 receives P from counter 502. Reset in response to FP pulse. Then P. , 4 pulses, the writing to the FIFO memory 3 is stopped until the flip-flop 8B is set again, and only reading is performed during that time.

このようにしてFIFOメモリ3への書込みは64語毎
に中断され、たとえば第2表のA、〜Gl#のオクター
ブでは楽音波形の64/ 1.024の周期ごとに、A
、〜G、#のオクターブでは楽音波形の64/ 16の
周期ごとに書込みは中断するが、いずれの場合にも読出
しは連続して行なわれて楽音波形が発生される。
In this way, writing to the FIFO memory 3 is interrupted every 64 words, and for example, in the octave of A and ~Gl# in Table 2, the writing to the FIFO memory 3 is interrupted every 64/1.024 cycles of the musical waveform.
, ~G, and #, writing is interrupted every 64/16 cycles of the tone waveform, but in all cases, reading is performed continuously to generate the tone waveform.

また、たとえば読出しクロックパルス発生器501で発
生されるクロックパルスの周波数は同じ< 28.16
0 [K Hzコの場合でもオクターブコードOCCが
論理「000」にあるときはF I FOメモリ3から
読出される楽音波形の基本周波数は28.160 [K
 HZ l÷1,024 = 27.5 [HZ ]と
なり、オクターブコードoccか論理rllOJにある
ときは28.180 [K HZコ÷18= 1,76
0[+(zl となる。
Also, for example, the frequency of the clock pulses generated by the read clock pulse generator 501 is the same < 28.16
Even in the case of 0 [K Hz], when the octave code OCC is at logic "000", the fundamental frequency of the musical waveform read from the FIFO memory 3 is 28.160 [K
HZ l÷1,024 = 27.5 [HZ ], and when it is in the octave code occ or logic rllOJ, it becomes 28.180 [K HZ co÷18 = 1,76
0[+(zl).

FIFOメモリ3から出力される楽音波形のディジタル
コードはゲート回路7を介してサウンドシステム6に人
力されてアナログ電圧に変換され、必要な場合は更に種
々の演奏効果が付与されて発音される。サウンドシステ
ムに関しては従来よく知られているのでその説明は省略
する。
The digital code of the musical sound waveform outputted from the FIFO memory 3 is inputted to the sound system 6 via the gate circuit 7, where it is converted into an analog voltage, and if necessary, various performance effects are added and the sound is produced. Since the sound system is well known, a description thereof will be omitted.

以上の説明によって明らかなように、第2図に示す実施
例の楽音発生部34では、共通の情報伝送路lOを介し
て信号S、E、ノートコードNTC。
As is clear from the above description, the musical tone generator 34 of the embodiment shown in FIG. 2 receives the signals S, E, and note code NTC via the common information transmission path IO.

オクターブコードOCC,パラメータコードAr + 
A2 、A3 *  P 、 Qを与えることによって
押圧したキーに対応する基本周波数で希望の音色を有す
る楽音を発生することができる。また、これらデータの
性質上ノートコードNTC及びオクターブコードOCC
は楽音発生中一定とするが、パラメータコードP、Qは
適宜変化させてアタック部及びリリース部における好ま
しい楽音波形を形成するのが一般的な設計である。パラ
メータコードA+ 、A2 、A3はセレクタ2が切換
えられた後にこれを変化することは無意味であるが、セ
レクタ2の切換前において適宜変化させることもあり得
る。
Octave code OCC, parameter code Ar +
By giving A2, A3*P, and Q, it is possible to generate a musical tone having a desired timbre at the fundamental frequency corresponding to the pressed key. Also, due to the nature of these data, note code NTC and octave code OCC
is kept constant during musical tone generation, but the general design is to change the parameter codes P and Q as appropriate to form a preferable musical sound waveform in the attack and release sections. Although it is meaningless to change the parameter codes A+, A2, and A3 after the selector 2 is switched, they may be changed as appropriate before the selector 2 is switched.

データNTC及びoCCは一般には鍵盤部30から共通
の情報伝送路10に送出される。このデータの発生と送
出には従来公知のどのような回路を使ってもよいが、そ
の1例を第5図に示す。同図においてto、 30.3
1はそれぞれ第1図の同一符号と同一部分を表わし、共
通の情報伝送路lOはアドレスバスA (101) 、
データバスB (102)  コントロールバスC(1
03)に分けて示しである。
The data NTC and oCC are generally sent from the keyboard section 30 to the common information transmission path 10. Any conventionally known circuit may be used to generate and send this data, one example of which is shown in FIG. In the same figure, to, 30.3
1 represents the same reference numerals and the same parts in FIG. 1, and the common information transmission path lO is the address bus A (101),
Data bus B (102) Control bus C (1
03).

また、第5図の設計例では、インターフェース31は第
2表および第3表に示すようにオクターブコード0CC
8種類に対しノートコードN T C12種類すなわち
12X 8 = 96個のキーの状態を検出する容量を
具えているが、鍵盤部30に実装されているキーは61
個の場合を示している。
In addition, in the design example of FIG. 5, the interface 31 has an octave code of 0CC as shown in Tables 2 and 3.
Although it has the capacity to detect the states of 12 types of note codes NTC (12 x 8 = 96 keys) for 8 types, the number of keys mounted on the keyboard section 30 is 61.
The case of 1 is shown.

パルス発生器316は走査用クロックパルスφ1をカウ
ンタ312に供給し、パルス発生器316、カウンタ3
12、デコーダ31! 、オアゲート3!3、シフトレ
ジスタ314及びラッチ315でキー状態検出装置を構
成する。カウンタ312の最低位の4段は12進接続に
なっており、デコーダ311もそれに対応する接続にな
フている。また、デコーダ311の出力は、61個のキ
ーに対応する以外のものは省略することができる。この
ようなカウンタの構成にすると、ラッチ315の下位4
ビツトはそのままノートコードNTCを表わし、上位3
ビツトはそのままオクターブコードOCCを表わすこと
になる。
The pulse generator 316 supplies the scanning clock pulse φ1 to the counter 312, and the pulse generator 316 and the counter 3
12. Decoder 31! , the OR gate 3!3, the shift register 314, and the latch 315 constitute a key state detection device. The lowest four stages of the counter 312 have a hexadecimal connection, and the decoder 311 also has a corresponding connection. Furthermore, the outputs of the decoder 311 other than those corresponding to the 61 keys can be omitted. With such a counter configuration, the lower 4 of the latch 315
The bits directly represent the note code NTC, and the top 3
The bits directly represent the octave code OCC.

第5図に示す例では、キーは優先順位が付された接続に
なりていて、同時にオン状態となるキーのうち最優先順
位を有するキーCだけ端子301から論理″1″の電圧
が供給され、カウンタ312の計数値がそのキーに対応
する数値となった時に各々のアンドゲートを介してオア
ゲート313から論理1パのパルスが出力される。シフ
トレジスタ314はこれらのパルスを走査の1周期分だ
け遅延するためのもので、アンドゲート319の出力は
1回前の走査では存在しなかったパルスが今回の走査で
検出されたことを意味するのでキーオン時点を表わすパ
ルスKONすなわちエンベロープスタートの信号となる
。同様にアンドゲート320の出力は1回前の走査の時
は存在していたパルスが今回の走査では消滅したことを
意味するのでキーオフ時点を表わすパルスに02.すな
わちリリーススタートの信号となる。アンドゲート31
9の出力パルスK。Nでカウンタ312の出力をラッチ
315に入力すると、ラッチ315の出力はノートコー
ドNTC,オクターブコードOCCとなる。このラッチ
315の出力はアドレスデコーダ317に所定のアドレ
ス信号が到来するとゲート318を経て読出される。な
お、ゲート318にはさらにコントロールバスC(10
3)から与えられるゲートイネーブル信号GEが加えら
れている。
In the example shown in FIG. 5, the keys are connected in order of priority, and among the keys that are turned on at the same time, only key C, which has the highest priority, is supplied with a logic "1" voltage from the terminal 301. , when the count value of the counter 312 reaches a value corresponding to that key, a logic 1 pulse is output from the OR gate 313 via each AND gate. The shift register 314 is for delaying these pulses by one scan period, and the output of the AND gate 319 means that a pulse that was not present in the previous scan has been detected in the current scan. Therefore, it becomes a pulse KON representing the key-on point, that is, an envelope start signal. Similarly, the output of the AND gate 320 means that the pulse that was present in the previous scan has disappeared in the current scan, so the output of the AND gate 320 is changed to the pulse representing the key-off point. In other words, it becomes a release start signal. and gate 31
9 output pulse K. When the output of the counter 312 is input to the latch 315 at N, the output of the latch 315 becomes the note code NTC and the octave code OCC. The output of the latch 315 is read out through the gate 318 when a predetermined address signal arrives at the address decoder 317. Note that the gate 318 further includes a control bus C (10
A gate enable signal GE given from 3) is added.

タイマ39の一構成例を第6図に示す。同図に示すタイ
マではFIFOメモリ3の読出し制御用パルスPSO3
(第2図および第4図参照)を分周器386に、入力し
、この分周器386の分周出力データのうち所定のビッ
トをセレクタ387においてデータOCCにより選択し
、この選択したビットのパルスを用いて時間の測定を行
なうようにしているので、時間の測定単位は楽音波形の
1周期となる。第6図において、388はアドレスデコ
ーダ、389はカウンタ、390はコンパレータ、39
1゜392、393はそれぞれラッチ、394.395
.396はそれぞれアンドゲートであって、それぞれ対
応するラッチ391.392.393にデータラッチパ
ルスを送出し、そのときのアドレスデコーダ388の出
力内容に対応したラッチにデータバスB (102)の
データを入力する。ラッチ391にはオクターブコード
OCCが、ラッチ392にはカウンタ389の制御信号
が、ラッチ393には波形発生の各ステートの時間デー
タ1..12.13等が人力されるが、これに関しては
後節で説明する。
An example of the configuration of the timer 39 is shown in FIG. In the timer shown in the figure, the read control pulse PSO3 of the FIFO memory 3 is
(see Figures 2 and 4) is input to the frequency divider 386, a predetermined bit of the divided output data of the frequency divider 386 is selected by the data OCC in the selector 387, and the selected bit is Since time is measured using pulses, the unit of time measurement is one cycle of the musical sound waveform. In FIG. 6, 388 is an address decoder, 389 is a counter, 390 is a comparator, and 39
1°392, 393 are latches, 394.395 respectively
.. 396 are AND gates, which send data latch pulses to the corresponding latches 391, 392, and 393, and input data on the data bus B (102) to the latch corresponding to the output content of the address decoder 388 at that time. do. The latch 391 contains the octave code OCC, the latch 392 contains the control signal for the counter 389, and the latch 393 contains the time data 1 . .. 12, 13, etc. are manually generated, but this will be explained in a later section.

コンパレータ390はカウンタ389のデータとラッチ
393のデータが一致したとき第6図にP timer
として表わすパルスを出力し、CPU20に割込みをか
けるが、これに関しては後節で説明する。
When the data of the counter 389 and the data of the latch 393 match, the comparator 390 outputs P timer in FIG.
It outputs a pulse represented by , and interrupts the CPU 20, which will be explained in a later section.

以上、第2図について端末機器における信号利用の一例
を説明し、第5図について共通の情報伝送路10と鍵盤
部30との間の信号授受の一例を説明したが、CP U
 20.メモリ装置22と各種の端末機器間に共通の情
報伝送路10を介して信号を授受する機構は電子計算機
の技術分野においてはよく知られている所であり、第1
図に示す電子楽器においても同様の信号授受機構を用い
ることができるのでこれに関する説明は省略する。
Above, an example of signal use in the terminal equipment has been explained with reference to FIG. 2, and an example of signal exchange between the common information transmission path 10 and the keyboard section 30 has been explained with reference to FIG.
20. The mechanism for transmitting and receiving signals between the memory device 22 and various terminal devices via the common information transmission path 10 is well known in the technical field of electronic computers, and is
A similar signal exchange mechanism can be used in the electronic musical instrument shown in the figure, so a description thereof will be omitted.

また、端末機器からCPU20への割込み(インターラ
ブジョン)およびその処理も一般の電子計算機における
と同様に行なわれるので一般的な説明は省略するが、−
例として第5図のK ON +K OFFのパルスおよ
び第6図のptt□、のパルスによって割込みをかけ、
第7図T6に示す波形の楽音を発生する場合のフローチ
ャートを第8図に示す。
Furthermore, since the interruption (interruption) from the terminal device to the CPU 20 and its processing are performed in the same way as in a general computer, a general explanation will be omitted.
For example, an interrupt is generated by the K ON +K OFF pulse in Fig. 5 and the ptt□ pulse in Fig. 6,
FIG. 8 shows a flowchart for generating a musical tone having the waveform shown in FIG. 7 T6.

フローチャートにおける主プログラムは第8図の左端に
示すように音色制御盤部32の走査、表示盤部36のポ
ーリング等をくり返し行なうプログラムであって割込み
が終れば主プログラムに戻ることは申すまでもない。
The main program in the flowchart is a program that repeatedly performs scanning of the tone control panel 32, polling of the display panel 36, etc., as shown on the left end of FIG. 8, and it goes without saying that the program returns to the main program when the interrupt is completed. .

KOHによる割込みでは、アドレスデコーダ317(第
5図)にアドレスが送り出され、ゲート318を通して
ノートコードNTC及びオクターブコードOCCが読込
まれる。次に初期値としてステート=0が設定され、C
PU20はステート=0に対応するパラメータコードA
l 、A2 、A3、ノートコードNTC、オクターブ
コードOCC,パラメータコードP、Q(第8図にPr
 、Q+ で表わす)を送出すると共に、信号Sとして
はS=°“0”を送出し、したがってセレクタ2はこの
期間初期波形発生器1の出力をFIFOメモリ3に入力
する。また、時間データt1を送出してラッチ393(
第6図)に入力する一方、ラッチ392にカウンタ制御
信号を入力してカウンタリセット信号CR及びカウンタ
イネーブル信号CEに応じてカウンタ389をリセット
およびイネーブルする。
When interrupted by KOH, an address is sent to address decoder 317 (FIG. 5), and note code NTC and octave code OCC are read through gate 318. Next, state = 0 is set as the initial value, and C
PU20 has parameter code A corresponding to state = 0
l, A2, A3, note code NTC, octave code OCC, parameter code P, Q (Pr in Figure 8).
, Q+) and sends out S=°“0” as the signal S, so that the selector 2 inputs the output of the initial waveform generator 1 to the FIFO memory 3 during this period. Also, the time data t1 is sent to the latch 393 (
6), and a counter control signal is input to latch 392 to reset and enable counter 389 in response to counter reset signal CR and counter enable signal CE.

次に楽音出力イネーブル信号Eを送ってゲート回路7を
導通させ、FIFOメモリ3の出力をサウンドシステム
6へ供給する。これでにOHによる割込みは終り主プロ
グラムへ戻る。
Next, a musical tone output enable signal E is sent to make the gate circuit 7 conductive, and the output of the FIFO memory 3 is supplied to the sound system 6. This ends the OH interrupt and returns to the main program.

次に、カウンタ389が時間データt1に対応した計数
値になると、コンパレータ390からパルスPtl。、
rが出力してP tlm。による割込みが発生する。P
 tlmarによる割込みのときは、ステートがどの値
にあるかが判断された後ステートが1だけ進められ、ス
テート=1となると、信号SはS=”1°゛とし、セレ
クタ2はフィルタ5を循環した楽音波形をFIFOメモ
リ3に入力し、先のKOHの割込みによって入力されて
いるパラメータコードP+ 、Q+ によって第7図に
ステート1で示すような波形を発生する。また、時間デ
ータt2を送出してラッチ393に入力し、前回同様に
カウンタ389をリセットおよびイネーブルした後主プ
ログラムへ戻る。
Next, when the counter 389 reaches a count value corresponding to the time data t1, the comparator 390 outputs a pulse Ptl. ,
r outputs P tlm. An interrupt occurs. P
In the case of an interrupt by tlmar, the state is advanced by 1 after determining which value the state is at, and when the state = 1, the signal S is set to S = "1°", and the selector 2 circulates through the filter 5. The generated musical sound waveform is input to the FIFO memory 3, and a waveform as shown in state 1 in FIG. is input into the latch 393, and the counter 389 is reset and enabled in the same way as before, and then the process returns to the main program.

次に、カウンタ389が時間データt2に対応した計数
値になると、コンパレータ390からパルスPtll1
1.rが出力してP timarによる割込みが発生し
、ステートに1が加算されてステート=2となり、それ
に相当するパラメータコードP、Q(第8図にP2.Q
2で表わす)が送出され、第7図にステート2で示す波
形が発生する。また、タイマ39をディスエーブルして
おく(カウンタ389をディスエーブルしておく)ので
、時間の経過によってP timarによる割込みが発
生することはない。
Next, when the counter 389 reaches a count value corresponding to the time data t2, the comparator 390 outputs a pulse Ptll1.
1. r is output and an interrupt by P timar occurs, 1 is added to the state and the state becomes 2, and the corresponding parameter codes P and Q (P2.Q are shown in Figure 8).
2) is sent out, and a waveform shown as state 2 in FIG. 7 is generated. Furthermore, since the timer 39 is disabled (the counter 389 is disabled), an interrupt due to P_timar will not occur as time passes.

ステート=2のあと、K OFFによる割込みが発生し
、ステート=3にセットし、それに相当するパラメータ
コードP、Q(第8図ではP3.Q3で表わす)を送出
して第7図にステート3で示す波形を発生する。そして
、時間データt3をラッチ393に送出すると共にカウ
ンタ389をリセットおよびイネーブルした後主プログ
ラムに戻る。
After state = 2, an interrupt occurs due to K OFF, setting state = 3, sending out the corresponding parameter codes P and Q (represented by P3.Q3 in Figure 8), and changing to state 3 in Figure 7. Generates the waveform shown in . Then, after sending the time data t3 to the latch 393 and resetting and enabling the counter 389, the program returns to the main program.

次に、カウンタ389が時間データt、に対応した計数
値になると、P tlmarによる割込みがかかる。こ
のときステート=4となり、信号Eによりゲート回路7
を非導通にして楽音出力をディスエーブルして主プログ
ラムへ戻る。
Next, when the counter 389 reaches a count value corresponding to the time data t, an interrupt is generated by P_tlmar. At this time, the state becomes 4, and the signal E causes the gate circuit 7 to
becomes non-conductive, disables musical tone output, and returns to the main program.

したがって全体的には第7図に示すような波形が発生さ
れる。
Therefore, a waveform as shown in FIG. 7 is generated overall.

演奏者が音色を決定するパラメータコードAt、A2.
A3.P、Qの変更又はCPU制御プログラムの変更を
望む場合は、音色制御盤部32又はCPU制御盛部24
のスイッチを適宜操作すればよい。このようにすると、
割込みが行なわれ、変更操作に応じた楽音発生動作が行
なわれる。
Parameter codes At, A2 . for which the performer determines the tone color.
A3. If you wish to change P and Q or change the CPU control program, please use the tone control panel section 32 or the CPU control section 24.
All you have to do is operate the appropriate switches. In this way,
An interrupt is generated, and a musical tone generation operation is performed in accordance with the changing operation.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例による電子楽器を示すブロ
ック線図、 第2図は上記電子楽器における楽音発生部の一構成例を
示すブロック線図、 第3図は上記楽音発生部におけるアドレスカウンタ出力
の接続制御動作を説明するための接続図、 第4図は上記楽音発生部におけるFIFOメモリの書込
・読出動作を説明するためのタイムチャート、 第5図は上記電子楽器における鍵盤部とそのインターフ
ェイス回路の一構成例を示すブロック線図、 第6図は上記電子楽器におけるタイマの一構成例を示す
ブロック線図、 第7図は上記楽音発生部で発生される楽音波形の一例を
示す波形図、 第8図は主プログラムに対するいくつかの割込処理を示
すフローチャートである。 lO・・・共通の情報伝送路、20・・・CPU、22
・・・メモリ装置、24・・・CPU制御盤部、30・
・・鍵盤部、32・・・音色制御盤部、34・・・楽音
発生部、36・・・表示盤部、38・・・変復調回路、
39・・・タイマ。 出願人  ヤ マ ハ 株 式 会 社代理人  弁理
士 伊 沢 敏 昭
FIG. 1 is a block diagram showing an electronic musical instrument according to an embodiment of the present invention, FIG. 2 is a block diagram showing an example of the configuration of a musical tone generating section in the electronic musical instrument, and FIG. 3 is an address in the musical tone generating section. A connection diagram for explaining the connection control operation of the counter output, FIG. 4 is a time chart for explaining the write/read operation of the FIFO memory in the musical tone generation section, and FIG. FIG. 6 is a block diagram showing an example of the configuration of the interface circuit; FIG. 6 is a block diagram showing an example of the configuration of the timer in the electronic musical instrument; FIG. 7 is an example of a musical sound waveform generated by the musical tone generator. Waveform diagram FIG. 8 is a flowchart showing several interrupt processes for the main program. lO...Common information transmission path, 20...CPU, 22
...Memory device, 24...CPU control panel section, 30.
...Keyboard section, 32... Tone control board section, 34... Musical tone generation section, 36... Display board section, 38... Modulation/demodulation circuit,
39...Timer. Applicant Yamaha Co., Ltd. Company Agent Patent Attorney Toshiaki Izawa

Claims (1)

【特許請求の範囲】 1、データ遅延手段及びディジタルフィルタを閉ループ
状に接続したデータ循環路を有し、このデータ循環路を
介して波形データを循環させることにより循環中のデー
タを楽音波形データとして取出すようにした楽音合成装
置において、 前記ディジタルフィルタの特性を前記波形データの循環
中に経時的に変更制御する制御手段を設けたことを特徴
とする楽音合成装置。 2、楽音の発生開始及び減衰開始を指示する指示手段を
設け、前記制御手段では、前記指示手段による発生開始
指示に応答して楽音波形の振幅を増大させるべく前記デ
ィジタルフィルタの特性を制御すると共に、前記指示手
段による減衰開始指示に応答して楽音波形の振幅を減少
させるべく前記ディジタルフィルタの特性を制御するよ
うにしたことを特徴とする請求項1記載の楽音合成装置
[Claims] 1. It has a data circulation path in which a data delay means and a digital filter are connected in a closed loop, and by circulating waveform data through this data circulation path, the data being circulated can be converted into musical waveform data. What is claimed is: 1. A musical tone synthesizing apparatus, characterized in that the musical tone synthesizing apparatus is provided with a control means for changing and controlling the characteristics of the digital filter over time while the waveform data is being circulated. 2. An instruction means for instructing the start of generation and start of attenuation of musical tones is provided, and the control means controls the characteristics of the digital filter so as to increase the amplitude of the musical sound waveform in response to the instruction to start generation by the instruction means. 2. A musical tone synthesis apparatus according to claim 1, wherein characteristics of said digital filter are controlled to reduce the amplitude of a musical sound waveform in response to an instruction to start attenuation by said instruction means.
JP1090355A 1989-04-10 1989-04-10 Musical sound synthesizer Granted JPH0242491A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1090355A JPH0242491A (en) 1989-04-10 1989-04-10 Musical sound synthesizer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1090355A JPH0242491A (en) 1989-04-10 1989-04-10 Musical sound synthesizer

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP59213103A Division JPS60104997A (en) 1984-10-11 1984-10-11 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPH0242491A true JPH0242491A (en) 1990-02-13
JPH0421199B2 JPH0421199B2 (en) 1992-04-08

Family

ID=13996227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1090355A Granted JPH0242491A (en) 1989-04-10 1989-04-10 Musical sound synthesizer

Country Status (1)

Country Link
JP (1) JPH0242491A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0546168A (en) * 1990-11-01 1993-02-26 Internatl Business Mach Corp <Ibm> Method of applying filter to output from digital -filter and digital-music-synthesizer in midi synthesizer
US5403969A (en) * 1990-08-09 1995-04-04 Yamaha Corporation Electronic musical instrument of delayed feedback type

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5403969A (en) * 1990-08-09 1995-04-04 Yamaha Corporation Electronic musical instrument of delayed feedback type
JPH0546168A (en) * 1990-11-01 1993-02-26 Internatl Business Mach Corp <Ibm> Method of applying filter to output from digital -filter and digital-music-synthesizer in midi synthesizer

Also Published As

Publication number Publication date
JPH0421199B2 (en) 1992-04-08

Similar Documents

Publication Publication Date Title
US4184400A (en) Electronic musical instrument utilizing data processing system
US4184403A (en) Method and apparatus for introducing dynamic transient voices in an electronic musical instrument
US5428183A (en) Tone signal generating apparatus for performing a timbre change by storing a full frequency band in a wave memory
JPH0331273B2 (en)
US4205574A (en) Electronic musical instrument with variable pulse producing system
US4475429A (en) Electronic equipment with tone generating function
JPH0242491A (en) Musical sound synthesizer
JPS6093492A (en) Sound source unit
US4240318A (en) Portamento and glide tone generator having multimode clock circuit
JPH0332080B2 (en)
JPH0215298A (en) Musical sound synthesizing device
US4024786A (en) Electronic musical instrument using integrated circuit components
JPS6141193A (en) Electronic musical instrument
JP2968320B2 (en) Distortion device
JP2724591B2 (en) Harmonic coefficient generator for electronic musical instruments
JP2822960B2 (en) Sound signal generating device, sound signal generating method, and musical sound generating device including the same
JPH0750799Y2 (en) Tone phase synchronizer
JPS6230240Y2 (en)
KR930006617B1 (en) Multiple fill-in generators for electronic instruments capable of auto accompaniment
JP3381284B2 (en) Parameter writing device
JPH0468635B2 (en)
JPH0675574A (en) Tone control device for electronic musical instruments
JPH02179688A (en) Musical sound signal generating device
JPH045692A (en) Electronic musical instrument
JPH02134692A (en) Sound generating device