JPH0612078A - Electronic musical instrument - Google Patents

Electronic musical instrument

Info

Publication number
JPH0612078A
JPH0612078A JP4169692A JP16969292A JPH0612078A JP H0612078 A JPH0612078 A JP H0612078A JP 4169692 A JP4169692 A JP 4169692A JP 16969292 A JP16969292 A JP 16969292A JP H0612078 A JPH0612078 A JP H0612078A
Authority
JP
Japan
Prior art keywords
output
channels
tone
key
sounding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4169692A
Other languages
Japanese (ja)
Other versions
JP2817521B2 (en
Inventor
Kazuo Masaki
一雄 政木
Shigetetsu Oguri
成哲 小栗
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.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP4169692A priority Critical patent/JP2817521B2/en
Publication of JPH0612078A publication Critical patent/JPH0612078A/en
Application granted granted Critical
Publication of JP2817521B2 publication Critical patent/JP2817521B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To provide spatially spread played sounds by effectively utilizing the limited number of sounding channels at a maximum. CONSTITUTION:This electronic musical instrument is provided with a keyboard part 2 to generate key operation information, sound source circuit 4 to respectively output plural musical sound signals for respective plural sounding channels, output channels 71-74 provided less than the number of sounding channels, output channel managing memory to store information concerning the musical sound under sounding for the respective output memories 71-74, control part 1 to allocate the plural musical sound signals outputted from the plural sounding channels to any one of output channels 71-74 based on the stored contents of the output channel managing memory and new key operation information outputted from the keyboard part 2, and distribution circuit 6.

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 instrument which produces a musical tone whose volume, tone color and the like change over time like a natural musical instrument tone.

【0002】[0002]

【従来の技術】従来の電子楽器においては、複数の楽音
信号発生用のチャンネル(発音チャンネル)を有してい
る場合でも、実際に楽音が出力されるチャンネル(出力
チャンネル)は、一般に、2チャンネルしか設けられて
いない。したがって、この種の電子楽器においては、複
数の発音チャンネルから出力された異なる音色や音高の
楽音信号は、これら2チャンネルに振り分けられて電気
的に混合された後、出力されている。
2. Description of the Related Art In a conventional electronic musical instrument, even if a plurality of musical tone signal generating channels (sound generation channels) are provided, the channels to which musical tones are actually output (output channels) are generally 2 channels. Only provided. Therefore, in this type of electronic musical instrument, the musical tone signals of different tones and pitches output from a plurality of tone generation channels are distributed to these two channels, electrically mixed, and then output.

【0003】ところで、自然楽器の中には、ピアノやパ
イプオルガン等の鍵盤楽器などのように、1つの楽器で
音高によって発音位置が異なるものがある。また、管楽
器等の単音楽器を用いた複数の演奏者によるアンサンブ
ル演奏などのように、複数の楽器を用いて異なる場所で
複数の楽音が発生される場合がある。たとえば、3人の
演奏者によるアンサンブル演奏の場合には、発音位置は
3つである。
Some natural musical instruments, such as keyboard instruments such as pianos and pipe organs, have different sounding positions depending on the pitch of one musical instrument. In addition, a plurality of musical tones may be generated at different places using a plurality of musical instruments, such as an ensemble performance by a plurality of players using a single musical instrument such as a wind instrument. For example, in the case of an ensemble performance by three performers, there are three sounding positions.

【0004】そして、先に説明した従来の電子楽器は、
様々な自然楽器の音色と同様な楽音を同時に複数発生す
ることができるので、この電子楽器を用いて上述した鍵
盤楽器による演奏やアンサンブル演奏の場合と同様な演
奏を行うには、複数の位置から楽音を発生させるほうが
自然楽器と同様な空間的に広がりのある演奏音が得られ
る。
The conventional electronic musical instrument described above is
Since multiple tones similar to the tones of various natural musical instruments can be generated at the same time, in order to use this electronic musical instrument to perform the same kind of performance as the above-mentioned keyboard instrument or ensemble performance, Generating musical sounds produces a spatially expansive performance sound similar to natural musical instruments.

【0005】そこで、本出願人は、複数の単音それぞれ
の楽音信号を電気的に混合しないで、それぞれ別々の位
置に設置された複数のスピーカから発音する電子楽器を
先に提案した(実開昭62−41197号公報参照)。
しかしながら、このような構成においては、発音チャン
ネル数と同数のアンプやスピーカなどからなるサウンド
システムを設けなければならないため、今後ますます発
音チャンネル数が増加する傾向にある電子楽器には、コ
ストの点で上述した構成を採用することは難しい。
Therefore, the present applicant has previously proposed an electronic musical instrument which is produced by a plurality of loudspeakers installed at different positions without electrically mixing the musical tone signals of a plurality of single tones (Actual Kaisho). 62-41197 gazette).
However, in such a configuration, it is necessary to provide a sound system including as many amplifiers and speakers as the number of sounding channels. It is difficult to adopt the above-mentioned configuration.

【0006】そこで、サウンドシステムの数をそれほど
増やさずに空間的に広がりのある演奏音を得るために、
本出願人は、以下に示す電子楽器を先に提案した。この
電子楽器は、複数の発音チャンネルから出力される複数
の楽音信号をあらかじめ音名に応じていくつかのグルー
プに振り分け(たとえば、音名C,C#,D、音名D
#,E,F、音名F#,G,G#および音名A,A#,
Bをそれぞれ同一音名グループとする)、異なる音名グ
ループの楽音信号は、それぞれ対応する出力チャンネル
から出力し、同一の音名グループの楽音信号は、電気的
に合成して同一の出力チャンネルから出力するものであ
る。なお、上述した電子楽器の詳細については、特公平
2−63235号公報を参照されたい。
[0006] Therefore, in order to obtain a spatially wide performance sound without increasing the number of sound systems so much,
The applicant has previously proposed the following electronic musical instruments. In this electronic musical instrument, a plurality of musical tone signals output from a plurality of tone generation channels are sorted in advance into a number of groups according to the note names (for example, note names C, C #, D, note names D
#, E, F, note names F #, G, G # and note names A, A #,
B is the same note name group), and the tone signal of different note name group is output from the corresponding output channel respectively, and the tone signal of the same note name group is electrically synthesized from the same output channel. It is what is output. For details of the electronic musical instrument described above, refer to Japanese Patent Publication No. 2-63235.

【0007】[0007]

【発明が解決しようとする課題】ところで、上述した従
来の電子楽器においては、同一の音名グループの楽音信
号は、電気的に合成されて同一の出力チャンネルから出
力されてしまう。たとえば、別々に発音されなければな
らないオクターブだけ異なる音名の楽音信号も電気的に
合成されてしまう。この発明は、このような背景の下に
なされたもので、限られた数の発音チャンネルを最大限
に活用して、空間的に広がりのある演奏音を得ることが
できる電子楽器を提供することを目的とする。
By the way, in the above-mentioned conventional electronic musical instrument, the musical tone signals of the same note name group are electrically synthesized and output from the same output channel. For example, a musical tone signal having a note name that differs by an octave that must be pronounced separately is also electrically synthesized. The present invention has been made under such a background, and provides an electronic musical instrument capable of maximally utilizing a limited number of sound generation channels to obtain a spatially wide performance sound. With the goal.

【0008】[0008]

【課題を解決するための手段】この発明による電子楽器
は、鍵操作情報を発生する鍵操作情報発生手段と、複数
の楽音信号発生用の発音チャンネルを有し、各発音チャ
ンネル毎に、複数の楽音信号をそれぞれ出力する楽音発
生手段と、前記発音チャンネルより少ない数設けられた
複数の出力チャンネルと、各出力チャンネル毎に、発音
中の楽音に関する情報が記憶される記憶手段と、該記憶
手段の記憶内容および前記鍵操作情報発生手段から出力
される新たな鍵操作情報に基づいて、前記複数の発音チ
ャンネルから出力される複数の楽音信号を前記複数の出
力チャンネルのいずれかに割り当てる割当手段とを具備
することを特徴としている。
An electronic musical instrument according to the present invention has key operation information generating means for generating key operation information and a plurality of tone generation channels for generating tone signals, and a plurality of tone generation channels are provided for each tone generation channel. A musical tone generating means for outputting a musical tone signal, a plurality of output channels provided in a number smaller than the tone generation channel, a storage means for storing information on a musical tone being sounded for each output channel, and a storage means of the storage means. Allocation means for allocating a plurality of tone signals output from the plurality of sound generation channels to any one of the plurality of output channels based on the stored contents and new key operation information output from the key operation information generating means. It is characterized by having.

【0009】[0009]

【作用】上記構成によれば、鍵操作情報発生手段が新た
な鍵操作情報を発生すると、割当手段が記憶手段の記憶
内容および鍵操作情報発生手段から出力される新たな鍵
操作情報に基づいて、複数の発音チャンネルから出力さ
れる複数の楽音信号を複数の出力チャンネルのいずれか
に割り当てるので、割当てられた出力チャンネルから楽
音信号が出力される。
According to the above construction, when the key operation information generating means generates new key operation information, the assigning means is based on the stored contents of the storage means and the new key operation information output from the key operation information generating means. Since the plurality of tone signals output from the plurality of tone generation channels are assigned to any of the plurality of output channels, the tone signal is output from the assigned output channels.

【0010】[0010]

【実施例】以下、図面を参照して、この発明の一実施例
について説明する。図1はこの発明の一実施例による電
子楽器の構成を示すブロック図である。この図におい
て、1は制御部であり、CPU(中央処理装置)、プロ
グラムROM、各種のデータが一時記憶されるRAMお
よびI/Oインターフェイスを内蔵する1チップのマイ
クロコンピュータ等によって構成されている。2は鍵盤
部であり、複数のキーからなる鍵盤と、鍵盤のキーが操
作されたことを検出してそのキーに対応したキー情報を
出力し、制御部1に供給する押鍵検出回路とから構成さ
れている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an electronic musical instrument according to an embodiment of the present invention. In the figure, reference numeral 1 is a control unit, which is composed of a CPU (central processing unit), a program ROM, a RAM for temporarily storing various data, and a one-chip microcomputer incorporating an I / O interface. Reference numeral 2 denotes a keyboard unit, which includes a keyboard composed of a plurality of keys and a key pressing detection circuit which detects that a key on the keyboard has been operated and outputs key information corresponding to the key, and supplies the key information to the control unit 1. It is configured.

【0011】また、3は各種のスイッチからなるパネル
スイッチであり、各スイッチが操作されたことを検出し
てそれぞれのスイッチに対応した操作情報を出力し、制
御部1に供給する。4は制御部1によって音色データ等
の楽音パラメータなどが供給されて制御され、複数の発
音チャンネル(この実施例では、第1〜第16発音チャ
ンネル)に対応した16種類の楽音データを時分割多重
で出力する音源回路、5は音源回路4から時分割多重で
出力された第1〜第16発音チャンネルの楽音データを
第1〜第16発音チャンネルに対応してパラレルで出力
するデマルチプレクサ、6はデマルチプレクサ5からパ
ラレルで出力された第1〜第16発音チャンネルの楽音
データを電気的に合成して4つの出力チャンネル71
4に分配して出力する分配回路である。
Reference numeral 3 denotes a panel switch composed of various switches, which detects that each switch is operated, outputs operation information corresponding to each switch, and supplies the operation information to the control unit 1. 4 is controlled by the musical tone parameters such as tone color data supplied by the control unit 1, and 16 kinds of musical tone data corresponding to a plurality of tone generation channels (in this embodiment, 1st to 16th tone generation channels) are time-division multiplexed. Is a demultiplexer for outputting the tone data of the first to sixteenth sounding channels output from the sound source circuit 4 by time division multiplexing in parallel corresponding to the first to sixteenth sounding channels. The musical tone data of the 1st to 16th tone generation channels output in parallel from the demultiplexer 5 are electrically combined to produce four output channels 7 1 to
This is a distribution circuit that distributes and outputs to 7 4 .

【0012】さらに、81〜84は出力チャンネル71
4からそれぞれ出力される楽音データをアナログの楽
音信号に変換するD/Aコンバータ、91〜94はD/A
コンバータ81〜84からそれぞれ出力される楽音信号を
増幅するアンプ、101〜104はアンプ91〜94のそれ
ぞれの出力信号を楽音に変換するスピーカである。な
お、アンプ9とスピーカ10とは、サウンドシステムを
構成している。
Further, 8 1 to 8 4 are output channels 7 1 to
D / A converters for converting the musical tone data respectively output from 7 4 into analog musical tone signals, and 9 1 to 9 4 are D / A
Amplifiers for amplifying the musical tone signals respectively output from the converters 8 1 to 8 4 and 10 1 to 10 4 are speakers for converting the respective output signals of the amplifiers 9 1 to 9 4 into musical tones. The amplifier 9 and the speaker 10 constitute a sound system.

【0013】次に、図2に分配回路6の構成の一例のブ
ロック図を示す。図2において、111〜1116はそれ
ぞれ第1〜第16発音チャンネルの楽音データが入力さ
れる入力端子、121〜1216はそれぞれミュート回
路、131〜1316はそれぞれスイッチ、141〜144
はそれぞれ加算器である。スイッチ131〜1316は、
制御部1の制御によって、それぞれの共通端子Tcが加
算器141〜144の16個の入力端にそれぞれ接続され
た端子T1〜T4のいずれかに接続され、入力端子111
〜1116、ミュート回路121〜1216を介してそれぞ
れの共通端子Tcに出現した対応する発音チャンネルの
楽音データを加算器141〜144に入力する。加算器1
1〜144は、入力された複数の楽音データを加算して
それぞれ対応する出力チャンネル71〜74から出力す
る。
Next, FIG. 2 shows a block diagram of an example of the configuration of the distribution circuit 6. In FIG. 2, 11 1 to 11 16 are input terminals to which the musical tone data of the 1st to 16th sounding channels are input, 12 1 to 12 16 are mute circuits, 13 1 to 13 16 are switches, and 14 1 to 14 4
Are adders. The switches 13 1 to 13 16 are
The control of the control unit 1 is connected to one of the respective common terminal T c adder 14 1-14 4 16 terminals T 1 through T 4, which are respectively connected to the input terminal, the input terminal 11 1
˜11 16 and the mute circuits 12 1 to 12 16 are input to the adders 14 1 to 14 4 of the tone data of the corresponding tone generation channels appearing at the respective common terminals T c . Adder 1
4 1 to 14 4 add a plurality of input musical tone data and output the added musical tone data from the corresponding output channels 7 1 to 7 4 .

【0014】また、ミュート回路121〜1216は、ス
イッチ131〜1316を切り換えたときに発生するノイ
ズを防止するために設けられている。以下、これについ
て説明する。まず、音源回路4の第1〜第16発音チャ
ンネルのうちのいずれかが発音まで待機している状態で
ある空きチャンネルであって、演奏者による鍵盤部2の
新たな押鍵があった際にその空きチャンネルにこの新た
な押鍵音が割り当てられる場合には、切り換えられるい
ずれかのスイッチ13の共通端子Tcに楽音データが出
現していないので、そのスイッチ13を切り換えてもノ
イズは発生しない。
The mute circuits 12 1 to 12 16 are provided to prevent noise generated when the switches 13 1 to 13 16 are switched. This will be described below. First, when one of the first to sixteenth sounding channels of the tone generator circuit 4 is an empty channel waiting for sounding and a new key is pressed by the performer on the keyboard unit 2. When this new key depression sound is assigned to the vacant channel, no musical tone data appears at the common terminal Tc of any of the switches 13 to be switched, so that noise is not generated even if the switch 13 is switched. .

【0015】ところが、この実施例においては、いわゆ
る後着優先の発音割当方式を用いており、音源回路4の
第1〜第16発音チャンネルがすべて発音中であっても
演奏者による鍵盤部2の新たな押鍵があれば何れかの発
音チャンネル、たとえば、エンベロープ波形の振幅レベ
ルが最も小さい発音チャンネル、すなわち、最も減衰が
進んでいる発音チャンネルを選択し、これを強制的に発
音停止(ダンプ)させて空きチャンネルとするトランケ
ート処理が行われる。そして、このトランケート処理に
よるダンプが上述したスイッチ131〜1316の切り換
えと同期して行われるとは限らない。そこで、ミュート
回路121〜1216を設け、スイッチ131〜1316を切
り換える直前に楽音データをミュートし、スイッチ13
1〜1316を切り換えた後にミュートを解除することに
より、スイッチ131〜1316を切り換える際のノイズ
の発生を防止するのである。
However, in this embodiment, a so-called last-arrival priority sounding assignment system is used, and even if all of the first to sixteenth sounding channels of the tone generator circuit 4 are sounding, the player's keyboard section 2 can be changed. If there is a new key depression, select any sounding channel, for example, the sounding channel with the lowest amplitude level of the envelope waveform, that is, the sounding channel with the most attenuation, and forcibly stop sounding (dump). Then, the truncate process is performed to make the channel empty. Then, the dump by the truncate processing is not always performed in synchronization with the switching of the switches 13 1 to 13 16 described above. Therefore, the mute circuits 12 1 to 12 16 are provided, and the tone data is muted immediately before the switches 13 1 to 13 16 are switched, and the switch 13
By unmute after switching the 1-13 16 is to prevent the generation of noise when switching the switch 131-134 16.

