JP3316530B2 - Music control device - Google Patents

Music control device

Info

Publication number
JP3316530B2
JP3316530B2 JP29408292A JP29408292A JP3316530B2 JP 3316530 B2 JP3316530 B2 JP 3316530B2 JP 29408292 A JP29408292 A JP 29408292A JP 29408292 A JP29408292 A JP 29408292A JP 3316530 B2 JP3316530 B2 JP 3316530B2
Authority
JP
Japan
Prior art keywords
time
note
tone
data
register
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP29408292A
Other languages
Japanese (ja)
Other versions
JPH06149248A (en
Inventor
博毅 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP29408292A priority Critical patent/JP3316530B2/en
Publication of JPH06149248A publication Critical patent/JPH06149248A/en
Application granted granted Critical
Publication of JP3316530B2 publication Critical patent/JP3316530B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、電子楽器等に用いられ
る楽音制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a musical tone control device used for electronic musical instruments and the like.

【0002】[0002]

【従来の技術】従来より、例えば、PCM方式、FM方
式等、各種音源を用いた電子楽器がある。
2. Description of the Related Art Conventionally, there are electronic musical instruments using various sound sources such as a PCM system and an FM system.

【0003】このような電子楽器において生成される楽
音波形データにおいては、発音されるべき楽音の種類に
応じた発音特性が設定される。例えば、管楽器やギター
等の音色を有する楽音波形データは、その発音開始部分
(アタック部)に雑音(ノイズ)成分を含むように生成
され、逆に、ピアノ等の音色を有する楽音波形データ
は、そのアタック部に雑音(ノイズ)成分を含まないよ
うに生成される。
In musical tone waveform data generated in such an electronic musical instrument, tone generation characteristics are set according to the type of musical tone to be emitted. For example, musical sound waveform data having a tone color such as a wind instrument or a guitar is generated so as to include a noise (noise) component in a sound generation start portion (attack portion). It is generated so that the attack part does not include noise (noise) components.

【0004】また、ピアノ等の音色を有する楽音波形デ
ータは、そのアタック部の波形の立ち上がりが比較的速
くなるように生成され、逆に、ブラス系の音色を有する
楽音波形データは、そのアタック部の波形の立ち上がり
が比較的遅くなるように生成される。
Further, musical tone waveform data having a tone color of a piano or the like is generated such that the rise of the waveform of an attack portion is relatively fast. Conversely, musical tone waveform data having a brass tone color is generated in the attack portion. Is generated such that the rising of the waveform of the waveform is relatively slow.

【0005】[0005]

【発明が解決しようとする課題】上述のような様々な発
音特性を有する楽音波形データに基づく楽音が発音され
る場合において、演奏状態が異なる場合、発音される楽
音の種類によっては好ましい発音がなされない場合があ
る。
In the case where musical tones are generated based on musical tone waveform data having various sound generating characteristics as described above, if the playing state is different, a preferable sound is not produced depending on the type of musical sound to be generated. May not be.

【0006】例えば、演奏者が速い演奏速度で演奏を行
った場合である。そのような場合において、例えば、ア
タック部にノイズを多く含む音色の楽音波形データに基
づく楽音が速い演奏に応じて次々に発音される場合、各
楽音の発音開始(ノートオン)から消音(ノートオフ)
までの時間が短くなるため、それぞれの楽音に対応する
楽音波形データは、そのアタック部のノイズ成分しか出
力されないことになる。そのような楽音波形データに基
づいて楽音が発音される結果、全体としてノイズばかり
が目立つ音程感のない演奏となってしまい、本来の音色
を有する楽音が発音されなくなってしまうという問題点
を有している。
[0006] For example, a case where a player performs at a high performance speed. In such a case, for example, when musical tones based on musical tone waveform data of a tone containing much noise in an attack portion are successively generated in response to a fast performance, mute (note off) from the start of each musical tone (note on). )
Since the time until the time becomes short, only the noise component of the attack part is output from the musical tone waveform data corresponding to each musical tone. As a result of generating musical tones based on such musical tone waveform data, there is a problem in that the performance becomes inconspicuous as a whole with no noise, and the musical tones having the original timbre cannot be generated. ing.

【0007】また、例えば、アタック部の波形の立ち上
がりが遅い音色の楽音波形データに基づく楽音が速い演
奏に応じて次々に発音される場合、やはり各楽音のノー
トオンからノートオフまでの時間が短くなるため、それ
ぞれの楽音に対応する楽音波形データは、そのアタック
部の振幅レベルがほとんどない波形部分しか出力されな
いことになる。そのような楽音波形データに基づいて楽
音が発音される結果、全体として楽音らしい音色がほと
んど聞こえない演奏となってしまい、この場合にも、本
来の音色を有する楽音が発音されなくなってしまうとい
う問題点を有している。
Further, for example, when the tones based on the musical tone waveform data of the tone having a slow rise of the waveform of the attack portion are successively generated in response to the fast performance, the time from note-on to note-off of each musical tone is also short. Therefore, as for the musical tone waveform data corresponding to each musical tone, only the waveform portion having almost no amplitude level in the attack portion is output. As a result of the musical tone being generated based on such musical tone waveform data, a performance in which a tone similar to a musical tone can hardly be heard as a whole, and in this case also, a musical tone having an original tone cannot be generated. Have a point.

【0008】このように、従来の電子楽器等において、
演奏状態が異なる場合、発音される楽音の種類によって
は好ましい発音がなされないという問題点を有してい
る。本発明の課題は、演奏状態のいかんによらず常に安
定して好ましい楽音を発生可能とすることにある。
Thus, in a conventional electronic musical instrument or the like,
If the performance state is different, there is a problem that a preferable tone is not produced depending on the type of musical tone to be emitted. SUMMARY OF THE INVENTION An object of the present invention is to make it possible to generate a stable and stable musical tone regardless of the performance state.

【0009】[0009]

【課題を解決するための手段】本発明は、まず、過去の
所定時間内に発生した楽音のノートオンからノートオフ
までの時間の平均値に基づいて演奏状態を評価する演奏
状態評価手段を有する。この手段は、例えば新たなノー
トオン指示が行われるタイミングから過去の所定時間内
に発音された楽音のゲートタイムの平均値から演奏速度
を評価する。
According to the present invention, a musical tone generated within a predetermined time in the past is changed from note-on to note-off.
Performance state evaluation means for evaluating the performance state based on the average value of the time up to. This means, for example, within a predetermined time in the past from the timing when a new note-on instruction is issued
The performance speed is evaluated from the average value of the gate time of the musical tone that is pronounced at the time .

【0010】次に、演奏状態評価手段による演奏状態の
評価結果に基づいて、新たなノートオン指示に基づいて
生成される楽音の特性を制御する楽音特性制御手段を有
する。この手段は、例えば、演奏状態評価手段による演
奏速度の評価結果に基づいて、新たなノートオン指示に
基づいて生成される楽音の立ち上がり部の特性を制御す
る。より具体的には、楽音制御手段は、演奏状態評価手
段による演奏速度の評価結果に基づいて、新たなノート
オン指示に基づいて生成される楽音の波形生成開始位置
をシフトする。或いは、楽音制御手段は、演奏状態評価
手段による演奏速度の評価結果に基づいて、新たなノー
トオン指示に基づいて生成される楽音の立ち上がり部の
振幅エンベロープ特性を変更する。
Next, there is provided a tone characteristic control means for controlling the characteristic of a tone generated based on a new note-on instruction based on the performance state evaluation result by the performance state evaluation means. This means controls, for example, a characteristic of a rising portion of a tone generated based on a new note-on instruction, based on a performance speed evaluation result by the performance state evaluation means. More specifically, the musical tone control means shifts a waveform generation start position of a musical tone generated based on a new note-on instruction based on a performance speed evaluation result by the performance state evaluating means. Alternatively, the tone control means changes the amplitude envelope characteristic of the rising portion of the tone generated based on the new note-on instruction based on the performance speed evaluation result by the performance state evaluation means.

【0011】[0011]

【作用】本発明においては、演奏状態評価手段によっ
て、過去の所定時間内に発生した楽音のノートオンから
ノートオフまでの時間の平均値に基づいて演奏状態が評
価され、この評価結果に基づいて、楽音特性制御手段
が、新たなノートオン指示に応じて生成される楽音の特
性を制御する
According to the present invention, the performance state evaluating means is used.
From the note-on of the tone that occurred within the predetermined time in the past
Performance status is evaluated based on the average value of the time until note-off.
Based on the result of the evaluation.
Of the tone generated in response to a new note-on instruction
Control gender .

【0012】[0012]

【0013】この結果、現在認識された演奏状態に対応
する好ましい楽音が発音される。具体的には、例えば、
演奏状態評価手段は、過去の所定期間に発音された楽音
のノートオンからノートオフまでの時間の平均値として
演奏速度を評価し、楽音特性制御手段が、その評価結果
に基づいて、新たなノートオン指示に基づいて生成され
る楽音の立ち上がり部の特性、例えば、楽音の波形生成
開始位置や楽音の立ち上がり部の振幅エンベロープ特性
を変更する。
As a result, a preferred musical tone corresponding to the currently recognized performance state is generated. Specifically, for example,
The performance state evaluation means evaluates the performance speed as an average value of the time from note-on to note-off of a tone generated during a predetermined period in the past, and the tone characteristic control means evaluates a new note based on the evaluation result. The characteristics of the rising portion of the tone generated based on the ON instruction, for example, the waveform generation start position of the tone and the amplitude envelope characteristic of the rising portion of the tone are changed.

【0014】このように、例えば、立ち上がり部にノイ
ズ成分を含む音色の場合に、演奏速度が速くなると、立
ち上がり部のノイズ成分が発音されないよう、楽音の波
形生成開始位置がシフトされ、ノイズ成分が除去された
楽音が発音される。
As described above, for example, in the case of a tone having a noise component in the rising portion, when the performance speed increases, the waveform generation start position of the musical tone is shifted so that the noise component in the rising portion is not generated, and the noise component is reduced. The removed musical tone is pronounced.

【0015】また、例えば、波形の立ち上がりが遅い音
色の場合には、楽音の立ち上がり部の振幅エンベロープ
特性が、波形の立ち上がりが速くなりその最大レベルも
大きくなるように、変更される。
[0015] For example, in the case of a tone having a slow rising waveform, the amplitude envelope characteristic of the rising portion of the musical tone is changed so that the rising waveform has a fast rise and its maximum level also increases.

