JP3521871B2 - Tone generator and storage medium - Google Patents

Tone generator and storage medium

Info

Publication number
JP3521871B2
JP3521871B2 JP2000380370A JP2000380370A JP3521871B2 JP 3521871 B2 JP3521871 B2 JP 3521871B2 JP 2000380370 A JP2000380370 A JP 2000380370A JP 2000380370 A JP2000380370 A JP 2000380370A JP 3521871 B2 JP3521871 B2 JP 3521871B2
Authority
JP
Japan
Prior art keywords
key
tone
information
sound
characteristic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2000380370A
Other languages
Japanese (ja)
Other versions
JP2001236067A (en
Inventor
昌夫 近藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2000380370A priority Critical patent/JP3521871B2/en
Publication of JP2001236067A publication Critical patent/JP2001236067A/en
Application granted granted Critical
Publication of JP3521871B2 publication Critical patent/JP3521871B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、複数の楽音発生手
段を用いて複数の楽音を同時に発音する楽音発生装置、
楽音発生方法および記憶媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a musical tone generating device for simultaneously producing a plurality of musical tones by using a plurality of musical tone generating means,
The present invention relates to a musical sound generation method and a storage medium.

【0002】[0002]

【従来の技術】ピアノやオルガンなどの和声(多声)楽
器の演奏音や複数の楽器パートからなる楽曲を合成・再
生するためには、複数(多数)の発音チャンネルを持っ
た楽音発生手段(トーンジェネレータ(TG))、たと
えば時分割処理によって複数の発音チャンネルを実現す
るようにした音源LSIやソフトウェアを用いればよ
い。しかし、半導体の動作速度やコンピュータ(CP
U)の処理速度には自ずと限界があり、それら単体でま
かなえる発音チャンネル数には限度がある。したがっ
て、多数の発音数が必要なピアノやオーケストラなどの
演奏音の再生・合成には、複数の音源LSIを並べた
り、複数台の音源装置をMIDIなどのインターフェー
スで追加接続したりするなどの策が必要になる。このよ
うに、複数のTGを用いるようにしたのは、TG1つ当
たりの同時発音数を低減させながら、装置全体としての
同時発音数をできるだけ多く確保するためである。そし
て、各TGに対する楽音の割当方法としては、たとえ
ば、発生すべき楽音の全音域を複数の音域に分割し、該
各音域をそれぞれ各TGに割り当てる方法が考えられる
(具体的には、たとえば実公平3−2958に記載の方
法が知られている)。
2. Description of the Related Art In order to synthesize and reproduce a performance sound of a harmony (polyphonic) musical instrument such as a piano or an organ or a musical piece composed of a plurality of musical instrument parts, a musical tone generating means having a plurality of (a large number of) sounding channels. (Tone generator (TG)), for example, a tone generator LSI or software that realizes a plurality of sound generation channels by time division processing may be used. However, semiconductor operating speed and computer (CP
The processing speed of U) is naturally limited, and the number of sound generation channels that can be handled by each of them is limited. Therefore, in reproducing and synthesizing performance sounds of pianos, orchestras, etc., which require a large number of pronunciations, measures such as arranging multiple sound source LSIs or additionally connecting multiple sound source devices with an interface such as MIDI Will be required. In this way, a plurality of TGs are used in order to secure as many polyphonic numbers as the entire device while reducing the polyphonic number per TG. As a method of assigning musical tones to each TG, for example, a method of dividing the entire musical range of a musical tone to be generated into a plurality of musical ranges and assigning each musical range to each TG can be considered (specifically, for example The method described in Kohei 3-2958 is known).

【0003】[0003]

【発明が解決しようとする課題】しかし、上記従来の楽
音発生装置では、各TGは、当該割り当てられた音域内
の楽音の発音指示がなされたときにのみ、その楽音の発
生処理を行うが、一般の楽曲において使用される楽音、
すなわち、発音指示がなされる楽音は、上記分割された
複数の音域のうち一部あるいは特定の音域に偏る傾向に
あるため(ピアノの場合は鍵盤中央周辺の鍵域の楽音の
発音頻度が高い)、複数のTG間で負荷が大きくばらつ
くことになり、負荷の大きい音域が割り当てられている
TGにおいて指示された楽音を発音しきれなくなる恐れ
がある。
However, in the above-described conventional musical tone generator, each TG performs the musical tone generation processing only when the musical tone generation instruction of the musical tone within the assigned musical range is given. Musical sounds used in general music,
In other words, the musical tone for which the pronunciation instruction is given tends to be biased to a part or a specific musical range of the above-mentioned divided plural musical ranges (in the case of a piano, the musical tone of the musical range around the center of the keyboard has a high pronunciation frequency). As a result, the load varies widely among a plurality of TGs, and there is a risk that the musical tone specified by the TG to which the heavy load range is assigned cannot be generated.

【0004】また、上記従来の楽音発生装置では、消音
が指示されたときには、対応する現在発音中の楽音を単
純に消音しているのみであった。しかし、たとえば、実
際のピアノでは、離鍵時に生じる特徴的な音がある。具
体的には、鍵やダンパのメカノイズや、そのメカノイズ
によるピアノ全体またはダンパが設けられていない高音
域弦などとの共鳴音、ダンパが弦に触れて生じるビビリ
音などである。また、ハープシコードでは、離鍵時に所
定のキーオフ音(厳密には鍵毎に独立した所定特性のキ
ーオフ音)が鳴ることが知られている。そして、これら
がピアノらしさや、ハープシコードらしさを引き立たせ
ているのである。したがって、音色の生々しさをより強
く訴えるためには、これらの付随的な音の発音も考慮す
る必要がある。
Further, in the above-described conventional tone generator, when the mute is instructed, the corresponding tone currently being sounded is simply muted. However, for example, in an actual piano, there is a characteristic sound that occurs when the key is released. Specifically, it is a mechanical noise of a key or a damper, a resonance sound with the entire piano or a high-range string where the damper is not provided due to the mechanical noise, and a chattering sound generated when the damper touches the string. Further, in the harpsichord, it is known that a predetermined key-off sound (strictly speaking, a key-off sound having a predetermined characteristic independent for each key) is emitted when the key is released. And these accentuate the piano and the harpsichord. Therefore, in order to emphasize the freshness of the timbre more strongly, it is necessary to consider the pronunciation of these incidental sounds.

【0005】本発明は、この点に着目してなされたもの
であり、発音指示される楽音が一部の音域に偏在してい
たとしても、複数の楽音発生手段それぞれに発音負荷を
均一に分散させることにより、該各楽音発生手段の発音
負荷を軽減させることが可能な楽音発生装置、楽音発生
方法および記憶媒体を提供することを第1の目的とす
る。
The present invention has been made paying attention to this point, and even if the musical tones to be instructed are unevenly distributed in a part of the musical range, the tone generating load is uniformly distributed to each of the plurality of musical tone generating means. It is a first object of the present invention to provide a musical tone generating device, a musical tone generating method and a storage medium capable of reducing the sounding load of each musical tone generating means.

【0006】また、楽器の消音操作に起因する音を発生
させることにより、当該楽器の演奏音をよりリアルに再
現することが可能な楽音発生装置、楽音発生方法および
記憶媒体を提供することを第2の目的とする。
Further, it is an object of the present invention to provide a musical tone generating device, a musical tone generating method, and a storage medium capable of reproducing a musical performance sound of a musical instrument more realistically by generating a sound caused by a mute operation of the musical instrument. The purpose is 2.

【0007】[0007]

【課題を解決するための手段】[Means for Solving the Problems]

【0008】上記第2の目的を達成するため、請求項1
に記載の楽音発生装置は、少なくともキーオン情報およ
びキーオフ情報を含む演奏情報を供給する供給手段と、
前記キーオン情報が供給されたときには、該キーオン情
報により指示される音高および特性の主楽音を生成する
一方、前記キーオフ情報が供給されたときには、該キー
オフ情報により指示される音高の主楽音であって、生成
中の主楽音を消去するとともに、第1のキーオフ音およ
び該第1のキーオフ音より消音に至る時間が長い第2の
キーオフ音を生成する楽音生成手段と、前記キーオン情
報が供給されたときから前記キーオフ情報が供給された
ときまでの時間を計時する計時手段と、前記キーオフ
報が供給されたときに、該キーオフ情報に対応するキー
オン情報に基づいて生成されている主楽音の出力レベル
またはエンベロープ値を検出する検出手段と、前記第1
のキーオフ音の特性を前記計時された時間に応じた特性
に決定するとともに、前記第2のキーオフ音の特性を前
記検出された主楽音の出力レベルまたはエンベロープ値
に応じた特性に決定する決定手段と、前記計時された時
間が所定の基準時間より短いときには、前記楽音生成手
段から、前記決定された特性の第1および第2のキーオ
フ音を生成させるように制御する一方、前記計時された
時間が前記所定の基準時間以上のときには、前記楽音生
成手段から、前記決定された特性の第2のキーオフ音を
生成させるように制御する制御手段とを有することを特
徴とする。
In order to achieve the second object, the first aspect
The musical sound generating device described in, and a supply means for supplying performance information including at least key-on information and key-off information,
When the key-on information is supplied, a main tone having a pitch and characteristic indicated by the key-on information is generated, while when the key-off information is supplied, a main tone having a pitch indicated by the key-off information is generated. Therefore, the key-on information is supplied, and the key-on information is supplied, and the key-on information is generated, and the key-on information is generated, and the key-on information is generated, and the first key-off sound and the second key-off sound for which the mute time is longer than the first key-off sound a counting means for counting the time until when the key-off information is supplied from when, when the key-off information <br/> paper is supplied, generated based on the key-on information corresponding to the key-off information Detecting means for detecting the output level or envelope value of the main tone being reproduced,
Determining means for determining the characteristic of the key-off sound of the second key-off sound as a characteristic according to the timed time, and determining the characteristic of the second key-off sound as a characteristic according to the output level or envelope value of the detected main tone. When the timed time is shorter than a predetermined reference time, the tone generation means controls to generate the first and second key-off sounds having the determined characteristics, while the timed time is controlled. Is equal to or longer than the predetermined reference time, the control means controls the musical sound generating means to generate the second key-off sound having the determined characteristic.

【0009】[0009]

【0010】[0010]

【0011】[0011]

【0012】[0012]

【0013】[0013]

【0014】上記第2の目的を達成するため、請求項
に記載の記憶媒体は、少なくともキーオン情報およびキ
ーオフ情報を含む演奏情報を供給手段から供給する供給
ステップと、前記キーオン情報が供給されたときには、
該キーオン情報により指示される音高および特性の主楽
音を生成する一方、前記キーオフ情報が供給されたとき
には、該キーオフ情報により指示される音高の主楽音で
あって、生成中の主楽音を消去するとともに、第1のキ
ーオフ音および該第1のキーオフ音より消音に至る時間
が長い第2のキーオフ音を生成する楽音生成ステップ
と、前記キーオン情報が供給されたときから前記キーオ
フ情報が供給されたときまでの時間を計時する計時ステ
ップと、前記キーオフ情報が供給されたときに、該キー
オフ情報に対応するキーオン情報に基づいて生成されて
いる主楽音の出力レベルまたはエンベロープ値を検出す
る検出ステップと、前記第1のキーオフ音の特性を前記
計時された時間に応じた特性に決定するとともに、前記
第2のキーオフ音の特性を前記検出された主楽音の出力
レベルまたはエンベロープ値に応じた特性に決定する決
定ステップと、前記計時された時間が所定の基準時間よ
り短いときには、前記楽音生成ステップにより、前記決
定された特性の第1および第2のキーオフ音を生成させ
るように制御する一方、前記計時された時間が前記所定
の基準時間以上のときには、前記楽音生成ステップによ
り、前記決定された特性の第2のキーオフ音を生成させ
るように制御する制御ステップとを有する楽音発生方法
をコンピュータに実行させるプログラムを格納したこと
を特徴とする。
In order to achieve the second object, the second aspect
The storage medium described in (3) is a supply step of supplying performance information including at least key-on information and key-off information from a supply means, and when the key-on information is supplied,
While generating a main tone having a pitch and characteristic indicated by the key-on information, when the key-off information is supplied, a main tone having a pitch indicated by the key-off information, which is the main tone being generated, is generated. A tone generation step of deleting the first key-off sound and a second key-off sound that takes a longer time to mute than the first key-off sound; and supplying the key-off information from the time when the key-on information is supplied. The timekeeping step that keeps time until
And-up, when the key-off information is supplied, a detection step of detecting an output level or envelope value of the main tone is generated based on the key-on information corresponding to the key-off information, the first key-off A determining step of determining a characteristic of a sound to a characteristic according to the timed time, and determining a characteristic of the second key-off sound to a characteristic according to an output level or an envelope value of the detected main musical tone; When the timed time is shorter than a predetermined reference time, the tone generation step controls the first and second key-off sounds having the determined characteristics to be generated, while the timed time is When the time is equal to or longer than the predetermined reference time, the tone generation step controls to generate the second key-off sound having the determined characteristic. And characterized by storing a program for executing the tone generation method and a control step in the computer.

【0015】[0015]

【0016】[0016]

【0017】[0017]

【0018】[0018]

【0019】[0019]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings.

【0020】図1は、本発明の一実施の形態に係る楽音
発生装置の概略構成を示すブロック図であり、本実施の
形態では、楽音発生装置として具体的に、電子鍵盤楽器
を想定している。もちろん、これは説明の都合上の理由
からであり、本発明が電子鍵盤楽器にのみ適用されるわ
けではなく、電子弦楽器および電子吹奏楽器等の他の電
子楽器や、音源ボード等に適用することもできる。
FIG. 1 is a block diagram showing a schematic configuration of a musical tone generating apparatus according to an embodiment of the present invention. In the present embodiment, an electronic keyboard musical instrument is specifically assumed as the musical tone generating apparatus. There is. Of course, this is for convenience of explanation, and the present invention is not limited to being applied to an electronic keyboard instrument, but may be applied to other electronic musical instruments such as an electronic string instrument and an electronic wind instrument, a sound source board, etc. You can also

【0021】図1に示すように、本実施の形態の楽音発
生装置は、演奏情報を入力するための演奏操作子(具体
的には、鍵盤)1と、各種情報を入力するための複数の
スイッチを備えた操作パネル2と、装置全体の制御を司
るメインCPU(MAIN−CPU)3と、該メインC
PU3が実行する制御プログラムや、各種テーブルデー
タ等を記憶するROM4と、演奏情報、各種入力情報お
よび演算結果等を一時的に記憶するRAM5と、各種情
報等を表示する、たとえば液晶ディスプレイ(LCD)
および発光ダイオード(LED)等を備えた表示器6
と、前記制御プログラムを含む各種アプリケーションプ
ログラムや各種データ等を記憶する、ハードディスク装
置に代表されるメモリデバイス(MEMORY DEV
ICE)7と、外部からのMIDI(Musical Instrume
nt Digital Interface)信号を入力したり、MIDI信
号を外部に出力したりするMIDIインターフェース
や、図示しない通信ネットワークを介して、たとえばサ
ーバコンピュータとデータの送受信を行う通信インター
フェース等のインターフェース(I/F)8と、演奏操
作子1から入力された演奏情報や予め設定された演奏情
報等に基づいてステレオ楽音信号(デジタル信号)を発
生させる複数個(たとえば6個)のTG9と、該複数個
のTG9が発生したデジタルのステレオ楽音信号をアナ
ログのステレオ楽音信号に変換するDAC(Digital-to
-Analog Converter)10と、該DAC10からのステ
レオ楽音信号をステレオ音響に変換する、たとえばアン
プやスピーカ等からなる左右のサウンドシステム11と
により構成され、上記構成要素1〜9は、バス12を介
して相互に接続されている。
As shown in FIG. 1, the musical tone generating apparatus according to the present embodiment has a musical performance operator (specifically, a keyboard) 1 for inputting musical performance information, and a plurality of musical information for inputting various information. An operation panel 2 provided with a switch, a main CPU (MAIN-CPU) 3 that controls the entire apparatus, and the main C
A ROM 4 for storing control programs executed by the PU 3, various table data, etc., a RAM 5 for temporarily storing performance information, various input information, calculation results, etc., and various information, for example, a liquid crystal display (LCD)
And indicator 6 including a light emitting diode (LED) and the like
And a memory device represented by a hard disk device (MEMORY DEV) that stores various application programs including the control program and various data.
ICE) 7 and MIDI (Musical Instrume) from the outside
interface (I / F) such as a MIDI interface for inputting a digital signal) or outputting a MIDI signal to the outside, or a communication interface for transmitting / receiving data to / from a server computer via a communication network (not shown). 8, a plurality of (for example, 6) TGs 9 for generating stereo musical tone signals (digital signals) based on performance information input from the performance operator 1, preset performance information, and the like, and the plurality of TGs 9 DAC (Digital-to) that converts the digital stereo tone signal generated by
-Analog Converter) 10 and a left / right sound system 11 for converting a stereo musical tone signal from the DAC 10 into a stereo sound, for example, an amplifier and a speaker, and the components 1 to 9 are connected via a bus 12. Are connected to each other.

【0022】メインCPU3には、たとえばシリアルイ
ンターフェースを介して、6個のTG9が直列に接続さ
れ、メインCPU3は、このシリアルインターフェース
経由で、演奏操作子1から入力された演奏情報や予め設
定された演奏情報等を直ぐ後段のTG(TG1)9に出
力する。各TG9は、上記シリアルインターフェースを
介して、演奏情報を受信するとともに、この受信した演
奏情報をそのまま後段のTGに送信する。図2を用いて
後述するように、各TG9には、それぞれサブCPU
(SUB−CPU)が設けられており、該各サブCPU
は、メインCPU3から送信されてきた演奏情報が自己
のTGで処理すべき情報であるか否かを常に監視し、自
己のTGで処理すべき情報であると判別したときには、
当該演奏情報に基づいて楽音信号(具体的には、楽音波
形サンプル)を生成する。
Six TGs 9 are serially connected to the main CPU 3 via, for example, a serial interface, and the main CPU 3 inputs performance information input from the performance operator 1 via the serial interface and preset. The performance information and the like are immediately output to the TG (TG1) 9 in the subsequent stage. Each TG 9 receives the performance information via the serial interface and transmits the received performance information as it is to the TG in the subsequent stage. As will be described later with reference to FIG. 2, each TG 9 has a sub CPU.
(SUB-CPU) is provided, and each sub CPU
Always monitors whether the performance information transmitted from the main CPU 3 is information to be processed by its own TG, and when it is determined that it is information to be processed by its own TG,
A tone signal (specifically, a tone waveform sample) is generated based on the performance information.

【0023】また、各TG9は、それぞれ生成した楽音
信号を送信するための、たとえばシリアルインターフェ
ース(上記演奏情報を送受信するためのシリアルインタ
ーフェースとは異なる)を備え、このシリアルインター
フェースを介して相互に接続され、さらに、最後のTG
(TG6)にはDAC10が接続されている。なお、各
TG9には、それぞれ異なった役割が分担されており、
それに応じて、各TG9は、それぞれ異なった種類(具
体的には、音名)の楽音を生成する。その詳細について
は、図2を用いて後述する。
Further, each TG 9 is provided with, for example, a serial interface (different from the serial interface for transmitting and receiving the above performance information) for transmitting the generated musical tone signals, and is connected to each other through this serial interface. And the last TG
The DAC 10 is connected to (TG6). In addition, each TG9 has different roles.
In response to this, each TG 9 generates a different type (specifically, a note name) of a musical tone. The details will be described later with reference to FIG.

【0024】さらに、各TG9は、それぞれ楽音信号
(楽音波形サンプル)を格納するためのバッファ(図示
せず)を備え、その前段がメインCPU3であるTG、
すなわち最初のTG(TG1)に含まれるバッファは、
当該TGで生成した楽音信号を所定のタイミングで後段
のTGに送信するために使用され、その前段および後段
がともにTGであるTG、すなわち第2番目のTG(T
G2)から第5番目のTG(TG5)までのいずれかの
TGに含まれるバッファは、その前段のTGから送信さ
れてきた楽音信号に、当該TGで生成した楽音信号を累
算し、その累算した楽音信号を所定のタイミングで後段
のTGに送信するために使用され、その後段がDAC1
0であるTG、すなわち最後のTG(TG6)に含まれ
るバッファは、その前段のTGから送信されてきた楽音
信号に、当該TGで生成した楽音信号を累算し、その累
算した楽音信号を所定のタイミングでDAC10に送信
するために使用される。なお、バッファは、左右チャン
ネルそれぞれの楽音波形サンプルを独立に格納する2個
のバッファにより構成してもよいし、左右両チャンネル
の楽音波形サンプルを混在させて格納する1個のバッフ
ァにより構成してもよい。
Further, each TG 9 is provided with a buffer (not shown) for storing a tone signal (tone waveform sample), and the TG whose main stage is the main CPU 3,
That is, the buffer included in the first TG (TG1) is
It is used to transmit the tone signal generated by the TG to the TG in the subsequent stage at a predetermined timing, and the TG in which both the preceding stage and the subsequent stage are TGs, that is, the second TG (T
The buffer included in any of the TGs from G2) to the fifth TG (TG5) accumulates the tone signal generated by the TG to the tone signal transmitted from the TG in the preceding stage, and accumulates the accumulated tone signals. It is used to transmit the calculated tone signal to the TG in the subsequent stage at a predetermined timing, and the subsequent stage is the DAC1.
The buffer included in the TG that is 0, that is, the last TG (TG6), accumulates the musical tone signal generated by the TG to the musical tone signal transmitted from the TG in the preceding stage, and outputs the accumulated musical tone signal. It is used to transmit to the DAC 10 at a predetermined timing. The buffer may be composed of two buffers that store the tone waveform samples of the left and right channels independently or one buffer that stores the tone waveform samples of the left and right channels in a mixed manner. Good.

【0025】最後のTG(TG6)のバッファには、最
大すべてのTG9が生成した楽音信号を累算した累算結
果が格納され、DAC10は、所定のタイミングで、こ
のバッファに格納された累算結果を1楽音波形サンプル
ずつ読み出し(バッファが上記1個で構成されている場
合)、アナログ信号に変換した後に、左右どちらかのサ
ウンドシステム11に出力する。
The buffer of the last TG (TG6) stores the accumulated result of accumulating the musical tone signals generated by all the maximum TG9, and the DAC 10 accumulates the accumulated result stored in this buffer at a predetermined timing. The result is read out one by one for each tone waveform (when the buffer is composed of the above-mentioned one), converted into an analog signal, and then output to either the left or right sound system 11.

【0026】表示器6は、前述のように、LCDを備え
ている。このLCDは、本実施の形態では、R(赤)G
(緑)B(青)の3色のLEDをバックライトの光源と
し、この各LEDの輝度を変化させることにより、バッ
クライトの色を各色に制御可能にしている。LCDの構
造としては、たとえば、上記3色のLEDと、このLE
Dの光を表示面に均一に拡散させる拡散板と、光透過型
LCDとを重ねたものが考えられるが、これに限られる
わけではなく、バックライトの色を制御可能な構造であ
ればどのような構造のものを採用してもよい。また、上
記構造を採った場合に、その構成部品、すなわち、LE
D、拡散板およびLCD本体等は、既存のものを使用す
ればよい。また、バックライトの色制御は、各LEDへ
の供給電流を変化させて行う。各LEDに、たとえばパ
ルス電流を供給して発光させる場合には、そのパルスの
振幅、周波数、デューティー比などを変化させること
で、各LEDの輝度が変化し、これにより、バックライ
トの色制御がなされる。この他、各LEDの色や輝度を
時間変化させるようにしてもよい。
The display device 6 is provided with the LCD as described above. In this embodiment, this LCD is R (red) G
The LEDs of three colors (green) and B (blue) are used as the light source of the backlight, and the color of the backlight can be controlled to each color by changing the brightness of each LED. The LCD structure is, for example, the above-mentioned three-color LED and this LE.
It is conceivable that a light diffusing plate for uniformly diffusing the light of D on the display surface and a light transmissive LCD are overlapped, but the present invention is not limited to this, and any structure can be used as long as the color of the backlight can be controlled. You may employ | adopt the thing of such a structure. Further, when the above structure is adopted, its constituent parts, that is, LE
As the D, the diffusion plate, the LCD main body and the like, existing ones may be used. Further, the color control of the backlight is performed by changing the supply current to each LED. When, for example, a pulse current is supplied to each LED to cause it to emit light, the brightness of each LED changes by changing the amplitude, frequency, duty ratio, etc. of the pulse, thereby controlling the color of the backlight. Done. In addition, the color and brightness of each LED may be changed with time.

【0027】このようなLCDに対して、本装置の動作
状態(動作モード)、表示内容、ユーザの操作状態、外
部から受信した信号の状態、外部へ送信する信号の状
態、本装置として採用した機種等に応じて、当該各LE
Dの発光色や輝度を、上述のように制御することによ
り、バックライトの色制御を行い、LCDの背景色を変
化させる。これにより、本装置の動作状態を容易に認識
できるようになり、音楽等に合わせた色変化による視覚
的効果を実現できる。
With respect to such an LCD, the operation state (operation mode) of the apparatus, the display contents, the operation state of the user, the state of the signal received from the outside, the state of the signal transmitted to the outside, the apparatus adopted as the apparatus. Depending on the model etc., the relevant LE
By controlling the emission color and brightness of D as described above, the color control of the backlight is performed and the background color of the LCD is changed. As a result, it becomes possible to easily recognize the operation state of the device, and it is possible to realize the visual effect by the color change according to music or the like.

【0028】さらに具体的に、本実施の形態で想定され
ている電子鍵盤楽器に関するバックライトの色制御例と
しては、次のものを考えることができる。すなわち、 (1)楽音音量や演奏タッチ強弱による制御 (2)選択音色や音色種類に応じて制御 (3)音色選択画面、パラメータ編集画面、自動演奏画
面等、動作モードや表示内容に応じて制御 (4)MIDI等、外部からの制御信号に応じて制御 (5)ペダルなどの演奏補助操作子の操作状態に応じて
制御 (6)押鍵音高(発音音高)に応じて制御 (7)自動演奏/伴奏のスタイル、リズムパターン、テ
ンポ、調性、曲の進行等に応じて制御 (8)リバーブ、コーラス等の音響効果の選択/設定状
態や、効果音(たとえば、リバーブ音)の特性(たとえ
ば、レベル)に応じて制御 (9)外部からの楽音や音声等の入力音に応じて制御等
である。
More specifically, the following can be considered as an example of the color control of the backlight regarding the electronic keyboard instrument assumed in the present embodiment. That is, (1) control according to tone volume and performance touch strength (2) control according to selected tone color or tone type (3) control according to operation mode or display contents such as tone selection screen, parameter edit screen, automatic performance screen, etc. (4) Control according to an external control signal such as MIDI (5) Control according to the operation state of a performance assisting operator such as a pedal (6) Control according to key-pitch (sound pitch) (7) ) Control according to automatic performance / accompaniment style, rhythm pattern, tempo, tonality, song progress, etc. (8) Select / set state of sound effects such as reverb and chorus, and effect sound (for example, reverb sound) Control according to characteristics (for example, level) (9) Control according to an input sound such as a musical tone or a voice from the outside.

【0029】メモリデバイス7には、前述のように、メ
インCPU3が実行する制御プログラムも記憶でき、R
OM4に制御プログラムが記憶されていない場合には、
このメモリデバイス7に制御プログラムを記憶させてお
き、それをRAM5に読み込むことにより、ROM4に
制御プログラムを記憶している場合と同様の動作をメイ
ンCPU3にさせることができる。このようにすると、
制御プログラムの追加やバージョンアップ等が容易に行
える。
As described above, the memory device 7 can also store the control program executed by the main CPU 3, and R
If the control program is not stored in OM4,
By storing the control program in the memory device 7 and reading it into the RAM 5, the main CPU 3 can perform the same operation as when the control program is stored in the ROM 4. This way,
It is easy to add control programs and upgrade versions.

【0030】なお、メモリデバイス7としては、上記ハ
ードディスク装置以外にも、フロッピディスク(FD)
装置、コンパクトディスク−リード・オンリ・メモリ
(CD−ROM)装置、光磁気ディスク(MO)装置
等、様々な形態のメディアを利用するための装置を設け
るようにしてもよい。
As the memory device 7, in addition to the above hard disk device, a floppy disk (FD) is used.
An apparatus, a compact disk-read only memory (CD-ROM) apparatus, a magneto-optical disk (MO) apparatus, and the like may be provided to use various types of media.

【0031】I/F8のうちMIDIインターフェース
は、専用のものに限らず、RS−232CやUSB(ユ
ニバーサル・シリアル・バス)、IEEE1394(ア
イトリプルイー1394)等の汎用のインターフェース
より構成してもよい。この場合、MIDIメッセージ以
外のデータをも同時に送受信してもよい。
The MIDI interface of the I / F 8 is not limited to the dedicated one, but may be a general-purpose interface such as RS-232C, USB (Universal Serial Bus), IEEE 1394 (Eye Triple Ethernet 1394). . In this case, data other than the MIDI message may be transmitted / received at the same time.

【0032】I/F8のうち通信インターフェースは、
たとえばLAN(Local Area Network)やインターネッ
ト、電話回線等の通信ネットワークに接続されており、
該通信ネットワークを介して、サーバコンピュータに接
続される。メモリデバイス7に上記各プログラムや各種
パラメータが記憶されていない場合には、通信インター
フェースは、サーバコンピュータからプログラムやパラ
メータをダウンロードするために用いられる。クライア
ントとなるコンピュータ(本実施の形態では、楽音発生
装置)は、通信インターフェースおよび通信ネットワー
クを介してサーバコンピュータへとプログラムやパラメ
ータのダウンロードを要求するコマンドを送信する。サ
ーバコンピュータは、このコマンドを受け、要求された
プログラムやパラメータを、通信ネットワークを介して
コンピュータへと配信し、コンピュータが通信インター
フェースを介して、これらプログラムやパラメータを受
信してメモリデバイス7に蓄積することにより、ダウン
ロードが完了する。
The communication interface of the I / F 8 is
For example, it is connected to a communication network such as a LAN (Local Area Network), the Internet, or a telephone line,
It is connected to a server computer via the communication network. When the programs and various parameters described above are not stored in the memory device 7, the communication interface is used to download the programs and parameters from the server computer. The computer as a client (in the present embodiment, the musical tone generating apparatus) transmits a command requesting the download of a program or parameter to the server computer via the communication interface and the communication network. Upon receiving this command, the server computer distributes the requested program and parameters to the computer via the communication network, and the computer receives these programs and parameters via the communication interface and stores them in the memory device 7. This completes the download.

【0033】この他、外部コンピュータ等との間で直接
データのやりとりを行うためのインターフェースを備え
てもよい。
In addition, an interface for directly exchanging data with an external computer or the like may be provided.

【0034】なお、本実施の形態の楽音発生装置は、上
述のように、専用装置(電子鍵盤楽器)上に構築された
ものであるが、これに限らず、汎用的なパーソナルコン
ピュータ上に構築するようにしてもよい。
The musical tone generating apparatus of this embodiment is constructed on a dedicated apparatus (electronic keyboard musical instrument) as described above, but is not limited to this, and is constructed on a general-purpose personal computer. You may do it.

【0035】図2は、上記複数個のTG9のうち一つの
TGi(iは、1〜6のいずれかの整数値)の詳細な構
成を示すブロック図である。各TG9は、それぞれ同様
の構成をしているため、その一つを代表させて説明す
る。
FIG. 2 is a block diagram showing a detailed structure of one TGi (i is an integer value of 1 to 6) of the plurality of TGs 9. Since each TG 9 has the same configuration, one of them will be described as a representative.

【0036】同図に示すように、TGiは、TGi全体
の制御を司るサブCPU21と、該サブCPU21が実
行する制御プログラムや、各種テーブルデータ等を記憶
するROM、および、演奏情報、各種入力情報および演
算結果等を一時的に記憶するRAMからなるメモリ(M
EMORY)22と、サブCPU21の制御の下に、音
色データメモリ24または25に格納された楽音波形サ
ンプルを読み出し、該読み出された楽音波形サンプルに
基づいて楽音信号を生成するTG−DSP(digital si
gnal processor)23と、2i−1番目の音名KN(2
i−1)の楽音波形サンプル、すなわち、音名KN(2i
−1)に対して、発音可能なすべての音色の、すべての
オクターブそれぞれの楽音波形サンプルを格納した音色
データメモリ24と、2i番目の音名KN(2i)の楽音
波形サンプル、すなわち、音名KN(2i)に対して、発
音可能なすべての音色の、すべてのオクターブそれぞれ
の楽音波形サンプルを格納した音色データメモリ25と
により構成され、上記構成要素21〜25は、バス26
を介して相互に接続されている。
As shown in the figure, TGi is a sub CPU 21 that controls the entire TGi, a ROM that stores control programs executed by the sub CPU 21, various table data, and the like, and performance information and various input information. And a memory (M
Under the control of the EMORY) 22 and the sub CPU 21, the musical tone waveform sample stored in the tone color data memory 24 or 25 is read out, and a musical tone signal is generated based on the read musical tone waveform sample. si
gnal processor) 23 and 2i-1st note name KN (2
i-1) tone waveform sample, that is, note name KN (2i
-1), tone color data memory 24 storing tone waveform samples of all octaves of all timbres that can be pronounced, and tone waveform samples of 2i-th tone name KN (2i), that is, tone names. KN (2i), a tone color data memory 25 storing tone waveform samples of all octaves of all timbres that can be produced.
Are connected to each other via.

【0037】サブCPU21は、前段のTGi−1のサ
ブCPU(前段のTGが存在しないときにはメインCP
U3)および後段のTGi+1のサブCPU(後段のT
Gが存在しないときには、サブCPU21は受信のみ)
と、前記シリアルインターフェースを介して接続されて
おり、前述したように、メインCPU3が出力した演奏
情報を受信するとともに、その受信した演奏情報をその
まま送信する。そして、サブCPU21は、前述したよ
うに、受信した演奏情報がTGiで生成すべき楽音信号
を指示するものであるか否かを常時監視し、受信した演
奏情報がTGiで生成すべき楽音信号、すなわち音名K
N(2i−1)またはKN(2i)のいずれかの楽音信号の
生成を指示するものであるときには、TG−DSP23
により、その楽音信号を生成させる。具体的には、TG
−DSP23は、生成基となる楽音波形サンプルを、音
色データメモリ24または25のうち、対応するいずれ
かから読み出し、該読み出された楽音波形サンプルに所
定の加工(演奏情報に応じた加工)を施すことにより、
目的の楽音信号を生成する。
The sub CPU 21 is the sub CPU of the TGi-1 at the preceding stage (the main CP when there is no TG at the preceding stage).
U3) and the subsequent TGi + 1 sub-CPU (the subsequent T
(When G does not exist, the sub CPU 21 only receives)
As described above, the performance information output from the main CPU 3 is received, and the received performance information is transmitted as it is. As described above, the sub CPU 21 constantly monitors whether or not the received performance information indicates a musical tone signal to be generated by TGi, and the received musical performance information is generated by the TGi. That is, note name K
When the instruction is to generate a tone signal of either N (2i-1) or KN (2i), the TG-DSP 23
To generate the tone signal. Specifically, TG
-The DSP 23 reads out the musical tone waveform sample as a generation base from any one of the tone color data memories 24 and 25, and performs a predetermined processing (processing according to performance information) on the read musical tone waveform sample. By applying
Generate the desired tone signal.

【0038】なお、TGiは、音名KN(2i−1)また
はKN(2i)のいずれかの主楽音の楽音信号を生成する
だけでなく、この主楽音を契機として発音される、後述
の2種類の副楽音の楽音信号も生成する。副楽音を生成
するための副楽音特性情報は、本実施の形態では、特に
メインCPU3から供給されず、TGi内で生成する構
成としている(もちろん、メインCPU3から副楽音特
性情報を供給する構成としてもよい)。その生成方法と
しては、具体的には、上記メモリ22内のROMに副楽
音特性情報をテーブルデータとして予め格納しておき、
サブCPU21が、主楽音を生成するための演奏情報を
検出したときに、その演奏情報に対応する副楽音特性情
報をテーブルから読み出して決定する方法や、サブCP
U21が、主楽音を生成するための演奏情報を検出した
ときに、その演奏情報に対応する副楽音特性情報を演算
によって生成する方法等が考えられる。
The TGi not only generates a tone signal of a main tone having a note name KN (2i-1) or KN (2i), but is also triggered by this main tone, which will be described later. It also generates tone signals of different types of sub-tones. In the present embodiment, the sub-musical sound characteristic information for generating the sub-musical sound is not particularly supplied from the main CPU 3 but is generated within the TGi (as a matter of course, the main CPU 3 supplies the sub-musical sound characteristic information. Good). Specifically, as a method of generating the same, the auxiliary tone characteristic information is stored in advance in the ROM in the memory 22 as table data,
When the sub CPU 21 detects performance information for generating a main tone, a method of reading and determining sub music characteristic information corresponding to the performance information from a table, or a sub CP
When U21 detects performance information for generating a main musical tone, a method of generating sub-musical tone characteristic information corresponding to the performance information by calculation can be considered.

【0039】このように、本実施の形態では、1つのT
Giにおいて、2種類の音名KN(2i−1)およびKN
(2i)の楽音を生成するようにしているため、全音名の
楽音、すなわち12音名の楽音を生成するには、全部で
6個のTG9を必要とする。もちろん、1つのTGで、
生成する楽音の音名数は、上記2音名に限られるわけで
はなく、それより少なくても(この場合には、1つのT
Gで1音名の楽音を生成することになる)、多くてもよ
い(複数個のTGに楽音生成を分担する構成になる範囲
で設定)。また、本実施の形態では、平均律音階に合わ
せたシステムとしたので、楽音の全音名数は「12」で
あるが、他の音律を用いる場合には、その音律の音名数
に応じてTGへの割り当て配分を変えるようにすればよ
い。
As described above, in this embodiment, one T
Two tone names KN (2i-1) and KN in Gi
Since the tone of (2i) is generated, a total of 6 TGs 9 are required to generate the tone of all note names, that is, the tone of 12 note names. Of course, with one TG,
The number of note names of musical tones to be generated is not limited to the above two note names, but may be smaller than that (in this case, one T
One tone name will be generated by G), and a large number of tone names may be generated (set within a range in which a plurality of TGs share the tone generation). Further, in the present embodiment, since the system is adapted to the equal temperament scale, the total number of note names of the musical tone is "12". However, when another temperament is used, the number of note names of that temperament is changed according to the number of note names. The allocation allocation to the TG may be changed.

【0040】また、本実施の形態では、2種類の音名K
N(2i−1)およびKN(2i)の楽音を生成するため
に、それぞれ別の独立した音色データメモリ24および
25を備え、音名KN(2i−1)の楽音信号は、音色デ
ータメモリ24から読み出した楽音波形サンプルに基づ
いて生成し、音名KN(2i)の楽音信号は、音色データ
メモリ25から読み出した楽音波形サンプルに基づいて
生成するようにしているが、これに限らず、2種類の音
名KN(2i−1)およびKN(2i)に対して、発音可能
なすべての音色の、すべてのオクターブそれぞれの楽音
波形サンプルを、1つの音色データメモリにまとめて格
納するようにしてもよい。この場合、各音名の楽音波形
サンプル群に対して、それぞれを識別するための情報を
付加しておけば、両者を自動的に識別できるので便利で
ある。上述のように、1つのTGで、たとえば4種類の
音名の楽音信号を生成するように構成したときには、こ
の4種類の音名に対して、発音可能なすべての音色の、
すべてのオクターブそれぞれの楽音波形サンプルを、1
つの音色データメモリにまとめて格納するようにしても
よいし、2種類ずつ2つの音色データメモリにまとめて
格納するようにしてもよい。音色データメモリに格納さ
れる内容、容量、使用個数は、製品の機種やそのグレー
ドに応じて変えるようにしてもよい。
Further, in this embodiment, two kinds of note names K are used.
In order to generate N (2i-1) and KN (2i) musical tones, separate tone color data memories 24 and 25 are provided, and the tone signal of the note name KN (2i-1) is stored in the tone color data memory 24. The tone signal having the tone name KN (2i) is generated on the basis of the tone waveform sample read from the tone color data memory 25. However, the present invention is not limited to this. For tone names KN (2i-1) and KN (2i) of various types, musical tone waveform samples of all octaves of all timbres that can be pronounced are collectively stored in one tone color data memory. Good. In this case, it is convenient to add information for identifying each to the musical tone waveform sample group of each note name, because both can be automatically identified. As described above, when one tone generator is configured to generate musical tone signals of four types of tone names, for each of the four types of tone names,
1 sound waveform sample for each octave
One tone color data memory may be collectively stored, or two types of tone color data memory may be collectively stored in two tone color data memories. The contents stored in the tone color data memory, the capacity, and the number of pieces used may be changed according to the model and grade of the product.

【0041】さらに、本実施の形態では、各音名の楽音
信号を生成するために、それぞれ専用の楽音波形サンプ
ルを使用したが、製造コスト等の問題でTG数や波形メ
モリ容量が制限される場合には、たとえば、音名Cの楽
音信号を生成するために使用する楽音波形サンプルを、
他の音名C#やBの楽音信号を生成するために使用する
ようにしてもよい。この場合、音名Cに対する楽音波形
サンプルの読み出し速度を、サンプリング時の速度から
変更することで、目的のピッチ(C#またはBのピッ
チ)に一致させる。さらに他の具体例としては、音名
C,D#,F#,Aの4つの音名用のデータを、2つの
TGにそれぞれ分散搭載し、たとえば、TG1には、
C,D#の音名用のデータを搭載し、TG2には、F
#,Aの音名用のデータを搭載し、TG1では、C,C
#,Dの音名の楽音を、C用の楽音波形サンプルから生
成するとともに、D#,E,Fの音名の楽音を、D#用
の楽音波形サンプルから生成し、TG2では、F#,
G,G#の音名の楽音を、F#用の楽音波形サンプルか
ら生成するとともに、A,A#,Bの音名の楽音を、A
用の楽音波形サンプルから生成するようにする。
Further, in the present embodiment, in order to generate the tone signal of each tone name, the dedicated tone waveform samples are used respectively, but the number of TGs and the waveform memory capacity are limited due to problems such as manufacturing cost. In this case, for example, a musical tone waveform sample used for generating a musical tone signal having a pitch name C is
It may be used to generate a tone signal of another note name C # or B. In this case, the reading speed of the tone waveform sample for the note name C is changed from the speed at the time of sampling to match the target pitch (pitch of C # or B). As another specific example, data for four note names of note names C, D #, F #, and A are separately mounted on two TGs. For example, for TG1,
Equipped with data for C and D # note names, and F for the TG2
Equipped with data for the note names of # and A, and C and C for TG1
The musical tones with the note names # and D are generated from the musical tone waveform samples for C, and the musical tones with the note names D #, E, and F are generated from the musical tone waveform samples for D #, and F # ,
The tone names G and G # are generated from tone waveform samples for F #, and the tone names A, A # and B are set to A.
To be generated from a musical tone waveform sample.

【0042】以上のように構成された楽音発生装置が実
行する制御処理を、まず図3〜図5を参照してその概要
を説明し、次に図6および図7を参照して詳細に説明す
る。
The control processing executed by the musical tone generating apparatus configured as described above will first be outlined with reference to FIGS. 3 to 5, and then detailed with reference to FIGS. 6 and 7. To do.

【0043】本実施の形態の楽音発生装置は、主として
次の制御処理を行う。すなわち、 (1)主楽音発生処理 (2)第1副楽音発生処理 (3)第2副楽音発生処理の3種類の処理である。
The tone generation device of this embodiment mainly performs the following control processing. That is, there are three types of processing: (1) main musical tone generation processing (2) first auxiliary musical tone generation processing (3) second auxiliary musical tone generation processing.

【0044】図3は、前記図1および図2のハードウェ
アを、該ハードウェアによってなされる制御処理、すな
わち上記(1)〜(3)の制御処理の面から書き換えて
生成したブロック図である。
FIG. 3 is a block diagram generated by rewriting the hardware shown in FIGS. 1 and 2 in terms of control processing performed by the hardware, that is, the control processing of (1) to (3). .

【0045】同図において、メインCPU3に相当する
演奏情報発生部31は、演奏操作子1から入力された演
奏情報や予め設定された演奏情報に応じて、キーコード
KC、キーオンの速さを示すイニシャルタッチデータI
Tを含むキーオンデータKEYON、キーオフの速さを
示すオフタッチデータOFFTを含むキーオフデータK
EYOFF、音量データKVOL等の演奏情報を発生
し、主楽音発生部32、時間相関制御部33およびレベ
ル相関制御部35に出力する。
In the figure, a performance information generating section 31 corresponding to the main CPU 3 indicates a key code KC and a key-on speed in accordance with performance information input from the performance operator 1 or preset performance information. Initial touch data I
Key-on data KEYON including T, key-off data K including off-touch data OFFT indicating the speed of key-off
Performance information such as EYOFF and volume data KVOL is generated and output to the main tone generating section 32, the time correlation control section 33 and the level correlation control section 35.

【0046】ここで、キーコードKCは、本実施の形態
では、音名を指定するための音名情報(=1,2,…,
12のいずれかの整数値であり、1:C;2:C#;
3:D;4:D#;5E;6:F;7:F#;8:G;
9:G#;10:A;11:A#;12:Bに対応す
る)と、オクターブ数を指定するためのオクターブ数情
報とによって構成されている。
Here, in the present embodiment, the key code KC is the pitch name information (= 1, 2, ..., For designating the pitch name).
It is an integer value of 12 and is 1: C; 2: C #;
3: D; 4: D #; 5E; 6: F; 7: F #; 8: G;
9: G #; 10: A; 11: A #; 12: B) and octave number information for designating the octave number.

【0047】主楽音発生部32は、TG9の一機能に相
当し、演奏情報発生部31が発生した演奏情報に基づい
て、主楽音の楽音信号を生成して発生させる。主楽音の
楽音信号の生成は、図4に示すテーブルデータに基づい
て、キーコードKCによって示される音名KN(KC)の
楽音信号を生成すべきTG9に割り当てることでなされ
る。主楽音の楽音信号の生成が割り当てられたTG9で
は、指定された音色かつ発生されたキーコードKCの音
名情報およびオクターブ数情報に対応する楽音波形サン
プルを、当該音色データメモリから読み出し、この読み
出された楽音波形サンプルが、発生されたイニシャルタ
ッチデータITに基づいたエンベロープ特性となるよう
に加工する。
The main tone generating section 32 corresponds to one function of the TG 9, and generates and generates a tone signal of the main tone based on the performance information generated by the performance information generating section 31. The generation of the tone signal of the main tone is performed by assigning the tone signal of the note name KN (KC) indicated by the key code KC to the TG 9 to be generated, based on the table data shown in FIG. In the TG 9 to which the generation of the tone signal of the main tone is assigned, the tone waveform sample corresponding to the tone name information and the octave number information of the specified tone color and the generated key code KC is read out from the tone color data memory and read out. The generated tone waveform sample is processed so as to have an envelope characteristic based on the generated initial touch data IT.

【0048】時間相関制御部33は、メインCPU3お
よびTG9内のサブCPU21に相当し、その後段の第
1副楽音発生部34に、発生すべき第1副楽音の最大レ
ベルまたはエンベロープ特性を指示する。具体的には、
たとえば、RAM5上に各キーコードKC毎に個別に確
保されたソフトウェアタイマにより、該各キーコードK
Cに対してそれぞれ、キーオンデータKEYONが発生
された時点からキーオフデータKEYOFFが発生され
た時点までの時間を計時し、その計時された時間に応じ
て、第1副楽音発生部34が発生すべき第1副楽音の最
大レベルまたはエンベロープ特性を決定し、その値を第
1副楽音発生部34に報告する。これに応じて、第1副
楽音発生部34は、図5に示すように、その音量レベル
が、キーオフデータKEYOFFが発生した時点から所
定のエンベロープで増大し、決定された最大レベルVO
L1に到達した時点から所定のエンベロープで減少する
第1副楽音を生成する。なお、第1副楽音に、オフタッ
チデータOFFTの値を反映させてもよい。
The time correlation control unit 33 corresponds to the main CPU 3 and the sub CPU 21 in the TG 9, and instructs the first auxiliary musical tone generating unit 34 at the subsequent stage to the maximum level or envelope characteristic of the first auxiliary musical tone to be generated. . In particular,
For example, by using a software timer individually secured on the RAM 5 for each key code KC, each key code K
For C, the time from the time when the key-on data KEYON is generated to the time when the key-off data KEYOFF is generated is measured, and the first sub-tone generating unit 34 should be generated according to the time measured. The maximum level or envelope characteristic of the first sub-tone is determined, and the value is reported to the first sub-tone generator 34. In response to this, as shown in FIG. 5, the first sub-tone generating unit 34 increases its volume level by a predetermined envelope from the time when the key-off data KEYOFF is generated, and determines the determined maximum level VO.
A first auxiliary musical tone that decreases with a predetermined envelope from the time point when L1 is reached is generated. The value of the off-touch data OFFT may be reflected in the first auxiliary musical sound.

【0049】レベル相関制御部35は、メインCPU3
およびTG9内のサブCPU21に相当し、その後段の
第2副楽音発生部36に、発生すべき第2副楽音の最大
レベルまたはエンベロープ特性を指示する。具体的に
は、キーオフデータKEYOFFが発生した時点の、主
楽音発生部32の出力レベルまたはエンベロープ値を検
出し、その検出値に応じて、第2副楽音発生部36が発
生すべき第2副楽音の最大レベルまたはエンベロープ特
性を決定し、その値を第2副楽音発生部36に報告す
る。これに応じて、第副楽音発生部36は、図5に示
すように、その音量レベルが、キーオフデータKEYO
FFが発生した時点から所定のエンベロープで増大し、
決定された最大レベルVOL2に到達した時点から所定
のエンベロープで減少する第2副楽音を生成する。
The level correlation control section 35 includes the main CPU 3
And the sub CPU 21 in the TG 9 and instructs the second sub-tone generating section 36 at the subsequent stage of the maximum level or envelope characteristic of the second sub-tone to be generated. Specifically, the output level or the envelope value of the main tone generating section 32 at the time when the key-off data KEYOFF is generated is detected, and the second sub-tone generating section 36 should generate the second sub-tone according to the detected value. The maximum level or envelope characteristic of the musical tone is determined, and the value is reported to the second auxiliary musical tone generating section 36. In response to this, as shown in FIG. 5, the second auxiliary musical sound generating section 36 determines that the volume level is the key-off data KEYYO.
It increases with a predetermined envelope from the time when FF occurs,
A second auxiliary musical tone that decreases with a predetermined envelope from the time when the determined maximum level VOL2 is reached is generated.

【0050】なお、図5の例では、第2副楽音は、第1
副楽音に比較して、消音に至るまでの時間が長くなって
いる。この間に2番目のキーオンデータ(2nd.KE
YON)が発生したときには、図中一点鎖線で示すよう
に、主楽音を立ち上げると同時に、第2副楽音の消音を
早めるようにした方が好ましい。図示例の第2副楽音
は、減衰系の音であるため、実線で示すように、消音を
早めずにそのまま自己の減衰に任せるようにしてもよ
い。
In the example of FIG. 5, the second sub-tone is the first
It takes longer to mute compared to the side tone. During this time, the second key-on data (2nd.KE
(YON) occurs, it is preferable that the main musical tone is raised and the second sub musical tone is silenced at the same time as shown by the alternate long and short dash line in the figure. Since the second sub-tone in the illustrated example is a sound of a damping system, as shown by a solid line, the second sub-tone may be left as it is for its own damping without accelerating the muffling.

【0051】また、第2副楽音は、第1副楽音と同様
に、その最大音量をキーオフデータKEYOFFが発生
した時点の、主楽音発生部32の出力レベルに関連した
値(ただし、その検出方法は異なっている)としたが、
これに限らず、主楽音発生部32の出力レベルと無関係
な所定値としてもよく、または、主楽音発生部32の出
力レベルとは無関係であるが、主楽音の音高(キーコー
ドKC)と関連付けるようにしてもよい。
Similarly to the first sub-tone, the second sub-tone has a maximum volume corresponding to the output level of the main tone generating section 32 at the time when the key-off data KEYOFF is generated (however, the detection method thereof). Is different)
Not limited to this, it may be a predetermined value that is irrelevant to the output level of the main musical tone generating section 32, or, although it is irrelevant to the output level of the main musical tone generating section 32, the pitch (key code KC) of the main musical tone. You may make it related.

【0052】合成部37は、前記TG9のバッファに相
当し、主楽音発生部32が発生した主楽音、第1副楽音
発生部34が発生した第1副楽音、および、第2副楽音
発生部36が発生した第2副楽音を累算することにより
合成し、楽音信号出力として、前記DAC10に出力す
る。
The synthesizing section 37 corresponds to the buffer of the TG 9 and is a main musical tone generated by the main musical tone generating section 32, a first sub musical tone generated by the first sub musical tone generating section 34, and a second sub musical tone generating section. The second sub-tone generated by 36 is added up to be synthesized and output to the DAC 10 as a tone signal output.

【0053】なお、副楽音(第1副楽音および/または
第2副楽音)は、オフタッチデータOFFT(イニシャ
ルタッチデータITでもよい)や押鍵時間、キーオフ時
の楽音発生状態に応じて、そのピッチや音色などに楽音
要素変化を伴わせるようにしてもよい。これにより、た
とえば、主楽音の音色が吹奏楽器系のものの場合に、キ
ーオフでピッチが下降する状態をシミュレートすること
ができる。
The sub-musical tone (the first sub-tone and / or the second sub-tone) is converted into the off-touch data OFFT (or the initial touch data IT), the key pressing time, and the tone generation state at the time of key-off. The pitch and tone color may be accompanied by a change in musical tone element. As a result, for example, when the tone color of the main musical tone is of the wind instrument type, it is possible to simulate a state where the pitch is lowered by key-off.

【0054】また、キーオフ音(副楽音)の発音制御に
おいては、キーオフ時に違和感なく(消音される主楽音
との自然なつながり感を維持して)発音されるようにす
ることが基本となる。ピアノのような単純減衰の音色で
は、キーオフ音は発音経過時間に応じて制御する(第1
副楽音)方が簡単だが、管楽器音など持続音系(発音経
過時間と音量レベルの相関が小さい)の音色では、発音
経過時間では制御しにくいので音量レベルあるいはそれ
に関する情報でキーオフ音を制御する(第2副楽音)こ
とになる。したがって、それぞれの方式を備えて、音色
に応じて選択するか、併用するかなどできる構成とすれ
ば、色々な音色に対応可能となり、音色のバリエーショ
ンをさらに広げることができる。
Further, in controlling the sounding of the key-off sound (sub-musical sound), it is basically necessary to sound the key-off sound without any discomfort (maintaining a natural feeling of connection with the muted main musical sound) when the key is off. With a tone of simple attenuation, such as a piano, the key-off tone is controlled according to the elapsed sound time (1st
It is easier to use the side tone), but it is difficult to control the continuous tone sound (such as wind tone sound has a small correlation between the sounding elapsed time and the volume level) with the sounding elapsed time, so the key-off sound is controlled by the volume level or related information. (The second side tone). Therefore, if each system is provided and can be selected according to the timbre or used in combination, various timbres can be supported and the timbre variation can be further expanded.

【0055】次に、この各制御処理を詳細に説明する。Next, each control process will be described in detail.

【0056】図6および図7は、本実施の形態の楽音発
生装置、特にメインCPU3またはサブCPU21が実
行する発音制御処理の手順を示すフローチャートであ
る。
6 and 7 are flow charts showing the procedure of the tone generation control processing executed by the musical tone generating apparatus of this embodiment, particularly the main CPU 3 or the sub CPU 21.

【0057】図6において、まず、メインCPU3が、
前述のように、演奏操作子1から入力された演奏情報
(演奏イベント)や予め設定された演奏情報(演奏イベ
ント)が発生したか否かを検出する(ステップS1)。
そして、この検出された演奏イベントがキーオンイベン
トであるか否かを判別し(ステップS2)、キーオンイ
ベントのときにはステップS3に進む一方、キーオンイ
ベントでないときには、キーオフイベントであるか否か
を判別し(ステップS7)、キーオフイベントのときに
はステップS8に進む一方、キーオフイベントでないと
きには、本発音制御処理を終了する。
In FIG. 6, first, the main CPU 3
As described above, it is detected whether or not performance information (performance event) input from the performance operator 1 or preset performance information (performance event) has occurred (step S1).
Then, it is determined whether or not the detected performance event is a key-on event (step S2), and if it is a key-on event, the process proceeds to step S3, while if it is not a key-on event, it is determined whether or not it is a key-off event ( If the key-off event is detected in step S7), the process proceeds to step S8. If the key-off event is not detected, the sound generation control process is terminated.

【0058】ステップS3では、前述したように、RA
M5上に確保されたソフトウェアタイマであって、検出
されたキーオンイベントに対応するキーコードKCの押
鍵タイマKON_TIMER(KC)をオン(計時を開始)させると
ともに、前記演奏情報発生部31のように演奏情報を発
生して、TG9に出力する。続くステップS4〜S6の
処理は、TG9内のサブCPU21により実行されるの
で、後述する。
In step S3, as described above, RA
A software timer secured on the M5, which turns on the key-depression timer KON_TIMER (KC) of the key code KC corresponding to the detected key-on event (starts timekeeping) and, like the performance information generation unit 31, Performance information is generated and output to the TG 9. Subsequent steps S4 to S6 are executed by the sub CPU 21 in the TG 9, and will be described later.

【0059】ステップS8では、押鍵タイマKON_TIMER
(KC)の値をチェックし、その値が所定のリミット値TLIM
IT(KC)より小さいとき(KON_TIMER(KC)<TLIMIT(KC))
には、前記演奏情報発生部31のように演奏情報を発生
した後に、主として第1副楽音および第2副楽音を生成
する処理、すなわちTG9内のサブCPU21により実
行されるステップS9〜S13の処理に移行し、その値
が所定のリミット値TLIMIT(KC)以上のとき(KON_TIMER
(KC)≧TLIMIT(KC))には、前記演奏情報発生部31のよ
うに演奏情報を発生した後に、主として第2副楽音を生
成する処理、すなわちTG9内のサブCPU21により
実行されるステップS14〜S18の処理に移行する。
In step S8, the key depression timer KON_TIMER
Check the value of (KC), and check that value for the specified limit value TLIM.
When smaller than IT (KC) (KON_TIMER (KC) <TLIMIT (KC))
In step S9 to S13, the process of generating the first sub-tone and the second sub-tone after the performance information is generated by the performance information generator 31, that is, the processes of steps S9 to S13 executed by the sub CPU 21 in the TG 9. When the value is equal to or greater than the predetermined limit value TLIMIT (KC) (KON_TIMER
(KC) ≧ TLIMIT (KC)), the performance information generating section 31 generates performance information and then mainly generates the second sub-tone, that is, step S14 executed by the sub CPU 21 in the TG 9. ~ It shifts to the processing of S18.

【0060】ステップS4では、メインCPU3が発生
した演奏情報中のキーコードKCに応じて、楽音信号を
発生すべきTG9、すなわち割当先TG番号iを検出す
る。具体的には、キーコードKC中の音名情報に基づい
て、前記図4に示すテーブルデータを検索し、対応する
音名を決定し、この決定された音名が割り当てられたT
G9を決定する。たとえば、音名情報が“4”のときに
は、対応音名は“D#”と決定され、割当先TGは第3
番目のTG(i=3)と決定される。
In step S4, the TG 9 for which a musical tone signal is to be generated, that is, the allocation destination TG number i is detected according to the key code KC in the performance information generated by the main CPU 3. Specifically, based on the note name information in the key code KC, the table data shown in FIG. 4 is searched to determine the corresponding note name, and the decided note name is assigned to T.
Determine G9. For example, when the note name information is "4", the corresponding note name is determined to be "D #", and the assignee TG is the third note.
The second TG (i = 3) is determined.

【0061】そして、ステップS5では、発音チャンネ
ルを、チャンネルCH[i,KC](iは、TG番号を
示し、KCは、発音するキーコードを示す)に決定し、
ステップS6では、主楽音発音処理、具体的には、発音
チャンネルCH[i,KC]に対して、イニシャルタッ
チデータIT(KC)等の制御情報を転送した後にキーオ
ンを指示する処理を実行する。
Then, in step S5, the tone generation channel is determined to be the channel CH [i, KC] (i indicates the TG number, KC indicates the tone generation key code),
In step S6, a main tone generating process, specifically, a process of instructing key-on after transferring control information such as initial touch data IT (KC) to the tone generation channel CH [i, KC] is executed.

【0062】ステップS9では、前記ステップS4と同
様にして、割当先TG番号の検出を行い、ステップS1
0では、第1副楽音ST1および第2副楽音ST2の各
発音チャンネル(STCH1[i,KC,ST1],STCH2[i,KC,ST2])
を決定する処理を実行する。ここで、第1副楽音ST1
または第2副楽音の一方または両方を発音しないような
設定あるいは音色選択がなされている場合は、発音すべ
き副楽音のみの発音チャンネルの決定を行うようにして
もよい。
In step S9, the allocation destination TG number is detected in the same manner as in step S4, and step S1 is executed.
At 0, each sounding channel of the first and second sub-tones ST1 and ST2 (STCH1 [i, KC, ST1], STCH2 [i, KC, ST2])
The process of determining is executed. Here, the first sub-tone ST1
Alternatively, if the setting or tone color selection is made such that one or both of the second sub-tones is not sounded, the sounding channel of only the sub-tone to be sounded may be determined.

【0063】これに続くステップS11では、各副楽音
発音音量(VOL1=STVTBL1[KON_TIMER(KC),OFFT],VOL2=ST
VTBL2[MTLVL(i,KC),OFFT])を決定する処理を行う。こ
こで、VOL1=STVTBL1[KON_TIMER(KC),OFFT]は、KON_TIME
R(KC)とOFFTの値に対応づけられた音量値をテーブ
ル化したSTVTBL1を参照して第1副楽音発音音量VOL
1を決定し、また、VOL2=STVTBL2[MTLVL(i,KC),OFFT]
は、TGiでキーコードKCに対応する音高で発音して
いる主楽音レベルMTLVL(i,KC)とオフタッチデータOF
FTの値に対応づけられた音量値をテーブル化したSTVT
BL2を参照して第2副楽音発音音量VOL2を決定する
ことを示している。なお、テーブル参照の他、何らかの
演算を用いて音量VOL1,VOL2を決定するようにしてもよ
い。
In step S11 following this, each sub-tone sound volume (VOL1 = STVTBL1 [KON_TIMER (KC), OFFT], VOL2 = ST
VTBL2 [MTLVL (i, KC), OFFT]) is determined. Here, VOL1 = STVTBL1 [KON_TIMER (KC), OFFT] is KON_TIME
The first sub-tone sound volume VOL is referenced by referring to STVTBL1 which is a table of volume values associated with R (KC) and OFFT values.
1 is determined, and VOL2 = STVTBL2 [MTLVL (i, KC), OFFT]
Is the main tone level MTLVL (i, KC) and the off-touch data OF that is generated at the pitch corresponding to the key code KC in TGi.
STVT, which is a table of volume values associated with FT values
This shows that the second auxiliary tone sound production volume VOL2 is determined with reference to BL2. Note that the volumes VOL1 and VOL2 may be determined using some calculation other than the table reference.

【0064】さて、続いてステップS12では、ステッ
プS10で決定された各発音チャンネルSTCH1,STCH2に
対して、ステップS11で決定された音量値VOL1,VOL2
等の制御情報を転送した後にキーオンを指示する副楽音
発音処理を実行し、さらに、ステップS13では、前記
ステップS6で発生した主楽音に対してその消音を指示
する処理、具体的には、主楽音の発音チャンネルCH
[i,KC]に対して消音指示を行う処理を実行する。
Next, in step S12, the volume values VOL1, VOL2 determined in step S11 are set for the tone generation channels STCH1, STCH2 determined in step S10.
After the control information such as the above is transferred, a sub-tone generating process for instructing key-on is executed, and in step S13, a process for instructing the mute of the main tone generated in step S6, specifically, the main tone is generated. Music sound channel CH
A process of giving a mute instruction to [i, KC] is executed.

【0065】ステップS14では、前記ステップS4と
同様にして、割当先TG番号の検出を行い、ステップS
15では、第2副楽音ST2の発音チャンネル(STCH2
[i,KC,ST2])を決定する処理を実行し、ステップS16
では、副楽音発音音量(VOL2=STVTBL2[MTLVL(i,KC),OFF
T])を決定する処理を行い、ステップS17では、ステ
ップS15で決定された発音チャンネルSTCH2に対し
て、ステップS16で決定された音量値VOL2等の制御情
報を転送した後にキーオンを指示する副楽音発音処理を
実行し、さらに、ステップS18では、前記ステップS
13と同様に、ステップS6で発生した主楽音に対して
その消音を指示する処理を実行する。
In step S14, the allocation destination TG number is detected in the same manner as in step S4, and step S
In 15, the sound channel of the second sub-tone ST2 (STCH2
[i, KC, ST2]) is executed, and step S16
Then, the sound volume of the secondary music (VOL2 = STVTBL2 [MTLVL (i, KC), OFF
T]) is determined, and in step S17, to the tone generation channel STCH2 determined in step S15, the side tone that instructs key-on after transferring the control information such as the volume value VOL2 determined in step S16. Sound generation processing is executed, and further, in step S18, the above-mentioned step S
Similar to 13, the process of instructing the mute of the main tone generated in step S6 is executed.

【0066】このように、本実施の形態では、複数のT
Gを用いて複数の楽音を同時に発音するときに、該各T
Gに少なくとも1つ以上の音名を割り当て、発音指示が
なされた楽音信号の生成を、その楽音信号の音名が割り
当てられているTGで行うようにしたので、各TGでの
発音負荷が均一に分散し、これにより、各TGでの発音
負荷を軽減させることができる。
As described above, in this embodiment, a plurality of T's are used.
When a plurality of musical tones are simultaneously pronounced using G, the T
At least one or more note names are assigned to G, and the musical tone signal for which the pronunciation instruction is given is generated by the TG to which the tone name of the musical tone signal is assigned, so that the tone generation load in each TG is uniform. Therefore, the sound generation load on each TG can be reduced.

【0067】また、キーオフ時の主楽音のレベルに関す
る情報を直接監視し、これに基づいて副楽音特性情報を
決定し、この決定された特性の副楽音を生成するように
したので、楽器の演奏音をよりリアルに再現することが
できる。
Further, the information about the level of the main tone at the time of key-off is directly monitored, the sub-tone characteristic information is determined based on the information, and the sub-tone having the determined characteristic is generated. The sound can be reproduced more realistically.

【0068】さらに、キーオフ時に、その主楽音の音高
に応じて副楽音特性情報を決定し、この決定された特性
の副楽音を生成するようにしたので、特にハープシコー
ドのの演奏音をよりリアルに再現することができる。
Further, when the key is off, the sub-musical tone characteristic information is determined according to the pitch of the main musical tone, and the sub-musical tone having the decided characteristic is generated, so that the performance sound of the harpsichord is made more realistic. Can be reproduced.

【0069】なお、本実施の形態では、音源方式とし
て、PCMサンプリング音源を採用したが、これは単に
例示に過ぎず、本発明は音源方式を問題にしていないの
で、ソフトウェア音源等どのような音源方式に対しても
有効に適用することができる。
In this embodiment, the PCM sampling sound source is adopted as the sound source method, but this is merely an example, and the present invention does not have a problem with the sound source method. It can be effectively applied to the system.

【0070】また、上述した実施の形態の機能を実現す
るソフトウェアのプログラムコードを記録した記憶媒体
を、システムまたは装置に供給し、そのシステムまたは
装置のコンピュータ(またはメインCPUやMPU)が
記憶媒体に格納されたプログラムコードを読出し実行す
ることによっても、本発明の目的が達成されることは言
うまでもない。
Further, a storage medium recording a program code of software for realizing the functions of the above-described embodiments is supplied to the system or apparatus, and the computer (or main CPU or MPU) of the system or apparatus stores the storage medium in the storage medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the stored program code.

【0071】この場合、記憶媒体から読出されたプログ
ラムコード自体が本発明の新規な機能を実現することに
なり、そのプログラムコードを記憶した記憶媒体は本発
明を構成することになる。
In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.

【0072】プログラムコードを供給するための記憶媒
体としては、たとえば、前記フロッピー(登録商標)デ
ィスク、ハードディスク、光ディスク、光磁気ディス
ク、CD−ROM、CD−R、磁気テープ、不揮発性の
メモリカード、ROMなどを用いることができる。ま
た、他のMIDI機器や通信ネットワークを介してサー
バコンピュータからプログラムコードが供給されるよう
にしてもよい。
As the storage medium for supplying the program code, for example, the above-mentioned floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, non-volatile memory card, A ROM or the like can be used. Further, the program code may be supplied from the server computer via another MIDI device or a communication network.

【0073】また、コンピュータが読出したプログラム
コードを実行することにより、上述した実施の形態の機
能が実現されるだけでなく、そのプログラムコードの指
示に基づき、コンピュータ上で稼働しているOSなどが
実際の処理の一部または全部を行い、その処理によって
上述した実施の形態の機能が実現される場合も含まれる
ことは言うまでもない。
Further, by executing the program code read by the computer, not only the functions of the above-described embodiment are realized, but also the OS or the like running on the computer is executed based on the instruction of the program code. It goes without saying that a case where some or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing is also included.

【0074】さらに、記憶媒体から読出されたプログラ
ムコードが、コンピュータに挿入された機能拡張ボード
やコンピュータに接続された機能拡張ユニットに備わる
メモリに書込まれた後、そのプログラムコードの指示に
基づき、その機能拡張ボードや機能拡張ユニットに備わ
るメインCPUなどが実際の処理の一部または全部を行
い、その処理によって上述した実施の形態の機能が実現
される場合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written in the memory provided in the function expansion board inserted into the computer or the function expansion unit connected to the computer, based on the instruction of the program code, It goes without saying that a case where a main CPU or the like included in the function expansion board or the function expansion unit performs some or all of the actual processing and the processing realizes the functions of the above-described embodiments is also included.

【0075】[0075]

【発明の効果】【The invention's effect】

【0076】以上説明したように、請求項1または
記載の発明によれば、キーオン情報が供給されたときか
らキーオフ情報が供給されたときまでの時間が計時さ
れ、前記キーオフ情報が供給されたときに、該キーオフ
情報に対応するキーオン情報に基づいて生成されている
主楽音の出力レベルまたはエンベロープ値が検出され、
第1のキーオフ音の特性が前記計時された時間に応じた
特性に決定されるとともに、第2のキーオフ音の特性が
前記検出された主楽音の出力レベルまたはエンベロープ
値に応じた特性に決定され、前記計時された時間が所定
の基準時間より短いときには、前記決定された特性の第
1および第2のキーオフ音が生成される一方、前記計時
された時間が前記所定の基準時間以上のときには、前記
決定された特性の第2のキーオフ音が生成されるので、
楽器の演奏音をよりリアルに再現することができる。
[0076] As described above, according to the invention described in claim 1 or 2, the time from when the key on information is supplied to when the key off information is supplied is timed, the key-off information supplied When detected, the output level or envelope value of the main tone generated based on the key-on information corresponding to the key-off information is detected,
The characteristic of the first key-off sound is determined to be a characteristic according to the timed time, and the characteristic of the second key-off sound is determined to be a characteristic according to the output level or envelope value of the detected main tone. When the timed time is shorter than a predetermined reference time, the first and second key-off sounds having the determined characteristics are generated, while when the timed time is equal to or longer than the predetermined reference time, Since the second key-off sound having the determined characteristic is generated,
You can reproduce the playing sound of the musical instrument more realistically.

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

【図1】 本発明の一実施の形態に係る楽音発生装置の
概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a musical sound generating apparatus according to an embodiment of the present invention.

【図2】 図1の複数個のTGのうち一つのTGの詳細
な構成を示すブロック図である。
FIG. 2 is a block diagram showing a detailed configuration of one TG among the plurality of TGs in FIG.

【図3】 図1および図2のハードウェアを、該ハード
ウェアによってなされる制御処理の面から書き換えて生
成したブロック図である。
FIG. 3 is a block diagram generated by rewriting the hardware of FIGS. 1 and 2 in terms of control processing performed by the hardware.

【図4】 キーコードKC中の音名情報から対応音名お
よび割当先TGを決定するためのテーブルデータの一例
を示す図である。
FIG. 4 is a diagram showing an example of table data for determining a corresponding note name and an allocation destination TG from note name information in a key code KC.

【図5】 主楽音、第1副楽音および第2副楽音の特性
の一例を示す図である。
FIG. 5 is a diagram showing an example of characteristics of a main musical tone, a first auxiliary musical tone, and a second auxiliary musical tone.

【図6】 図1の楽音発生装置、特にメインCPUまた
は図2のサブCPUが実行する発音制御処理の手順を示
すフローチャートである。
6 is a flow chart showing a procedure of a tone generation control process executed by the musical tone generating apparatus of FIG. 1, particularly the main CPU or the sub CPU of FIG.

【図7】 図6の続きを示す図である。FIG. 7 is a view showing a sequel to FIG. 6;

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

1 演奏操作子(供給手段) 3 メインCPU(供給手段) 7 メモリデバイス(供給手段) 9 TG(楽音生成手段) 21 サブCPU(制御手段、決定手段、検出手段、計
時手段)
1 performance operators (supply means) 3 main CPU (supply means) 7 memory devices (supply means) 9 TG (easy sound generating means) 21 sub CPU (control means, determination means, detecting means, timer means)

フロントページの続き (56)参考文献 特開 平3−269493(JP,A) 特開 平11−282468(JP,A) 特開 昭64−88594(JP,A) 特開 平7−129162(JP,A) 特開 昭62−54293(JP,A) 特開 昭62−133492(JP,A) 特開 平6−175659(JP,A) 実開 平5−20094(JP,U) 特公 平2−63235(JP,B2) 特公 平5−46958(JP,B2) 特公 昭48−14252(JP,B1) 特公 平5−25116(JP,B2) (58)調査した分野(Int.Cl.7,DB名) G10H 1/00 - 1/46 Continuation of the front page (56) Reference JP-A-3-269493 (JP, A) JP-A-11-282468 (JP, A) JP-A-64-88594 (JP, A) JP-A-7-129162 (JP , A) JP 62-54293 (JP, A) JP 62-133492 (JP, A) JP 6-175659 (JP, A) Fukukaihei 5-20094 (JP, U) JP 2-63235 (JP, B2) JP-B 5-46958 (JP, B2) JP-B 48-14252 (JP, B1) JP-B 5-25116 (JP, B2) (58) Fields investigated (Int. Cl. 7 , DB name) G10H 1/00-1/46

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 少なくともキーオン情報およびキーオフ
情報を含む演奏情報を供給する供給手段と、 前記キーオン情報が供給されたときには、該キーオン情
報により指示される音高および特性の主楽音を生成する
一方、前記キーオフ情報が供給されたときには、該キー
オフ情報により指示される音高の主楽音であって、生成
中の主楽音を消去するとともに、第1のキーオフ音およ
び該第1のキーオフ音より消音に至る時間が長い第2の
キーオフ音を生成する楽音生成手段と、 前記キーオン情報が供給されたときから前記キーオフ情
報が供給されたときまでの時間を計時する計時手段と、 前記キーオフ情報が供給されたときに、該キーオフ情報
に対応するキーオン情報に基づいて生成されている主楽
音の出力レベルまたはエンベロープ値を検出する検出手
段と、 前記第1のキーオフ音の特性を前記計時された時間に応
じた特性に決定するとともに、前記第2のキーオフ音の
特性を前記検出された主楽音の出力レベルまたはエンベ
ロープ値に応じた特性に決定する決定手段と、 前記計時された時間が所定の基準時間より短いときに
は、前記楽音生成手段から、前記決定された特性の第1
および第2のキーオフ音を生成させるように制御する一
方、前記計時された時間が前記所定の基準時間以上のと
きには、前記楽音生成手段から、前記決定された特性の
第2のキーオフ音を生成させるように制御する制御手段
とを有することを特徴とする楽音発生装置。
1. A supply means for supplying performance information including at least key-on information and key-off information, and when the key-on information is supplied, a main tone having a pitch and a characteristic indicated by the key-on information is generated. When the key-off information is supplied, the main musical tone of the pitch indicated by the key-off information, which is being generated, is erased, and the first key-off tone and the first key-off tone are muted. a music generation means for time to reach to generate a long second key-off sounds, and counting means for counting the time until when the key-off information is supplied from the time the key-on information is supplied, the key-off information supplied When detected, the output level or envelope value of the main musical tone generated based on the key-on information corresponding to the key-off information is detected Detecting means for determining the characteristic of the first key-off sound to a characteristic corresponding to the timed time, and setting the characteristic of the second key-off sound to the output level or envelope value of the detected main tone. Determining means for determining a characteristic according to the characteristic, and when the timed time is shorter than a predetermined reference time, the musical sound generating means outputs the first characteristic of the determined characteristic.
And controlling to generate a second key-off sound, and when the measured time is equal to or longer than the predetermined reference time, the musical sound generating means generates a second key-off sound having the determined characteristic. And a control means for controlling as described above.
【請求項2】 少なくともキーオン情報およびキーオフ
情報を含む演奏情報を供給手段から供給する供給ステッ
プと、 前記キーオン情報が供給されたときには、該キーオン情
報により指示される音高および特性の主楽音を生成する
一方、前記キーオフ情報が供給されたときには、該キー
オフ情報により指示される音高の主楽音であって、生成
中の主楽音を消去するとともに、第1のキーオフ音およ
び該第1のキーオフ音より消音に至る時間が長い第2の
キーオフ音を生成する楽音生成ステップと、 前記キーオン情報が供給されたときから前記キーオフ情
報が供給されたときまでの時間を計時する計時ステップ
と、 前記キーオフ情報が供給されたときに、該キーオフ情報
に対応するキーオン情報に基づいて生成されている主楽
音の出力レベルまたはエンベロープ値を検出する検出ス
テップと、 前記第1のキーオフ音の特性を前記計時された時間に応
じた特性に決定するとともに、前記第2のキーオフ音の
特性を前記検出された主楽音の出力レベルまたはエンベ
ロープ値に応じた特性に決定する決定ステップと、 前記計時された時間が所定の基準時間より短いときに
は、前記楽音生成ステップにより、前記決定された特性
の第1および第2のキーオフ音を生成させるように制御
する一方、前記計時された時間が前記所定の基準時間以
上のときには、前記楽音生成ステップにより、前記決定
された特性の第2のキーオフ音を生成させるように制御
する制御ステップとを有する楽音発生方法をコンピュー
タに実行させるプログラムを格納した、コンピュータ読
み出し可能な記憶媒体。
2. A supplying step of supplying performance information including at least key-on information and key-off information from a supplying means, and when the key-on information is supplied, a main tone having a pitch and a characteristic indicated by the key-on information is generated. On the other hand, when the key-off information is supplied, the main tone having the pitch indicated by the key-off information, which is being generated, is deleted, and the first key-off tone and the first key-off tone are deleted. A tone generation step of generating a second key-off sound that takes a longer time to mute, and a timing step of timing the time from when the key-on information is supplied to when the key-off information is supplied. the key when off information is supplied, the output level of the main tone is generated based on the key-on information corresponding to the key-off information Or a detecting step of detecting an envelope value; determining a characteristic of the first key-off sound to a characteristic according to the timed time, and outputting a characteristic of the second key-off sound of the detected main tone. A determining step of determining a characteristic according to a level or an envelope value; and, when the timed time is shorter than a predetermined reference time, the musical tone generating step causes the first and second key-off sounds of the determined characteristic to be generated. On the other hand, when the measured time is equal to or longer than the predetermined reference time, the musical sound generating step controls the second key-off sound having the determined characteristic to be generated. A computer-readable storage medium that stores a program for causing a computer to execute the musical sound generation method having the above.
JP2000380370A 1999-12-17 2000-12-14 Tone generator and storage medium Expired - Fee Related JP3521871B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000380370A JP3521871B2 (en) 1999-12-17 2000-12-14 Tone generator and storage medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP11-358845 1999-12-17
JP35884599 1999-12-17
JP2000380370A JP3521871B2 (en) 1999-12-17 2000-12-14 Tone generator and storage medium

Publications (2)

Publication Number Publication Date
JP2001236067A JP2001236067A (en) 2001-08-31
JP3521871B2 true JP3521871B2 (en) 2004-04-26

Family

ID=26580853

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000380370A Expired - Fee Related JP3521871B2 (en) 1999-12-17 2000-12-14 Tone generator and storage medium

Country Status (1)

Country Link
JP (1) JP3521871B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4785052B2 (en) * 2006-07-31 2011-10-05 株式会社河合楽器製作所 Music generator
JP4978993B2 (en) 2006-10-19 2012-07-18 株式会社河合楽器製作所 Music generator
JP2016177277A (en) * 2015-03-20 2016-10-06 ヤマハ株式会社 Sound generating device, sound generating method, and sound generating program

Also Published As

Publication number Publication date
JP2001236067A (en) 2001-08-31

Similar Documents

Publication Publication Date Title
US6191349B1 (en) Musical instrument digital interface with speech capability
US6369311B1 (en) Apparatus and method for generating harmony tones based on given voice signal and performance data
US6118065A (en) Automatic performance device and method capable of a pretended manual performance using automatic performance data
JPH09508982A (en) Just intonation
JPH0744183A (en) Karaoke playing device
JP3521871B2 (en) Tone generator and storage medium
JPH09258728A (en) Automatic performance device and karaoke (sing-along music) device
US6444890B2 (en) Musical tone-generating apparatus and method and storage medium
US5821444A (en) Apparatus and method for tone generation utilizing external tone generator for selected performance information
US8362348B2 (en) Electronic musical apparatus for generating a harmony note
JP2004117613A (en) Electronic musical instrument
JP2003288077A (en) Music data output system and program
US5854438A (en) Process for the simulation of sympathetic resonances on an electronic musical instrument
JP3637196B2 (en) Music player
JP4089447B2 (en) Performance data processing apparatus and performance data processing program
US5942711A (en) Roll-sound performance device and method
JP4239706B2 (en) Automatic performance device and program
JP3419563B2 (en) Tone signal level control device
JP3439312B2 (en) Electronic musical instrument pitch controller
JP2002297139A (en) Playing data modification processor
JP2889841B2 (en) Chord change processing method for electronic musical instrument automatic accompaniment
JP3674469B2 (en) Performance guide method and apparatus and recording medium
JP3738634B2 (en) Automatic accompaniment device and recording medium
JP3424989B2 (en) Automatic accompaniment device for electronic musical instruments
JPH10171475A (en) Karaoke (accompaniment to recorded music) device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20031219

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040120

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040202

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 (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080220

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090220

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090220

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100220

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110220

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120220

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees