JP2001265342A - Musical sound signal generator - Google Patents

Musical sound signal generator

Info

Publication number
JP2001265342A
JP2001265342A JP2000080116A JP2000080116A JP2001265342A JP 2001265342 A JP2001265342 A JP 2001265342A JP 2000080116 A JP2000080116 A JP 2000080116A JP 2000080116 A JP2000080116 A JP 2000080116A JP 2001265342 A JP2001265342 A JP 2001265342A
Authority
JP
Japan
Prior art keywords
tone signal
tone
sound
generation
signal generating
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
JP2000080116A
Other languages
Japanese (ja)
Inventor
Eiji Matsuda
英治 松田
Jiro Tanaka
二郎 田中
Tsutomu Saito
勉 斉藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP2000080116A priority Critical patent/JP2001265342A/en
Priority to US09/771,055 priority patent/US6316711B2/en
Priority to DE2001113761 priority patent/DE10113761A1/en
Publication of JP2001265342A publication Critical patent/JP2001265342A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/18Selecting circuits
    • G10H1/183Channel-assigning means for polyphonic instruments
    • G10H1/185Channel-assigning means for polyphonic instruments associated with key multiplexing
    • G10H1/186Microprocessor-controlled keyboard and assigning means
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H7/00Instruments in which the tones are synthesised from a data store, e.g. computer organs
    • G10H7/02Instruments in which the tones are synthesised from a data store, e.g. computer organs in which amplitudes at successive sample points of a tone waveform are stored in one or more memories
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2210/00Aspects or methods of musical processing having intrinsic musical character, i.e. involving musical theory or musical parameters or relying on musical knowledge, as applied in electrophonic musical tools or instruments
    • G10H2210/155Musical effects
    • G10H2210/265Acoustic effect simulation, i.e. volume, spatial, resonance or reverberation effects added to a musical sound, usually by appropriate filtering or delays
    • G10H2210/295Spatial effects, musical uses of multiple audio channels, e.g. stereo
    • G10H2210/305Source positioning in a soundscape, e.g. instrument positioning on a virtual soundstage, stereo panning or related delay or reverberation changes; Changing the stereo width of a musical source

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • General Engineering & Computer Science (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

PROBLEM TO BE SOLVED: To generate sound in response to a newly operated key even during all the musical sound signal generating means are generating sound without giving incompativility caused by the sound being generated already to a player or listeners, and especially to maintain this chord in a normally generated state in a musical sound signal generator for generating sound signal in response to an operated key. SOLUTION: When this generator judges that keys are pressed (S10), there is no available channel therefor (S20) but there are channels being generating sound in stereo among those except four latest sound-generating channels (S22: YES), the device selects the oldest sound-generating channel and also eliminates the sound of the channel on the R-side and thereby secures the channel to respond to new key-on operation (S24). Moreover, it alters the panning coefficient of the remaining L-side channel based on the key number, etc., (S26), to generate sound monaurally (S14). Consequently, it is possible to eliminate the sound being generated without unnatural feeling.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、操作された鍵に対
応した音を発生する楽音信号発生装置に関し、特に複数
の鍵が同時に押圧されたときに各鍵に対応した楽音を発
生するのに好適な楽音信号発生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a tone signal generator for generating a tone corresponding to an operated key, and more particularly to a tone signal generator for generating a tone corresponding to each key when a plurality of keys are pressed simultaneously. The present invention relates to a suitable tone signal generator.

【0002】[0002]

【従来の技術】従来より、例えば、電子ピアノに代表さ
れる電子楽器では、ステレオ演奏に対応させるために、
1つの鍵の操作(キーオン)に対して2つの楽音信号を
発生する居一対の楽音信号生成手段を備えたものが知ら
れている。しかしながら、このような楽音信号生成手段
の対を鍵数だけ設けておけば発音するための楽音信号を
確実に生成することはできるが、単に楽音信号生成手段
の数を増やすことはコスト増につながる。
2. Description of the Related Art Conventionally, for example, in an electronic musical instrument represented by an electronic piano, in order to correspond to a stereo performance,
It is known that a pair of musical sound signal generating means for generating two musical sound signals in response to one key operation (key-on) is provided. However, if such pairs of tone signal generating means are provided by the number of keys, a tone signal for sounding can be reliably generated, but simply increasing the number of tone signal generating means leads to an increase in cost. .

【0003】そこで、本出願人は、既に特開平10−4
9159号公報にて開示したように、楽音信号生成手段
の有効利用を図るための楽音信号発生装置を開発した。
即ち、上記公報では、楽音信号生成手段の全数が使用さ
れているときには、新たなキーオンがなされると、発音
中の楽音信号生成装置の中で、最も古くから発音してい
る二対の楽音信号生成手段を選択し、各対の内の片方の
楽音信号生成手段を消音(トランケート:急速減衰)さ
せ、残りの楽音信号生成手段はそのまま動作させるよう
にしている。これにより、2つの楽音信号生成手段が消
音状態(空き状態)になるので、それらを新たなキーオ
ンに応じてステレオ発音するための楽音信号を生成する
楽音信号生成手段として確保できる。
Accordingly, the present applicant has already disclosed in Japanese Patent Application Laid-Open
As disclosed in Japanese Patent Application Laid-Open No. 9159, a tone signal generator for effectively utilizing a tone signal generating means has been developed.
That is, in the above-mentioned publication, when a new key-on is performed when all of the tone signal generating means are used, two pairs of tone signals which are the oldest sounding in the tone signal generating apparatus which is sounding are used. The generation means is selected, one of the tone signal generation means in each pair is muted (truncated: rapid decay), and the other tone signal generation means are operated as they are. As a result, the two tone signal generators are muted (empty), so that they can be secured as tone signal generators for generating tone signals for stereo sounding in response to a new key-on.

【0004】[0004]

【発明が解決しようとする課題】しかし、上記公報の楽
音信号発生装置において、楽音信号生成手段の全数が使
用され、しかも、最も古くから発音している楽音信号生
成手段が、和音(例えば、互いに異なる3〜4音からな
る和音)を構成する音の一つとなる楽音信号を生成して
いる場合に、この楽音信号生成手段を消音させて新たな
キーオンに応じてステレオ発音するための楽音信号生成
手段として確保しようとすると、この和音を構成する音
の一つが消音されてしまうことによって、演奏者や、演
奏を聴いている者(聴き手)に違和感を与えてしまうお
それがあった。
However, in the tone signal generating apparatus disclosed in the above publication, all the tone signal generating means are used, and the tone signal generating means which has been generating the oldest sound is composed of chords (for example, each other). When generating a tone signal which is one of the sounds constituting the different chords (three to four different tones), the tone signal generating means is muted to generate a tone signal for stereo sounding according to a new key-on. Attempting to secure it as a means would cause one of the sounds constituting the chord to be muted, giving the player and the person listening to the performance (listener) a sense of incongruity.

【0005】本発明は、こうした問題に鑑みなされたも
のであり、操作された鍵に応じて発音するための楽音信
号発生装置において、楽音信号を生成する楽音信号生成
手段が全て発音中であっても、新たに操作された鍵に応
じて発音するための楽音信号生成手段を確保した上で、
しかも、楽音信号生成手段を確保する際には、発音中の
音に起因した違和感を演奏者や聴き手に違和感を与えな
いようにし、特には、和音が発音されている場合には、
この和音を正常に発音した状態を保持することを目的と
する。
SUMMARY OF THE INVENTION The present invention has been made in view of such a problem, and in a tone signal generating apparatus for generating a tone signal in accordance with an operated key, all tone signal generating means for generating a tone signal are sounding. In addition, after securing a tone signal generation means for generating a tone in accordance with a newly operated key,
Moreover, when securing the tone signal generating means, it is necessary to prevent the player or listener from having a sense of incongruity caused by the sound being produced, especially when a chord is being produced.
It is an object of the present invention to maintain a state in which the chord is normally sounded.

【0006】[0006]

【課題を解決するための手段及び発明の効果】かかる目
的を達成するためになされた請求項1に記載の発明は、
楽音信号を生成する複数の楽音信号生成手段と、前記楽
音信号生成手段が発音状態,消音状態のいずれである
か、及び、該楽音信号生成手段が発音状態となった時期
を記憶する生成状態記憶手段と、鍵が操作されると、前
記生成状態記憶手段の記憶内容を参照して、消音状態の
前記楽音信号生成手段を二つ選択し、選択した該二つの
楽音信号生成手段に該鍵に対応した所定の音をステレオ
発音するための左,右の楽音信号をそれぞれ生成させ、
該生成状態記憶手段の記憶内容を更新する割り当て手段
と、前記複数の楽音信号生成手段にて生成された左,右
の楽音信号をそれぞれ合成し、合成した該左,右の楽音
信号をそれぞれ出力する出力手段とを備える楽音信号発
生装置において、前記割り当て手段は、鍵が操作される
と、前記生成状態記憶手段の記憶内容を参照して、消音
状態の前記楽音信号生成手段があるかどうかを判断する
第1の生成状態判断手段と、前記第1の生成状態判断手
段により、消音状態の前記楽音信号生成手段がないと判
断した場合には、前記生成状態記憶手段の記憶内容を参
照して、該楽音信号生成手段における最も新たに発音し
た分から遡って、あらかじめ決められた数までの分を除
いた中から、ステレオ発音のための左,右の楽音信号を
生成している二対の該楽音信号生成手段があるかどうか
を判断する第2の生成状態判断手段と、前記第2の生成
状態判断手段により、前記二対の前記楽音信号生成手段
があると判断した場合には、該二対の前記楽音信号生成
手段があると判断されたものの中から任意の二対の該楽
音信号生成手段を選択し、更に、該二対の楽音信号生成
手段の内で、各対の内の一方の楽音信号生成手段を消音
状態にして、前記生成状態記憶手段の記憶内容を更新す
る第1の信号生成確保手段と、前記第1の信号生成確保
手段により消音状態とされない二つの楽音信号生成手段
にて生成された楽音信号を、それぞれ該二つの楽音信号
生成手段から左,右の楽音信号として出力させる出力制
御手段とを備えていることを特徴とする。
Means for Solving the Problems and Effects of the Invention The invention according to claim 1 which has been made to achieve the above object,
A plurality of tone signal generating means for generating a tone signal; a generation state storage for storing whether the tone signal generating means is in a sound emitting state or a mute state, and a time when the tone signal generating means is in a sound emitting state; Means, when the key is operated, referring to the stored contents of the generation state storage means, selects two of the tone signal generation means in a mute state, and sends the selected two tone signal generation means to the selected key. The left and right tone signals for generating the corresponding predetermined sound in stereo are generated, respectively.
Assigning means for updating the contents stored in the generation state storage means; and synthesizing the left and right tone signals generated by the plurality of tone signal generating means, respectively, and outputting the synthesized left and right tone signals, respectively. The assigning means, when a key is operated, refers to the contents stored in the generation state storage means to determine whether or not the tone signal generation means is in a mute state. When the first generation state determining means and the first generation state determining means determine that there is no tone signal generating means in a mute state, the first generation state determining means refers to the storage contents of the generation state storage means. Two sets of left and right tone signals for stereo tone generation are generated by subtracting up to a predetermined number from the most recently generated tone in the tone signal generation means. A second generation state determination unit that determines whether there is the tone signal generation unit; and a second generation state determination unit that determines that there are the two pairs of the tone signal generation units. An arbitrary two pairs of the tone signal generating means are selected from those determined to have two pairs of the tone signal generating means, and further, of the two pairs of the tone signal generating means, A first signal generation securing unit for setting one of the tone signal generating units to a mute state and updating the storage content of the generation state storage unit; and two tone signal generation units not muted by the first signal generation securing unit. Output control means for outputting the tone signals generated by the means as left and right tone signals from the two tone signal generating means, respectively.

【0007】このように本発明(請求項1)の楽音信号
発生装置では、楽音信号生成手段が楽音信号を生成し、
生成状態記憶手段が、楽音信号生成手段が発音状態,消
音状態のいずれであるか、及び、楽音信号生成手段が発
音状態となった時期を記憶する。
As described above, in the tone signal generating apparatus of the present invention (claim 1), the tone signal generating means generates the tone signal,
The generation state storage means stores whether the tone signal generation means is in a sound emitting state or a mute state, and a time when the tone signal generation means is in a sound emitting state.

【0008】また、割り当て手段が、鍵が操作される
と、生成状態記憶手段の記憶内容を参照して、消音状態
の楽音信号生成手段を二つ選択し、選択した二つの楽音
信号生成手段に鍵に対応した所定の音をステレオ発音す
るための左,右の楽音信号をそれぞれ生成させ、生成状
態記憶手段の記憶内容を更新する。更に、出力手段が、
複数の楽音信号生成手段にて生成された左,右の楽音信
号をそれぞれ合成し、合成した左,右の楽音信号をそれ
ぞれ出力する。
When the key is operated, the allocating means selects two tone signal generating means in a mute state with reference to the contents stored in the generating state storing means, and assigns the selected two tone signal generating means to the two selected tone signal generating means. Left and right tone signals for stereophonically generating a predetermined sound corresponding to the key are generated, and the storage contents of the generation state storage means are updated. Further, the output means includes:
The left and right tone signals generated by the plurality of tone signal generating means are synthesized, and the synthesized left and right tone signals are output.

【0009】そして、特に本発明(請求項1)では、上
記した割り当て手段に、以下に説明する第1の生成状態
判断手段と、第2の生成状態判断手段と、第1の信号生
成確保手段と、出力制御手段とを備えるようにした。即
ち、第1の生成状態判断手段が、鍵が操作されると生成
状態記憶手段の記憶内容を参照して、消音状態の楽音信
号生成手段があるかどうかを判断し、第2の生成状態判
断手段が、第1の生成状態判断手段により、消音状態の
楽音信号生成手段がないと判断した場合には、生成状態
記憶手段の記憶内容を参照して、楽音信号生成手段にお
ける最も新たに発音した分から遡って、あらかじめ決め
られた数までの分を除いた中から、ステレオ発音のため
の左,右の楽音信号を生成している二対の該楽音信号生
成手段があるかどうかを判断する。
In the present invention (claim 1), the above-mentioned allocating means includes first generating state determining means, second generating state determining means, and first signal generation securing means described below. And an output control means. That is, when the key is operated, the first generation state determination unit refers to the storage contents of the generation state storage unit to determine whether there is a tone generation signal unit in a mute state, and determines the second generation state determination unit. When the first generation state determination means determines that there is no tone signal generation means in the mute state, the first generation state determination means refers to the contents stored in the generation state storage means to generate the newest sound in the tone signal generation means. It is determined whether there are two pairs of the tone signal generating means for generating left and right tone signals for stereo sound generation from among those excluding minutes up to a predetermined number from the minutes.

【0010】また、出力制御手段が、第1の信号生成確
保手段により消音状態とされない二つの楽音信号生成手
段にて生成された楽音信号を、それぞれ該二つの楽音信
号生成手段から左,右の楽音信号として出力させる。つ
まり、本発明(請求項1)の楽音信号発生装置では、鍵
が操作された際に、複数の楽音信号生成手段が全て発音
中(即ち、楽音信号生成中)であっても、発音中の楽音
信号発生手段の中から、二対の楽音信号生成手段を選び
出し、各対の内の一方の楽音信号生成手段を消音状態と
することにより、この消音状態となった二つの楽音信号
生成手段を、鍵に応じてステレオ発音するための楽音信
号生成手段として確保することができる。
Further, the output control means converts the tone signals generated by the two tone signal generation means, which are not muted by the first signal generation securing means, from the two tone signal generation means to the left and right, respectively. Output as a tone signal. In other words, in the tone signal generating device of the present invention (claim 1), when the key is operated, even if all of the plurality of tone signal generating means are emitting sounds (that is, tone signals are being generated), the sound is generated. By selecting two pairs of tone signal generating means from the tone signal generating means and setting one of the pairs of tone signal generating means to a mute state, the two tone signal generating means in the mute state are selected. , Can be secured as tone signal generating means for generating a stereo sound in accordance with the key.

【0011】しかも、消音させる楽音信号生成手段とし
ては、最も新たに発音した分から遡って、あらかじめ決
められた数までの分を除いた中から任意のものを選択す
るようにしているため、弾いたばかりの鍵の音が消音さ
せられることによって生じる違和感を、演奏者や聴き手
に与えてしまうのを防止することができる。従って、例
えば、和音を弾いた時点で楽音信号生成手段が全て発音
状態となったときに、更に鍵を弾いた場合には、和音を
弾く以前に弾いた鍵の音が消音されることになり、弾い
たばかりの和音は、そのまま演奏者や聴き手の耳に入り
込む。即ち、演奏者や聴き手にとっては、以前に弾いた
鍵の音が消音されたことに気づきにくく、何らの違和感
を抱くことなく演奏音(和音)を聞き取ることができる
ようになる。
In addition, since the tone signal generating means for silencing the sound is selected from a portion excluding the portion up to a predetermined number from the most recently generated portion, it is possible to select the desired tone signal. This can prevent a sense of incongruity caused by the mute of the key sound from being given to the player or the listener. Therefore, for example, when all the musical tone signal generating means are in a sound emitting state at the time of playing a chord, if a further key is played, the sound of the key played before playing the chord will be muted. The chord that has just been played enters the performer and listeners' ears. In other words, it is difficult for a player or a listener to notice that the sound of the previously played key has been muted, and the performance sound (chord) can be heard without any uncomfortable feeling.

【0012】ここで、特に、消音対象として選択する任
意の楽音信号生成手段として、例えば、和音を発音する
ための楽音信号を生成している楽音信号生成手段以外の
ものを優先的に指定すれば、古くから和音が発音されて
いる場合には、この和音を正常に発音した状態を保持す
ることが可能となる。
Here, in particular, as an arbitrary tone signal generating means to be selected as a target for silencing, for example, a tone signal generating means for generating a tone signal for producing a chord is preferentially designated. If a chord has been pronounced for a long time, it is possible to maintain a state in which the chord is normally pronounced.

【0013】一方、消音されずに残された二つの楽音信
号生成手段では、その後、出力手段から出力される楽音
信号がいわば「モノラル化」して発音されるように、生
成した楽音信号をそれぞれ左,右両方の楽音信号として
出力するようにしているため、出力手段では、出力され
る際の左右の音のバランスを維持でき、演奏者や聴き手
にとっては何らの違和感を抱くことなく演奏音を聞き取
ることができる。
On the other hand, the two tone signal generating means which remain without being silenced respectively generate the tone signal so that the tone signal output from the output means is generated in a so-called "monaural" manner. Since the tone signal is output as both the left and right tone signals, the output means can maintain the balance between the left and right sounds at the time of output, so that the performance sound can be maintained without any discomfort for the player or listener. Can be heard.

【0014】ところで、請求項1に記載の楽音信号発生
装置では、楽音信号生成手が全て発音状態のときに鍵が
次々に操作されると、楽音信号生成手段における最も新
たに発音した分から遡って、あらかじめ決められた数ま
での分を除いた分が全て「モノラル化」して発音するた
めの楽音信号を生成するようになる場合がある。
By the way, in the musical tone signal generating device according to the first aspect, if the keys are successively operated while all the musical tone signal generating hands are in the tone generating state, the musical tone signal generating means goes back from the most recently generated tone. In some cases, the musical tone signal for generating the sound to be converted into "monaural" is generated by excluding the portion up to the predetermined number.

【0015】そこで、請求項2に記載のように、第2の
生成状態判断手段により、ステレオ発音のための左,右
の楽音信号を生成している二対の楽音信号生成手段がな
いと判断した場合には、最も古くから楽音信号を生成し
ている二つの楽音信号生成手段を消音状態にして、生成
状態記憶手段の記憶内容を更新する第2の信号生成確保
手段を、割り当て手段に備えるようにしてもよい。
Therefore, as described in claim 2, the second generation state determination means determines that there are no two pairs of tone signal generation means for generating left and right tone signals for stereo sound generation. In this case, the assigning means is provided with a second signal generation securing means for setting the two tone signal generating means which are generating the tone signals from the oldest to the mute state and updating the storage contents of the generation state storage means. You may do so.

【0016】このようにすれば、上記したように所定の
楽音信号生成手段以外のものが全て「モノラル化」して
発音するための楽音信号を生成する状態であっても、
「モノラル」発音中の楽音信号生成手段を二つ消音状態
とすることにより、この消音状態となった二つの楽音信
号生成手段を、鍵に応じてステレオ発音するための楽音
信号生成手段として確保することができる。しかも、消
音させる楽音信号生成手段は、最も古くから楽音信号を
生成しているものを選択するようにしているため、弾い
たばかりの鍵の音が消音させられることによって生じる
違和感を演奏者や聴き手に与えてしまうのを防止するこ
とができる。
According to this configuration, even if all of the components other than the predetermined tone signal generating means generate a tone signal for generating a monophonic sound as described above,
By setting the two tone signal generating means that are producing “monaural” to be in a mute state, the two tone signal generating means that are in the mute state are secured as tone signal generating means for generating a stereo sound according to a key. be able to. Moreover, since the tone signal generating means for muting the sound selects the one that generates the tone signal from the oldest, the player or the listener can feel the discomfort caused by the muted sound of the key just played. Can be prevented.

【0017】ところで、第1の信号生成確保手段により
消音状態とされない二つの楽音信号生成手段にて生成さ
れた楽音信号を、それぞれ二つの楽音信号生成手段から
左,右の楽音信号として出力させることにより、ステレ
オ発音していた状態から、いわば「モノラル」発音する
状態に切り替わることになるが、このような「モノラ
ル」発音する状態となったときに、演奏者や聴き手に対
して、発音中の音に起因する違和感を与えないようにす
る必要がある。
By the way, the tone signals generated by the two tone signal generating means which are not muted by the first signal generation securing means are output as left and right tone signals from the two tone signal generating means, respectively. Is switched from a stereo sounding state to a so-called "monaural" sounding state. It is necessary not to give a sense of discomfort due to the sound of the sound.

【0018】そこで、請求項3に記載のように、出力手
段にて左右側の双方から同時に出力される楽音信号に対
して、操作された鍵に応じて所定の音像が得られるよう
に、パンニング処理を施す補正パンニング手段を、上記
した出力制御手段に備えるようにしてもよい。このよう
にすれば、例えば、操作された鍵が高音側であれば右出
力分のパンニング値を相対的に大きくし、低音側であれ
ば左出力分のパンニング値を相対的に大きくすることに
より、擬似的なステレオ効果を得ることができる。
Therefore, according to a third aspect of the present invention, panning is performed so that a predetermined sound image can be obtained in response to the operated key with respect to the tone signals simultaneously output from the left and right sides by the output means. Correction panning means for performing the processing may be provided in the output control means described above. By doing so, for example, if the operated key is on the high note side, the panning value for the right output is relatively increased, and if the operated key is on the low note side, the panning value for the left output is relatively increased. , A pseudo stereo effect can be obtained.

【0019】また、請求項4に記載のように、出力手段
にて左右側の双方から同時に出力される楽音信号に対し
て、操作された鍵に応じて所定の音像が得られるよう
に、出力する際の音量を補正する音量補正手段を、上記
した出力制御手段に備えるようにしてもよい。つまり、
音量補正手段では、出力手段にて左右側の双方から出力
される楽音信号から操作された鍵に応じた音像が得られ
るように、左出力分または右出力分の楽音信号の音量を
調整して、楽音信号生成手段から出力する。このように
すれば、例えば、操作された鍵が高音側であれば右出力
分の音量を相対的に大きくし、低音側であれば左出力分
の音量を相対的に大きくすることにより、擬似的なステ
レオ効果を得ることができる。
According to a fourth aspect of the present invention, a tone signal output simultaneously from both the left and right sides by the output means is output so that a predetermined sound image is obtained in accordance with an operated key. The output control means may be provided with a sound volume correcting means for correcting the sound volume at the time of performing. That is,
The volume corrector adjusts the volume of the tone signal for the left output or the right output so that a sound image corresponding to the operated key is obtained from the tone signal output from both the left and right sides by the output unit. , From the tone signal generating means. By doing so, for example, if the operated key is on the high note side, the volume of the right output is relatively increased, and if the operated key is on the low note side, the volume of the left output is relatively increased, so that the pseudo key is obtained. Stereo effect can be obtained.

【0020】従って、請求項3または請求項4に記載の
ように出力制御手段を構成すれば、演奏者や聴き手に対
して違和感を与えないようにして、ステレオ発音の状態
から、「モノラル」発音の状態に切り換えることができ
る。
Therefore, if the output control means is constituted as described in claim 3 or 4, it is possible to prevent the player and the listener from feeling uncomfortable, and to change the "monaural" state from the stereo sound state. You can switch to the sounding state.

【0021】[0021]

【発明の実施の形態】次に、図面を参照して本発明の楽
音信号発生装置の実施例を説明することにより、発明の
実施の形態を具体的に説明する。尚、本実施例の楽音信
号発生装置は、鍵盤式の電子楽器に組み込まれて、楽音
を出力するために使用される。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of a tone signal generating apparatus according to the present invention. The tone signal generator of this embodiment is incorporated in a keyboard-type electronic musical instrument and used to output a tone.

【0022】図1に示すように、本実施例の電子楽器1
0は、CPU12,CPUプログラムROM14,音色
パラメータROM16,CPUワークRAM18,パネ
ル20,キーボード(鍵盤)26,楽音信号発生回路4
0及びこれら各部を結ぶバスライン30等から構成され
ている。尚、バスライン30にはシリアル入出力回路3
2が接続されており、電子楽器10は、鍵盤26が操作
(つまり、押鍵または離鍵)されて楽音を演奏する以外
に、外部からシリアル入出力回路32にMIDI信号が
入力されることによっても、楽音を演奏できるようにな
っている。
As shown in FIG. 1, the electronic musical instrument 1 of this embodiment
0 denotes a CPU 12, a CPU program ROM 14, a tone parameter ROM 16, a CPU work RAM 18, a panel 20, a keyboard (keyboard) 26, and a tone signal generation circuit 4.
0 and a bus line 30 connecting these components. The bus line 30 has a serial input / output circuit 3
2 is connected to the electronic musical instrument 10. In addition to playing a musical tone by operating the keyboard 26 (that is, depressing or releasing a key), the electronic musical instrument 10 receives a MIDI signal from the outside to the serial input / output circuit 32. Can also play musical tones.

【0023】まず、CPUプログラムROM14には、
楽音発生のための制御プログラムが格納されており、C
PU12は、その制御プログラムに従い、鍵盤26のス
キャンを行なってキーオン/キーオフ,キーナンバー,
タッチ情報等の演奏情報を読み取り、楽音信号発生回路
40においてデジタル楽音信号を発生させるのに使用す
るチャネル(楽音発生チャネル)を割り当て、更に、パ
ネル20のスキャンを行なってパネル20に設けられた
各種スイッチの操作状態を読み取り、楽音発生チャネル
に対する発音制御を行なう、といった手順で、楽音発生
のための各種制御処理を実行する。
First, in the CPU program ROM 14,
A control program for generating a tone is stored.
The PU 12 scans the keyboard 26 in accordance with the control program, and performs key-on / key-off, key number,
The performance information such as touch information is read, and a channel (tone generation channel) used for generating a digital tone signal in the tone signal generation circuit 40 is allocated. Various control processes for generating a tone are executed by reading the operation state of the switch and controlling the tone generation for the tone generation channel.

【0024】一方、音色パラメータROM16では、ス
テレオ音色パラメータと、モノラル音色パラメータとが
格納されており、それぞれ、音色毎にアタック(Atac
k)、ディケイ(Decay)、及びリリース(Release)の各エン
ベロープデータや、ウェーブスタートアドレス(Wave St
art Address)、パンニング係数等の各パラメータを含ん
でいる。尚、ステレオ音色パラメータでは、各パラメー
タがそれぞれL側とR側とで対になって格納され、モノ
ラル音色パラメータでは、エンベロープデータやウェー
ブスタートアドレスがL/R共通パラメータとして格納
されている。
On the other hand, the timbre parameter ROM 16 stores a stereo timbre parameter and a monaural timbre parameter.
k), Decay and Release envelope data, and the wave start address (Wave St Address)
art Address), panning coefficient, and other parameters. In the case of the stereo timbre parameters, the respective parameters are stored in pairs on the L side and the R side, and in the case of the monaural timbre parameters, the envelope data and the wave start address are stored as L / R common parameters.

【0025】ここで、パンニング係数は、後述する楽音
信号発生回路40にて行われるパンニング処理にて使用
されるパラメータであり、CPU12から指令されたキ
ーナンバ(即ち、鍵盤26における押鍵された鍵の位
置)に応じて、左右の楽音信号の音量の割合を変化させ
るためのもので、例えば、キーナンバが鍵盤26におい
て中央よりも右側の鍵を示すものであれば、右系統の音
量を左系統の音量よりも大きく設定し、逆にキーナンバ
が鍵盤26において中央よりも左側の鍵を示すものであ
れば、左系統の音量を右系統の音量よりも大きく設定す
る、といった手順で実行される。
Here, the panning coefficient is a parameter used in a panning process performed by the tone signal generation circuit 40 described later, and is a key number specified by the CPU 12 (that is, a key of a key pressed on the keyboard 26). For example, if the key number indicates a key on the keyboard 26 on the right side of the center of the keyboard 26, the volume of the right system is changed to that of the left system. If the key number indicates a key on the keyboard 26 on the left side of the center of the keyboard 26, the volume of the left system is set to be higher than the volume of the right system.

【0026】尚、本実施例では、パンニング係数を0〜
100の間の値で設定するように構成されている。そし
て、ステレオ音色パラメータにおいてL側のパンニング
係数には、L側が低音,中音,高音とも70、R側が低
音,中音,高音とも0に設定され、一方、R側のパンニ
ング係数には、R側が低音,中音,高音とも70、L側
が低音,中音,高音とも0といったように設定され、し
かも、L/R側とも左右のパンニング係数を含ませて、
例えば押鍵されたキーナンバに基づいて音像位置を変え
て設定できるようになっている。
In this embodiment, the panning coefficient is set to 0 to 0.
It is configured to set with a value between 100. In the stereo timbre parameters, the panning coefficient on the L side is set to 70 for the low, medium, and treble on the L side, and 0 for the low, middle, and treble on the R side, while the panning coefficient on the R side is set to R The low side, the medium frequency, and the high frequency are set to 70 for the low side, the low side, the medium frequency, and the high frequency are set to 0 for the low side, and the left / right side includes the left and right panning coefficients.
For example, the sound image position can be changed and set based on the key number pressed.

【0027】また、本実施例では、モノラル音色パラメ
ータは、L側が低音から高音にいくに従って80〜40
へ除々に値が小さくなり、R側が低音から高音にいくに
従って40〜80へ除々に値が大きくなり、しかも、中
音がL/R側とも70となるように設定されている。
In this embodiment, the monaural timbre parameter is 80 to 40 as the L side goes from low to high.
The value is set so that the value gradually decreases, and the value gradually increases from 40 to 80 as the R side goes from low tone to high tone, and the middle tone also becomes 70 on the L / R side.

【0028】そして、CPUワークRAM18は、CP
U12の作業用領域として使用される他、後述するよう
に、楽音発生のために使用される楽音発生チャネルの動
作状態を記憶し、請求項記載の「生成状態記憶手段」と
して機能する。また、上記したCPUプログラムROM
14には、制御プログラムの他、自動演奏用楽曲データ
等も格納されており、CPU12は、パネル20の操作
によって当該装置が自動演奏モードに設定された場合に
は、自動演奏用楽曲データに基づき楽音信号発生回路4
0から自動演奏用の楽音を発生させることもできる。
尚、CPUワークRAM18は、記憶したデータが電子
楽器10の電源遮断時に消失しないようにバッテリによ
ってバックアップされている。
Then, the CPU work RAM 18 stores the CP
In addition to being used as a work area of U12, as will be described later, it stores the operation state of a tone generation channel used for tone generation, and functions as a "generation state storage means". Also, the CPU program ROM described above
In addition to the control program, the control program 14 also stores music data for automatic performance, etc., and when the device is set to the automatic performance mode by operating the panel 20, the CPU 12 executes the processing based on the music data for automatic performance. Tone signal generation circuit 4
From 0, a tone for automatic performance can also be generated.
The CPU work RAM 18 is backed up by a battery so that the stored data is not lost when the power of the electronic musical instrument 10 is shut off.

【0029】パネル20は、音色等の各種選択スイッ
チ、LED或はLCD等からなる表示装置、CPU12
の制御により各スイッチの情報を読み込むためのパネル
スキャン回路22、及び表示装置を駆動するパネル表示
回路24からなる。また、鍵盤26は、例えばそれぞれ
2つのスイッチを有する複数の鍵(キー)と、CPU1
2の制御により各キーのスイッチの押圧状態をスキャン
するキースキャン回路28とからなる。
The panel 20 includes various selection switches for tone and the like, a display device such as an LED or an LCD, and a CPU 12.
, A panel scan circuit 22 for reading the information of each switch and a panel display circuit 24 for driving the display device. The keyboard 26 includes, for example, a plurality of keys (keys) each having two switches, and a CPU 1.
The key scan circuit 28 scans the pressed state of the switch of each key under the control of 2.

【0030】即ち、本実施例の電子楽器10では、鍵盤
26の鍵が操作されると、キースキャン回路28が押鍵
(キーオン)、離鍵(キーオフ)を検出し、検出した押
鍵/離鍵に関する情報をそのままキーナンバと共にバス
ライン30に送出する。バスライン30に送出された押
鍵/離鍵情報及びキーナンバは、CPU12及び楽音信
号発生回路40に取り込まれ、またCPU12の制御下
でCPUワークRAM18に記憶される。
That is, in the electronic musical instrument 10 of this embodiment, when a key on the keyboard 26 is operated, the key scan circuit 28 detects a key press (key on) and a key release (key off), and detects the detected key press / release. The information about the key is sent to the bus line 30 together with the key number as it is. The key press / release information and key number sent to the bus line 30 are taken into the CPU 12 and the tone signal generation circuit 40, and stored in the CPU work RAM 18 under the control of the CPU 12.

【0031】次に、図2は、図1中に示した楽音信号発
生回路40の構成の一例を表わすブロック図である。楽
音信号発生回路40は、CPU12の制御により、時分
割多重処理によって複数の楽音発生チャネル(本実施例
では32チャネル)の独立した楽音信号を生成すること
ができる(尚、図2においては、説明を簡単にするた
め、1つの楽音発生チャネルの機能のみを代表して示し
ている)。また、各楽音発生チャネルには番号が付され
ている(本実施例では1〜32ch)。尚、楽音信号発
生回路40及び楽音発生チャネルは、請求項記載の「楽
音信号生成手段」として機能する。
FIG. 2 is a block diagram showing an example of the configuration of the tone signal generating circuit 40 shown in FIG. Under the control of the CPU 12, the tone signal generation circuit 40 can generate independent tone signals of a plurality of tone generation channels (32 channels in this embodiment) by time division multiplexing processing (note that FIG. For simplicity, only the function of one tone generation channel is shown as a representative). Each tone generating channel is numbered (in this embodiment, 1 to 32 channels). The tone signal generating circuit 40 and the tone generating channel function as a "tone signal generating means".

【0032】そして、この楽音信号発生回路40は、複
数のサンプル波形データを格納している波形ROM4
2、バスインターフェース44、波形ROM42からサ
ンプル波形データを読み込んで、読み込んだサンプル波
形データに基づいてサンプル波形を生成する波形読み出
し器46、楽音の音質等を制御するために用いられるエ
ンベロープ信号を生成するエンベロープ発生器48、楽
音信号発生回路40の一部として機能するRAMである
アサインメントメモリ40a等から構成されている。
The tone signal generating circuit 40 stores a plurality of sampled waveform data in the waveform ROM 4.
2. Reads the sample waveform data from the bus interface 44 and the waveform ROM 42, generates a sample waveform based on the read sample waveform data, a waveform reader 46, and generates an envelope signal used for controlling the tone quality and the like of musical tones. It comprises an envelope generator 48, an assignment memory 40a which is a RAM functioning as a part of the tone signal generation circuit 40, and the like.

【0033】バスインターフェース44は、CPUワー
クRAM18に格納された各種データ(例えば、押鍵/
離鍵情報、キーナンバー等)がCPU12によって読み
出された結果として、バスライン30を介してCPU1
2から転送されてくるそれらの情報を受信し、必要な回
路等(例えば、波形読み出し器46、エンベロープ発生
器48)に転送する。波形読み出し器46は、送られて
くるキーナンバーに応じて、音高に対応する間隔の波形
メモリ読出しアドレスを発生する。波形メモリ42は、
各種音色に対応する楽音波形情報を記憶するメモリであ
る。エンベロープ発生器48は、押鍵/離鍵情報に基づ
き、楽音を制御するためのエンベロープ信号を発生す
る。
The bus interface 44 stores various data stored in the CPU work RAM 18 (for example,
Key release information, key number, etc.) as a result of being read by the CPU 12,
2 to receive the information and transfer it to necessary circuits and the like (for example, the waveform reader 46 and the envelope generator 48). The waveform reader 46 generates a waveform memory read address at an interval corresponding to the pitch in accordance with the sent key number. The waveform memory 42
This memory stores tone waveform information corresponding to various timbres. The envelope generator 48 generates an envelope signal for controlling a musical tone based on key press / key release information.

【0034】また、アサインメントメモリ40aは、楽
音発生チャネル毎に、各種のキーアサインメント情報を
記憶する。即ち、押鍵/離鍵情報、キーナンバ、ウェー
ブスタートアドレス、L側及びR側パンニング係数、ア
タック、ディケイ及びリリースといった各エンベロープ
データ、ラウドネスデータが1チャネル分のアサインメ
ント情報であり、それを32チャネル分記憶できる。
The assignment memory 40a stores various key assignment information for each tone generation channel. That is, key press / release information, key number, wave start address, L and R side panning coefficients, each of envelope data such as attack, decay and release, and loudness data are assignment information for one channel. You can remember minutes.

【0035】記憶されるキーナンバとその押鍵/離鍵情
報は、上述のキースキャン回路28がバスライン30に
送出したものである。ウェーブスタートアドレス、L側
及びR側パンニング係数及びエンベロープデータは、パ
ネル20の音色選択スイッチに基づいて音色パラメータ
ROM16から獲得したものである。ラウドネスデータ
は、ボリュームコントローラのポジションをパネルスキ
ャン回路22が検出し、それを数値化してバスライン3
0に送出したデータである。即ち、アサインメントメモ
リ40aは、それぞれの楽音発生チャネルが生成してい
るサンプル波形が対応しているキーナンバ、音色及び音
量に関するデータを記憶するといえる。
The stored key number and key press / key release information are sent from the key scan circuit 28 to the bus line 30. The wave start address, the L-side and R-side panning coefficients, and the envelope data are obtained from the timbre parameter ROM 16 based on the timbre selection switch on the panel 20. The panel scan circuit 22 detects the loudness data from the position of the volume controller.
This is the data sent to 0. In other words, it can be said that the assignment memory 40a stores data on the key number, timbre, and volume corresponding to the sample waveform generated by each tone generation channel.

【0036】このように構成された楽音信号発生回路4
0では、アサインメントメモリ40aからのキーナンバ
に対応するFナンバと、ウェーブスタートアドレスと、
押鍵/離鍵情報が波形読み出し器46に入力される。波
形読み出し器46では、Fナンバの整数部分にウェーブ
スタートアドレスが加算され、その加算後のデータが波
形ROM42のアドレスを指定する一方、このアドレス
指定されたサンプル波形データを読み込み、Fナンバの
少数部分を用いてサンプル波形データに補間処理を施
す。
The tone signal generating circuit 4 constructed as described above
0, the F number corresponding to the key number from the assignment memory 40a, the wave start address,
Key press / key release information is input to the waveform reader 46. In the waveform reader 46, the wave start address is added to the integer part of the F number, and the data after the addition specifies the address of the waveform ROM 42, while reading the addressed sampled waveform data, and reads the decimal part of the F number. To perform interpolation processing on the sample waveform data.

【0037】波形読み出し器46から出力されたサンプ
ル波形データは、乗算器MLT1に送られる。乗算器M
LT1には、エンベロープ発生器48からのエンベロー
プデータが入力され、サンプル波形データにエンベロー
プデータが乗算される。このエンベロープデータは、ア
サインメントメモリ40aからエンベロープ発生器48
に供給されるアタック、ディケイ及びリリースといった
エンベロープデータと、キーオン/キーオフ情報とに基
づいている。更に、サンプル波形データには、乗算器M
LT2において、アサインメントメモリ40aからのラ
ウドネスデータが乗算される。
The sample waveform data output from the waveform reader 46 is sent to the multiplier MLT1. Multiplier M
LT1 receives the envelope data from the envelope generator 48, and multiplies the sample waveform data by the envelope data. This envelope data is stored in an envelope generator 48 from the assignment memory 40a.
Is provided based on envelope data such as attack, decay and release, and key-on / key-off information. Further, a multiplier M
In LT2, the loudness data from the assignment memory 40a is multiplied.

【0038】このように、エンベロープデータとラウド
ネスデータとが乗算されることにより、操作された鍵に
応じて音を発生するための楽音信号が生成される。そし
て、生成された楽音信号はパンニング回路50に送られ
る。パンニング回路50は、L側パンニング値補間回路
50Lと、乗算器MLT3とで構成されるL側系列、及
び、R側パンニング値補間回路50Rと、乗算器MLT
4とで構成されるR側系列からなり、その下流側の系列
累算回路52は、加算器ADD1とラッチ52Lとから
なるL側系列と、加算器ADD2とラッチ52Rとから
なるR側系列とから構成されている。
As described above, by multiplying the envelope data and the loudness data, a tone signal for generating a sound in accordance with the operated key is generated. Then, the generated tone signal is sent to the panning circuit 50. The panning circuit 50 includes an L-side panning value interpolation circuit 50R, an L-side panning value interpolation circuit 50R, and an R-side panning value interpolation circuit 50R.
4, the downstream side sequence accumulating circuit 52 includes an L-side sequence including an adder ADD1 and a latch 52L, and an R-side sequence including an adder ADD2 and a latch 52R. It is composed of

【0039】L側パンニング値補間回路50L及びR側
パンニング値補間回路50Rは、CPU12から補間の
有無を指示され、補間有りならアサインメントメモリ4
0aから取得したパンニング係数(パン値)を乗算器M
LT3,MLT4に送出する。乗算器MLT3,MLT
4にパンニング係数が送出された際には、そのパンニン
グ係数が楽音信号に乗算される。
The L-side panning value interpolation circuit 50L and the R-side panning value interpolation circuit 50R are instructed by the CPU 12 to determine whether or not interpolation has been performed.
The panning coefficient (pan value) obtained from 0a is multiplied by a multiplier M
Transmit to LT3 and MLT4. Multiplier MLT3, MLT
When the panning coefficient is sent to No. 4, the tone signal is multiplied by the panning coefficient.

【0040】更に、楽音信号は、加算器ADD1,2を
経て、ラッチ52L,52Rに送られ、全チャネル分の
累算処理が行われる。累算された楽音信号は、上述した
ように、左右出力系において、アナログ変換され、増幅
され、楽音として出力される。
Further, the tone signal is sent to the latches 52L and 52R via the adders ADD1 and ADD2 and the accumulation process for all channels is performed. As described above, the accumulated tone signal is converted into an analog signal in the left and right output systems, amplified, and output as a tone.

【0041】図1に戻り、楽音信号発生回路40には、
デジタルアナログコンバータ(DAC)60L、アンプ
62L及びスピーカ(SP)64Lからなる左出力系
と、同様にDAC60R、アンプ62R及びスピーカ6
4Rからなる右出力系とが接続されており、左右出力系
は、それぞれ系列累算回路52から出力されるデジタル
信号をアナログ信号を変換し、増幅し、音声出力するこ
とができる。ここで、加算器ADD1,2、ラッチ52
L,52R、DAC60L,60R、アンプ62L,6
2R、スピーカ64L,64Rは、共同して請求項記載
の出力手段として機能する。
Returning to FIG. 1, the tone signal generation circuit 40
A left output system including a digital-analog converter (DAC) 60L, an amplifier 62L, and a speaker (SP) 64L, and a DAC 60R, an amplifier 62R, and a speaker 6
The right and left output systems are connected to each other, and the left and right output systems can convert digital signals output from the sequence accumulation circuit 52 into analog signals, amplify the signals, and output audio. Here, adders ADD1, ADD2, latch 52
L, 52R, DAC 60L, 60R, amplifier 62L, 6
The 2R and the speakers 64L and 64R function together as an output unit described in the claims.

【0042】ところで、上記したCPUワークRAM1
8では、図3に示すように、基本楽音情報格納エリア,
キーオン順序管理情報格納エリア,楽音発生状態情報格
納エリア,和音発生情報格納エリアからなる合計四つの
情報格納エリアが確保されている。
Incidentally, the CPU work RAM 1 described above is used.
In FIG. 8, as shown in FIG.
A total of four information storage areas including a key-on sequence management information storage area, a tone generation state information storage area, and a chord generation information storage area are secured.

【0043】まず、基本楽音情報格納エリアは、鍵盤が
押鍵された際に(或いはMIDI信号が入力された際
に)、パネル20の操作等によって設定された各種発音
条件に基づいて発音するための各種楽音情報を格納する
ものであり、楽音信号発生回路40における楽音発生チ
ャネルに対応して最大32チャネル分の各種楽音情報を
格納するエリアが確保されている。尚、各エリアにはc
h1〜32までの番号(Ch#No.)が順に付されている。
First, the basic tone information storage area is used to generate sound when a key is pressed (or when a MIDI signal is input) based on various sounding conditions set by operating the panel 20 or the like. And an area for storing up to 32 channels of various types of tone information corresponding to the tone generation channels in the tone signal generation circuit 40 is secured. Each area has c
The numbers (Ch # No.) from h1 to h32 are assigned in order.

【0044】即ち、この基本楽音情報格納エリアでは、
非発音状態,モノラル発音状態,ステレオ発音状態のい
ずれであるかを示す発音状態情報(Use#cnt)、楽音信号
発生回路40にてサンプル波形を発生させるための楽音
発生チャネルの番号を示すチャネル情報(Tg#ch1,Tg#ch
2)、パラメータROM16から読み出された音色パラメ
ータを示す音色番号情報(Tone#No.)、押鍵された鍵を示
すキーナンバ情報(Key#No.)、発音が鍵盤の操作による
ものか、或いはMIDI信号の入力によるものかを示す
トラック情報(Tr#No.)等が格納される。また、発音状態
情報は、非発音ならば0、モノラル発音ならば「1」、
ステレオ発音ならば「2」、といった数値として格納さ
れる。チャネル情報は、楽音発生チャネル番号(1〜3
2)が格納される。ステレオ発音ならば、Tg#ch1,Tg#ch
2に対して、互いに異なる楽音発生チャネル番号(例え
ば、ch1,ch2)が格納され、モノラル発音ならば
Tg#ch1に楽音発生チャネル番号(例えば、ch3)が格
納され、Tg#ch2には0が格納される。音色番号情報は、
複数の音色パラメータそれぞれに付されている番号(例
えば、0,1,…,100)に応じて、例えばピアノな
らば0というように、数値として格納される。キーナン
バ情報は、鍵盤の各鍵に付された番号に応じて、数値と
して格納される。尚、本実施例の電子楽器10では、鍵
数が88個であり、低音発音用の鍵から高音発音用の鍵
にかけて順に1〜88の番号が付されている。
That is, in this basic tone information storage area,
Sounding state information (Use # cnt) indicating whether the sound is in a non-sounding state, a monaural sounding state, or a stereo sounding state, and channel information indicating the number of a tone generating channel for generating a sample waveform in the tone signal generating circuit 40. (Tg # ch1, Tg # ch
2), tone number information (Tone # No.) Indicating the tone parameter read from the parameter ROM 16, key number information (Key # No.) Indicating the key pressed, whether the sound is generated by operating the keyboard, or Track information (Tr # No.) Indicating whether or not the MIDI signal is input is stored. The pronunciation state information is 0 for non-sounding, “1” for monaural sounding,
For a stereophonic sound, it is stored as a numerical value such as “2”. The channel information includes a tone generation channel number (1 to 3)
2) is stored. Tg # ch1, Tg # ch for stereo pronunciation
2, different tone generation channel numbers (for example, ch1 and ch2) are stored.
The tone generation channel number (for example, ch3) is stored in Tg # ch1, and 0 is stored in Tg # ch2. Tone number information
According to the number (for example, 0, 1,..., 100) assigned to each of the plurality of tone color parameters, the value is stored as a numerical value, such as 0 for a piano. The key number information is stored as a numerical value according to the number assigned to each key on the keyboard. In the electronic musical instrument 10 of this embodiment, the number of keys is 88, and numbers 1 to 88 are assigned in order from a key for low-pitched sound generation to a key for high-pitched sound generation.

【0045】次に、キーオン順序管理情報格納エリアで
は、発音するのに使用された基本楽音情報格納エリアの
エリア番号(Ch#No.)を、発音した順にそれぞれ格納され
るようになっており、いわば発音履歴を示すものであ
る。尚、このキーオン順序管理情報格納エリアでは、図
中下方ほど新しく発音したチャネルのエリア番号(Ch#N
o.)が格納される。
Next, in the key-on sequence management information storage area, the area numbers (Ch # No.) Of the basic tone information storage area used for sound generation are stored in the order of sound generation. In other words, it indicates the pronunciation history. In the key-on order management information storage area, the area number (Ch # N
o.) is stored.

【0046】一方、楽音発生状態情報格納エリアでは、
基本楽音情報格納エリアに格納された発音条件に応じて
発音する際の各チャネルの発音状態に関する情報が格納
される。即ち、エリア番号(Ch#No.)と、そのエリア番号
に基づいて楽音信号発生回路40にて発音した際のエン
ベロープフェーズ状態情報(Env.)と、そのエリア番号(C
h#No.)のエリアが、非発音状態を含む消音状態(Off)で
あるか、或いは発音状態(ON)であるかを示す発音情報等
からなる。
On the other hand, in the tone generation state information storage area,
Information about the sounding state of each channel when sounding according to sounding conditions stored in the basic tone information storage area is stored. That is, the area number (Ch # No.), The envelope phase state information (Env.) Generated by the tone signal generation circuit 40 based on the area number, and the area number (C
h # No.) area includes sounding information indicating whether the area is in a mute state (Off) including a non-sounding state or a sounding state (ON).

【0047】ここで、エンベロープフェーズ状態情報
は、楽音信号発生回路40にて発生したサンプル波形が
消音状態(トランケート状態)のときに数値0が格納さ
れ、また、アタック状態では1、ディケイ状態では2、
リリース状態では3といった数値が格納される。
Here, as the envelope phase state information, a numerical value 0 is stored when the sample waveform generated by the tone signal generation circuit 40 is in a mute state (truncated state), and is 1 in an attack state and 2 in a decay state. ,
In the release state, a numerical value such as 3 is stored.

【0048】また、和音発生情報格納エリアでは、基本
楽音情報格納エリアに格納された音色番号情報(Tone#N
o.)、及び、キーナンバ情報(Key#No.)に基づいて、各楽
音発生チャネルが生成する楽音信号が和音を発生させる
ためのものであるか、或いは、それ以外の音を発生させ
るためのものであるかのいずれかを示す情報が格納され
る。例えば、ある楽音発生チャネルが和音以外の音を発
生させる状態であれば、その楽音発生チャネルに該当す
るエリアに「0」を格納し、和音を発生させる状態であ
れば、和音を発生させる状態になった順に、それぞれ
「1」、「2」…「n」というように数字(自然数)を
格納する。
In the chord generation information storage area, tone color number information (Tone # N) stored in the basic tone information storage area is stored.
o.), and based on the key number information (Key # No.), the tone signal generated by each tone generation channel is for generating a chord, or for generating other sounds. The information indicating any one of these is stored. For example, if a certain tone generation channel generates a sound other than a chord, "0" is stored in an area corresponding to the tone generation channel, and if a chord is generated, a chord is generated. Numerical values (natural numbers) such as "1", "2",.

【0049】即ち、図中に示すように、チャネルch
1,ch2に該当するエリアには、それぞれ「0」が格
納されており、和音以外の音を発生させるための楽音信
号を生成することを示している。また、チャネルch3
〜ch8の六つのチャネルに該当するエリアには、それ
ぞれ「4」が格納されており、各楽音発生チャネルは、
電子楽器10が演奏状態になってから3番目に和音を発
生させる状態となったことを示すと共に、六つのチャネ
ルを用いてステレオ発音で3音の和音を発生させること
を示す。一方、同じく図中に示したチャネルch28〜
ch32の五つのチャネルに該当するエリアには、それ
ぞれ「1」が格納されており、各楽音発生チャネルは、
電子楽器10が演奏状態になってから最初に和音を発生
させる状態となったことを示す。また、これら五つのチ
ャネルにてモノラル1音、ステレオ2音からなる3音の
和音を発生させることを示すが、どのチャネルがモノラ
ル発音をしているかは、基本楽音情報格納エリアの発音
状態情報(Use#cnt)を参照することにより分かる。
That is, as shown in FIG.
“0” is stored in the areas corresponding to 1 and ch2, respectively, indicating that a tone signal for generating a sound other than a chord is to be generated. Also, channel ch3
“4” is stored in each of the areas corresponding to the six channels from ch8 to ch8.
This indicates that the electronic musical instrument 10 is in the state of generating the third chord after the playing state, and that the three musical tones are generated in stereo sound using six channels. On the other hand, channels ch28 to
"1" is stored in each of the areas corresponding to the five channels of ch32.
This indicates that the electronic musical instrument 10 is in a state of generating a chord for the first time since the electronic musical instrument 10 enters the playing state. In addition, it is shown that a chord of three tones consisting of one monaural sound and two stereo sounds is generated in these five channels, and which channel produces monaural sound is determined by the sounding state information (in the basic tone information storage area). Use # cnt).

【0050】以上のように構成された電子楽器10にお
いて、CPU12が実行する制御処理を、図4〜6に示
すフローチャートに沿って説明する。まず、電子楽器1
0の電源がオンされると、CPU12は各種の初期化処
理を行う(S2)。以後は、パネル20のモード選択ス
イッチ、音色選択スイッチ、ボリュームコントローラの
オン/オフやポジション等に応じて、音色、音量等を設
定するためのパネル処理(S4)、押鍵/離鍵に対応し
て発音或いは消音を実行するための処理であるキーイベ
ント処理(S6)、その他の処理(S8)を繰り返し実
行する。
Control processing executed by the CPU 12 in the electronic musical instrument 10 configured as described above will be described with reference to flowcharts shown in FIGS. First, electronic musical instrument 1
When the power supply 0 is turned on, the CPU 12 performs various initialization processes (S2). Thereafter, a panel process (S4) for setting a tone color, a volume, and the like in accordance with the mode selection switch, the tone color selection switch, and the ON / OFF and the position of the volume controller of the panel 20 corresponds to key press / key release. Key event processing (S6), which is processing for executing sound generation or mute, and other processing (S8) are repeatedly executed.

【0051】キーイベント処理(S6)では、図5に示
すように、CPU12がキースキャン回路28の検出結
果に基づいて押鍵されたかどうかを判断し(S10)、
押鍵されたと判断したときには(S10:YES)、発
音チャネル取得処理を実行する(S12)。
In the key event process (S6), as shown in FIG. 5, the CPU 12 determines whether or not a key is pressed based on the detection result of the key scan circuit 28 (S10).
When it is determined that the key is pressed (S10: YES), a sounding channel acquisition process is executed (S12).

【0052】発音チャネル取得処理(S12)では、図
6に示すように、CPUワークRAM18を検索して空
きチャネルがあるかどうかを判断(S20)し、空きチ
ャネルがあると判断したときには(S20:YES)、
S22〜S28の処理を行わずに、S30の処理を実行
するが、空きチャネルがなないと判断したときには(S
20:NO)、同じくCPUワークRAM18を検索し
て、最も新たに発音した4チャネル分を除く28チャネ
ルの中に、ステレオ発音中のチャネルが少なくとも一対
あるかどうかを判断する(S22)。ステレオ発音中の
チャネルが少なくとも一対あると判断したときには(S
22:YES)、CPUワークRAM18を検索して、
ステレオ発音中のチャネルの内で、ステレオ発音にて和
音を発生するための楽音信号を生成しているチャネル以
外のチャネルを優先的に選択し、更に、選択したチャネ
ルの内で最も古くからステレオ発音している左右一対の
チャネルを選択し、次いで、この一対のチャネルの内の
R側のチャネルを消音して、新たなキーオンに対応する
ためのチャネルとして確保する(S24)。尚、S24
の処理では、ステレオ発音中のチャネルが全て和音を発
生するための楽音信号を生成している場合には、和音発
音中のチャネルの内で最も古くから発音しているチャネ
ルを選択し、選択したチャネルの内のR側のチャネルを
消音して、新たなキーオンに対応するためのチャネルと
して確保する。
In the sounding channel acquisition process (S12), as shown in FIG. 6, the CPU work RAM 18 is searched to determine whether there is an empty channel (S20). When it is determined that there is an empty channel (S20: YES),
The processing of S30 is executed without performing the processing of S22 to S28, but when it is determined that there is no available channel (S30).
20: NO) Similarly, the CPU work RAM 18 is searched to determine whether or not there are at least one pair of stereo sounding channels among the 28 channels excluding the four channels which sounded the most recently (S22). When it is determined that there is at least one pair of stereo sounding channels (S
22: YES), and searches the CPU work RAM 18 for
Of the channels that are sounding in stereo, preferentially select channels other than the channel that is generating the tone signal for generating chords in stereo sounding, and furthermore, stereo sounding from the oldest of the selected channels Then, a pair of left and right channels is selected, and then the channel on the R side of the pair of channels is muted to secure a channel corresponding to a new key-on (S24). S24
In the processing of, if all the channels that are sounding in stereo generate a tone signal for generating a chord, the channel that has been sounding for the longest time among the channels that are sounding in chords is selected and selected. The channel on the R side of the channels is muted and secured as a channel corresponding to a new key-on.

【0053】そして、残ったL側のチャネルのパンニン
グ係数を、押鍵されたキーナンバに基づいて変更してモ
ノラル化する。しかも、L側のチャネルをモノラル化し
て発音させる際には、パネル20のボリュームコントロ
ーラのポジションに基づくラウドネスデータを、キーオ
ン時にL/R側からステレオ発音として出力されるべき
音量と同様の音量となるよう、モノラル化したL側のチ
ャネルのラウドネスデータを補正する(S26)。
Then, the panning coefficient of the remaining L-side channel is changed to a monaural value based on the depressed key number. Moreover, when the L-side channel is made monaural and sounded, the loudness data based on the position of the volume controller on the panel 20 has the same volume as the volume that should be output as stereo sound from the L / R side at key-on. Thus, the loudness data of the monaural L-side channel is corrected (S26).

【0054】一方、S22にて、ステレオ発音中のチャ
ネルがないと判断(即ち、全てのチャネルがモノラル発
音中であると判断)したときには(S22:NO)、C
PUワークRAM18を検索して、モノラル発音中のチ
ャネルの内で、モノラル発音にて和音を発生するための
楽音信号を生成するチャネル以外のチャネルを優先的に
選択し、更に、選択したチャネルの内で最も古くからモ
ノラル発音しているチャネルを選択し、次いで、このチ
ャネルを消音して、新たなキーオンに対応させるための
チャネルとして確保する(S28)。尚、S28の処理
では、モノラル発音中のチャネルが全て和音を発生する
ための楽音信号を生成している場合には、和音発音中の
チャネルの内で最も古くから発音しているチャネルを選
択し、選択してチャネルを消音して、新たなキーオンに
対応するためのチャネルとして確保する。
On the other hand, if it is determined in S22 that there is no stereo sounding channel (that is, it is determined that all channels are monaural sounding) (S22: NO), C
The PU work RAM 18 is searched to select a channel other than a channel for generating a tone signal for generating a chord in monaural sound preferentially from among the monaural sounding channels, and further, among the selected channels. , The channel that has been producing the monaural sound from the oldest is selected, and then this channel is muted to secure a channel corresponding to a new key-on (S28). In the process of S28, if all the channels that are generating monaural sound generate tone signals for generating chords, the channel that has been generating the oldest sound among the channels that are generating chords is selected. , Select and mute the channel, and reserve it as a channel to respond to a new key-on.

【0055】そして、CPU12は、以上のS20〜S
28について、新たなキーオンに対応してステレオ発音
するために必要な2チャネル分が確保されるまで繰り返
し実行する(S30)。最終的に2チャネル分が確保さ
れると、CPUワークRAM18のキーオン順序管理エ
リアにおいて、消音したチャネルを除外して、使用され
た基本楽音情報格納エリアのエリア番号の順序を更新す
る(S32)。その後、図5に戻り、確保された2チャ
ネルを用いて新たなキーオンに対応してステレオ発音す
るための楽音信号をそれぞれ生成させ、生成した楽音信
号をDAC60L,60R、アンプ62L,62R、ス
ピーカ62L,62Rを介して発音させる(S14)。
Then, the CPU 12 executes the above S20-S
With respect to 28, the process is repeatedly executed until two channels required for stereo sounding corresponding to a new key-on are secured (S30). When two channels are finally secured, the order of the area numbers of the used basic tone information storage area is updated in the key-on order management area of the CPU work RAM 18, excluding the mute channel (S32). Then, returning to FIG. 5, using the reserved two channels, a tone signal for stereo sounding is generated in response to a new key-on, and the generated tone signals are converted into DACs 60L and 60R, amplifiers 62L and 62R, and a speaker 62L. , 62R (S14).

【0056】ところで、図5に示したキーイベント処理
において、押鍵されていないと判断したときには(S1
0:NO)、離鍵されたかどうかを判断し(S16)、
離鍵されたと判断したときには(S16:YES)、発
音中のチャネルを消音させ(S18)、離鍵されていな
いと判断したときには(S16:NO)、S18の処理
を行うことなくリターンする。
In the key event processing shown in FIG. 5, when it is determined that the key is not pressed (S1).
0: NO), it is determined whether the key has been released (S16),
When it is determined that the key is released (S16: YES), the sounding channel is muted (S18), and when it is determined that the key is not released (S16: NO), the process returns without performing the process of S18.

【0057】ここで、S12の処理(発音チャネル取得
処理)及びS14の処理(発音処理)は、共同して請求
項記載の「割り当て手段」として機能する。また、S2
0の処理は、請求項記載の「第1の生成状態判断手段」
として機能する。S12の処理において、S22の処理
を繰り返す処理は、請求項記載の「第2の生成状態判断
手段」として機能し、S24の処理を繰り返して楽音発
生チャネルを二つ確保する処理と、S32の処理とは、
請求項記載の第1の信号生成確保手段として機能する。
一方、モノラル化を実現するエンベロープ発生器48及
びパンニング回路50及びS26の処理は、請求項記載
の「出力制御手段」、「補正パンニング手段」及び「音
量補正手段」として機能する。
Here, the processing of S12 (sound generation channel acquisition processing) and the processing of S14 (sound generation processing) function together as "assigning means". Also, S2
The processing of 0 is the "first generation state determination means" described in claims.
Function as In the processing of S12, the processing of repeating the processing of S22 functions as the "second generation state determining means" described in the claims, and the processing of repeating S24 to secure two tone generation channels and the processing of S32 Is
It functions as a first signal generation securing means described in the claims.
On the other hand, the processing of the envelope generator 48, the panning circuit 50, and S26 for realizing monaural function as an "output control means", a "correction panning means", and a "volume correction means".

【0058】また、本実施例では、最も新たに発音した
4チャネルを除くモノラル発音中の28チャネルの中か
ら、新たなキーオンに対応させるためのチャネルは、S
28の処理を繰り返すことによって確保される。従っ
て、S28の処理を繰り返す処理は、請求項記載の「第
2の信号生成確保手段」として機能する。
In this embodiment, among the 28 channels in monaural sound except for the 4 most recently sounded channels, the channel corresponding to a new key-on is S.
It is secured by repeating the process of 28. Therefore, the process of repeating the process of S28 functions as a “second signal generation ensuring unit” in the claims.

【0059】以上説明したように本実施例の電子楽器に
おいては、押鍵されたときに、押鍵に応じて発音するた
めの楽音信号を生成すべきチャネル(楽音発生チャネ
ル)がない場合には、最も新たに発音した4チャネル分
を除くチャネル(28チャネル)の中から一対のチャネ
ルを新たなキーオンのために確保する。このようにする
ことで、新たな押鍵に応じたステレオ発音が可能とな
る。しかも、消音するチャネルは、最も新たに発音した
4チャネルよりも古くから発音しているチャネルの中か
ら選択するようにしているので、発音した楽音が即座に
消音されることによって生じる音の不自然さといった違
和感を、演奏者や聴き手が感じてしまうのを防止するこ
とができる。
As described above, in the electronic musical instrument of this embodiment, when a key is depressed, if there is no channel (tone generating channel) for generating a tone signal for producing a sound in response to the key depression, A pair of channels is reserved for a new key-on from among the channels (28 channels) excluding the four channels that have been newly sounded. By doing so, stereo sounding according to a new key depression can be performed. Moreover, since the channel to be silenced is selected from channels that have been sounding for a longer time than the four channels that have been most recently sounded, the unnatural sound produced by the instantaneous silencing of the sounded musical tone. It is possible to prevent a player or a listener from feeling such discomfort.

【0060】また、最も新たに発音した4チャネルより
も古くから発音しているチャネルの中に和音を発生させ
るための楽音信号を生成しているものがある場合には、
このようなチャネル(即ち、和音を発生させるための楽
音信号を生成しているチャネル)以外のチャネルを優先
的に消音の対象(即ち、新たな押鍵に応じたステレオ発
音のために楽音信号を生成するためのチャネルの確保の
対象)として選択し、更に、選択したチャネルの内で最
も古くから楽音信号を生成しているチャネルを選択して
消音するようにしている。このため、古くから和音が発
生している場合には、その和音が正常に発音された状態
をそのまま保持することができる。従って、和音を構成
する音が消音されることがなく、和音を構成する音が消
音されることによって生じる音の不自然さを、演奏者や
聴き手が感じてしまうのを防止することができる。
If there is a channel that has generated a tone signal for generating a chord among channels that have been sounding for a longer time than the most recently generated four channels,
Channels other than such channels (that is, channels that generate tone signals for generating chords) are preferentially silenced (that is, tone signals for stereo sounding in response to a new key press). The channel for generating a tone signal is selected from the oldest of the selected channels, and the selected channel is muted. For this reason, when a chord has been generated for a long time, the state in which the chord is normally pronounced can be maintained as it is. Therefore, it is possible to prevent a player or listener from feeling unnatural sound caused by the sound constituting the chord being muted without the sound constituting the chord being muted. .

【0061】また、消音するチャネルを選択する際に
は、ステレオ発音中のL/R側となる2チャネル分が選
択され、その内の一方(R側のチャネル)のチャネルが
消音され、他方(L側のチャネル)のチャネルにて生成
された楽音信号は、押鍵された際のキーナンバに基づい
てパンニング係数が変更されてモノラル発音される。し
かも、モノラル発音する際には、押鍵されてステレオ発
音していた場合の音量と同様の音量となるよう左右側か
ら出力できるように音量が補正されるので、全体の音量
バランスを維持できる。
When selecting a channel to be muted, two channels on the L / R side during stereo sound generation are selected, and one (R-side channel) of the two channels is muted and the other (R side) is muted. The tone signal generated in the channel (L-side channel) is monaurally generated by changing the panning coefficient based on the key number when the key is pressed. In addition, when a monaural sound is generated, the sound volume is corrected so that the sound can be output from the left and right sides so that the sound volume is the same as that when the key is depressed and the stereo sound is generated.

【0062】以上、本発明の一実施例について説明した
が、本発明は、上記実施例に限定されるものではなく、
種々の態様を採ることができる。例えば、上記実施例で
は、S30にて楽音発生チャネルが二つ確保されるまで
S28の処理を繰り返して実行し、確保された楽音発生
チャネル二つを新たなキーオンに応じてステレオ発音す
るための楽音信号を生成するチャネルとして割り当てる
ようにしたが、S28の処理後にS30を処理せず、S
28の処理にて消音した楽音発生チャネルを、新たなキ
ーオンに応じてモノラル発音するための楽音信号を生成
するチャネルとして割り当てるようにするS31の処理
を新たに設けるようにしてもよい。そして、このような
S31の処理をS28の処理の後に設けて、S31の処
理した後にS32の処理を実行するようにすればよい。
更に、基本的にS14の発音処理の機能を備えた上で、
更に、S31の処理にて確保した楽音発生チャネルにて
生成された楽音信号に対して、押鍵されたキーナンバに
基づいてパンニング係数を変更すると共に、パネル20
のボリュームコントローラのポジションに基づくラウド
ネスデータを、キーオン時にL/R側からステレオ発音
として出力されるべき音量と同様の音量となるよう、ラ
ウドネスデータを補正するS14’の処理を、S14に
換えて設ける。
Although the embodiment of the present invention has been described above, the present invention is not limited to the above embodiment.
Various embodiments can be adopted. For example, in the above embodiment, the process of S28 is repeatedly executed until two tone generation channels are secured in S30, and the two tone generation channels are stereophonically generated according to a new key-on. The signal is allocated as a channel for generating a signal. However, after the processing of S28, S30 is not processed.
A process of S31 may be newly provided in which the tone generation channel muted in the process of 28 is assigned as a channel for generating a tone signal for monaural sounding in response to a new key-on. Then, the process of S31 may be provided after the process of S28, and the process of S32 may be performed after the process of S31.
Furthermore, basically having the function of the sound generation processing of S14,
Further, the panning coefficient of the tone signal generated in the tone generation channel secured in S31 is changed based on the depressed key number.
The processing of S14 'for correcting the loudness data is provided in place of S14 so that the loudness data based on the position of the volume controller is adjusted to have the same volume as the volume to be output as stereo sound from the L / R side when the key is turned on. .

【0063】つまり、ステレオ発音のためにモノラル発
音中の楽音発生チャネルを二つ消音させた際には、二音
分が消音されることにより、聴き手には多少の違和感が
生じてしまうことになるが、S28及びS31の処理で
はモノラル発音のために一音分が消音されるだけ済むた
め、そのような違和感が生じるのをある程度回避するこ
とが可能となる。
That is, when two tone generation channels during monaural sound production are muted for stereo sound production, the two sounds are silenced, which causes a sense of discomfort to the listener. However, in the processes of S28 and S31, since only one sound is muted for monaural sound generation, it is possible to avoid occurrence of such discomfort to some extent.

【0064】また、本実施例では、S22の処理にて、
最も新たに発音した4チャネル分を除く28チャネルが
全てステレオ発音に使用されている状態であるかどうか
を判断するようにしたが、除外するチャネル数は4チャ
ネルに限定されず、例えば3チャネル、5チャネル等複
数のチャネルであればどのようなチャネル数でもよい。
ただし、和音は一般に互いに異なる3,4音からなるた
め、除外するチャネル数は、このような和音に対応させ
るために、最も新たに発音した3,4音を除くようにす
るのが好ましい。
In this embodiment, in the process of S22,
It is determined whether or not all 28 channels except the most recently generated 4 channels are used for stereo sound generation. However, the number of excluded channels is not limited to 4 channels. Any number of channels may be used as long as there are a plurality of channels such as five channels.
However, since chords are generally composed of three or four tones different from each other, it is preferable that the number of channels to be excluded is to exclude the most recently pronounced three or four tones in order to correspond to such chords.

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

【図1】 実施例の楽音信号発生装置の構成を表すブロ
ック図である。
FIG. 1 is a block diagram illustrating a configuration of a musical tone signal generating device according to an embodiment.

【図2】 実施例の楽音信号発生装置の構成を表すブロ
ック図である。
FIG. 2 is a block diagram illustrating a configuration of a musical sound signal generating device according to an embodiment.

【図3】 実施例の楽音信号発生装置のCPUワークR
AM内に設けられる各種情報エリアを表す説明図であ
る。
FIG. 3 shows a CPU work R of the tone signal generator of the embodiment.
FIG. 4 is an explanatory diagram illustrating various information areas provided in an AM.

【図4】 実施例の楽音信号発生装置のCPUが実行す
るメイン処理のフローチャートである。
FIG. 4 is a flowchart of a main process executed by a CPU of the musical tone signal generator according to the embodiment.

【図5】 実施例の楽音信号発生装置のCPUが実行す
るキーアサイン処理のフローチャートである。
FIG. 5 is a flowchart of a key assignment process executed by a CPU of the musical sound signal generator according to the embodiment.

【図6】 実施例の楽音信号発生装置のCPUが実行す
る発音チャネル取得処理のフローチャートである。
FIG. 6 is a flowchart of a tone generation channel acquisition process executed by a CPU of the musical tone signal generator of the embodiment.

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

12…CPU、14…CPUプログラムROM、18…
CPUワークRAM(生成状態記憶手段)、40…楽音
信号発生回路(楽音信号生成手段)、40a…アサイン
メントメモリ、42…波形ROM、48…エンベロープ
発生器(出力制御手段、補正パンニング手段、音量補正
手段)、50(50L,50R)…パンニング値補正回
路(出力制御手段、補正パンニング手段)、52(52
L,52R)…ラッチ(出力手段)、60L,60R…
デジタルアナログコンバータ(出力手段)、62L,6
2R…アンプ(出力手段)、64L,64R…スピーカ
(出力手段)、ADD1,2…加算器(出力手段)。
12 CPU, 14 CPU program ROM, 18
CPU work RAM (generation state storage means), 40 ... tone signal generation circuit (tone signal generation means), 40a ... assignment memory, 42 ... waveform ROM, 48 ... envelope generator (output control means, correction panning means, volume correction) Means, 50 (50L, 50R) ... panning value correction circuit (output control means, correction panning means), 52 (52
L, 52R) ... latch (output means), 60L, 60R ...
Digital-to-analog converter (output means), 62L, 6
2R: amplifier (output means), 64L, 64R: speakers (output means), ADD1, 2 ... adders (output means).

フロントページの続き (72)発明者 斉藤 勉 静岡県浜松市寺島町200番地 株式会社河 合楽器製作所内 Fターム(参考) 5D378 CC36 CC44 CC46 JA02 Continuation of the front page (72) Inventor Tsutomu Saito 200 Terashima-cho, Hamamatsu-shi, Shizuoka Prefecture F-term in Kawagoki Musical Instruments Co., Ltd. 5D378 CC36 CC44 CC46 JA02

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 楽音信号を生成する複数の楽音信号生成
手段と、 前記楽音信号生成手段が発音状態,消音状態のいずれで
あるか、及び、該楽音信号生成手段が発音状態となった
時期を記憶する生成状態記憶手段と、 鍵が操作されると、前記生成状態記憶手段の記憶内容を
参照して、消音状態の前記楽音信号生成手段を二つ選択
し、選択した該二つの楽音信号生成手段に該鍵に対応し
た所定の音をステレオ発音するための左,右の楽音信号
をそれぞれ生成させ、該生成状態記憶手段の記憶内容を
更新する割り当て手段と、 前記複数の楽音信号生成手段にて生成された左,右の楽
音信号をそれぞれ合成し、合成した該左,右の楽音信号
をそれぞれ出力する出力手段とを備える楽音信号発生装
置において、 前記割り当て手段は、 鍵が操作されると、前記生成状態記憶手段の記憶内容を
参照して、消音状態の前記楽音信号生成手段があるかど
うかを判断する第1の生成状態判断手段と、 前記第1の生成状態判断手段により、消音状態の前記楽
音信号生成手段がないと判断した場合には、前記生成状
態記憶手段の記憶内容を参照して、該楽音信号生成手段
における最も新たに発音した分から遡って、あらかじめ
決められた数までの分を除いた中から、ステレオ発音の
ための左,右の楽音信号を生成している二対の該楽音信
号生成手段があるかどうかを判断する第2の生成状態判
断手段と、 前記第2の生成状態判断手段により、前記二対の前記楽
音信号生成手段があると判断した場合には、該二対の前
記楽音信号生成手段があると判断されたものの中から任
意の二対の該楽音信号生成手段を選択し、更に、該二対
の楽音信号生成手段の内で、各対の内の一方の楽音信号
生成手段を消音状態にして、前記生成状態記憶手段の記
憶内容を更新する第1の信号生成確保手段と、 前記第1の信号生成確保手段により消音状態とされない
二つの楽音信号生成手段にて生成された楽音信号を、そ
れぞれ該二つの楽音信号生成手段から左,右の楽音信号
として出力させる出力制御手段とを備えていることを特
徴とする楽音信号発生装置。
1. A plurality of tone signal generating means for generating a tone signal, whether the tone signal generating means is in a sound emitting state or a mute state, and a time when the tone signal generating means is in a sound emitting state. When the key is operated, the generation state storage means for storing the selected music signal generation means in the muted state is selected with reference to the contents stored in the generation state storage means, and the two selected tone signal generation means are selected. Means for generating left and right tone signals for stereophonically generating a predetermined sound corresponding to the key, and allocating means for updating storage contents of the generation state storage means; Output means for respectively synthesizing the left and right tone signals generated as described above, and outputting the synthesized left and right tone signals, respectively. A first generation state determination unit that determines whether or not the tone signal generation unit is in a mute state with reference to a storage content of the generation state storage unit; If it is determined that there is no musical tone signal generating means, the memory contents of the musical tone signal generating means are referred to the contents stored in the generating state storing means, and the musical tone signal generating means is stored in the musical tone signal generating means up to a predetermined number. A second generation state determination means for determining whether there are two pairs of the tone signal generation means for generating left and right tone signals for stereo sound generation, When it is determined by the generation state determining means that there are the two pairs of the tone signal generating means, any two pairs of the tone signal are selected from the two pairs determined to have the tone signal generating means. Select the generation method Selecting a tone signal generating means of one of the two pairs of tone signal generating means, and updating a stored content of the generating state storage means. Securing means, and the tone signals generated by the two tone signal generating means which are not muted by the first signal generation securing means are output as left and right tone signals from the two tone signal generating means, respectively. A tone signal generating device comprising output control means.
【請求項2】 請求項1に記載の楽音信号発生装置にお
いて、 前記割り当て手段は、 前記第2の生成状態判断手段により、ステレオ発音のた
めの左,右の楽音信号を生成している二対の前記楽音信
号生成手段がないと判断した場合には、最も古くから楽
音信号を生成している二つの該楽音信号生成手段を消音
状態にして、前記生成状態記憶手段の記憶内容を更新す
る第2の信号生成確保手段を備えていることを特徴とす
る楽音信号発生装置。
2. The musical tone signal generating apparatus according to claim 1, wherein said assigning means generates left and right tone signals for stereophonic sound by said second generation state determining means. If it is determined that there is no tone signal generating means, the two tone signal generating means which are generating the tone signals from the oldest are set to the mute state, and the contents stored in the generation state storage means are updated. A tone signal generator comprising: a second signal generation securing means.
【請求項3】 請求項1または請求項2に記載の楽音信
号発生装置において、前記出力制御手段は、 前記出力手段にて左右側の双方から同時に出力される楽
音信号に対して、操作された鍵に応じて所定の音像が得
られるように、パンニング処理を施す補正パンニング手
段を備えていることを特徴とする楽音信号発生装置。
3. The tone signal generating device according to claim 1, wherein the output control means is operated by the output means with respect to tone signals simultaneously output from both right and left sides. A tone signal generating device comprising a correction panning means for performing a panning process so that a predetermined sound image can be obtained according to a key.
【請求項4】 請求項1〜3のいずれか1項に記載の楽
音信号発生装置において、 前記出力制御手段は、 前記出力手段にて左右側の双方から同時に出力される楽
音信号に対して、操作された鍵に応じて所定の音像が得
られるように、出力する際の音量を補正する音量補正手
段を備えていることを特徴とする楽音信号発生装置。
4. The tone signal generating device according to claim 1, wherein said output control means outputs a tone signal which is simultaneously output from both right and left sides by said output means. A tone signal generator comprising a sound volume correcting means for correcting a volume at the time of output so as to obtain a predetermined sound image according to an operated key.
JP2000080116A 1999-02-15 2000-03-22 Musical sound signal generator Pending JP2001265342A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2000080116A JP2001265342A (en) 2000-03-22 2000-03-22 Musical sound signal generator
US09/771,055 US6316711B2 (en) 1999-02-15 2001-01-26 Musical sound signal generation apparatus
DE2001113761 DE10113761A1 (en) 2000-03-22 2001-03-21 Musical sound signal generation apparatus in keyboard type electronic instrument, changes one of two pairs of selected musical sound generating units in stereo sounding into silent mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000080116A JP2001265342A (en) 2000-03-22 2000-03-22 Musical sound signal generator

Publications (1)

Publication Number Publication Date
JP2001265342A true JP2001265342A (en) 2001-09-28

Family

ID=18597268

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000080116A Pending JP2001265342A (en) 1999-02-15 2000-03-22 Musical sound signal generator

Country Status (2)

Country Link
JP (1) JP2001265342A (en)
DE (1) DE10113761A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007212490A (en) * 2006-02-07 2007-08-23 Yamaha Corp Sounding controller and sounding control program for musical sound
JP2010522362A (en) * 2007-03-22 2010-07-01 クゥアルコム・インコーポレイテッド Bandwidth control for searching reference waveforms in audio devices
JP2017029758A (en) * 2016-09-21 2017-02-09 京楽産業.株式会社 Game machine

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007212490A (en) * 2006-02-07 2007-08-23 Yamaha Corp Sounding controller and sounding control program for musical sound
JP4497100B2 (en) * 2006-02-07 2010-07-07 ヤマハ株式会社 Musical sound generation control device and sound generation control program
JP2010522362A (en) * 2007-03-22 2010-07-01 クゥアルコム・インコーポレイテッド Bandwidth control for searching reference waveforms in audio devices
JP2017029758A (en) * 2016-09-21 2017-02-09 京楽産業.株式会社 Game machine

Also Published As

Publication number Publication date
DE10113761A1 (en) 2001-09-27

Similar Documents

Publication Publication Date Title
JPH11161266A (en) Musical sound correcting device and method
JPH0594188A (en) Electronic musical instrument
JP2001265342A (en) Musical sound signal generator
US6316711B2 (en) Musical sound signal generation apparatus
JP2000089774A (en) Karaoke device
JP3112651B2 (en) Musical instrument for electronic musical instruments
JP3571565B2 (en) Music signal generator
JP2983122B2 (en) Electronic musical instrument
JP2817521B2 (en) Electronic musical instrument
JP3048206B2 (en) Sound equipment for electronic musical instruments
JP3105132B2 (en) Tone generator for electronic musical instruments
JP2737436B2 (en) Electronic musical instrument
JP2005010362A (en) Musical sound control device of electronic musical sound generating device
JP3493838B2 (en) Electronic musical instrument
JP3561983B2 (en) Electronic musical instrument
JP3590733B2 (en) Music signal generator
JP3578891B2 (en) Electronic musical instrument
JP4726089B2 (en) Musical sound control device for electronic musical sound generator
JP2020154217A (en) Electronic musical instrument, control method of electronic musical instrument and program
JPH06149260A (en) Musical sound generating device
CN116741124A (en) Sound processing system and sound processing method thereof
JPH1049167A (en) Timbre controller of electric musical instrument
JPH0850480A (en) Electronic musical instrument
JPH10207459A (en) Allotting method for sounding channel and assigner
JPH0990943A (en) Key scaling device of electronic keyboard musical instrument