【0016】このような構成において、鍵盤部2におい
て押鍵イベントあるいは、離鍵イベントが発生した場合
の制御部1の押離鍵処理について図3、図4および図6
のフローチャートに基づいて説明する。演奏者が鍵盤部
2の鍵盤のいずれかのキーを押鍵あるいは離鍵すると、
制御部1は、まず、図3の押離鍵処理ルーチンのステッ
プSA1の処理へ進み、鍵盤部2において押鍵イベント
が発生したか否かを判断する。この判断結果が「NO」
の場合には、後述するステップSA5へ進む。
With such a configuration, the key release operation of the controller 1 when a key press event or a key release event occurs in the keyboard section 2 will be described with reference to FIGS. 3, 4 and 6.
A description will be given based on the flowchart. When the performer presses or releases any key on the keyboard of the keyboard section 2,
The control unit 1 first proceeds to the processing of step SA1 of the key release processing routine of FIG. 3, and determines whether or not a key pressing event has occurred in the keyboard unit 2. This judgment result is "NO"
In this case, the process proceeds to step SA5 described later.

【0017】いっぽう、ステップSA1の判断結果が
「YES」の場合、すなわち、鍵盤部2において押鍵イ
ベントが発生した場合には、ステップSA2へ進む。ス
テップSA2では、発音チャンネル割当処理を行う。す
なわち、音源回路4の第1〜第16発音チャンネルのい
ずれかが空きチャンネルであるか否かを検出し、空きチ
ャンネルが複数ある場合には、いずれか1つの発音チャ
ンネルの番号をレジスタXchに格納する。また、全発
音チャンネルが発音中であって、空きチャンネルがない
場合には、たとえば、エンベロープ波形の振幅レベルが
最も小さい発音チャンネルに対して上述したトランケー
ト処理を行ってそれを空きチャンネルとし、その空きチ
ャンネルの番号をレジスタXchに格納する。そして、
制御部1は、ステップSA3へ進む。
On the other hand, if the determination result of step SA1 is "YES", that is, if a key depression event occurs in the keyboard section 2, the process proceeds to step SA2. At step SA2, a sounding channel assignment process is performed. That is, it is detected whether any of the first to sixteenth sounding channels of the tone generator circuit 4 is an empty channel, and if there are a plurality of empty channels, the number of any one sounding channel is stored in the register Xch. To do. If all sound channels are sounding and there is no empty channel, for example, the above-described truncation process is performed on the sound channel having the smallest amplitude level of the envelope waveform to make it an empty channel, and the empty channel is set. The channel number is stored in the register Xch. And
The control unit 1 proceeds to step SA3.

【0018】ステップSA3では、レジスタXchに格
納された空きチャンネルの楽音データを4つの出力チャ
ンネル71〜74のいずれかに割り当てる出力チャンネル
割当処理を行う。なお、この出力チャンネル割当処理の
詳細については、後述する。そして、この出力チャンネ
ル割当処理が終了すると、制御部1は、ステップSA4
へ進む。
At step SA3, an output channel allocation process for allocating the tone data of the empty channel stored in the register Xch to any of the four output channels 7 1 to 7 4 is performed. The details of this output channel allocation processing will be described later. Then, when this output channel allocation processing is completed, the control unit 1 proceeds to step SA4.
Go to.

【0019】ステップSA4では、レジスタXchに格
納された空きチャンネルに対応した音源回路4の発音チ
ャンネルに、押鍵された鍵のキーコードKCに対応する
音色データ等の楽音パラメータなどを供給する発音処理
を行った後、ステップSA5へ進む。ステップSA5で
は、鍵盤部2において離鍵イベントが発生したか否かを
判断する。この判断結果が「NO」の場合には、図示せ
ぬメインルーチンへ戻る。
In step SA4, a tone generation process of supplying tone parameters such as tone color data corresponding to the key code KC of the depressed key to the tone generation channel of the tone generator circuit 4 corresponding to the empty channel stored in the register Xch. After performing, proceed to step SA5. In step SA5, it is determined whether or not a key release event has occurred in the keyboard section 2. If the result of this determination is "NO", the flow returns to the main routine (not shown).

【0020】いっぽう、ステップSA5の判断結果が
「YES」の場合、すなわち、鍵盤部2において離鍵イ
ベントが発生した場合には、ステップSA6へ進む。ス
テップSA6では、出力チャンネル割当解除処理を行
う。なお、この出力チャンネル割当解除処理の詳細につ
いては、後述する。そして、この出力チャンネル割当解
除処理が終了すると、制御部1は、ステップSA7へ進
む。ステップSA7では、離鍵された鍵のキーコードK
Cに対応する音源回路4の発音チャンネルが現在発音中
であるか否かを判断し、発音中であれば消音する離鍵処
理を行った後、図示せぬメインルーチンへ戻る。
On the other hand, if the result of the determination in step SA5 is "YES", that is, if a key release event has occurred in the keyboard section 2, the process proceeds to step SA6. In step SA6, output channel assignment cancellation processing is performed. The details of the output channel allocation cancellation processing will be described later. Then, when this output channel deallocating process ends, the control unit 1 proceeds to step SA7. In step SA7, the key code K of the released key
It is determined whether or not the sounding channel of the tone generator circuit 4 corresponding to C is currently sounding, and if it is sounding, a key release process is performed to mute the sound, and then the process returns to the main routine (not shown).

【0021】次に、制御部1の出力チャンネル割当処理
について図4に示すフローチャートに基づいて説明す
る。制御部1の処理が図3のステップSA3へ進むと、
図4に示す出力チャンネル割当処理ルーチンが起動され
る。制御部1は、まず、ステップSB1の処理へ進み、
図5に示す、出力チャンネル7にどの鍵のキーコードK
Cを割り当てるかを管理するための出力チャンネル管理
メモリを参照して、その出力チャンネル7にキーコード
KCが割り当てられている数を示す出力チャンネル割当
数が0の出力チャンネル7があるか否かを判断する。
Next, the output channel allocation process of the control unit 1 will be described with reference to the flowchart shown in FIG. When the processing of the control unit 1 proceeds to step SA3 of FIG.
The output channel allocation processing routine shown in FIG. 4 is started. The control unit 1 first proceeds to the process of step SB1,
The key code K of which key is shown in FIG.
By referring to the output channel management memory for managing whether or not to allocate C, it is determined whether or not there is an output channel 7 having an output channel allocation number of 0 indicating the number of key codes KC allocated to the output channel 7. to decide.

【0022】図5の出力チャンネル管理メモリにおい
て、第1列目のレジスタは、出力チャンネル割当数が記
憶され、第2〜第5列目のレジスタは、割り当てられて
いるキーコードKCの値が記憶されている。なお、第2
〜第5列目のレジスタにおいて、「0」はキーコードK
Cが割り当てられていないことを示している。また、出
力チャンネル74の第3列目のレジスタの値が「0」と
なっているのは、この出力チャンネル74に以前割り当
てられたキーコードKCが消音されたことを示してい
る。そして、ステップSB1の判断結果が「YES」の
場合には、制御部1は、ステップSB2へ進む。
In the output channel management memory of FIG. 5, the register in the first column stores the number of assigned output channels, and the registers in the second to fifth columns store the value of the assigned key code KC. Has been done. The second
~ In the register in the fifth column, "0" is the key code K
It shows that C is not assigned. The value of the register in the third column of the output channel 7 4 is “0”, which means that the key code KC previously assigned to this output channel 7 4 has been muted. Then, when the determination result of step SB1 is “YES”, the control unit 1 proceeds to step SB2.

【0023】ステップSB2では、出力チャンネル割当
数が0の出力チャンネル7のうち、いずれか1つの出力
チャンネル7にアサインする。具体的には、レジスタX
chに格納された空きチャンネルに対応した音源回路4
の発音チャンネルに対応したスイッチ13の共通端子T
c(図2参照)を、割り当てる出力チャンネル7の加算
器14に接続された端子(T1〜T4のいずれか)に切り
換えた後、図5に示す出力チャンネル管理メモリの該当
する出力チャンネル7の第2〜第5列目のレジスタのい
ずれかに押鍵された鍵のキーコードKCの値を書き込む
とともに、第1列目のレジスタの出力チャンネル割当数
を1インクリメントする。そして、制御部1は、図3に
示す押離鍵処理ルーチンへ戻り、ステップSA4へ進
む。
In step SB2, any one of the output channels 7 having the number 0 of output channels assigned is assigned to one of the output channels 7. Specifically, register X
Sound source circuit 4 corresponding to an empty channel stored in ch
Common terminal T of the switch 13 corresponding to the sounding channel of
After switching c (see FIG. 2) to the terminal (any of T 1 to T 4 ) connected to the adder 14 of the output channel 7 to be allocated, the corresponding output channel 7 of the output channel management memory shown in FIG. The value of the key code KC of the depressed key is written in any one of the registers of the second to fifth columns of, and the output channel allocation number of the register of the first column is incremented by 1. Then, the control section 1 returns to the key release processing routine shown in FIG. 3 and proceeds to step SA4.

【0024】いっぽう、ステップSB1の判断結果が
「NO」の場合、すなわち、出力チャンネル割当数が0
の出力チャンネル7がない場合には、ステップSB3へ
進む。ステップSB3では、全ての出力チャンネル71
〜74に、今押鍵された鍵のキーコードKCの音と協和
音関係となる音が割り当てられているか否かを判断す
る。ここで、協和音関係とは、2音の音程が、たとえ
ば、完全1度や完全4度等であるものをいう。この判断
結果が「NO」の場合、すなわち、出力チャンネル71
〜74のいずれかに今押鍵された鍵のキーコードKCの
音と不協和音関係となる音が割り当てられている場合に
は、ステップSB4へ進む。
On the other hand, when the result of the determination in step SB1 is "NO", that is, the number of output channels allocated is 0.
If there is no output channel 7 of, the process proceeds to step SB3. In step SB3, all output channels 7 1
The 7-4, it is determined whether the sound and the sound to be consonance relation now depressed key of the key code KC is assigned. Here, the consonant relation means that the pitch of two tones is, for example, a perfect 1st degree or a perfect 4th degree. If this determination result is "NO", that is, the output channel 7 1
If the 7-4 either to the sound now depressed key of the key code KC of the sound to be dissonant relationship is assigned, the flow proceeds to step SB4.

【0025】ステップSB4では、今押鍵された鍵のキ
ーコードKCの音と不協和音関係となる音が割り当てら
れている複数の出力チャンネル7のうち、最も出力チャ
ンネル割当数が少ない出力チャンネル7に、今押鍵され
た鍵のキーコードKCにアサインする。このアサインの
方法は、上述したステップSB2の処理と同様である。
そして、制御部1は、図3に示す押離鍵処理ルーチンへ
戻り、ステップSA4へ進む。
In step SB4, among the plurality of output channels 7 to which a sound having a dissonant relationship with the sound of the key code KC of the currently pressed key is allocated, the output channel 7 having the smallest number of allocated output channels is Assign to the key code KC of the key just pressed. This assigning method is the same as the above-described processing of step SB2.
Then, the control section 1 returns to the key release processing routine shown in FIG. 3 and proceeds to step SA4.

【0026】いっぽう、ステップSB3の判断結果が
「YES」の場合、すなわち、全ての出力チャンネル7
1〜74に、押鍵された鍵のキーコードKCと協和音関係
となる音が割り当てられている場合には、ステップSB
5へ進む。ステップSB5では、協和音が最も少ない出
力チャンネル7を検索した後、ステップSB6へ進む。
On the other hand, if the result of the determination in step SB3 is "YES", that is, all output channels 7
If notes 1 to 7 4 are assigned notes that are in consonance with the key code KC of the depressed key, step SB
Go to 5. In step SB5, after the output channel 7 having the least consonant is searched, the process proceeds to step SB6.

【0027】ステップSB6では、協和音が最も少ない
出力チャンネル7が2つ以上あるか否かを判断する。こ
の判断結果が「YES」の場合には、ステップSB7へ
進む。ステップSB7では、協和音が最も少ない出力チ
ャンネル7のうち、押鍵された鍵のキーコードKCと最
も音程が離れている音が割り当てられている出力チャン
ネル7に、押鍵された鍵のキーコードKCを、上述した
ステップSB2の処理と同様、アサインした後、図3に
示す押離鍵処理ルーチンへ戻り、ステップSA4へ進
む。
In step SB6, it is determined whether or not there are two or more output channels 7 having the least consonant tone. If the result of this determination is "YES", the flow proceeds to step SB7. In step SB7, the key code of the depressed key is assigned to the output channel 7 to which the key code KC of the depressed key of the output channels 7 having the least consonance is assigned, After assigning KC in the same manner as the above-described processing of step SB2, the process returns to the key depression / release key processing routine shown in FIG. 3, and proceeds to step SA4.

【0028】いっぽう、ステップSB6の判断結果が
「NO」の場合、すなわち、協和音が最も少ない出力チ
ャンネル7が1つしかない場合には、ステップSB8へ
進む。ステップSB8では、協和音が最も少ない出力チ
ャンネル7に、押鍵された鍵のキーコードKCを、上述
したステップSB2の処理と同様、アサインした後、図
3に示す押離鍵処理ルーチンへ戻り、ステップSA4へ
進む。
On the other hand, if the result of the determination in step SB6 is "NO", that is, if there is only one output channel 7 with the least consonant sound, the operation proceeds to step SB8. At step SB8, the key code KC of the depressed key is assigned to the output channel 7 having the least consonant sound, similarly to the process at step SB2 described above, and then the process returns to the key release key processing routine shown in FIG. Go to step SA4.

【0029】次に、制御部1の出力チャンネル割当解除
処理について図6に示すフローチャートに基づいて説明
する。制御部1の処理が図3のステップSA6へ進む
と、図6に示す出力チャンネル割当解除処理ルーチンが
起動される。制御部1は、ステップSC1の処理へ進
み、図5に示す出力チャンネル管理メモリの各出力チャ
ンネル71〜74の第2〜第5列目のレジスタを参照し
て、今離鍵された鍵のキーコードKCの値が格納された
レジスタを検索し、そのレジスタの値を「0」に書き換
えるとともに、今その値が書き換えられたレジスタを有
する出力チャンネル7の第1列目のレジスタの出力チャ
ンネル割当数を1ディクリメントした後、図3に示す押
離鍵処理ルーチンへ戻り、ステップSA7へ進む。
Next, the output channel deallocating process of the control unit 1 will be described with reference to the flowchart shown in FIG. When the processing of the control unit 1 proceeds to step SA6 of FIG. 3, the output channel deallocating processing routine shown in FIG. 6 is started. The control unit 1 proceeds to the process of step SC1 and refers to the registers of the second to fifth columns of the output channels 7 1 to 7 4 of the output channel management memory shown in FIG. The register in which the value of the key code KC is stored is searched, the value of the register is rewritten to "0", and the output channel of the register in the first column of the output channel 7 having the register whose value is rewritten now. After decrementing the allotted number by one, the process returns to the key pressing and releasing processing routine shown in FIG. 3, and proceeds to step SA7.

【0030】以上説明したように、上述した一実施例に
よれば、押鍵された鍵のキーコードKCと図5に示す出
力チャンネル管理メモリに記憶されたデータとに基づ
き、押鍵された鍵に対応する楽音を出力する出力チャン
ネルを決定するようにしている。ここで、上述した一実
施例において、協和音関係にある2つの楽音を同じ出力
チャンネルになるべく割り当てないようにしたのは、協
和音関係にある2つの楽音を同じ出力チャンネルに割り
当てると、各楽音が埋もれてしまい、立体感を損なうか
らである。
As described above, according to the above-described embodiment, the depressed key is based on the key code KC of the depressed key and the data stored in the output channel management memory shown in FIG. The output channel that outputs the musical sound corresponding to is determined. Here, in the above-described embodiment, two musical tones having a consonant relation are not assigned to the same output channel as much as possible. When two musical tones having a consonant relation are assigned to the same output channel, each musical tone is Is buried, and the three-dimensional effect is lost.

【0031】なお、上述した一実施例においては、出力
チャンネル割当処理を図4に示すフローチャートにより
処理する例を示したが、これに限定されない。 (A)たとえば、以下に示すように、割当の優先順位を
設定する。 出力チャンネルに既に割り当てられている複数の音
がそれぞれ、新たに押鍵された鍵のキーコードKCの音
と不協和音関係にある場合は、優先順位点1、協和音関
係にある場合は、優先順位点2とし、この優先順位点の
合計が最も小さい出力チャンネルに新たに押鍵された鍵
のキーコードKCをアサインする。 出力チャンネルに既に割り当てられている複数の音
すべてが、新たに押鍵された鍵のキーコードKCの音と
協和音関係にある場合において、新たに押鍵された鍵の
キーコードKCの音との音程が完全4度である場合は、
優先順位点1、完全5度である場合は、優先順位点2、
オクターブである場合は、優先順位点3、ユニゾンであ
る場合は、優先順位点4とし、この優先順位点の合計が
最も小さい出力チャンネルに新たに押鍵された鍵のキー
コードKCを割り当てる。
In the above-described embodiment, the output channel allocation process is performed by the flowchart shown in FIG. 4, but the present invention is not limited to this. (A) For example, the priority order of allocation is set as shown below. If a plurality of sounds already assigned to the output channel are in a dissonant relationship with the sound of the key code KC of the newly pressed key, the priority point is 1, and if they are in a consonant relationship, the priority order. Point 2 is set, and the key code KC of the newly pressed key is assigned to the output channel having the smallest sum of the priority points. If all the sounds already assigned to the output channels are in a consonant relationship with the sound of the key code KC of the newly pressed key, the sound of the key code KC of the newly pressed key is If the pitch of is a perfect fourth,
Priority point 1, if it is a perfect fifth, priority point 2,
If it is octave, it is set to priority point 3, and if it is unison, it is set to priority point 4, and the key code KC of the newly pressed key is assigned to the output channel having the smallest sum of priority points.

【0032】(B)また、スピーカ10の配置によって
割当方法を変える。 図7に示すように、スピーカ10を横1列に配置し
た場合、右側のスピーカ10にキーコードKCの値が大
きい音を優先的にアサインし、左側のスピーカ10にキ
ーコードKCの値が小さい音を優先的にアサインする。
これにより、高い音は右側から、低い音は左側から放射
される。 図8に示すように、スピーカ10をマトリックス状
に配置した場合、キーコードKCの値が小さい音を複数
のスピーカ10にアサインする。この場合には、図9に
示す分配回路15が必要である。図9において、図2の
各部に対応する部分には同一の符号を付け、その説明を
省略する。図9において、161〜1616はそれぞれス
イッチであり、端子T1〜T4に対応して共通端子Tc1
c4が設けられている。
(B) The allocation method is changed depending on the arrangement of the speakers 10. As shown in FIG. 7, when the speakers 10 are arranged in a horizontal row, a sound having a large key code KC is preferentially assigned to the right speaker 10, and a sound having a large key code KC is small in the left speaker 10. Assign sounds preferentially.
As a result, high sounds are emitted from the right side and low sounds are emitted from the left side. As shown in FIG. 8, when the speakers 10 are arranged in a matrix, a sound having a small key code KC is assigned to the plurality of speakers 10. In this case, the distribution circuit 15 shown in FIG. 9 is required. 9, parts corresponding to the parts in FIG. 2 are designated by the same reference numerals, and description thereof will be omitted. In FIG. 9, reference numerals 16 1 to 16 16 denote switches, which correspond to the terminals T 1 to T 4 and are common terminals T c1 to
T c4 is provided.

【0033】(C)さらに、スピーカ10の種類によっ
て割当方法を変える。たとえば、高音用のスピーカ10
にキーコードKCの値が大きい音を優先的にアサイン
し、低音用のスピーカ10にキーコードKCの値が小さ
い音を優先的にアサインする。 (D)また、演奏情報によって割当方法を変える。たと
えば、図8に示すように、スピーカ10をマトリックス
状に配置した場合、押鍵速度によってアサインするスピ
ーカ10の数を変える。
(C) Further, the allocation method is changed depending on the type of the speaker 10. For example, a high frequency speaker 10
A sound having a large key code KC is preferentially assigned to a sound, and a sound having a small key code KC is preferentially assigned to the bass speaker 10. (D) Also, the allocation method is changed according to the performance information. For example, as shown in FIG. 8, when the speakers 10 are arranged in a matrix, the number of assigned speakers 10 is changed depending on the key pressing speed.

【0034】また、上述した一実施例においては、図1
に示すように、出力チャンネル71〜74の後段にD/A
コンバータ81〜84、アンプ91〜94およびスピーカ1
1〜104を接続した例を示したが、これらを接続しな
くとも、本願の特許請求の範囲に含まれることはいうま
でもない。
In addition, in the above-described embodiment, FIG.
As shown in, the D / A is provided after the output channels 7 1 to 7 4.
Converters 8 1 to 8 4 , amplifiers 9 1 to 9 4 and speaker 1
Although an example in which 0 1 to 10 4 are connected has been shown, it goes without saying that even if these are not connected, they are included in the scope of the claims of the present application.

【0035】[0035]

【発明の効果】以上説明したように、この発明によれ
ば、限られた数の発音チャンネルを最大限に活用して、
空間的に広がりのある演奏音を得ることができるという
効果がある。したがって、音色の異なる楽音を複数同時
発音しても空間的なアンサンブル効果が得られる。
As described above, according to the present invention, the limited number of sound generation channels can be utilized to the maximum extent.
This has the effect of producing a performance sound that is spatially expansive. Therefore, a spatial ensemble effect can be obtained even when a plurality of musical tones having different timbres are simultaneously sounded.

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

【図1】 この発明の一実施例による電子楽器の構成を
示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an electronic musical instrument according to an embodiment of the present invention.

【図2】 分配回路6の構成の一例を示すブロック図で
ある。
FIG. 2 is a block diagram showing an example of a configuration of a distribution circuit 6.

【図3】 この発明の一実施例における制御部1の押離
鍵処理ルーチンの処理を表すフローチャートである。
FIG. 3 is a flowchart showing the processing of a key release processing routine of the control unit 1 in one embodiment of the present invention.

【図4】 この発明の一実施例における制御部1の出力
チャンネル割当処理ルーチンの処理を表すフローチャー
トである。
FIG. 4 is a flowchart showing the processing of an output channel allocation processing routine of the control unit 1 in the embodiment of the present invention.

【図5】 出力チャンネル管理メモリの構成の一例を示
す図である。
FIG. 5 is a diagram showing an example of a configuration of an output channel management memory.

【図6】 この発明の一実施例における制御部1の出力
チャンネル割当解除処理ルーチンの処理を表すフローチ
ャートである。
FIG. 6 is a flowchart showing a process of an output channel deallocating process routine of the control unit 1 in the embodiment of the present invention.

【図7】 スピーカ10の配置の一例を示す図である。FIG. 7 is a diagram showing an example of an arrangement of speakers 10.

【図8】 スピーカ10の配置の他の例を示す図であ
る。
FIG. 8 is a diagram showing another example of arrangement of the speakers 10.

【図9】 分配回路15の構成の一例を示すブロック図
である。
9 is a block diagram showing an example of the configuration of a distribution circuit 15. FIG.

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

1……制御部、2……鍵盤部、3……パネルスイッチ、
4……音源回路、5……デマルチプレクサ、6,15…
…分配回路、71〜74……出力チャンネル、81〜84
…D/Aコンバータ、91〜94……アンプ、101〜1
4……スピーカ、111〜1116……入力端子、121
〜1216……ミュート回路、131〜131 6,161〜1
16……スイッチ、141〜144……加算器。
1 ... control part, 2 ... keyboard part, 3 ... panel switch,
4 ... Sound source circuit, 5 ... Demultiplexer, 6, 15 ...
… Distribution circuit, 7 1 to 7 4 ……, Output channel, 8 1 to 8 4 ….
... D / A converter, 9 1 to 9 4 ... Amplifier, 10 1 to 1
0 4 …… Speaker, 11 1 to 11 16 …… Input terminal, 12 1
12 16 ...... muting circuit, 131-134 1 6, 16 1 to 1
6 16 ... Switch, 14 1 to 14 4 ... Adder.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 鍵操作情報を発生する鍵操作情報発生手
段と、 複数の楽音信号発生用の発音チャンネルを有し、各発音
チャンネル毎に、複数の楽音信号をそれぞれ出力する楽
音発生手段と、 前記発音チャンネルより少ない数設けられた複数の出力
チャンネルと、 各出力チャンネル毎に、発音中の楽音に関する情報が記
憶される記憶手段と、 該記憶手段の記憶内容および前記鍵操作情報発生手段か
ら出力される新たな鍵操作情報に基づいて、前記複数の
発音チャンネルから出力される複数の楽音信号を前記複
数の出力チャンネルのいずれかに割り当てる割当手段と
を具備することを特徴とする電子楽器。
1. A key operation information generating means for generating key operation information, a tone generation means for outputting a plurality of tone signals for each tone channel, the tone generation means having a plurality of tone generation channels for tone signal generation. A plurality of output channels provided in a smaller number than the sound generation channels, storage means for storing information about the musical sound being sounded for each output channel, and output from the storage content of the storage means and the key operation information generation means An electronic musical instrument, comprising: an assigning unit that assigns a plurality of tone signals output from the plurality of tone generation channels to any one of the plurality of output channels based on the new key operation information.
JP4169692A 1992-06-26 1992-06-26 Electronic musical instrument Expired - Fee Related JP2817521B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4169692A JP2817521B2 (en) 1992-06-26 1992-06-26 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4169692A JP2817521B2 (en) 1992-06-26 1992-06-26 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPH0612078A true JPH0612078A (en) 1994-01-21
JP2817521B2 JP2817521B2 (en) 1998-10-30

Family

ID=15891125

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4169692A Expired - Fee Related JP2817521B2 (en) 1992-06-26 1992-06-26 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JP2817521B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002300017A (en) * 2001-04-03 2002-10-11 Mitsubishi Electric Corp Semiconductor device
JP2003195861A (en) * 2001-12-28 2003-07-09 Yamaha Corp Musical sound reproducing method for electronic keyboard instrument and the electronic keyboard instrument

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002300017A (en) * 2001-04-03 2002-10-11 Mitsubishi Electric Corp Semiconductor device
JP2003195861A (en) * 2001-12-28 2003-07-09 Yamaha Corp Musical sound reproducing method for electronic keyboard instrument and the electronic keyboard instrument

Also Published As

Publication number Publication date
JP2817521B2 (en) 1998-10-30

Similar Documents

Publication Publication Date Title
US5119710A (en) Musical tone generator
US5602358A (en) Effect imparting device and electronic musical instrument incorporating same
US5192824A (en) Electronic musical instrument having multiple operation modes
JP3214013B2 (en) Electronic musical instrument
US5354948A (en) Tone signal generation device for generating complex tones by combining different tone sources
JP3259846B2 (en) Music signal generator
JP4513625B2 (en) Musical sound generator and musical sound generation processing program
JP2565069B2 (en) Electronic musical instrument
JP2817521B2 (en) Electronic musical instrument
US6351475B1 (en) Mixing apparatus with compatible multiplexing of internal and external voice signals
US5696834A (en) Stereo system and stereo method for electronic acoustical system
US5221803A (en) Tone signal generation from fewer circuits
US6316711B2 (en) Musical sound signal generation apparatus
JP3312939B2 (en) Electronic musical instrument
JP3721789B2 (en) Mixing equipment
JPH0638192B2 (en) Musical sound generator
JPS62208096A (en) Musical sound generator
JPH0246497A (en) Electronic musical instrument
JP3430731B2 (en) Music control system
JPH0683343A (en) Effect granting device
JP4192952B2 (en) Mobile phone
JPH0642146B2 (en) Musical sound generator
JP3136701B2 (en) Music signal generator
JP3614117B2 (en) Music signal processor
JP2000338968A (en) Stereophonic output electronic musical instrument

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980721

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20070821

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20080821

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090821

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees