JPH10228282A - Sound source device - Google Patents

Sound source device

Info

Publication number
JPH10228282A
JPH10228282A JP9031805A JP3180597A JPH10228282A JP H10228282 A JPH10228282 A JP H10228282A JP 9031805 A JP9031805 A JP 9031805A JP 3180597 A JP3180597 A JP 3180597A JP H10228282 A JPH10228282 A JP H10228282A
Authority
JP
Japan
Prior art keywords
sound
sounding
data
source device
array
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
JP9031805A
Other languages
Japanese (ja)
Inventor
Makoto Okazaki
誠 岡崎
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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP9031805A priority Critical patent/JPH10228282A/en
Publication of JPH10228282A publication Critical patent/JPH10228282A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PROBLEM TO BE SOLVED: To realized a sound source device which can handle MIDI data having many simultaneously generated sounds and eliminate a feeling of auditory disorder without being limited by the maximum number of simultaneously generated sounds. SOLUTION: When new sound generation is requested in MIDI data, an MPU 200 judges whether or not there is a free area in an array 210 and stores sound generation data on the new sound in the free area when there is the free area to generate the new sound. When there is no free area in the array 210, the sound with the smallest volume which is being generated is searched for and noted off, and sound generation data on the sound is removed from the array 210 to put free areas forward, thereby preparing a free area for storing the new data. Then the sound generation data on the new sound is stored in the free area and the new sound is noted on in response to that, so when sound generation exceeding the maximum number of simultaneously generated sounds of the sound source is requested, the generation of the sound with the smallest volume is stopped and switching to the new sound generation is performed to eliminate auditory unnaturalness of the sound.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えば、発音信号
としてのMIDI(Musical Instrument DigitalInterf
ace)データを受けてそれに応じた音声信号を発生する
音源装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to, for example, MIDI (Musical Instrument Digital Interface) as a sound signal.
ace) The present invention relates to a sound source device that receives data and generates an audio signal corresponding to the data.

【0002】[0002]

【従来の技術】DTM(Desk Top Music)音源、通信カ
ラオケ、電子楽器など、音声生成をソフト的に実現する
ものはMIDIという発音制御用データ(以下、MID
Iデータという)に基づいて発音動作を行う。MIDI
データはDTM音源、電子楽器などの音楽機器に特定の
楽音を演奏させるための発音制御用データである。MI
DIデータには発音を制御するための各種の情報がデー
タの形で表記されている。音源装置はこれらのデータ、
例えば、発音させるノートオン、消音させるノートオフ
などのデータに基づき音を生成する。図16はMIDI
データを用いて音楽などの音声信号を発生するシステム
の一構成例を示している。
2. Description of the Related Art Sound generation software such as a DTM (Desk Top Music) sound source, a communication karaoke, an electronic musical instrument, and the like are provided using MIDI called sound control data (hereinafter referred to as MID).
A sound generation operation is performed based on I data). MIDI
The data is sound control data for causing a musical instrument such as a DTM sound source or an electronic musical instrument to play a specific musical tone. MI
In the DI data, various kinds of information for controlling sound generation are described in the form of data. The sound source device records these data,
For example, a sound is generated based on data such as note-on to sound and note-off to mute. Figure 16 is MIDI
1 shows an example of a configuration of a system that generates an audio signal such as music using data.

【0003】図16に示すように、このシステムは、例
えば、パソコン(パーソナルコンピュータ)などで構成
するMIDIデータを生成するデータ生成部10、MI
DIデータを転送するためのMIDIデータケーブル2
0、DTM音源により構成されている音源装置30、音
源装置30により出力された音声(オーディオ)信号を
転送するオーディオケーブル40、オーディオ信号を増
幅するアンプ50およびアンプの出力信号を実際の音声
に変換するスピーカ60により構成されている。
As shown in FIG. 16, this system includes, for example, a data generation unit 10 for generating MIDI data constituted by a personal computer (personal computer) or the like.
MIDI data cable 2 for transferring DI data
0, a sound source device 30 composed of a DTM sound source, an audio cable 40 for transferring a sound (audio) signal output from the sound source device 30, an amplifier 50 for amplifying the audio signal, and conversion of the output signal of the amplifier into an actual sound. Speaker 60.

【0004】音源装置30は、インターフェース31、
MPU(Micro Processing Unit )32、音源33およ
びディジタル/アナログ変換器(DAC)34により構
成されている。
[0004] The sound source device 30 includes an interface 31,
It comprises an MPU (Micro Processing Unit) 32, a sound source 33 and a digital / analog converter (DAC) 34.

【0005】MIDIケーブルからのMIDIデータは
インターフェース31を介してMPU32に入力され
る。MPU32はインターフェース31からMIDIデ
ータを受けて、それに応じた処理を行い、音源33に発
声用信号を出力する。音源33はMPU32からの信号
に基づきMIDIデータにより示した音声信号の振幅を
示すディジタル信号を発生し、DAC34に出力する。
DAC34はディジタル信号をアナログ信号に変換し、
オーディオケーブル40に出力する。
[0005] MIDI data from a MIDI cable is input to an MPU 32 via an interface 31. The MPU 32 receives the MIDI data from the interface 31, performs processing in accordance with the MIDI data, and outputs an utterance signal to the sound source 33. The sound source 33 generates a digital signal indicating the amplitude of the audio signal indicated by the MIDI data based on the signal from the MPU 32, and outputs the digital signal to the DAC 34.
DAC 34 converts the digital signal into an analog signal,
Output to the audio cable 40.

【0006】また、図17に示すように、アプリケーシ
ョンプログラムにより、MIDIデータの固まりである
SMF(Standard MIDI File)を加工および変換し、変
換後のMIDIデータを発声装置により音声信号に変換
するソフトウェアによる処理手段もある。
[0006] As shown in FIG. 17, SMF (Standard MIDI File), which is a chunk of MIDI data, is processed and converted by an application program, and the converted MIDI data is converted into an audio signal by a voice generating device. There are also processing means.

【0007】何れの場合でも、MPUまたはアプリケー
ションプログラムは所定の規則に従ってMIDIデータ
を変換し、音源装置により発生する楽音が制御される。
図18はMIDIデータイベントメッセージの一部分を
示している。上述したシステムにより、パソコン10な
どにより生成したMIDIデータに応じた楽音が生成さ
れる。
In any case, the MPU or the application program converts MIDI data according to a predetermined rule, and controls a tone generated by the tone generator.
FIG. 18 shows a part of a MIDI data event message. With the above-described system, a musical tone corresponding to the MIDI data generated by the personal computer 10 or the like is generated.

【0008】[0008]

【発明が解決しようとする課題】ところで、上述した従
来の音源装置においては、最大同時発音数が装置の構成
により決まり、それを上回る同時発音数を指示するMI
DIデータに応じて音を発生する場合、聴感上不自然に
聞こえる音が生成されてしまうという問題がある。
By the way, in the above-mentioned conventional sound source device, the maximum number of simultaneous sounds is determined by the structure of the device, and the MI which indicates the number of simultaneous sounds higher than the maximum number of sounds.
When a sound is generated in accordance with DI data, there is a problem that a sound that sounds unnatural is generated.

【0009】一般的に良く用いられているGenera
l−MIDIの基本仕様では、チャンネルによる優先度
が異なる発音が指示された場合、リズムチャンネル10
を最優先として、10>1>2>…>9>11>…>1
6の優先順位でMIDIデータを取り入れる。しかし、
この方式では、チャンネル優先順位を熟知し、且つ意識
的に作成されたMIDIデータにおいては有効な方式で
あるが、実際に使用されているMIDIデータの大半は
前記条件を満たしていないため、聴感上不自然に聞こえ
る。
The commonly used Genera
According to the basic specification of l-MIDI, when a sound with different priorities according to channels is instructed, the rhythm channel 10
Is the highest priority, 10>1>2>...>9>11>...> 1
Import MIDI data with a priority of 6. But,
This method is effective for MIDI data that is well-known and consciously created for the channel priorities. However, most of the actually used MIDI data does not satisfy the above conditions, so Sounds unnatural.

【0010】また、この不自然さの度合いは、音源装置
の最大同時発音数を上回るほど顕著に現れるため、同時
発音数の多い音源装置に作成されたMIDIデータは同
時発音数の少ない音源装置への転用は困難である。例え
ば、最近最大同時発音数は64の音源装置が開発され
て、このような最大同時発音数の多い音源装置の能力を
最大限に発揮させるには、その最大同時発音数に応じて
生成したMIDIデータが利用される。しかし、このよ
うに生成したMIDIデータを一般に使われている最大
同時発音数24の音源装置に転用することは困難であ
る。このため、音源装置の最大同時発音数を上回る同時
発音数を指示するMIDIデータを受けた場合、音源装
置においてMIDIデータに対して何らかの処理を行
い、聴感上の不自然さを解消する必要がある。
Further, since the degree of the unnaturalness becomes more pronounced as the maximum number of simultaneous sounds of the sound source device is exceeded, the MIDI data created in the sound source device having a large number of simultaneous sounds is transmitted to the sound source device having a small number of simultaneous sounds. Diversion is difficult. For example, recently, a sound source device having a maximum polyphony of 64 has been developed, and in order to maximize the performance of such a sound source device having a large maximum polyphony, the MIDI generated according to the maximum polyphony is generated. Data is used. However, it is difficult to divert the MIDI data generated in this way to a generally used tone generator having a maximum of 24 simultaneous sounds. For this reason, when receiving MIDI data indicating a polyphony that exceeds the maximum polyphony of the tone generator, it is necessary to perform some processing on the MIDI data in the tone generator to eliminate unnaturalness in hearing. .

【0011】本発明はかかる事情に鑑みてなされたもの
であり、その目的は、同時発音数の多い発音信号、例え
ば、MIDIデータに対応でき、最大同時発音数の制限
を受けることなく聴感上の違和感を解消できる音源装置
を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has as its object to be able to cope with a sound signal having a large number of simultaneous sounds, for example, MIDI data, and to provide an audible sound without being limited by the maximum simultaneous sound number. An object of the present invention is to provide a sound source device that can eliminate discomfort.

【0012】[0012]

【課題を解決するための手段】上記目的を達成するた
め、本発明は複数の発音手段を有し、各発音手段は発音
信号の指示に基づいた特性の音を発生するように制御さ
れる音源装置であって、上記発音信号から上記発音手段
の数を越えた複数の音の発生指示を受けたとき、上記各
発音手段で発生中の音と上記発音信号により指示された
音の特性を比較して、比較結果に応じて上記発音手段の
内所定の音を発生する発音手段を停止させ、発音信号に
より指示された音を発生させる発音制御手段を有する。
In order to achieve the above object, the present invention has a plurality of sounding means, each sounding means being controlled to generate a sound having a characteristic based on an instruction of a sounding signal. The apparatus, when receiving an instruction to generate a plurality of sounds exceeding the number of the sounding means from the sounding signal, compares the characteristics of the sound being generated by each sounding means with the sound specified by the sounding signal. Then, there is provided a sound emission control means for stopping the sound emission means for generating a predetermined sound among the sound emission means in accordance with the comparison result, and for generating the sound specified by the sound emission signal.

【0013】また、本発明では、上記複数の発音手段の
内、音量の小さい音を発生する発音手段、または音程の
低い音を発生する発音手段を停止させ、上記発音信号に
より指示された音を発生させる
Further, in the present invention, out of the plurality of sounding means, the sounding means for generating a low-volume sound or the sounding means for generating a low-pitched sound are stopped, and the sound specified by the sounding signal is reproduced. generate

【0014】また、本発明では、上記発音制御手段は、
上記複数の発音手段の内、上記発音信号により指示され
た音と同じ音色を発生する発音手段の音を停止させ、上
記発音信号により指示された音を発生させ、または上記
複数の発音手段により生成されている同じ音色を有する
音を検出し、その内の何れかを停止させ、上記発音信号
により指示された音を発生させる。
Further, in the present invention, the sound generation control means includes:
Out of the plurality of sounding means, the sound of the sounding means that generates the same tone as the sound specified by the sounding signal is stopped, and the sound specified by the sounding signal is generated, or generated by the plurality of sounding means. A sound having the same timbre is detected, any one of the sounds is stopped, and a sound specified by the sound signal is generated.

【0015】さらに、本発明では、上記発音制御手段
は、チャンネルの優先順位に応じて各発音手段に重み付
けを行い、各発音手段にそれぞれ第1のポイントを付与
する第1の重み付け手段と、音の特性に応じて各発音手
段に重み付けを行い、各発音手段にそれぞれ第2のポイ
ントを付与する第2の重み付け手段と、各発音手段の上
記第1および第2のポイントの合計をそれぞれ求める合
計手段と、上記各発音手段の上記合計ポイント数に応じ
て、一つの発音を停止させ、上記発音信号により指示さ
れた音を発生させる切り換え手段とを有する。
Further, in the present invention, the sounding control means weights each sounding means according to the priority of the channel, and assigns a first point to each sounding means; Weighting means for weighting each sounding means in accordance with the characteristic of each sounding means, and a second weighting means for giving each sounding means a second point, and a sum for calculating the sum of the first and second points of each sounding means. Means, and switching means for stopping one sound and generating a sound specified by the sound signal in accordance with the total number of points of each sound means.

【0016】本発明によれば、発音手段の数により制限
されている音源装置の最大同時発音数を越えた複数の音
を発生することが発音信号により指示されたとき、発音
制御手段により、各発音手段により発生されている音と
発音信号により指示された音の特性が比較されて、比較
結果に応じて複数の発音手段の内、所定の発音手段が停
止され、発音信号により指示された音が発生される。具
体的に、例えば発音手段により発生される音の音量、音
程および音色などの諸特性が比較され、比較結果に応じ
て、音量または音程の最も小さい音を発生している発音
手段が停止し、発音信号により指示される音に切り換え
られる。さらに、発音信号により指示された音と同じ音
色の音を発生している発音手段が停止し、発音信号によ
り指示された音に切り換えられる。
According to the present invention, when it is instructed by the sounding signal to generate a plurality of sounds exceeding the maximum number of simultaneous sounds of the sound source device limited by the number of sounding means, each sounding control means causes The characteristics of the sound generated by the sounding means and the sound specified by the sounding signal are compared, and a predetermined sounding means of the plurality of sounding means is stopped according to the comparison result, and the sound designated by the sounding signal is output. Is generated. Specifically, for example, various characteristics such as the volume of the sound generated by the sounding means, the pitch and the timbre are compared, and according to the comparison result, the sounding means generating the sound with the smallest volume or pitch is stopped, The sound is switched to the sound specified by the sound signal. Further, the sounding means generating the sound having the same tone as the sound specified by the sounding signal is stopped, and the sound is switched to the sound specified by the sounding signal.

【0017】また、本発明によれば、各発音手段にチャ
ンネルの優先順位に応じて重み付けが行われ、第1のポ
イントが付与され、さらに発生中の音の特性に応じて重
み付けが行われ、第2のポイントが付与される。各発音
手段において第1と第2のポイントの合計値が求めら
れ、この合計値に応じて複数の発音手段の内一つの発音
が停止され、発音信号により指示された新しい音に切り
換えられる。
According to the present invention, each sound generating means is weighted according to the priority of the channel, a first point is given, and weighting is performed according to the characteristics of the sound being generated. A second point is awarded. The total value of the first and second points is determined in each sounding means, and one of the plurality of sounding means is stopped according to the total value, and is switched to a new sound specified by the sounding signal.

【0018】これにより、発音信号、例えば、MIDI
データにより、発音手段の数により決められた最大同時
発音数を越えた複数の音の発生が指示されたとき、各発
音手段により発生している音と発音信号により指示され
た音の諸特性が比較され、比較結果に応じて発生すべき
音の優先順位が決定され、最も優先順位の低い音の発生
が停止され、それより優先順位の高い音が発生されるの
で、同時発音数の多い発音指示信号に対応でき、最大同
時発音数の制限を受けることなく聴感上違和感のない音
を発生できる。
Thus, a sound signal, for example, MIDI
When the data instructs the generation of a plurality of sounds exceeding the maximum number of simultaneous sounds determined by the number of sounding means, the characteristics of the sound generated by each sounding means and the sound specified by the sounding signal are changed. The priority of the sound to be generated is determined according to the comparison result, the generation of the lowest priority sound is stopped, and the higher priority sound is generated. It can respond to an instruction signal, and can generate a sound that does not give a sense of incongruity without being limited by the maximum number of simultaneous sounds.

【0019】[0019]

【発明の実施の形態】図1は本発明に係る音源装置の構
成を示すブロック図である。図1(a)に示すように、
本発明の音源装置はインターフェース(I/F)10
0、発音制御手段としてのMPU200および音源部3
00により構成されている。MPU200には発音信
号、例えば、MIDIデータを格納するN(Nは正整
数)個の配列210が設けられ、音源部300は、N個
の発音手段300が設けられている。MPU200の配
列210および音源部300の発音手段310により発
音システム400が構成されている。なお、発音システ
ムにおける発音手段の数により音源装置の最大同時発音
数が決まり、図1に示す例では、最大同時発音数はNで
ある。
FIG. 1 is a block diagram showing a configuration of a sound source device according to the present invention. As shown in FIG.
The sound source device of the present invention has an interface (I / F) 10
0, MPU 200 as sound control means and sound source section 3
00. The MPU 200 is provided with N (N is a positive integer) arrays 210 for storing sounding signals, for example, MIDI data, and the sound source section 300 is provided with N sounding means 300. The arrangement 210 of the MPU 200 and the sound generation unit 310 of the sound source unit 300 constitute a sound generation system 400. Note that the maximum number of simultaneous sounds of the sound source device is determined by the number of sounding means in the sounding system, and the maximum number of simultaneous sounds is N in the example shown in FIG.

【0020】図示の音源装置において、外部から入力さ
れるMIDIデータはインターフェース100を介して
MPU200に入力され、配列210に格納される。図
1(b)に示すように、MPU200はMIDIデータ
に応じてN個の配列の格納データを比較、前詰め、ソー
トなどのデータ処理を行い、処理結果により音源部30
0の発音手段310の発音動作を制御する。例えば、配
列に格納されているMIDIデータに応じて、発音手段
310のノートオンまたはノートオフを制御する。発音
データを格納するすべての配列にデータが入っている状
態で新しい発音要求を受けたとき、即ち、最大同時発音
数Nを越えた音を同時発声することが指示されたとき、
MIDIデータにより指示された新しい音と各発音手段
現在発声中の音の諸特性を比較して、比較結果に応じて
発音の優先順位を決定し、優先順位の最も低い音の発音
を停止させ、新しい発音に切り換える。
In the illustrated sound source device, MIDI data input from the outside is input to the MPU 200 via the interface 100 and stored in the array 210. As shown in FIG. 1B, the MPU 200 performs data processing such as comparison, leading justification, and sorting of the N pieces of stored data according to the MIDI data, and the sound source unit 30 based on the processing result.
The sounding operation of the 0 sounding means 310 is controlled. For example, note-on or note-off of the sound generator 310 is controlled according to the MIDI data stored in the array. When a new pronunciation request is received in a state where data is contained in all the arrays storing the pronunciation data, that is, when it is instructed to simultaneously produce sounds exceeding the maximum number of simultaneous pronunciations N,
The new sound indicated by the MIDI data is compared with various characteristics of the sound currently being uttered by each sounding means, the priority of sound generation is determined according to the comparison result, and the sounding of the sound with the lowest priority is stopped. Switch to a new pronunciation.

【0021】図2は音源装置における一般的な発声動作
を示すフローチャートである。音源装置動作時に、図2
に示すようにまず最大同時発音数分の配列が用意され、
そしてステップSS2に示すように外部から入力される
MIDIデータを受けて、MIDIデータに応じた動作
が行われる。ステップSS3に示すように、受け取った
MIDIデータはノートオフ(Note-Off)を指示する指
令であるか否かが判定され、ノートオフを指示する指令
である場合に、ステップSS4に示すようにノートオフ
の動作が行われる。ノートオフ動作後、ステップSS2
の動作に戻り、再び新しいMIDIデータが入力され
る。
FIG. 2 is a flowchart showing a general utterance operation in the sound source device. When the sound source device operates,
First, an array for the maximum number of simultaneous pronunciations is prepared, as shown in
Then, as shown in step SS2, upon receiving MIDI data input from the outside, an operation according to the MIDI data is performed. As shown in step SS3, it is determined whether or not the received MIDI data is a command for instructing note-off (Note-Off). An off operation is performed. After the note-off operation, step SS2
And the new MIDI data is input again.

【0022】ステップSS3の判定では、ノートオフを
指示する指令ではない場合には、ステップSS5に示す
ようにノートオン(Note-On )を指示する指令であるか
否かについてさらに判定が行われ、そうである場合にス
テップSS6に示すようにノートオンの動作が行われ
る。そして、ノートオン動作後、ステップSS2の動作
に戻る。一方、ステップSS5において、ノートオンを
指示する指令ではないと判定したとき、ステップSS7
においてMIDIデータが適切に処理される。
If it is determined in step SS3 that the command is not a command to instruct note-off, it is further determined whether or not the command is to instruct note-on (Note-On) as shown in step SS5. If so, a note-on operation is performed as shown in step SS6. Then, after the note-on operation, the operation returns to the operation of step SS2. On the other hand, when it is determined in step SS5 that the command is not a command to instruct note-on, step SS7
The MIDI data is appropriately processed.

【0023】図3は図2のステップSS4に示すノート
オフ処理をさらに詳細に示すフローチャートである。図
3に示すように、ノートオフ処理はまずステップS1に
示すように配列からノートオフする音を探す処理が実行
される。次いで、ステップS2に示す判定処理が行わ
れ、ノートオフする音が見つかったか否かを判断し、見
つかった場合、ステップS3〜S5に示す処理が行わ
れ、ノートオフする音が配列から取り除かれ、これによ
り生じた空き領域が前詰めされ、その音がノートオフさ
れる。一方、ステップS2の判定処理ではノートオフす
る音が見つからない場合、ノートオフ処理が終了する。
FIG. 3 is a flowchart showing the note-off process shown in step SS4 of FIG. 2 in more detail. As shown in FIG. 3, in the note-off process, first, as shown in step S1, a process of searching for a note-off sound from the array is executed. Next, the determination processing shown in step S2 is performed, and it is determined whether or not a note-off sound is found. If found, the processing shown in steps S3 to S5 is performed, and the note-off sound is removed from the array. The resulting free space is shifted to the left, and the sound is note-off. On the other hand, if no note-off sound is found in the determination processing in step S2, the note-off processing ends.

【0024】図4はMIDIデータに応じて音源装置に
より発音する場合の動作タイミングを示している。図示
のように、MIDIデータによりノートオンが指示され
たとき、指示された音がノートオンされ、発音が開始す
る。そしてMIDIデータによりノートオフ動作が指示
されたとき、指示された音がノートオフされ、その音の
発生が停止する。MIDIデータにより同時に複数の音
の発声が指示されるとき、音源装置300において発音
手段310により複数の音が同時に発生される。例え
ば、図4に示す例では、同時に5つの音が発生される。
FIG. 4 shows the operation timing when sound is generated by the tone generator in accordance with the MIDI data. As shown in the figure, when note-on is instructed by MIDI data, the instructed sound is note-on, and sound generation starts. When the note-off operation is instructed by the MIDI data, the instructed sound is note-off, and the generation of the sound is stopped. When a plurality of sounds are instructed simultaneously by the MIDI data, a plurality of sounds are simultaneously generated by the sound generating means 310 in the sound source device 300. For example, in the example shown in FIG. 4, five sounds are generated simultaneously.

【0025】図5は図4に示す発音動作を実現するた
め、MPU200における配列210の使用状況を示し
ている。ここでは、例えば、MPU200において配列
が5つあり、また、音源部300においても、発音手段
が5つあり、これにより音源装置の最大同時発音数が5
となる。MIDIデータにより、発音が要求されたとき
まずMPU200により配列に空きがあるか否かが検査
され、空きがある場合にそこにMIDIデータが格納さ
れ、そして、格納データに応じて音源部300に発音指
示が出され、これに応じて音源部300により音が発生
される。一方、音源装置が既に最大同時発音数の音を発
生しており、即ち、MPU200の配列に空きがない状
態では、MIDIデータにより要求された音と現在発音
中の音とが比較され、比較結果に応じて発音の優先順位
が決定され、それに応じて発音の停止、切り替えが行わ
れる。
FIG. 5 shows how the array 210 is used in the MPU 200 in order to realize the tone generation operation shown in FIG. Here, for example, there are five arrangements in the MPU 200, and there are also five sounding means in the sound source unit 300, so that the maximum number of simultaneous sounds of the sound source device is 5
Becomes When a sound is requested by the MIDI data, the MPU 200 first checks whether or not there is an empty space in the array. If there is an empty space, the MIDI data is stored there, and the sound source unit 300 is sounded according to the stored data. An instruction is issued, and a sound is generated by the sound source unit 300 in response to the instruction. On the other hand, in a state where the sound source device has already generated a sound having the maximum number of simultaneous sounds, that is, in a state where there is no space in the arrangement of the MPU 200, the sound requested by the MIDI data and the sound currently being sounded are compared, and the comparison result is obtained. , The priority of sound generation is determined, and sound generation is stopped and switched accordingly.

【0026】即ち、最大同時発音数で音を発生している
音源装置に新しい発音要求がきたとき、音の特性に基づ
き発音の優先順位が決定され、最も優先順位の低い発音
がノートオフされ、新しい発音がノートオンされる。本
発明は音源装置における発音の優先順位の決定およびそ
れに基づく発音の切り換え動作を中心に工夫されたもの
であり、本発明により音源装置の最大同時発音数を越え
た同時発音が要求されたとき、聴感上違和感のない音を
発生できることは最大の特徴である。以下、図6〜図1
5を参照しつつ、本発明の音源装置に係る幾つかの実施
例について詳細に説明し、本発明の特徴をより明白にす
る。なお、以下に示す実施例は、すべて図2に示すフロ
ーチャートのステップSS6のノートオン処理部分に該
当する。
That is, when a new sound generation request is issued to the sound source device that is generating the sound with the maximum number of simultaneous sounds, the sound generation priority is determined based on the sound characteristics, and the sound with the lowest priority is note-off, The new pronunciation is note-on. The present invention is devised mainly on the determination of the priority of sound generation in the sound source device and the switching operation of the sound generation based thereon, and when simultaneous sounding exceeding the maximum number of simultaneous sounds of the sound source device is requested by the present invention, The greatest feature is that it can generate a sound that does not give a sense of incongruity. Hereinafter, FIGS. 6 to 1
5, some embodiments of the sound source device of the present invention will be described in detail to clarify the features of the present invention. The following embodiments all correspond to the note-on processing in step SS6 of the flowchart shown in FIG.

【0027】第1実施例 図6は本発明の第1の実施例を示す図であり、MPU2
00の配列210の状況を示す図である。ここで配列2
10は、音の特性を制御する発音データを格納するデー
タ格納手段、例えば、レジスタ、メモリ装置などから構
成されている。なお、説明のため本例においては、配列
の数は5であり、即ち最大同時発音数は5である。実際
の音源装置の最大同時発音数はこれに限られない。
[0027] First Embodiment FIG. 6 is a diagram showing a first embodiment of the present invention, MPU 2
FIG. 9 is a diagram showing a situation of an array 210 of 00. Where array 2
Reference numeral 10 denotes data storage means for storing pronunciation data for controlling sound characteristics, such as a register and a memory device. For the sake of explanation, in this example, the number of arrangements is 5, that is, the maximum number of simultaneous sounds is 5. The maximum number of simultaneous sounds of the actual sound source device is not limited to this.

【0028】本実施例は人間の耳が大きな音に混じった
小さな音の変化には鈍感であるという性質を利用したも
のであり、音源装置の最大同時発音数を上回る発音が要
求されたとき音量の最も小さい発音を停止させ、空き領
域を新しい音の発生に利用する。図6には、各配列に格
納されている発音データの音量データを示している。こ
こで、音の音量は音量データの値に比例するものとす
る。図6に示すように、発音データを格納するすべての
配列にデータが入っている状態で新しい発音要求を受け
たとき、即ち、音源装置の最大同時発音数を上回る発音
が要求されたとき、MPU200により各配列に格納さ
れている音量データの値が比較され、音量データの値が
最も小さい音がノートオフされる。MPU200により
この発音データが配列から取り除かれ、空き領域が前詰
めされ、空いている配列に新しい発音データが格納され
る。この発音データに応じて音源部300に新しい音が
ノートオンされる。
This embodiment makes use of the property that the human ear is insensitive to changes in small sounds mixed with loud sounds. Is stopped and the empty area is used for generating a new sound. FIG. 6 shows the sound volume data of the sound data stored in each array. Here, it is assumed that the volume of the sound is proportional to the value of the volume data. As shown in FIG. 6, when a new sound generation request is received in a state where data is stored in all arrays for storing sound generation data, that is, when a sound generation exceeding the maximum number of simultaneous sounds of the tone generator is requested, the MPU 200 , The values of the volume data stored in the respective arrays are compared, and the sound with the smallest value of the volume data is note-off. This sound data is removed from the array by the MPU 200, the empty area is left-justified, and new sound data is stored in the empty array. A new sound is note-on to the tone generator 300 according to the sound data.

【0029】図7は第1の実施例の動作を示すフローチ
ャートである。以下、図7を参照しつつ、本実施例にお
けるノートオン動作について説明する。まず、ステップ
S1に示す判定処理が行われ、配列に空き領域があるか
否かが検査され、空き領域がある場合、ステップS6に
示す処理が行われ、空いている配列に発音データが書き
込まれ、そしてステップS7に示すように新しい音のノ
ートオンが実行される。
FIG. 7 is a flowchart showing the operation of the first embodiment. Hereinafter, the note-on operation in this embodiment will be described with reference to FIG. First, the determination processing shown in step S1 is performed, and it is checked whether or not there is an empty area in the array. If there is an empty area, the processing shown in step S6 is performed, and the sound data is written in the empty array. , And note-on of a new sound is executed as shown in step S7.

【0030】一方、ステップS1の判定処理で空きの配
列がないと判断したとき、ステップS2〜S5の処理、
即ちダイナミック・ボイス・アロケーション(DVA)
処理が行われる。まず、配列の中に音量が最も小さい音
が抽出され、その音がノートオフされる。そして、その
音の発音データが配列から取り除かれ、空き領域が前詰
めされ、新しい発音データを格納する空き配列領域が用
意される。そして、ステップS6およびS7に示すよう
に空いている配列に新しい音のノートオンデータが書き
込まれ、これに応じて新しい音がノートオンされる。
On the other hand, when it is determined in step S1 that there is no empty array, the processing in steps S2 to S5
That is, dynamic voice allocation (DVA)
Processing is performed. First, the loudest sound is extracted from the array, and the sound is note-off. Then, the sound data of the sound is removed from the array, the empty area is left-justified, and an empty array area for storing new sound data is prepared. Then, as shown in steps S6 and S7, note-on data of the new sound is written in the empty array, and the new sound is note-on in response thereto.

【0031】なお、以上の説明において、発音手段31
0の音量を制御する音量データをMPU200の配列2
10で管理しているが、実際の音源装置はこれに限ら
ず、例えば、音源部300の発生音量に当たる値を基
に、取り除く音を判断しても良い。
In the above description, the sound generating means 31
The volume data for controlling the volume of 0 is stored in the array 2 of the MPU 200.
Although it is managed by 10, the actual sound source device is not limited to this. For example, the sound to be removed may be determined based on a value corresponding to the volume generated by the sound source unit 300.

【0032】以上説明したように、本実施例によれば、
MIDIデータにより新しい発音が要求されたとき、M
PU200により配列210に空き領域があるか否かを
判断し、空き領域がある場合に、そこに新しい音の発音
データを格納し、これに応じて新しい音を発生する。配
列210に空き領域がない場合に、配列中の音量が最も
小さいものを探し、その音をノートオフし、その音の発
音データを配列210から取り除き、空き領域を前詰め
して、新しいデータを格納する空き領域を用意する。そ
して、空き領域に新しい音の発音データを格納し、それ
に応じて新しい音をノートオンするので、音源装置の最
大同時発音数を越えた発音が要求されたとき、最も音量
の小さい発音が停止され、新しい発音に切り換えられ、
聴感上音の不自然さを解消できる。
As described above, according to this embodiment,
When a new pronunciation is requested by MIDI data, M
The PU 200 determines whether or not there is an empty area in the array 210. If there is an empty area, the sound data of a new sound is stored therein, and a new sound is generated accordingly. If there is no free space in the array 210, search for the lowest volume in the array, note off the sound, remove the sound data of the sound from the array 210, trim the free space, and add new data. Prepare a free area to store. Then, the sound data of the new sound is stored in the empty area, and the new sound is note-oned accordingly. Therefore, when a sound exceeding the maximum polyphony of the sound source device is requested, the sound with the lowest volume is stopped. , Switched to a new pronunciation,
The unnaturalness of the sound can be eliminated in the sense of hearing.

【0033】第2実施例 図8は本発明の第2の実施例を示す図であり、MPU2
00の配列210の状況を示す図である。前述した第1
の実施例と同じく、MPU200に設けられている配列
210に音の特性を制御する発音データが格納されてい
る。
Second Embodiment FIG. 8 is a diagram showing a second embodiment of the present invention.
FIG. 9 is a diagram showing a situation of an array 210 of 00. The first mentioned above
As in the embodiment, the sound generation data for controlling the sound characteristics is stored in the array 210 provided in the MPU 200.

【0034】本実施例は人間の耳が低い音の変化には鈍
感であるという性質を利用したものであり、音源装置の
最大同時発音数を上回る発音が要求されたとき音程の最
も低い発音を停止させ、空き領域を新しい音の発生に利
用する。図8には、各配列に格納されている発音データ
の音程データを示している。ここで、音の音程は音程デ
ータの値に比例するものとする。図8に示すように、発
音データを格納するすべての配列にデータが入っている
状態で新しい発音要求を受けたとき、即ち、音源装置の
最大同時発音数を上回る発音が要求されたとき、MPU
により各配列に格納されている音程データの値が比較さ
れ、音程データの値が最も小さい音がノートオフされ
る。MPUによりこの発音データが配列から取り除か
れ、空き領域が前詰めされ、空いている配列に新しい発
音データが格納される。この発音データに応じて新しい
音がノートオンされる。
The present embodiment makes use of the property that the human ear is insensitive to changes in low sounds, and when a sound that exceeds the maximum number of simultaneous sounds of the sound source device is requested, the sound with the lowest pitch is generated. Stop and use the free space for new sounds. FIG. 8 shows the pitch data of the tone generation data stored in each array. Here, it is assumed that the pitch of the sound is proportional to the value of the pitch data. As shown in FIG. 8, when a new sound generation request is received in a state where data is stored in all the arrays for storing sound generation data, that is, when a sound generation exceeding the maximum number of simultaneous sounds of the tone generator is requested, the MPU
, The values of the pitch data stored in the respective arrays are compared, and the note having the smallest value of the pitch data is note-off. This sound data is removed from the array by the MPU, the empty area is left-justified, and new sound data is stored in the empty array. A new sound is note-on according to the sound data.

【0035】図9は第2の実施例の動作を示すフローチ
ャートである。以下、図9を参照しつつ、本実施例にお
けるノートオン動作について説明する。まず、ステップ
S1に示す判定処理が行われ、配列に空き領域があるか
否かが検査され、空き領域がある場合、ステップS6に
示す処理が行われ、空いている配列に発音データが書き
込まれ、そしてステップS7に示すように新しい音のノ
ートオンが実行される。
FIG. 9 is a flowchart showing the operation of the second embodiment. Hereinafter, the note-on operation in this embodiment will be described with reference to FIG. First, the determination processing shown in step S1 is performed, and it is checked whether or not there is an empty area in the array. If there is an empty area, the processing shown in step S6 is performed, and the sound data is written in the empty array. , And note-on of a new sound is executed as shown in step S7.

【0036】一方、ステップS1の判定処理で空きの配
列がないと判断したとき、ステップS2〜S5の処理が
行われる。まず、配列の中に音程の最も低い音が抽出さ
れ、その音がノートオフされる。そして、その音の発音
データが配列から取り除かれ、空き領域が前詰めされ、
新しい発音データを格納する空き配列領域が用意され
る。
On the other hand, when it is determined in step S1 that there is no empty array, steps S2 to S5 are performed. First, the lowest pitched note is extracted from the array, and the note is turned off. Then, the pronunciation data of the sound is removed from the array, the empty area is shifted to the left,
An empty array area for storing new sound data is prepared.

【0037】そして、ステップS6およびS7に示すよ
うに空いている配列に新しい音のノートオンデータが書
き込まれ、これに応じて新しい音がノートオンされる。
Then, as shown in steps S6 and S7, note-on data of a new sound is written in an empty array, and a new sound is turned on in response thereto.

【0038】以上説明したように、本実施例によれば、
MIDIデータにより新しい発音が要求されたとき、M
PU200により配列210に空き領域があるか否かを
判断し、空き領域がある場合に、そこに新しい音の発音
データを格納し、これに応じて新しい音を発生する。配
列に空き領域がない場合に、配列中の音程が最も低いも
のを探し、その音をノートオフし、その音の発音データ
を配列から取り除き、空き領域を前詰めして、新しいデ
ータを格納する空き領域を用意する。そして、空き領域
に新しい音の発音データを格納し、それに応じて新しい
音をノートオンするので、音源装置の最大同時発音数を
越えた発音が要求されたとき、最も音程の低い発音が停
止され、新しい発音に切り換えられ、聴感上音の不自然
さを解消できる。
As described above, according to this embodiment,
When a new pronunciation is requested by MIDI data, M
The PU 200 determines whether or not there is an empty area in the array 210. If there is an empty area, the sound data of a new sound is stored therein, and a new sound is generated accordingly. If there is no free space in the array, search for the lowest pitch in the array, note off that sound, remove the sound data for that sound from the array, trim the free space, and store the new data Prepare free space. Then, the sound data of the new sound is stored in the empty area, and the new sound is note-oned accordingly. Therefore, when a sound exceeding the maximum polyphony of the sound source device is requested, the sound with the lowest pitch is stopped. The sound is switched to a new sound, and the unnaturalness of the sound can be eliminated.

【0039】第3実施例 図10は本発明の第3の実施例を示す図である。図10
に示すように、MPU200に設けられている配列21
0に音の特性を制御する発音データがそれぞれ格納され
ている。本実施例は音の諸特性の内、音色を利用してノ
ートオフする音を決める。同じ音色または似通った音色
があればそれを取り除くか、同じ音色または似通った音
色が複数あればその内の一つを取り除く。最大同時発音
数を上回る発音が要求されたとき、要求された音と同
じ、または似通った音色を有する音をノートオフする
か、または複数の同じ音色の音の内一つをノートオフし
て、ノートオフした音の発音データを配列から取り除
き、空き領域が前詰めされ、それにより生じた空き配列
領域に新しい音の発音データを格納する。
Third Embodiment FIG. 10 is a view showing a third embodiment of the present invention. FIG.
As shown in the figure, the array 21 provided in the MPU 200
0 stores sound generation data for controlling sound characteristics. In the present embodiment, a note-off sound is determined using a timbre among various characteristics of the sound. If there is the same tone or similar tone, remove it, or if there are multiple same tone or similar tone, remove one of them. When a pronunciation exceeding the maximum polyphony is requested, a note having the same or similar tone as the requested tone is note-off, or one of a plurality of the same tones is note-off, The sound data of the note-off sound is removed from the array, the empty area is left-justified, and the sound data of the new sound is stored in the resulting empty array area.

【0040】図10には、各配列に格納されている発音
データの音色を示している。図10(a)に示すよう
に、要求された発音の音色がピアノの場合に、MPUに
より現在発音中の音の内、同じくピアノの音色を持つ音
があるか否かを探し、それを見つけた場合、その音をノ
ートオフし、ノ−トオフした音の発音デ−タを配列から
取り除き、空き領域が前詰めされ、これにより生じた空
き配列に新しい発音データを格納し、それをノートオン
する。
FIG. 10 shows the timbre of the tone generation data stored in each array. As shown in FIG. 10 (a), when the requested tone is a piano, the MPU searches for a sound having the same piano tone among the currently sounding sounds, and finds it. In this case, the sound is note-offed, the sounding data of the note-off sound is removed from the array, the empty area is left-justified, the new sounding data is stored in the resulting empty array, and the note-on is performed. I do.

【0041】図10(b)に示すように、要求された発
音の音色がピアノの場合に、MPUにより現在発音中の
音の内、同じ音色を有する音を探し、図示の例では同じ
くギターの音色を持つ三つの音が発生されている。この
場合、三つのギターの音の内一つをノートオフし、ノ−
トオフした音の発音デ−タを配列から取り除き、空き領
域が前詰めされ、これにより生じた空き配列に新しい発
音データを格納し、それをノートオンする。
As shown in FIG. 10 (b), when the requested tone is the piano, the MPU searches for a tone having the same tone from the currently sounding tone. Three sounds with tones are generated. In this case, note off one of the three guitar sounds,
The sound data of the sound which has been turned off is removed from the array, the empty area is left-justified, new sound data is stored in the resulting empty array, and the note-on is performed.

【0042】図11および図12はそれぞれ図10
(a)および図10(b)の切り換え動作を示すフロー
チャートである。以下、これらのフローチャートを参照
しつつ、本実施例の動作について説明する。図11に示
すように、新しい発音要求を受けたとき、まず、ステッ
プS1に示す判定動作が行われ、配列に空き領域がある
か否かが検査され、空き領域がある場合、ステップS6
に示す処理が行われ、空いている配列に新しい発音デー
タが書き込まれ、そしてステップS7に示すように新し
い音のノートオンが実行される。
FIG. 11 and FIG.
It is a flowchart which shows the switching operation of (a) and FIG.10 (b). Hereinafter, the operation of the present embodiment will be described with reference to these flowcharts. As shown in FIG. 11, when a new sound generation request is received, first, the determination operation shown in step S1 is performed, and it is checked whether or not there is a free area in the array.
Is performed, new sound data is written in the empty array, and note-on of a new sound is executed as shown in step S7.

【0043】一方、ステップS1の判定処理で空きの配
列がないと判断したとき、ステップS2〜S5の処理が
行われる。まず、配列の中から要求された発音と同じ音
色を持つ音が抽出され、その音がノートオフされる。そ
して、その音の発音データが配列から取り除かれ、空き
領域が前詰めされ、新しい発音データを格納する空き配
列領域が用意される。
On the other hand, when it is determined in the determination processing in step S1 that there is no empty array, the processing in steps S2 to S5 is performed. First, a sound having the same timbre as the requested pronunciation is extracted from the array, and the sound is note-off. Then, the sound data of the sound is removed from the array, the empty area is left-justified, and an empty array area for storing new sound data is prepared.

【0044】そして、ステップS6およびS7に示すよ
うに空いている配列に新しい音のノートオンデータが書
き込まれ、これに応じて新しい音がノートオンされる。
Then, as shown in steps S6 and S7, note-on data of a new sound is written in the empty array, and the new sound is turned on in response to this.

【0045】この処理は発音中の音に要求された発音と
同じ音色がない場合に、ノートオフする音を決定でき
ず、空き領域を用意することができない。この場合には
図12に示す別の処理方法で処理することができる。音
源装置の最大同時発音数を上回る発音が要求されたと
き、図12のステップS2に示すように、現在発音中の
音の内、同じ音色を有する複数の音が判定され、その内
の一つがノートオフされる。そして、その音の発音デー
タが配列から取り除かれ、空き領域が前詰めされ、新し
い発音データを格納する空き配列領域が用意される。
In this process, when the tone being sounded does not have the same tone color as the requested tone, the note-off sound cannot be determined, and an empty area cannot be prepared. In this case, processing can be performed by another processing method shown in FIG. When a sound that exceeds the maximum number of simultaneous sounds of the sound source device is requested, a plurality of sounds having the same timbre are determined among the sounds currently being generated, as shown in step S2 of FIG. 12, and one of them is determined. Note-off. Then, the sound data of the sound is removed from the array, the empty area is left-justified, and an empty array area for storing new sound data is prepared.

【0046】以上説明したように、本実施例によれば、
MIDIデータにより新しい発音が要求されたとき、M
PU200により配列210に空き領域があるか否かを
判断し、空き領域がある場合に、そこに新しい音の発音
データを格納し、これに応じて新しい音を発生する。配
列に空き領域がない場合に、現在発音中の音の内要求さ
れた発音と同じ音色を持つ音を探し、その音をノートオ
フする。または、現在発音中の音の内同じ音色を有する
複数の音を探し、その内一つをノートオフする。その音
の発音データを配列から取り除き、空き領域を前詰めし
て、新しいデータを格納する空き領域を用意する。そし
て、空き領域に新しい音の発音データを格納し、それに
応じて新しい音をノートオンするので、音源装置の最大
同時発音数を越えた発音が要求されたとき、似通った音
色、または複数の同じ音色の音の内一つが停止され、新
しい発音に切り換えられ、聴感上音の不自然さを解消で
きる。
As described above, according to this embodiment,
When a new pronunciation is requested by MIDI data, M
The PU 200 determines whether or not there is an empty area in the array 210. If there is an empty area, the sound data of a new sound is stored therein, and a new sound is generated accordingly. If there is no free space in the array, a sound having the same timbre as the requested sound is searched for among the currently sounding sounds, and the sound is note-offed. Alternatively, a plurality of sounds having the same timbre are searched for among the currently sounding sounds, and one of them is note-off. The sound data of the sound is removed from the array, the free space is shifted to the left, and a free space for storing new data is prepared. Then, the sound data of the new sound is stored in the empty area, and the new sound is note-oned accordingly, so that when a sound exceeding the maximum polyphony of the sound source device is requested, a similar sound or a plurality of the same sounds are generated. One of the timbre sounds is stopped, switched to a new sound, and the unnaturalness of the sound can be eliminated in terms of audibility.

【0047】第4実施例 本実施例は、最も以前に発音した音を取り除く方式と、
優先順位の低いチャンネルを取り除く方式の二つの方式
に、前述した本発明の第1〜第3の実施例の何れかを組
み合わせることによって、各方式の効果が最大限に発揮
させるものである。ここで、本発明の第1の実施例、即
ち、音量を最も小さい音を取り除く方式と組み合わせた
方式を例として説明する。
Fourth Embodiment In this embodiment, a method for removing the earliest generated sound,
By combining any one of the above-described first to third embodiments of the present invention with the two schemes for removing channels with lower priorities, the effects of each scheme are maximized. Here, a first embodiment of the present invention, that is, a system in which a volume is combined with a system for removing a sound with the lowest volume will be described as an example.

【0048】図13および14は本発明の第4の実施例
を示す図である。以下、これらの図を参照しつつ、本実
施例について説明する。インデックスは発音システムの
番号、CHは発音中のチャンネル番号である。図13
(a)はすべての発音システムが発音状態であることを
示しており、このときMIDIデータにより新しい発音
要求がきた場合の処理を以下に示す。
FIGS. 13 and 14 show a fourth embodiment of the present invention. Hereinafter, the present embodiment will be described with reference to these drawings. The index is the number of the sounding system, and CH is the number of the channel being sounded. FIG.
(A) shows that all the sounding systems are in a sounding state. At this time, processing when a new sounding request is received by MIDI data is shown below.

【0049】図13(b)に示すように、チャンネルの
優先順位により各発音システムを並べ替える。並べ替え
た後、各発音システムに0から4までの重みをそれぞれ
付ける。そして、図13(c)に示すように、音量の大
きさにより各発音システムを並べ替える。並べ替えた
後、各発音システムに0から4までの重みをそれぞれ付
ける。
As shown in FIG. 13B, the tone generation systems are rearranged according to the priority order of the channels. After rearranging, each sound system is weighted from 0 to 4. Then, as shown in FIG. 13C, the sound generation systems are rearranged according to the magnitude of the volume. After rearranging, each sound system is weighted from 0 to 4.

【0050】図14(a)は、各発音システム毎に図1
3(b)および図13(c)に示す重みのポイントを集
計した結果を示している。合計ポイントの最も少ない発
音システム、この例では、インデックス2の発音システ
ムの現在の発音がノートオフされる。そして、これによ
り生じた空き領域がMIDIデータにより指示された新
しい発音に用いられる。
FIG. 14A shows FIG. 1 for each sound generation system.
14 shows the result of totalizing the weight points shown in FIG. 3 (b) and FIG. 13 (c). The current pronunciation of the pronunciation system with the least total points, in this example the index 2 pronunciation system, is note-off. The resulting free space is used for a new tone specified by the MIDI data.

【0051】さらに、本実施例では、重み付けを各方式
または各方式での発音システム毎に変えることにより、
各方式の影響度を簡単に変えることができる。例えば、
図14(b)に示すように、発音の音量の大きさにより
各発音システムを並べ替える。並べ替えた後、各発音シ
ステムに0,2,4,6,8の重みをそれぞれ付ける。
即ち、図13(c)に較べて音量に応じて重み付けした
点数が2倍となる。そして、各発音システム毎にポイン
トを合計し、図14(c)に示す結果となる。ここで、
合計点数の低いインデックス0、2および4チャンネル
の内、最も以前に発音した音であるインデックス0の音
がノートオフされ、新しい発音に切り換えられる。
Further, in the present embodiment, the weighting is changed for each system or for each sounding system in each system.
The influence of each method can be easily changed. For example,
As shown in FIG. 14B, the sound systems are rearranged according to the sound volume of the sound. After the rearrangement, weights of 0, 2, 4, 6, and 8 are assigned to the respective sound systems.
That is, the number of points weighted according to the sound volume is doubled as compared with FIG. Then, the points are totaled for each sounding system, and the result shown in FIG. 14C is obtained. here,
Of the index 0, 2 and 4 channels with the lowest total score, the note with the index 0, which is the earliest sound, is note-off and switched to a new sound.

【0052】図15は本実施例におけるノートオン動作
のフローチャートである。図15に示すように、新しい
発音要求を受けたとき、まず、ステップS1に示す判定
動作が行われ、配列に空き領域があるか否かが検査さ
れ、空き領域がある場合、ステップS12に示す処理が
行われ、空いている配列に新しい発音データが書き込ま
れ、そしてステップS13に示すように新しい音のノー
トオンが実行される。
FIG. 15 is a flowchart of the note-on operation in this embodiment. As shown in FIG. 15, when a new sound generation request is received, first, the determination operation shown in step S1 is performed, and it is checked whether or not there is an empty area in the array. The process is performed, new sound data is written in the empty array, and note-on of a new sound is executed as shown in step S13.

【0053】一方、ステップS1の判定処理で空きの配
列がないと判断したとき、ステップS2〜S11の処理
が行われる。まず、ステップS2に示すように作業用配
列1と2が二つ用意される。そして、ステップS3,S
4に示すように、配列1にインデックスとチャンネルが
ペアで格納され、配列2にインデックスと音量がペアで
格納される。
On the other hand, when it is determined in step S1 that there is no empty array, steps S2 to S11 are performed. First, two work arrays 1 and 2 are prepared as shown in step S2. Then, steps S3 and S
As shown in FIG. 4, the array 1 stores the index and the channel as a pair, and the array 2 stores the index and the volume as a pair.

【0054】次いで、ステップS5,S6に示すよう
に、チャンネル優先順位により配列1が並べ替えられ
(ソート)、音量により配列2が並べ替えられる。並べ
替えた後、それぞれのインデックスに重み付けが行われ
る。そして、ステップS8に示すように各インデックス
毎に重み付けのポイントの合計結果が求められ、合計の
最小値が決定される。
Next, as shown in steps S5 and S6, array 1 is rearranged (sorted) by channel priority, and array 2 is rearranged by volume. After sorting, each index is weighted. Then, as shown in step S8, the total result of the weighted points is obtained for each index, and the minimum value of the total is determined.

【0055】ステップS9に示すように、ポイント合計
値の最小のインデックスの発音がノートオフされ、その
発音データが配列から取り除かれ、配列が前詰めされて
新しい音の発音データを格納するための空き領域が用意
される。そして、ステップS12および13に示すよう
に、空き領域に新しい音の発音データが格納され、新し
い音がノートオンされる。
As shown in step S9, the sound with the smallest index of the total point value is note-off, the sound data is removed from the array, and the array is left-justified to store empty sound data for a new sound. An area is prepared. Then, as shown in steps S12 and S13, the sound data of the new sound is stored in the empty area, and the new sound is turned on.

【0056】以上の説明では、発音中の音の音量を基準
とする重み付けを例として説明したが、本実施例はこれ
に限定するものではなく、音の他の特性、例えば、音程
および音色などを基準として重み付けを行うこともでき
る。実際の音源装置において、調整の目的などに応じて
重み付けの基準および重みのポイントを決定することに
より、各方式の最適なバランスが調整でき、音源装置の
システム全体を調整するとき非常に有効な手段となる。
In the above description, the weighting based on the volume of the sound being produced has been described as an example. However, the present embodiment is not limited to this, and other characteristics of the sound, such as pitch and timbre, are used. Can be weighted on the basis of. In an actual sound source device, the optimal balance of each method can be adjusted by determining the weighting reference and the weighting point according to the purpose of adjustment, etc., which is a very effective means for adjusting the entire sound source device system. Becomes

【0057】以上説明したように、本実施例によれば、
音源装置の最大同時発音数を上回る発音が要求されたと
き、チャンネルの優先順位および音の音量により、それ
ぞれ各発音システムを並べ替えて、順次重み付けを行い
それぞれ異なるポイントを付与する。そして、各発音シ
ステムに重み付けのポイント数を合計し、合計点数の最
も低い発音システムの音をノートオフし、新しい音に切
り換えるので、重み付け点数に応じて現在発音中の音を
ノートオフし、新しい音に切り換え、重み付けの基準お
よび重み付けの点数に応じて音源装置を調整することが
でき、調整の目的に応じて各方式の最適なバランスが調
整できる。
As described above, according to this embodiment,
When a sound generation exceeding the maximum number of simultaneous sounds of the sound source device is requested, each sound generation system is rearranged according to the priority of the channel and the sound volume of the sound, and weighted sequentially to give different points. Then, the number of weighted points is totaled for each pronunciation system, and the sound of the pronunciation system with the lowest total score is note-offed and switched to a new sound. Switching to sound, the tone generator can be adjusted according to the weighting reference and weighting score, and the optimal balance of each method can be adjusted according to the purpose of the adjustment.

【0058】[0058]

【発明の効果】以上説明したように、本発明の音源装置
によれば、同時発音数の多い発音信号、例えば、MID
Iデータに対応でき、最大同時発音数の制限を受けるこ
となく聴感上の違和感を解消できる利点がある。また、
本発明によれば、チャンネル数の優先順位などを考慮し
ていないMIDIデータ、または同時発音数の多いMI
DIデータに有効に対応でき、MIDIデータを作成す
る際に音源装置の最大同時発音数により生じた制限を気
にすることなく作成できる利点がある。
As described above, according to the tone generator of the present invention, a sound signal having a large number of simultaneous sounds, for example, MID
There is an advantage that it is possible to cope with I data and to eliminate discomfort in hearing without being restricted by the maximum number of simultaneous sounds. Also,
According to the present invention, MIDI data that does not take into account the priority of the number of channels,
There is an advantage that it is possible to effectively deal with DI data and to create MIDI data without worrying about restrictions imposed by the maximum number of simultaneous sounds of the tone generator when creating MIDI data.

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

【図1】図1は本発明に係る音源装置の構成を示すブロ
ック図である。
FIG. 1 is a block diagram showing a configuration of a sound source device according to the present invention.

【図2】音源装置の発声動作を示すフローチャートであ
る。
FIG. 2 is a flowchart illustrating a utterance operation of the sound source device.

【図3】ノートオフ処理を示すフローチャートである。FIG. 3 is a flowchart illustrating a note-off process.

【図4】音源装置の同時発音状態を示す概念図である。FIG. 4 is a conceptual diagram showing a simultaneous sound generation state of a sound source device.

【図5】音源装置の配列の使用状況を示す図である。FIG. 5 is a diagram showing a use situation of an array of sound source devices.

【図6】本発明に係る音源装置の第1の実施例を示す配
列図である。
FIG. 6 is an array diagram showing a first embodiment of a sound source device according to the present invention.

【図7】第1の実施例のノートオン動作を示すフローチ
ャートである。
FIG. 7 is a flowchart illustrating a note-on operation of the first embodiment.

【図8】本発明に係る音源装置の第2の実施例を示す配
列図である。
FIG. 8 is an arrangement diagram showing a second embodiment of the sound source device according to the present invention.

【図9】第2の実施例のノートオン動作を示すフローチ
ャートである。
FIG. 9 is a flowchart illustrating a note-on operation of the second embodiment.

【図10】本発明に係る音源装置の第3の実施例を示す
配列図である。
FIG. 10 is an array diagram showing a third embodiment of the sound source device according to the present invention.

【図11】第3の実施例のノートオン動作を示すフロー
チャートである。
FIG. 11 is a flowchart illustrating a note-on operation of the third embodiment.

【図12】第3の実施例のノートオン動作を示すフロー
チャートである。
FIG. 12 is a flowchart illustrating a note-on operation of the third embodiment.

【図13】本発明に係る音源装置の第4の実施例を示す
概念図である。
FIG. 13 is a conceptual diagram showing a fourth embodiment of the sound source device according to the present invention.

【図14】本発明に係る音源装置の第4の実施例を示す
概念図である。
FIG. 14 is a conceptual diagram showing a fourth embodiment of the sound source device according to the present invention.

【図15】第4の実施例のノートオン動作を示すフロー
チャートである。
FIG. 15 is a flowchart illustrating a note-on operation of the fourth embodiment.

【図16】音源装置を有する発声システムの一構成例を
示す図である。
FIG. 16 is a diagram illustrating an example of a configuration of an utterance system having a sound source device.

【図17】発声データ処理用アプリケーションプログラ
ムのフローチャートである。
FIG. 17 is a flowchart of an utterance data processing application program.

【図18】MIDIデータイベントメッセージの一部分
を示す図である。
FIG. 18 is a diagram showing a part of a MIDI data event message.

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

10…発声データ生成部、20…データ転送ケーブル、
30…音源装置、31…インターフェース、32…MP
U、33…音源装置、34…DAC、40…オーディオ
ケーブル、50…オーディオ増幅器、60…スピーカ、
100…インターフェース、200…MPU、210…
発音データを格納する配列、300…音源部、310…
発音手段、400…発音システム。
10 utterance data generator, 20 data transfer cable,
30 ... sound source device, 31 ... interface, 32 ... MP
U, 33: sound source device, 34: DAC, 40: audio cable, 50: audio amplifier, 60: speaker,
100 interface, 200 MPU, 210
Array for storing pronunciation data, 300 ... sound source section, 310 ...
Sounding means, 400 ... sounding system.

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】複数の発音手段を有し、各発音手段は発音
信号の指示に基づいた特性の音を発生するように制御さ
れる音源装置であって、 上記発音信号から上記発音手段の数を越えた複数の音の
発生指示を受けたとき、上記各発音手段で発生中の音と
上記発音信号により指示された音の特性を比較して、比
較結果に応じて上記発音手段の内所定の音を発生する発
音手段を停止させ、発音信号により指示された音を発生
させる発音制御手段を有する音源装置。
1. A sound source device having a plurality of sounding means, each sounding means being controlled to generate a sound having a characteristic based on an instruction of a sounding signal. When receiving an instruction to generate a plurality of sounds exceeding the number of sounds, the characteristics of the sound being generated by each of the sounding means and the sound specified by the sounding signal are compared, and a predetermined one of the sounding means is determined according to the comparison result. A sound source device having sound generation control means for stopping the sound generation means for generating the sound of (i) and generating the sound specified by the sound generation signal.
【請求項2】上記発音制御手段は、上記複数の発音手段
の内、音量の小さい音を発生する発音手段を停止させ、
上記発音信号により指示した音を発生させる請求項1記
載の音源装置。
2. The sounding control means stops sounding means for generating a low volume sound among the plurality of sounding means,
2. The sound source device according to claim 1, wherein a sound specified by the sound signal is generated.
【請求項3】上記発音制御手段は、上記複数の発音手段
の内、音程の低い音を発生する発音手段を停止させ、上
記発音信号により指示された音を発生させる請求項1記
載の音源装置。
3. The sound source device according to claim 1, wherein said sound generation control means stops a sound generation means for generating a sound with a low pitch out of said plurality of sound generation means, and generates a sound specified by said sound generation signal. .
【請求項4】上記発音制御手段は、上記複数の発音手段
の内、上記発音信号により指示された音と同じ音色を発
生する発音手段の音を停止させ、上記発音信号により指
示された音を発生させる請求項1記載の音源装置。
4. The sounding control means stops sound of a sounding means which generates the same timbre as a sound specified by the sounding signal among the plurality of sounding means, and plays a sound specified by the sounding signal. The sound source device according to claim 1, which generates the sound.
【請求項5】上記発音制御手段は、上記複数の発音手段
により生成されている同じ音色を有する音を検出し、そ
の内の何れかを停止させ、上記発音信号により指示され
た音を発生させる請求項1記載の音源装置。
5. The sounding control means detects sounds having the same timbre generated by the plurality of sounding means, stops any of the sounds, and generates a sound specified by the sounding signal. The sound source device according to claim 1.
【請求項6】上記発音制御手段は、チャンネルの優先順
位に応じて各発音手段に重み付けを行い、各発音手段に
それぞれ第1のポイントを付与する第1の重み付け手段
と、 音の特性に応じて各発音手段に重み付けを行い、各発音
手段にそれぞれ第2のポイントを付与する第2の重み付
け手段と、 各発音手段の上記第1および第2のポイントの合計をそ
れぞれ求める合計手段と、 上記各発音手段の上記合計ポイント数に応じて、一つの
発音を停止させ、上記発音信号により指示された音を発
生させる切り換え手段とを有する請求項1記載の音源装
置。
6. The sounding control means weights each sounding means in accordance with the priority of the channel, assigns a first point to each sounding means, and assigns a first point to each sounding means. A second weighting means for weighting each sounding means to give a second point to each sounding means, a summing means for respectively calculating a sum of the first and second points of each sounding means, 2. The sound source device according to claim 1, further comprising switching means for stopping one sounding in accordance with the total number of points of each sounding means and generating a sound specified by the sounding signal.
【請求項7】上記第2の重み付け手段は、各発音手段の
発生する音の音量に応じて重み付けを行う請求項6記載
の音源装置。
7. The sound source device according to claim 6, wherein said second weighting means performs weighting according to a volume of a sound generated by each sounding means.
【請求項8】上記第2の重み付け手段は、各発音手段の
発生する音の音程に応じて重み付けを行う請求項6記載
の音源装置。
8. The sound source device according to claim 6, wherein said second weighting means weights according to a pitch of a sound generated by each sounding means.
【請求項9】上記発音信号は、MIDI(音楽機器ディ
ジタルインターフェース)データである請求項1記載の
音源装置。
9. The sound source device according to claim 1, wherein said sound generation signal is MIDI (music device digital interface) data.
JP9031805A 1997-02-17 1997-02-17 Sound source device Pending JPH10228282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9031805A JPH10228282A (en) 1997-02-17 1997-02-17 Sound source device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9031805A JPH10228282A (en) 1997-02-17 1997-02-17 Sound source device

Publications (1)

Publication Number Publication Date
JPH10228282A true JPH10228282A (en) 1998-08-25

Family

ID=12341317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9031805A Pending JPH10228282A (en) 1997-02-17 1997-02-17 Sound source device

Country Status (1)

Country Link
JP (1) JPH10228282A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003015690A (en) * 2001-06-29 2003-01-17 Dainippon Printing Co Ltd Encoding method for acoustic signal
JP2009008934A (en) * 2007-06-28 2009-01-15 Brother Ind Ltd Music reproduction device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003015690A (en) * 2001-06-29 2003-01-17 Dainippon Printing Co Ltd Encoding method for acoustic signal
JP4697919B2 (en) * 2001-06-29 2011-06-08 大日本印刷株式会社 Method for encoding an acoustic signal
JP2009008934A (en) * 2007-06-28 2009-01-15 Brother Ind Ltd Music reproduction device

Similar Documents

Publication Publication Date Title
JPH05341793A (en) 'karaoke' playing device
JPH09127941A (en) Electronic musical instrument
JP3214013B2 (en) Electronic musical instrument
JP4513625B2 (en) Musical sound generator and musical sound generation processing program
JP3259846B2 (en) Music signal generator
JPH10228282A (en) Sound source device
JPH06332449A (en) Singing voice reproducing device for electronic musical instrument
JP4578108B2 (en) Electronic musical instrument resonance sound generating apparatus, electronic musical instrument resonance generating method, computer program, and recording medium
JP3312939B2 (en) Electronic musical instrument
JP3334165B2 (en) Music synthesizer
JP3285984B2 (en) Minus one playing device
EP0099452A2 (en) Electronic transfer organ
JP3455976B2 (en) Music generator
JP2002041048A (en) Electronic musical instrument
JPH056170A (en) Electronic musical instrument
JPH06250660A (en) Electronic musical instrument
JP2000206964A (en) Musical sound generating device
JPH0764553A (en) Electronic musical instrument
JP2853588B2 (en) Electronic musical instrument
JP3561983B2 (en) Electronic musical instrument
JP3442232B2 (en) Electronic musical instrument
JP2517528Y2 (en) Sampling instruments
JP3556997B2 (en) Electronic music generator
JPH05181463A (en) Musical sound signal generation device
JPH07334157A (en) Electronic musical instrument