【0016】このように、立ち上がり部の波形生成開始
位置又は振幅エンベロープ特性が変更され、これによ
り、現在認識された演奏速度に対応する好ましい楽音が
発音される。
As described above, the waveform generation start position or the amplitude envelope characteristic of the rising portion is changed, so that a preferred musical tone corresponding to the currently recognized playing speed is generated.

【0017】[0017]

【実施例】以下、図面を参照しながら本発明の実施例を
説明する。 <実施例の構成>まず、本発明の実施例の構成を説明す
る。
Embodiments of the present invention will be described below with reference to the drawings. <Structure of Embodiment> First, the structure of an embodiment of the present invention will be described.

【0018】図1は、本発明の実施例の全体構成図であ
り、電子楽器として実現される。まず、電子楽器10
は、装置全体を制御するCPU(中央演算処理装置)
1、そのCPU1に接続するスイッチ部2、及びローパ
スフィルタLPF4、そのローパスフィルタLPF4に
接続するアンプ(増幅器)5、及びそのアンプ5に接続
するスピーカ6から構成されている。
FIG. 1 is an overall configuration diagram of an embodiment of the present invention, which is realized as an electronic musical instrument. First, the electronic musical instrument 10
Is a CPU (Central Processing Unit) that controls the entire device
1, a switch unit 2 connected to the CPU 1, a low-pass filter LPF4, an amplifier (amplifier) 5 connected to the low-pass filter LPF4, and a speaker 6 connected to the amplifier 5.

【0019】スイッチ部2は、特には図示しない鍵盤ス
イッチ、機能スイッチ等からなる楽器操作入力部であ
り、ユーザのスイッチ操作により入力された演奏情報を
CPU1に出力する。
The switch section 2 is a musical instrument operation input section including a keyboard switch, a function switch, and the like (not shown), and outputs performance information input by a user's switch operation to the CPU 1.

【0020】CPU1は、内部にROM(Read Only Mem
ory)1a、RAM(Random AccessMemory) 1b、ラッチ
1c、ラッチ1d、及びD/A(ディジタル/アナロ
グ)変換器1e等を備えている。
The CPU 1 has a ROM (Read Only Mem
ory) 1a, a RAM (Random Access Memory) 1b, a latch 1c, a latch 1d, and a D / A (digital / analog) converter 1e.

【0021】ROM1aは、制御データ兼波形用ROM
であり、後述する動作フローチャートの動作を実現する
ための各種楽音制御用プログラムのほか、各種の楽音波
形データや、エンベロープレート、エンベロープレベル
等の楽音制御データ(図2で後述する)等を記憶してい
る。
The ROM 1a is a control data / waveform ROM.
In addition to various tone control programs for realizing the operation of the operation flowchart described later, various tone waveform data and tone control data (described later in FIG. 2) such as an envelope plate and an envelope level are stored. ing.

【0022】また、RAM1bは、例えば、16の発音
チャネルのそれぞれに対応する楽音制御データを記憶す
る発音チャネル領域、楽音波形データ累算用レジスタR
等を有している。
The RAM 1b includes, for example, a tone generation channel area for storing tone control data corresponding to each of the sixteen tone generation channels, and a tone waveform data accumulation register R.
Etc.

【0023】CPU1は、スイッチ部2から入力する演
奏情報に基づいて、ROM1a内のプログラムに従っ
て、ROM1a内の楽音制御データ及びRAM1bを使
用しながら、ソフトウエアによる16発音チャネル分の
音源処理を実行し、その結果、RAM1bの楽音波形デ
ータ累算用レジスタRに累算された楽音波形データをラ
ッチ1cに出力する。
The CPU 1 executes software sound source processing for 16 sounding channels based on performance information input from the switch unit 2 and according to a program in the ROM 1a, using the tone control data in the ROM 1a and the RAM 1b. As a result, the tone waveform data accumulated in the tone waveform data accumulation register R of the RAM 1b is output to the latch 1c.

【0024】ラッチ1cは、CPU1内部の特には図示
しないインストラクションデコーダ等から成る制御部か
ら16発音チャネル分の音源処理が終了する毎に入力す
る音源処理終了信号COMにより、上記音源処理で作成
された1サンプル分の楽音波形データをラッチする。
The latch 1c is generated by the above-described sound source processing in response to a sound source processing end signal COM which is input each time the sound source processing for 16 sounding channels ends from a control unit including an instruction decoder and the like (not shown) inside the CPU 1. The tone waveform data for one sample is latched.

【0025】ここで、前述の音源処理に要する時間は、
音源処理用のソフトウエアの実行条件により変化するた
め、音源処理が終了し、ラッチ1cに楽音波形データが
ラッチされるタイミングは一定でない。そのため、ラッ
チした楽音波形データをそのままD/A変換器1eに出
力させることはできない。
Here, the time required for the sound source processing is as follows.
Since the sound source processing changes depending on the execution condition of the software for sound source processing, the timing at which the sound source processing ends and the musical tone waveform data is latched in the latch 1c is not constant. Therefore, the latched tone waveform data cannot be directly output to the D / A converter 1e.

【0026】そこで、ラッチ1dが、ハードクロックに
より分周生成される44kHz(キロヘルツ)の周波数
を有するサンプリングクロックに同期したインタラプト
信号INTによって、上記ラッチ1cから出力されてい
る楽音波形データをラッチし、その出力をD/A変換器
1eに供給する。
Then, the latch 1d latches the tone waveform data output from the latch 1c by an interrupt signal INT synchronized with a sampling clock having a frequency of 44 kHz (kilohertz) generated by dividing the frequency by a hard clock, The output is supplied to the D / A converter 1e.

【0027】この結果、D/A変換器1eは、上述の楽
音波形データを、サンプリングクロックに正確に同期し
たタイミングでアナログ楽音信号に変換し、ローパスフ
ィルタ4に出力する。
As a result, the D / A converter 1e converts the above-mentioned tone waveform data into an analog tone signal at a timing accurately synchronized with the sampling clock, and outputs the analog tone signal to the low-pass filter 4.

【0028】ローパスフィルタ4は、上述のアクセス楽
音信号を平滑化し、アンプ5はこれを増幅してスピーカ
6を介して外部に放音する。 <楽音制御データの構成>図2に、ROM1aに記憶さ
れている楽音制御データの一例を示す。
The low-pass filter 4 smoothes the access tone signal described above, and the amplifier 5 amplifies the signal and emits the sound to the outside via the speaker 6. <Structure of Tone Control Data> FIG. 2 shows an example of tone control data stored in the ROM 1a.

【0029】楽音制御データは、音色毎に組で記憶され
ている。図2には、1音色分の楽音制御データのうち、
本発明に関連するもののみが示されている。
The tone control data is stored in pairs for each tone. FIG. 2 shows the tone control data for one tone.
Only those relevant to the present invention are shown.

【0030】データ領域2aには、振幅エンベロープア
タックレートデータ、振幅エンベロープアタックレベル
データ、及びスタートアドレスデータ等が記憶されてい
る。振幅エンベロープアタックレートデータは、楽音の
振幅エンベロープにおいて、アタック部の立ち上がりの
速さを決定するデータである。振幅エンベロープアタッ
クレベルデータは、楽音の振幅エンベロープにおいて、
アタック部の最大振幅レベルを決定するデータである。
スタートアドレスデータは、ROM1a内の波形データ
領域から読み出されるべき楽音波形データの開始アドレ
スであり、このデータによって、読み出される波形が決
定され、音色が決まる。
The data area 2a stores amplitude envelope attack rate data, amplitude envelope attack level data, start address data, and the like. The amplitude envelope attack rate data is data that determines the rising speed of the attack portion in the amplitude envelope of a musical tone. Amplitude envelope attack level data is the amplitude envelope of the musical tone.
This is data for determining the maximum amplitude level of the attack section.
The start address data is the start address of the musical tone waveform data to be read from the waveform data area in the ROM 1a, and the readout waveform is determined by this data, and the timbre is determined.

【0031】データ領域2bには、上記各データとそれ
ぞれ対となる振幅エンベロープアタックレートシフトデ
ータ、振幅エンベロープアタックレベルシフトデータ、
スタートアドレスシフトデータ等のシフトデータが記憶
されている。これらのデータは本発明に特に関連するデ
ータである。
In the data area 2b, amplitude envelope attack rate shift data, amplitude envelope attack level shift data,
Shift data such as start address shift data is stored. These data are data particularly relevant to the present invention.

【0032】振幅エンベロープアタックレートシフトデ
ータは、演奏速度が速いときに、楽音の振幅エンベロー
プにおけるアタック部の立ち上がりの速さを速くなるよ
うにシフトするためのデータである。また、振幅エンベ
ロープアタックレベルシフトデータは、演奏速度が速い
ときに、楽音の振幅エンベロープにおけるアタック部の
最大振幅レベルを大きくなるようにシフトするためのデ
ータである。これらのシフトデータの値は、振幅エンベ
ロープアタックレートデータの値の大小に応じて、即
ち、アタック部の波形の立ち上がりが速いか遅いかに応
じて決定され、アタック部の波形の立ち上がりが遅い場
合には大きい値が設定される。
The amplitude envelope attack rate shift data is data for shifting the rising speed of the attack portion in the amplitude envelope of the musical tone so that the rising speed of the tone envelope is increased when the playing speed is high. Further, the amplitude envelope attack level shift data is data for shifting the maximum amplitude level of the attack portion in the amplitude envelope of the musical tone so as to increase when the playing speed is high. The values of these shift data are determined according to the magnitude of the value of the amplitude envelope attack rate data, that is, depending on whether the rise of the waveform of the attack part is fast or slow, and when the rise of the waveform of the attack part is slow. Is set to a large value.

【0033】スタートアドレスシフトデータは、アタッ
ク部にノイズ成分を含む音色において、演奏速度が速い
ときに、アタック部のノイズ成分が発音されないよう、
ROM1a内の波形データ領域から読み出されるべき楽
音波形データのスタートアドレスをシフトするためのデ
ータである。アタック部にノイズ成分を含まない音色に
おいては、このデータの値は0にされアドレスのシフト
は行われない。 <レジスタのデータ構成>次に、RAM1bに設けられ
るレジスタのうち、本発明に関連するもののデータ構成
を、図3(a),(b) 及び図4(a) 〜(f) に示す。
The start address shift data is provided so that when the playing speed is high, the noise component of the attack portion is not generated in a tone having a noise component in the attack portion.
This is data for shifting the start address of the tone waveform data to be read from the waveform data area in the ROM 1a. For a tone color that does not include a noise component in the attack portion, the value of this data is set to 0 and the address is not shifted. <Data Structure of Register> Next, among the registers provided in the RAM 1b, the data structure of those related to the present invention is shown in FIGS. 3 (a) and 3 (b) and FIGS. 4 (a) to 4 (f).

【0034】図3(a) に示す16個のゲートオン時間&
ノートオフ時刻レジスタGOF(i)(i=1〜16)
は、それぞれ、16の発音チャネルのうちの各発音チャ
ネルに対応する、ノートオン時刻からノートオフ時刻ま
での時間である16ビットのゲートオン時間iと16ビ
ットのノートオフ時刻iとを記憶する32ビットのレジ
スタである。
The 16 gate-on times & shown in FIG.
Note-off time register GOF (i) (i = 1 to 16)
Is a 32-bit memory that stores a 16-bit gate-on time i and a 16-bit note-off time i, which are the time from the note-on time to the note-off time, corresponding to each of the 16 sounding channels. Register.

【0035】図3(b) に示す16個のノートオン時刻レ
ジスタNOT(i)は、それぞれ、16の発音チャネル
のうちの各発音チャネルに対応するノートオン時刻を記
憶する16ビットのレジスタである。
Each of the sixteen note-on time registers NOT (i) shown in FIG. 3B is a 16-bit register for storing a note-on time corresponding to each tone generation channel among the sixteen tone generation channels. .

【0036】従って、レジスタGOF(i)及びNOT
(i)によって、16の発音チャネルのそれぞれに対応
して、ノートオン時刻、ノートオフ時刻、及びゲートオ
ン時間の3つのデータが記憶される。
Therefore, the registers GOF (i) and NOT
According to (i), three data of a note-on time, a note-off time, and a gate-on time are stored for each of the 16 sounding channels.

【0037】図4(a) に示す時間カウンタTCは、ノー
トオン時刻及びノートオフ時刻を計時するための16ビ
ットのレジスタであり、後述する図7のタイマーインタ
ラプトルーチン1によって、1msec(ミリ秒)毎に
+1ずつインクリメントされる。この場合、カウント値
は、65535(10進表現)に達した後にインクリメ
ントされると0に戻る。従って、時間カウンタTCは、
0〜65535までの値を繰り返し計数する。
The time counter TC shown in FIG. 4A is a 16-bit register for measuring the note-on time and the note-off time. The time counter TC is 1 msec (millisecond) by a timer interrupt routine 1 shown in FIG. It is incremented by +1 each time. In this case, when the count value is incremented after reaching 65535 (decimal notation), it returns to 0. Therefore, the time counter TC is:
The value from 0 to 65535 is counted repeatedly.

【0038】図4(b) に示すチャネルレジスタCHは、
ゲートオン時刻&ノートオン時刻レジスタGOF(i)
又はノートオン時刻レジスタNOT(i)がアクセスさ
れるときに発音チャネルを指定するために用いられる4
ビットのレジスタである。
The channel register CH shown in FIG.
Gate-on time & note-on time register GOF (i)
Alternatively, when the note-on time register NOT (i) is accessed, 4 is used to designate a sounding channel.
Bit register.

【0039】図4(c) の平均ゲートオン時間レジスタ
は、ゲートオン時間の平均値を記憶する16ビットのレ
ジスタである。図4(d) の最新ノートオン時刻レジスタ
NNTは、最新のノートオン時刻を記憶する16ビット
のレジスタである。
The average gate-on time register in FIG. 4C is a 16-bit register that stores the average value of the gate-on time. The latest note-on time register NNT in FIG. 4D is a 16-bit register that stores the latest note-on time.

【0040】図4(e) に示すゲートオン時間無視フラグ
GOIは、16ビットのフラグレジスタであり、1ビッ
トが1発音チャネルに対応し、MSBが第1チャネル、
LSBが第16チャネルに対応する。
The gate-on time ignoring flag GOI shown in FIG. 4E is a 16-bit flag register. One bit corresponds to one sounding channel, the MSB is the first channel,
LSB corresponds to the 16th channel.

【0041】このフラグレジスタにおいては、連続して
ノートオンが発生した場合に、そのノートオンの間隔が
極めて短くそれらの連続するノートオンが和音を構成す
ると判別された場合、その和音を構成する最初にノート
オンした音以外の音がアサインされる発音チャネルに対
応するビットに“1”がセットされる。本発明の実施例
では、後述するように、速い速度で演奏が行われノート
オンの間隔が短くなる状態を判別する必要があるが、こ
の状態と和音が演奏された状態とを区別するためにゲー
トオン時間無視フラグGOIが使用される。即ち、和音
が演奏された場合のノートオンの間隔は、速い速度で演
奏が行われた場合のノートオンの間隔よりも更に短くな
るため、そのような状態を判別することによりゲートオ
ン時間無視フラグGOIがセットされる。
In this flag register, when note-on occurs continuously, if the interval of the note-on is determined to be extremely short and it is determined that the consecutive note-on constitutes a chord, the first note constituting the chord is generated. Is set to a bit corresponding to a sound channel to which a sound other than the note-on sound is assigned. In the embodiment of the present invention, as will be described later, it is necessary to determine a state in which the performance is performed at a high speed and the interval between note-on becomes short. In order to distinguish this state from the state in which the chord is played, The gate on time ignoring flag GOI is used. That is, the interval of note-on when a chord is played becomes even shorter than the interval of note-on when a performance is performed at a high speed. Therefore, by discriminating such a state, the gate-on time ignoring flag GOI is determined. Is set.

【0042】最後に、図4(f) に示すワーキングレジス
タWは、演算途中の中間データ等を一時的に記憶する1
6ビットのレジスタである。 <実施例の概略動作>次に、本発明の実施例の概略動作
を説明する。
Finally, the working register W shown in FIG. 4 (f) temporarily stores intermediate data and the like during the operation.
It is a 6-bit register. <Schematic Operation of Embodiment> Next, the schematic operation of the embodiment of the present invention will be described.

【0043】まず、1つのノートオンが1つの発音チャ
ネルiにアサインされると、その発音チャネルiに対応
するノートオン時刻レジスタNOT(i)にノートオン
時刻が記憶される。
First, when one note-on is assigned to one sound channel i, the note-on time is stored in the note-on time register NOT (i) corresponding to the sound channel i.

【0044】次に、1つの発音チャネルiについてノー
トオフが発生すると、その発音チャネルiに対応するゲ
ートオン時間&ノートオフ時刻レジスタGOF(i)に
ノートオフ時刻が記憶されると共に、その発音チャネル
iに対応するノートオン時刻レジスタNOT(i)に記
憶されているノートオン時刻から上記ノートオフ時刻ま
での時間差がゲートオン時間として算出され、それが発
音チャネルiに対応するゲートオン時間&ノートオフ時
刻レジスタGOF(i)に記憶される。
Next, when note-off occurs for one sounding channel i, the note-off time is stored in the gate-on time & note-off time register GOF (i) corresponding to the sounding channel i, and the sounding channel i Is calculated as a gate-on time from the note-on time stored in the note-on time register NOT (i) corresponding to the note-on time to the above-mentioned note-off time, and this is calculated as the gate-on time & note-off time register GOF corresponding to the sound channel i. (I).

【0045】このようにして、複数の発音チャネルのそ
れぞれについて、ノートオン時刻、ノートオフ時刻、及
びゲートオン時間が順次記憶される。そして、新たにノ
ートオンが発生すると、ゲートオン時間&ノートオフ時
刻レジスタGOF(i)(i=1〜16)において、ノ
ートオフ時刻が現在時刻から過去の所定時間以内である
ゲートオン時間が全て抽出され、それら抽出されたゲー
トオン時間の平均値が算出される。このゲートオン時間
の平均値は、直近の過去から現在までの演奏速度に対応
しており、ゲートオン時間が短ければ演奏速度は速く、
長ければ遅い。
In this manner, the note-on time, note-off time, and gate-on time are sequentially stored for each of the plurality of tone generation channels. When a new note-on occurs, the gate-on time & note-off time register GOF (i) (i = 1 to 16) extracts all gate-on times whose note-off time is within a predetermined time in the past from the current time. , The average value of the extracted gate-on times is calculated. The average value of the gate-on time corresponds to the performance speed from the last past to the present.
It is slow if it is long.

【0046】そこで、上述の算出されたゲートオン時間
の平均値が図9に示されるような変換特性を有する変換
テーブルに入力されることにより、その出力として上記
ゲートオン時間に対応する演奏速度データが算出され
る。
Therefore, the average value of the calculated gate-on time is input to a conversion table having the conversion characteristics as shown in FIG. 9, so that the performance speed data corresponding to the gate-on time is calculated as an output. Is done.

【0047】続いて、上述した算出された演奏速度デー
タの値が、ROM1a内の図2に示されるデータ領域2
bに記憶されている振幅エンベロープアタックレートシ
フトデータ、振幅エンベロープアタックレベルシフトデ
ータ、及びスタートアドレスシフトデータにそれぞれ乗
算され、各乗算結果が、図2に示されるデータ領域2a
に記憶されている振幅エンベロープアタックレートデー
タ、振幅エンベロープアタックレベルデータ、及びスタ
ートアドレスデータにそれぞれ加算されることにより、
アタック部における振幅エンベロープの立ち上がりのレ
ート、最大レベル、及び楽音波形データのスタートアド
レスが可変される。
Subsequently, the value of the calculated performance speed data is stored in the data area 2 shown in FIG.
b is multiplied by the amplitude envelope attack rate shift data, the amplitude envelope attack level shift data, and the start address shift data, respectively, and the result of the multiplication is a data area 2a shown in FIG.
Is added to the amplitude envelope attack rate data, the amplitude envelope attack level data, and the start address data stored in
The rising rate of the amplitude envelope in the attack section, the maximum level, and the start address of the musical tone waveform data are varied.

