JP2006323166A - Musical sound generating device and program thereof - Google Patents

Musical sound generating device and program thereof Download PDF

Info

Publication number
JP2006323166A
JP2006323166A JP2005146652A JP2005146652A JP2006323166A JP 2006323166 A JP2006323166 A JP 2006323166A JP 2005146652 A JP2005146652 A JP 2005146652A JP 2005146652 A JP2005146652 A JP 2005146652A JP 2006323166 A JP2006323166 A JP 2006323166A
Authority
JP
Japan
Prior art keywords
waveform
modulated
sound
human voice
formant
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
JP2005146652A
Other languages
Japanese (ja)
Other versions
JP4591826B2 (en
Inventor
Hirotake Sato
博毅 佐藤
Masuo Yokota
益男 横田
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2005146652A priority Critical patent/JP4591826B2/en
Publication of JP2006323166A publication Critical patent/JP2006323166A/en
Application granted granted Critical
Publication of JP4591826B2 publication Critical patent/JP4591826B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a musical sound generating device for producing sounds of the same formant in different pitches or producing sounds of the same phrase in different formants while reducing the load of processing operation in a sound source. <P>SOLUTION: In the sound source 10, when mode value Ve is "2", since the waveform (modulated waveform) of each formant element having the pitch corresponding to keying is modulated by an envelope waveform data (modulating waveform) of fixed formant elements, the sound of the same formant is produced in different pitches. When mode value Ve is "3", analysis waveform data (modulated waveform) of fixed formant element read at the original pitch of the original waveform data is modulated by the envelope waveform data (modulating waveform) of each formant element extracted from original waveform data read at a reading speed Vms. Thus, by making the modulating waveform different according to performing operations, the sound of the same phrase is produced in different formant. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、ボコーダ音を発生する楽音発生装置および楽音発生プログラムに関する。   The present invention relates to a musical sound generating apparatus and a musical sound generating program for generating a vocoder sound.

人声音の変調波形と演奏操作に対応した楽器音の被変調波形とを発生させ、人声音の変調波形から抽出したフォルマント成分を、楽器音の被変調波形に変調して、あたかも人の声のような楽器音(ボコーダ音)を発生する楽音発生装置が知られており、この種の装置については、例えば特許文献1に開示されている。   Generates a modulated waveform of human voice sound and a modulated waveform of musical instrument sound corresponding to the performance operation, and modulates the formant component extracted from the modulated waveform of human voice sound into the modulated waveform of musical instrument sound, as if the human voice A musical sound generating device that generates such a musical instrument sound (vocoder sound) is known, and this type of device is disclosed in Patent Document 1, for example.

特開2004−279750号公報JP 2004-279750 A

ところで、上記特許文献1に開示の装置は、リアルタイムに周波数分析を行って人声音の変調波形からフォルマント成分を抽出するとともに、楽器音の被変調波形もリアルタイムに周波数分析を行う構成なので、音源における処理動作の負荷が高い場合は、同じフォルマントを異なるピッチで発音させたり、同じフレーズを異なるフォルマントで発音させることが出来ない、という問題がある。   By the way, the device disclosed in Patent Document 1 is configured to perform a frequency analysis in real time to extract a formant component from a modulation waveform of a human voice and to perform a frequency analysis of a modulated waveform of a musical instrument sound in real time. When the processing operation load is high, there is a problem that the same formant cannot be pronounced at different pitches, or the same phrase cannot be pronounced at different formants.

本発明は、このような事情に鑑みてなされたもので、音源における処理動作の負荷低減を図りつつ、同じフォルマントを異なるピッチで発音させたり、同じフレーズを異なるフォルマントで発音させることができる楽音発生装置および楽音発生プログラムを提供することを目的としている。   The present invention has been made in view of such circumstances, and it is possible to generate a musical sound that allows the same formant to be pronounced at different pitches or the same phrase to be pronounced at different formants while reducing the processing operation load on the sound source. An object is to provide a device and a musical tone generation program.

上記目的を達成するため、請求項1に記載の発明では、人声のフォルマント成分毎の変調波形を記憶する記憶手段と、演奏操作に対応して生成される楽音波形を、人声のフォルマント成分別に濾波して被変調波形を形成する被変調波形形成手段と、演奏操作に対応して前記記憶手段から読み出される人声のフォルマント成分毎の変調波形によって、前記被変調波形発生手段が形成する被変調波形を変調してボコーダ音を発生するボコーダ音発生手段とを具備することを特徴とする。   In order to achieve the above object, according to the first aspect of the present invention, a storage means for storing a modulation waveform for each formant component of a human voice, and a musical sound waveform generated corresponding to a performance operation are converted into a formant component of a human voice. Separately, a modulated waveform forming means for forming a modulated waveform by filtering, and a modulated waveform generated by the modulated waveform generating means by a modulated waveform for each formant component of a human voice read from the storage means in response to a performance operation. And vocoder sound generating means for generating a vocoder sound by modulating the modulation waveform.

上記請求項1に従属する請求項2に記載の発明では、前記ボコーダ音発生手段は、全鍵離鍵状態からの押鍵に応じて、前記記憶手段から読み出す変調波形を先頭にリセットすることを特徴とする。   In the invention according to claim 2 subordinate to claim 1, the vocoder sound generating means resets the modulation waveform read from the storage means to the head in response to a key depression from the all key release state. Features.

請求項3に記載の発明では、楽音波形を人声のフォルマント成分別に濾波した被変調波形を記憶する記憶手段と、演奏操作に対応して人声のフォルマント成分毎の変調波形を発生する変調波形発生手段と、演奏操作に対応して前記記憶手段から読み出される人声のフォルマント成分別に濾波した被変調波形を、前記変調波形発生手段が発生する人声のフォルマント成分毎の変調波形により変調してボコーダ音を発生するボコーダ音発生手段とを具備することを特徴とする。   According to a third aspect of the present invention, there is provided storage means for storing a modulated waveform obtained by filtering a musical sound waveform for each formant component of a human voice, and a modulation waveform for generating a modulation waveform for each formant component of a human voice corresponding to a performance operation. The modulated waveform filtered by the formant component of the human voice read from the storage means in response to the generating means is modulated by the modulation waveform for each formant component of the human voice generated by the modulation waveform generating means. Vocoder sound generating means for generating vocoder sound is provided.

上記請求項3に従属する請求項4に記載の発明では、前記変調波形発生手段は、全鍵離鍵状態からの押鍵に応じて、発生する変調波形を先頭にリセットすることを特徴とする。   The invention according to claim 4 that is dependent on claim 3 is characterized in that the modulation waveform generating means resets the generated modulation waveform to the top in response to a key depression from the all key release state. .

請求項5に記載の発明では、演奏操作に対応して生成される楽音波形を、人声のフォルマント成分別に濾波して被変調波形を形成する被変調波形形成処理と、予め記憶された人声のフォルマント成分毎の変調波形を演奏操作に対応して読み出し、読み出された人声のフォルマント成分毎の変調波形によって、前記被変調波形発生処理にて形成される被変調波形を変調してボコーダ音を発生するボコーダ音発生処理とをコンピュータで実行させることを特徴とする。   According to the fifth aspect of the present invention, a modulated waveform forming process for forming a modulated waveform by filtering a musical sound waveform generated corresponding to a performance operation for each formant component of a human voice, and a previously stored human voice The modulated waveform for each formant component of the vocoder is read out in response to the performance operation, and the modulated waveform formed in the modulated waveform generation process is modulated by the read modulated waveform for each formant component of the human voice. A vocoder sound generation process for generating sound is executed by a computer.

上記請求項5に従属する請求項6に記載の発明では、前記ボコーダ音発生処理は、全鍵離鍵状態からの押鍵に応じて、読み出す変調波形を先頭にリセットすることを特徴とする。   The invention according to claim 6 that is dependent on claim 5 is characterized in that the vocoder sound generation processing resets the modulation waveform to be read out to the top in response to a key depression from an all-key release state.

請求項7に記載の発明では、演奏操作に対応して人声のフォルマント成分毎の変調波形を発生する変調波形発生処理と、楽音波形を人声のフォルマント成分別に濾波した被変調波形を記憶しておき、演奏操作に対応して読み出した被変調波形を、前記変調波形発生手段が発生する人声のフォルマント成分毎の変調波形により変調してボコーダ音を発生するボコーダ音発生処理とをコンピュータで実行させることを特徴とする。   The invention according to claim 7 stores a modulation waveform generation process for generating a modulation waveform for each formant component of a human voice in response to a performance operation, and a modulated waveform obtained by filtering a musical sound waveform for each formant component of a human voice. A vocoder sound generation process for generating a vocoder sound by modulating a modulated waveform read in response to a performance operation with a modulation waveform for each formant component of a human voice generated by the modulation waveform generation means by a computer. It is made to perform.

上記請求項7に従属する請求項8に記載の発明では、前記変調波形発生処理は、全鍵離鍵状態からの押鍵に応じて、発生する変調波形を先頭にリセットすることを特徴とする。   The invention according to claim 8, which is dependent on claim 7, is characterized in that the modulation waveform generation processing resets the generated modulation waveform to the top in response to a key depression from an all-key release state. .

請求項1、5に記載の発明によれば、演奏操作に対応して生成される楽音波形を、人声のフォルマント成分別に濾波して被変調波形を形成する一方、予め記憶された人声のフォルマント成分毎の変調波形を演奏操作に対応して読み出し、読み出された人声のフォルマント成分毎の変調波形によって被変調波形を変調してボコーダ音を発生するので、音源における処理動作の負荷低減を図りつつ、同じフォルマントを異なるピッチで発音させることができる。   According to the first and fifth aspects of the invention, the musical sound waveform generated in response to the performance operation is filtered for each formant component of the human voice to form a modulated waveform, while the pre-stored human voice The modulation waveform for each formant component is read in response to the performance operation, and the vocoder sound is generated by modulating the modulated waveform with the read modulation waveform for each formant component of the human voice, reducing the processing operation load on the sound source The same formant can be pronounced at different pitches.

請求項2、6に記載の発明によれば、全鍵離鍵状態からの押鍵に応じて、読み出す変調波形を先頭にリセットするので、特別な操作を行うことなく変調波形のリセットを行うことができる。   According to the second and sixth aspects of the invention, the modulation waveform to be read is reset to the head in response to the key depression from the all key release state, so that the modulation waveform can be reset without performing a special operation. Can do.

請求項3、7に記載の発明によれば、楽音波形を人声のフォルマント成分別に濾波した被変調波形を記憶しておき、演奏操作に対応して読み出す被変調波形を、演奏操作に対応して発生する人声のフォルマント成分毎の変調波形により変調してボコーダ音を発生する。したがって、演奏操作に応じて変調波形を異ならせれば、音源における処理動作の負荷低減を図りつつ、同じフレーズを異なるフォルマントで発音させることができる。   According to the third and seventh aspects of the present invention, a modulated waveform obtained by filtering a musical sound waveform for each formant component of a human voice is stored, and a modulated waveform that is read out in response to a performance operation corresponds to the performance operation. A vocoder sound is generated by modulating with a modulation waveform for each formant component of the human voice generated. Therefore, if the modulation waveform is varied according to the performance operation, the same phrase can be pronounced with different formants while reducing the processing operation load on the sound source.

請求項4、8に記載の発明によれば、全鍵離鍵状態からの押鍵に応じて、発生する変調波形を先頭にリセットするので、特別な操作を行うことなく変調波形のリセットを行うことができる。   According to the fourth and eighth aspects of the present invention, the modulation waveform to be generated is reset to the head in response to the key depression from the all key release state, so that the modulation waveform is reset without performing any special operation. be able to.

以下、図面を参照して本発明の実施の一形態について説明する。
A.構成
(1)全体構成
図1は、実施の一形態による電子楽器の全体構成を示すブロック図である。この図において、鍵盤1は、押離鍵操作(演奏操作)に応じたキーオン/キーオフイベントおよび鍵番号、ベロシティ等からなる演奏情報を発生する。スイッチ部2は、楽器パネルに配設される各種スイッチを備え、操作されたスイッチに対応したスイッチイベントを発生する。本発明の要旨に係わるスイッチとして、スイッチ部2には動作モードを設定するモードスイッチ(不図示)が設けられている。このモードスイッチの操作により動作モードを表すモード値Veが「0」〜「4」のいずれかに設定される。これらモード値Veが意図する内容については追って述べる。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
A. Configuration (1) Overall Configuration FIG. 1 is a block diagram showing an overall configuration of an electronic musical instrument according to an embodiment. In this figure, the keyboard 1 generates performance information including key-on / key-off events, key numbers, velocities, and the like in response to pressing / releasing key operations (performance operations). The switch unit 2 includes various switches arranged on the musical instrument panel, and generates a switch event corresponding to the operated switch. As a switch according to the gist of the present invention, the switch unit 2 is provided with a mode switch (not shown) for setting an operation mode. By operating this mode switch, the mode value Ve representing the operation mode is set to any one of “0” to “4”. The contents intended by these mode values Ve will be described later.

CPU3は、主にスイッチ部2が発生するスイッチイベントに応じてスイッチ処理(後述する)や、鍵盤1から供給される演奏情報に応じて鍵盤処理(後述する)を実行して音源10に楽音形成を指示する。本発明の要旨に係わるCPU3の処理動作については追って詳述する。ROM4は、プログラムエリアおよびデータエリアを備える。ROM4のプログラムエリアには、CPU3が実行する各種制御プログラムが記憶される。各種制御プログラムとは、後述のメインルーチン、スイッチ処理および鍵盤処理を含む。ROM4のデータエリアには、複数種の波形パラメータWPが記憶される。波形パラメータWPの構成については後述する。   The CPU 3 mainly performs switch processing (described later) according to a switch event generated by the switch unit 2 and keyboard processing (described later) according to performance information supplied from the keyboard 1 to form a musical tone on the sound source 10. Instruct. The processing operation of the CPU 3 according to the gist of the present invention will be described in detail later. The ROM 4 includes a program area and a data area. Various control programs executed by the CPU 3 are stored in the program area of the ROM 4. The various control programs include a main routine, switch processing, and keyboard processing described later. A plurality of types of waveform parameters WP are stored in the data area of the ROM 4. The configuration of the waveform parameter WP will be described later.

RAM5は、ワークエリアおよびデータエリアを備える。RAM5のワークエリアには、CPU3が使用する各種レジスタ・フラグデータが一時記憶される。RAM5に設けられる主要レジスタの構成については追って述べる。表示部6は、CPU3から供給される表示制御信号に応じて楽器各部の動作状態やパラメータ設定状態などを表示する。MIDIインタフェース7は、CPU3の制御の下に、外部MIDI機器とMIDIデータ(MIDIメッセージ)をシリアル形式で入出力する。マイク8は入力される音声を音声信号に変換して出力する。A/D変換器9は、マイク8から入力される音声信号をA/D変換し、これを入力波形データとして出力する。A/D変換器9が出力する入力波形データは、CPU3の制御の下に、例えばRAM5のデータエリアに格納される。   The RAM 5 includes a work area and a data area. Various register / flag data used by the CPU 3 are temporarily stored in the work area of the RAM 5. The configuration of the main register provided in the RAM 5 will be described later. The display unit 6 displays an operation state, a parameter setting state, and the like of each unit of the musical instrument according to a display control signal supplied from the CPU 3. The MIDI interface 7 inputs and outputs external MIDI equipment and MIDI data (MIDI message) in a serial format under the control of the CPU 3. The microphone 8 converts the input voice into a voice signal and outputs it. The A / D converter 9 A / D converts the audio signal input from the microphone 8 and outputs it as input waveform data. The input waveform data output from the A / D converter 9 is stored in, for example, the data area of the RAM 5 under the control of the CPU 3.

音源10は、CPU3から供給される波形パラメータWPおよびモードスイッチ操作で設定されるモード値Veに対応した波形発生態様に従い、鍵盤1からの演奏情報に基づきCPU3が発生する楽音パラメータ(ノートオン/ノートオフコマンド等)に従って楽音形成する。音源10の構成については後述する。波形ROM11は、上述したROM4に格納された128種類の波形パラメータWP[0]〜WP[127]に対応する波形データを記憶する。サウンドシステム12は、音源10から出力される楽音出力outをアナログ形式の波形信号にD/A変換すると共に、D/A変換された波形信号から不要ノイズを除去する等のフィルタリングを施してから信号増幅してスピーカから発音させる。   The tone generator 10 follows the waveform generation mode corresponding to the waveform parameter WP supplied from the CPU 3 and the mode value Ve set by the mode switch operation, and the tone parameter (note on / note) generated by the CPU 3 based on the performance information from the keyboard 1. A musical tone is formed according to an off command. The configuration of the sound source 10 will be described later. The waveform ROM 11 stores waveform data corresponding to the 128 types of waveform parameters WP [0] to WP [127] stored in the ROM 4 described above. The sound system 12 performs D / A conversion on the musical sound output out output from the sound source 10 into an analog waveform signal, and performs filtering such as removing unnecessary noise from the D / A converted waveform signal before the signal. Amplify and sound from the speaker.

(2)音源10の構成
次に、図2を参照して音源10の構成を説明する。図2は音源10の構成を示すブロック図である。この図に示す音源10は、「波形発生部」、「選択部SEL」、「分析部」および「合成部」に大別される。
(2) Configuration of Sound Source 10 Next, the configuration of the sound source 10 will be described with reference to FIG. FIG. 2 is a block diagram showing the configuration of the sound source 10. The sound source 10 shown in this figure is roughly divided into a “waveform generator”, “selector SEL”, “analyzer”, and “synthesizer”.

波形発生部は、波形発生器OSC1〜OSC32から構成される。波形発生器OSC1〜OSC32は、それぞれ周知の波形メモリ読み出し方式にて構成され、CPU3から供給される波形パラメータWPにより指定される波形データ(後述の原波形データ、分析波形データおよびエンベロープ波形データのいずれか)を波形ROM11から読み出して波形発生する。これら波形発生器OSC1〜OSC32では、8つの波形発生器を1組とし、波形発生器OSC1〜OSC8、OSC9〜OSC16、OSC17〜OSC24、OSC25〜OSC32の4組を形成している。   The waveform generator is composed of waveform generators OSC1 to OSC32. Each of the waveform generators OSC1 to OSC32 is configured by a well-known waveform memory reading method, and waveform data specified by a waveform parameter WP supplied from the CPU 3 (any of original waveform data, analysis waveform data, and envelope waveform data to be described later) Is read from the waveform ROM 11 to generate a waveform. In these waveform generators OSC1 to OSC32, eight waveform generators are made into one set, and four sets of waveform generators OSC1 to OSC8, OSC9 to OSC16, OSC17 to OSC24, and OSC25 to OSC32 are formed.

選択部SELは、CPU3から供給されるモード値Veに従って波形発生器OSC1〜OSC32の各波形出力経路を選択する複数のセレクタから構成される。すなわち、選択部SELでは、モード値Veが「0」の場合には、全ての波形発生器OSC1〜OSC32の各波形出力を合成部の加算器K25に直接入力する経路を選択する。   The selection unit SEL includes a plurality of selectors that select each waveform output path of the waveform generators OSC1 to OSC32 according to the mode value Ve supplied from the CPU 3. That is, when the mode value Ve is “0”, the selection unit SEL selects a path for directly inputting the waveform outputs of all the waveform generators OSC1 to OSC32 to the adder K25 of the synthesis unit.

モード値Veが「1」の場合には、波形発生器OSC1の波形出力を分析部のバンドパスフィルタBPF M1〜BPF M8に入力すると共に、他の波形発生器OSC2〜OSC32の波形出力を合成部のバンドパスフィルタBPF C1〜BPF C8に入力する経路を選択する。   When the mode value Ve is “1”, the waveform output of the waveform generator OSC1 is input to the bandpass filters BPF M1 to BPF M8 of the analysis unit, and the waveform outputs of the other waveform generators OSC2 to OSC32 are combined. The path to be input to the band pass filters BPF C1 to BPF C8 is selected.

モード値Veが「2」の場合には、波形発生器OSC1〜OSC8の波形出力を分析部の加算器K1〜K8にそれぞれ入力すると共に、他の波形発生器OSC9〜OSC32の波形出力を合成部のバンドパスフィルタBPF C1〜BPF C8に入力する経路を選択する。   When the mode value Ve is “2”, the waveform outputs of the waveform generators OSC1 to OSC8 are input to the adders K1 to K8 of the analysis unit, respectively, and the waveform outputs of the other waveform generators OSC9 to OSC32 are combined. The path to be input to the band pass filters BPF C1 to BPF C8 is selected.

モード値Veが「3」の場合には、波形発生器OSC1の波形出力を分析部のバンドパスフィルタBPF M1〜BPF M8に入力すると共に、波形発生器OSC9〜OSC32の波形出力を合成部の加算器K9〜K16を介して当該合成部の加算器K17〜K24にそれぞれ入力する経路を選択する。なお、この場合、波形発生器OSC2〜OSC8は不使用になる。   When the mode value Ve is “3”, the waveform output of the waveform generator OSC1 is input to the bandpass filters BPF M1 to BPF M8 of the analysis unit, and the waveform outputs of the waveform generators OSC9 to OSC32 are added by the synthesis unit. The paths to be input to the adders K17 to K24 of the synthesis unit via the units K9 to K16 are selected. In this case, the waveform generators OSC2 to OSC8 are not used.

モード値Veが「4」の場合には、波形発生器OSC1〜OSC8の波形出力を分析部の加算器K1〜K8にそれぞれ入力すると共に、波形発生器OSC9〜OSC32の波形出力を合成部の加算器K9〜K16を介して当該合成部の加算器K17〜K24にそれぞれ入力する経路を選択する。   When the mode value Ve is “4”, the waveform outputs of the waveform generators OSC1 to OSC8 are input to the adders K1 to K8 of the analysis unit, respectively, and the waveform outputs of the waveform generators OSC9 to OSC32 are added to the synthesis unit. The paths to be input to the adders K17 to K24 of the synthesis unit via the units K9 to K16 are selected.

分析部は、バンドパスフィルタBPF M1〜BPF M8と、これらバンドパスフィルタBPF M1〜BPF M8の各後段にそれぞれ設けられるエンベロープ検出器ENVと、加算器K1〜K8とから構成される。バンドパスフィルタBPF M1〜BPF M8は、それぞれ人声のフォルマント周波数に対応させた通過周波数帯域を有し、波形発生器OSC1から入力される波形のフォルマント成分を抽出する。   The analysis unit is composed of bandpass filters BPF M1 to BPF M8, envelope detectors ENV provided in respective subsequent stages of these bandpass filters BPF M1 to BPF M8, and adders K1 to K8. Each of the bandpass filters BPF M1 to BPF M8 has a pass frequency band corresponding to the formant frequency of the human voice, and extracts a formant component of the waveform input from the waveform generator OSC1.

エンベロープ検出器ENVは、整流器を含む絶対値回路およびLPFを含む平滑化回路から構成され、バンドパスフィルタBPF M1〜BPF M8において各々抽出されるフォルマント成分のエンベロープレベルを検出して出力する。加算器K1〜K8は、波形発生器OSC1〜OSC8の波形出力とエンベロープ検出器ENVの出力とを加算して合成部の乗算器J1〜J8に供給する。加算器K1〜K8の各出力を変調波形と称す。   The envelope detector ENV includes an absolute value circuit including a rectifier and a smoothing circuit including an LPF, and detects and outputs an envelope level of a formant component extracted by each of the bandpass filters BPF M1 to BPF M8. The adders K1 to K8 add the waveform outputs of the waveform generators OSC1 to OSC8 and the output of the envelope detector ENV and supply them to the multipliers J1 to J8 of the synthesis unit. Each output of the adders K1 to K8 is referred to as a modulation waveform.

合成部は、加算器K9〜K16、バンドパスフィルタBPF C1〜BPF C8、加算器K17〜K24、乗算器J1〜J8および加算器K25を備える。加算器K9は、波形発生器OSC9、OSC17、OSC25の各波形出力を加算して加算器K17に供給する。加算器K10は、波形発生器OSC10、OSC18、OSC26の各波形出力を加算して加算器K18に供給する。加算器K11+n(n=0〜5)も同様に、波形発生器OSC11+n、OSC19+n、OSC27+nの各波形出力を加算して加算器K19+nにそれぞれ供給する。   The synthesis unit includes adders K9 to K16, band pass filters BPF C1 to BPF C8, adders K17 to K24, multipliers J1 to J8, and an adder K25. The adder K9 adds the waveform outputs of the waveform generators OSC9, OSC17, and OSC25 and supplies them to the adder K17. The adder K10 adds the waveform outputs of the waveform generators OSC10, OSC18, and OSC26 and supplies them to the adder K18. Similarly, the adder K11 + n (n = 0 to 5) adds the waveform outputs of the waveform generators OSC11 + n, OSC19 + n, and OSC27 + n, and supplies them to the adder K19 + n.

バンドパスフィルタBPF C1〜BPF C8は、上述した分析部のバンドパスフィルタBPF M1〜BPF M8と同一の通過周波数帯域を有し、モード値「1」であれば、波形発生器OSC2〜OSC32から入力される波形を、モード値「2」であれば、波形発生器OSC9〜OSC32から入力される波形を、8個の通過周波数帯域に分割濾波する。加算器K17〜K24は、加算器K9〜K16の各出力とバンドパスフィルタBPF C1〜BPF C8の各出力とを加算する。加算器K17〜K24の各出力を被変調波形と称す。乗算器J1〜J8は、加算器K17〜K24の各出力に対し、上述した分析部の加算器K1〜K8の各出力を乗算する。加算器25は、乗算器J1〜J8の各出力を加算して楽音出力outを発生する。   The bandpass filters BPF C1 to BPF C8 have the same pass frequency band as the bandpass filters BPF M1 to BPF M8 of the analysis unit described above, and are input from the waveform generators OSC2 to OSC32 if the mode value is “1”. If the waveform to be processed is the mode value “2”, the waveform input from the waveform generators OSC9 to OSC32 is divided and filtered into eight pass frequency bands. Adders K17 to K24 add the outputs of adders K9 to K16 and the outputs of bandpass filters BPF C1 to BPF C8. Each output of the adders K17 to K24 is referred to as a modulated waveform. The multipliers J1 to J8 multiply the outputs of the adders K17 to K24 by the outputs of the adders K1 to K8 of the analysis unit described above. The adder 25 adds the outputs of the multipliers J1 to J8 to generate a musical sound output out.

このように、音源10では、分析部から出力される変調波形により合成部で生成される被変調波形を変調(乗算)する構成を有し、こうした構成において分析部から出力される変調波形および合成部にて生成される被変調波形の各波形内容がCPU3から供給されるモード値Veに応じて選択されることに特徴があり、そうしたことが意図するところについては追って述べる。   As described above, the sound source 10 has a configuration for modulating (multiplying) the modulated waveform generated in the synthesizing unit with the modulation waveform output from the analyzing unit. In such a configuration, the modulated waveform output from the analyzing unit and the synthesized waveform are combined. This is characterized in that each waveform content of the modulated waveform generated by the unit is selected in accordance with the mode value Ve supplied from the CPU 3, and the intention of this will be described later.

(3)ROM4の構成
次に、図3を参照してROM4のデータエリアに格納される波形パラメータWPの構成について説明する。図3は、ROM4のデータエリアに128種類の波形パラメータWP[0]〜WP[127]が格納された一例を図示している。1つの波形パラメータWPは、波形ROM11に格納される原波形データの読み出し属性を表す原波形パラメータPt0〜Lea0と、波形ROM11に格納される分析波形データの読み出し属性を表す分析波形パラメータSa1[0]〜Lea1[7]と、波形ROM11に格納されるエンベロープ波形データの読み出し属性を表すエンベロープ波形パラメータSa2[0]〜Lea2[7]とから構成される。
(3) Configuration of ROM 4 Next, the configuration of the waveform parameter WP stored in the data area of the ROM 4 will be described with reference to FIG. FIG. 3 illustrates an example in which 128 types of waveform parameters WP [0] to WP [127] are stored in the data area of the ROM 4. One waveform parameter WP includes an original waveform parameter Pt0 to Lea0 that represents the read attribute of the original waveform data stored in the waveform ROM 11, and an analysis waveform parameter Sa1 [0] that represents the read attribute of the analysis waveform data stored in the waveform ROM 11. ~ Lea1 [7] and envelope waveform parameters Sa2 [0] ~ Lea2 [7] representing the read attribute of the envelope waveform data stored in the waveform ROM 11.

原波形パラメータPt0〜Lea0は、対応する原波形データのピッチを表すオリジナルピッチPt0、原波形データの読み出し開始アドレスSa0、ループ読み出し開始アドレスLsa0およびループ読み出し終了アドレスLea0から構成される。   The original waveform parameters Pt0 to Lea0 are composed of an original pitch Pt0 representing the pitch of the corresponding original waveform data, a read start address Sa0 of the original waveform data, a loop read start address Lsa0, and a loop read end address Lea0.

分析波形データとは、分析フィルタバンク(前述したバンドパスフィルタBPF M1〜BPF M8に相当)を用いて事前に原波形データを周波数分析し、人声のフォルマント周波数に対応させた通過周波数帯域毎のフォルマント成分を表すデータである。つまり、分析波形データは8つの通過周波数帯域に対応した8つのフォルマント成分の波形データとなる。   The analysis waveform data is a frequency analysis of the original waveform data in advance using an analysis filter bank (corresponding to the bandpass filters BPF M1 to BPF M8 described above), and for each pass frequency band corresponding to the human formant frequency. This data represents a formant component. That is, the analysis waveform data is waveform data of eight formant components corresponding to the eight pass frequency bands.

各フォルマント成分の分析波形パラメータSa1[0]〜Lea1[7]は、対応する分析波形データの読み出し開始アドレスSa1[0]〜Sa1[7]と、ループ読み出し開始アドレスLsa1[0]〜Lsa1[7]と、ループ読み出し終了アドレスLea1[0]〜Lea1[7]とから構成される。   The analysis waveform parameters Sa1 [0] to Lea1 [7] for each formant component include the corresponding analysis waveform data read start addresses Sa1 [0] to Sa1 [7] and loop read start addresses Lsa1 [0] to Lsa1 [7]. ] And loop read end addresses Lea1 [0] to Lea1 [7].

エンベロープ波形データとは、分析フィルタバンク(前述したバンドパスフィルタBPF M1〜BPF M8に相当)を用いて事前に原波形データを周波数分析し、人声のフォルマント周波数に対応させた通過周波数帯域毎のフォルマント成分を表す分析波形データからエンベロープ検出した波形データである。ここで、エンベロープ波形データの一例を図4に図示する。図4は、モード値Veが「2」又は「4」の場合に、音源10の波形発生器OSC1〜OSC8(図2参照)に割り当てる各フォルマント成分のエンベロープ波形データを図示したものである。   Envelope waveform data is an analysis filter bank (corresponding to the bandpass filters BPF M1 to BPF M8 described above), and the frequency of the original waveform data is analyzed in advance to correspond to the formant frequency of the human voice. This is waveform data obtained by envelope detection from analysis waveform data representing a formant component. Here, an example of envelope waveform data is shown in FIG. FIG. 4 illustrates envelope waveform data of each formant component assigned to the waveform generators OSC1 to OSC8 (see FIG. 2) of the sound source 10 when the mode value Ve is “2” or “4”.

各フォルマント成分のエンベロープ波形パラメータSa2[0]〜Lea2[7]は、対応するエンベロープ波形データの読み出し開始アドレスSa2[0]〜Sa2[7]、ループ読み出し開始アドレスLsa2[0]〜Lsa2[7]およびループ読み出し終了アドレスLea2[0]〜Lea2[7]から構成される。   The envelope waveform parameters Sa2 [0] to Lea2 [7] of each formant component include the read start addresses Sa2 [0] to Sa2 [7] and the loop read start addresses Lsa2 [0] to Lsa2 [7] of the corresponding envelope waveform data. And loop read end addresses Lea2 [0] to Lea2 [7].

(4)RAM5の構成
次に、図5を参照してRAM5の主要レジスタの構成について説明する。図5において、レジスタVeにはモードスイッチ操作により設定されるモード値Veが格納される。レジスタVmpには変調波形番号が格納される。レジスタVmpに格納される変調波形番号は、人声音の原波形データ、分析波形データおよびエンベロープ波形データのいずれかを指定する。レジスタVmsには変調波形読み出し速度が格納される。
(4) Configuration of RAM 5 Next, the configuration of main registers of the RAM 5 will be described with reference to FIG. In FIG. 5, the mode value Ve set by the mode switch operation is stored in the register Ve. A modulation waveform number is stored in the register Vmp. The modulation waveform number stored in the register Vmp specifies one of the original waveform data, analysis waveform data, and envelope waveform data of human voice. The register Vms stores the modulation waveform reading speed.

レジスタVcpには被変調波形番号が格納される。レジスタVcpに格納される被変調波形番号は、楽器音の原波形データ、分析波形データおよびエンベロープ波形データのいずれかを指定する。カウンタKcは押鍵数を計数する。レジスタCosには被変調波形を発生するように割当てられた波形発生器OSCの先頭番号が格納される。レジスタNn[0]〜Nn[31]には、各波形発生器OSC1〜OSC32に割当てられた鍵番号kが各々格納される。   The modulated waveform number is stored in the register Vcp. The modulated waveform number stored in the register Vcp specifies any one of the original waveform data, analysis waveform data, and envelope waveform data of the instrument sound. The counter Kc counts the number of key presses. The register Cos stores the leading number of the waveform generator OSC assigned to generate the modulated waveform. The registers Nn [0] to Nn [31] store key numbers k assigned to the waveform generators OSC1 to OSC32.

レジスタCa[0]〜Ca[31]には、各波形発生器OSC1〜OSC32における現在読み出しアドレスが各々格納される。レジスタLsa[0]〜Lsa[31]には各波形発生器OSC1〜OSC32に割当てられたループ読み出し開始アドレスが各々格納される。レジスタLea[0]〜Lea[31]には各波形発生器OSC1〜OSC32に割当てられたループ読み出し終了アドレスが各々格納される。レジスタPt[0]〜Pt[31]には各波形発生器OSC1〜OSC32における波形読み出し速度が各々格納される。   The registers Ca [0] to Ca [31] store current read addresses in the waveform generators OSC1 to OSC32. The registers Lsa [0] to Lsa [31] store the loop read start addresses assigned to the waveform generators OSC1 to OSC32. The registers Lea [0] to Lea [31] store loop read end addresses assigned to the waveform generators OSC1 to OSC32. The registers Pt [0] to Pt [31] store the waveform readout speeds of the waveform generators OSC1 to OSC32.

B.動作
次に、図6〜図11を参照して、上記構成による実施形態の動作を説明する。以下では、最初に全体の概略動作としてCPU3が実行するメインルーチンの動作を説明した後、このメインルーチンを構成するスイッチ処理および鍵盤処理、並びに音源10が所定周期毎に実行する発音タイマ処理の各動作について説明する。
B. Operation Next, the operation of the embodiment having the above-described configuration will be described with reference to FIGS. In the following, the operation of the main routine executed by the CPU 3 as the overall outline operation will be described first, and then the switch processing and keyboard processing constituting the main routine, and the tone generation timer processing executed by the tone generator 10 at predetermined intervals will be described. The operation will be described.

(1)メインルーチンの動作
上記構成による電子楽器がパワーオンされると、CPU3は図6に示すメインルーチンを実行してステップSA1に処理を進め、RAM5に格納される各種レジスタやフラグ類をリセットしたり初期値をセットする他、音源10にイニシャライズを指示する初期化処理を行う。そして、イニシャライズ完了後、ステップSA2に進み、スイッチ部2のスイッチ操作に応じたスイッチ処理、例えばモードスイッチ操作に応じて動作モードを設定する等の処理を実行する。
(1) Operation of Main Routine When the electronic musical instrument having the above configuration is powered on, the CPU 3 executes the main routine shown in FIG. 6 and proceeds to step SA1 to reset various registers and flags stored in the RAM 5. In addition to setting the initial value, an initialization process for instructing the sound source 10 to perform initialization is performed. Then, after the initialization is completed, the process proceeds to step SA2, and a switch process corresponding to the switch operation of the switch unit 2, for example, a process of setting an operation mode according to the mode switch operation is executed.

続いて、ステップSA3では、鍵盤1の押離鍵操作に応じた楽音の発音/消音を音源10に指示する鍵盤処理を実行する。そして、ステップSA4では、例えば上記ステップSA2のスイッチ処理にて設定された動作モードの内容を表示部6に表示する処理等の、その他の処理を実行する。以後、電源がオフされるまで上述のステップSA2〜SA4を繰り返し実行する。   Subsequently, in step SA3, a keyboard process for instructing the sound source 10 to generate / mute a musical sound in accordance with the key release operation of the keyboard 1 is executed. In step SA4, other processes such as a process of displaying the contents of the operation mode set in the switch process in step SA2 on the display unit 6 are executed. Thereafter, the above steps SA2 to SA4 are repeatedly executed until the power is turned off.

(1)スイッチ処理の動作
次に、図7を参照してスイッチ処理の動作を説明する。上述したメインルーチンのステップSA2(図6参照)を介して本処理が実行されると、CPU3は図7に図示するステップSB1に進み、モードスイッチ操作によりモード値Veが変更されたか否かを判断する。モードスイッチ操作が行われず、モード値Veに変更が無ければ、判断結果は「NO」となり、ステップSB7に進む。ステップSB7では、例えば音色パラメータ選択スイッチの操作により設定される変調波形番号や被変調波形番号を、それぞれレジスタVmp、レジスタVcpにストアしたり、変調波形音高指定スイッチ操作により設定される基準音高に対応した変調波形読み出し速度をレジスタVmsにストアする等の、その他のスイッチ処理を実行して本処理を終える。
(1) Operation of Switch Processing Next, the operation of switch processing will be described with reference to FIG. When this process is executed through step SA2 (see FIG. 6) of the main routine described above, the CPU 3 proceeds to step SB1 shown in FIG. 7 and determines whether or not the mode value Ve has been changed by the mode switch operation. To do. If the mode switch operation is not performed and the mode value Ve is not changed, the determination result is “NO”, and the flow proceeds to Step SB7. In step SB7, for example, the modulation waveform number and the modulated waveform number set by operating the timbre parameter selection switch are stored in the register Vmp and the register Vcp, respectively, or the reference pitch set by operating the modulation waveform pitch designation switch. The other processing is performed, such as storing the modulation waveform reading speed corresponding to the above in the register Vms, and this processing is completed.

一方、モードスイッチ操作によりモード値Veが変更されると、上記ステップSB1の判断結果が「YES」になり、ステップSB2に進む。ステップSB2では、音源10にオールノートオフイベントを供給し、当該音源10の波形発生部が備える波形発生器OSC1〜OSC32に波形発生停止を指示する全OSC消音処理を行う。また、ステップSB2では、全OSC消音処理に伴い、各波形発生器OSC1〜OSC32の現在読み出しアドレスを一時記憶するレジスタCa[0]〜Ca[31]に波形発生停止中を表す値「−1」をストアする。次いで、ステップSB3以降では、モードスイッチ操作に応じて変更されたモード値Veに対応する処理を実行する。以下、モード値Ve別に動作を説明する。   On the other hand, when the mode value Ve is changed by the mode switch operation, the determination result in Step SB1 becomes “YES”, and the process proceeds to Step SB2. In step SB2, an all note off event is supplied to the sound source 10, and all OSC mute processing is performed to instruct the waveform generators OSC1 to OSC32 included in the waveform generator of the sound source 10 to stop waveform generation. In step SB2, the value “−1” indicating that waveform generation is stopped is stored in the registers Ca [0] to Ca [31] for temporarily storing the current read addresses of the waveform generators OSC1 to OSC32 in accordance with the all OSC mute processing. Store. Next, in step SB3 and subsequent steps, processing corresponding to the mode value Ve changed according to the mode switch operation is executed. Hereinafter, the operation will be described for each mode value Ve.

<モード値Veが「0」の場合>
前述したように、モード値Veが「0」の場合には、音源10における波形発生部の波形発生器OSC1〜OSC32(図2参照)の波形出力を、音源10の合成部の加算器K25に直接入力する形態である。つまり、被変調波形を変調波形にて変調してボコーダ音を形成する形態ではなく、全ての波形発生器OSC1〜OSC32を楽器音形成に割り当て可能な状態なので、ステップSB4に進み、被変調波形用OSC先頭番号を保持するレジスタCosに「0」をストアした後、上述のステップSB7を実行してから本処理を終える。
<When the mode value Ve is “0”>
As described above, when the mode value Ve is “0”, the waveform outputs of the waveform generators OSC1 to OSC32 (see FIG. 2) of the waveform generation unit in the sound source 10 are output to the adder K25 of the synthesis unit of the sound source 10. This is a form of direct input. In other words, the modulated waveform is not modulated with the modulated waveform to form a vocoder sound, but since all waveform generators OSC1 to OSC32 can be assigned to the instrument sound formation, the process proceeds to step SB4, where the modulated waveform is used. After “0” is stored in the register Cos holding the OSC head number, the above-described step SB7 is executed, and then this process is terminated.

<モード値Veが「1」の場合>
モード値Veが「1」の場合には、音源10における波形発生器OSC1の波形出力を分析部のバンドパスフィルタBPF M1〜BPF M8に入力すると共に、他の波形発生器OSC2〜OSC32の波形出力を合成部のバンドパスフィルタBPF C1〜BPF C8に入力する形態である。つまり、被変調波形は波形発生器OSC2〜OSC32に割り当て可能になるので、ステップSB5に進み、波形発生器OSC2を指定する被変調波形用OSC先頭番号「1」をレジスタCosにストアした後、上述のステップSB7を実行してから本処理を終える。
<When Mode Value Ve is “1”>
When the mode value Ve is “1”, the waveform output of the waveform generator OSC1 in the sound source 10 is input to the bandpass filters BPF M1 to BPF M8 of the analysis unit, and the waveform outputs of the other waveform generators OSC2 to OSC32 are input. Is input to the bandpass filters BPF C1 to BPF C8 of the synthesis unit. That is, since the modulated waveform can be assigned to the waveform generators OSC2 to OSC32, the process proceeds to step SB5, and the modulated waveform OSC head number “1” designating the waveform generator OSC2 is stored in the register Cos. After executing step SB7, the present process is terminated.

<モード値Veが「2」の場合>
モード値Veが「2」の場合には、音源10における波形発生器OSC1〜OSC8の波形出力を分析部の加算器K1〜K8にそれぞれ入力すると共に、他の波形発生器OSC9〜OSC32の波形出力を合成部のバンドパスフィルタBPF C1〜BPF C8に入力する形態である。つまり、被変調波形は波形発生器OSC9〜OSC32に割り当て可能になるので、ステップSB6に進み、波形発生器OSC9を指定する被変調波形用OSC先頭番号「8」をレジスタCosにストアした後、上述のステップSB7を実行してから本処理を終える。
<When the mode value Ve is “2”>
When the mode value Ve is “2”, the waveform outputs of the waveform generators OSC1 to OSC8 in the sound source 10 are input to the adders K1 to K8 of the analysis unit, respectively, and the waveform outputs of the other waveform generators OSC9 to OSC32 are input. Is input to the bandpass filters BPF C1 to BPF C8 of the synthesis unit. That is, since the modulated waveform can be assigned to the waveform generators OSC9 to OSC32, the process proceeds to step SB6, and the modulated waveform OSC head number “8” designating the waveform generator OSC9 is stored in the register Cos. After executing step SB7, the present process is terminated.

<モード値Veが「3」の場合>
モード値Veが「3」の場合には、音源10における波形発生器OSC1の波形出力を分析部のバンドパスフィルタBPF M1〜BPF M8に入力すると共に、波形発生器OSC9〜OSC32の波形出力を合成部の加算器K9〜K16を介して当該合成部の加算器K17〜K24にそれぞれ入力する形態である。つまり、被変調波形は波形発生器OSC9〜OSC32に割り当て可能になるので、ステップSB6に進み、波形発生器OSC9を指定する被変調波形用OSC先頭番号「8」をレジスタCosにストアした後、上述のステップSB7を実行してから本処理を終える。
<When the mode value Ve is “3”>
When the mode value Ve is “3”, the waveform output of the waveform generator OSC1 in the sound source 10 is input to the bandpass filters BPF M1 to BPF M8 of the analysis unit, and the waveform outputs of the waveform generators OSC9 to OSC32 are synthesized. In this mode, the signals are respectively input to the adders K17 to K24 of the synthesis unit via the adders K9 to K16 of the unit. That is, since the modulated waveform can be assigned to the waveform generators OSC9 to OSC32, the process proceeds to step SB6, and the modulated waveform OSC head number “8” designating the waveform generator OSC9 is stored in the register Cos. After executing step SB7, the present process is terminated.

<モード値Veが「4」の場合>
モード値Veが「4」の場合には、音源10における波形発生器OSC1〜OSC8の波形出力を分析部の加算器K1〜K8にそれぞれ入力すると共に、波形発生器OSC9〜OSC32の波形出力を合成部の加算器K9〜K16を介して当該合成部の加算器K17〜K24にそれぞれ入力する形態である。つまり、被変調波形は波形発生器OSC9〜OSC32に割り当て可能になるので、ステップSB6に進み、波形発生器OSC9を指定する被変調波形用OSC先頭番号「8」をレジスタCosにストアした後、上述のステップSB7を実行してから本処理を終える。
<When Mode Value Ve is “4”>
When the mode value Ve is “4”, the waveform outputs of the waveform generators OSC1 to OSC8 in the sound source 10 are input to the adders K1 to K8 of the analysis unit, respectively, and the waveform outputs of the waveform generators OSC9 to OSC32 are synthesized. In this mode, the signals are respectively input to the adders K17 to K24 of the synthesis unit via the adders K9 to K16 of the synthesis unit. That is, since the modulated waveform can be assigned to the waveform generators OSC9 to OSC32, the process proceeds to step SB6, and the modulated waveform OSC head number “8” designating the waveform generator OSC9 is stored in the register Cos. After executing step SB7, the present process is terminated.

(2)鍵盤処理の動作
次に、図8〜図9を参照して鍵盤処理の動作を説明する。上述したメインルーチンのステップSA3(図6参照)を介して本処理が実行されると、CPU3は図8に図示するステップSC1に進み、鍵盤1の鍵状態を検出する鍵走査を行い、この鍵走査により得られた鍵状態が「鍵変化無し」、「鍵番号kの押鍵」および「鍵番号kの離鍵」のいずれであるかを判断する。鍵変化無しの場合には、何も行わずに本処理を完了させる。鍵番号kの押鍵の場合には、ステップSC2〜SC10を実行する。鍵番号kの離鍵の場合には、ステップSC11〜SC15を実行する。以下、鍵番号kの押鍵の場合と、鍵番号kの離鍵の場合とに分けて説明を進める。
(2) Operation of Keyboard Processing Next, the operation of keyboard processing will be described with reference to FIGS. When this processing is executed through step SA3 (see FIG. 6) of the main routine described above, the CPU 3 proceeds to step SC1 shown in FIG. 8 to perform key scanning for detecting the key state of the keyboard 1, and this key. It is determined whether the key state obtained by scanning is “no key change”, “key pressed with key number k”, or “key release with key number k”. If there is no key change, this process is completed without doing anything. If the key number is k, steps SC2 to SC10 are executed. In the case of key release with key number k, steps SC11 to SC15 are executed. Hereinafter, the description will be divided into a case where the key number k is pressed and a case where the key number k is released.

a.鍵番号kの押鍵の場合
鍵番号kの押鍵であると、ステップSC2に進み、押鍵数を計数するカウンタKc(以後、押鍵数Kcと記す)をインクリメントして歩進させる。次いで、ステップSC3では、歩進された押鍵数Kcが「1」、すなわち全鍵離鍵状態からの押鍵であるか否かを判断する。以下、全鍵離鍵状態からの押鍵の場合と、そうでない場合とに分けて動作を説明する。
a. In the case of the key depression of the key number k If the key depression is the key number k, the process proceeds to step SC2, and the counter Kc for counting the number of key depressions (hereinafter referred to as the key depression number Kc) is incremented and advanced. Next, in step SC3, it is determined whether or not the stepped key depression number Kc is "1", that is, whether or not the key is depressed from the all key release state. Hereinafter, the operation will be described separately for the case where the key is pressed from the all-key release state and the case where the key is not.

<全鍵離鍵状態からの押鍵である場合>
この場合、ステップSC3の判断結果が「YES」になり、ステップSC4に進み、現在設定されているモード値Veを判断する。モード値Veが「0」であると、全鍵離鍵状態からの押鍵でない場合(後述する)と同様に、図9に示すステップSC7に進む。
<When the key is pressed from all keys released>
In this case, the determination result in step SC3 is “YES”, the process proceeds to step SC4, and the currently set mode value Ve is determined. If the mode value Ve is “0”, the process proceeds to step SC7 shown in FIG. 9 as in the case where the key is not pressed from the all-key release state (described later).

モード値Veが「1」又は「3」であると、ステップSC5に進む。ステップSC5では、ROM4に格納される波形パラメータWP[0]〜WP[127]の内、レジスタVmpに格納される変調波形番号で指定される波形パラメータWP[Vmp]における、原波形データの読み出し開始アドレスWP[Vmp].Sa0をレジスタCa[0]に、原波形データのループ読み出し開始アドレスWP[Vmp].Lsa0をレジスタLsa[0]に、原波形データのループ読み出し終了アドレスWP[Vmp].Lea0をレジスタLea[0]にストアすると共に、レジスタVmsに格納される変調波形読み出し速度をレジスタPt[0]にストアした後、後述のステップSC7に進む。   If the mode value Ve is “1” or “3”, the process proceeds to step SC5. In step SC5, reading of the original waveform data is started in the waveform parameter WP [Vmp] specified by the modulation waveform number stored in the register Vmp among the waveform parameters WP [0] to WP [127] stored in the ROM 4. Address WP [Vmp]. Sa0 is stored in the register Ca [0], the loop read start address WP [Vmp]. Lsa0 is stored in the register Lsa [0], and the loop read end address WP [Vmp]. After Lea0 is stored in the register Lea [0] and the modulation waveform reading speed stored in the register Vms is stored in the register Pt [0], the process proceeds to Step SC7 described later.

これにより、モード値Veが「1」又は「3」の場合には、全鍵離鍵状態からの押鍵に応じて、音源10の波形発生器OSC1に割り当てる波形属性が設定され、この波形属性を参照して波形発生器OSC1が波形出力する。   Thereby, when the mode value Ve is “1” or “3”, the waveform attribute to be assigned to the waveform generator OSC1 of the sound source 10 is set according to the key depression from the all key release state. The waveform generator OSC1 outputs a waveform.

すなわち、音源10の波形発生器OSC1は、レジスタCa[0]の読み出し開始アドレスWP[Vmp].Sa0、レジスタLsa[0]のループ読み出し開始アドレスWP[Vmp].Lsa0およびレジスタLea[0]のループ読み出し終了アドレスWP[Vmp].Lea0により指定される原波形データを、レジスタPt[0]の変調波形読み出し速度に従って波形ROM11から読み出して波形出力する。   That is, the waveform generator OSC1 of the sound source 10 reads the read start address WP [Vmp]. Sa0, loop read start address WP [Vmp]. Lsa0 and loop read end address WP [Vmp]. Of register Lea [0]. The original waveform data specified by Lea0 is read from the waveform ROM 11 according to the modulation waveform reading speed of the register Pt [0], and the waveform is output.

これに対し、モード値Veが「2」又は「4」であると、ステップSC6に進む。ステップSC6では、ROM4の波形パラメータWP[0]〜WP[127]の内、変調波形番号Vmpで指定される波形パラメータWP[Vmp]における、各フォルマント成分のエンベロープ波形データの読み出し開始アドレスWP[Vmp].Sa2[0]〜WP[Vmp].Sa2[7]をそれぞれレジスタCa[0]〜Ca[7]に、ループ読み出し開始アドレスWP[Vmp].Lsa2[0]〜WP[Vmp].Lsa2[7]をそれぞれレジスタLsa[0]〜Lsa[7]に、ループ読み出し終了アドレスWP[Vmp].Lea2[0]〜WP[Vmp].Lea2[7]をそれぞれレジスタLea[0]〜Lea[7]にストアすると共に、対応する原波形データのオリジナルピッチWP[Vmp].Pt0をレジスタPt[0]〜Pt[7]にストアした後、後述のステップSC7に進む。   On the other hand, if the mode value Ve is “2” or “4”, the process proceeds to step SC6. In step SC6, the read start address WP [Vmp of the envelope waveform data of each formant component in the waveform parameter WP [Vmp] specified by the modulation waveform number Vmp among the waveform parameters WP [0] to WP [127] of the ROM4. ]. Sa2 [0] to WP [Vmp]. Sa2 [7] is stored in registers Ca [0] to Ca [7], respectively, and loop read start address WP [Vmp]. Lsa2 [0] to WP [Vmp]. Lsa2 [7] is transferred to the registers Lsa [0] to Lsa [7], respectively, and the loop read end address WP [Vmp]. Lea2 [0] to WP [Vmp]. Lea2 [7] is stored in registers Lea [0] to Lea [7], respectively, and the original pitch WP [Vmp]. After storing Pt0 in the registers Pt [0] to Pt [7], the process proceeds to Step SC7 described later.

これにより、モード値Veが「2」又は「4」の場合には、全鍵離鍵状態からの押鍵に応じて、音源10の波形発生器OSC1〜OSC8に割り当てる波形属性が設定され、この波形属性を参照して波形発生器OSC1〜OSC8が波形出力する。   Thereby, when the mode value Ve is “2” or “4”, the waveform attribute assigned to the waveform generators OSC1 to OSC8 of the sound source 10 is set according to the key depression from the all key release state. The waveform generators OSC1 to OSC8 output waveforms by referring to the waveform attributes.

すなわち、音源10の波形発生器OSC1〜OSC8は、レジスタCa[0]〜Ca[7]の読み出し開始アドレスWP[Vmp].Sa2[0]〜WP[Vmp].Sa2[7]、レジスタLsa[0]〜Lsa[7]のループ読み出し開始アドレスWP[Vmp].Lsa2[0]〜WP[Vmp].Lsa2[7]およびレジスタLea[0]〜Lea[7]のループ読み出し終了アドレスWP[Vmp].Lea2[0]〜WP[Vmp].Lea2[7]により指定される各フォルマント成分のエンベロープ波形データを、レジスタPt[0]〜Pt[7]のオリジナルピッチWP[Vmp].Pt0に従って波形ROM11から読み出して波形出力する。   That is, the waveform generators OSC1 to OSC8 of the sound source 10 read the read start addresses WP [Vmp]. Sa2 [0] to WP [Vmp]. Sa2 [7], loop read start address WP [Vmp]. Of registers Lsa [0] to Lsa [7]. Lsa2 [0] to WP [Vmp]. Lsa2 [7] and loop read end address WP [Vmp]. Of registers Lea [0] to Lea [7]. Lea2 [0] to WP [Vmp]. The envelope waveform data of each formant component specified by Lea2 [7] is stored in the original pitch WP [Vmp] .P of the registers Pt [0] to Pt [7]. According to Pt0, the waveform is read from the waveform ROM 11 and output.

<全鍵離鍵状態からの押鍵でない場合>
この場合、ステップSC3の判断結果が「NO」になり、図9に図示するステップSC7に進む。ステップSC7では、レジスタCosに格納される被変調波形用OSC先頭番号から「31」の範囲でレジスタCa[s]=−1なるポインタsが存在するか否か、つまりレジスタCosに格納される被変調波形用OSC先頭番号で指定される波形発生器OSC(Cos+1)から波形発生器OSC32の内から発音割り当てされていない波形発生器OSCを検索する。該当する波形発生器OSCが存在しなければ、判断結果は「NO」になり、本処理を完了させるが、発音割り当てされていない波形発生器OSCが存在すると、上記ステップSC7の判断結果は「YES」になり、ステップSC8に進み、現在のモード値Veを判断する。
<When not pressing from all keys>
In this case, the determination result in step SC3 is “NO”, and the flow proceeds to step SC7 shown in FIG. In step SC7, whether or not the pointer s of the register Ca [s] = − 1 exists within the range of “31” from the modulated waveform OSC head number stored in the register Cos, that is, the target to be stored in the register Cos. The waveform generator OSC (Cos + 1) designated by the modulation waveform OSC head number is searched for the waveform generator OSC to which the sound generation is not assigned from the waveform generator OSC32. If the corresponding waveform generator OSC does not exist, the determination result is “NO”, and this processing is completed. However, if there is a waveform generator OSC that is not assigned to sound generation, the determination result in step SC7 is “YES”. In step SC8, the current mode value Ve is determined.

モード値Veが「0」、「1」、「2」のいずれかであると、ステップSC9に進む。ステップSC9では、押鍵された鍵の鍵番号kを、発音割り当てされていない波形発生器OSC(s+1)を表すポインタsで指定されるレジスタNn[s]にストアする。また、ステップSC9では、ROM4に格納される波形パラメータWP[0]〜WP[127]の内、レジスタVcpに格納される被変調波形番号で指定される波形パラメータWP[Vcp]における、原波形データの読み出し開始アドレスWP[Vcp].Sa0をレジスタCa[s]に、原波形データのループ読み出し開始アドレスWP[Vcp].Lsa0をレジスタLsa[s]に、原波形データのループ読み出し終了アドレスWP[Vcp].Lea0をレジスタLea[s]にストアすると共に、押鍵された鍵の鍵番号kに対応するピッチ(被変調波形読み出し速度)をレジスタPt[s]にストアして本処理を終える。   If the mode value Ve is any one of “0”, “1”, and “2”, the process proceeds to step SC9. In step SC9, the key number k of the depressed key is stored in the register Nn [s] designated by the pointer s representing the waveform generator OSC (s + 1) not assigned with sound generation. In step SC9, the original waveform data in the waveform parameter WP [Vcp] specified by the modulated waveform number stored in the register Vcp among the waveform parameters WP [0] to WP [127] stored in the ROM 4 is displayed. Read start address WP [Vcp]. Sa0 is stored in the register Ca [s], the loop read start address WP [Vcp]. Lsa0 is stored in the register Lsa [s], and the loop read end address WP [Vcp]. Lea0 is stored in the register Lea [s], and the pitch (modulated waveform reading speed) corresponding to the key number k of the depressed key is stored in the register Pt [s], and this processing is completed.

これにより、モード値Veが「0」、「1」、「2」のいずれかの場合には、押鍵に応じて、発音割り当てされていない波形発生器OSC(s+1)を探し出し、この波形発生器OSC(s+1)に割り当てる波形属性が設定され、この波形属性を参照して波形発生器OSC(s+1)が波形出力する。   As a result, when the mode value Ve is “0”, “1”, or “2”, the waveform generator OSC (s + 1) to which no sound is assigned is searched in response to the key depression, and this waveform generation is performed. A waveform attribute to be assigned to the generator OSC (s + 1) is set, and the waveform generator OSC (s + 1) outputs a waveform with reference to the waveform attribute.

すなわち、押鍵時点で発音割り当てされていない音源10の波形発生器OSC(s+1)は、押鍵に応じて、レジスタCa[s]の読み出し開始アドレスWP[Vcp].Sa0、レジスタLsa[s]のループ読み出し開始アドレスWP[Vcp].Lsa0およびレジスタLea[s]のループ読み出し終了アドレスWP[Vcp].Lea0により指定される原波形データを、レジスタPt[s]の被変調波形読み出し速度に従って波形ROM11から読み出して波形出力する。   That is, the waveform generator OSC (s + 1) of the sound source 10 that is not assigned to generate a sound at the time of key depression responds to the key depression by reading the read start address WP [Vcp]. Sa0, loop read start address WP [Vcp]. Of register Lsa [s]. Lsa0 and loop read end address WP [Vcp]. Of register Lea [s]. The original waveform data specified by Lea0 is read from the waveform ROM 11 according to the modulated waveform reading speed of the register Pt [s], and the waveform is output.

モード値Veが「3」又は「4」の場合には、ステップSC10に進む。ステップSC10では、押鍵された鍵の鍵番号kを、発音割り当てされていない波形発生器OSC(s+1)を表すポインタsで指定されるレジスタNn[s]〜Nn[s+7]にストアする。また、ステップSC10では、ROM4に格納される波形パラメータWP[0]〜WP[127]の内、レジスタVcpに格納される被変調波形番号で指定される波形パラメータWP[Vcp]における、各フォルマント成分の分析波形データの読み出し開始アドレスWP[Vcp].Sa1[s]〜WP[Vcp].Sa1[s+7]をレジスタCa[s]〜Ca[s+7]に、各フォルマント成分の分析波形データのループ読み出し開始アドレスWP[Vcp].Lsa1[s]〜WP[Vcp].Lsa1[s+7]をレジスタLsa[s]〜Lsa[s+7]に、各フォルマント成分の分析波形データのループ読み出し終了アドレスWP[Vcp].Lea1[s]〜WP[Vcp].Lea1[s+7]をレジスタLea[s]〜Lea[s+7]にそれぞれストアすると共に、対応する原波形データのオリジナルピッチWP[Vcp].Pt0をレジスタPt[s]〜Pt[s+7]にストアして本処理を終える。   When the mode value Ve is “3” or “4”, the process proceeds to step SC10. In step SC10, the key number k of the depressed key is stored in the registers Nn [s] to Nn [s + 7] designated by the pointer s representing the waveform generator OSC (s + 1) not assigned to sound generation. In step SC10, each formant component in the waveform parameter WP [Vcp] specified by the modulated waveform number stored in the register Vcp among the waveform parameters WP [0] to WP [127] stored in the ROM 4 is used. Read start address WP [Vcp]. Sa1 [s] to WP [Vcp]. Sa1 [s + 7] is stored in registers Ca [s] to Ca [s + 7], and the loop read start address WP [Vcp]. Lsa1 [s] to WP [Vcp]. Lsa1 [s + 7] is stored in the registers Lsa [s] to Lsa [s + 7], and the loop read end address WP [Vcp]. Lea1 [s] to WP [Vcp]. Lea1 [s + 7] is stored in registers Lea [s] to Lea [s + 7], respectively, and the original pitch WP [Vcp]. Pt0 is stored in the registers Pt [s] to Pt [s + 7], and this process ends.

これにより、モード値Veが「3」又は「4」の場合には、押鍵に応じて、発音割り当てされていない波形発生器OSC(s+1)を探し出し、この波形発生器OSC(s+1)から連続する8個の波形発生器OSCにそれぞれ割り当てる波形属性が設定され、これら波形属性を参照して波形発生器OSC(s+1)から連続する8個の波形発生器OSCが各々波形出力する。   As a result, when the mode value Ve is “3” or “4”, the waveform generator OSC (s + 1) to which the sound generation is not assigned is searched according to the key depression, and the waveform generator OSC (s + 1) is continuously detected. The waveform attributes to be assigned to the eight waveform generators OSC to be set are set, and the eight waveform generators OSC continuous from the waveform generator OSC (s + 1) each output a waveform with reference to these waveform attributes.

すなわち、波形発生器OSC(s+1)から連続する8個の波形発生器OSCは、押鍵に応じて、レジスタCa[s]〜Ca[s+7]の読み出し開始アドレスWP[Vcp].Sa1[s]〜WP[Vcp].Sa1[s+7]、レジスタLsa[s]〜Lsa[s+7]のループ読み出し開始アドレスWP[Vcp].Lsa1[s]〜WP[Vcp].Lsa1[s+7]、レジスタLea[s]〜Lea[s+7]のループ読み出し終了アドレスWP[Vcp].Lea1[s]〜WP[Vcp].Lea1[s+7]により指定される各フォルマント成分の分析波形データを、レジスタPt[s]〜Pt[s+7]のオリジナルピッチWP[Vcp].Pt0に従って波形ROM11から読み出して波形出力する。   That is, the eight waveform generators OSC continuous from the waveform generator OSC (s + 1) read the read start addresses WP [Vcp] .C of the registers Ca [s] to Ca [s + 7] according to the key depression. Sa1 [s] to WP [Vcp]. Sa1 [s + 7], loop read start address WP [Vcp]. Of registers Lsa [s] to Lsa [s + 7]. Lsa1 [s] to WP [Vcp]. Lsa1 [s + 7], loop read end address WP [Vcp]. Of registers Lea [s] to Lea [s + 7]. Lea1 [s] to WP [Vcp]. The analysis waveform data of each formant component specified by Lea1 [s + 7] is stored in the original pitch WP [Vcp] .P in the registers Pt [s] to Pt [s + 7]. According to Pt0, the waveform is read from the waveform ROM 11 and output.

b.鍵番号kの離鍵の場合
鍵番号kの離鍵であると、図8に示すステップSC11に進み、押鍵数Kcをデクリメントする。次いで、ステップSC12では、レジスタCosに格納される被変調波形用OSC先頭番号から「31」の範囲でレジスタNn[s]=kなるポインタsが存在するか否か、つまりレジスタCosに格納される被変調波形用OSC先頭番号で指定される波形発生器OSC(Cos+1)から波形発生器OSC32の内、離鍵された鍵の鍵番号kが割り当てられた波形発生器OSCを検索する。該当する波形発生器OSCが存在しなければ、判断結果は「NO」になり、本処理を完了させるが、離鍵された鍵の鍵番号kが割り当てられた波形発生器OSCが存在すると、上記ステップSC12の判断結果は「YES」になり、ステップSC13に進み、現在のモード値Veを判断する。
b. In the case of key release with key number k If the key release is with key number k, the process proceeds to step SC11 shown in FIG. 8, and the key press number Kc is decremented. Next, at step SC12, whether or not there is a pointer s with the register Nn [s] = k in the range of “31” from the modulated waveform OSC head number stored in the register Cos, that is, stored in the register Cos. The waveform generator OSC (Cos + 1) designated by the modulated waveform OSC head number is searched for the waveform generator OSC to which the key number k of the released key is assigned from the waveform generator OSC32. If there is no corresponding waveform generator OSC, the determination result is “NO”, and this processing is completed. However, if there is a waveform generator OSC to which the key number k of the released key is assigned, The determination result in step SC12 is “YES”, and the flow advances to step SC13 to determine the current mode value Ve.

モード値Veが「0」、「1」、「2」のいずれかであると、ステップSC14に進む。ステップSC14では、ポインタsで指定され、離鍵された鍵の鍵番号kが割り当てられた波形発生器OSC(s+1)の消音を音源10に指示すると共に、レジスタCa[s]に波形発生停止中を表す値「−1」をストアして本処理を終える。これにより、音源10では、離鍵された鍵の鍵番号kが割り当てられた波形発生器OSC(s+1)の波形発生を停止させる。   If the mode value Ve is any one of “0”, “1”, and “2”, the process proceeds to step SC14. In step SC14, the sound generator 10 is instructed to mute the waveform generator OSC (s + 1) designated by the pointer s and assigned the key number k of the released key, and the waveform generation is stopped in the register Ca [s]. Stores a value “−1” representing “” and ends this processing. As a result, the sound generator 10 stops the waveform generation of the waveform generator OSC (s + 1) to which the key number k of the released key is assigned.

モード値Veが「3」又は「4」の場合には、ステップSC15に進む。ステップSC15では、ポインタs〜s+7で指定され、離鍵された鍵の鍵番号kが割り当てられた8つの波形発生器OSC(s+1)〜OSC(s+8)の消音を音源10に指示すると共に、レジスタCa[s]〜Ca[s+7]に波形発生停止中を表す値「−1」をストアして本処理を終える。これにより、音源10では、離鍵された鍵の鍵番号kが割り当てられた8つの波形発生器OSC(s+1)〜OSC(s+8)の波形発生を停止させる。   When the mode value Ve is “3” or “4”, the process proceeds to step SC15. In step SC15, the sound generator 10 is instructed to mute the eight waveform generators OSC (s + 1) to OSC (s + 8) designated by the pointers s to s + 7 and assigned the key number k of the released key. A value “−1” indicating that waveform generation is stopped is stored in Ca [s] to Ca [s + 7], and this processing is completed. As a result, the sound source 10 stops the waveform generation of the eight waveform generators OSC (s + 1) to OSC (s + 8) to which the key number k of the released key is assigned.

(3)発音タイマ処理の動作
次に、図10〜図11を参照して音源10が実行する発音タイマ処理の動作を説明する。音源10はタイマ割込みにより所定周期毎に本処理を実行しており、その実行タイミングになると、図10に図示するステップSD1に進む。ステップSD1では、レジスタAd、Act、Amt、Ac[0]〜Ac[7]、Am[0]〜Am[7]およびポインタnをゼロリセットする。
(3) Operation of Sound Generation Timer Process Next, the operation of the sound generation timer process executed by the sound source 10 will be described with reference to FIGS. The sound source 10 executes this process at predetermined intervals by a timer interrupt. When the execution timing comes, the process proceeds to step SD1 shown in FIG. In step SD1, the registers Ad, Act, Amt, Ac [0] to Ac [7], Am [0] to Am [7] and the pointer n are reset to zero.

なお、レジスタAdは、音源10の合成部の加算器K25(図2参照)に直接入力される波形値を保持する。レジスタActは、音源10の合成部のバンドパスフィルタBPF C1〜BPF C8(図2参照)に入力される波形値を保持する。レジスタAmtは、音源10の分析部のバンドパスフィルタBPF M1〜BPF M8(図2参照)に入力される波形値を保持する。レジスタAc[0]〜Ac[7]は、音源部10の合成部の加算器K17〜K24(図2参照)にそれぞれ入力される波形値を保持する。レジスタAm[0]〜Am[7]は、音源部10の分析部の加算器K1〜K8(図2参照)にそれぞれ入力される波形値を保持する。ポインタnは、音源10の波形発生器OSC1〜OSC32を指定する。   The register Ad holds a waveform value that is directly input to the adder K25 (see FIG. 2) of the synthesis unit of the sound source 10. The register Act holds waveform values input to the bandpass filters BPF C1 to BPF C8 (see FIG. 2) of the synthesis unit of the sound source 10. The register Amt holds waveform values input to the bandpass filters BPF M1 to BPF M8 (see FIG. 2) of the analysis unit of the sound source 10. The registers Ac [0] to Ac [7] hold waveform values respectively input to the adders K17 to K24 (see FIG. 2) of the synthesis unit of the sound source unit 10. The registers Am [0] to Am [7] hold waveform values respectively input to the adders K1 to K8 (see FIG. 2) of the analysis unit of the sound source unit 10. The pointer n designates the waveform generators OSC1 to OSC32 of the sound source 10.

次いで、ステップSD2では、ポインタnで指定されるレジスタCa[n]の値が波形発生停止中を表す値「−1」であるか否か、つまりポインタnで指定される波形発生器OSC(n+1)が消音中であるかどうかを判断する。波形発生器OSC(n+1)が消音中であれば、判断結果は「YES」になり、ステップSD11に進み、ポインタnをインクリメントして歩進させる。そして、ステップSD12では、歩進されたポインタnの値が「32」に達したか否か、すなわち全ての波形発生器OSC1〜OSC32について消音中か否かをチェックし終えたかどうかを判断する。チェックし終えていなければ、判断結果は「NO」になり、再びステップSD2に処理を戻す。   Next, in step SD2, whether or not the value of the register Ca [n] specified by the pointer n is a value “−1” indicating that waveform generation is stopped, that is, the waveform generator OSC (n + 1) specified by the pointer n. ) Is being muted. If the waveform generator OSC (n + 1) is muted, the determination result is “YES”, the process proceeds to step SD11, and the pointer n is incremented to be incremented. In step SD12, it is determined whether or not the value of the incremented pointer n has reached “32”, that is, whether or not all the waveform generators OSC1 to OSC32 have been muted. If the check has not been completed, the determination result is “NO”, and the process returns to step SD2.

そして、ステップSD2において、発音中(波形発生中)の波形発生器OSCが見つかると、当該ステップSD2の判断結果が「NO」になり、ステップSD3に進む。ステップSD3では、ポインタnで指定されるレジスタCa[n]にレジスタPt[n]の波形読み出し速度を加算し、レジスタCa[n]の現在読み出しアドレスを更新する。また、ステップSD3では、波形読み出し速度Pt[n]を加算した現在読み出しアドレスCa[n]がループ読み出し終了アドレスLea[n]を超えた場合には、現在読み出しアドレスCa[n]からループ読み出し終了アドレスLea[n]を減算した値にループ読み出し開始アドレスLsa[n]を加算し、これを現在読み出しアドレスCa[n]として更新する。   In step SD2, when the waveform generator OSC that is generating sound (generating a waveform) is found, the determination result in step SD2 is “NO”, and the process proceeds to step SD3. In step SD3, the waveform read speed of the register Pt [n] is added to the register Ca [n] designated by the pointer n, and the current read address of the register Ca [n] is updated. In step SD3, when the current read address Ca [n] obtained by adding the waveform read speed Pt [n] exceeds the loop read end address Lea [n], the loop read ends from the current read address Ca [n]. The loop read start address Lsa [n] is added to the value obtained by subtracting the address Lea [n], and this is updated as the current read address Ca [n].

次いで、ステップSD4では、上記ステップSD3にて更新された現在読み出しアドレスCa[n]に応じて波形ROM11から波形データを読み出し、読み出した波形データに補間処理を施して波形値dを発生する。なお、ここで言う補間処理とは、整数部アドレスで読み出した波形データを小数部アドレスで内挿する処理を指す。こうして、ポインタnで指定される波形発生器OSC(n+1)における新たな波形値dが生成されると、ステップSD5以降を実行してモード値Veに応じた波形形成を行う。以下、モード値Ve別の波形形成動作について述べる。   Next, in step SD4, the waveform data is read from the waveform ROM 11 in accordance with the current read address Ca [n] updated in step SD3, and the read waveform data is subjected to interpolation processing to generate a waveform value d. In addition, the interpolation process said here refers to the process which interpolates the waveform data read by the integer part address by the decimal part address. Thus, when a new waveform value d is generated in the waveform generator OSC (n + 1) designated by the pointer n, steps SD5 and subsequent steps are executed to form a waveform according to the mode value Ve. The waveform forming operation for each mode value Ve will be described below.

<モード値Veが「0」の場合>
この場合、ステップSD5を介してステップSD6に進み、上記ステップSD4にて生成した波形値dをレジスタAdに加算した後、上述したステップSD11に進む。
したがって、モード値Veが「0」であると、全ての波形発生器OSC1〜OSC32の各波形出力がレジスタAdで累算される。
<When the mode value Ve is “0”>
In this case, the process proceeds to step SD6 through step SD5, and after adding the waveform value d generated in step SD4 to the register Ad, the process proceeds to step SD11.
Therefore, if the mode value Ve is “0”, the waveform outputs of all the waveform generators OSC1 to OSC32 are accumulated in the register Ad.

<モード値Veが「1」の場合>
この場合、ステップSD5を介してステップSD7に進む。ステップSD7では、ポインタnの値が「0」であれば、波形発生器OSC1が発生した波形値dをレジスタAmtにストアし、ポインタnの値が「0」より大きければ、波形発生器OSC2〜OSC32が発生した波形値dをレジスタActに加算した後、上述したステップSD11に進む。
したがって、モード値Veが「1」であると、波形発生器OSC1の波形出力がレジスタAmtに保持され、波形発生器OSC2〜OSC32の各波形出力がレジスタActで累算される。
<When Mode Value Ve is “1”>
In this case, the process proceeds to step SD7 via step SD5. In step SD7, if the value of the pointer n is “0”, the waveform value d generated by the waveform generator OSC1 is stored in the register Amt, and if the value of the pointer n is larger than “0”, the waveform generator OSC2 is set. After the waveform value d generated by the OSC 32 is added to the register Act, the process proceeds to step SD11 described above.
Therefore, when the mode value Ve is “1”, the waveform output of the waveform generator OSC1 is held in the register Amt, and the waveform outputs of the waveform generators OSC2 to OSC32 are accumulated in the register Act.

<モード値Veが「2」の場合>
この場合、ステップSD5を介してステップSD8に進む。ステップSD8では、ポインタnの値が「0」〜「7」であれば、そのポインタnで指定されるレジスタAm[0]〜Am[7]に、波形発生器OSC1〜OSC8が発生した波形値dをそれぞれストアし、ポインタnの値が「8」以上では、波形発生器OSC9〜OSC32が発生した各波形値dをレジスタActに加算した後、上述したステップSD11に進む。
したがって、モード値Veが「2」であれば、波形発生器OSC1〜OSC8の各波形出力がレジスタAm[0]〜Am[7]に保持され、波形発生器OSC9〜OSC32の各波形出力がレジスタActで累算される。
<When the mode value Ve is “2”>
In this case, the process proceeds to step SD8 via step SD5. In step SD8, if the value of the pointer n is “0” to “7”, the waveform values generated by the waveform generators OSC1 to OSC8 in the registers Am [0] to Am [7] specified by the pointer n. d is stored, and when the value of the pointer n is “8” or more, the waveform values d generated by the waveform generators OSC9 to OSC32 are added to the register Act, and then the process proceeds to the above-described step SD11.
Therefore, if the mode value Ve is “2”, the waveform outputs of the waveform generators OSC1 to OSC8 are held in the registers Am [0] to Am [7], and the waveform outputs of the waveform generators OSC9 to OSC32 are registered in the register. Accumulated with Act.

<モード値Veが「3」の場合>
この場合、ステップSD5を介してステップSD9に進む。ステップSD9では、ポインタnの値が「0」であれば、波形発生器OSC1が発生した波形値dをレジスタAmtにストアする。また、ステップSD9では、ポインタnの値が「8」以上であれば、ポインタnの「8」の剰余で指定されるレジスタAc[0]〜Ac[7]に、対応する波形発生器OSC9〜OSC32が発生した波形値dを加算する。すなわちレジスタAc[0]では、波形発生器OSC9、OSC17およびOSC25の各波形値dを加算し、レジスタAc[1]では、波形発生器OSC10、OSC18およびOSC26の各波形値dを加算する。以後、同様にして、レジスタAc[7]では、波形発生器OSC16、OSC24およびOSC32の各波形値dを加算する。
したがって、モード値Veが「3」であれば、波形発生器OSC1の波形出力がレジスタAmtに保持され、合成部の加算器K17〜K24(図2参照)にそれぞれ入力される波形発生器OSC9〜OSC32の波形出力がレジスタAc[0]〜Ac[7]にて加算される。
<When the mode value Ve is “3”>
In this case, the process proceeds to step SD9 via step SD5. In step SD9, if the value of the pointer n is “0”, the waveform value d generated by the waveform generator OSC1 is stored in the register Amt. In step SD9, if the value of the pointer n is “8” or more, the waveform generators OSC9 to OSC9 corresponding to the registers Ac [0] to Ac [7] specified by the remainder of the pointer “8” are stored. The waveform value d generated by the OSC 32 is added. That is, the register Ac [0] adds the waveform values d of the waveform generators OSC9, OSC17, and OSC25, and the register Ac [1] adds the waveform values d of the waveform generators OSC10, OSC18, and OSC26. Thereafter, similarly, the register Ac [7] adds the waveform values d of the waveform generators OSC16, OSC24, and OSC32.
Therefore, if the mode value Ve is “3”, the waveform output of the waveform generator OSC1 is held in the register Amt and is input to the adders K17 to K24 (see FIG. 2) of the synthesis unit, respectively. The waveform output of the OSC 32 is added in the registers Ac [0] to Ac [7].

<モード値Veが「4」の場合>
この場合、ステップSD5を介してステップSD10に進む。ステップSD10では、ポインタnの値が「0」〜「7」であれば、そのポインタnで指定されるレジスタAm[0]〜Am[7]に、波形発生器OSC1〜OSC8が発生した波形値dをそれぞれストアする。また、ステップSD10では、ポインタnの値が「8」以上であれば、ポインタnの「8」の剰余で指定されるレジスタAc[0]〜Ac[7]に、対応する波形発生器OSC9〜OSC32が発生した波形値dを加算する。すなわちレジスタAc[0]では、波形発生器OSC9、OSC17およびOSC25の各波形値dを加算し、レジスタAc[1]では、波形発生器OSC10、OSC18およびOSC26の各波形値dを加算する。以後、同様にして、レジスタAc[7]では、波形発生器OSC16、OSC24およびOSC32の各波形値dを加算する。
したがって、モード値Veが「4」であれば、波形発生器OSC1〜OSC8の各波形出力がレジスタAm[0]〜Am[7]に保持され、合成部の加算器K17〜K24(図2参照)にそれぞれ入力される波形発生器OSC9〜OSC32の波形出力がレジスタAc[0]〜Ac[7]にて加算される。
<When Mode Value Ve is “4”>
In this case, the process proceeds to step SD10 via step SD5. In step SD10, if the value of the pointer n is “0” to “7”, the waveform values generated by the waveform generators OSC1 to OSC8 in the registers Am [0] to Am [7] specified by the pointer n. Each d is stored. In step SD10, if the value of the pointer n is “8” or more, the waveform generators OSC9 to OSC9 corresponding to the registers Ac [0] to Ac [7] specified by the remainder of the pointer “8” are stored. The waveform value d generated by the OSC 32 is added. That is, the register Ac [0] adds the waveform values d of the waveform generators OSC9, OSC17 and OSC25, and the register Ac [1] adds the waveform values d of the waveform generators OSC10, OSC18 and OSC26. Thereafter, similarly, the register Ac [7] adds the waveform values d of the waveform generators OSC16, OSC24, and OSC32.
Therefore, if the mode value Ve is “4”, the waveform outputs of the waveform generators OSC1 to OSC8 are held in the registers Am [0] to Am [7], and adders K17 to K24 (see FIG. 2) of the synthesis unit. ), The waveform outputs of the waveform generators OSC9 to OSC32 respectively input to the register Ac [0] to Ac [7].

以上のようにして、モード値Veに応じた波形発生器OSC1〜OSC32の波形形成を終えると、ステップSD12の判断結果が「YES」となり、音源10は図11に図示するステップSD13に進む。ステップSD13以降では、モード値Veに応じて波形出力する。以下、モード値Ve別の波形出力動作について述べる。   As described above, when the waveform generation of the waveform generators OSC1 to OSC32 according to the mode value Ve is completed, the determination result in step SD12 is “YES”, and the sound source 10 proceeds to step SD13 illustrated in FIG. After step SD13, the waveform is output according to the mode value Ve. The waveform output operation for each mode value Ve will be described below.

<モード値Veが「0」の場合>
この場合、ステップSD13を介してステップSD14に進む。ステップSD14では、レジスタAdにて累算された波形発生器OSC1〜OSC32の各波形出力をレジスタOutputにストアし、続くステップSD15では、そのレジスタOutputの内容を楽音出力outとして出力する。
<When the mode value Ve is “0”>
In this case, the process proceeds to step SD14 via step SD13. In step SD14, the waveform outputs of the waveform generators OSC1 to OSC32 accumulated in the register Ad are stored in the register Output, and in the subsequent step SD15, the contents of the register Output are output as the musical sound output out.

<モード値Veが「1」の場合>
この場合、ステップSD13を介してステップSD16に進む。ステップSD16では、レジスタAmtに格納される波形発生器OSC1の波形出力を、分析部のバンドパスフィルタBPF M1〜BPF M8(図2参照)に入力し、さらにバンドパスフィルタBPF M1〜BPF M8の各後段に設けられるエンベロープ検出器ENVにてそれぞれ抽出されるフォルマント成分のエンベロープ波形を、分析部の加算器K1〜K8(図2参照)にそれぞれ入力する波形としてレジスタAm[0]〜Am[7]にストアする。
<When Mode Value Ve is “1”>
In this case, the process proceeds to step SD16 via step SD13. In step SD16, the waveform output of the waveform generator OSC1 stored in the register Amt is input to the bandpass filters BPF M1 to BPF M8 (see FIG. 2) of the analysis unit, and each of the bandpass filters BPF M1 to BPF M8 is further input. Registers Am [0] to Am [7] are used as waveforms to be inputted to the adders K1 to K8 (see FIG. 2) of the analysis unit, respectively, of the envelope waveform of the formant component extracted by the envelope detector ENV provided in the subsequent stage. To store.

また、ステップSD16では、レジスタActにて累算された波形発生器OSC2〜OSC32の各波形出力を、合成部のバンドパスフィルタBPF C1〜BPF C8(図2参照)に入力して抽出される各フォルマント成分を、合成部の加算器K17〜K24(図2参照)にそれぞれ入力する波形としてレジスタAc[0]〜Ac[7]にストアする。   In step SD16, each waveform output of the waveform generators OSC2 to OSC32 accumulated in the register Act is input to the bandpass filters BPF C1 to BPF C8 (see FIG. 2) of the synthesis unit and extracted. The formant components are stored in the registers Ac [0] to Ac [7] as waveforms respectively input to the adders K17 to K24 (see FIG. 2) of the synthesis unit.

次いで、ステップSD17では、合成部の乗算器J1〜J8(図2参照)において、分析部の加算器K1〜K8の各出力(変調波形)によって合成部の加算器K17〜K24の各出力(被変調波形)を乗算(変調)して変調後波形データを生成し、レジスタOutputにストアした後、ステップSD15に進み、レジスタOutputに格納された変調後波形データを楽音出力outとして出力する。   Next, in step SD17, in the multipliers J1 to J8 (see FIG. 2) of the synthesizer, the outputs (modulated waveforms) of the adders K1 to K8 of the analyzer are output (covered). The modulated waveform data is multiplied (modulated) to generate modulated waveform data, which is stored in the register Output. Then, the process proceeds to step SD15, and the modulated waveform data stored in the register Output is output as the musical sound output out.

上記ステップSD17において、モード値Veが「1」であると、変調波形はレジスタAm[0]〜Am[7]に格納され、波形発生器OSC1の波形出力から抽出した各フォルマント成分のエンベロープ波形である。一方、被変調波形はレジスタAc[0]〜Ac[7]に格納され、波形発生器OSC2〜OSC32の各波形累算値から抽出した各フォルマント成分の波形である。   In step SD17, if the mode value Ve is “1”, the modulation waveform is stored in the registers Am [0] to Am [7], and is the envelope waveform of each formant component extracted from the waveform output of the waveform generator OSC1. is there. On the other hand, the modulated waveform is a waveform of each formant component stored in the registers Ac [0] to Ac [7] and extracted from each waveform accumulated value of the waveform generators OSC2 to OSC32.

<モード値Veが「2」の場合>
この場合、ステップSD13を介してステップSD18に進む。ステップSD18では、レジスタActにて累算された波形発生器OSC9〜OSC32の各波形出力を、合成部のバンドパスフィルタBPF C1〜BPF C8(図2参照)に入力して抽出される各フォルマント成分を、合成部の加算器K17〜K24(図2参照)にそれぞれ入力する波形としてレジスタAc[0]〜Ac[7]にストアする。
<When the mode value Ve is “2”>
In this case, the process proceeds to step SD18 via step SD13. In step SD18, the waveform outputs of the waveform generators OSC9 to OSC32 accumulated in the register Act are input to the bandpass filters BPF C1 to BPF C8 (see FIG. 2) of the synthesis unit and extracted. Are stored in the registers Ac [0] to Ac [7] as waveforms respectively input to the adders K17 to K24 (see FIG. 2) of the synthesis unit.

そして、ステップSD17に進み、合成部の乗算器J1〜J8において、分析部の加算器K1〜K8の各出力(変調波形)によって合成部の加算器K17〜K24の各出力(被変調波形)を乗算(変調)して変調後波形データを生成し、レジスタOutputにストアした後、ステップSD15に進み、レジスタOutputに格納された変調後波形データを楽音出力outとして出力する。   In step SD17, the outputs (modulated waveforms) of the adders K17 to K24 of the synthesizer are output from the multipliers J1 to J8 of the synthesizer by the outputs (modulated waveforms) of the adders K1 to K8 of the analyzer. After being multiplied (modulated) to generate modulated waveform data and stored in the register Output, the process proceeds to step SD15, and the modulated waveform data stored in the register Output is output as a musical sound output out.

上記ステップSD17において、モード値Veが「2」であると、変調波形は前述したステップSD8(図10参照)においてレジスタAm[0]〜Am[7]に格納され、波形発生器OSC1〜OSC8の各波形出力である。一方、被変調波形は、レジスタAc[0]〜Ac[7]に格納され、波形発生器OSC9〜OSC32の各波形累算値から抽出した各フォルマント成分の波形である。   In step SD17, if the mode value Ve is “2”, the modulation waveform is stored in the registers Am [0] to Am [7] in the above-described step SD8 (see FIG. 10), and the waveform generators OSC1 to OSC8 Each waveform output. On the other hand, the modulated waveform is the waveform of each formant component stored in the registers Ac [0] to Ac [7] and extracted from the waveform accumulated values of the waveform generators OSC9 to OSC32.

<モード値Veが「3」の場合>
この場合、ステップSD13を介してステップSD19に進む。ステップSD19では、レジスタAmtに格納される波形発生器OSC1の波形出力を、分析部のバンドパスフィルタBPF M1〜BPF M8(図2参照)に入力し、さらにバンドパスフィルタBPF M1〜BPF M8の各後段に設けられるエンベロープ検出器ENVにてそれぞれ抽出されるフォルマント成分のエンベロープレベル(エンベロープ波形)を、分析部の加算器K1〜K8(図2参照)にそれぞれ入力する波形としてレジスタAm[0]〜Am[7]にストアする。
<When the mode value Ve is “3”>
In this case, the process proceeds to step SD19 via step SD13. In step SD19, the waveform output of the waveform generator OSC1 stored in the register Amt is input to the bandpass filters BPF M1 to BPF M8 (see FIG. 2) of the analyzer, and each of the bandpass filters BPF M1 to BPF M8 is further input. Registers Am [0] to Am [0] are used as waveforms to be inputted to the adders K1 to K8 (see FIG. 2) of the analysis unit, respectively, of the envelope level (envelope waveform) of the formant component extracted by the envelope detector ENV provided in the subsequent stage. Store in Am [7].

次いで、ステップSD17では、合成部の乗算器J1〜J8において、分析部の加算器K1〜K8の各出力(変調波形)によって合成部の加算器K17〜K24の各出力(被変調波形)を乗算(変調)して変調後波形データを生成し、レジスタOutputにストアした後、ステップSD15に進み、レジスタOutputに格納された変調後波形データを楽音出力outとして出力する。   Next, in step SD17, the outputs (modulated waveforms) of the adders K17 to K24 of the synthesizer are multiplied by the outputs (modulated waveforms) of the adders K1 to K8 of the analyzer in the multipliers J1 to J8 of the synthesizer. After (modulation), modulated waveform data is generated and stored in the register Output, the process proceeds to step SD15, and the modulated waveform data stored in the register Output is output as the musical sound output out.

上記ステップSD17において、モード値Veが「3」であると、変調波形はレジスタAm[0]〜Am[7]に格納され、波形発生器OSC1の波形出力から抽出した各フォルマント成分のエンベロープ波形である。一方、被変調波形は前述したステップSD9(図10参照)においてレジスタAc[0]〜Ac[7]に格納され、合成部の加算器K17〜K24(図2参照)にそれぞれ入力される波形発生器OSC9〜OSC32の波形出力である。   In step SD17, if the mode value Ve is “3”, the modulation waveform is stored in the registers Am [0] to Am [7], and is the envelope waveform of each formant component extracted from the waveform output of the waveform generator OSC1. is there. On the other hand, the modulated waveform is stored in the registers Ac [0] to Ac [7] in the above-described step SD9 (see FIG. 10), and is generated into the adders K17 to K24 (see FIG. 2) of the synthesizer. This is a waveform output of the devices OSC9 to OSC32.

<モード値Veが「4」の場合>
この場合、ステップSD13を介してステップSD17に進む。ステップSD17では、合成部の乗算器J1〜J8において、分析部の加算器K1〜K8の各出力(変調波形)によって合成部の加算器K17〜K24の各出力(被変調波形)を乗算(変調)して変調後波形データを生成し、レジスタOutputにストアした後、ステップSD15に進み、レジスタOutputに格納された変調後波形データを楽音出力outとして出力する。
<When Mode Value Ve is “4”>
In this case, the process proceeds to step SD17 via step SD13. In step SD17, the multipliers J1 to J8 of the synthesizer multiply (modulate) the outputs (modulated waveforms) of the adders K17 to K24 of the synthesizer by the outputs (modulated waveforms) of the adders K1 to K8 of the analyzer. ) To generate post-modulation waveform data and store it in the register Output, and then proceed to Step SD15 to output the post-modulation waveform data stored in the register Output as a musical sound output out.

上記ステップSD17において、モード値Veが「4」であると、変調波形は前述したステップSD10(図10参照)においてレジスタAm[0]〜Am[7]に格納され、波形発生器OSC1〜OSC8の各波形出力である。一方、被変調波形はレジスタAc[0]〜Ac[7]に格納され、合成部の加算器K17〜K24(図2参照)にそれぞれ入力される波形発生器OSC9〜OSC32の波形出力である。   If the mode value Ve is “4” in step SD17, the modulation waveform is stored in the registers Am [0] to Am [7] in step SD10 (see FIG. 10) described above, and the waveform generators OSC1 to OSC8 Each waveform output. On the other hand, the modulated waveforms are waveform outputs of waveform generators OSC9 to OSC32 that are stored in the registers Ac [0] to Ac [7] and input to the adders K17 to K24 (see FIG. 2) of the synthesis unit, respectively.

以上説明したように、本実施の形態では、モード値Veが「2」の場合には、一定の読み出し速度で波形発生器OSC1〜OSC8が発生する固定的なフォルマント成分のエンベロープ波形データ(変調波形)によって、押鍵に応じたピッチで波形発生器OSC9〜OSC32が発生する各波形の累算値から抽出した各フォルマント成分の波形(被変調波形)を変調するので、同じフォルマントを異なるピッチで発音させることができる。加えて、モード値Veが「2」の場合には、音源10のバンドパスフィルタBPF M1〜BPF M8を用いたリアルタイムの周波数分析を行わない為、音源10における処理動作の負荷低減を図ることもできる。   As described above, in the present embodiment, when the mode value Ve is “2”, the envelope waveform data (modulation waveform) of the fixed formant components generated by the waveform generators OSC1 to OSC8 at a constant reading speed. ) Modulates the waveform of each formant component (modulated waveform) extracted from the accumulated value of each waveform generated by the waveform generators OSC9 to OSC32 at a pitch according to the key depression, so that the same formant is generated at a different pitch. Can be made. In addition, when the mode value Ve is “2”, since the real-time frequency analysis using the bandpass filters BPF M1 to BPF M8 of the sound source 10 is not performed, the processing operation load on the sound source 10 may be reduced. it can.

また、モード値Veが「3」の場合には、予め設定した読み出し速度Vmsで波形発生器OSC1が発生する原波形データから抽出した各フォルマント成分のエンベロープ波形データ(変調波形)によって、原波形データのオリジナルピッチで波形発生器OSC9〜OSC32が発生する固定的なフォルマント成分の分析波形データ(被変調波形)が変調される。上述の実施形態では、説明の簡略化を図る為、読み出し速度Vmsを固定的なものとしたが、例えば押鍵される鍵の鍵番号kに応じて読み出し速度Vmsを変化させたり、あるいは押鍵される鍵に応じて変調波形番号Vmpを変化させ、演奏操作に応じて変調波形を異ならせる態様とすれば、同じフレーズを異なるフォルマントで発音させることができる。加えて、モード値Veが「3」の場合には、音源10のバンドパスフィルタBPF C1〜BPF C8を用いたリアルタイムの周波数分析を行わない為、音源10における処理動作の負荷低減を図ることもできる。   When the mode value Ve is “3”, the original waveform data is obtained from the envelope waveform data (modulated waveform) of each formant component extracted from the original waveform data generated by the waveform generator OSC1 at the preset read speed Vms. The analysis waveform data (modulated waveform) of the fixed formant component generated by the waveform generators OSC9 to OSC32 is modulated at the original pitch. In the above-described embodiment, the reading speed Vms is fixed to simplify the description. However, for example, the reading speed Vms is changed according to the key number k of the key to be pressed, or the key pressing is performed. If the modulation waveform number Vmp is changed according to the key to be played and the modulation waveform is varied according to the performance operation, the same phrase can be pronounced with different formants. In addition, when the mode value Ve is “3”, since the real-time frequency analysis using the bandpass filters BPF C1 to BPF C8 of the sound source 10 is not performed, the processing operation load on the sound source 10 may be reduced. it can.

なお、上述した実施形態では、モード値Veが「2」又は「4」の場合に、波形ROM11に記憶した各フォルマント成分のエンベロープ波形データを読み出して変調波形として使用するようにしたが、これに替えて各フォルマント成分の分析波形データを波形ROM11から読み出して分析部のエンベロープ検出器ENVに入力させ、これにより各フォルマント成分のエンベロープ波形データからなる変調波形を形成する態様としても構わない。このようにすれば、各フォルマント成分のエンベロープ波形データを波形ROM11に記憶する必要がなくなる為、波形ROM11のメモリ容量を削減できる。   In the above-described embodiment, when the mode value Ve is “2” or “4”, the envelope waveform data of each formant component stored in the waveform ROM 11 is read and used as a modulation waveform. Alternatively, the analysis waveform data of each formant component may be read from the waveform ROM 11 and input to the envelope detector ENV of the analysis unit, thereby forming a modulation waveform composed of the envelope waveform data of each formant component. In this way, it is not necessary to store the envelope waveform data of each formant component in the waveform ROM 11, so that the memory capacity of the waveform ROM 11 can be reduced.

また、本実施の形態では、ユーザ操作でモード値Veを選択するようにしたが、これに替えて音源10の負荷に応じてCPU3が自動的に選択する態様、例えば、同時発音数が多い高負荷時にはフォルマント成分をリアルタイム抽出する周波数分析を行わないモード値Ve「4」を選択し、負荷が低い時にはモード値「1」を選択することも可能である。   In the present embodiment, the mode value Ve is selected by a user operation. Instead of this, the CPU 3 automatically selects the mode value Ve according to the load of the sound source 10, for example, a high number of simultaneous pronunciations. It is also possible to select a mode value Ve “4” that does not perform frequency analysis for extracting formant components in real time at the time of loading, and to select a mode value “1” when the load is low.

さらに、被変調用に分析波形データを使用する際には、被変調波形の各フォルマント成分の振幅値にかかわらず常に8個の波形発生器OSCを占有するようにしたが、被変調波形の振幅値が小さいフォルマント成分については対応する波形発生器OSCの波形発生を停止させるようにしてもよい。このようにすれば、波形発生器OSCの占有率が低減する為、同時発音数を増加させることが可能になる。   Further, when the analysis waveform data is used for modulation, the eight waveform generators OSC are always occupied regardless of the amplitude value of each formant component of the modulation waveform. For the formant component having a small value, the waveform generation of the corresponding waveform generator OSC may be stopped. In this way, since the occupation rate of the waveform generator OSC is reduced, the number of simultaneous sounds can be increased.

加えて、本実施形態では、波形ROM11に原波形データ、分析波形データおよびエンベロープ波形データを予め記憶しておく態様としたが、これに限らず、マイク8およびA/D変換器9を用いてサンプリングした原波形データをRAM5のデータエリアに保存しておき、音源10の分析部を用いてRAM5に保存した原波形データに周波数分析およびエンベープ検出を施して分析波形データおよびエンベロープ波形データを生成してRAM5のデータエリアに保存する態様とすることも可能である。   In addition, in the present embodiment, the waveform ROM 11 stores the original waveform data, the analysis waveform data, and the envelope waveform data in advance. However, the present invention is not limited thereto, and the microphone 8 and the A / D converter 9 are used. The sampled original waveform data is stored in the data area of the RAM 5, and the analysis waveform data and envelope waveform data are generated by performing frequency analysis and envelope detection on the original waveform data stored in the RAM 5 using the analysis unit of the sound source 10. It is also possible to save in the data area of the RAM 5.

本発明による一実施形態の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of one Embodiment by this invention. 音源10の構成を示すブロック図である。2 is a block diagram showing a configuration of a sound source 10. FIG. ROM4に記憶される波形パラメータWPの構成を示す図である。It is a figure which shows the structure of the waveform parameter WP memorize | stored in ROM4. 波形発生器OSC1〜OSC8に割り当てた各フォルマント成分のエンベロープ波形データの一例を示す図である。It is a figure which shows an example of the envelope waveform data of each formant component allocated to waveform generator OSC1-OSC8. RAM5に設けられる主要レジスタ構成を示す図である。3 is a diagram illustrating a main register configuration provided in a RAM 5. FIG. メインルーチンの動作を示すフローチャートである。It is a flowchart which shows operation | movement of a main routine. スイッチ処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a switch process. 鍵盤処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a keyboard process. 鍵盤処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a keyboard process. 発音タイマ処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a sound generation timer process. 発音タイマ処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a sound generation timer process.

符号の説明Explanation of symbols

1 鍵盤
2 スイッチ部
3 CPU
4 ROM
5 RAM
6 表示部
7 MIDIインタフェース
8 マイク
9 A/D変換器
10 音源
11 波形ROM
12 サウンドシステム
1 Keyboard 2 Switch 3 CPU
4 ROM
5 RAM
6 Display unit 7 MIDI interface 8 Microphone 9 A / D converter 10 Sound source 11 Waveform ROM
12 Sound system

Claims (8)

人声のフォルマント成分毎の変調波形を記憶する記憶手段と、
演奏操作に対応して生成される楽音波形を、人声のフォルマント成分別に濾波して被変調波形を形成する被変調波形形成手段と、
演奏操作に対応して前記記憶手段から読み出される人声のフォルマント成分毎の変調波形によって、前記被変調波形発生手段が形成する被変調波形を変調してボコーダ音を発生するボコーダ音発生手段と
を具備することを特徴とする楽音発生装置。
Storage means for storing a modulation waveform for each formant component of human voice;
A modulated waveform forming means for filtering a musical sound waveform generated corresponding to a performance operation according to a formant component of a human voice to form a modulated waveform;
Vocoder sound generating means for generating a vocoder sound by modulating the modulated waveform formed by the modulated waveform generating means according to a modulation waveform for each formant component of a human voice read from the storage means in response to a performance operation; A musical sound generator characterized by comprising.
前記ボコーダ音発生手段は、全鍵離鍵状態からの押鍵に応じて、前記記憶手段から読み出す変調波形を先頭にリセットすることを特徴とする請求項1記載の楽音発生装置。 2. A musical sound generating apparatus according to claim 1, wherein said vocoder sound generating means resets a modulation waveform read from said storage means to the head in response to a key depression from a full key release state. 楽音波形を人声のフォルマント成分別に濾波した被変調波形を記憶する記憶手段と、
演奏操作に対応して人声のフォルマント成分毎の変調波形を発生する変調波形発生手段と、
演奏操作に対応して前記記憶手段から読み出される人声のフォルマント成分別に濾波した被変調波形を、前記変調波形発生手段が発生する人声のフォルマント成分毎の変調波形により変調してボコーダ音を発生するボコーダ音発生手段と
を具備することを特徴とする楽音発生装置。
Storage means for storing a modulated waveform obtained by filtering a musical sound waveform for each formant component of a human voice;
Modulation waveform generating means for generating a modulation waveform for each formant component of human voice in response to a performance operation;
A vocoder sound is generated by modulating a modulated waveform filtered for each formant component of a human voice read from the storage means in response to a performance operation, with a modulation waveform for each formant component of the human voice generated by the modulation waveform generating means. And a vocoder sound generating means.
前記変調波形発生手段は、全鍵離鍵状態からの押鍵に応じて、発生する変調波形を先頭にリセットすることを特徴とする請求項3記載の楽音発生装置。 4. A musical tone generating apparatus according to claim 3, wherein said modulation waveform generating means resets the generated modulation waveform to the head in response to a key depression from an all key release state. 演奏操作に対応して生成される楽音波形を、人声のフォルマント成分別に濾波して被変調波形を形成する被変調波形形成処理と、
予め記憶された人声のフォルマント成分毎の変調波形を演奏操作に対応して読み出し、読み出された人声のフォルマント成分毎の変調波形によって、前記被変調波形発生処理にて形成される被変調波形を変調してボコーダ音を発生するボコーダ音発生処理と
をコンピュータで実行させることを特徴とする楽音発生プログラム。
A modulated waveform forming process for forming a modulated waveform by filtering a musical sound waveform generated corresponding to a performance operation according to a formant component of a human voice;
A modulated waveform for each formant component of a human voice stored in advance is read in response to a performance operation, and a modulated waveform formed by the modulated waveform generation process is read out according to the read modulation waveform for each formant component of a human voice. A musical sound generating program characterized by causing a computer to execute vocoder sound generation processing for generating a vocoder sound by modulating a waveform.
前記ボコーダ音発生処理は、全鍵離鍵状態からの押鍵に応じて、読み出す変調波形を先頭にリセットすることを特徴とする請求項5記載の楽音発生プログラム。 6. The musical tone generation program according to claim 5, wherein the vocoder sound generation process resets the modulation waveform to be read out to the head in response to a key depression from the all key release state. 演奏操作に対応して人声のフォルマント成分毎の変調波形を発生する変調波形発生処理と、
楽音波形を人声のフォルマント成分別に濾波した被変調波形を記憶しておき、演奏操作に対応して読み出した被変調波形を、前記変調波形発生手段が発生する人声のフォルマント成分毎の変調波形により変調してボコーダ音を発生するボコーダ音発生処理と
をコンピュータで実行させることを特徴とする楽音発生プログラム。
A modulation waveform generation process for generating a modulation waveform for each formant component of human voice in response to a performance operation;
A modulated waveform obtained by filtering a musical sound waveform according to a formant component of a human voice is stored, and a modulated waveform read out in response to a performance operation is converted into a modulated waveform for each formant component of a human voice generated by the modulation waveform generating means. A musical sound generating program that causes a vocoder sound generating process to generate a vocoder sound by modulating with a computer.
前記変調波形発生処理は、全鍵離鍵状態からの押鍵に応じて、発生する変調波形を先頭にリセットすることを特徴とする請求項7記載の楽音発生プログラム。 8. The musical tone generation program according to claim 7, wherein the modulation waveform generation processing resets the generated modulation waveform to the head in response to a key depression from the all key release state.
JP2005146652A 2005-05-19 2005-05-19 Musical sound generating device and musical sound generating program Active JP4591826B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005146652A JP4591826B2 (en) 2005-05-19 2005-05-19 Musical sound generating device and musical sound generating program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005146652A JP4591826B2 (en) 2005-05-19 2005-05-19 Musical sound generating device and musical sound generating program

Publications (2)

Publication Number Publication Date
JP2006323166A true JP2006323166A (en) 2006-11-30
JP4591826B2 JP4591826B2 (en) 2010-12-01

Family

ID=37542894

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005146652A Active JP4591826B2 (en) 2005-05-19 2005-05-19 Musical sound generating device and musical sound generating program

Country Status (1)

Country Link
JP (1) JP4591826B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05346787A (en) * 1992-06-12 1993-12-27 Casio Comput Co Ltd Speech operated control musical sound generating device
JPH0777979A (en) * 1993-06-30 1995-03-20 Casio Comput Co Ltd Speech-operated acoustic modulating device
JPH0934449A (en) * 1995-07-14 1997-02-07 Yamaha Corp Musical sound processing device
JPH11352970A (en) * 1998-06-09 1999-12-24 Roland Corp Waveform compressing and expanding device
JP2001356800A (en) * 2000-06-16 2001-12-26 Korg Inc Formant adding device
JP2004279750A (en) * 2003-03-17 2004-10-07 Casio Comput Co Ltd Device and program for musical sound generation
JP2004361482A (en) * 2003-06-02 2004-12-24 Casio Comput Co Ltd Waveform modulator and waveform modulation program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05346787A (en) * 1992-06-12 1993-12-27 Casio Comput Co Ltd Speech operated control musical sound generating device
JPH0777979A (en) * 1993-06-30 1995-03-20 Casio Comput Co Ltd Speech-operated acoustic modulating device
JPH0934449A (en) * 1995-07-14 1997-02-07 Yamaha Corp Musical sound processing device
JPH11352970A (en) * 1998-06-09 1999-12-24 Roland Corp Waveform compressing and expanding device
JP2001356800A (en) * 2000-06-16 2001-12-26 Korg Inc Formant adding device
JP2004279750A (en) * 2003-03-17 2004-10-07 Casio Comput Co Ltd Device and program for musical sound generation
JP2004361482A (en) * 2003-06-02 2004-12-24 Casio Comput Co Ltd Waveform modulator and waveform modulation program

Also Published As

Publication number Publication date
JP4591826B2 (en) 2010-12-01

Similar Documents

Publication Publication Date Title
JP4591826B2 (en) Musical sound generating device and musical sound generating program
JP2015018112A (en) Musical sound generating apparatus, musical sound generating method, and program
JP4096814B2 (en) Waveform modulation apparatus and waveform modulation program
JP2006337450A (en) Device and program for generation of musical sound
JP6573100B2 (en) Musical sound control device, musical sound control method, program, and electronic musical instrument
JP2015179229A (en) Musical sound generator, electronic music instrument, musical sound generating method and program
JP5246473B2 (en) Musical sound generator and musical sound generation processing program
JP2007193151A (en) Musical sound control device and program of musical sound control processing
JP4492680B2 (en) Music generator
JP3543124B2 (en) Automatic accompaniment device
JP4164665B2 (en) Parameter control apparatus and parameter control program
JP2008097022A (en) Musical sound generator
JP4032208B2 (en) Key information processing apparatus and key information processing method
JP5082760B2 (en) Sound control apparatus and program
JP2009186565A (en) Low-frequency oscillator and low-frequency oscillation processing program
JP4576565B2 (en) Performance apparatus and performance processing program
JP2004361884A (en) Waveform modulator and waveform modulate program
JP2012220861A (en) Musical sound generating device and program
JP4513738B2 (en) Performance apparatus and performance processing program
JP2004279750A (en) Device and program for musical sound generation
JP2008052305A (en) Musical sound generator
JP2012252073A (en) Musical tone data correcting device and program
JP3533764B2 (en) Automatic accompaniment device
JP3916063B2 (en) Spectrum setting apparatus and spectrum setting method
JPH04216595A (en) Electronic musical instrument

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080501

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100323

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100614

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100805

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100820

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100902

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130924

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4591826

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150