JP2001282241A - Electronic musical tone generator, electronic musical tone generating method and recording medium - Google Patents

Electronic musical tone generator, electronic musical tone generating method and recording medium

Info

Publication number
JP2001282241A
JP2001282241A JP2000099787A JP2000099787A JP2001282241A JP 2001282241 A JP2001282241 A JP 2001282241A JP 2000099787 A JP2000099787 A JP 2000099787A JP 2000099787 A JP2000099787 A JP 2000099787A JP 2001282241 A JP2001282241 A JP 2001282241A
Authority
JP
Japan
Prior art keywords
key
sound
information
tone
input
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.)
Pending
Application number
JP2000099787A
Other languages
Japanese (ja)
Inventor
Tsutomu Saito
勉 齋藤
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.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing 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 Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP2000099787A priority Critical patent/JP2001282241A/en
Publication of JP2001282241A publication Critical patent/JP2001282241A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an electronic musical tone generator which is capable of producing the plural musical tones to be simultaneously produced simultaneously or during a short time. SOLUTION: The electronic musical tone generator has an input means for inputting key-on information, a timer for starting the measurement of the prescribed time from the input of the key-on information when the key-on information is inputted, a parameter setting means for setting the parameters necessary for the sound production when the key-in information is inputted and a sound production start instruction means which instructs the sound production start to sound sources set with the parameters after lapse of the prescribed time from the input of the key-on information.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、電子楽音発生技術
に関し、特に、自動演奏(伴奏)ピアノ、パーソナルコ
ンピュータ内蔵の音源ボード、コンピュータプログラム
で波形生成を行うソフト音源等における電子楽音発生技
術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic musical tone generation technique, and more particularly to an electronic musical tone generation technique for an automatic performance (accompaniment) piano, a tone generator board with a built-in personal computer, a software tone generator for generating a waveform by a computer program, and the like.

【0002】[0002]

【従来の技術】CPUを利用して電子楽音の発音制御を
行う技術は、昭和49年頃から特許出願され、昭和57
年頃から製品化されている。このCPUを利用するメリ
ットは、コンピュータプログラム次第で、複雑な処理を
高速に実行できることにある。CPUが電子楽器に使用
される前は、簡単な自動伴奏パターンがあるのみで、楽
器パネル上の表示や、複数の出力系列(MIDIチャネ
ル)を同時に発音するときの有限な楽音発生チャネルの
割り当て等も非常にシンプルなものであった。このCP
Uのメリットを生かして、近年の電子楽音発生装置は、
1つの押鍵情報(キーオン情報)を受けると、非常に多
くの処理を行って発音させている。
2. Description of the Related Art A technique for controlling the tone generation of electronic musical tones using a CPU has been applied for a patent from around 1974.
It has been commercialized since around the year. An advantage of using the CPU is that complicated processing can be executed at high speed depending on the computer program. Before the CPU is used for an electronic musical instrument, there is only a simple automatic accompaniment pattern, display on the instrument panel, assignment of a limited number of musical sound generation channels when simultaneously producing a plurality of output sequences (MIDI channels), and the like. Was also very simple. This CP
Utilizing the advantages of U, recent electronic musical sound generators
When one piece of key press information (key-on information) is received, an extremely large number of processes are performed to generate sound.

【0003】昭和年代頃は、CPUの処理というと、パ
ネルレジストレーション、キーアサイナ、自動演奏等が
主要であった。当時、音色に関しては、波形読出しアド
レス、エンベロープパラメータ等を、音色係数メモリか
ら読み出して、そのまま音源LSIの所定の楽音発生チ
ャネルに設定すればよかった。ところが、近年は、それ
らのパラメータを読み出した後にキースケール演算(す
なわち特定キー対応のパラメータのみ記憶してそれ以外
のキーオン情報のパラメータを補間演算等で求める処
理)や、ベロシティ演算(キーオンに付随するキーオン
ベロシティデータにより上記パラメータを更に変更する
処理)が必要になってきた。それだけ、リアルな音又は
演奏に対してレスポンスのある音が要求されている。
[0003] In the Showa era, panel processing, key assigner, automatic performance, and the like were the main processes of the CPU. At that time, for the timbre, the waveform read address, envelope parameter, and the like had to be read from the timbre coefficient memory and set as it was in the predetermined tone generation channel of the tone generator LSI. However, in recent years, after reading out these parameters, a key scale operation (that is, a process of storing only parameters corresponding to a specific key and obtaining other key-on information parameters by an interpolation operation or the like) or a velocity operation (attached to key-on) is performed. (Process of further changing the above parameters by key-on velocity data). That is why a real sound or a sound having a response to performance is required.

【0004】その他にも、デジタルフィルタが必須の時
代となり、音色、音高(キーナンバ)、鍵強度(ベロシ
ティ)によって、デジタルフィルタの係数が時間軸上で
変化する演算をするようになっている。勿論、あまりに
大変な演算は、音源LSIに任せることも可能である
が、音源LSIを極力シンプルな構造にして、音源LS
Iの単価を下げたいので、勢いCPUに負担をかけるこ
とが多くなる。
In addition, digital filters have become indispensable eras, and calculations are performed in which the coefficients of the digital filters change on the time axis depending on the timbre, pitch (key number), and key strength (velocity). Of course, it is also possible to leave too much computation to the sound source LSI.
Since it is desired to reduce the unit price of I, a load is often placed on the momentum CPU.

【0005】ここで、電子楽器に利用されてきたCPU
を顧みると、昭和57年頃の8ビットCISCチップ
(8085、Z80等)から始まり、近年は32ビット
RISCチップを採用するに至り、処理能力は100倍
以上向上している。ところが、昭和57年当時と近年と
では、1キーオンの処理に要する時間はほとんど変わっ
ていない。一昔前には、将来的にはCPUの処理能力が
上がるから、同時押鍵による発音のばらつきを無視でき
ると信じていたが、どうも今後も裏切られそうな雰囲気
である。
Here, CPUs used in electronic musical instruments
In consideration of the above, the processing capability has been improved by more than 100 times since starting with 8-bit CISC chips (8085, Z80, etc.) around 1982, and adopting 32-bit RISC chips in recent years. However, the time required for one key-on processing has not changed much between that time in 1982 and recent years. A long ago ago, I believed that the CPU processing capacity would increase in the future, so that variations in pronunciation due to simultaneous key depression could be ignored, but it seems that the atmosphere will be betrayed in the future.

【0006】それは、発音処理時間は、1ms/キー程
度ならば、聴感上問題がないという暗黙の了解が技術者
の間にあるためのようである。つまり、CPUの処理能
力がいくら向上しても、1ms/キーの処理能力を設定
することがコストパフォーマンスの点から一番良いとい
う考えに到達しそうである。よって、音源LSIは、近
い将来、複数の乗算器と加算器だけになり、入力される
パラメータは、CPUがほぼリアルタイムで供給するこ
とになるであろう。つまり、モノラルならば、音源LS
Iは不要な時代になりつつある。
This is because engineers have an implicit understanding that if the sound generation processing time is about 1 ms / key, there is no problem in hearing. In other words, no matter how much the processing capacity of the CPU is improved, it is likely that setting the processing capacity of 1 ms / key is the best in terms of cost performance. Therefore, in the near future, the sound source LSI will be only a plurality of multipliers and adders, and the input parameters will be supplied by the CPU almost in real time. In other words, if monaural, the sound source LS
I is becoming an unnecessary age.

【0007】[0007]

【発明が解決しようとする課題】ここで、果たして、現
行のCPUの処理時間は本当に問題ないのだろうかとい
う疑問がある。実際、ピアノ音程度(立ち上がりに20
ms程度を要する波形)までなら、一般レベルの人間の
耳には、複数音を1msおきに立ち上げても、同時に聞
こえる。ただし、それよりもアタックの鋭い音(ティビ
ア音やパーカス音等)で8キー程度をほぼ同時に鳴らし
た場合には、それを聞き分ける人が現れると思われる。
Here, there is a question whether the current processing time of the CPU is really a problem. Actually, about the piano sound (20
(a waveform requiring about ms), even if a plurality of sounds are activated at intervals of 1 ms, they can be heard simultaneously by the human ear at a general level. However, in the case where sounds of about eight keys are sounded at the same time with a sound with a sharper attack (such as a tibia sound or a percussion sound), it is likely that a person who recognizes the sound will appear.

【0008】また、前述の1ms/キーという処理内容
は、せいぜい1つのキーオンに対して2つの楽音発生チ
ャネル(L/Rステレオ用)を利用する場合であり、例
えば、1つのキーオンに対して2出力系列(ピアノのL
/RとストリングスのL/R等)を利用するとなると、
単純に1キーに4楽音発生チャネル(2ms)の処理時
間がかかることになる。つまり、現行のCPU処理方式
では、ノーマル演奏をノーマルな人間が聞くときには許
容できるが、そうでないときには、発音遅れが気になる
電子楽音発生装置であることがわかる。
The above-mentioned processing content of 1 ms / key is for the case where at most two tone generation channels (for L / R stereo) are used for one key-on. Output series (Piano L
/ R and L / R of strings)
Simply, one key requires a processing time of four tone generation channels (2 ms). In other words, it can be understood that the current CPU processing method is permissible when a normal person listens to the normal performance, but otherwise, the electronic musical tone generator is concerned about the sound generation delay.

【0009】図21は、従来技術による電子楽音発生装
置の第1の発音処理例を示すタイムチャートである。横
軸はキーオン情報入力からの時間を示し、縦軸は楽音発
生チャネル(以下、DCOという)番号を示す。同時に
3キー(keyA、keyB、keyC)を押鍵し、各
キー毎にピアノ音PNとストリングス音STをステレオ
(L/R)で発音する場合を示す。この場合は、2音色
系列を使用することになる。ここで、1つのDCOにつ
いて1msの処理時間がかかるものとする。
FIG. 21 is a time chart showing a first example of a tone generation process of an electronic musical tone generator according to the prior art. The horizontal axis indicates the time from the key-on information input, and the vertical axis indicates the tone generation channel (hereinafter referred to as DCO) number. Simultaneously, three keys (keyA, keyB, keyC) are depressed, and a piano sound PN and a string sound ST are generated in stereo (L / R) for each key. In this case, two tone colors are used. Here, it is assumed that a processing time of 1 ms is required for one DCO.

【0010】第1のDCOには、音高がAの左(L)の
ピアノ音PNが割り当てられ、第2のDCOには、音高
がAの右(R)のピアノ音PNが割り当てられ、共にキ
ーオン情報入力から2msで発音される。第3のDCO
には、音高がAの左(L)のストリングス音STが割り
当てられ、第4のDCOには、音高がAの右(R)のス
トリングス音STが割り当てられ、共にキーオン情報入
力から4msで発音される。
A left (L) piano tone PN having a pitch A is assigned to the first DCO, and a right (R) piano tone PN having a pitch A is assigned to the second DCO. Are sounded in 2 ms from the key-on information input. Third DCO
Is assigned a left (L) string sound ST with a pitch A, and the fourth DCO is assigned a right (R) string sound ST with a pitch A, both of which are 4 ms from key-on information input. Pronounced as

【0011】第5のDCOには、音高がBの左(L)の
ピアノ音PNが割り当てられ、第6のDCOには、音高
がBの右(R)のピアノ音PNが割り当てられ、共にキ
ーオン情報入力から6msで発音される。第7のDCO
には、音高がBの左(L)のストリングス音STが割り
当てられ、第8のDCOには、音高がBの右(R)のス
トリングス音STが割り当てられ、共にキーオン情報入
力から8msで発音される。
The fifth DCO is assigned a left (L) piano tone PN having a pitch B, and the sixth DCO is assigned a right (R) piano tone PN having a pitch B. Are sounded in 6 ms from the key-on information input. Seventh DCO
Is assigned a left (L) strings sound ST with a pitch B, and an eighth DCO is assigned a strings sound ST with a right (R) pitch B, both of which are 8 ms from the key-on information input. Pronounced as

【0012】第9のDCOには、音高がCの左(L)の
ピアノ音PNが割り当てられ、第10のDCOには、音
高がCの右(R)のピアノ音PNが割り当てられ、共に
キーオン情報入力から10msで発音される。第11の
DCOには、音高がCの左(L)のストリングス音ST
が割り当てられ、第12のDCOには、音高がCの右
(R)のストリングス音STが割り当てられ、共にキー
オン情報入力から12msで発音される。
The ninth DCO is assigned a left (L) piano tone PN with a pitch C, and the tenth DCO is assigned a right (R) piano tone PN with a pitch C. Are sounded in 10 ms from the key-on information input. The eleventh DCO has a left (L) string sound ST with a pitch of C
Is assigned to the twelfth DCO, and the right (R) strings sound ST of the pitch C is assigned, and both are pronounced in 12 ms from the key-on information input.

【0013】この場合、第1のDCOは2msで発音
し、第12のDCOは12msで発音しているので、第
1のDCOの発音から第12のDCOの発音までに10
msの長時間がかかっている。演奏者は、3つのキーを
同時に押鍵しているので、すべての音を同時に発音する
ことが好ましいが、10msの間にぱらぱらと複数の楽
音が発音され、人間の耳には同時に発音されているとは
感じ難い。
In this case, since the first DCO produces a sound in 2 ms and the twelfth DCO produces a sound in 12 ms, it takes 10 seconds from the production of the first DCO to the production of the twelfth DCO.
It takes a long time of ms. Since the player presses all three keys at the same time, it is preferable that all the sounds are produced simultaneously. However, a plurality of musical tones are produced in 10 ms and the human ear is produced simultaneously. It is hard to feel that there is.

【0014】図22は、従来技術による電子楽音発生装
置の第2の発音処理例を示すタイムチャートである。横
軸はキーオン情報入力からの時間を示し、縦軸はDCO
番号を示す。同時に6キー(keyA、keyB、ke
yC、keyD、keyE、keyF)を押鍵し、各キ
ー毎にティビア音TAとストリングス音STをモノラル
で発音する場合を示す。この場合も、2音色系列を使用
することになる。ここでも、1つのDCOについて1m
sの処理時間がかかるものとする。
FIG. 22 is a time chart showing a second example of the tone generation process of the electronic musical tone generator according to the prior art. The horizontal axis shows the time from key-on information input, and the vertical axis shows DCO
Indicates a number. At the same time, 6 keys (keyA, keyB, key
yC, keyD, keyE, keyF) are depressed, and the tibia sound TA and the strings sound ST are generated in monaural for each key. Also in this case, two tone color series are used. Again, one meter for one DCO
It is assumed that the processing time of s is required.

【0015】第1のDCOには、音高がAのティビア音
TAが割り当てられ、1msで発音される。第2のDC
Oには、音高がAのストリングス音STが割り当てら
れ、2msで発音される。第3のDCOには、音高がB
のティビア音TAが割り当てられ、3msで発音され
る。第4のDCOには、音高がBのストリングス音ST
が割り当てられ、4msで発音される。
A tibia sound TA having a pitch A is assigned to the first DCO, and is generated in 1 ms. Second DC
A string sound ST having a pitch A is assigned to O, and is generated in 2 ms. The third DCO has a pitch of B
Is assigned, and is generated in 3 ms. The fourth DCO has a string sound ST of pitch B
Is assigned and pronounced in 4 ms.

【0016】第5のDCOには、音高がCのティビア音
TAが割り当てられ、5msで発音される。第6のDC
Oには、音高がCのストリングス音STが割り当てら
れ、6msで発音される。第7のDCOには、音高がD
のティビア音TAが割り当てられ、7msで発音され
る。第8のDCOには、音高がDのストリングス音ST
が割り当てられ、8msで発音される。
A tibia sound TA having a pitch C is assigned to the fifth DCO, and is generated in 5 ms. 6th DC
A string sound ST having a pitch C is assigned to O, and is generated in 6 ms. The seventh DCO has a pitch of D
Is assigned, and is generated in 7 ms. The eighth DCO has a string sound ST having a pitch D.
Is assigned and is pronounced in 8 ms.

【0017】第9のDCOには、音高がEのティビア音
TAが割り当てられ、9msで発音される。第10のD
COには、音高がEのストリングス音STが割り当てら
れ、10msで発音される。第11のDCOには、音高
がFのティビア音TAが割り当てられ、11msで発音
される。第12のDCOには、音高がFのストリングス
音STが割り当てられ、12msで発音される。
The ninth DCO is assigned a tibia sound TA having a pitch E and is generated in 9 ms. Tenth D
A string sound ST having a pitch E is assigned to CO and is emitted in 10 ms. The tibia sound TA having a pitch of F is assigned to the eleventh DCO, and is generated in 11 ms. The twelfth DCO is assigned a strings sound ST having a pitch of F, and is sounded in 12 ms.

【0018】この場合、第1のDCOは1msで発音
し、第12のDCOは12msで発音しているので、第
1のDCOの発音から第12のDCOの発音までに11
msの長時間がかかっている。演奏者は、6つのキーを
同時に押鍵しているが、11msの間にぱらぱらと複数
の楽音が発音され、同時に発音されているとは感じ難
い。
In this case, since the first DCO produces a sound in 1 ms and the twelfth DCO produces a sound in 12 ms, it takes 11 seconds from the first DCO to the twelfth DCO.
It takes a long time of ms. The player simultaneously presses the six keys, but a plurality of musical tones are generated in 11 ms, and it is difficult to feel that the tones are simultaneously generated.

【0019】本発明の目的は、同時に発音すべき複数の
楽音を同時に又は短時間の間に発音させることができる
電子楽音発生装置、電子楽音発生方法及び記録媒体を提
供することである。
An object of the present invention is to provide an electronic musical tone generating apparatus, an electronic musical tone generating method, and a recording medium capable of simultaneously producing a plurality of musical tones to be produced simultaneously or within a short time.

【0020】[0020]

【課題を解決するための手段】本発明の一観点によれ
ば、キーオン情報を入力する入力手段と、前記キーオン
情報が入力されると前記キーオン情報の入力から所定時
間の計測を開始するタイマと、前記キーオン情報を入力
すると発音に必要なパラメータを音源にセットするパラ
メータセット手段と、前記キーオン情報の入力から所定
時間経過後に前記パラメータがセットされた音源に発音
開始を指示する発音開始指示手段とを有する電子楽音発
生装置が提供される。
According to one aspect of the present invention, an input means for inputting key-on information, and a timer for starting measurement of a predetermined time from the input of the key-on information when the key-on information is input. Parameter setting means for setting a parameter required for sounding when the key-on information is input to a sound source, and sounding start instructing means for instructing a sound source in which the parameter is set to start sounding after a predetermined time has elapsed from the input of the key-on information. Is provided.

【0021】本発明の他の観点によれば、(a)キーオ
ン情報を入力するとキーオン情報を基に発音に必要なパ
ラメータを音源にセットするステップと、(b)キーオ
ン情報の入力から所定時間経過後に前記パラメータがセ
ットされた音源に発音開始を指示するステップとを有す
る電子楽音発生方法が提供される。
According to another aspect of the present invention, (a) the step of setting parameters necessary for sound generation in the sound source based on the key-on information when the key-on information is input, and (b) the lapse of a predetermined time from the input of the key-on information Instructing the sound source in which the parameter is set to start sounding later.

【0022】本発明のさらに他の観点によれば、(a)
キーオン情報を入力するとキーオン情報を基に発音に必
要なパラメータを音源にセットする手順と、(b)キー
オン情報の入力から所定時間経過後に前記パラメータが
セットされた音源に発音開始を指示する手順とをコンピ
ュータに実行させるためのプログラムを記録したコンピ
ュータ読み取り可能な記録媒体が提供される。
According to yet another aspect of the present invention, (a)
A step of setting parameters required for sound generation in the sound source based on the key-on information when key-on information is input; and (b) a step of instructing a sound source in which the parameters are set to start sounding after a predetermined time has elapsed from the input of the key-on information. And a computer-readable recording medium on which a program for causing a computer to execute the program is recorded.

【0023】本発明によれば、発音に必要なパラメータ
を音源にセットした後に直ぐに発音を開始させるのでは
なく、キーオン情報の入力から所定時間が経過するまで
待って、複数の楽音についてのパラメータが音源にセッ
トされたところで音源に発音開始を指示するので、複数
の楽音を同時に又は短時間で発音させることができる。
According to the present invention, the sound generation is not started immediately after the parameters required for sound generation are set in the sound source, but the parameter for a plurality of musical tones is waited until a predetermined time has elapsed from the input of the key-on information. Since the sound source is instructed to start sounding when set in the sound source, a plurality of musical tones can be sounded simultaneously or in a short time.

【0024】[0024]

【発明の実施の形態】以下、本発明の実施形態を、実施
例に沿って図面を参照しながら説明する。本実施例で
は、1キーオンでも8キーオンでも、同時に発音させる
ことが要求されているときは、極力、同時に発音を開始
するため、キーオン情報を受けてから発音を開始するま
でに、所定時間(例えば6ms)遅らせ、その間に必要
なパラメータ演算を済ませておくようにする。こうする
ことで、例えば、電子ピアノを弾く人は、弾き比べれ
ば、「ちょっと鍵の接点位置が深くなったかな」という
コメントを出すかもしれないが、最初から、この電子楽
音発生装置しか聞いていなければ、何の不具合も感じ
ず、本当の意味で和音等を同時発音することができる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below along with examples with reference to the drawings. In the present embodiment, when it is required to sound simultaneously with either one key or eight keys, sounding is started as simultaneously as possible. Therefore, a predetermined time (for example, from receiving key-on information to starting sounding) (for example, 6 ms) delay, during which necessary parameter calculations are completed. By doing this, for example, a person who plays an electronic piano may give a comment, "I wonder if the contact position of the key has become a little deeper", but from the beginning, only the electronic musical sound generator listens If it is not, no chords can be pronounced at the same time without any trouble.

【0025】聞く人が同時に発音していると感じるの
は、発明者の経験から10ms以上の時間内のパラパラ
と複数音の発音が開始されたときである。それよりも短
い4msや6msの間に複数音が発音されれば、同時に
複数音が発音されたように聞こえる。つまり、最初の発
音開始から最後の発音開始までに10ms以上の間隔が
あると同時とは受け取られないようである。
The listener feels that the sound is being pronounced at the same time when the sound of a plurality of sounds is started within 10 ms or more from the experience of the inventor. If a plurality of sounds are generated within a shorter time of 4 ms or 6 ms, it sounds as if a plurality of sounds were generated at the same time. That is, if there is an interval of 10 ms or more from the start of the first sound generation to the start of the last sound generation, it does not seem to be received simultaneously.

【0026】本実施例では、処理の余裕があっても、キ
ーオンから所定時間(例えば6ms)だけ意識的に遅ら
せ、その間にパラメータ演算から音源の対応楽音発生チ
ャネルへのセットまでを済ませておく。そして、6ms
後に、既に音源にパラメータをセットした複数の楽音発
生チャネルについて、次々と演算停止フラグをクリアす
ることにより発音を開始させる。これにより、本実施例
では、最初の楽音発生チャネルの発音開始から最後の楽
音発生チャネルの発音開始までを、従来よりも数ms短
縮させることができる。
In this embodiment, even if there is a margin for the processing, the key-on is intentionally delayed by a predetermined time (for example, 6 ms), and during that time, from the parameter calculation to the setting of the sound source to the corresponding tone generation channel is completed. And 6ms
Thereafter, for a plurality of tone generation channels for which parameters have already been set in the sound source, the sound generation is started by clearing the operation stop flags one after another. As a result, in this embodiment, the time from the start of sounding of the first tone generating channel to the start of sounding of the last tone generating channel can be shortened by several ms compared to the related art.

【0027】最初のキーオンによる発音開始を意識的に
遅らせることは、自動演奏再生(カラオケを含む)、自
動伴奏再生、電子鍵盤楽器の押鍵操作に基づく再生、自
動演奏ピアノのアンサンブル再生等に関して評価する
と、電子鍵盤楽器のみがその遅れ時間に気を使うが、そ
の他は例えば自動演奏や自動伴奏は、そのキーオン情報
を読み出すタイミングを制御すれば、何等問題ない。
The intentional delay of the onset of sounding by the first key-on is evaluated with respect to automatic performance reproduction (including karaoke), automatic accompaniment reproduction, reproduction based on a key press operation of an electronic keyboard instrument, ensemble reproduction of an automatic performance piano, and the like. Then, only the electronic keyboard instrument pays attention to the delay time, but otherwise there is no problem in, for example, automatic performance and automatic accompaniment if the timing of reading out the key-on information is controlled.

【0028】また、自動演奏ピアノのアンサンブル音用
に電子楽音を利用する場合も、キーオン情報を受けてか
ら、生ピアノのハンマーが移動する時間の方が桁違いに
長い(遅くなる)ので、意識的に電子楽音の発音開始を
遅くしているのが現状であり、これまた何ら問題ない。
Also, when electronic musical sounds are used for the ensemble sound of an automatic performance piano, the time required for the hammer of the raw piano to move after receiving the key-on information is orders of magnitude longer (slower). The current situation is that the onset of electronic musical sound is delayed lately, and there is no problem.

【0029】図1は、本発明の実施例による電子楽音発
生装置の第1の発音処理例を示すタイムチャートであ
る。横軸はキーオン情報入力からの時間を示し、縦軸は
DCO(楽音発生チャネル)番号を示す。同時に3キー
(keyA、keyB、keyC)を押鍵し、各キーに
ついてピアノ音PNをステレオ(L/R)で発音させる
場合を示す。この場合は、1音色系列を使用することに
なる。ここで、1つのDCOについて1msの処理時間
がかかるものとする。
FIG. 1 is a time chart showing a first example of tone generation processing of the electronic musical tone generating apparatus according to the embodiment of the present invention. The horizontal axis indicates the time from the key-on information input, and the vertical axis indicates the DCO (musical sound generation channel) number. Simultaneously, three keys (keyA, keyB, keyC) are depressed, and a piano sound PN is generated in stereo (L / R) for each key. In this case, one tone color series is used. Here, it is assumed that a processing time of 1 ms is required for one DCO.

【0030】図21及び図22では、各DCO毎に順に
発音処理を行っていたが、本実施例では、キーオン情報
の入力から所定時間(6ms)経過後に、複数の楽音を
同時に発音させる。具体的には、複数の楽音のキーオン
情報が入力されると、複数の楽音の音源パラメータを生
成して複数のDCO(音源)に順次割り当ててセットす
ると共に、各DCOの演算停止フラグをセットすること
により各DCOの発音開始を待機させる。そして、キー
オン情報の入力から所定時間(6ms)経過後にすべて
のDCOの演算停止フラグをクリアすることにより音源
パラメータがセットされた音源の全DCOに発音開始を
指示する。
In FIGS. 21 and 22, the tone generation process is performed sequentially for each DCO. However, in this embodiment, a plurality of musical tones are simultaneously emitted after a predetermined time (6 ms) has elapsed from the input of the key-on information. Specifically, when key-on information of a plurality of musical tones is input, tone generator parameters of a plurality of musical tones are generated, sequentially assigned to a plurality of DCOs (sound sources) and set, and an operation stop flag of each DCO is set. This causes each DCO to wait for the start of sound generation. After a lapse of a predetermined time (6 ms) from the input of the key-on information, the calculation stop flags of all the DCOs are cleared, thereby instructing all the DCOs of the sound sources for which the sound source parameters are set to start sounding.

【0031】第1のDCOには、音高がAの左(L)の
ピアノ音PNが割り当てられ、第2のDCOには、音高
がAの右(R)のピアノ音PNが割り当てられる。第3
のDCOには、音高がBの左(L)のピアノ音PNが割
り当てられ、第4のDCOには、音高がBの右(R)の
ピアノ音PNが割り当てられる。第5のDCOには、音
高がCの左(L)のピアノ音PNが割り当てられ、第6
のDCOには、音高がCの右(R)のピアノ音PNが割
り当てられる。
The first DCO is assigned a left (L) piano tone PN having a pitch A, and the second DCO is assigned a right (R) piano tone PN having a pitch A. . Third
Is assigned a left (L) piano tone PN with a pitch B, and the fourth DCO is assigned a right (R) piano tone PN with a pitch B. The left (L) piano sound PN having a pitch of C is assigned to the fifth DCO, and the sixth DCO is assigned to the sixth DCO.
Is assigned to the right (R) piano sound PN whose pitch is C.

【0032】上記の6個のDCOには、キーオン情報が
入力され次第、順に、各キーオン情報の楽音が割り当て
られ、各楽音のパラメータが生成されて音源の各DCO
にセットされると共に、各DCOの演算停止フラグがセ
ットされる。その後、キーオン情報の入力から所定時間
(6ms)が経過した時点で、音源の各DCOの演算停
止フラグをクリアすることにより、6個のDCOの発音
が開始される。1個のDCO当たり1msの処理時間が
かかるとすると、6個のDCOの処理には6msかか
る。上記の6個のDCOの楽音は、6msの時点で同時
に発音させることができる。
As soon as the key-on information is input, the tone of each key-on information is assigned to the six DCOs, the parameters of each tone are generated, and each DCO of the sound source is generated.
And the operation stop flag of each DCO is set. Thereafter, when a predetermined time (6 ms) has elapsed from the input of the key-on information, the sound generation of the six DCOs is started by clearing the calculation stop flag of each DCO of the sound source. Assuming that a processing time of 1 ms per one DCO, processing of 6 DCOs takes 6 ms. The above-mentioned six DCO musical tones can be generated simultaneously at the time of 6 ms.

【0033】本実施例によれば、発音に必要な音源パラ
メータを音源にセットした後に直ぐに発音を開始させる
のではなく、キーオン情報の入力から所定時間(6m
s)が経過するまで待って、その間に音源パラメータの
演算を済ませ、複数の楽音についての音源パラメータが
音源にセットされたところで音源に発音開始を指示する
ので、複数の楽音を同時に発音させることができる。演
奏者は、3つのキーを同時に押鍵しており、演奏者の意
図通りにすべての音を同時に発音することができる。な
お、3つのキーを同時に押鍵する場合に限らず、3つの
キーオンのMIDIデータや自動演奏データが入力され
た場合も同様である。
According to the present embodiment, sound generation is not started immediately after sound source parameters required for sound generation are set in the sound source, but a predetermined time (6 m) from input of key-on information.
Wait until s) elapses, during which time the sound source parameter calculation is completed, and when the sound source parameters for a plurality of musical tones are set in the sound source, the sound source is instructed to start sounding. it can. The player presses the three keys at the same time, and can simultaneously produce all sounds as intended by the player. This is not limited to the case where three keys are pressed at the same time, but the same applies when MIDI data and automatic performance data of three keys are input.

【0034】図2は、本実施例による電子楽音発生装置
の第2の発音処理例を示すタイムチャートである。横軸
はキーオン情報入力からの時間を示し、縦軸はDCO番
号を示す。同時に3キー(keyA、keyB、key
C)を押鍵し、各キー毎にピアノ音PN及びストリング
ス音STをステレオ(L/R)で発音させる場合を示
す。この場合、2音色系列を使用することになる。ここ
で、1つのDCOについて1msの処理時間がかかるも
のとする。
FIG. 2 is a time chart showing a second example of the tone generation processing of the electronic musical tone generator according to the present embodiment. The horizontal axis shows the time from the key-on information input, and the vertical axis shows the DCO number. At the same time, three keys (keyA, keyB, key
C) shows a case where a key is pressed and a piano sound PN and a strings sound ST are generated in stereo (L / R) for each key. In this case, two tone colors are used. Here, it is assumed that a processing time of 1 ms is required for one DCO.

【0035】第1のDCOには、音高がAの左(L)の
ピアノ音PNが割り当てられ、第2のDCOには、音高
がAの右(R)のピアノ音PNが割り当てられる。第3
のDCOには、音高がBの左(L)のピアノ音PNが割
り当てられ、第4のDCOには、音高がBの右(R)の
ピアノ音PNが割り当てられる。第5のDCOには、音
高がCの左(L)のピアノ音PNが割り当てられ、第6
のDCOには、音高がCの右(R)のピアノ音PNが割
り当てられる。
The first DCO is assigned a left (L) piano tone PN having a pitch A, and the second DCO is assigned a right (R) piano tone PN having a pitch A. . Third
Is assigned a left (L) piano tone PN with a pitch B, and the fourth DCO is assigned a right (R) piano tone PN with a pitch B. The left (L) piano sound PN having a pitch of C is assigned to the fifth DCO, and the sixth DCO is assigned to the sixth DCO.
Is assigned to the right (R) piano sound PN whose pitch is C.

【0036】上記の第1〜第6の6個のDCOには、キ
ーオン情報が入力され次第、順に、各キーオン情報の楽
音が割り当てられ、各楽音の音源パラメータが生成され
て音源の各DCOにセットされると共に、各DCOの演
算停止フラグがセットされる。その後、キーオン情報の
入力から所定時間(6ms)が経過した時点で、音源の
各DCOの演算停止フラグをクリアすることにより、6
個のDCOの発音が開始される。6個のDCOの処理に
は6msかかるので、所定時間(6ms)経過時に発音
可能な6個の楽音のみを先ず同時に発音させる。
As soon as the key-on information is input, the musical tones of the key-on information are assigned to the first to sixth six DCOs, and the sound source parameters of the musical tones are generated. At the same time, the operation stop flag of each DCO is set. After that, when a predetermined time (6 ms) has elapsed from the input of the key-on information, the calculation stop flag of each DCO of the sound source is cleared, whereby
The sounding of the DCOs is started. Since the processing of the six DCOs takes 6 ms, only the six tones that can be emitted after a predetermined time (6 ms) have elapsed are first simultaneously emitted.

【0037】次に、第7のDCOには、音高がAの左
(L)のストリングス音STが割り当てられ、第8のD
COには、音高がAの右(R)のストリングス音STが
割り当てられる。その際、各楽音の音源パラメータが生
成されて各DCOにセットされると共に、各DCOの演
算停止フラグがセットされる。その後、キーオン情報の
入力から8ms経過後に、第7及び第8のDCOの演算
停止フラグをクリアすることにより、第7及び第8のD
COの楽音を発音させる。第7及び第8のDCOの楽音
は、1ms毎に順に発音させてもよいが、これらの楽音
はステレオL/Rの組なので、本実施例のように、同時
に発音させることが好ましい。
Next, the left (L) strings sound ST of pitch A is assigned to the seventh DCO, and the eighth DCO is assigned with the eighth DCO.
A string sound ST whose pitch is A to the right (R) is assigned to CO. At this time, sound source parameters of each musical tone are generated and set in each DCO, and a calculation stop flag of each DCO is set. Thereafter, after a lapse of 8 ms from the input of the key-on information, the operation stop flags of the seventh and eighth DCOs are cleared, whereby the seventh and eighth DCOs are cleared.
Produce the musical tone of CO. The tones of the seventh and eighth DCOs may be sequentially emitted at intervals of 1 ms, but since these tones are a set of stereo L / R, it is preferable that the tones are simultaneously emitted as in the present embodiment.

【0038】次に、第9のDCOには、音高がBの左
(L)のストリングス音STが割り当てられ、第10の
DCOには、音高がBの右(R)のストリングス音ST
が割り当てられる。その際、各楽音の音源パラメータが
生成されて各DCOにセットされると共に、各DCOの
演算停止フラグがセットされる。その後、キーオン情報
の入力から10ms経過後に、第9及び第10のDCO
の演算停止フラグをクリアすることにより、第9及び第
10のDCOの楽音を発音させる。
Next, a left (L) string sound ST with a pitch B is assigned to the ninth DCO, and a right (R) string sound ST with a pitch B is assigned to the tenth DCO.
Is assigned. At this time, sound source parameters of each musical tone are generated and set in each DCO, and a calculation stop flag of each DCO is set. Then, after a lapse of 10 ms from the input of the key-on information, the ninth and tenth DCOs
By clearing the calculation stop flag, the tone of the ninth and tenth DCOs is generated.

【0039】次に、第11のDCOには、音高がCの左
(L)のストリングス音STが割り当てられ、第12の
DCOには、音高がCの右(R)のストリングス音ST
が割り当てられる。その際、各楽音の音源パラメータが
生成されて各DCOにセットされると共に、各DCOの
演算停止フラグがセットされる。その後、キーオン情報
の入力から12ms経過後に、第11及び第12のDC
Oの演算停止フラグをクリアすることにより、第11及
び第12のDCOの楽音を発音させる。
Next, a left (L) string sound ST with a pitch C is assigned to the eleventh DCO, and a right (R) string sound ST with a pitch C is assigned to the twelfth DCO.
Is assigned. At this time, sound source parameters of each musical tone are generated and set in each DCO, and a calculation stop flag of each DCO is set. Then, after a lapse of 12 ms from the input of the key-on information, the eleventh and twelfth DC
By clearing the O operation stop flag, the tones of the eleventh and twelfth DCOs are generated.

【0040】ここで、上記の12個のDCOの楽音を同
時に発音させることも考えられる。すなわち、12個の
DCOの処理には12msかかるので、キーオン情報の
入力から12ms経過後に12個のDCOの楽音を同時
に発音させることができる。ただし、その場合、演奏者
が押鍵操作をしてから、12ms経過後にようやく発音
されるので、押鍵操作のレスポンスの遅さが演奏者の許
容範囲内であるか否かを考える必要がある。この観点か
ら、本実施例のように、キーオン情報の入力から所定時
間(6ms)経過後に、所定楽音数(6音)だけ先に発
音させ、その後に残りの楽音を発音させることが好まし
い。この場合でも、第1のDCOの発音から第12のD
COの発音まで、6msしかかからないので、図21の
場合には10msかかることに比べれば、十分に同時発
音の要求を満たしているといえる。
Here, it is conceivable to simultaneously generate the above-mentioned 12 DCO musical tones. That is, since the processing of the 12 DCOs takes 12 ms, the musical tones of the 12 DCOs can be generated simultaneously after a lapse of 12 ms from the input of the key-on information. However, in this case, since the sound is finally sounded 12 ms after the player performs the key pressing operation, it is necessary to consider whether or not the response time of the key pressing operation is within the permissible range of the player. . From this point of view, as in the present embodiment, it is preferable that, after a lapse of a predetermined time (6 ms) from the input of the key-on information, a predetermined number of musical tones (six sounds) be generated first, and then the remaining musical tones be generated. Even in this case, the twelfth DCO
Since it takes only 6 ms to generate CO, it can be said that the requirement for simultaneous sound generation is sufficiently satisfied as compared with the case of FIG. 21 which takes 10 ms.

【0041】押鍵操作のレスポンスを考慮すると、上記
の所定時間は、2ms〜20msが好ましく、3ms〜
10msがより好ましく、6msが特に好ましい。ま
た、上記の所定楽音数は、上記の処理を行うCPUの処
理能力により決められ、本実施例では、CPUが1つの
DCO当たりに1msの処理時間がかかるものとしたた
めに、所定時間が6msのときには所定楽音数が6音に
なる。したがって、上記の所定楽音数は、6音に限定さ
れず、上記の所定時間内に処理可能なDCO数になる。
In consideration of the response of the key pressing operation, the predetermined time is preferably 2 ms to 20 ms, and 3 ms to 20 ms.
10 ms is more preferred, and 6 ms is particularly preferred. The predetermined number of musical tones is determined by the processing capability of the CPU that performs the above-described processing. In the present embodiment, the processing time of 1 ms per DCO is assumed by the CPU, so that the predetermined time is 6 ms. Sometimes the predetermined number of musical tones is six. Therefore, the above-mentioned predetermined number of musical tones is not limited to six, but becomes the number of DCOs that can be processed within the above-mentioned predetermined time.

【0042】また、キーオン情報の入力から6msの時
点で6個のピアノ音PNを発音させ、12msの時点で
残りの6個のストリングス音STを発音させることもで
きる。ただし、その場合、6個のピアノ音PNの発音と
6個のストリングス音STの発音との間隔が6msとい
う比較的長時間になるので、合計12個の楽音が同時に
発音されていないように演奏者に聞こえる可能性があ
る。そのため、本実施例のように、6個のピアノ音PN
を発音させた後は、残りの6個のストリングス音STを
ステレオ音単位で順に発音させることが好ましい。
It is also possible to generate six piano sounds PN at a time of 6 ms from the input of the key-on information and to generate the remaining six strings sounds ST at a time of 12 ms. However, in this case, since the interval between the sounding of the six piano sounds PN and the sounding of the six strings sounds ST is a relatively long time of 6 ms, it is performed so that a total of 12 musical tones are not simultaneously sounded. May be heard by others. Therefore, as in the present embodiment, six piano sounds PN
, It is preferable that the remaining six string sounds ST be sequentially emitted in stereo sound units.

【0043】本実施例では、まずピアノ音PNのグルー
プを先に発音させ、その後にストリングス音STのグル
ープを発音させている。逆に、先にストリングス音ST
を発音させ、その後にピアノ音PNを発音させることも
できる。ただし、一般的に、ピアノ音PNは、ストリン
グス音STに比べて、楽音エンベロープのアタック速度
(立ち上がり速度)が速いので、アタック速度が速い6
個のピアノ音PNを先に同時に発音させ、アタック速度
が遅いストリングス音STを後に順に発音させることが
好ましい。すなわち、アタック速度が速い楽音は、複数
の楽音が少しでもずれて発音されると聴取者は敏感に楽
音の時間的ずれを感じ易い。一方、アタック速度が遅い
楽音は、複数の楽音が少しずれても、聴取者は楽音のず
れを感じ難い。したがって、アタック速度が速い楽音ほ
ど優先順位を高くして先に発音させることが好ましい。
In this embodiment, a group of the piano sounds PN is generated first, and then a group of the strings sounds ST is generated. Conversely, the strings sound ST first
, And then the piano sound PN. However, in general, the attack speed (rising speed) of the musical tone envelope of the piano sound PN is higher than that of the strings sound ST, and thus the attack speed is higher.
It is preferable that the piano sounds PN be simultaneously generated first, and the strings sounds ST having the slower attack speed be sequentially generated later. That is, if a plurality of musical tones are pronounced with a slight shift in a musical tone having a fast attack speed, the listener is likely to sensitively sense a temporal shift in the musical tone. On the other hand, in the case of a musical tone having a slow attack speed, even if a plurality of musical tones are slightly shifted, the listener hardly feels a shift in the musical tone. Therefore, it is preferable that a musical tone with a faster attack speed be given a higher priority and sounded first.

【0044】また、同様に、音量が大きい楽音ほど、楽
音の時間的ずれに敏感であるので、音量が大きい楽音ほ
ど優先順位を高くして先に発音させることが好ましい。
また、アタック速度や音量を制御するために用いるキー
オンベロシティやラウドネスに応じて、優先順位を付け
ることができる。その場合、ベロシティやラウドネスが
大きい楽音ほど優先順位を高くして先に発音させること
が好ましい。
Similarly, since a tone with a higher volume is more sensitive to a time lag of the tone, it is preferable that a tone with a higher volume has a higher priority and is sounded first.
In addition, priorities can be assigned according to key-on velocity and loudness used for controlling the attack speed and the volume. In this case, it is preferable that a tone having a higher velocity or loudness be given a higher priority and sounded first.

【0045】また、音高に応じて優先順位を付けてもよ
い。人間の聴感上、1kHz付近の周波数帯の音が最も
感度良く聞こえる。したがって、1kHz付近の音高の
楽音の優先順位を高くして先に発音させることができ
る。例えば、61鍵の鍵盤楽器の場合、1kHzの音高
の鍵は高音の音域に属する。したがって、処理を簡略化
し、音高が高い楽音ほど優先順位を高くして先に発音さ
せることができる。
Further, priorities may be assigned according to pitches. Sounds in a frequency band around 1 kHz are heard with the highest sensitivity in human hearing. Therefore, it is possible to raise the priority of a musical tone having a pitch around 1 kHz and generate the tone first. For example, in the case of a 61-key keyboard instrument, a key having a pitch of 1 kHz belongs to a high pitch range. Therefore, the processing can be simplified, and the higher the tone, the higher the priority, and the tone can be generated first.

【0046】なお、上記のアタック速度等のパラメータ
は、音色に応じて標準的な値が決まるので、音色に応じ
て優先順位を付けてもよい。
The parameters such as the above-mentioned attack speed and the like have standard values determined according to the timbre. Therefore, priorities may be assigned according to the timbre.

【0047】図3は、本実施例による電子楽音発生装置
の第3の発音処理例を示すタイムチャートである。横軸
はキーオン情報入力からの時間を示し、縦軸はDCO番
号を示す。同時に4キー(keyA、keyB、key
C、keyD)を押鍵し、各キー毎にピアノ音PNをス
テレオ(L/R)で発音させる場合を示す。この場合、
1音色系列を使用することになる。ここで、1つのDC
Oについて1msの処理時間がかかるものとする。
FIG. 3 is a time chart showing a third example of the tone generation process of the electronic musical tone generator according to the present embodiment. The horizontal axis shows the time from the key-on information input, and the vertical axis shows the DCO number. 4 keys at the same time (keyA, keyB, key
C, key D) is depressed, and a piano sound PN is generated in stereo (L / R) for each key. in this case,
One tone sequence will be used. Here, one DC
It is assumed that a processing time of 1 ms is required for O.

【0048】第1のDCOには、音高がAの左(L)の
ピアノ音PNが割り当てられ、第2のDCOには、音高
がAの右(R)のピアノ音PNが割り当てられる。第3
のDCOには、音高がBの左(L)のピアノ音PNが割
り当てられ、第4のDCOには、音高がBの右(R)の
ピアノ音PNが割り当てられる。第5のDCOには、音
高がCの左(L)のピアノ音PNが割り当てられ、第6
のDCOには、音高がCの右(R)のピアノ音PNが割
り当てられる。
The first DCO is assigned a left (L) piano tone PN having a pitch A, and the second DCO is assigned a right (R) piano tone PN having a pitch A. . Third
Is assigned a left (L) piano tone PN with a pitch B, and the fourth DCO is assigned a right (R) piano tone PN with a pitch B. The left (L) piano sound PN having a pitch of C is assigned to the fifth DCO, and the sixth DCO is assigned to the sixth DCO.
Is assigned to the right (R) piano sound PN whose pitch is C.

【0049】上記の第1〜第6の6個のDCOには、キ
ーオン情報が入力され次第、順に、各キーオン情報の楽
音が割り当てられ、各楽音の音源パラメータが生成され
て音源の各DCOにセットされると共に、各DCOの演
算停止フラグがセットされる。その後、キーオン情報の
入力から所定時間(6ms)が経過した時点で、音源の
各DCOの演算停止フラグをクリアすることにより、6
個のDCOの発音が開始される。6個のDCOの処理に
は6msかかるので、所定時間(6ms)経過後に発音
可能な6個の楽音のみを先ず同時に発音させる。
As soon as the key-on information is input, the tone of each piece of key-on information is assigned to the first to sixth six DCOs, and tone generator parameters of each tone are generated. At the same time, the operation stop flag of each DCO is set. After that, when a predetermined time (6 ms) has elapsed from the input of the key-on information, the calculation stop flag of each DCO of the sound source is cleared, whereby
The sounding of the DCOs is started. Since it takes 6 ms to process the six DCOs, only six tones that can be emitted after a predetermined time (6 ms) have been emitted at the same time.

【0050】次に、第7のDCOには、音高がDの左
(L)のピアノ音PNが割り当てられ、第8のDCOに
は、音高がDの右(R)のピアノ音PNが割り当てられ
る。その際、各楽音の音源パラメータが生成されて各D
COにセットされると共に、各DCOの演算停止フラグ
がセットされる。その後、キーオン情報の入力から8m
s経過後に、第7及び第8のDCOの演算停止フラグを
クリアすることにより、第7及び第8のDCOの楽音を
発音させる。第7及び第8のDCOの楽音は、1ms毎
に順に発音させてもよいが、これらの楽音はステレオL
/Rの組なので、本実施例のように、同時に発音させる
ことが好ましい。
Next, a left (L) piano sound PN with a pitch of D is assigned to the seventh DCO, and a right (R) piano sound PN with a pitch of D is assigned to the eighth DCO. Is assigned. At this time, sound source parameters of each musical tone are generated and each D
CO is set, and the operation stop flag of each DCO is set. After that, 8m from input of key-on information
After the elapse of s, the tone stop of the seventh and eighth DCO is generated by clearing the operation stop flag of the seventh and eighth DCO. The tones of the seventh and eighth DCOs may be sequentially generated at intervals of 1 ms.
Since it is a set of / R, it is preferable to sound simultaneously as in this embodiment.

【0051】図4は、本実施例による電子楽音発生装置
の第4の発音処理例を示すタイムチャートである。横軸
はキーオン情報入力からの時間を示し、縦軸はDCO番
号を示す。同時に6キー(keyA、keyB、key
C、keyD、keyE、keyF)を押鍵し、各キー
毎にディビア音TA及びストリングス音STをモノラル
で発音させる場合を示す。この場合、2音色系列を使用
することになる。ここで、1つのDCOについて1ms
の処理時間がかかるものとする。
FIG. 4 is a time chart showing a fourth example of the tone generation process of the electronic musical tone generator according to the present embodiment. The horizontal axis shows the time from the key-on information input, and the vertical axis shows the DCO number. 6 keys (keyA, keyB, key)
C, keyD, keyE, and keyF) are depressed, and a divia sound TA and a string sound ST are generated in monaural for each key. In this case, two tone colors are used. Here, 1 ms for one DCO
Processing time.

【0052】第1のDCOには、音高がAのティビア音
TAが割り当てられ、第2のDCOには、音高がBのテ
ィビア音TAが割り当てられ、第3のDCOには、音高
がCのティビア音TAが割り当てられ、第4のDCOに
は、音高がDのティビア音TAが割り当てられ、第5の
DCOには、音高がEのティビア音TAが割り当てら
れ、第6のDCOには、音高がFのティビア音TAが割
り当てられる。
The first DCO is assigned a tibia sound TA of pitch A, the second DCO is assigned a tibia sound TA of pitch B, and the third DCO is assigned a pitch sound TA. Is assigned a tibia tone TA of C, a fourth DCO is assigned a tibia tone TA of a pitch D, a fifth DCO is assigned a tibia tone TA of a pitch E, and a sixth DCO is assigned a tibia tone TA of a pitch E. Is assigned a tibia sound TA having a pitch of F.

【0053】上記の第1〜第6の6個のDCOには、キ
ーオン情報が入力され次第、順に、各キーオン情報の楽
音が割り当てられ、各楽音の音源パラメータが生成され
て音源の各DCOにセットされると共に、各DCOの演
算停止フラグがセットされる。その後、キーオン情報の
入力から所定時間(6ms)が経過した時点で、音源の
各DCOの演算停止フラグをクリアすることにより、6
個のDCOの発音が開始される。6個のDCOの処理に
は6msかかるので、所定時間(6ms)経過後に発音
可能な6個の楽音のみを先ず同時に発音させる。
As soon as the key-on information is input, the musical tones of the key-on information are sequentially assigned to the first to sixth six DCOs, and sound source parameters of the musical tones are generated. At the same time, the operation stop flag of each DCO is set. After that, when a predetermined time (6 ms) has elapsed from the input of the key-on information, the calculation stop flag of each DCO of the sound source is cleared, whereby
The sounding of the DCOs is started. Since it takes 6 ms to process the six DCOs, only six tones that can be emitted after a predetermined time (6 ms) have been emitted at the same time.

【0054】次に、上記と同様に、第7のDCOには、
音高がAのストリングス音STが割り当てられ、キーオ
ン情報入力から7ms経過後に、第7のDCOの楽音を
発音させる。同様に、キーオン情報入力から8ms経過
後に第8のDCOの楽音(keyBのストリングス音S
T)を発音させ、キーオン情報入力から9ms経過後に
第9のDCOの楽音(keyCのストリングス音ST)
を発音させ、キーオン情報入力から10ms経過後に第
10のDCOの楽音(keyDのストリングス音ST)
を発音させ、キーオン情報入力から11ms経過後に第
11のDCOの楽音(keyEのストリングス音ST)
を発音させ、キーオン情報入力から12ms経過後に第
12のDCOの楽音(keyFのストリングス音ST)
を発音させる。
Next, similarly to the above, the seventh DCO includes:
A string sound ST having a pitch A is assigned, and after a lapse of 7 ms from the key-on information input, a tone of the seventh DCO is generated. Similarly, after a lapse of 8 ms from the key-on information input, the eighth DCO musical tone (key B string sound S
T), and after 9 ms from the input of the key-on information, the ninth DCO musical tone (string sound ST of keyC)
, And 10 ms after the key-on information input, the tenth DCO musical tone (keyD string sound ST)
, And 11 ms after the key-on information input, the eleventh DCO tone (key E string sound ST)
And the twelfth DCO musical tone (keyF string sound ST) 12 ms after the key-on information input
Is pronounced.

【0055】この場合、ティビア音TAは、ストリング
ス音STよりもアタック速度が速いので、ティビア音T
Aの優先順位を高くしている。すなわち、第1〜第6の
DCOにアタック速度の速いティビア音TAを割り当て
て先に発音させ、その後に第7〜第12のDCOにアタ
ック速度の遅いストリング音STを割り当てて発音させ
る。上記のように、アタック速度が速い楽音は、複数の
楽音が少しずれて発音されても聴取者は敏感に楽音の時
間的ずれを感じ取るので、アタック速度が速い楽音ほど
優先順位を高くして先に発音させる。
In this case, since the attack speed of the tibia sound TA is faster than that of the strings sound ST, the tibia sound T
A has a higher priority. In other words, the tibia sound TA with the fast attack speed is assigned to the first to sixth DCOs and sounded first, and thereafter the string sound ST with the slow attack speed is assigned to the seventh to twelfth DCOs and sounded. As described above, a tone with a fast attack speed has a higher priority for a tone with a faster attack speed, because even if a plurality of tones are pronounced with a slight shift, the listener perceives a time shift of the tone. To be pronounced.

【0056】図5(A)及び(B)は、本実施例に使用
する自動演奏データのフォーマットを示す図である。
FIGS. 5A and 5B are diagrams showing the format of the automatic performance data used in this embodiment.

【0057】図5(A)は、系列メッセージ(MIDI
チャネルメッセージ)のフォーマットを示す。水平方向
にビット番号を示し、垂直方向にバイト番号を示す。第
0バイトは、16進数表示で00H〜EFHの値をとる
ステップタイプを示す。ステップタイムは、直前のバー
(小節)メッセージからの時間を示す。第1バイトは、
ステータス及び系列(MIDIチャネル)を示す。上記
のステータスは、MIDIに準拠するものであり、例え
ば、キーオフ、キーオン、コントロールチェンジ、プロ
グラムチェンジ等を示す。第2バイトは、MIDIに準
拠する第1データバイトを示し、例えばキーナンバ等を
示す。第3バイトは、MIDIに準拠する第2データバ
イトであり、例えばベロシティを示す。
FIG. 5A shows a sequence message (MIDI)
Channel message). The bit number is shown in the horizontal direction and the byte number is shown in the vertical direction. The 0th byte indicates a step type that takes a value from 00H to EFH in hexadecimal notation. The step time indicates the time from the immediately preceding bar (bar) message. The first byte is
Indicates status and sequence (MIDI channel). The status is based on MIDI, and indicates, for example, key-off, key-on, control change, program change, and the like. The second byte indicates a first data byte conforming to MIDI, for example, a key number. The third byte is a second data byte conforming to MIDI, and indicates, for example, velocity.

【0058】図5(B)は、システムメッセージのフォ
ーマットを示す。システムメッセージは、すべて1バイ
トであり、最上位ビットが1になる点で上記の系列メッ
セージと識別可能である。バー(小節)メッセージSY
1は、例えばF8Hで表現される。自動演奏(SEQ)
スタートメッセージSY2は、例えばFAHで表現され
る。自動演奏(SEQ)ストップメッセージSY3は、
例えばFCHで表現される。
FIG. 5B shows the format of a system message. All system messages are 1 byte, and can be distinguished from the above sequence message in that the most significant bit becomes 1. Bar (bar) message SY
1 is represented by, for example, F8H. Automatic performance (SEQ)
The start message SY2 is represented by, for example, FAH. The automatic performance (SEQ) stop message SY3
For example, it is represented by FCH.

【0059】図6は、図1に示す楽音を発音させる場合
の自動演奏データ(SEQデータ)を示す。垂直方向の
数字の並びはバイト番号を示す。第0バイトは、自動演
奏スタートメッセージSY2(図5(B))であり、第
1バイトは、バーメッセージSY1である。第2〜第5
バイトでは、ピアノ音の音色を設定する。第6〜第9バ
イトでは、ステップタイムが3の時点で音高がAの楽音
のキーオンを指示する。第10〜第13バイトでは、ス
テップタイムが3の時点で音高がBの楽音のキーオンを
指示する。第14〜第17バイトでは、ステップタイム
が3の時点で音高がCの楽音のキーオンを指示する。そ
の後に、各キーオンに対応するキーオフの指示がなさ
れ、最後に自動演奏ストップメッセージSY3(図5
(B))が位置する。この自動演奏データは、同時に3
つの音高のステレオ音のキーオンを指示している。
FIG. 6 shows automatic performance data (SEQ data) when the musical tone shown in FIG. 1 is generated. The sequence of numbers in the vertical direction indicates byte numbers. The 0th byte is an automatic performance start message SY2 (FIG. 5B), and the 1st byte is a bar message SY1. 2nd to 5th
Byte sets the tone of the piano sound. In the sixth to ninth bytes, when the step time is 3, a key-on of a musical tone having a pitch A is instructed. In the tenth to thirteenth bytes, the key-on of the musical tone with the pitch B is instructed when the step time is 3. In the 14th to 17th bytes, the key-on of the musical tone having the pitch C is instructed when the step time is 3. Thereafter, a key-off instruction corresponding to each key-on is issued, and finally, an automatic performance stop message SY3 (FIG. 5).
(B)) is located. This automatic performance data is
Instructs key-on of stereo sound of two pitches.

【0060】図7は、図2に示す楽音を発音させる場合
の自動演奏データを示す。垂直方向の数字の並びはバイ
ト番号を示す。第0バイトは自動演奏スタートメッセー
ジSY2(図5(B))であり、第1バイトはバーメッ
セージSY1である。第2〜第5バイトでは、音色系列
の0番にピアノ音の音色を設定する。第6〜第9バイト
では、音色系列の1番にストリングス音の音色を設定す
る。
FIG. 7 shows automatic performance data when the tone shown in FIG. 2 is generated. The sequence of numbers in the vertical direction indicates byte numbers. The 0th byte is an automatic performance start message SY2 (FIG. 5B), and the 1st byte is a bar message SY1. In the second to fifth bytes, the timbre of the piano sound is set to the number 0 in the timbre series. In the sixth to ninth bytes, the timbre of the strings sound is set to the first in the timbre series.

【0061】第10〜第13バイトでは、ステップタイ
ムが3の時点で音色系列の0番(ピアノ音)に音高がA
の楽音のキーオンを指示する。第14〜第17バイトで
は、ステップタイムが3の時点で音色系列の1番(スト
リングス音)に音高がAの楽音のキーオンを指示する。
In the tenth to thirteenth bytes, when the step time is 3, the pitch A is set to the 0th (piano sound) of the timbre series.
To key on the music. In the fourteenth to seventeenth bytes, when the step time is 3, the key-on of the tone having the pitch A is instructed to the first (strings sound) of the tone color series.

【0062】第18〜第21バイトでは、ステップタイ
ムが3の時点で音色系列の0番(ピアノ音)に音高がB
の楽音のキーオンを指示する。第22〜第25バイトで
は、ステップタイムが3の時点で音色系列の1番(スト
リングス音)に音高がBの楽音のキーオンを指示する。
In the eighteenth to twenty-first bytes, when the step time is 3, the pitch is B at the 0th (piano sound) of the timbre series.
To key on the music. In the 22nd to 25th bytes, when the step time is 3, the key-on of the tone having the pitch B is instructed to the first (strings sound) of the tone color series.

【0063】第22〜第25バイトでは、ステップタイ
ムが3の時点で音色系列の0番(ピアノ音)に音高がC
の楽音のキーオンを指示する。第26〜第29バイトで
は、ステップタイムが3の時点で音色系列の1番(スト
リングス音)に音高がCの楽音のキーオンを指示する。
その後に、各キーオンに対応するキーオフの指示がなさ
れ、最後に自動演奏ストップメッセージSY3(図5
(B))が位置する。
In the 22nd to 25th bytes, when the step time is 3, the pitch is C at the 0th (piano sound) of the timbre series.
To key on the music. In the 26th to 29th bytes, when the step time is 3, the key-on of the tone having the pitch C is instructed to the first (strings sound) of the tone color series.
Thereafter, a key-off instruction corresponding to each key-on is issued, and finally, an automatic performance stop message SY3 (FIG. 5).
(B)) is located.

【0064】図8は、本実施例による電子鍵盤楽器(電
子楽音発生装置)の構成を示すブロック図である。バス
15には、タイマ1、CPU2、フラッシュメモリ3、
RAM4、MIDI入出力インタフェース5、パネル
(操作子/表示器)6、キースキャン回路8、音源LS
I10、DSP12が接続されている。
FIG. 8 is a block diagram showing the configuration of an electronic keyboard instrument (electronic musical sound generator) according to this embodiment. The bus 15 includes a timer 1, a CPU 2, a flash memory 3,
RAM 4, MIDI input / output interface 5, panel (operator / display) 6, key scan circuit 8, sound source LS
I10 and DSP12 are connected.

【0065】タイマ1は、時間情報をカウントし、キー
オン情報の入力から所定時間(6ms)を計測すると第
1の割り込み信号INT1をCPU2に供給し、(4分
音符の時間)/24の時間間隔で第2の割り込み信号I
NT2をCPU2に供給する。CPU2は、図11〜図
20に示すフローチャートに対応するフラッシュメモリ
3内のコンピュータプログラムを実行することにより、
上記の同時発音の処理を実現する。
The timer 1 counts time information, and supplies a first interrupt signal INT1 to the CPU 2 when a predetermined time (6 ms) has been measured from the input of key-on information, and a time interval of (quarter note time) / 24 And the second interrupt signal I
NT2 is supplied to CPU2. The CPU 2 executes a computer program in the flash memory 3 corresponding to the flowcharts shown in FIGS.
The above simultaneous sound generation processing is realized.

【0066】フラッシュメモリ3は、CPU2が処理す
るプログラム、DSP12が処理するプログラム、自動
演奏データ(図6、図7)、音色データを記憶する。R
AM4は、パネル6に対応するパネルイベントバッフ
ァ、鍵盤7に対応するキーイベントバッファ、パネル6
内のアナログ操作子に対応するアナログイベントバッフ
ァを有する。
The flash memory 3 stores a program processed by the CPU 2, a program processed by the DSP 12, automatic performance data (FIGS. 6 and 7), and timbre data. R
AM4 is a panel event buffer corresponding to the panel 6, a key event buffer corresponding to the keyboard 7, a panel 6
Has an analog event buffer corresponding to the analog operator in the inside.

【0067】キースキャン回路8は、鍵盤7に対してキ
ースキャンし、キーオン情報、キーオフ情報、ベロシテ
ィ、音高等を検出する。音源LSI10は、アサイメン
トメモリ10aと共通演算開始フラグ(CDCF:Cl
ear Disable Calculate Fla
g)10bを有する。CPU2は、キーオン情報が入力
されるとDCOの割り当てを行い、そのキーオンに対応
する音源パラメータをアサイメントメモリ10aにセッ
トする。共通演算開始フラグ10bは、キーオン情報入
力から所定時間(6ms)経過後に一斉に発音を開始さ
せるためのフラグである。
The key scan circuit 8 performs a key scan on the keyboard 7 to detect key-on information, key-off information, velocity, pitch, and the like. The tone generator LSI 10 has a common operation start flag (CDCF: Cl) with the assignment memory 10a.
ear Disable Calculate Fla
g) having 10b. When the key-on information is input, the CPU 2 allocates the DCO, and sets the tone generator parameters corresponding to the key-on in the assignment memory 10a. The common operation start flag 10b is a flag for starting sound generation at the same time after a lapse of a predetermined time (6 ms) from input of key-on information.

【0068】波形メモリ9は、楽音のPCM波形を記憶
する。音源LSI10は、波形メモリ9から波形を読み
出すことにより楽音を生成する。DSP12は、CPU
2からエフェクトパラメータを入力して、音源LSI1
0から出力される楽音にエフェクトを付与し、D/A変
換器13に出力する。その際、DSP12は、遅延メモ
リ11を用いて楽音を遅延させるエフェクトを付与す
る。
The waveform memory 9 stores a PCM waveform of a musical tone. The sound source LSI 10 generates a musical tone by reading a waveform from the waveform memory 9. DSP12 is a CPU
2. Input the effect parameters from
An effect is applied to the musical tone output from 0 and output to the D / A converter 13. At this time, the DSP 12 gives an effect of delaying the musical sound using the delay memory 11.

【0069】D/A変換器13は、DSP12から入力
する楽音をデジタル形式からアナログ形式に変換し、ア
ンプ及びスピーカ14に出力する。アンプ及びスピーカ
14から楽音が発音される。
The D / A converter 13 converts a musical tone input from the DSP 12 from a digital format to an analog format, and outputs it to an amplifier and a speaker 14. A tone is generated from the amplifier and the speaker 14.

【0070】図9は、図8に示す音源LSI10内のア
サイメントメモリ10aの内容を示す図である。垂直方
向に並ぶ数字はアドレスである。000H〜007H番
地には、DCO番号が0のパラメータが記憶され、00
8H〜00FH番地にはDCO番号が1のパラメータが
記憶され、最後に、1F8H〜1FFH番地にはDCO
番号が63のパラメータが記憶される。このように、D
CO番号の順番で、各アドレスに順次記憶されているの
で、単純にアドレスをインクリメントすることにより、
すべてのDCOのパラメータに対してアクセスすること
ができる。
FIG. 9 is a diagram showing the contents of the assignment memory 10a in the sound source LSI 10 shown in FIG. The numbers arranged in the vertical direction are addresses. At addresses 000H to 007H, a parameter having a DCO number of 0 is stored.
A parameter having a DCO number of 1 is stored in addresses 8H to 00FH, and a DCO number is stored in addresses 1F8H to 1FFH.
The parameter with the number 63 is stored. Thus, D
Since the addresses are sequentially stored in the order of the CO number, simply incrementing the address enables
All DCO parameters can be accessed.

【0071】各CDOのパラメータは、例えば、波形ス
タートアドレス、Fナンバ(周波数ナンバ)、フィルタ
パラメータ、エンベロープパラメータ(アタックレベル
及びアタック速度等)、ラウドネス(音量)、パンニン
グ(左右の定位)、Fナンバアキュムレータ(FAC
C)、エンベロープアキュムレータ(EACC)、DC
Oが使用中か否かを示すフラグUSE、系列、補間フラ
グIPF、演算停止フラグ(DCF:Disable
Calculate Flag)等である。
The parameters of each CDO are, for example, waveform start address, F number (frequency number), filter parameter, envelope parameter (attack level and attack speed, etc.), loudness (volume), panning (left and right localization), F number Accumulator (FAC
C), envelope accumulator (EACC), DC
A flag USE indicating whether O is in use, a series, an interpolation flag IPF, and a calculation stop flag (DCF: Disable
Calculate Flag).

【0072】図10は、図8の音源LSI10の構成を
示すブロック図である。Fナンバ補間回路21、フィル
タパラメータ補間回路22、ラウドネス補間回路23、
パンニング補間回路24は、補間フラグIPFが1のと
きに、それぞれアサイメントメモリ10a内のFナン
バ、フィルタパラメータ、ラウドネス、パンニングを補
間し、補間フラグが0のときには補間せずにそのまま出
力する。これらの補間は、前回に発音された音からの急
激な変化を緩和させるために行われる。
FIG. 10 is a block diagram showing the configuration of the sound source LSI 10 of FIG. F number interpolation circuit 21, filter parameter interpolation circuit 22, loudness interpolation circuit 23,
When the interpolation flag IPF is 1, the panning interpolation circuit 24 interpolates the F number, the filter parameter, the loudness, and the panning in the assignment memory 10a, and when the interpolation flag is 0, outputs the data without interpolation. These interpolations are performed to alleviate a sudden change from the sound that was previously generated.

【0073】Fナンバ累算回路25は、Fナンバ補間回
路21から入力したFナンバを累算し、累算値の整数部
を加算器33に出力すると共に、アサイメントメモリ1
0a内のFナンバアキュムレータFACCに記憶する。
加算器33は、累算されたFナンバの整数部とアサイメ
ントメモリ10a内の波形スタートアドレスとを加算
し、波形メモリ9へ出力する。
The F-number accumulating circuit 25 accumulates the F-number input from the F-number interpolating circuit 21 and outputs an integer part of the accumulated value to the adder 33,
Store the F number accumulator FACC in 0a.
The adder 33 adds the accumulated integer part of the F number and the waveform start address in the assignment memory 10a, and outputs the result to the waveform memory 9.

【0074】波形メモリ9は、上記の加算値を基に内部
の波形を読出してサンプル補間回路27に出力する。サ
ンプル補間回路27は、Fナンバ累算回路25から入力
された累算値の小数部を基に、波形メモリ9から読み出
された波形を補間してフィルタ28に出力する。フィル
タ28は、フィルタパラメータ補間回路22から入力す
るフィルタパラメータに応じて、サンプル補間回路27
が出力する波形をフィルタリングする。
The waveform memory 9 reads out the internal waveform based on the above-mentioned added value and outputs it to the sample interpolation circuit 27. The sample interpolation circuit 27 interpolates the waveform read from the waveform memory 9 based on the decimal part of the accumulated value input from the F number accumulation circuit 25 and outputs the interpolated signal to the filter 28. The filter 28 has a function of a sample interpolation circuit 27 according to a filter parameter input from the filter parameter interpolation circuit 22.
Filters the output waveform.

【0075】エンベロープ発生回路26は、アサイメン
トメモリ10aに記憶されているエンベロープパラメー
タを基に、楽音エンベロープを生成し、乗算器29及び
アサイメントメモリ10aのエンベロープアキュムレー
タEACCに出力する。乗算器29は、フィルタ28が
出力する波形とエンベロープ発生回路26が出力するエ
ンベロープとを乗算して出力する。
The envelope generation circuit 26 generates a musical tone envelope based on the envelope parameters stored in the assignment memory 10a, and outputs it to the multiplier 29 and the envelope accumulator EACC of the assignment memory 10a. The multiplier 29 multiplies the waveform output from the filter 28 by the envelope output from the envelope generation circuit 26, and outputs the product.

【0076】乗算器30は、乗算器29が出力する波形
とラウドネス補間回路23が出力するラウドネス値とを
乗算して出力する。乗算器31は、乗算器30が出力す
る波形とパンニング補間回路24が出力するパンニング
値とを乗算して出力する。
The multiplier 30 multiplies the waveform output from the multiplier 29 by the loudness value output from the loudness interpolation circuit 23 and outputs the product. The multiplier 31 multiplies the waveform output from the multiplier 30 by the panning value output from the panning interpolation circuit 24 and outputs the result.

【0077】系列分配及び系列累算回路32は、アサイ
メントメモリ10aに記憶されている系列を基に、乗算
器31が出力する時分割された各楽音発生チャネルの波
形を、各系列に分配して各系列毎に累算し、例えば4つ
の系列の波形をDSP12(図8)へ出力する。例え
ば、楽音発生チャネルは64であり、系列は4である。
The sequence distribution and sequence accumulation circuit 32 distributes, based on the sequences stored in the assignment memory 10a, the time-divided waveforms of the tone generation channels output from the multiplier 31 to the respective sequences. And accumulates for each series, and outputs, for example, four series of waveforms to the DSP 12 (FIG. 8). For example, the number of tone generation channels is 64, and the sequence is 4.

【0078】アサイメントメモリ10a内の演算停止フ
ラグ(DCF)は、各楽音発生チャネル毎に設けられて
いる。キーオン情報が入力されると、パラメータを生成
して楽音発生チャネルが割り当てる。そして、生成した
パラメータをアサイメントメモリ10a内の楽音発生チ
ャネルにセットすると共に、演算停止フラグ(DCF)
をセットして、演算を停止して発音開始を待機させる。
キーオン情報の入力から所定時間(6ms)が経過する
と、演算停止フラグ(DCF)がクリアされ、発音が開
始される。
The operation stop flag (DCF) in the assignment memory 10a is provided for each tone generating channel. When the key-on information is input, a parameter is generated and a tone generation channel is allocated. Then, the generated parameter is set in the tone generation channel in the assignment memory 10a, and a calculation stop flag (DCF) is set.
To stop the calculation and wait for the sound to start.
After a lapse of a predetermined time (6 ms) from the input of the key-on information, the computation stop flag (DCF) is cleared and sound generation is started.

【0079】具体的には、演算停止フラグ(DCF)が
セットされると、演算停止フラグ(DCF)の値がエン
ベロープ発生回路26及びFナンバ累算回路25に供給
される。すると、エンベロープ発生回路26はエンベロ
ープ値を0にして出力し、Fナンバ累算回路25もFナ
ンバを0にして出力する。エンベロープ値を0にするこ
とにより楽音は発生されず、Fナンバを0にすることの
より発音開始が待たされる。次に、演算停止フラグ(D
CF)をクリアすると、エンベロープ発生回路26及び
Fナンバ累算回路25はそれぞれ通常のエンベロープ及
びFナンバの生成及び出力を開始する。つまり、楽音の
発生開始が指示されることになる。
Specifically, when the operation stop flag (DCF) is set, the value of the operation stop flag (DCF) is supplied to the envelope generation circuit 26 and the F number accumulation circuit 25. Then, the envelope generation circuit 26 sets the envelope value to 0 and outputs the same, and the F number accumulation circuit 25 also sets the F number to 0 and outputs the same. By setting the envelope value to 0, no musical tone is generated, and by setting the F number to 0, the start of sound generation is awaited. Next, the operation stop flag (D
When (CF) is cleared, the envelope generation circuit 26 and the F number accumulation circuit 25 start generating and outputting the normal envelope and F number, respectively. That is, the start of generation of a musical tone is instructed.

【0080】共通演算開始フラグ(CDCF)10bが
セットされると、アサイメントメモリ10a内の全楽音
発生チャネルの演算停止フラグ(DCF)がクリアさ
れ、すべての楽音の発生が開始される。
When the common operation start flag (CDCF) 10b is set, the operation stop flags (DCF) of all tone generation channels in the assignment memory 10a are cleared, and generation of all tones is started.

【0081】図11は、CPUが行うメインルーチンの
フローチャートである。電源がオンされると、ステップ
SA1にてレジスタへのセットや割り込み許可等の初期
化処理を行う。
FIG. 11 is a flowchart of a main routine executed by the CPU. When the power is turned on, initialization processing such as setting to a register and permitting an interrupt is performed in step SA1.

【0082】ステップSA2では、パネル6(図8)を
スキャンし、演奏者のパネル操作により発生したイベン
トを検出し、ステータス(操作種類)や系列のデータを
付加してパネルイベントバッファへ記憶する。
At step SA2, the panel 6 (FIG. 8) is scanned, an event generated by the player's operation of the panel is detected, and status (operation type) and sequence data are added and stored in the panel event buffer.

【0083】ステップSA3では、上記のパネルスキャ
ンにより発生したイベントのうち、ボリューム等のアナ
ログ的に処理されるアナログ操作子によるイベントは、
ステータスや系列のデータを付加してアナログイベント
バッファへ記憶する。
In step SA3, of the events generated by the above-described panel scan, an event by an analog operator, such as a volume, which is processed in an analog manner,
Status and sequence data are added and stored in the analog event buffer.

【0084】ステップSA4では、鍵盤7(図8)をキ
ースキャンして、演奏者のキー操作により発生したイベ
ントを検出し、ステータス(キーオン/キーオフ)やベ
ロシティや系列のデータを付加してキーイベントバッフ
ァへ記憶する。
At step SA4, the keyboard 7 (FIG. 8) is key-scanned to detect an event generated by a player's key operation, and to add a status (key-on / key-off), velocity and sequence data to the key event. Store in buffer.

【0085】ステップSA5では、自動演奏が指示され
ているか否かを判断する。自動演奏が指示されていると
きには、ステップSA6にて自動演奏の再生処理を行っ
て、ステップSA7へ進む。自動演奏が指示されていな
いときには、そのままステップSA7へ進む。なお、ス
テップSA6の詳細は、後に図12及び図13のフロー
チャートを参照しながら説明する。
At Step SA5, it is determined whether or not an automatic performance is instructed. When the automatic performance is instructed, the reproduction processing of the automatic performance is performed in step SA6, and the process proceeds to step SA7. When the automatic performance has not been instructed, the process directly proceeds to step SA7. The details of step SA6 will be described later with reference to the flowcharts of FIGS.

【0086】ステップSA7では、パネルイベント処理
を行う。この処理の詳細は、後に図14のフローチャー
トを参照しながら説明する。
At step SA7, panel event processing is performed. Details of this processing will be described later with reference to the flowchart of FIG.

【0087】ステップSA8では、キーイベント処理を
行う。この処理の詳細は、後に図16、図17及び図1
8のフローチャートを参照しながら説明する。
At step SA8, key event processing is performed. Details of this processing will be described later with reference to FIGS.
This will be described with reference to the flowchart of FIG.

【0088】ステップSA9では、アナログイベント処
理を行う。この処理の詳細は、後に図15のフローチャ
ートを参照しながら説明する。
At Step SA9, analog event processing is performed. Details of this processing will be described later with reference to the flowchart of FIG.

【0089】ステップSA10では、キーオフかつフラ
グUSEが1であるDCO(楽音発生チャネル)に関
し、エンベロープアキュムレータ(EACC)の上位1
0ビットが0か否かを調べ、0ならばそのDCOのフラ
グUSEを0にする。すなわち、エンベロープ値が0に
近いものについては、フラグUSEを0にすることによ
りそのDCOに新たなキーオンを割り当ることができる
ようにする。
At step SA10, the upper one of the envelope accumulators (EACC) for the DCO (tone generating channel) whose key is OFF and whose flag USE is 1 is set.
It is checked whether the 0 bit is 0 or not. If it is 0, the flag USE of the DCO is set to 0. That is, when the envelope value is close to 0, a new key-on can be allocated to the DCO by setting the flag USE to 0.

【0090】ステップSA11では、その他の処理を行
い、ステップSA2へ戻り、上記の処理を繰り返す。
In step SA11, other processing is performed, and the flow returns to step SA2 to repeat the above processing.

【0091】図12は、図11のステップSA6に示す
自動演奏再生処理の詳細を示すフローチャートである。
FIG. 12 is a flowchart showing the details of the automatic performance reproduction process shown in step SA6 of FIG.

【0092】ステップSB1では、フラグwaitBA
Rが0か否かをチェックする。フラグwaitBAR
は、バー(小節)メッセージが読み出されると、現在、
小節の処理中であることを示すために1になり、その後
に図20に示すタイマー割り込みにより0にクリアされ
る。フラグwaitBARが1のときには、何もせずに
処理を終了する。フラグwaitBARが0のときに
は、ステップSB2へ進む。
In step SB1, the flag waitBA
Check whether R is 0 or not. Flag waitBAR
Means that when a bar message is read,
It is set to 1 to indicate that the bar is being processed, and then cleared to 0 by a timer interrupt shown in FIG. When the flag waitBAR is 1, the process ends without doing anything. When the flag waitBAR is 0, the process proceeds to Step SB2.

【0093】ステップSB2では、次に読み出すメッセ
ージが系列メッセージ(図5(A))又はシステムメッ
セージ(図5(B))のいずれであるかをチェックす
る。系列メッセージであるときにはステップSB3へ進
み、システムメッセージであるときには図13のステッ
プSB13へ進む。
At step SB2, it is checked whether the next message to be read is a series message (FIG. 5A) or a system message (FIG. 5B). When the message is a series message, the process proceeds to step SB3, and when the message is a system message, the process proceeds to step SB13 in FIG.

【0094】ステップSB3では、自動演奏読み出しポ
インタの示すメッセージ中のステップタイムのみを読み
出す。
In step SB3, only the step time in the message indicated by the automatic performance read pointer is read.

【0095】ステップSB4では、レジスタBeatが
上記で読み出したステップタイム以上であるか否かをチ
ェックする。レジスタBeatは、図20のタイマ割り
込みによりカウントされる現在のビート数である。レジ
スタBeatがステップタイム未満であるときには未だ
処理タイミングに到達していないので、処理を終了す
る。レジスタBeatがステップタイム以上であるとき
には処理タイミングに到達したことを意味するので、ス
テップSB5へ進む。
At Step SB4, it is checked whether or not the register Beat is equal to or longer than the step time read as described above. The register Beat is the current number of beats counted by the timer interrupt in FIG. When the value of the register Beat is less than the step time, the processing ends because the processing timing has not yet been reached. If the value of the register Beat is equal to or longer than the step time, it means that the processing timing has been reached, and the process proceeds to step SB5.

【0096】ステップSB5では、自動演奏読み出しポ
インタの示すメッセージを読み出し、ステップSB6で
は、自動演奏読み出しポインタを次のメッセージの位置
に進める。
At step SB5, the message indicated by the automatic performance read pointer is read, and at step SB6, the automatic performance read pointer is advanced to the position of the next message.

【0097】ステップSB7では、読み出したメッセー
ジがプログラムチェンジ又はコントロールチェンジであ
るか否かをチェックする。プログラムチェンジ又はコン
トロールチェンジであるときには、ステップSB8へ進
む。プログラムチェンジ又はコントロールチェンジでな
いときには、ステップSB9へ進む。
At step SB7, it is checked whether the read message is a program change or a control change. If it is a program change or a control change, the process proceeds to step SB8. If it is not a program change or a control change, the process proceeds to step SB9.

【0098】ステップSB8では、読み出したメッセー
ジからステップタイムを削除してパネルイベントバッフ
ァへ記憶し、ステップSB1へ戻る。
At step SB8, the step time is deleted from the read message and stored in the panel event buffer, and the process returns to step SB1.

【0099】ステップSB9では、読み出したメッセー
ジがキーオン又はキーオフであるか否かをチェックす
る。キーオン又はキーオフであるときには、ステップS
B10へ進む。キーオン又はキーオフでないときには、
図13のステップSB11へ進む。
In step SB9, it is checked whether the read message is key-on or key-off. If the key is on or off, step S
Proceed to B10. When not key-on or key-off,
Proceed to step SB11 in FIG.

【0100】ステップSB10では、読み出したメッセ
ージからステップタイムを削除してキーイベントバッフ
ァへ記憶し、ステップSB1へ戻る。
At step SB10, the step time is deleted from the read message and stored in the key event buffer, and the process returns to step SB1.

【0101】図13のステップSB11では、読み出し
たメッセージがキープレッシャ、チャネルプレッシャ又
はピッチベンドであるか否かをチェックする。上記のメ
ッセージに該当するときにはステップSB12へ進み、
該当しないときにはステップSB22へ進む。
In step SB11 in FIG. 13, it is checked whether the read message is a key pressure, a channel pressure or a pitch bend. When the above message is satisfied, the process proceeds to step SB12,
If not, the process proceeds to Step SB22.

【0102】ステップSB12では、読み出したメッセ
ージからステップタイムを削除してアナログイベントバ
ッファへ記憶し、図12のステップSB1へ戻る。
At step SB12, the step time is deleted from the read message and stored in the analog event buffer, and the process returns to step SB1 of FIG.

【0103】ステップSB22では、その他の系列メッ
セージの処理を行い、図12のステップSB1へ戻る。
At step SB22, other series messages are processed, and the process returns to step SB1 of FIG.

【0104】ステップSB13は、システムメッセージ
のときの処理であり、自動演奏読み出しポインタが示す
メッセージがバーメッセージであるか否かをチェックす
る。バーメッセージであるときにはステップSB14へ
進み、バーメッセージでないときにはステップSB16
へ進む。
Step SB13 is a process for a system message. It is checked whether or not the message indicated by the automatic performance read pointer is a bar message. When the message is a bar message, the process proceeds to step SB14. When the message is not a bar message, the process proceeds to step SB16.
Proceed to.

【0105】ステップSB14では、バーメッセージに
応じてフラグwaitBARを1にし、ステップSB1
5で自動演奏読み出しポインタを次のメッセージ位置に
進め、処理を終了する。
At step SB14, the flag waitBAR is set to 1 according to the bar message, and at step SB1
In step 5, the automatic performance read pointer is advanced to the next message position, and the process is terminated.

【0106】ステップSB16では、自動演奏読み出し
ポインタが示すメッセージが自動演奏スタートメッセー
ジであるか否かをチェックする。自動演奏スタートメッ
セージであるときにはステップSB17へ進み、自動演
奏スタートメッセージでないときにはステップSB19
へ進む。
In step SB16, it is checked whether or not the message indicated by the automatic performance read pointer is an automatic performance start message. If the message is an automatic performance start message, the process proceeds to step SB17. If the message is not an automatic performance start message, the process proceeds to step SB19.
Proceed to.

【0107】ステップSB17では、フラグSEQ_P
LYを1にし、ステップSB18で自動演奏読み出しポ
インタを次のメッセージ位置に進め、図12のステップ
SB1へ戻る。
At Step SB17, the flag SEQ_P
LY is set to 1, the automatic performance read pointer is advanced to the next message position in step SB18, and the process returns to step SB1 in FIG.

【0108】ステップSB19では、自動演奏読み出し
ポインタが示すメッセージが自動演奏ストップメッセー
ジであるか否かをチェックする。自動演奏ストップメッ
セージであるときにはステップSB20へ進み、自動演
奏ストップメッセージでないときにはステップSB23
へ進む。
At step SB19, it is checked whether or not the message indicated by the automatic performance read pointer is an automatic performance stop message. If the message is not an automatic performance stop message, the process proceeds to step SB20. If the message is not an automatic performance stop message, the process proceeds to step SB23.
Proceed to.

【0109】ステップSB20では、フラグSEQ_P
LYを0にし、ステップSB21で自動演奏データのキ
ーオンとして発音中のDCOはすべてエンベロープをリ
リースモード(消音処理モード)に置き換える。その
後、処理を終了する。
At step SB20, the flag SEQ_P
LY is set to 0, and in step SB21, all the DCOs that are sounding as the key-on of the automatic performance data replace the envelope with the release mode (silence processing mode). After that, the process ends.

【0110】ステップSB23では、その他のシステム
メッセージの処理を行い、処理を終了する。
At step SB23, other system messages are processed, and the process ends.

【0111】図14は、図11のステップSA7に示す
パネルイベント処理の詳細を示すフローチャートであ
る。
FIG. 14 is a flowchart showing details of the panel event process shown in step SA7 of FIG.

【0112】ステップSC1では、パネルイベントバッ
ファは空か否かをチェックする。空のときには処理を終
了し、空でないときにはステップSC2へ進む。
At step SC1, it is checked whether or not the panel event buffer is empty. If it is empty, the process ends. If it is not empty, the process proceeds to step SC2.

【0113】ステップSC2では、パネルイベントバッ
ファから1イベントを読み出し、ステップSC3では、
読み出したイベントがプログラムチェンジか否かをチェ
ックする。プログラムチェンジのときにはステップSC
4へ進み、プログラムチェンジでないときにはステップ
SC5へ進む。
In step SC2, one event is read from the panel event buffer, and in step SC3,
Check whether the read event is a program change. Step SC when program change
The process proceeds to step SC5, and if not a program change, the process proceeds to step SC5.

【0114】ステップSC4では、対応する系列の音色
切り換え準備を行う。すなわち、現在、その系列で発音
中のものはそのままの音色で発音を続け、次に新規なキ
ーオンが発生したときから対応する系列の音色を切り換
えて発音する。その後、ステップSC1へ戻る。
In step SC4, a preparation for switching the timbre of the corresponding sequence is made. That is, the tone currently being produced in the series continues to be produced in the same tone color, and the tone of the corresponding series is switched and produced after the next occurrence of a new key-on. Thereafter, the process returns to step SC1.

【0115】ステップSC5では、読み出したイベント
がコントロールチェンジか否かをチェックする。コント
ロールチェンジのときにはステップSC6へ進み、コン
トロールチェンジでないときにはステップSC7へ進
む。
At step SC5, it is checked whether or not the read event is a control change. If it is a control change, the process proceeds to step SC6. If it is not a control change, the process proceeds to step SC7.

【0116】ステップSC6では、コントロールチェン
ジ情報に基づき対応する系列の音質、音高、パンニン
グ、リバーブ(リバーブはDSPプログラムと係数に関
するもの)等を制御する。その後、ステップSC1へ戻
る。
At step SC6, the sound quality, pitch, panning, reverb (reverb relates to the DSP program and the coefficient) of the corresponding sequence are controlled based on the control change information. Thereafter, the process returns to step SC1.

【0117】ステップSC7では、その他のイベントの
処理を行い、ステップSC1へ戻る。その後、パネルイ
ベントバッファが空になるまで、上記の処理を繰り返
す。
At step SC7, other events are processed, and the process returns to step SC1. Thereafter, the above processing is repeated until the panel event buffer becomes empty.

【0118】図15は、図11のステップSA9に示す
アナログイベント処理の詳細を示すフローチャートであ
る。アナログイベントは、例えば、ボリューム(音量制
御)、アフタータッチ(音量及び/又は音色制御)、ベ
ンダー(音高及び/又は音色制御)である。
FIG. 15 is a flowchart showing details of the analog event processing shown in step SA9 of FIG. Analog events are, for example, volume (volume control), aftertouch (volume and / or timbre control), and vendor (pitch and / or timbre control).

【0119】ステップSE1では、アナログイベントバ
ッファが空か否かをチェックする。空のときには処理を
終了し、空でないときにはステップSE2へ進む。
In step SE1, it is checked whether the analog event buffer is empty. If it is empty, the process ends. If it is not empty, the process proceeds to step SE2.

【0120】ステップSE2では、アナログイベントバ
ッファから1イベントを読み出す。ステップSE3で
は、アナログイベント情報を、アサイメントメモリにセ
ットするためのパラメータに変換する。
In step SE2, one event is read from the analog event buffer. In step SE3, the analog event information is converted into parameters for setting in the assignment memory.

【0121】ステップSE4では、対応する系列が割り
当てられたアサイメントメモリの各DCOに関し、補間
フラグIPFを1にする。アナログイベントに関して
は、パラメータを補間することにより、パラメータの急
激な変化を緩和させることが好ましい。
At step SE4, the interpolation flag IPF is set to 1 for each DCO in the assignment memory to which the corresponding sequence is assigned. Regarding analog events, it is preferable to reduce sudden changes in parameters by interpolating the parameters.

【0122】ステップSE5では、対応する系列が割り
当てられたアサイメントメモリの各DCOに関し、上記
の新パラメータをセットする。その後、ステップSE1
に戻り、上記の処理を繰り返し、アナログイベントバッ
ファが空になると処理を終了する。
At step SE5, the above-mentioned new parameters are set for each DCO of the assignment memory to which the corresponding sequence is assigned. Then, step SE1
And the above processing is repeated. When the analog event buffer becomes empty, the processing is terminated.

【0123】図16は、図11のステップSA8に示す
キーイベント処理の詳細を示すフローチャートである。
FIG. 16 is a flowchart showing details of the key event processing shown in step SA8 of FIG.

【0124】ステップSD1では、キーイベントバッフ
ァが空か否かをチェックする。空でないときには、ステ
ップSD2へ進む。
At step SD1, it is checked whether or not the key event buffer is empty. If not empty, proceed to step SD2.

【0125】ステップSD2では、キーイベントバッフ
ァから1イベントを読み出し、ステップSD3では、読
み出したイベントがキーオフイベントか否かをチェック
する。キーオフイベントでないときには、キーオンイベ
ントであり、ステップSD8へ進む。
At step SD2, one event is read from the key event buffer. At step SD3, it is checked whether the read event is a key-off event. If it is not a key-off event, it is a key-on event, and the flow advances to step SD8.

【0126】ステップSD8では、TIMER1がカウ
ント中か否かをチェックする。TIMER1は、キーオ
ン情報の入力から6ms後に割り込み信号を発生するタ
イマーであり、図19(A)、(B)で処理される。カ
ウント中でないときにはTIMER1に所定時間(6m
s)をセットして、TIMER1にダウンカウントを開
始させ、ステップSD10へ進む。カウント中であると
きには、ステップSD9をバイパスしてステップSD1
0へ進む。すなわち、複数のキーオンイベントが入力さ
れたときには、最初のキーオンイベントの入力時から所
定時間(6ms)の計測を行う。
At step SD8, it is checked whether or not TIMER1 is counting. TIMER1 is a timer that generates an interrupt signal 6 ms after the input of the key-on information, and is processed in FIGS. 19A and 19B. When counting is not in progress, TIMER1 is kept for a predetermined time (6 m
s) is set, TIMER1 is started to count down, and the flow advances to step SD10. If counting is in progress, step SD9 is bypassed and step SD1 is skipped.
Go to 0. That is, when a plurality of key-on events are input, measurement is performed for a predetermined time (6 ms) from the time when the first key-on event is input.

【0127】ステップSD10では、対応する系列にセ
ットされた音色のアタックスピード(速度)を付加して
割当優先バッファへ格納する。なお、音色が1キーオン
当たり2DCOを使用するときには、DCO単位に分解
して格納する。その後、ステップSD1へ戻る。
In step SD10, the attack speed (speed) of the tone set in the corresponding series is added and stored in the allocation priority buffer. When a tone uses 2 DCOs per key-on, the tone is decomposed and stored in DCO units. Thereafter, the process returns to step SD1.

【0128】ステップSD3にてキーオフイベントであ
ると判断されると、ステップSD4へ進む。
If it is determined in step SD3 that the event is a key-off event, the flow advances to step SD4.

【0129】ステップSD4では、対応するDCOは既
に発音中であるか否かをチェックする。発音中であると
きには、通常のキーオフの処理を行うため、ステップS
D7へ進む。
At step SD4, it is checked whether or not the corresponding DCO is already producing sound. When the sound is being produced, step S is performed to perform the normal key-off process.
Proceed to D7.

【0130】ステップSD7では、対応するDCOのエ
ンベロープパラメータをキーオフ用リリースパラメータ
としてセットし、消音処理を行う。その後、ステップS
D1へ戻る。
At step SD7, the envelope parameter of the corresponding DCO is set as a key-off release parameter, and a mute process is performed. Then, step S
Return to D1.

【0131】ステップSD4で発音中でないと判断され
たときには、ステップSD5へ進み、割り当てられてい
るが発音開始前であるか否かをチェックする。割り当て
られているときには、ステップSD6で対応するDCO
のフラグUSE及び演算停止フラグDCFを0にクリア
し、ステップSD1へ戻る。割り当てられていないとき
にはステップSD6をバイパスしてステップSD1へ戻
る。
If it is determined in step SD4 that the sound is not being generated, the flow advances to step SD5 to check whether or not the sound is allocated but before the sound is started. If it has been assigned, the corresponding DCO
Clear the flag USE and the computation stop flag DCF to 0, and return to step SD1. If not, step SD6 is bypassed and the process returns to step SD1.

【0132】ステップSD1にてキーイベントバッファ
が空であると判断されたときには、ステップSD11へ
進む。
If it is determined in step SD1 that the key event buffer is empty, the flow advances to step SD11.

【0133】ステップSD11では、フラグOVERが
1か否かをチェックする。フラグOVERは、同時発音
処理可能な最大DCO数(6DCO)を超えた数のキー
オンが割当優先バッファに蓄積されたときに1になる。
フラグOVERが0のときには、図17のステップSD
13へ進み、フラグOVERが1のときには図18のス
テップSD17へ進む。
At step SD11, it is checked whether or not the flag OVER is "1". The flag OVER becomes 1 when the number of key-ons exceeding the maximum number of DCOs (6 DCOs) capable of simultaneous sound generation is accumulated in the allocation priority buffer.
When the flag OVER is 0, step SD in FIG.
13 and when the flag OVER is 1, the process proceeds to step SD17 in FIG.

【0134】図17のステップSD13では、割当優先
バッファが空か否かをチェックする。空でないときには
ステップSD14へ進み、空であるときには処理を終了
する。
At step SD13 in FIG. 17, it is checked whether or not the allocation priority buffer is empty. If it is not empty, the process proceeds to step SD14, and if it is empty, the process ends.

【0135】ステップSD14では、エンベロープのア
タックスピードが速い音色のキーオン情報から順に優先
して音源LSIのDCO割り当て、及び各種パラメータ
の作成演算を行い、その結果を対応するアサイメントメ
モリにセットする。なお、アサイメントメモリが空いて
いない場合は所定の優先順位に従って、特定DCOをト
ランケート処理(キーオフ及び高速リリース)する。次
に、割り当てているDCO数をレジスタwaitDCO
へ格納する。次に、割り当ての終了したキーオンイベン
トを割当優先バッファから削除する。次に、割り当てた
DCOは、すべて、フラグUSEを1にし、補間フラグ
IPFを0にし、演算停止フラグDCFを1にする。演
算停止フラグDCFを1にすることにより、発音のため
の演算を開始せずに待機状態になる。その後、ステップ
SD15へ進む。
In step SD14, the DCO assignment of the sound source LSI and the calculation of various parameters are performed with priority given to the key-on information of the tone having the fastest attack speed of the envelope, and the result is set in the corresponding assignment memory. If the assignment memory is not empty, a specific DCO is truncated (key-off and high-speed release) according to a predetermined priority. Next, the number of assigned DCOs is stored in the register waitDCO.
To store. Next, the key-on event for which the assignment has been completed is deleted from the assignment priority buffer. Next, all the assigned DCOs set the flag USE to 1, the interpolation flag IPF to 0, and the calculation stop flag DCF to 1. By setting the computation stop flag DCF to 1, the apparatus enters a standby state without starting computation for sound generation. Thereafter, the process proceeds to Step SD15.

【0136】ステップSD15では、発音待機中のDC
O数を示すレジスタwaitDCOが6以下であるか否
かをチェックする。レジスタwaitDCOが6以下で
あるときにはステップSD13へ戻り、上記の処理を繰
り返す。レジスタwaitDCOが6を超えているとき
には、ステップSD16へ進む。ステップSD16で
は、フラグOVERを1にし、処理を終了する。
In step SD15, the DC in the standby state for sound generation is determined.
It is checked whether or not the register waitDCO indicating the number of O is 6 or less. When the value of the register waitDCO is equal to or smaller than 6, the process returns to step SD13 to repeat the above processing. When the value of the register waitDCO exceeds 6, the process proceeds to Step SD16. In step SD16, the flag OVER is set to 1, and the process is terminated.

【0137】図18のステップSD17は、フラグOV
ERが1になり、同時発音可能なDCO数を越えたキー
オン数が割り当てられたときに、現在割り当てられてい
るDDCOの発音を開始するための処理であり、割当優
先バッファが空か否かをチェックする。割当優先バッフ
ァが空でないときには、ステップSD18へ進む。
The step SD17 in FIG.
When ER is set to 1 and a key-on number exceeding the number of DCOs that can be simultaneously sounded is assigned, this is a process for starting sounding of the currently assigned DDCO. It is determined whether or not the assignment priority buffer is empty. To check. If the allocation priority buffer is not empty, the process proceeds to step SD18.

【0138】ステップSD18では、割当優先バッファ
から1DCOのイベントを読み出す。ステップSD19
では、エンベロープのアタックスピードが速い音色のキ
ーオン情報から順に優先して音源LSIのDCO割り当
て、及び各種パラメータの作成演算を行い、その結果を
対応するアサイメントメモリにセットする。なお、アサ
イメントメモリが空いていない場合は、所定の優先順位
に従って、特定DCOをトランケート処理(キーオフ及
び高速リリース処理)する。次に、割り当てが終了した
キーオンイベントを割当優先バッファから削除する。次
に、割り当てたDCOは、すべて、フラグUSEを1に
し、補間フラグIPFを0にし、演算停止フラグDCF
を0にする。演算停止フラグDCFを0にすることによ
り、発音演算開始が指示され、即、発音が開始される。
なお、ステレオ音の場合は左音(L音)と右音(R音)
を連続して読み出し、同時に発音開始を指示する。
At step SD18, an event of 1DCO is read from the allocation priority buffer. Step SD19
In this example, the DCO assignment of the sound source LSI and the calculation of various parameters are performed with priority given to the key-on information of the timbre having the fast attack speed of the envelope, and the result is set in the corresponding assignment memory. If the assignment memory is not empty, a specific DCO is truncated (key-off and high-speed release processing) according to a predetermined priority. Next, the key-on event for which the assignment has been completed is deleted from the assignment priority buffer. Next, all the assigned DCOs set the flag USE to 1, set the interpolation flag IPF to 0, and set the operation stop flag DCF
To 0. By setting the operation stop flag DCF to 0, the start of sounding operation is instructed, and sounding is started immediately.
In the case of stereo sound, left sound (L sound) and right sound (R sound)
Are successively read, and at the same time, an instruction to start sounding is issued.

【0139】ステップSD20では、割当優先バッファ
が空か否かをチェックする。割当優先バッファが空でな
いときにはステップSD18へ戻り、割当優先バッファ
が空であるときには処理を終了する。
At step SD20, it is checked whether or not the allocation priority buffer is empty. When the allocation priority buffer is not empty, the process returns to step SD18, and when the allocation priority buffer is empty, the process ends.

【0140】ステップSD17にて割当優先バッファが
空であるときには、ステップSD21へ進む。ステップ
SD21では、フラグOVERを0にして、処理を終了
する。
If the allocation priority buffer is empty in step SD17, the flow advances to step SD21. In step SD21, the flag OVER is set to 0, and the process ends.

【0141】図19(A)は、第1のタイマー(TIM
ER1)の第1の割り込み処理例を示すフローチャート
である。第1のタイマーは、図16のステップSD9で
6msがセットされると、ダウンカウントを開始し、6
ms後に割り込み信号をCPUに供給する。CPUは、
その割り込み信号を受けると、以下の処理を行う。
FIG. 19A shows a first timer (TIM).
It is a flowchart which shows the 1st interruption processing example of ER1). The first timer starts counting down when 6 ms is set in step SD9 in FIG.
After ms, the interrupt signal is supplied to the CPU. The CPU
Upon receiving the interrupt signal, the following processing is performed.

【0142】まず、ステップSF1では、待機中のDC
O数を示すレジスタwaitDCOに0をセットする。
次に、ステップSF2では、音源LSIの共通演算開始
フラグCDCFに1をセットする。共通演算開始フラグ
CDCFに1をセットすると、音源LSIは、全DCO
の演算停止フラグDCFを0にクリアする。すると、全
DCOの演算停止が解除され、割り当てられているDC
Oの発音開始が指示される。すなわち、キーオン情報の
入力から所定時間(6ms)経過後に発音開始が指示さ
れる。複数の楽音のキーオン情報が入力されたときに
は、最初のキーオン情報の入力から所定時間経過後に発
音開始が指示される。そして、最後に、音源LSIは、
共通演算開始フラグCDCFを0にクリアする。
First, in step SF1, the standby DC
0 is set in a register waitDCO indicating the number of Os.
Next, in step SF2, 1 is set to a common operation start flag CDCF of the sound source LSI. When the common operation start flag CDCF is set to 1, the sound source LSI
Is cleared to 0. Then, all the DCOs are released from the operation suspension, and the assigned DC
The start of O sound generation is instructed. That is, the sound generation start is instructed after a lapse of a predetermined time (6 ms) from the input of key-on information. When key-on information of a plurality of musical tones is input, the start of sound generation is instructed after a lapse of a predetermined time from the input of the first key-on information. And finally, the sound source LSI is
The common operation start flag CDCF is cleared to 0.

【0143】図19(B)は、第1のタイマー(TIM
ER1)の第2の割り込み処理例を示すフローチャート
である。上記の第1の割り込み処理例では、共通演算開
始フラグCDCFに1がセットされると音源LSIが全
DCOの演算停止フラグDCFを0にクリアする場合を
説明したが、第2の割り込み処理例では、CPUが直接
音源LSIの全DCOの演算停止フラグDCFを0にク
リアする場合を説明する。第1の割り込み処理例と同様
に、CPUは上記の割り込み信号を受けると、以下の処
理を行う。
FIG. 19B shows a first timer (TIM)
It is a flowchart which shows the 2nd interruption processing example of ER1). In the above-described first interrupt processing example, the case where the sound source LSI clears the calculation stop flags DCF of all the DCOs to 0 when the common calculation start flag CDCF is set to 1 has been described. However, in the second interrupt processing example, The case where the CPU directly clears the operation stop flags DCF of all DCOs of the sound source LSI to 0 will be described. As in the first interrupt processing example, when the CPU receives the above-described interrupt signal, the CPU performs the following processing.

【0144】まず、ステップSG1では、待機中のDC
O数を示すレジスタwaitDCOに0をセットする。
次に、ステップSG2では、割り込み不可(DI:Di
sable Interrupt)の状態にする。次
に、ステップSG2では、音源LSIの各DCOの演算
停止フラグDCFを順に0にクリアする。次に、ステッ
プSG4では、割り込み可(EI:Enable In
terrupt)の状態にし、処理を終了する。
First, at step SG1, the standby DC
0 is set in a register waitDCO indicating the number of Os.
Next, in step SG2, interrupts are disabled (DI: Di
(sable interrupt). Next, in step SG2, the calculation stop flag DCF of each DCO of the sound source LSI is cleared to 0 in order. Next, in step SG4, an interrupt is enabled (EI: Enable In).
(Terrupt) state, and the process ends.

【0145】第1の割り込み処理例では、音源LSIが
共通演算開始フラグCDCFに応じて全DCOの演算停
止フラグDCFをクリアするための回路が必要になり、
音源LSIのコストが増加してしまう。音源LSIのコ
ストを下げたい場合には、第2の割り込み処理例のよう
に、CPUが直接演算停止フラグDCFをクリアするよ
うにすればよい。
In the first interrupt processing example, a circuit is required for the tone generator LSI to clear the operation stop flags DCF of all DCOs in accordance with the common operation start flag CDCF.
The cost of the sound source LSI increases. If it is desired to reduce the cost of the sound source LSI, the CPU may directly clear the computation stop flag DCF as in the second interrupt processing example.

【0146】図20は、第2のタイマー(TIMER
2)の割り込み処理例を示すフローチャートである。第
2のタイマーは、図12のステップSB1で使用するビ
ートレジスタBeatをカウント等するためのテンポタ
イマーであり、例えば4分音符長の1/24の間隔で割
り込み信号をCPUに供給する。CPUは、その割り込
み信号を受けると、以下の処理を行う。
FIG. 20 shows a second timer (TIMER).
It is a flowchart which shows the interruption process example of 2). The second timer is a tempo timer for counting the beat register Beat used in step SB1 in FIG. 12, and supplies an interrupt signal to the CPU at intervals of, for example, 1/24 of a quarter note length. Upon receiving the interrupt signal, the CPU performs the following processing.

【0147】ステップSH1では、ビートレジスタBe
atの値をインクリメントする。次に、ステップSH2
では、ビートレジスタBeatの値が24×4以上であ
るか否かをチェックする。すなわち、割り込み間隔が4
分音符長の1/24であってかつ4/4拍子の場合は、
ビートレジスタBeatの値が24×4のときに1小節
の長さを意味するので、ビートレジスタBeatの値が
24×4未満のときには処理を終了し、24×4以上の
ときにはステップSH3へ進む。
At step SH1, the beat register Be
Increment the value of at. Next, step SH2
Then, it is checked whether or not the value of the beat register Beat is 24 × 4 or more. That is, the interrupt interval is 4
In the case of 1 / 24th of the note length and 4/4 time signature,
When the value of the beat register Beat is 24 × 4, which means the length of one bar, the process ends when the value of the beat register Beat is less than 24 × 4, and proceeds to step SH3 when the value of the beat register Beat is 24 × 4 or more.

【0148】ステップSH3では、小節レジスタBAR
をインクリメントする。次に、ステップSH4でレジス
タwaitBARを0にし、ステップSH5でビートレ
ジスタBeatを0にする。その後、処理を終了する。
At step SH3, the bar register BAR
Is incremented. Next, the register waitBAR is set to 0 in step SH4, and the beat register Beat is set to 0 in step SH5. After that, the process ends.

【0149】本実施例によれば、発音に必要なパラメー
タを音源にセットした後に直ぐに発音を開始させるので
はなく、各DCOの演算停止フラグDCFに1をセット
してキーオン情報の入力から所定時間が経過するまで待
って、複数の楽音についてのパラメータが音源にセット
されたところで、各DCOの演算停止フラグDCFを0
にクリアすることにより音源に発音開始を指示するの
で、複数の楽音を同時に又は短時間で発音させることが
できる。
According to this embodiment, the sound generation is not started immediately after the parameters required for sound generation are set in the sound source, but instead, the calculation stop flag DCF of each DCO is set to 1 and the predetermined time from the input of the key-on information is set. When the parameters for a plurality of musical tones are set in the tone generator, the calculation stop flag DCF of each DCO is set to 0.
By instructing the sound source to start sounding by clearing the tone, a plurality of musical tones can be sounded simultaneously or in a short time.

【0150】また、同時に発音すべき複数の楽音を発音
させる際に、音色、ベロシティ、音高、音量又は楽音エ
ンベロープのアタック速度に応じて所定の優先順位を付
けて発音処理を行うので、同時に発音すべき複数の楽音
が同時に又は短時間の間に発音されたかのように聴取者
に感じさせることができる。
When a plurality of musical tones to be produced simultaneously are to be produced, a predetermined priority order is assigned according to the timbre, velocity, pitch, volume or attack speed of the musical tone envelope, so that the sound production process is performed simultaneously. The listener can be made to feel as if a plurality of tones to be played were produced simultaneously or in a short time.

【0151】上記実施例の機能を実現するためのソフト
ウェアのプログラムコードを供給し、電子楽音発生装置
のコンピュータ(CPUあるいはMPU)に格納された
プログラムに従って動作させることによっても実施する
ことができる。
The present invention can also be implemented by supplying a program code of software for realizing the functions of the above embodiment and operating it according to a program stored in a computer (CPU or MPU) of the electronic musical sound generating apparatus.

【0152】この場合、上記ソフトウェアのプログラム
コード自体が上述した実施例の機能を実現することにな
り、そのプログラムコード自体、およびそのプログラム
コードをコンピュータに供給するための手段、例えばか
かるプログラムコードを格納した記録媒体は本発明を構
成する。かかるプログラムコードを記憶する記録媒体と
しては、例えばフロッピー(登録商標)ディスク、ハー
ドディスク、光ディスク、光磁気ディスク、CD−RO
M、磁気テープ、不揮発性のメモリカード、ROM等を
用いることができる。
In this case, the program code itself of the software realizes the function of the above-described embodiment, and the program code itself and means for supplying the program code to the computer, for example, storing the program code The recorded recording medium constitutes the present invention. As a recording medium for storing such a program code, for example, a floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-RO
M, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

【0153】なお、上記実施例は、何れも本発明を実施
するにあたっての具体化のほんの一例を示したものに過
ぎず、これらによって本発明の技術的範囲が限定的に解
釈されてはならないものである。すなわち、本発明はそ
の精神、またはその主要な特徴から逸脱することなく、
様々な形で実施することができる。例えば、PCM音源
に限定されず、パーソナルコンピュータ内蔵の音源ボー
ド、コンピュータプログラムで波形生成を行うソフト音
源等の他の音源に適用することもできる。
The above embodiments are merely examples of implementation of the present invention, and the technical scope of the present invention should not be interpreted in a limited manner. It is. That is, the present invention does not depart from the spirit or the main features thereof,
It can be implemented in various forms. For example, the present invention is not limited to the PCM sound source, but may be applied to other sound sources such as a sound source board built in a personal computer, a soft sound source that generates a waveform by a computer program, and the like.

【0154】[0154]

【発明の効果】以上説明したように本発明によれば、発
音に必要なパラメータを音源にセットした後に直ぐに発
音を開始させるのではなく、キーオン情報の入力から所
定時間が経過するまで待って、複数の楽音についてのパ
ラメータが音源にセットされたところで音源に発音開始
を指示するので、複数の楽音を同時に又は短時間で発音
させることができる。
As described above, according to the present invention, the sound generation is not started immediately after the parameters required for sound generation are set in the sound source, but rather, a predetermined time is elapsed from the input of the key-on information. When the parameters for a plurality of musical tones are set in the sound source, the sound source is instructed to start sounding, so that a plurality of musical sounds can be produced simultaneously or in a short time.

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

【図1】本発明の実施例による電子楽音発生装置の第1
の発音処理例を示すタイムチャートである。
FIG. 1 is a first view of an electronic musical sound generator according to an embodiment of the present invention.
3 is a time chart showing an example of a tone generation process.

【図2】本実施例による電子楽音発生装置の第2の発音
処理例を示すタイムチャートである。
FIG. 2 is a time chart showing a second example of a tone generation process of the electronic musical sound generating device according to the embodiment.

【図3】本実施例による電子楽音発生装置の第3の発音
処理例を示すタイムチャートである。
FIG. 3 is a time chart illustrating a third example of a tone generation process of the electronic musical sound generating device according to the present embodiment.

【図4】本実施例による電子楽音発生装置の第4の発音
処理例を示すタイムチャートである。
FIG. 4 is a time chart illustrating a fourth example of a tone generation process of the electronic musical sound generating device according to the embodiment.

【図5】図5(A)、(B)は自動演奏データのフォー
マット例を示す図である。
FIGS. 5A and 5B are diagrams showing examples of a format of automatic performance data. FIG.

【図6】図1に示す発音処理例に対応する自動演奏デー
タを示す図である。
6 is a diagram showing automatic performance data corresponding to the example of the sound generation process shown in FIG. 1;

【図7】図2に示す発音処理例に対応する自動演奏デー
タを示す図である。
FIG. 7 is a diagram showing automatic performance data corresponding to the sound generation example shown in FIG. 2;

【図8】本実施例による電子楽音発生装置(電子鍵盤楽
器)の構成を示すブロック図である。
FIG. 8 is a block diagram showing a configuration of an electronic musical sound generating device (electronic keyboard instrument) according to the present embodiment.

【図9】音源LSIのアサイメントメモリの構成を示す
図である。
FIG. 9 is a diagram showing a configuration of an assignment memory of a sound source LSI.

【図10】音源LSIの構成を示すブロック図である。FIG. 10 is a block diagram illustrating a configuration of a sound source LSI.

【図11】CPUが行うメインルーチンの処理を示すフ
ローチャートである。
FIG. 11 is a flowchart showing processing of a main routine performed by a CPU.

【図12】自動演奏再生処理の詳細を示すフローチャー
トである。
FIG. 12 is a flowchart showing details of automatic performance reproduction processing.

【図13】図12に続く自動演奏再生処理の詳細を示す
フローチャートである。
FIG. 13 is a flowchart showing details of the automatic performance reproduction process following FIG. 12;

【図14】パネルイベント処理の詳細を示すフローチャ
ートである。
FIG. 14 is a flowchart illustrating details of panel event processing.

【図15】アナログイベント処理の詳細を示すフローチ
ャートである。
FIG. 15 is a flowchart illustrating details of analog event processing.

【図16】キーイベント処理の詳細を示すフローチャー
トである。
FIG. 16 is a flowchart showing details of a key event process.

【図17】図16に続くキーイベント処理の詳細を示す
フローチャートである。
FIG. 17 is a flowchart showing details of the key event process following FIG. 16;

【図18】図16に続く他のキーイベント処理の詳細を
示すフローチャートである。
FIG. 18 is a flowchart illustrating details of another key event process following FIG. 16;

【図19】図19(A)、(B)は第1のタイマの割り
込み処理を示すフローチャートである。
FIGS. 19A and 19B are flowcharts showing interrupt processing of the first timer.

【図20】第2のタイマの割り込み処理を示すフローチ
ャートである。
FIG. 20 is a flowchart showing interrupt processing of a second timer.

【図21】従来技術による電子楽音発生装置の第1の発
音処理例を示すタイムチャートである。
FIG. 21 is a time chart showing a first example of a tone generation process of the electronic musical sound generator according to the prior art.

【図22】従来技術による電子楽音発生装置の第2の発
音処理例を示すタイムチャートである。
FIG. 22 is a time chart showing a second example of a tone generation process of the electronic musical tone generator according to the prior art.

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

1 タイマー 2 CPU 3 フラッシュメモリ 4 RAM 5 MIDI入出力インタフェース 6 パネル(操作子/表示器) 7 鍵盤 8 キースキャン回路 9 波形メモリ 10 音源LSI 10a アサイメントメモリ 10b 共通演算開始フラグ 11 遅延メモリ 12 DSP 13 D/A変換器 14 アンプ及びスピーカ 15 バス 21 Fナンバ補間回路 22 フィルタパラメータ補間回路 23 ラウドネス補間回路 24 パンニング補間回路 25 Fナンバ累算回路 26 エンベロープ発生回路 27 サンプル補間回路 28 フィルタ 29,30,31 乗算器 32 系列分配及び系列累算回路 33 加算器 DESCRIPTION OF SYMBOLS 1 Timer 2 CPU 3 Flash memory 4 RAM 5 MIDI input / output interface 6 Panel (operator / display) 7 Keyboard 8 Key scan circuit 9 Waveform memory 10 Sound source LSI 10a Assignment memory 10b Common operation start flag 11 Delay memory 12 DSP 13 D / A converter 14 Amplifier and speaker 15 Bus 21 F number interpolation circuit 22 Filter parameter interpolation circuit 23 Loudness interpolation circuit 24 Panning interpolation circuit 25 F number accumulation circuit 26 Envelope generation circuit 27 Sample interpolation circuit 28 Filter 29, 30, 31 Multiplier 32 Sequence distribution and sequence accumulation circuit 33 Adder

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 キーオン情報を入力する入力手段と、 前記キーオン情報が入力されると前記キーオン情報の入
力から所定時間の計測を開始するタイマと、 前記キーオン情報を入力すると発音に必要なパラメータ
を音源にセットするパラメータセット手段と、 前記キーオン情報の入力から所定時間経過後に前記パラ
メータがセットされた音源に発音開始を指示する発音開
始指示手段とを有する電子楽音発生装置。
An input unit for inputting key-on information; a timer for starting measurement of a predetermined time from the input of the key-on information when the key-on information is input; and a parameter required for sound generation when the key-on information is input. An electronic musical tone generating apparatus comprising: parameter setting means for setting a sound source; and sound generation start instructing means for instructing a sound source to which the parameter is set to start sound generation after a lapse of a predetermined time from the input of the key-on information.
【請求項2】 前記パラメータセット手段は、前記キー
オン情報を入力すると前記キーオン情報を基に発音に必
要なパラメータを生成して音源にセットする請求項1記
載の電子楽音発生装置。
2. The electronic musical sound generator according to claim 1, wherein said parameter setting means, upon inputting said key-on information, generates parameters necessary for sound generation based on said key-on information and sets the parameters in a sound source.
【請求項3】 前記所定時間は、2ms〜20msであ
る請求項1記載の電子楽音発生装置。
3. The electronic musical sound generator according to claim 1, wherein the predetermined time is 2 ms to 20 ms.
【請求項4】 前記パラメータセット手段は、前記パラ
メータを前記音源のいずれかの楽音発生チャネルに割り
当ててセットすると共に、該楽音発生チャネルの演算停
止フラグをセットすることにより発音開始を待機させ、 前記発音開始指示手段は、前記所定時間経過後に前記演
算停止フラグをクリアすることにより発音開始を指示す
る請求項1記載の電子楽音発生装置。
4. The parameter setting means assigns and sets the parameter to one of the tone generating channels of the sound source, and sets a calculation stop flag of the tone generating channel to wait for sound generation to start. 2. The electronic musical sound generator according to claim 1, wherein the sounding start instructing means instructs sounding start by clearing the calculation stop flag after the predetermined time has elapsed.
【請求項5】 さらに、所定の複数の楽音発生チャネル
の発音開始を一斉に指示するための共通演算開始フラグ
を有し、 前記パラメータセット手段は、複数の音のパラメータを
複数の楽音発生チャネルに割り当てることができ、 前記発音開始指示手段は、前記共通演算開始フラグがセ
ットされると前記所定の複数の楽音発生チャネルの演算
停止フラグをすべてクリアし、前記所定の複数の楽音発
生チャネルの発音開始を指示する請求項4記載の電子楽
音発生装置。
5. The apparatus according to claim 1, further comprising a common operation start flag for simultaneously instructing a plurality of predetermined tone generation channels to start sounding, wherein said parameter setting means sets a plurality of tone parameters to a plurality of tone generation channels. When the common operation start flag is set, the sound generation start instructing means clears all the operation stop flags of the plurality of predetermined tone generation channels, and starts sound generation of the predetermined plurality of tone generation channels. 5. The electronic musical sound generator according to claim 4, wherein the electronic musical sound generator is instructed.
【請求項6】 前記発音開始指示手段は、前記入力手段
に複数の楽音のキーオン情報が入力されると、該入力さ
れた複数の楽音のうちの所定楽音数の楽音のみの発音開
始を一括して指示し、残りの楽音についてはその後に発
音開始を指示する請求項1記載の電子楽音発生装置。
6. The sound generation start instructing means, when key-on information of a plurality of music sounds is input to the input means, collectively starts sound generation of only a predetermined number of music sounds among the input plurality of music sounds. 2. The electronic musical tone generating apparatus according to claim 1, wherein the electronic musical tone generating apparatus is instructed to start sounding after that.
【請求項7】 前記発音開始指示手段は、前記残りの楽
音についてはその後に順に発音開始を指示する請求項6
記載の電子楽音発生装置。
7. The sound generation start instructing means for sequentially instructing the start of sound generation for the remaining musical tones thereafter.
The electronic musical sound generator according to the above.
【請求項8】 前記パラメータセット手段及び前記発音
開始指示手段はCPUの処理により実現され、前記所定
楽音数はCPUの処理能力により決められる請求項6記
載の電子楽音発生装置。
8. The electronic musical tone generator according to claim 6, wherein said parameter setting means and said tone generation start instructing means are realized by processing of a CPU, and said predetermined number of musical tones is determined by a processing capability of said CPU.
【請求項9】 (a)キーオン情報を入力するとキーオ
ン情報を基に発音に必要なパラメータを音源にセットす
るステップと、 (b)キーオン情報の入力から所定時間経過後に前記パ
ラメータがセットされた音源に発音開始を指示するステ
ップとを有する電子楽音発生方法。
9. A step of: (a) setting parameters required for sound generation in a sound source based on key-on information when key-on information is input; and (b) a sound source in which the parameters are set after a lapse of a predetermined time from the input of key-on information. Instructing the user to start sounding.
【請求項10】 (a)キーオン情報を入力するとキー
オン情報を基に発音に必要なパラメータを音源にセット
する手順と、 (b)キーオン情報の入力から所定時間経過後に前記パ
ラメータがセットされた音源に発音開始を指示する手順
とをコンピュータに実行させるためのプログラムを記録
したコンピュータ読み取り可能な記録媒体。
10. A procedure for setting parameters necessary for sound generation in a sound source based on key-on information when (a) key-on information is input; and (b) a sound source in which the parameters are set after a lapse of a predetermined time from the input of key-on information. And a computer-readable recording medium storing a program for causing a computer to execute a procedure for instructing a computer to start sounding.
JP2000099787A 2000-03-31 2000-03-31 Electronic musical tone generator, electronic musical tone generating method and recording medium Pending JP2001282241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000099787A JP2001282241A (en) 2000-03-31 2000-03-31 Electronic musical tone generator, electronic musical tone generating method and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000099787A JP2001282241A (en) 2000-03-31 2000-03-31 Electronic musical tone generator, electronic musical tone generating method and recording medium

Publications (1)

Publication Number Publication Date
JP2001282241A true JP2001282241A (en) 2001-10-12

Family

ID=18614090

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000099787A Pending JP2001282241A (en) 2000-03-31 2000-03-31 Electronic musical tone generator, electronic musical tone generating method and recording medium

Country Status (1)

Country Link
JP (1) JP2001282241A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008107716A (en) * 2006-10-27 2008-05-08 Taito Corp Musical sound reproduction apparatus and musical sound reproduction program
JP2016161706A (en) * 2015-02-27 2016-09-05 ブラザー工業株式会社 Music performance device and music performance program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008107716A (en) * 2006-10-27 2008-05-08 Taito Corp Musical sound reproduction apparatus and musical sound reproduction program
JP2016161706A (en) * 2015-02-27 2016-09-05 ブラザー工業株式会社 Music performance device and music performance program

Similar Documents

Publication Publication Date Title
JP2707853B2 (en) Key press indicating device
CN110299128B (en) Electronic musical instrument, method, and storage medium
JP2705395B2 (en) Electronic musical instrument
JPH0887270A (en) Electronic instrument
JP2001282243A (en) Electronic musical tone generator, electronic musical tone generating method and recording medium
JP3684774B2 (en) Performance instruction device and medium recording program
JP2001282241A (en) Electronic musical tone generator, electronic musical tone generating method and recording medium
JP6528752B2 (en) Tone reproduction apparatus, tone reproduction method, program and electronic musical instrument
JP2531424B2 (en) Automatic accompaniment device
JP2694788B2 (en) Electronic musical instrument
JPH1031486A (en) Method and device for performance data storage and reproducing
JP4037551B2 (en) Musical sound generator, electronic musical instrument, and storage medium
JP2722880B2 (en) Electronic musical instrument
JPH11119777A (en) Sampling device
JP2529227Y2 (en) Electronic musical instrument
JP3716710B2 (en) Music generator
JP5246473B2 (en) Musical sound generator and musical sound generation processing program
JP3533764B2 (en) Automatic accompaniment device
JP3660379B2 (en) Sound source control information storage method and sound source control apparatus
JP3705203B2 (en) Music generation method
JP4207884B2 (en) Musical sound control device and musical sound control processing program
JP3919833B2 (en) Sound generator
JP2004361482A (en) Waveform modulator and waveform modulation program
JPH05307389A (en) Electronic musical instrument
JP2001092450A (en) Method for generating/processing audio file