【0048】今、アタック部の波形の立ち上がりが遅い
音色の場合には、振幅エンベロープアタックレートシフ
トデータ及び振幅エンベロープアタックレベルシフトデ
ータとしては大きい値が設定されているため、演奏速度
が速くなると、振幅エンベロープアタックレートデータ
及び振幅エンベロープアタックレベルデータに大きい値
が加算される。この結果、アタック部における振幅エン
ベロープの立ち上がりが速く、その部分での最大レベル
も大きい楽音が発音される。
Now, in the case of a tone having a slow rise in the waveform of the attack portion, large values are set as the amplitude envelope attack rate shift data and the amplitude envelope attack level shift data. A large value is added to the envelope attack rate data and the amplitude envelope attack level data. As a result, a tone with a rapid rise of the amplitude envelope in the attack portion and a large maximum level in that portion is generated.

【0049】一方、アタック部にノイズ成分を含む音色
の場合には、スタートアドレスシフトデータとしては大
きい値が設定されているため、演奏速度が速くなると、
スタートアドレスデータに大きい値が加算される。この
結果、アタック部のノイズ成分が発音されないよう、R
OM1a内の波形データ領域から読み出されるべき楽音
波形データのスタートアドレスがシフトされ、ノイズ成
分が除去された楽音が発音される。
On the other hand, in the case of a tone color containing a noise component in the attack portion, a large value is set as the start address shift data.
A large value is added to the start address data. As a result, the noise component of the attack portion is not generated so that R
The start address of the musical tone waveform data to be read from the waveform data area in the OM1a is shifted, and a musical tone from which a noise component has been removed is generated.

【0050】このように、アタック部の波形読み出し位
置又は振幅エンベロープ特性が変更され、これにより、
現在認識された演奏速度に対応する好ましい楽音が発音
される。 <実施例の具体的動作>続いて、本発明の実施例の具体
的な動作につき説明する。
As described above, the waveform readout position or the amplitude envelope characteristic of the attack portion is changed, and as a result,
A preferred tone corresponding to the currently recognized playing speed is produced. <Specific Operation of Embodiment> Next, a specific operation of the embodiment of the present invention will be described.

【0051】図5のメインフローチャートは、CPU1
内の特には図示しないインタラプト制御部から割り込み
が掛からない状態においてCPU1により実行される音
源処理以外の処理であり、CPU1がROM1aに記憶
された制御プログラムを実行する処理として実現され
る。
The main flowchart of FIG.
In particular, this is a process other than the sound source process executed by the CPU 1 in a state where an interrupt is not applied from an interrupt control unit (not shown), and is realized as a process in which the CPU 1 executes a control program stored in the ROM 1a.

【0052】図5において、まず、ステップS1で、電
源がONされ、CPU1内のRAM1b(図1参照)の
内容等の初期設定が行われる。この初期設定では、ゲー
トオン時間&ノートオフ時刻レジスタGOF(i)のゲ
ートオン時間を示す前半16ビットには全て“1”がセ
ットされる。これにより、初期状態においてはゲートオ
ン時間の平均値が大きくされ、従って、最初から演奏速
度が速いと誤判別されてしまう不都合を回避できる。
In FIG. 5, first, in step S1, the power is turned on, and the initial settings such as the contents of the RAM 1b (see FIG. 1) in the CPU 1 are performed. In this initial setting, all "1" are set to the first 16 bits indicating the gate-on time of the gate-on time & note-off time register GOF (i). As a result, in the initial state, the average value of the gate-on time is increased, so that it is possible to avoid the inconvenience of erroneously determining that the performance speed is fast from the beginning.

【0053】また、ノートオフ時刻を示す後半16ビッ
トには、全て“0”がセットされる。更に、平均ゲート
オン時間レジスタAGOには、上述したゲートオン時間
の場合と同様に、最初から演奏速度が速いと誤判別され
ないよう、16ビット全てに“1”がセットされる。
The last 16 bits indicating the note-off time are all set to "0". Further, as in the case of the gate-on time described above, "1" is set to all 16 bits in the average gate-on time register AGO so that it is not erroneously determined that the playing speed is fast from the beginning.

【0054】他のレジスタ群、すなわちノートオン時刻
レジスタNOT(i)、時間カウンタTC、発音チャネ
ルレジスタCH、最新ノートオン時刻レジスタNNT、
ゲートオン時間無視フラグGOI、及びワーキングレジ
スタWには、全て“0”がセットされる。
Other register groups, that is, a note-on time register NOT (i), a time counter TC, a tone generation channel register CH, a latest note-on time register NNT,
“0” is set in the gate-on time ignoring flag GOI and the working register W.

【0055】次に、ステップS2で、CPU1の外部に
接続されるスイッチ部2の機能スイッチ等の各スイッチ
の状態が走査され、各スイッチの状態がRAM1b内の
キーバッファエリアに取り込まれる。
Next, in step S2, the state of each switch such as a function switch of the switch unit 2 connected to the outside of the CPU 1 is scanned, and the state of each switch is taken into a key buffer area in the RAM 1b.

【0056】ステップS3では、上述の走査の結果、状
態の変化した機能スイッチが識別され、対応する機能の
処理がなされる。例えば、音色切替スイッチがユーザに
より操作されていれば、ROM1aにおいてアクセスさ
れる図2に示されるような楽音制御データのアクセスア
ドレスが変更される。
In step S3, as a result of the above-described scanning, the function switch whose state has changed is identified, and the processing of the corresponding function is performed. For example, if the tone color changeover switch is operated by the user, the access address of the tone control data accessed in the ROM 1a as shown in FIG. 2 is changed.

【0057】ステップS4では、スイッチ部2の鍵盤に
おいて、鍵スイッチの状態が機能スイッチの場合と同様
に取り込まれ、続くステップS5で、変化した鍵スイッ
チの状態、例えば離鍵されていた状態から押鍵された状
態、あるいは押鍵状態から離鍵状態になったことが識別
されることにより、それらに対応する処理が実行され
る。このステップS5の処理が本発明に最も関連し、こ
の処理については更に後述する。
In step S4, the state of the key switch is taken in the keyboard of the switch unit 2 in the same manner as in the case of the function switch, and in the subsequent step S5, the changed key switch state, for example, the key is released from the released state. When it is determined that the key is released or the key is released from the key-depressed state, the corresponding processing is executed. The processing in step S5 is most relevant to the present invention, and this processing will be further described later.

【0058】ステップS6では、発音されるべき発音チ
ャネルの楽音波形データのピッチにエンベロープを付加
し、RAM1b上の対応する発音チャネル領域にピッチ
データを設定する処理、ステップS5でノートオンされ
た発音チャネルの状態を押鍵中に変更する処理、ステッ
プS5でノートオフされた発音チャネルの状態を消音中
に変更する処理等が実行される。
At step S6, an envelope is added to the pitch of the tone waveform data of the sound channel to be sounded, and pitch data is set in the corresponding sound channel area on the RAM 1b. The process of changing the state of the sounding channel to which the note has been turned off in step S5 while the sound is muted is executed.

【0059】次に、図5のメインフローチャートのS5
の処理の中のノートオン処理について、図6のフローチ
ャートを用いて説明する。以下の説明では、各レジスタ
の記号名称がそのままそのレジスタの値を示すものとす
る。
Next, S5 of the main flowchart of FIG.
The note-on process in the above process will be described with reference to the flowchart of FIG. In the following description, the symbolic name of each register indicates the value of that register as it is.

【0060】ステップS601では、新たなノートオン
が発生したか否かが判別される。新たなノートオンが発
生しなければ、ステップS601の判別結果がNOとな
ってノートオン処理は実行されない。
In step S601, it is determined whether a new note-on has occurred. If a new note-on does not occur, the determination result of step S601 is NO, and the note-on process is not executed.

【0061】新たなノートオンが発生すれば、ステップ
S602で、16個の発音チャネルの中に空きチャネル
があるか否かが判別される。空きチャネルがなければ、
ステップS602の判別結果がNOとなってノートオン
処理は実行されない。
If a new note-on occurs, it is determined in step S602 whether or not there is an empty channel among the 16 sounding channels. If there are no free channels,
The decision result in the step S602 is NO, and the note-on process is not executed.

【0062】空きチャネルがあれば、ステップS603
で、空きチャネルの何れかを選択するチャネルアサイン
処理が実行され、更に、ステップS604で、アサイン
された発音チャネルの番号が発音チャネルレジスタCH
にセットされる。
If there is a free channel, step S603
Then, a channel assignment process for selecting one of the available channels is executed. Further, in step S604, the number of the assigned sounding channel is stored in the sounding channel register CH.
Is set to

【0063】次に、ステップS605では、時間カウン
タTCが示す現在時刻値から最新ノートオン時刻レジス
タNNTの時刻値(前回のノートオン時刻)が減算さ
れ、その減算結果である時間差(TC−NNT)が負で
あるか否か判別される。
Next, in step S605, the time value of the latest note-on time register NNT (previous note-on time) is subtracted from the current time value indicated by the time counter TC, and the time difference (TC-NNT) resulting from the subtraction is obtained. Is determined to be negative.

【0064】ここで、時間カウンタTCの現在時刻値
は、図7のタイマーインタラプトルーチン1を実行する
プログラムによって一定時間毎にカウントアップされ
る。今、CPU1内の特には図示しないインタラプト制
御部により、1msec毎に、図5のメインフローに対
応するプログラムに割り込みが掛けられ、そのプログラ
ムの処理が中断され、図7のタイマーインタラプトルー
チン1に対応するプログラムの処理の実行が開始され
る。図7のタイマーインタラプトルーチン1では、ステ
ップS701において、RAM1b内の時間カウンタT
Cの値が+1ずつインクリメントされる。なお、後述す
る図11のタイマーインターラプトルーチン2の方が、
割込みの優先度が高い。
Here, the current time value of the time counter TC is counted up at regular intervals by a program for executing the timer interrupt routine 1 of FIG. Now, an interrupt control unit (not shown) in the CPU 1 interrupts the program corresponding to the main flow in FIG. 5 every 1 msec, interrupts the processing of the program, and corresponds to the timer interrupt routine 1 in FIG. The execution of the processing of the program to be started is started. In the timer interrupt routine 1 of FIG. 7, in step S701, the time counter T in the RAM 1b
The value of C is incremented by one. In addition, the timer interrupt routine 2 of FIG.
Interrupt priority is high.

【0065】上述のように、時間が1msec経過する
毎に、時間カウンタTの現在時刻値が1増加する。ま
た、上述の時間カウンタTCは、図4の説明で前述した
ように、16ビットのレジスタであり、このカウンタに
よって計数されるカウント値は、65535(10進表
現)に達した後にインクリメントされると0に戻る。従
って、時間カウンタTCは、0〜65535までの値を
繰り返し計数する。その動作は、図8(a) で示される。
なお、図8においては、10進表現の0〜65535が
16進表現の0〜FFFFに対応する。
As described above, every time 1 msec elapses, the current time value of the time counter T increases by one. The time counter TC is a 16-bit register, as described above with reference to FIG. 4, and the count value counted by this counter is incremented after reaching 65535 (decimal notation). Return to 0. Therefore, the time counter TC repeatedly counts values from 0 to 65535. The operation is shown in FIG.
In FIG. 8, 0 to 65535 in decimal notation corresponds to 0 to FFFF in hexadecimal notation.

【0066】今、時間差(TC−NNT)が負である場
合は、図8(a) に示されるように、時間カウンタTCの
最大値“FFFF(H)”((H)はそれが付加された
値が16進数であることを示す。)より1つ大きい値
“10000(H)”から最新ノートオン時刻レジスタ
NNTの時刻値を減算して得た値に時間カウンタTCの
値を加算して得られる値が、現在の時刻と最新ノートオ
ン時刻との真の時間差である。即ち、ステップS605
の判別結果がYESである場合は、ステップS606
で、この真の時間差が演算され、それがワーキングレジ
スタWに格納される。
Now, when the time difference (TC-NNT) is negative, as shown in FIG. 8A, the maximum value "FFFF (H)" of the time counter TC ((H) is added. The value of the time counter TC is added to a value obtained by subtracting the time value of the latest note-on time register NNT from the value “10000 (H)”, which is one greater than the value of “10000 (H)”. The value obtained is the true time difference between the current time and the latest note-on time. That is, step S605
If the determination result in step S606 is YES, step S606 is performed.
The true time difference is calculated and stored in the working register W.

【0067】一方、時間差(TC−NNT)が正である
場合は、時間カウンタTCの現在時刻値から最新ノート
オン時刻レジスタNNTの時刻値を減算して得られる値
が、現在の時刻と最新ノートオン時刻との真の時間差で
ある。即ち、ステップS605の判別結果がNOである
場合には、ステップS607で、この真の時間差が演算
され、それがワーキングレジスタWに格納される。
On the other hand, when the time difference (TC-NNT) is positive, the value obtained by subtracting the time value of the latest note-on time register NNT from the current time value of the time counter TC is the current time and the latest note value. This is the true time difference from the ON time. That is, if the decision result in the step S605 is NO, the true time difference is calculated in a step S607, and the calculated time difference is stored in the working register W.

【0068】ここで、上述の時間の単位は前述したよう
にmsec(ミリ秒)である。次に、ステップS608
においては、最新ノートオン時刻レジスタNNTの時刻
値が時間カウンタTCの現在時刻値(今回のノートオン
時刻値)に書き換えられる。
Here, the unit of time is msec (millisecond) as described above. Next, step S608
In, the time value of the latest note-on time register NNT is rewritten to the current time value of the time counter TC (the current note-on time value).

【0069】続いて、ステップS609では、ワーキン
グレジスタWに得られた現在の時刻と最新ノートオン時
刻との時間差が、10進表現で32msec未満である
か否かが判別される。この判別処理により、和音が演奏
されたか否かが判別される。即ち、1つの和音の構成音
において、最初にノートオンされた構成音以外の構成音
が極めて短時間に連続してノートオンされると、ステッ
プS609の判別結果がYESとなる。
Subsequently, in step S609, it is determined whether or not the time difference between the current time obtained in the working register W and the latest note-on time is less than 32 msec in decimal notation. By this determination processing, it is determined whether or not a chord has been played. That is, in the constituent sounds of one chord, if the constituent sounds other than the constituent note to which the note is first turned on are continuously turned on in a very short time, the determination result in step S609 becomes YES.

【0070】ステップS609の判別結果がYESとな
ると、ステップS610において、ゲートオン時間無視
フラグGOIの発音チャネルレジスタに設定された今回
の発音チャネルに対応するビットに“1”がセットさ
れ、ステップS611の処理は実行されない。この結
果、1つの和音の構成音において、最初にノートオンさ
れた構成音以外の構成音は、ノートオンにより発音処理
はなされてもノートオン時刻が記憶されず、後述する図
10でノートオフ時刻及びゲートオン時間も記憶されな
い。これにより、和音の演奏が、演奏速度が速い演奏で
あると誤判別されることを防ぐことができる。
If the decision result in the step S609 is YES, in a step S610, "1" is set to a bit corresponding to the current sounding channel set in the sounding channel register of the gate-on time ignoring flag GOI, and the process in the step S611 is performed. Is not executed. As a result, among the constituent tones of one chord, the constituent tones other than the one to which the note is first turned on are not stored in the note-on time even if the sound generation processing is performed by the note-on, and the note-off time in FIG. And the gate-on time is not stored. Thus, it is possible to prevent a harmony performance from being erroneously determined to be a performance having a high performance speed.

【0071】一方、ワーキングレジスタWに得られた現
在の時刻と最新ノートオン時刻との時間差が32mse
c以上であって、ステップS609の判別結果がYES
となると、発音チャネルレジスタに設定された今回の発
音チャネルiに対応するノートオン時刻レジスタNOT
(i)に、最新ノートオン時刻レジスタNNTの時刻値
(今回のノートオン時刻)が格納される。
On the other hand, the time difference between the current time obtained in the working register W and the latest note-on time is 32 ms.
c or more, and the determination result of step S609 is YES
, The note-on time register NOT corresponding to the current sounding channel i set in the sounding channel register
(I) stores the time value of the latest note-on time register NNT (the current note-on time).

【0072】次に、ステップS612では、ゲートオン
時間&ノートオフ時刻レジスタGOF(i)(i=1〜
16)において、ノートオフ時刻が最新ノートオン時刻
レジスタNNTの時刻値(今回のノートオン時刻)から
10進表現で過去1024msec以内であるゲートオ
ン時間が全て抽出され、それら抽出されたゲートオン時
間の平均値が算出されて、平均ゲートオン時間レジスタ
AGOに格納される。なお、ゲートオン時間&ノートオ
フ時刻レジスタGOF(i)の内容は、後述する図10
のノートオフ処理において設定される。上述のゲートオ
ン時間の平均値は、直近の過去から現在までの演奏速度
に対応しており、ゲートオン時間が短ければ演奏速度は
速く、長ければ遅い。
Next, at step S612, the gate on time & note off time register GOF (i) (i = 1 to
In 16), all the gate-on times whose note-off time is within the past 1024 msec in decimal notation from the time value (current note-on time) of the latest note-on time register NNT are extracted, and the average value of the extracted gate-on times Is calculated and stored in the average gate-on time register AGO. The contents of the gate-on time & note-off time register GOF (i) will be described later with reference to FIG.
Is set in the note-off process. The above average value of the gate-on time corresponds to the performance speed from the last past to the present. The shorter the gate-on time, the faster the performance speed, and the longer the gate-on time, the slower the performance speed.

【0073】続いて、ステップS613で、ROM1a
の現在設定されている音色に対応するデータ領域から、
楽音制御データとして、図2に示される振幅エンベロー
プアタックレートデータ、振幅エンベロープアタックレ
ベルデータ、及びスタートアドレスデータが読み出さ
れ、また、シフトデータとして、図2に示される振幅エ
ンベロープアタックレートシフトデータ、振幅エンベロ
ープアタックレベルシフトデータ、及びスタートアドレ
スシフトデータが読み出される。そして、平均ゲートオ
ン時間レジスタAGOの時間値を、ROM1aに記憶さ
れる図9に示される特性を有するシフトテーブルで変換
して得られる演奏速度データが、上述の各シフトデータ
に乗算され、その乗算結果が、各シフトデータに対応す
る楽音制御データに加算され、その加算結果が、RAM
1b内の発音チャネルレジスタに設定された今回の発音
チャネルに対応する発音チャネル領域に設定される。
Subsequently, in step S613, the ROM 1a
From the data area corresponding to the currently set tone,
As the tone control data, the amplitude envelope attack rate data, the amplitude envelope attack level data, and the start address data shown in FIG. 2 are read out, and as the shift data, the amplitude envelope attack rate shift data, the amplitude shown in FIG. The envelope attack level shift data and the start address shift data are read. Then, the performance data obtained by converting the time value of the average gate-on time register AGO with the shift table stored in the ROM 1a and having the characteristics shown in FIG. 9 is multiplied by each of the above-mentioned shift data, and the multiplication result is obtained. Is added to the tone control data corresponding to each shift data, and the addition result is stored in the RAM.
This is set in the sounding channel area corresponding to the current sounding channel set in the sounding channel register in 1b.

【0074】具体的には、シフトテーブルから出力され
る演奏速度データは、振幅エンベロープアタックレート
シフトデータと乗算され、その乗算結果が振幅エンベロ
ープアタックレートデータに加算され、その加算結果が
補正された振幅エンベロープアタックレートデータとし
てRAM1b内の発音チャネル領域に設定される。ま
た、演奏速度データは、振幅エンベロープアタックレベ
ルシフトデータと乗算され、その乗算結果が振幅エンベ
ロープアタックレベルデータに加算され、その加算結果
が補正された振幅エンベロープアタックレベルデータと
してRAM1b内の発音チャネル領域に設定される。更
に、演奏速度データは、スタートアドレスシフトデータ
と乗算され、その乗算結果がスタートアドレスデータに
加算され、その加算結果が補正された振幅スタートアド
レスデータとしてRAM1b内の発音チャネル領域に設
定される。
More specifically, the performance speed data output from the shift table is multiplied by the amplitude envelope attack rate shift data, the result of the multiplication is added to the amplitude envelope attack rate data, and the addition result is corrected for the corrected amplitude. This is set in the sound channel area in the RAM 1b as envelope attack rate data. Further, the performance speed data is multiplied by the amplitude envelope attack level shift data, the multiplication result is added to the amplitude envelope attack level data, and the addition result is corrected as amplitude envelope attack level data into the sound channel area in the RAM 1b. Is set. Further, the performance speed data is multiplied by the start address shift data, the result of the multiplication is added to the start address data, and the result of the addition is set as corrected amplitude start address data in the sound channel area in the RAM 1b.

【0075】上述のシフトテーブルは、図9に示される
ように、横軸が平均ゲートオン時間AGO、縦軸がシフ
トデータと演算される演速度データ(テーブル出力)
である。この演奏速度データに基づいて、楽音制御デー
タに加算されるシフトデータの補正値が決定される。
[0075] The above-described shift table, as shown in FIG. 9, Starring Kanade velocity data horizontal axis average gate-on time AGO, the vertical axis is calculated as shift data (table output)
It is. Based on the performance speed data, a correction value of the shift data to be added to the tone control data is determined.

【0076】即ち、ステップS613の処理では、平均
ゲートオン時間AGOが時間T1より短かければ、つま
り直前までの演奏速度がかなり速く、従って今回のノー
トオンの演奏速度も速いと推定できるときは、テーブル
出力“1”が各シフトデータに乗算され、この乗算結果
により、各楽音制御データに対するシフトが100%実
行される。
That is, in the process of step S613, if the average gate-on time AGO is shorter than the time T1, that is, if it is estimated that the performance speed up to immediately before and therefore the note-on performance speed this time is also high, the table The output "1" is multiplied by each shift data, and a shift for each tone control data is executed 100% according to the multiplication result.

【0077】この結果、前述したように、アタック部の
波形の立ち上がりが遅い音色の場合には、振幅エンベロ
ープアタックレートシフトデータ及び振幅エンベロープ
アタックレベルシフトデータとしては大きい値が設定さ
れており、演奏速度が速くなると、それらシフトデータ
がそのまま振幅エンベロープアタックレートデータ及び
振幅エンベロープアタックレベルデータに加算されるこ
とにより、アタック部における振幅エンベロープの立ち
上がりが速く、その部分での最大レベルも大きくなるよ
うな楽音制御データが生成される。
As a result, as described above, in the case of a tone having a slowly rising waveform in the attack portion, large values are set as the amplitude envelope attack rate shift data and the amplitude envelope attack level shift data, and Is faster, the shift data is added to the amplitude envelope attack rate data and the amplitude envelope attack level data as it is, so that the rise of the amplitude envelope in the attack portion is faster and the maximum level in that portion is also larger. Data is generated.

【0078】一方、アタック部にノイズ成分を含む音色
の場合には、スタートアドレスシフトデータとしては大
きい値が設定されているため、演奏速度が速くなると、
そのシフトデータがそのままスタートアドレスデータに
加算されることにより、アタック部のノイズ成分が発音
されないよう、ROM1a内の波形データ領域から読み
出されるべき楽音波形データのスタートアドレスがシフ
トされる。
On the other hand, in the case of a tone color containing a noise component in the attack portion, a large value is set as the start address shift data.
By adding the shift data to the start address data as it is, the start address of the tone waveform data to be read from the waveform data area in the ROM 1a is shifted so that the noise component of the attack portion is not generated.

【0079】また、上述のステップS613の処理で、
平均ゲートオン時間AGOが時間T2より長ければ、つ
まり直前までの演奏速度がかなり遅く、従って今回のノ
ートオンの演奏速度も遅いと推定できるときは、テーブ
ル出力“0”が各シフトデータに乗算され、結果的に、
各楽音制御データに対するシフトは実行されない。
Further, in the processing of step S613 described above,
If the average gate-on time AGO is longer than the time T2, that is, if it can be estimated that the playing speed up to immediately before is very slow and therefore the playing speed of the current note-on is also slow, the table output "0" is multiplied by each shift data, as a result,
No shift is performed for each tone control data.

【0080】以上のようにして、アタック部の波形読み
出し位置又は振幅エンベロープ特性に関係する楽音制御
データが、演奏速度に対応してシフトされて、RAM1
bの発音チャネル領域に設定されることにより、現在認
識された演奏速度に対応する好ましい楽音が発音され
る。
As described above, the tone control data relating to the waveform readout position of the attack portion or the amplitude envelope characteristic is shifted in accordance with the performance speed, and
By setting the tone generation channel area b, a preferred tone corresponding to the currently recognized performance speed is emitted.

【0081】最後に、ステップS614で、ROM1a
の現在設定されている音色に対応するデータ領域から、
上述したアタック部の波形読み出し位置又は振幅エンベ
ロープ特性に関係する楽音制御データ以外の楽音制御デ
ータが読み出され、RAM1b内の発音チャネルレジス
タに設定された今回の発音チャネルに対応する発音チャ
ネル領域に設定される。
Finally, in step S614, the ROM 1a
From the data area corresponding to the currently set tone,
The tone control data other than the tone control data related to the waveform readout position or the amplitude envelope characteristic of the attack section is read out and set in the sounding channel area corresponding to the current sounding channel set in the sounding channel register in the RAM 1b. Is done.

【0082】次に、メインフローチャートのS5の処理
の中のノートオフ処理について、図10のフローチャー
トを用いて説明する。ステップS1001においては、
新たなノートオフが発生したか否かが判別される。
Next, the note-off process in the process of S5 in the main flowchart will be described with reference to the flowchart of FIG. In step S1001,
It is determined whether a new note-off has occurred.

【0083】新たなノートオフが発生しなければ、ステ
ップS1001の判別結果がNOとなってノートオフ処
理は実行されない。新たなノートオンが発生すれば、ス
テップS1002で、RAM1bの最大16の発音チャ
ネル領域に設定されているノートナンバー(ピッチデー
タ)のうちノートオフされたノートナンバーに対応する
ものがサーチされる。
If a new note-off does not occur, the determination result of step S1001 is NO, and the note-off process is not executed. If a new note-on occurs, in step S1002, a note number (pitch data) set in the maximum 16 sounding channel areas of the RAM 1b is searched for a note number corresponding to the note-off note number.

【0084】そして、ステップS1003で、そのサー
チにより得られた発音チャネルの番号が発音チャネルレ
ジスタCHにセットされる。続いて、ステップS100
4で、ゲートオン時間無視フラグGOIにおいて、上述
の発音チャネルレジスタCHに記憶された発音チャネル
番号に対応するビットが“1”になっているか否かが判
別される。
In step S1003, the number of the sound channel obtained by the search is set in the sound channel register CH. Subsequently, step S100
At 4, it is determined whether or not the bit corresponding to the sounding channel number stored in the sounding channel register CH is "1" in the gate on time ignoring flag GOI.

【0085】そして、ステップS1004の判別結果が
YESなら、今回のノートオフは、1つの和音の構成音
において、最初にノートオンされた構成音以外の構成音
のノートオフであるため、前述したように、ステップS
1005〜S1009のノートオフ時刻及びゲートオン
時間の記憶処理は実行されず、ステップS1004の判
別結果がYESとなって、ステップS1011のリリー
ス処理のみが実行される。
If the decision result in the step S1004 is YES, the note-off this time is a note-off of a component sound other than the component note which was initially turned on in a component sound of one chord. And step S
The storage processing of the note-off time and the gate-on time in 1005 to S1009 is not executed, and the determination result in step S1004 becomes YES, and only the release processing in step S1011 is executed.

【0086】ステップS1004の判別結果がNOなら
ば、ステップS1005において、時間カウンタTCが
示す現在時刻値(今回のノートオフ時刻値)から発音チ
ャネルレジスタに記憶されている今回の発音チャネルに
対応するノートオン時刻レジスタNOT(CH)の時刻
値が減算され、その減算結果である時間差{TC−NO
T(CH)}が負であるか否か判別される。
If the decision result in the step S1004 is NO, in a step S1005, the note corresponding to the current sounding channel stored in the sounding channel register from the current time value (current note-off time value) indicated by the time counter TC. The time value of the ON time register NOT (CH) is subtracted, and the subtraction result, the time difference ΔTC−NO
It is determined whether T (CH) CH is negative.

【0087】今、時間差{TC−NOT(CH)}が負
である場合は、前述の図6のステップS605の場合と
同様、図8(b) に示されるように、時間カウンタTCの
最大値“FFFF(H)”より1つ大きい値“1000
0(H)”からノートオン時刻レジスタNOT(CH)
の時刻値を減算して得た値に時間カウンタTCの値を加
算して得られる値が、今回のノートオフ時刻とそれに対
応するノートオン時刻との真の時間差である。即ち、ス
テップS1005の判別結果がYESである場合は、ス
テップS1006で、この真の時間差が演算され、それ
がワーキングレジスタWにゲートオン時間として格納さ
れる。
When the time difference {TC-NOT (CH)} is negative, the maximum value of the time counter TC is set as shown in FIG. 8B, as in the case of step S605 in FIG. A value “1000” which is one greater than “FFFF (H)”
0 (H) ”to the note-on time register NOT (CH)
The value obtained by adding the value of the time counter TC to the value obtained by subtracting the time value is the true time difference between the current note-off time and the corresponding note-on time. That is, if the decision result in the step S1005 is YES, a true time difference is calculated in a step S1006, and the calculated time difference is stored in the working register W as a gate-on time.

【0088】一方、時間差(TC−NOT(CH))が
正である場合は、時間カウンタTCの現在時刻値(今回
のノートオフ時刻値)からノートオン時刻レジスタNO
T(CH)の時刻値を減算して得られる値が、今回のノ
ートオフ時刻とそれに対応するノートオン時刻との真の
時間差である。即ち、ステップS1005の判別結果が
NOである場合には、ステップS1007で、この真の
時間差が演算され、それがワーキングレジスタWにゲー
トオン時間として格納される。
On the other hand, if the time difference (TC-NOT (CH)) is positive, the current time value (the current note-off time value) of the time counter TC is set to the note-on time register NO.
The value obtained by subtracting the time value of T (CH) is the true time difference between the current note-off time and the corresponding note-on time. That is, if the decision result in the step S1005 is NO, a true time difference is calculated in a step S1007, and the calculated time difference is stored in the working register W as a gate-on time.

【0089】次に、ステップS1008では、ワーキン
グレジスタWに得られたゲートオン時間が、10進表現
で2000msec未満であるか否かが判別される。ス
テップS1008の判別結果がYESなら、ワーキング
レジスタWのゲートオン時間値が“2000(10進表
現)”に書き換えられ、演奏速度算出のための上記ゲー
トオン時間の最大許容値が2000msec以内に制限
される。
Next, in step S1008, it is determined whether or not the gate-on time obtained in the working register W is less than 2000 msec in decimal notation. If the decision result in the step S1008 is YES, the gate-on time value of the working register W is rewritten to "2000 (decimal notation)", and the maximum allowable value of the gate-on time for calculating the performance speed is limited to 2000 msec or less.

【0090】ステップS1008の判別結果がNOな
ら、ステップS1009は実行されない。ステップS1
010では、ワーキングレジスタWに得られたゲートオ
ン時間と、時間カウンタTCの現在時刻値である今回の
ノートオフ時刻が、発音チャネルレジスタに記憶されて
いる今回の発音チャネルに対応するゲートオン時刻&ノ
ートオフ時刻レジスタGOF(CH)に格納される。
If the decision result in the step S1008 is NO, the step S1009 is not executed. Step S1
At 010, the gate-on time obtained in the working register W and the current note-off time, which is the current time value of the time counter TC, are stored in the tone-generating channel register and correspond to the current tone-generation channel and the note-off time. It is stored in the time register GOF (CH).

【0091】このようにして、ノートオフが発生する毎
に、ノートオフされた発音チャネルに対応するゲートオ
ン時間とノートオフ時刻が記憶される。これらの値は、
前述した図6のステップS612の処理におけるゲート
オン時間の平均値を算出する処理に使用される。
In this way, every time a note-off occurs, the gate-on time and the note-off time corresponding to the note-off sounding channel are stored. These values are
It is used for the process of calculating the average value of the gate-on time in the process of step S612 in FIG. 6 described above.

【0092】最後に、ステップS1011では、楽音波
形データの振幅を減衰させ消音させるリリース処理が実
行される。次に、図11のタイマーインタラプトルーチ
ン2の処理につき説明する。
Finally, in step S1011 a release process for attenuating the amplitude of the tone waveform data to mute it is executed. Next, the processing of the timer interrupt routine 2 in FIG. 11 will be described.

【0093】CPU1内の特には図示しないインタラプ
ト制御部により、サンプリングタイミング毎に、図5の
メインフローに対応するプログラムに割り込みが掛けら
れ、そのプログラムの処理が中断され、図11のタイマ
ーインタラプトルーチン2に対応するプログラムの処理
の実行が開始される。
The interrupt control unit (not shown) in the CPU 1 interrupts the program corresponding to the main flow in FIG. 5 at each sampling timing, interrupts the processing of the program, and executes the timer interrupt routine 2 in FIG. Of the program corresponding to is started.

【0094】図11のタイマーインタラプトルーチン2
の処理において、まず、ステップS1101において、
音源処理が実行される。図12は、図11のステップS
1101の音源処理の詳細を示すフローチャートであ
る。
The timer interrupt routine 2 shown in FIG.
First, in step S1101,
Sound source processing is executed. FIG. 12 is a flowchart showing step S in FIG.
11 is a flowchart illustrating details of a sound source process of 1101.

【0095】まず、ステップS1201で、RAM1b
内の楽音波形データ累算用レジスタRがクリアされる。
次に、ステップS1202〜S1217で、発音チャネ
ル毎に音源処理が行われ、ステップS1217で16発
音チャネル目の音源処理が終了した時点で、楽音波形デ
ータ累算用レジスタRに16発音チャネル分の楽音波形
データが累算された楽音波形データが得られる。
First, in step S1201, the RAM 1b
The register R for accumulating musical tone waveform data is cleared.
Next, in steps S1202 to S1217, sound source processing is performed for each sounding channel. When the sound source processing for the 16th sounding channel is completed in step S1217, the tone R for the 16 sounding channels is stored in the tone waveform data accumulation register R. Musical sound waveform data obtained by accumulating waveform data is obtained.

【0096】この発音チャネル毎の音源処理について説
明する。図1のRAM1bには各発音チャネル領域が設
けられており、この各発音チャネル領域には、例えばP
CM方式に基づく音源処理用の各種制御データが格納さ
れる。そして、各発音チャネルに対応する音源処理にお
いては、各発音チャネル領域に設定されている各種制御
データが使用されながら、楽音を生成する処理が実行さ
れる。
The sound source processing for each sounding channel will be described. Each sounding channel area is provided in the RAM 1b of FIG.
Various control data for sound source processing based on the CM method are stored. Then, in the sound source processing corresponding to each sounding channel, a process of generating a musical tone is executed while using various control data set in each sounding channel area.

【0097】そして、発音チャネル毎の音源処理では、
まず、図5のメインフローチャートのステップS5内の
図6のノートオン処理においてRAM1b内の自発音チ
ャネル領域に設定されたスタートアドレスデータと、図
5のメインフローチャートのステップS6においてRA
M1b内の自発音チャネル領域に設定されたピッチデー
タとに基づき、サンプリングタイミング毎に波形アドレ
スデータが計算され、その波形アドレスデータによって
ROM1a内の波形データ領域から楽音波形データが読
み出される。次に、読み出された楽音波形データに振幅
エンベロープデータが乗算される。振幅エンベロープデ
ータは、図5のメインフローチャートのステップS5内
の図6のノートオン処理においてRAM1b内の自発音
チャネル領域に設定された振幅エンベロープレートデー
タ及び振幅エンベロープレベルデータに基づいて計算さ
れ、楽音波形データに乗算される。このようにして得ら
れた楽音波形データが、自発音チャネルに対応して出力
される楽音波形データとなる。
In the sound source processing for each sounding channel,
First, the start address data set in the self sounding channel area in the RAM 1b in the note-on processing of FIG. 6 in step S5 of the main flowchart of FIG.
Based on the pitch data set in the self-sounding channel area in M1b, waveform address data is calculated at each sampling timing, and the musical tone waveform data is read from the waveform data area in ROM 1a based on the waveform address data. Next, the read musical tone waveform data is multiplied by the amplitude envelope data. The amplitude envelope data is calculated based on the amplitude envelope plate data and the amplitude envelope level data set in the self-sounding channel area in the RAM 1b in the note-on processing of FIG. 6 in step S5 of the main flowchart of FIG. Multiplied by the data. The tone waveform data obtained in this manner is tone waveform data output corresponding to the self-sounding channel.

【0098】ここで、上述したように、発音チャネル毎
の音源処理において振幅エンベロープデータを計算する
ためのエンベロープレートデータ及びエンベロープレベ
ルデータは、図5のメインフローチャートのステップS
5内の図6のノートオン処理において、押鍵が検出され
た場合に、ROM1aの内容に基づくレートデータ及び
レベルデータがRAM1b内の対応する発音チャネル領
域に設定される。この場合、図6のノートオン処理の説
明で前述したように、過去の平均のゲートオン時間に基
づき算出される演奏速度データに応じて、アタックレー
トデータ及びアタックレベルデータが可変される。この
結果、アタック部の波形の立ち上がりが遅い音色の場合
には、演奏速度が速くなると、アタック部における振幅
エンベロープの立ち上がりが速く、その部分での最大レ
ベルも大きい楽音が発音される。即ち、立ち上がりの緩
やかな音色を有する楽音が早弾きされても、明瞭な発音
が得られ、好ましい音色の演奏となる。
Here, as described above, the envelope plate data and the envelope level data for calculating the amplitude envelope data in the sound source processing for each tone generation channel are obtained in step S of the main flowchart of FIG.
In the note-on process of FIG. 6 in FIG. 6, when a key press is detected, rate data and level data based on the contents of the ROM 1a are set in a corresponding sounding channel area in the RAM 1b. In this case, as described above in the description of the note-on process in FIG. 6, the attack rate data and the attack level data are varied according to the performance speed data calculated based on the past average gate-on time. As a result, in the case of a tone whose waveform rises slowly in the attack portion, when the performance speed increases, the tone of the amplitude envelope in the attack portion rises quickly, and a tone having a large maximum level in that portion is generated. That is, even if a musical tone having a tone with a gradual rise is played early, a clear tone is obtained, and the desired tone is played.

【0099】また、上述したように、発音チャネル毎の
音源処理においてROM1aの波形データ領域から楽音
波形データを読み出すためのスタートアドレスデータ
も、図5のメインフローチャートのステップS5内の図
6のノートオン処理において、押鍵が検出された場合
に、ROM1aの内容に基づくスタートアドレスデータ
がRAM1b内の対応する発音チャネル領域に設定され
る。この場合、図6のノートオン処理の説明で前述した
ように、過去の平均のゲートオン時間に基づき算出され
る演奏速度データに応じて、スタートアドレスデータが
可変される。この結果、アタック部にノイズ成分を含む
音色の場合には、演奏速度が速くなると、アタック部の
ノイズ成分が発音されないよう、ROM1a内の波形デ
ータ領域から読み出されるべき楽音波形データのスター
トアドレスがシフトされ、ノイズ成分が除去された楽音
が発音される。
As described above, the start address data for reading out the tone waveform data from the waveform data area of the ROM 1a in the sound source processing for each tone generation channel is also the same as the note-on data shown in FIG. 6 in step S5 of the main flowchart of FIG. In the process, when a key press is detected, start address data based on the contents of the ROM 1a is set in a corresponding sounding channel area in the RAM 1b. In this case, as described above in the description of the note-on processing in FIG. 6, the start address data is varied according to the performance speed data calculated based on the past average gate-on time. As a result, in the case of a tone containing a noise component in the attack portion, the start address of the tone waveform data to be read from the waveform data area in the ROM 1a is shifted so that the noise component in the attack portion is not generated when the playing speed increases. Thus, a musical tone from which a noise component has been removed is generated.

【0100】以上の発音チャネル毎の音源処理で得られ
た各楽音波形データは、楽音波形データ累算用レジスタ
Rに順次累算され、図12のステップS1217の処理
が終了した時点で、16発音チャネル分の楽音波形デー
タが累算された楽音波形データが楽音波形データ累算用
レジスタRに得られる。
Each tone waveform data obtained by the sound source processing for each tone generation channel is sequentially accumulated in the tone waveform data accumulation register R. When the process of step S1217 in FIG. The musical tone waveform data obtained by accumulating the musical tone waveform data for the channels is obtained in the musical tone waveform data accumulation register R.

【0101】上述したようにして図12のフローチャー
トで示される図11のステップS1101の音源処理が
終了すると、次のステップS1102で、楽音波形デー
タ累算用レジスタRに得られた楽音波形データが、音源
処理終了信号COMに基づいてラッチ1cにラッチされ
る。
When the sound source processing in step S1101 of FIG. 11 shown in the flowchart of FIG. 12 is completed as described above, in the next step S1102, the tone waveform data obtained in the tone waveform data accumulation register R is replaced with the tone waveform data. The signal is latched by the latch 1c based on the sound source processing end signal COM.

【0102】このようにしてラッチ1cにラッチされた
楽音波形データは、サンプリングクロックに同期したイ
ンタラプト信号INTによって、ラッチ1dにラッチさ
れ、D/A変換器1eに出力される。
The tone waveform data latched by the latch 1c in this manner is latched by the latch 1d by the interrupt signal INT synchronized with the sampling clock, and output to the D / A converter 1e.

【0103】以上説明した実施例では、過去の所定期間
の演奏速度に応じて楽音の立ち上がり部の特性、即ち、
振幅エンベロープ特性及び波形読出し開始位置を制御す
るように構成されているが、本発明はこれに限られるも
のではない。
In the embodiment described above, the characteristic of the rising portion of the musical tone, that is, the characteristic of the rising portion of the musical tone, that is,
Although the amplitude envelope characteristic and the waveform reading start position are controlled, the present invention is not limited to this.

【0104】即ち、本発明は、演奏状態が異なると発音
される楽音の種類によっては好ましい発音がなされない
場合があるときに、過去の所定期間の演奏状態の評価結
果に基づいて新たなノートオン指示により生成される楽
音の特性を制御するような、全てのケースに適用でき
る。
That is, according to the present invention, when there is a case where a preferable tone is not produced depending on a kind of musical tone to be produced when the performance state is different, a new note-on is performed based on the evaluation result of the performance state in a past predetermined period. The present invention can be applied to all cases where the characteristics of a musical tone generated by an instruction are controlled.

【0105】[0105]

【発明の効果】本発明によれば、過去の所定期間の演奏
状態の評価結果に基づいて、新たなノートオン指示に基
づいて生成される楽音の特性を制御することにより、現
在認識された演奏状態に対応する好ましい楽音を発音さ
せることが可能となる。
According to the present invention, the performance of a musical tone generated based on a new note-on instruction is controlled based on an evaluation result of a performance state in a predetermined period in the past, so that a currently recognized performance can be controlled. It is possible to generate a preferred musical tone corresponding to the state.

【0106】具体的には、例えば、立ち上がり部にノイ
ズ成分を含む音色の場合に、演奏速度が速くなると、立
ち上がり部のノイズ成分が発音されないよう、楽音の波
形生成開始位置がシフトされることにより、ノイズ成分
が除去された楽音を発音させることが可能となる。
Specifically, for example, in the case of a tone containing a noise component in the rising portion, when the performance speed increases, the waveform generation start position of the musical tone is shifted so that the noise component in the rising portion is not generated. Thus, it is possible to generate a musical tone from which noise components have been removed.

【0107】また、例えば、波形の立ち上がりが遅い音
色の場合には、楽音の立ち上がり部の振幅エンベロープ
特性が、波形の立ち上がりが速くなりその最大レベルも
大きくなるように、変更されることにより、メリハリに
富んだ楽音を発音させることが可能となる。
For example, in the case of a tone whose waveform rises slowly, the amplitude envelope characteristic of the rising portion of the musical tone is changed so that the waveform rises quickly and its maximum level becomes large, so that the tone is sharpened. It is possible to produce rich musical tones.

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

【図1】一実施例の電子楽器の全体構成図である。FIG. 1 is an overall configuration diagram of an electronic musical instrument according to an embodiment.

【図2】ROMに格納された楽音制御データの一例を示
す図である。
FIG. 2 is a diagram showing an example of tone control data stored in a ROM.

【図3】RAMのレジスタの構成を示す図である。FIG. 3 is a diagram illustrating a configuration of a register of a RAM.

【図4】RAMのレジスタの構成を示すである。FIG. 4 illustrates a configuration of a register of a RAM.

【図5】メインフローチャートである。FIG. 5 is a main flowchart.

【図6】メインフローチャートのステップS5における
ノートオン処理のフローチャートである。
FIG. 6 is a flowchart of a note-on process in step S5 of the main flowchart.

【図7】タイマーインターラプトルーチン1のフローチ
ャートである。
FIG. 7 is a flowchart of a timer interrupt routine 1.

【図8】時間カウンタTCのカウント状態を模式的に示
す図である。
FIG. 8 is a diagram schematically showing a count state of a time counter TC.

【図9】シフトテーブルを示す図である。FIG. 9 is a diagram showing a shift table.

【図10】メインフローチャートのステップS5におけ
るノートオフ処理のフローチャートである。
FIG. 10 is a flowchart of a note-off process in step S5 of the main flowchart.

【図11】タイマーインターラプトルーチン2のフロー
チャートである。
FIG. 11 is a flowchart of a timer interrupt routine 2.

【図12】音源処理の詳細を示すフローチャートであ
る。
FIG. 12 is a flowchart illustrating details of sound source processing.

【符号の説明】[Explanation of symbols]

1 CPU(中央演算処理装置) 1a ROM(Read Only Memory) 1b RAM(Random Access Memory) 1c、1d ラッチ 1e D/A(ディジタル/アナログ)変換器 2 スイッチ部 4 LPF(ローパスフィルタ) 5 アンプ(増幅器)5 6 スピーカ 1 CPU (Central Processing Unit) 1a ROM (Read Only Memory) 1b RAM (Random Access Memory) 1c, 1d Latch 1e D / A (Digital / Analog) Converter 2 Switch 4 LPF (Low Pass Filter) 5 Amplifier (Amplifier) ) 5 6 Speaker

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 過去の所定時間内に発生した楽音のノー
トオンからノートオフまでの時間の平均値に基づいて
奏状態を評価する演奏状態評価手段と、 該演奏状態評価手段による前記演奏状態の評価結果に基
づいて、新たなノートオン指示に基づいて生成される楽
音の特性を制御する楽音特性制御手段と、 を有することを特徴とする楽音制御装置。
1. A musical tone generated within a predetermined time in the past.
Performance state evaluation means for evaluating the performance state based on the average value of the time from toon to note off , and a new note-on instruction based on the performance state evaluation result by the performance state evaluation means. And a tone characteristic control means for controlling characteristics of a tone generated based on the tone control device.
【請求項2】 前記楽音特性制御手段は、前記演奏状態
評価手段による演奏状態の評価結果に基づいて、新たな
ノートオン指示に基づいて生成される楽音の立ち上がり
部の振幅エンベロープ特性を変更する、 ことを特徴とする請求項1記載の楽音制御装置。
2. The musical tone characteristic control means according to claim 1 , wherein
Based on the evaluation result of the performance state by the evaluation means, a new
Rise of musical tone generated based on note-on instruction
The tone control device according to claim 1, wherein an amplitude envelope characteristic of the section is changed .
【請求項3】 前記楽音特性制御手段は、前記演奏状態
評価手段による演奏状態の評価結果に基づいて、新たな
ノートオン指示に基づいて生成される楽音の波形生成開
始位置をシフトする、 ことを特徴とする請求項記載の楽音制御装置。
3. The musical performance characteristic control means includes:
Based on the evaluation result of the performance state by the evaluation means, a new
Opening of waveform generation of musical tone generated based on note-on instruction
Shifting the start position, the musical tone control apparatus according to claim 1, wherein a.
JP29408292A 1992-11-02 1992-11-02 Music control device Expired - Fee Related JP3316530B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29408292A JP3316530B2 (en) 1992-11-02 1992-11-02 Music control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29408292A JP3316530B2 (en) 1992-11-02 1992-11-02 Music control device

Publications (2)

Publication Number Publication Date
JPH06149248A JPH06149248A (en) 1994-05-27
JP3316530B2 true JP3316530B2 (en) 2002-08-19

Family

ID=17803057

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29408292A Expired - Fee Related JP3316530B2 (en) 1992-11-02 1992-11-02 Music control device

Country Status (1)

Country Link
JP (1) JP3316530B2 (en)

Also Published As

Publication number Publication date
JPH06149248A (en) 1994-05-27

Similar Documents

Publication Publication Date Title
US4524666A (en) Musical tone forming system
US4882963A (en) Electronic musical instrument with editing of tone data
JP2764961B2 (en) Electronic musical instrument
US4083283A (en) Electronic musical instrument having legato effect
JP3372124B2 (en) Electronic musical instrument
JP3316530B2 (en) Music control device
JP3459760B2 (en) Music sound generating apparatus and music sound generating method
JPH0333278B2 (en)
JP3419563B2 (en) Tone signal level control device
JPH11161273A (en) Musical sound generating device and method
JP2001209382A (en) Beat processing device of electronic instrument
JP3280794B2 (en) Reverberation sound generator and reverberation sound generation method
JP3706232B2 (en) Musical sound generating apparatus and musical sound generating method
JPH04331990A (en) Voice electronic musical instrument
JP3637190B2 (en) Musical sound generating apparatus and musical sound generating method
JP2625668B2 (en) Automatic performance device
JP2526834B2 (en) Performance control device
JP3684052B2 (en) Musical sound generating apparatus and musical sound generating method
JPH0515279B2 (en)
JPH05188961A (en) Automatic accompaniment device
JP3217772B2 (en) Apparatus and method for processing sound waveform data
JP3637191B2 (en) Musical sound generating apparatus and musical sound generating method
JP2642821B2 (en) Notification device and notification method for electronic musical instrument
JP2847000B2 (en) Performance information storage device
JPH05273980A (en) Waveform data processing system for electronic musical instrument

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020423

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

Free format text: PAYMENT UNTIL: 20080614

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090614

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090614

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100614

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110614

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110614

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120614

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees