JP2893698B2 - Music signal generator - Google Patents

Music signal generator

Info

Publication number
JP2893698B2
JP2893698B2 JP1033535A JP3353589A JP2893698B2 JP 2893698 B2 JP2893698 B2 JP 2893698B2 JP 1033535 A JP1033535 A JP 1033535A JP 3353589 A JP3353589 A JP 3353589A JP 2893698 B2 JP2893698 B2 JP 2893698B2
Authority
JP
Japan
Prior art keywords
pitch
waveform data
read
loop
reading
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
JP1033535A
Other languages
Japanese (ja)
Other versions
JPH02213899A (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.)
KASHIO KEISANKI KK
Original Assignee
KASHIO KEISANKI KK
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 KASHIO KEISANKI KK filed Critical KASHIO KEISANKI KK
Priority to JP1033535A priority Critical patent/JP2893698B2/en
Priority to US07/471,835 priority patent/US5069105A/en
Priority to EP90101837A priority patent/EP0381159B1/en
Priority to DE69018844T priority patent/DE69018844T2/en
Publication of JPH02213899A publication Critical patent/JPH02213899A/en
Application granted granted Critical
Publication of JP2893698B2 publication Critical patent/JP2893698B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [発明の技術分野] この発明は、記憶手段に記憶した波形データに基づい
て楽音信号を発生する楽音信号発生装置に関する。
Description: TECHNICAL FIELD [0001] The present invention relates to a tone signal generating device that generates a tone signal based on waveform data stored in a storage unit.

[従来技術とその問題点] 従来から、例えばPCM方式のようにデジタル表現にて
波形データを記憶した波形メモリより、音高指定スイッ
チ等による音高指定操作により指定された音高データに
基づいて波形データを読み出して楽音を発生させる波形
読み出し方式の楽音信号発生装置が知られている。この
種の楽音信号発生装置を適用した電子楽器では、発音中
の楽音の音高をなめらかに変更させる場合、例えばレガ
ート奏法、ピッチベンド操作、ポルタメント操作、グリ
ッサンド操作などを行った場合、現在発音中の楽音(音
高変更直前の楽音)に対応して波形メモリより読み出し
ている波形データをそのまま用いて、単に読み出し速度
(読み出し周波数)のみを変更して音高を変更するよう
にしている。
[Prior art and its problems] Conventionally, based on pitch data specified by a pitch specifying operation using a pitch specifying switch or the like, from a waveform memory storing waveform data in digital representation such as a PCM method, for example. 2. Description of the Related Art There is known a musical tone signal generating apparatus of a waveform reading system for reading out waveform data and generating musical tones. In an electronic musical instrument to which this type of tone signal generator is applied, when the pitch of a tone being played is smoothly changed, for example, when legato playing, pitch bend operation, portamento operation, glissando operation, etc. are performed, the currently sounding tone is generated. Using the waveform data read from the waveform memory corresponding to the musical tone (the musical tone immediately before the pitch change), the pitch is changed by simply changing only the read speed (read frequency).

つまり、第9図(1)及び(2)に示すように、例え
ば音高C4の楽音をループスタートアドレスaとループエ
ンドアドレスbとの間をループさせて読み出して発音さ
せている最中に、レガート奏法にて音高C5の発音指示
(第9図(3)参照)がなされると、音高C4と同じルー
プ部の同一波形データがそのまま用いられて、ただ、読
み出し速度(読み出し周波数)が音高C5に対応して変更
されるだけである。したがって、レガート奏法の前後で
読み出す波形データが変わらないことにより、自然楽器
のように音域によって音色が自然に変化することがな
く、特に、ピッチベンド操作などにより音高の変更幅が
大きい程、音高変更の前後で不自然な状態となるという
問題点がある。
That is, as shown in FIG. 9 (1) and (2), for example, a tone pitch C 4 in the middle of reading by the loop by sound between the loop start address a and the loop end address b When sounding instruction (Figure 9 (3) refer) pitch C 5 at legato is made, the same waveform data of the same loop as the pitch C 4 is used as it is, however, the reading speed (reading frequency) is only is changed in correspondence to the pitch C 5. Therefore, since the waveform data read before and after the legato playing method does not change, the timbre does not naturally change depending on the musical range unlike a natural musical instrument. There is a problem that an unnatural state occurs before and after the change.

また上述した従来のこの種の波形読み出し方式楽音信
号発生装置では、例えば上記レガート奏法等にて発音中
の音高をなめらかに変更する場合は、ループ操作によっ
て波形データの読み出しを行っている際に、ループの途
中のいかなるポイントであっても、つまり、ループエン
ドアドレスやゼロクロスポイントに対応していなくて
も、直ちに読み出し速度を変更して音高を変更するよう
にしている。
Further, in the above-described conventional waveform readout tone signal generating apparatus of the type described above, for example, when the pitch during sound generation is smoothly changed by the legato playing technique or the like, the waveform data is read out by a loop operation. At any point in the middle of the loop, that is, even if it does not correspond to the loop end address or the zero cross point, the reading speed is immediately changed to change the pitch.

つまり、第9図(2)に示すように、例えば音高C4
楽音をループスタートアドレスaとループエンドアドレ
スbとの間をループさせて読み出している途中に、レガ
ート奏法にて音高C5の発音指示(第9図(3)参照)が
あると、直ちに読み出し速度を音高C5に対応させて変更
して、音高C4と同じループ部の波形データが読み出され
る。したがって音高が変更される際に全く異なる波形デ
ータがループ周期内で発生してしまい、その波形データ
が読み出されることから、不要な音色が一瞬発生してし
まうという問題点がある。
That is, as shown in FIG. 9 (2), for example, a tone pitch C 4 to the middle of reading between the loop start address a and the loop end address b by the loop, the pitch C in legato If there is 5 pronunciation instruction (Figure 9 (3)), and immediately the reading speed by changing in correspondence to the pitch C 5, the waveform data of the same loop portion and the pitch C 4 are read out. Therefore, when the pitch is changed, completely different waveform data is generated within the loop cycle, and the waveform data is read, so that there is a problem that an unnecessary timbre is instantaneously generated.

[発明の目的] この発明は上記のような問題点を解決するためになさ
れたもので、レガート奏法やピッチベンド操作、ポルタ
メント操作、グリッサンド操作など発音中の音高をなめ
らかに変更させるための奏法や操作がなされた際に、音
高変更の前後で自然な音色の変化がなされる楽音信号発
生装置を得ることを目的とする。
[Purpose of the Invention] The present invention has been made to solve the above-mentioned problems, and includes a legato playing method, a pitch bend operation, a portamento operation, a glissando operation and the like for smoothly changing the pitch during sounding. It is an object of the present invention to provide a tone signal generating device in which a natural tone changes before and after a pitch change when an operation is performed.

また、この発明は、上記レガート奏法など、発音中の
音高をなめらかに変更させるための奏法や操作がなされ
た際に、音高変更の際に一瞬不要な音色の変化が生じて
しまうことのない楽音信号発生装置を得ることを目的と
する。
Further, the present invention is directed to a technique in which, when a playing technique or an operation for smoothly changing a pitch being produced, such as the legato playing technique, is performed, an unnecessary change in tone color occurs momentarily when the pitch is changed. The aim is to obtain a musical tone signal generator that does not have any.

[発明の要点] この発明は上記のような目的を達成するため、記憶手
段に複数の異なる音域に対応して異なる波形データを記
憶し、発生中の楽音信号の音高を該音高が属する音域と
は異なる音域に属する新たな音高に変更するような音高
変更操作がなされると、ループエンドアドレスの検出ま
で待ってから記憶手段より読み出すべき波形データを新
たな音高の属する音域に対応する新たな波形データに切
り換えて、該新たな波形データを該新たな音高に対応す
る周波数に基づいて読み出して、音高とともに、音色も
変更させるようにしたことを要点とする。
[Gist of the Invention] In order to achieve the above object, the present invention stores different waveform data corresponding to a plurality of different tone ranges in a storage means, and the pitch of the tone signal being generated belongs to the pitch. When a pitch change operation is performed to change to a new pitch belonging to a different pitch from the pitch, the waveform data to be read from the storage means after waiting for the detection of the loop end address is changed to the pitch to which the new pitch belongs. The point is that the new waveform data is switched to the corresponding new waveform data, the new waveform data is read out based on the frequency corresponding to the new pitch, and the timbre is changed together with the pitch.

また、この発明は、波形データを記憶する記憶手段を
有し、発生中の楽音信号の音高を新たな音高に変更する
ような音高変更操作がなされると、記憶手段のループエ
ンドアドレスまたはゼロクロスポイントにおける波形デ
ータを読み出したタイミングにおいて、波形データを該
新たな音高に対応する周波数に基づいて読み出して、音
高を変更させるようにしたことを要点とする。
Further, the present invention has a storage means for storing waveform data, and when a pitch change operation for changing the pitch of a tone signal being generated to a new pitch is performed, the loop end address of the storage means is changed. Alternatively, at the timing when the waveform data at the zero crossing point is read, the waveform data is read based on the frequency corresponding to the new pitch, and the pitch is changed.

[実施例] 以下、図面を参照しながらこの発明の実施例について
述べる。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

<第1実施例> 構成 まずこの発明の楽音信号発生装置を適用した第1実施
例に係る電子管楽器の構成について、第1図に示す全体
回路ブロック図に基づいて述べる。CPU1はこの全体回路
ブロックに係る回路全体を制御するものであり、以下CP
U1の機能を中心にこの全体回路ブロックについて説明す
る。電圧変換回路3はブレスセンサ2によって検出した
ブレス情報を電圧値に変換する。そしてこの電圧値はA/
D変換器4においてデジタル値に変換された後デジタル
ブレス情報としてCPU1に与えられる。
First Embodiment Configuration First, the configuration of an electronic wind instrument according to a first embodiment to which the musical tone signal generating device of the present invention is applied will be described with reference to the overall circuit block diagram shown in FIG. The CPU 1 controls the entire circuit related to the entire circuit block.
The overall circuit block will be described focusing on the function of U1. The voltage conversion circuit 3 converts breath information detected by the breath sensor 2 into a voltage value. And this voltage value is A /
After being converted into a digital value by the D converter 4, the digital value is given to the CPU 1 as digital breath information.

また、CPU1は音高指定スイッチ部5に対する音高指定
操作により指定された音高データと、音色・効果スイッ
チ部6における音色切換スイッチ6−1の操作により選
択された音色に係る音色制御データおよび、ピッチベン
ダー6−1あるいはポルタメント設定スイッチ6−2等
の操作による音高(ピッチ)変更操作により付与される
ピッチ変更制御データとを受け取る。そしてCPU1はこれ
らの各種データに基づく楽音制御情報をPCM楽音発生装
置7に送出する。
The CPU 1 also controls the pitch data specified by the pitch specifying operation on the pitch specifying switch unit 5, the timbre control data related to the timbre selected by operating the timbre changeover switch 6-1 in the timbre / effect switch unit 6, and And pitch change control data given by a pitch change operation by operating the pitch bender 6-1 or the portamento setting switch 6-2. Then, the CPU 1 sends out tone control information based on these various data to the PCM tone generator 7.

PCM波形メモリ8は、第2A図に示すように例えばC4〜B
4、C5〜B5、……、C8〜B8の複数の音域ごとの記憶エリ
アに分けられて、第2B図に示す楽音信号波形図における
アタック部、ループ部に対応する複数のPCM波形データ
が予め記憶されている。なお、ループ部はループ長とし
て1周期に限らず複数周期分を記憶したものでもよい。
またPCM楽音発生装置7は、音域別の上記PCM波形データ
のループ部をループして(繰り返して)読み出すための
各1組のループスタートアドレスとループエンドアドレ
ス(例えばaとb、cとd……iとj)のデータ(第2B
図参照)および、エンベロープ信号を発生するためのエ
ンベロープ発生器とを有している。そしてCPU1より受け
取った音高データの属する音域に対応するPCM波形デー
タを、その音高データに対応する速度(周波数)で読み
出し、エンベロープ信号によるエンベロープ制御を施し
たデジタルデータを発生して、D/A変換器9に送出す
る。
The PCM waveform memory 8 stores, for example, C 4 to B as shown in FIG. 2A.
4, C 5 ~B 5, ...... , is divided into storage areas for a plurality of range of C 8 .about.B 8, attack portion of the tone signal waveform diagram shown in Figure 2B, a plurality of PCM corresponding to the loop portion Waveform data is stored in advance. The loop unit is not limited to one cycle, and may store a plurality of cycles as the loop length.
Further, the PCM tone generator 7 sets one set of loop start address and loop end address (for example, a and b, c and d...) For looping (repeatably) reading out the loop portion of the PCM waveform data for each range. ... i and j) data (2nd B
(See the figure) and an envelope generator for generating an envelope signal. Then, the PCM waveform data corresponding to the range to which the pitch data received from the CPU 1 belongs is read out at a speed (frequency) corresponding to the pitch data, and digital data subjected to envelope control by an envelope signal is generated. Send it to A converter 9.

例えば音高指定スイッチ部5の操作により音高C4を指
定してブレスセンサ2に対してブレス操作を加えてノー
トオンを行うと、PCM楽音発生装置7はCPU1よりのアド
レス指定に基づき、PCM波形メモリ8より、音高C4の属
する音域に対応する波形データの記憶エリア(第2A図参
照)をアクセスし、アタック部に続いてループスタート
アドレスaとループエンドアドレスb間のループ部をブ
レス操作に対応する所定時間tの間だけループして読み
出す(第3図(1)参照)。同様に音高C5を指定してブ
レス操作を加えてノートオンを行うと、PCM楽音発生装
置7は音高C5の属する音域に対応する波形データにおけ
るループスタートアドレスcとループエンドアドレスd
間のループ部をループして読み出す(第3図(2)参
照)。
For example, when the pitch C 4 is specified by operating the pitch specifying switch unit 5 and a breath operation is performed on the breath sensor 2 to perform note-on, the PCM musical tone generator 7 performs PCM based on the address specification from the CPU 1. from the waveform memory 8, and access the storage area of the waveform data corresponding to the tone range belongs pitch C 4 (see FIG. 2A), breath loop portion between the loop start address a and the loop end address b Following the attack portion The data is read out in a loop for a predetermined time t corresponding to the operation (see FIG. 3A). Doing note-on addition of breath operation specifying the pitch C 5 Similarly, PCM tone generator 7 loop start address c and the loop end address d of the waveform data corresponding to the tone range belongs pitch C 5
The loop portion between them is read out in a loop (see FIG. 3 (2)).

そして、D/A変換器9はPCM楽音発生装置7から入力し
たデジタルデータをアナログ信号に変換し、増幅器10に
て増幅した後スピーカ11を経て楽音として放音がなされ
る。
The D / A converter 9 converts the digital data input from the PCM musical tone generator 7 into an analog signal, amplifies it with an amplifier 10, and then emits it as a musical tone through a speaker 11.

ここで、例えば音高C4の楽音と発音中にレガート奏法
にて音高C5の楽音を発音させる場合(ピッチベンダーの
操作によりピッチベンド効果を付与する場合、あるいは
音色・効果スイッチ部6のスイッチ操作によってポルタ
メント効果を付与する場合も同様)を考える(第4図
(2)参照)。PCM楽音発生装置7は第4図(1)に示
すように、まず音高C4のノートオンに対応して、PCM波
形メモリ8における音高C4の属する音域に対応する波形
データを音高C4に基づく読み出し速度で波形データの読
み出しを行い、アタック部に続いてループ部をループス
タートアドレスaからループエンドアドレスbの間のル
ープによる読み出しを行う。そして、第4図(1)、
(2)に示すようにこのループ操作の途中においてレガ
ート奏法により音高C5のノートオンがなされると、現在
ループの途中の波形データの読み出しが終了した時点
で、つまり、ループエンドアドレスbにおける波形デー
タを読み出したタイミングにおいてPCM波形メモリ8に
おける音高C5の属する音域に対応する新たな波形データ
に切り換えて、その新たな波形データのループスタート
アドレスcとループエンドアドレスdの間を音高C5に基
づく読み出し速度でループして読み出す(第2B図参
照)。したがって、音高C4に対応してPCM波形メモリ8
から読み出す波形データと音高C5に対応してPCM波形メ
モリ8から読み出す波形データとは互いに異なる波形デ
ータとなる。
Here, for example, the case of playing the musical tone pitches C 5 at legato in pronounced musical tone pitches C 4 (if imparting pitch bend effect by operating the pitch bender or switch timbre and effect switch section 6, The same applies to the case where the portamento effect is applied by an operation) (see FIG. 4 (2)). As shown in PCM tone generator 7 4 (1), first in response to note-on of the tone pitch C 4, pitch waveform data corresponding to the tone range belongs pitch C 4 in PCM waveform memory 8 It reads the waveform data at a read speed based on the C 4, to read by the loop between the loop portion from the loop start address a loop end address b Following the attack portion. And FIG. 4 (1),
In the middle of this loop operation, as shown in (2) When note-on pitch C 5 by legato is made, at the time when the reading of the middle of the waveform data of the current loop is completed, i.e., the loop end address b is switched at the timing of reading the waveform data into the new waveform data corresponding to the tone range belongs pitch C 5 in PCM waveform memory 8, the pitch between the loop start address c and the loop end address d of the new waveform data loop reads the read speed based on C 5 (see FIG. 2B). Thus, PCM waveform memory 8 corresponding to the pitch C 4
Corresponding to the waveform data and tone pitch C 5 to read from the different waveform data from the waveform data read out from the PCM waveform memory 8.

次に、PCM楽音発生装置7の具体的回路構成の1例を
第5図に基づいて述べる。第5図において、ピッチデー
タレジスタPD1は音高指定スイッチ部5の音高指定操作
に基づくピッチデータをCPU1より受け取るレジスタであ
る。スタートアドレスレジスタSAは上記ピッチデータが
属する音域に対応する波形データを、PCM波形メモリ8
から読み出すためのスタートアドレス信号をCPU1より受
け取るレジスタである。
Next, an example of a specific circuit configuration of the PCM tone generator 7 will be described with reference to FIG. In FIG. 5, a pitch data register PD1 is a register that receives pitch data from the CPU 1 based on a pitch designation operation of the pitch designation switch unit 5. The start address register SA stores the waveform data corresponding to the range to which the pitch data belongs in the PCM waveform memory 8.
This register receives a start address signal for reading from the CPU 1 from the CPU 1.

またループスタートアドレスレジスタLSA1、およびル
ープエンドアドレスレジスタLEA1はそれぞれ、上記ピッ
チデータが属する音域に対応する波形データのループ部
をPCM波形メモリ8からループして読み出すためのルー
プスタートアドレス信号、およびループエンドアドレス
信号をCPUより受け取るレジスタである。
A loop start address register LSA1 and a loop end address register LEA1 are respectively provided with a loop start address signal for looping out the loop portion of the waveform data corresponding to the tone range to which the pitch data belongs from the PCM waveform memory 8, and a loop end address signal. This register receives the address signal from the CPU.

ゲートG1はスタートアドレスレジスタSAの出力側に設
けられてノートオン信号によって一瞬だけ開き、スター
トアドレスレジスタSAにセットされたスタートアドレス
信号をカレントアドレスレジスタCAに送る出力ゲートで
ある。ゲートG2は通常は開いており、インバータI1を介
したノートオン信号によって一瞬だけ閉じるゲートであ
る。
The gate G1 is an output gate provided on the output side of the start address register SA, which is opened for a moment by a note-on signal, and sends the start address signal set in the start address register SA to the current address register CA. The gate G2 is normally open, and is closed only momentarily by a note-on signal via the inverter I1.

比較器COはラッチ回路LAよりのカレントアドレス信号
を受け取るものであり、また、この比較器COは通常は信
号「1」を出力している。ゲートG3は通常、比較器COよ
りの信号「1」によって開いており、ラッチ回路LAより
のアドレス信号は通常開いているゲートG3およびG2を経
てカレントアドレスレジスタCAにフィードバックされ、
加算器ADに加えられて後述するように、ピッチデータレ
ジスタPD1にセットされたピッチデータと加算される。
The comparator CO receives a current address signal from the latch circuit LA, and normally outputs a signal “1”. The gate G3 is normally opened by the signal "1" from the comparator CO, and the address signal from the latch circuit LA is fed back to the current address register CA via the normally opened gates G3 and G2,
The data is added to the adder AD and added to the pitch data set in the pitch data register PD1, as described later.

ゲート4は、上記ピッチデータレジスタPD1の出力側
に設けられ、通常はインバータI2を介して加えられる制
御回路2よりの出力信号「0」によって開いており、ピ
ッチデータレジスタPD1にセットされたピッチデータを
加算器ADに送る出力ゲートである。加算器ADはカレント
アドレスレジスタCAにセットされたカレントアドレス信
号とゲートG4を経たピッチデータとを一定クロックにて
加算することにより、カレントアドレス信号をピッチデ
ータに基づく速度でインクリメントさせるための加算器
である。またこの加算器による累算結果は、順次ラッチ
回路LAに与えられる。ラッチ回路LAはこのようにピッチ
データに基づく速度で歩進したカレントアドレス信号を
波形データ読み出しアドレス信号としてPCM波形メモリ
8へ送出するための回路である。
The gate 4 is provided on the output side of the pitch data register PD1 and is opened by an output signal "0" from the control circuit 2 which is normally applied via an inverter I2. Is an output gate for sending to the adder AD. The adder AD is an adder for adding the current address signal set in the current address register CA and the pitch data passed through the gate G4 at a constant clock, thereby incrementing the current address signal at a speed based on the pitch data. is there. The result of accumulation by the adder is sequentially applied to the latch circuit LA. The latch circuit LA is a circuit for sending the current address signal stepped at a speed based on the pitch data to the PCM waveform memory 8 as a waveform data read address signal.

ゲートG5は、上記ループエンドアドレスレジスタLEA1
の出力側に設けられ、通常はインバータI2を介して加え
られる制御回路1よりの出力信号「0」によって開いて
おり、ループエンドアドレス信号を比較器COに送る出力
ゲートである。
Gate G5 is connected to the loop end address register LEA1
, Which is opened by an output signal "0" from the control circuit 1 which is normally applied via an inverter I2, and which sends a loop end address signal to the comparator CO.

比較器COは、カレントアドレス信号とループエンドア
ドレス信号とを比較するものであり、両信号が一致した
と判断されると一瞬「0」である一致信号が出力され
る。比較器COから一致信号「0」が出力されると、ゲー
トG3は一瞬閉じ、ゲートG6はインバータI4を介した一致
信号「0」によって一瞬開く。
The comparator CO compares the current address signal and the loop end address signal. When it is determined that the two signals match, a coincidence signal that is instantly “0” is output. When the match signal “0” is output from the comparator CO, the gate G3 closes momentarily, and the gate G6 opens momentarily by the match signal “0” via the inverter I4.

ゲートG7はループスタートアドレスレジスタLSA1の出
力側に設けられ、通常はインバータI3を介して加えられ
る制御回路1よりの出力信号「0」によって開いている
ゲートである。
The gate G7 is provided on the output side of the loop start address register LSA1, and is a gate which is opened by an output signal "0" from the control circuit 1 which is normally applied via the inverter I3.

ゲートG6は上述したように比較器COからインバータI4
を介した一致信号を受けて開き、通常開いているゲート
G2を経てループスタートアドレスレジスタLSA1又はルー
プスタートアドレスレジスタLSA2に先にセットされてい
るループスタートアドレス信号を、波形データのループ
部のループ読み出しを開始させるループスタートアドレ
ス信号としてカレントアドレスレジスタCAに加える。
Gate G6 is connected from comparator CO to inverter I4 as described above.
The gate which is open when receiving the match signal via
The loop start address signal previously set in the loop start address register LSA1 or the loop start address register LSA2 via G2 is added to the current address register CA as a loop start address signal for starting loop reading of the loop portion of the waveform data.

以下、加算器ADによってカレントアドレス信号の歩進
がなされ、再び比較器COより一致信号「0」が出力され
るとカレントアドレスレジスタCAにループスタートアド
レス信号が加えられて、加算器ADにおいてゲートG4を経
たピッチデータと加算され、ループによる波形データの
読み出しのためのアドレス信号が歩進されて順次PCM波
形メモリ8へ送出される。
Thereafter, the current address signal is incremented by the adder AD, and when the match signal “0” is output again from the comparator CO, a loop start address signal is added to the current address register CA, and the gate G4 Is added to the pitch data which has passed through the step (a), and an address signal for reading the waveform data by the loop is advanced and sequentially sent to the PCM waveform memory 8.

ピッチデータレジスタPD2はピッチデータをCPU1より
受け取るレジスタである。
The pitch data register PD2 is a register that receives pitch data from the CPU1.

ゲートG8は、上記ピッチデータレジスタPD2の出力側
に設けられ、通常は制御回路2の出力段のフリップフロ
ップには「0」がラッチされており、その出力信号
「0」によって閉じている出力ゲートである。
The gate G8 is provided on the output side of the pitch data register PD2. Normally, "0" is latched in the flip-flop at the output stage of the control circuit 2, and the output gate closed by the output signal "0". It is.

制御回路2はCPU1よりピッチ変更指示信号を受け取る
と、その入力段A2のフリップフロップがセットされて信
号「1」を出力し、また制御回路2はインバータI4を介
して比較器COより一致信号を受け取るとその入力段B2の
フリップフロップがセットされて信号「1」を出力す
る。つまり、制御回路2はまず上記ピッチ変更信号を受
け取り、かつその後上記一致信号を受け取った瞬間にそ
の出力段のフリップフロップが信号「1」をラッチし、
次に入力段A2のフリップフロップをリセットする。
When the control circuit 2 receives the pitch change instruction signal from the CPU 1, the flip-flop of the input stage A2 is set to output a signal "1", and the control circuit 2 outputs a coincidence signal from the comparator CO via the inverter I4. Upon receipt, the flip-flop of the input stage B2 is set and outputs a signal "1". That is, the control circuit 2 first receives the pitch change signal, and then, at the moment when the coincidence signal is received, the flip-flop of the output stage latches the signal “1”,
Next, the flip-flop of the input stage A2 is reset.

すると、ゲートG4は閉じ、ゲートG8は開くことにな
り、ピッチデータレジスタPD2より変更後のピッチデー
タが加算器ADに加えられ、カレントアドレス信号は新し
いピッチデータに基づく速度で歩進されることになる。
以下前述したように比較器COから一致信号「0」が出力
されるごとにカレントアドレスレジスタCAは、ループス
タートアドレスレジスタLSA1にセットされているループ
スタートアドレス信号をカレントアドレス信号として受
け取り、ループによる波形データの読み出しのためのア
ドレス信号がラッチ回路LAを経てPCM波形メモリ8へ送
られる。
Then, the gate G4 is closed and the gate G8 is opened, the changed pitch data from the pitch data register PD2 is added to the adder AD, and the current address signal is incremented at a speed based on the new pitch data. Become.
The current address register CA receives the loop start address signal set in the loop start address register LSA1 as a current address signal every time the match signal “0” is output from the comparator CO as described above, and An address signal for reading data is sent to the PCM waveform memory 8 via the latch circuit LA.

また、ループスタートアドレスレジスタLSA2およびル
ープエンドアドレスレジスタLEA2は、現在読み出し中の
波形データを異なる新たな波形データに変更して読み出
しを行う際に、PCM波形メモリ8における新しい波形デ
ータのループ部をループして読み出すためのループスタ
ートアドレス信号およびループエンドアドレス信号をCP
U1より受け取るレジスタである。
Further, the loop start address register LSA2 and the loop end address register LEA2 loop the new waveform data loop portion in the PCM waveform memory 8 when changing the waveform data currently being read to different new waveform data and performing reading. The loop start address signal and loop end address signal for reading
Register received from U1.

ゲートG9およびゲートG10は、それぞれループエンド
アドレスレジスタLEA2およびループスタートアドレスレ
ジスタLSA2の出力側に設けられ、通常は制御回路1より
の出力信号「0」によって閉じているゲートである。
The gate G9 and the gate G10 are provided on the output side of the loop end address register LEA2 and the loop start address register LSA2, respectively, and are normally closed by the output signal “0” from the control circuit 1.

制御回路1はCPU1より波形データ変更指示信号を受け
取るとその入力段A1のフリップフロップがセットされて
信号「1」を出力し、同じく一方制御回路1はインバー
タI4を介して比較器COより一致信号を受け取るとその入
力段B1のフリップフロップがセットされて信号「1」を
出力する。つまり、制御回路1はまず上記波形データ変
更指示信号を受け取り、かつその後上記一致信号を受け
取った瞬間にその出力段のフリップフロップが信号
「1」を出力し、合わせて入力段B1のフリップフロップ
をリセットする。
When the control circuit 1 receives the waveform data change instruction signal from the CPU 1, the flip-flop of the input stage A1 is set and outputs a signal "1". Similarly, the control circuit 1 outputs a match signal from the comparator CO via the inverter I4. Is received, the flip-flop of the input stage B1 is set to output a signal "1". That is, the control circuit 1 first receives the waveform data change instruction signal, and then, at the moment when the coincidence signal is received, the flip-flop of the output stage outputs the signal “1”, and the flip-flop of the input stage B1 is also activated. Reset.

すると、ゲートG5とゲートG7は閉じ、ゲートG9とゲー
トG10は開くことになり、ループエンドアドレスレジス
タLEA2よりゲートG9を経て比較器COにループエンドアド
レス信号が加えられ、ループスタートアドレスレジスタ
LSA2よりゲート10、ゲートG6およびゲートG2を経てルー
プスタートアドレス信号がカレントアドレスレジスタCA
に加えられる。
Then, the gate G5 and the gate G7 are closed, the gate G9 and the gate G10 are opened, and the loop end address signal is added to the comparator CO via the gate G9 from the loop end address register LEA2, and the loop start address register
The loop start address signal from the LSA2 passes through the gate 10, the gate G6, and the gate G2, and the current address register CA
Is added to

動作 以下この第1実施例に係る電子管楽器の動作につい
て、第6図に示すCPU1の発音中の楽音に対する音高変更
制御処理の動作を示すフローチャートに基づき、第5図
を参照しながら述べる。このフローチャートはメインフ
ロー(図示しない)に対してタイマインタラプトにより
割り込み動作するものである。
Operation Hereinafter, the operation of the electronic wind instrument according to the first embodiment will be described with reference to FIG. 5 based on the flowchart of FIG. 6 showing the operation of the pitch change control process for the musical tone being sounded by the CPU 1 shown in FIG. In this flowchart, a main flow (not shown) is interrupted by a timer interrupt.

まず現在楽音が発音中であるか否か、つまりPCM楽音
発生装置7が楽音信号を発生中であるか否かを判断し
(ステップS1)、YESと判断すると、現在発音中の楽音
に対し、レガート奏法、ピッチベンド操作などによるピ
ッチ変更の指示がなされたか否かを判断する(ステップ
S2)。ステップS2にてYESと判断するとPCM楽音発生装置
7におけるピッチデータレジスタPD1またはピッチデー
タレジスタPD2の内、現在使用中でない方のレジスタに
変更後のピッチに係るピッチデータをセットするととも
に、ピッチ変更指示信号を制御回路2に送出する(ステ
ップS3)。
First, it is determined whether or not the tone is currently being generated, that is, whether or not the PCM tone generator 7 is generating a tone signal (step S1). It is determined whether or not an instruction to change the pitch by legato playing, pitch bend operation, or the like has been given (step
S2). If YES is determined in step S2, the pitch data relating to the changed pitch is set in the register which is not currently being used, of the pitch data register PD1 or the pitch data register PD2 in the PCM tone generator 7, and a pitch change instruction is issued. A signal is sent to the control circuit 2 (step S3).

続いてPCM波形メモリ8に記憶されている波形データ
の内、ピッチ変更後のピッチに割り当てられている波形
と、ピッチ変更前の(現在発音中の楽音の)ピッチに割
り当てられている波形とが同じであるか否かを判断する
(ステップS4)。ステップS4にてYESと判断すると、ピ
ッチのみ変更し、波形は変更しなくてもよい場合であ
り、次に比較器COからの一致信号が出力されたか否かを
判断し(ステップS5)、NOと判断すると一致信号が出力
されてYESと判断するまでこのステップS5の処理を続
け、波形の読み出しがループエンドアドレスに進むまで
待機する。YESと判断すると、制御回路2の出力信号に
よって例えばピッチデータレジスタPD1の出力側に設け
られた出力ゲートG4を切り換えて閉じ、ピッチデータレ
ジスタPD2の出力ゲートであるゲートG8を開いて(ステ
ップS6)、発音中の楽音のピッチ変更を実行する。
Subsequently, among the waveform data stored in the PCM waveform memory 8, the waveform assigned to the pitch after the pitch change and the waveform assigned to the pitch before the pitch change (of the currently sounding tone) are shown. It is determined whether they are the same (step S4). If YES is determined in step S4, only the pitch is changed, and the waveform does not need to be changed. Next, it is determined whether or not a match signal is output from the comparator CO (step S5). When the judgment is made, the process of step S5 is continued until the coincidence signal is output and the judgment is YES, and the process waits until the reading of the waveform advances to the loop end address. If YES, the output signal of the control circuit 2, for example, the output gate G4 provided on the output side of the pitch data register PD1 is switched and closed, and the gate G8, which is the output gate of the pitch data register PD2, is opened (step S6). , Change the pitch of the tone being sounded.

次に、ピッチ変更に際してピッチに対応して割り当て
られている波形を変更する必要がある場合にのみ「1」
がセットされるようなフラグFにおいて、「1」が立っ
ているか否かを判断し(ステップS7)、いまはステップ
S4にてYESと判断した場合であって読み出すべき波形を
新しい波形に変更する必要がない場合であるからNOと判
断することになり、そのままメインフローにリータンす
る。
Next, "1" is set only when it is necessary to change the waveform assigned to the pitch when changing the pitch.
It is determined whether or not “1” is set in the flag F in which is set (step S7).
If it is determined to be YES in S4 and it is not necessary to change the waveform to be read to a new waveform, it is determined to be NO, and the flow directly returns to the main flow.

ステップS4においてNOと判断した場合には、ピッチ変
更に際して割り当てられている波形を異なる波形に切り
換える必要があり、ループスタートアドレスレジスタLS
A1またはループスタートアドレスレジスタLSA2の内、現
在使用中でない方のレジスタに切り換え後の新しい波形
に係るループスタートアドレス信号をセットする。ま
た、ループエンドアドレスレジスタLEA1またはループエ
ンドアドレスレジスタLEA2の内、現在使用中でない方の
レジスタに切り換え後の波形に係るループエンドアドレ
ス信号をセットする。さらにCPU1は、波形をも変更する
ための波形変更指示信号を制御回路1へ送出することに
なる(ステップS8)。
If NO is determined in step S4, it is necessary to switch the assigned waveform to a different waveform when changing the pitch, and the loop start address register LS
A1 or the loop start address register LSA2 is set to a register that is not currently in use and sets a loop start address signal for a new waveform after switching. Further, a loop end address signal relating to the waveform after switching is set to a register which is not currently being used, of the loop end address register LEA1 or the loop end address register LEA2. Further, the CPU 1 sends a waveform change instruction signal for changing the waveform to the control circuit 1 (step S8).

そして上記フラグFに「1」をセットしてピッチ変更
に対応して波形も変更する必要があることを明らかにし
た後(ステップS9)、上記ステップS5に進み以下、同様
にステップS6、S7の処理を行う。今度はステップS7にお
いて、YESと判断することになり、例えば、ループスタ
ートアドレスレジスタLSA1の出力ゲートであるゲートG7
を閉じ、ループスタートアドレスレジスタLSA2の出力ゲ
ートであるゲートG10を開き、さらにループエンドアド
レスレジスタLEA1の出力ゲートであるゲートG5を閉じ、
ループエンドアドレスレジスタLEA2の出力ゲートである
ゲートG9を開くようなゲートの切換制御をPCM楽音発生
装置7に対して行う(ステップS10)。そしてフラグF
をリセットして次回のピッチ変更の指示に備えた後(ス
テップS11)、メインフローにリターンする。
Then, after setting the flag F to "1" to clarify that the waveform must be changed in response to the pitch change (step S9), the process proceeds to step S5, and thereafter, similarly to steps S6 and S7. Perform processing. This time, in step S7, a determination of YES is made. For example, the gate G7 which is the output gate of the loop start address register LSA1 is output.
To open the gate G10, which is the output gate of the loop start address register LSA2, and further close the gate G5, which is the output gate of the loop end address register LEA1,
Gate control for opening the gate G9, which is the output gate of the loop end address register LEA2, is performed on the PCM tone generator 7 (step S10). And the flag F
Is reset to prepare for the next pitch change instruction (step S11), and the process returns to the main flow.

またステップS1にてNOと判断すると楽音の発音中では
ないのでそのままメインフローにリターンし、ステップ
S2にてNOと判断すると、発音中の楽音に対してピッチ変
更の指示がなされたのではない場合、つまりレガート奏
法などによるピッチ変更を行う必要がない場合なので、
やはりそのままメインフローにリターンする。
If NO is determined in step S1, since the musical tone is not being generated, the process directly returns to the main flow.
If NO is determined in S2, the pitch change is not instructed for the tone being sounded, that is, it is not necessary to change the pitch by legato playing etc.
After all, it returns to the main flow.

このように上記第1実施例に係る電子管楽器によれば
楽音の発音中に、その発音中の楽音の音高をなめらかに
変更させるレガート奏法、ピッチベンダーを用いたピッ
チベンド操作あるいはポルタメントスイッチを用いたポ
ルタメント奏法などによる演奏がなされた場合、PCM波
形メモリ8において変更されるピッチに割り当てられて
記憶されている波形を、ピッチの変更に伴って変更する
必要がないときは、現在読み出し中のループ部における
ループエンドアドレスまでの読み出しが終るのを待っ
て、ピッチのみを変更し、上記波形がピッチの変更に伴
って変更されるべきときは、同様にループエンドアドレ
スまでの読み出しが終るのを待って、ピッチのみではな
く波形も変更するようにした。
As described above, according to the electronic wind instrument according to the first embodiment, a legato playing method for smoothly changing the pitch of a musical tone being produced, a pitch bend operation using a pitch bender, or a portamento switch is used. When the performance by the portamento technique or the like is performed, if it is not necessary to change the waveform assigned to the pitch to be changed in the PCM waveform memory 8 and change the pitch in accordance with the change in the pitch, the loop section currently being read out may be used. Wait until the reading up to the loop end address is completed, and then change only the pitch. If the waveform should be changed along with the pitch change, similarly wait until the reading up to the loop end address is completed. , Not only the pitch but also the waveform was changed.

したがって、レガート奏法などなめらかなピッチの変
更を行う演奏に際して、第9図(2)に示したように一
瞬不要な音色の変化が生じてしまうことがなく、また、
ピッチの変更の前後において自然な音色の変化が得られ
る。
Therefore, in a performance in which a smooth pitch change such as legato playing is performed, unnecessary tone changes do not occur for a moment as shown in FIG. 9 (2).
A natural tone change is obtained before and after the pitch change.

<第2実施例> 構成 次にこの発明の楽音信号発生装置を適用した第2実施
例に係る電子管楽器の構成について述べるが、この電子
管楽器の全体回路ブロック図は前述した第1実施例に係
る第1図と同一であり、その説明は割愛する。またこの
第2実施例に係る電子管楽器におけるPCM楽音発生装置
7の具体的回路構成の1例を第7図に基づいて述べる
が、第7図において、前述した第1実施例に係る第5図
と同一の参照符号を付したものは同一の機能を有するも
のであり、以下異なる点についてのみ述べる。
<Second Embodiment> Configuration Next, the configuration of an electronic wind instrument according to a second embodiment to which the musical tone signal generating device of the present invention is applied will be described. The overall circuit block diagram of this electronic wind instrument relates to the above-described first embodiment. It is the same as FIG. 1, and the description is omitted. An example of a specific circuit configuration of the PCM tone generator 7 in the electronic wind instrument according to the second embodiment will be described with reference to FIG. 7. In FIG. 7, FIG. Those denoted by the same reference numerals have the same functions, and only different points will be described below.

この第7図に示す全体回路ブロック図が第5図に示す
前記第1実施例と異なる点は、ピッチデータレジスタPD
が1個しかなくその出力ゲートを有せず、したがってピ
ッチデータレジスタの出力ゲートを切換制御するための
制御回路が存在しないということである。
The difference between the overall circuit block diagram shown in FIG. 7 and the first embodiment shown in FIG.
And there is no control circuit for switching control of the output gate of the pitch data register.

すなわち、1個だけのピッチデータレジスタPDはCPU
より新たなピッチデータを受け取った瞬間に該新たなピ
ッチデータを、加算器ADに送出して、その新たなピッチ
データに基づいてカレントアドレスCAよりのカレントア
ドレス信号の歩進を直ちに実行させる。
That is, only one pitch data register PD is
At the moment when the new pitch data is received, the new pitch data is sent to the adder AD, and the increment of the current address signal from the current address CA is immediately executed based on the new pitch data.

動作 以下この第2実施例に係る電子管楽器の動作につい
て、第8図に示すCPU1の音高変更処理の動作を示すフロ
ーチャートに基づき、第7図を参照しながら述べる。第
8図において、前述した第1実施例に係る第6図と同一
の参照符号を付したものは同一の機能を有する処理ステ
ップを示すものであり、以下異なる点についてのみ述べ
る。
Operation Hereinafter, the operation of the electronic wind instrument according to the second embodiment will be described with reference to FIG. 7 based on a flowchart showing the operation of the pitch change processing of the CPU 1 shown in FIG. In FIG. 8, steps denoted by the same reference numerals as those in FIG. 6 according to the first embodiment indicate processing steps having the same functions, and only different points will be described below.

この第8図に示すフローチャートが第6図に示したフ
ローチャートと異なる点は、第6図におけるステップS6
の処理が存在しない点である。つまり、ピッチデータレ
ジスタの出力ゲート切換処理は行わないのであり、PCM
楽音発生装置7が楽音信号を発生中に、ステップS2にお
いてその楽音信号のピッチを変更する指示を受け取った
と判断すると、ステップS3において変更ピッチデータを
ピッチデータレジスタPDにセットして、その瞬間、ピッ
チの変更を実行する。そしてその後、前述したようなス
テップS7〜S11の処理を行い、必要に応じてループエン
ドアドレスのタイミングにおいて読み出すべき波形の変
更を実行する。
The difference between the flowchart shown in FIG. 8 and the flowchart shown in FIG. 6 is that step S6 in FIG.
Is not present. That is, the output gate switching process of the pitch data register is not performed, and the PCM
When the tone generator 7 determines that an instruction to change the pitch of the tone signal has been received in step S2 while the tone generator 7 is generating the tone signal, the changed pitch data is set in the pitch data register PD in step S3. Make changes. After that, the processing of steps S7 to S11 as described above is performed, and if necessary, the change of the waveform to be read at the timing of the loop end address is executed.

このように第2実施例に係る電子管楽器は、楽音の発
音中にピッチを変更させる演奏がなされた場合、常にそ
の瞬間直ちにピッチのみを変更し、PCM波形メモリ8に
おいて変更されるピッチに割り当てられている波形を、
ピッチの変更に伴って変更する必要があるときは、さら
にループエンドアドレスまでの読み出しが終了するのを
待って、波形も変更するようになっている。
As described above, in the electronic wind instrument according to the second embodiment, when a performance in which the pitch is changed during the tone generation is performed, only the pitch is always changed immediately at that moment, and the pitch is assigned to the changed pitch in the PCM waveform memory 8. Waveform
When the pitch needs to be changed in accordance with the change of the pitch, the waveform is also changed after reading to the loop end address is completed.

したがって、この第2実施例においても、ピッチの変
更の前後において自然な音色の変化が得られる。
Therefore, also in the second embodiment, a natural tone color change can be obtained before and after the pitch change.

<その他の実施例> 上記第1および第2実施例では、PCM波形メモリ8に
は、複数の音域にそれぞれ対応して複数のPCM波形デー
タをエリアを区分して記憶しているが、PCM波形メモリ
8には全ての音域に共通する唯一のPCM波形データを記
憶する構成としてもよい。そして、PCM楽音発生装置7
により楽音信号を発生中に、ピッチ変更を求める演奏が
なされた場合には、第2実施例に示したように直ちにピ
ッチの変更を行うように構成するのではなく、第1実施
例に示したようにループエンドアドレスまで波形データ
の読み出しがなされたタイミングまで待って、ピッチを
変更するように構成してもよい。このことによって、第
9図(2)に示したように一瞬不要な音色の変化が発生
してしまうということがなしにピッチの変更が行なわれ
る。なお、後述するように、上記ループエンドアドレス
の代わりにゼロクロスポイントを読み出したタイミング
においてピッチを変更するようにしてもよい。
<Other Embodiments> In the first and second embodiments, the PCM waveform memory 8 stores a plurality of PCM waveform data corresponding to a plurality of tone ranges by dividing the area. The memory 8 may be configured to store only one PCM waveform data common to all sound ranges. And the PCM musical tone generator 7
When a performance requesting a pitch change is performed while a tone signal is being generated, the pitch is not immediately changed as shown in the second embodiment, but the pitch is changed as shown in the first embodiment. As described above, the configuration may be such that the pitch is changed after waiting until the timing when the waveform data is read up to the loop end address. As a result, the pitch is changed without causing an unnecessary change in tone color for a moment as shown in FIG. 9 (2). As described later, the pitch may be changed at the timing when the zero cross point is read instead of the loop end address.

また、上記第1、第2実施例では、PCM楽音発生装置
7はPCM波形メモリ8から波形データを読み出す際、所
定のループ部を繰り返して(ループして)読み出すルー
プ読出機能を有するように構成しているが、例えば上記
のように、切換タイミングとしてゼロクロスポイントを
用いれば、楽音信号の発生を持続させるのに充分な時間
だけ波形データが記憶されているPCM波形メモリから波
形データを読み出すような構成であっても良い。
In the first and second embodiments, the PCM tone generator 7 has a loop reading function of repeatedly reading out (looping) a predetermined loop portion when reading waveform data from the PCM waveform memory 8. However, for example, as described above, if the zero cross point is used as the switching timing, it is possible to read out the waveform data from the PCM waveform memory in which the waveform data is stored for a time sufficient to maintain the generation of the tone signal. It may be a configuration.

また、上記第1、第2実施例では、発生中の楽音信号
の音高をその音高の属する音域とは異なる音域に属する
新たな音高に変更すべき音高変更操作がなされた場合
に、PCM楽音発生装置7がループして読み出すべき波形
データを、現在発生中の楽音信号の音高の属する音域に
対応する波形データから新たな音高の属する音域に対応
する新たな波形データに切り換える際に、ループエンド
アドレスにおける波形データを読み出したタイミングま
で待機してから切り換えるように構成している。しか
し、必ずしもこのような待機を行わなくても波形のつな
ぎをなめらかにできるならば、直ちに切り換えるように
してもよく、その場合はピッチ変更とともにす速く音色
の変化が得られ、かつカレントアドレス信号とループエ
ンドアドレス信号の一致を検出する比較器COが不要とな
り、PCM楽音発生装置7の構成が簡略化される。
Further, in the first and second embodiments, when a pitch change operation for changing the pitch of the tone signal being generated to a new pitch belonging to a range different from the range to which the tone belongs is performed. The PCM tone generator 7 switches the waveform data to be read out in a loop from the waveform data corresponding to the range to which the pitch of the tone signal currently being generated belongs to the new waveform data corresponding to the range to which the new pitch belongs. In this case, the switching is performed after waiting for the timing at which the waveform data at the loop end address is read. However, if it is possible to smoothly connect the waveforms without performing such a standby, the switching may be performed immediately. In this case, the timbre can be changed quickly with the change of the pitch, and the current address signal and The comparator CO for detecting the coincidence of the loop end address signal is not required, and the configuration of the PCM tone generator 7 is simplified.

また、上記第1、第2実施例では、前述したように、
新たな波形データに切り換える際に、ループエンドアド
レスにおける波形データを読み出したタイミングにおい
て波形データを切り換えるようにして構成しているが、
必ずしもループエンドアドレスまで待って切り換えるこ
とに限定する必要はなく、PCM楽音発生装置7がゼロレ
ベルの波形データを読み出したタイミング、つまり、ゼ
ロクロスポイントの波形データを読み出したタイミング
において波形データを切り換えるように構成してもよい
(先に第4図に示した例ではループエンドアドレスがゼ
ロクロスポイントの1つと一致している。)。ゼロクロ
スポイントの検出において、最も簡単な周知の方式とし
ては、PCM波形メモリ8における記憶エリアの隣り合う
2つのアドレスに対応する2つの波形データの正、負の
符号が反転したか否かを調べることにより行なえる。
In the first and second embodiments, as described above,
When switching to new waveform data, the waveform data is switched at the timing of reading the waveform data at the loop end address.
It is not always necessary to switch to waiting until the loop end address, and the waveform data is switched at the timing when the PCM tone generator 7 reads out the zero-level waveform data, that is, at the timing when the zero-cross point waveform data is read out. (In the example shown in FIG. 4, the loop end address matches one of the zero cross points.) In the detection of the zero crossing point, the simplest known method is to check whether the positive and negative signs of two waveform data corresponding to two adjacent addresses of the storage area in the PCM waveform memory 8 have been inverted. Can be done by

いま例えば、波形データが2の補数表現によるデジタ
ルデータであり、そのMSB(最高位の桁)が符号ビット
であり、「0」のときは正の数、「1」のときは負の数
を表わすものとする。そしてこの符号ビットをアドレッ
シングに対応してモニターして、1つ前のアドレスに対
応する符号ビットを例えばフリップフロップにラッチし
ておき、ラッチした符号ビットが「1」であって、今回
のアドレスに対応する符号ビットが「0」である場合に
はゼロクロスポイントを検出したことになる。
Now, for example, the waveform data is digital data in a two's complement representation, and its MSB (highest digit) is a sign bit. When "0" is a positive number, and when "1", a negative number is a negative number. Shall be expressed. This code bit is monitored in response to the addressing, and the code bit corresponding to the immediately preceding address is latched in, for example, a flip-flop. If the corresponding sign bit is "0", it means that a zero cross point has been detected.

また、上記実施例ではPCM方式により波形データを記
憶しているが、その他D−PCM方式等他のデジタル表現
による記録方式をも採用できる。
Further, in the above embodiment, the waveform data is stored by the PCM method, but a recording method by other digital expressions such as the D-PCM method can be adopted.

なお、上記実施例はいずれもこの発明を電子管楽器に
適用したものであるが、この発明は電子管楽器に限定さ
れず、電子鍵盤楽器、電子弦楽器など各種の電子楽器に
適用し得る。
In each of the above embodiments, the present invention is applied to an electronic wind instrument. However, the present invention is not limited to an electronic wind instrument, and can be applied to various electronic musical instruments such as an electronic keyboard instrument and an electronic string instrument.

[発明の効果] 以上述べたように、請求項1記載の発明は、発生中の
楽音信号の音高を、該音高の属する音域とは異なる音域
に属する新たな音高に変更すべき音高変更操作がなされ
た場合に、ループエンドアドレスの検出まで待ってから
上記読出手段が上記記憶手段より読み出すべき波形デー
タを上記発生中の楽音信号の音高の属する音域に対応す
る波形データから上記新たな音高の属する音域に対応す
る新たな波形データに切り換え、この切換手段によって
切り換えられた上記新たな波形データを、読出制御手段
によって上記新たな音高に対応する周波数に基づいて読
み出すよう上記読出手段を制御するようにした。
[Effect of the Invention] As described above, according to the first aspect of the present invention, the tone to be changed to a new tone belonging to a tone range different from the tone range to which the tone signal being generated belongs. When the pitch change operation is performed, the reading means waits until the detection of the loop end address and then reads the waveform data to be read from the storage means from the waveform data corresponding to the tone range to which the pitch of the tone signal being generated belongs. The waveform data is switched to new waveform data corresponding to the tone range to which the new pitch belongs, and the new waveform data switched by the switching means is read out by the reading control means based on the frequency corresponding to the new pitch. The reading means is controlled.

したがって、発音中の楽音の音高を変更させる音高変
更操作がなされた場合に、単に音高が変更されるだけで
はなく、音高変更の前後において自然な音色の変化も得
られて、特にこの音色の変化はループエンドアドレスに
対応するタイミングでなされるため、不要な音色が発生
してしまうことがなく、より好ましい自然な音色の変化
を伴なったレガート奏法、ピッチベンド操作などに対応
した演奏効果が得られる。
Therefore, when a pitch changing operation is performed to change the pitch of a musical tone being sounded, not only the pitch is changed, but also a natural tone change before and after the pitch change is obtained. This change in timbre is made at the timing corresponding to the loop end address, so that unnecessary timbres are not generated, and the performance corresponding to the legato playing method, pitch bend operation, etc. with more preferable natural timbre changes The effect is obtained.

また請求項3記載の発明は、上記読出手段が、発生中
の楽音信号の音高を新たな音高に変更すべき音高変更操
作がなされた場合に、その読出手段が上記記憶手段のル
ープエンドアドレスにおける波形データを読み出したタ
イミングにおいて、その読出手段が上記記憶手段より波
形データを上記新たな音高に対応する周波数に基づいて
読み出すよう該読出手段を制御する制御手段を有するも
のとした。
Further, in the invention according to claim 3, when the pitch change operation for changing the pitch of the tone signal being generated to a new pitch is performed, the read means sets the loop of the storage means. At the timing when the waveform data at the end address is read, the read means has control means for controlling the read means so as to read the waveform data from the storage means based on the frequency corresponding to the new pitch.

したがって、音高変更は、ループエンドアドレスに対
応するタイミングでなされるため、音高変更に際して、
一瞬不要な音色の楽音が発生してしまうことがなく、レ
ガート奏法やピッチベンド操作などに対応したなめらか
な音高の変更が可能な楽音信号発生装置が得られる。
Therefore, the pitch change is performed at the timing corresponding to the loop end address.
A tone signal generating device capable of smoothly changing the pitch corresponding to legato playing, pitch bend operation, etc., without generating an unwanted tone in a moment.

さらに請求項4記載の発明は、上記読出手段が、発生
中の楽音信号の音高を新たな音高に変更すべき音高変更
操作がなされた場合に、その読出手段が上記記憶手段よ
りゼロクロスポイントにおける波形データを読み出した
タイミングにおいて、その読出手段が上記記憶手段より
波形データを上記新たな音高に対応する周波数に基づい
て読み出すよう該読出手段を制御する制御手段を有する
ものとした。
Further, when the pitch change operation for changing the pitch of the musical tone signal being generated to a new pitch is performed by the read means, the read means causes the storage means to perform zero-crossing. At the timing when the waveform data at the point is read, the read means has control means for controlling the read means so as to read the waveform data from the storage means based on the frequency corresponding to the new pitch.

したがって、音高変更は、波形データのレベルがゼロ
であるゼロクロスポイントの読み出しに対応するタイミ
ングでなされるため、音高変更がループエンドアドレス
に対応するタイミングまで待つことなく迅速になされ、
かつ、一瞬不要な音色の楽音が発生してしまうことがな
く、レガート奏法やピッチベンド操作などに対応したな
めらかな音高の変更が可能な楽音信号発生装置が得られ
る。
Therefore, since the pitch change is performed at the timing corresponding to the reading of the zero cross point where the level of the waveform data is zero, the pitch change is quickly performed without waiting until the timing corresponding to the loop end address,
In addition, a musical tone signal generator capable of smoothly changing a pitch corresponding to a legato playing method, a pitch bend operation, or the like without generating an unwanted musical tone for a moment is obtained.

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

第1図ないし第6図はこの発明の第1実施例に係る電子
管楽器を説明するための図であり、第1図は電子管楽器
の全体回路ブロック図、第2A図はPCM波形メモリ8にお
ける音域別の記憶エリアを示す図、第2B図は音域別に記
憶されたPCM波形データに対応する楽音信号波形を示す
図、第3図は音高C4および音高C5にそれぞれ対応する速
度でループして読み出されたPCM波形データを説明する
ための図、第4図は発音中の音高C4の楽音を音高C5に音
高変更操作した際の音高変更と波形データの変更を説明
するための図、第5図はPCM楽音発生装置7の具体的回
路構成の1例を示す回路構成図、第6図はCPU1の発音中
の楽音に対する音高変更制御処理を説明するためのフロ
ーチャート、第7図はこの発明の第2実施例に係る電子
管楽器のPCM楽音発生装置7の具体的回路構成の1例を
示す回路構成図、第8図はこの第2実施例におけるCPU1
のピッチ変更制御処理を説明するためのフローチャー
ト、第9図は従来の楽音信号発生装置における音高変更
を説明するための図である。 1……CPU、5……音高指定スイッチ部、6……音色・
効果スイッチ部、6−2……ピッチベンダー、6−3…
…ポルタメント設定スイッチ、7……PCM楽音発生装
置、8……PCM波形メモリ。
1 to 6 are views for explaining an electronic wind instrument according to a first embodiment of the present invention. FIG. 1 is a block diagram of an entire circuit of the electronic wind instrument, and FIG. illustrates another storage area, Figure 2B shows a musical sound signal waveform corresponding to the PCM waveform data stored by range, Figure 3 is a loop at a rate corresponding to the tone pitch C 4 and pitch C 5 FIG. 4 is a diagram for explaining the PCM waveform data read and read, and FIG. 4 is a diagram illustrating a pitch change and a change in waveform data when a musical tone having a pitch C 4 being generated is changed to a pitch C 5. FIG. 5 is a circuit configuration diagram showing an example of a specific circuit configuration of the PCM musical tone generating device 7, and FIG. 6 is a diagram for explaining pitch change control processing for musical tones generated by the CPU 1. FIG. 7 is a flowchart of a PCM tone generator 7 for an electronic wind instrument according to a second embodiment of the present invention. Circuit diagram showing an example of a body circuit configuration, FIG. 8 is CPU1 in the second embodiment
FIG. 9 is a flowchart for explaining the pitch change in the conventional tone signal generating apparatus. 1 ... CPU, 5 ... Pitch designation switch section, 6 ... Tone /
Effect switch section, 6-2 ... Pitch bender, 6-3 ...
... Portamento setting switch, 7 PCM tone generator, 8 PCM waveform memory.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭59−231295(JP,A) 特開 昭62−3298(JP,A) 特開 昭62−121496(JP,A) 特開 昭62−86394(JP,A) 特開 昭61−177490(JP,A) 特公 昭63−62759(JP,B2) 特公 昭63−67196(JP,B2) ──────────────────────────────────────────────────続 き Continuation of front page (56) References JP-A-59-231295 (JP, A) JP-A-62-3298 (JP, A) JP-A-62-121496 (JP, A) JP-A-62 86394 (JP, A) JP-A-61-177490 (JP, A) JP-B-63-62759 (JP, B2) JP-B-63-67196 (JP, B2)

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数の音域毎に夫々異なる波形データを記
憶し、各波形データはアタック部とこれに続くループ部
の波形データとから成る波形データ記憶手段と、 音高指定操作により指定された音高が属する音域に対応
する波形データを、その指定された音高に対応する周波
数に基づいて順次アドレス指定して読出す読出し手段
と、 現在指定され波形データが読出されている最中の音高
を、他の音域に属する新たな音高に変更する音高変更操
作が成された際に、この音高変更操作が成された以降で
現在読出されている波形データの指定アドレスのループ
部のループエンドアドレスになったことを検出する検出
手段と、 前記検出手段での検出時に、前記読出し手段を制御し
て、現在前記読出し手段で読出されている波形データに
換えて、前記音高変更操作により変更された新たな音高
が属する音域に対応する波形データを新たに再指定し、
この新たに指定された波形データのループ部のループス
タートアドレスからループエンドアドレスまでを、変更
された新たな音高に対応する周波数で順次アドレスを指
定して前記読出し手段で読出すように制御する制御手段
と、 を備えたことを特徴とする楽音信号発生装置。
A different waveform data is stored for each of a plurality of tone ranges. Each waveform data is specified by a pitch data specifying operation by a waveform data storing means comprising an attack portion and a waveform data of a loop portion following the attack portion. Reading means for sequentially addressing and reading the waveform data corresponding to the pitch range to which the pitch belongs based on the frequency corresponding to the specified pitch; and a sound for which the currently specified waveform data is being read. When a pitch change operation for changing the pitch to a new pitch belonging to another range is performed, the loop portion of the designated address of the waveform data that is currently read after this pitch change operation is performed. Detecting means for detecting that the loop end address has been reached, and controlling the reading means upon detection by the detecting means to replace the waveform data currently read by the reading means with the sound data. Newly redesignated waveform data a new pitch changed by changing the operation corresponds to the range that belong,
Control is performed such that the address from the loop start address to the loop end address of the loop portion of the newly designated waveform data is sequentially designated at a frequency corresponding to the changed new pitch, and is read by the reading means. A tone signal generating device, comprising: control means;
【請求項2】アタック部とこれに続くループ部の波形デ
ータを記憶する波形データ記憶手段と、 前記波形データ記憶手段に記憶されている波形データ
を、音高指定操作により指定された音高に対応する周波
数に基づいて順次アドレス指定して読出す読出し手段
と、 現在指定され波形データが読出されている最中の音高
を、他の新たな音高に変更する音高変更操作が成された
際に、この音高変更操作が成された以降で現在読出され
ている波形データの指定アドレスがループ部のループエ
ンドアドレスになったことを検出する検出手段と、 前記検出手段での検出時に、前記読出し手段を制御し
て、現在前記読出し手段で読出されている波形データを
変更された新たな音高に対応する周波数で順次アドレス
指定して前記読出し手段で読出すよう制御する制御手段
と、 を備えたことを特徴とする楽音信号発生装置。
2. A waveform data storage means for storing waveform data of an attack part and a loop part following the attack part, and converting the waveform data stored in the waveform data storage means to a pitch designated by a pitch designation operation. A reading means for sequentially addressing and reading based on the corresponding frequency, and a pitch changing operation for changing the pitch at which the currently specified waveform data is being read to another new pitch are performed. Detecting means for detecting that the designated address of the waveform data currently being read after the pitch change operation has been performed has become the loop end address of the loop portion; Controlling the reading means so as to sequentially address the waveform data currently read by the reading means at a frequency corresponding to the changed new pitch and to read the waveform data by the reading means. Further comprising control means for, the musical tone signal generating apparatus according to claim.
【請求項3】波形データを記憶する波形記憶手段と、 前記波形データ記憶手段に記憶されている波形データ
を、音高指定操作により指定された音高に対応する周波
数に基づいて順次アドレス指定して読出す読出し手段
と、 現在指定され波形データが読出されている最中の音高
を、他の新たな音高に変更する音高変更操作が成された
際に、この音高変更操作が成された以降で現在読出され
ている波形データの指定アドレスがゼロクロスポイント
になったことを検出する検出手段と、 前記検出手段での検出時に、前記読出し手段を制御し
て、現在前記読出し手段で読出されている波形データを
変更された新たな音高に対応する周波数で順次アドレス
指定して前記読出し手段で読出すよう制御する制御手段
と、 を備えたことを特徴とする楽音信号発生装置。
3. A waveform storage means for storing waveform data, and the waveform data stored in the waveform data storage means are sequentially addressed based on a frequency corresponding to a pitch designated by a pitch designation operation. Reading means for reading and reading, and when a pitch changing operation for changing the pitch currently being read out of the designated waveform data to another new pitch is performed, this pitch changing operation is performed. Detecting means for detecting that the designated address of the waveform data which is currently read after the data has been formed has reached a zero crossing point; and when detecting by the detecting means, controlling the reading means, and Control means for sequentially addressing the read-out waveform data at a frequency corresponding to the changed new pitch and controlling the read-out means to read out the read-out waveform data. Generator.
JP1033535A 1989-02-03 1989-02-15 Music signal generator Expired - Lifetime JP2893698B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP1033535A JP2893698B2 (en) 1989-02-15 1989-02-15 Music signal generator
US07/471,835 US5069105A (en) 1989-02-03 1990-01-29 Musical tone signal generating apparatus with smooth tone color change in response to pitch change command
EP90101837A EP0381159B1 (en) 1989-02-03 1990-01-30 Musical tone signal generating apparatus
DE69018844T DE69018844T2 (en) 1989-02-03 1990-01-30 Device for generating musical tones.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1033535A JP2893698B2 (en) 1989-02-15 1989-02-15 Music signal generator

Publications (2)

Publication Number Publication Date
JPH02213899A JPH02213899A (en) 1990-08-24
JP2893698B2 true JP2893698B2 (en) 1999-05-24

Family

ID=12389254

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1033535A Expired - Lifetime JP2893698B2 (en) 1989-02-03 1989-02-15 Music signal generator

Country Status (1)

Country Link
JP (1) JP2893698B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012042842A (en) * 2010-08-23 2012-03-01 Kawai Musical Instr Mfg Co Ltd Electronic musical sound generator

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0756592B2 (en) * 1983-06-14 1995-06-14 ヤマハ株式会社 Electronic musical instrument
JPS61177490A (en) * 1985-02-02 1986-08-09 ロ−ランド株式会社 Sound source circuit for electronic musical instrument
JPS623298A (en) * 1985-06-28 1987-01-09 ヤマハ株式会社 Electronic musical instrument
JPS6286394A (en) * 1985-10-11 1987-04-20 ヤマハ株式会社 Generation of musical sound signal
JP2599361B2 (en) * 1985-11-22 1997-04-09 カシオ計算機株式会社 Waveform reading device
ZA874503B (en) * 1986-07-07 1987-12-28 Parker Pen (Benelux) B.V. Writing instrument
JPS6362759A (en) * 1986-09-04 1988-03-19 Brother Ind Ltd Printing apparatus

Also Published As

Publication number Publication date
JPH02213899A (en) 1990-08-24

Similar Documents

Publication Publication Date Title
US5847302A (en) Tone information processing device for an electronic musical instrument for generating sounds
US4502361A (en) Method and apparatus for dynamic reproduction of transient and steady state voices in an electronic musical instrument
JP3224002B2 (en) Musical tone generation method and waveform storage method
JPS616689A (en) Electronic musical instrument
JP2893698B2 (en) Music signal generator
JPS648835B2 (en)
JP2559209B2 (en) Music signal generator
US7297861B2 (en) Automatic performance apparatus and method, and program therefor
JP2660462B2 (en) Automatic performance device
JP2576615B2 (en) Processing equipment
JP3029339B2 (en) Apparatus and method for processing sound waveform data
JPS648837B2 (en)
JP2560817B2 (en) Waveform data reader
US5436404A (en) Auto-play apparatus for generation of accompaniment tones with a controllable tone-up level
JP3178176B2 (en) Automatic accompaniment device
JP3543203B2 (en) Electronic musical instrument
JP2579231Y2 (en) Electronic musical instrument
JPH1031486A (en) Method and device for performance data storage and reproducing
JP2591138B2 (en) Waveform data reading device
JP2621458B2 (en) Waveform reading device
JP3040583B2 (en) Apparatus and method for processing sound waveform data
JPH0713037Y2 (en) Electronic piano sound source circuit
JP2546202B2 (en) Waveform generator
JPS6145295A (en) Envelope control system
JPS59197089A (en) Automatic performer

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090305

Year of fee payment: 10

EXPY Cancellation because of completion of term