JPH11305775A - Key-on delay effect adding device for electronic musical instrument - Google Patents

Key-on delay effect adding device for electronic musical instrument

Info

Publication number
JPH11305775A
JPH11305775A JP10122732A JP12273298A JPH11305775A JP H11305775 A JPH11305775 A JP H11305775A JP 10122732 A JP10122732 A JP 10122732A JP 12273298 A JP12273298 A JP 12273298A JP H11305775 A JPH11305775 A JP H11305775A
Authority
JP
Japan
Prior art keywords
envelope
waveform
tone
key
phase
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10122732A
Other languages
Japanese (ja)
Other versions
JP3649906B2 (en
Inventor
Tsutomu Saito
勉 斉藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP12273298A priority Critical patent/JP3649906B2/en
Publication of JPH11305775A publication Critical patent/JPH11305775A/en
Application granted granted Critical
Publication of JP3649906B2 publication Critical patent/JP3649906B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Reverberation, Karaoke And Other Acoustics (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

PROBLEM TO BE SOLVED: To place a load on none of a microcontroller, a sound source, etc., to secure as many sound generation channels as possible, and to reduce the storage capacity that a waveform memory needs to have. SOLUTION: This device has a control means 1, a waveform storage means 2 for musical sound waveforms, a musical sound signal generating means 3 which reads musical sound waveform data out of the waveform storage means 2 and gives an envelope to the waveform data to generate a musical sound signal, and a musical sound generating means 4 based upon generated musical sound signals by the musical sound generation channels. The control means 1 transfers as control parameters an envelope coefficient having a phase wherein an envelope value can be set to nearly zero and a waveform read address equivalent to a time equal to the envelope phase to the musical sound generating means 3 by the musical sound generation channels.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、電子楽器のキーオ
ンディレイ効果付加装置に関する。
The present invention relates to a key-on delay effect adding device for an electronic musical instrument.

【0002】[0002]

【従来の技術】合奏を行っているような楽音を発音でき
る所謂アンサンブル効果が得られる一つの方法として、
キーオンディレイという処理がある。このキーオンディ
レイ処理は、通常、音高と音色が同じである楽音を2つ
の系列でそれぞれ発生させ、この時の一方の系列の楽音
を他方の系列の楽音より遅らせて発音させることによ
り、両系列の楽音波形を移送を異ならせて発音させるこ
とにより、両系列の楽音波形の移送を異ならせて合奏の
効果を得るようにしたものである(例えば特開平2−1
81795号参照)。
2. Description of the Related Art As one method for obtaining a so-called ensemble effect capable of producing musical sounds as if performing ensemble,
There is a process called key-on delay. In this key-on delay processing, normally, a tone having the same pitch and timbre is generated in two streams, and the tone of one stream at this time is generated later than the tone of the other stream, so that both streams are generated. In this case, the transfer of the musical sound waveforms of the two series is made different to produce the effect of the ensemble by making the transfer of the musical sound waveforms of the two series different.
No. 81795).

【0003】そのような構成の1つとして、上記特開平
2−181795号に示される構成では、マイクロコン
トローラが楽音発生チャンネル毎のディレイタイムをカ
ウントし、それぞれ異なるタイミングで、発音開始のた
めの波形読出アドレスやエンベロープ係数を含む制御パ
ラメータを送出し、キーオンディレイ効果を得ている。
As one of such configurations, in the configuration disclosed in Japanese Patent Application Laid-Open No. Hei 2-181595, a microcontroller counts the delay time for each tone generation channel, and generates a waveform for starting sound generation at different timings. A control parameter including a read address and an envelope coefficient is transmitted to obtain a key-on delay effect.

【0004】また同様な効果を得るための構成として、
特開平5−216479号に示されるものがあり、同号
の構成では、マイクロコントローラは一度に複数の楽音
発生チャンネルを起動し、それぞれの波形読出アドレス
をずらし、ディレイタイムに対応する読出波形にはゼロ
を記憶したものにしておくことで、キーオンディレイ効
果を得るようにしている。
As a configuration for obtaining the same effect,
In the configuration disclosed in JP-A-5-216479, the microcontroller activates a plurality of tone generation channels at once, shifts the respective waveform read addresses, and sets the read waveform corresponding to the delay time as the read waveform corresponding to the delay time. By storing zero, a key-on delay effect is obtained.

【0005】[0005]

【発明が解決しようとする課題】特開平2−18179
5号の構成では、楽音を発生する音源LSIなどの楽音
発生システムには負荷がかからず、シンプルな構成で済
むが、マイクロコントローラに負担がかかり、高速なタ
イプを使用しても、楽音を発生できる楽音発生チャンネ
ル数が限られてしまうという問題があった。
Problems to be Solved by the Invention
In the configuration of No. 5, a tone generation system such as a tone generator LSI for generating a tone is not loaded and a simple configuration is required. However, a load is imposed on a microcontroller, and even if a high-speed type is used, the tone is generated. There is a problem that the number of musical tone generating channels that can be generated is limited.

【0006】また特開平5−216479号の構成で
は、マイクロコントローラや音源LSIなどには負荷が
かからないが、波形データの記憶のために波形メモリに
必要とされる記憶容量が増大することになり、且つコス
ト高にもつながってしまう。
In the configuration of Japanese Patent Application Laid-Open No. Hei 5-216479, no load is applied to the microcontroller and the tone generator LSI, but the storage capacity required for the waveform memory for storing the waveform data increases. In addition, it leads to high costs.

【0007】本発明は従来技術の以上のような課題に鑑
み創案されたもので、マイクロコントローラや音源LS
Iなどには負荷がかからないようにして、できるだけ多
くの楽音発生チャンネル数を確保できるようにし、且つ
波形メモリに必要な記憶容量も少ないもので済む電子楽
器のキーオンディレイ効果付加装置を提供せんとするも
のである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems of the prior art, and includes a microcontroller and a sound source LS.
A key-on-delay effect adding device for an electronic musical instrument which does not impose a load on I and the like, thereby ensuring as many musical tone generation channels as possible, and requiring only a small storage capacity for the waveform memory. Things.

【0008】[0008]

【課題を解決するための手段】そのため本発明の電子楽
器のキーオンディレイ効果付加装置の構成は、1つのキ
ーオン情報に基づき、複数の楽音発生チャンネルに対し
て、波形読出アドレスやエンベロープ係数を含む制御パ
ラメータを、同時に転送する制御手段と、任意の楽音波
形を記憶する波形記憶手段と、制御手段から転送され複
数の楽音発生チャンネルに割り振られた制御パラメータ
に基づき、上記波形記憶手段からの楽音波形データの読
出を行うと共に、この波形データにエンベロープの付与
を行って楽音信号を生成する楽音信号生成手段と、該楽
音信号生成手段で楽音発生チャンネル毎に生成された楽
音信号に基づいて楽音を発生する楽音発生手段とを少な
くとも有しており、前記制御手段が、制御パラメータと
して、エンベロープ値を略0とすることが可能なフェイ
ズを有するエンベロープを形成できるエンベロープ係数
と、当該エンベロープフェイズと同等の時間に相当する
分だけ本来の読出波形のトップから遡ったアドレスをス
タートアドレスとする波形読出アドレスとを、楽音発生
チャンネル毎に楽音信号生成手段に転送することを基本
的特徴としている。
Therefore, a key-on delay effect adding device for an electronic musical instrument according to the present invention has a structure in which a plurality of tone generation channels are controlled based on one key-on information, including a waveform read address and an envelope coefficient. Control means for simultaneously transferring parameters, waveform storage means for storing an arbitrary tone waveform, and tone waveform data from the waveform storage means based on control parameters transferred from the control means and allocated to a plurality of tone generation channels. And a tone signal generating means for generating a tone signal by applying an envelope to the waveform data, and generating a tone based on the tone signal generated for each tone generating channel by the tone signal generating means. At least musical tone generating means, wherein the control means includes an envelope as a control parameter. An envelope coefficient capable of forming an envelope having a phase whose value can be set to substantially 0, and a waveform readout using a start address that is an address retroactive from the top of an original readout waveform by an amount equivalent to a time equivalent to the envelope phase. The basic feature is that the address is transferred to the tone signal generating means for each tone generating channel.

【0009】上記構成では、制御手段により、楽音発生
チャンネル毎に楽音信号生成手段にエンベロープ係数が
転送され、それによって生成されるエンベロープのフェ
イズを従来より1つ増やすことで、pre read p
haseを設ける。そのpre read phaseの
エンベロープ値を略0とするようにすれば、その間に読
み出された波形データは、上記エンベロープ値(略0)
と乗算された結果、略0として出力されることになる。
またpre read phaseの間は、ちょうどディ
レイタイムに相当するので、そのエンベロープ値が乗算
される楽音波形についても、当該エンベロープフェイズ
と同等の時間に相当する分だけ本来の読出波形のトップ
から遡ったアドレスをスタートアドレスとして波形を読
出すことで、pre read phaseの間に読み出
される楽音波形データはどんなものであっても上記乗算
によって略0として出力され、特開平5−216479
号のようにディレイタイムに対応する読出波形にゼロを
記憶させなくても、楽音波形にディレイタイムが設定で
きるようになる。またCPUなどの制御手段で、ディレ
イタイムを設定する必要がなくなり、その分だけ負荷が
少なくなる。
In the above configuration, the control means transfers the envelope coefficient to the tone signal generating means for each tone generating channel, and increases the phase of the envelope generated by one from that of the prior art.
hase is provided. If the envelope value of the pre-read phase is set to be approximately 0, the waveform data read during that period will have the above-mentioned envelope value (approximately 0).
As a result, the output is substantially zero.
Also, during the pre-read phase, it is just equivalent to the delay time, so that the tone waveform to be multiplied by the envelope value also has an address that goes back from the top of the original read waveform by an amount equivalent to the time equivalent to the envelope phase. Is read as a start address, any tone waveform data read out during the pre-read phase is output as approximately 0 by the above multiplication.
Thus, the delay time can be set for the musical tone waveform without storing zero in the readout waveform corresponding to the delay time as in the signal. In addition, there is no need to set a delay time by a control means such as a CPU, and the load is reduced accordingly.

【0010】[0010]

【発明の実施の形態】以下本発明の実施の形態を添付図
面に基づき説明する。図1は本発明のキーオンディレイ
効果付加装置の一実施形態の構成が適用された電子楽器
のブロック図であり、この電子楽器は選択した音色に応
じて所定の波形データを読み出して発音するようにした
波形メモリ読出方式の電子楽器である。
Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a block diagram of an electronic musical instrument to which a configuration of an embodiment of a key-on delay effect adding apparatus according to the present invention is applied. This electronic musical instrument reads predetermined waveform data according to a selected timbre and emits sound. This is an electronic musical instrument of a waveform memory reading system.

【0011】本構成は、制御手段1と、波形記憶手段2
と、楽音信号生成手段3と、楽音発生手段4とを有する
構成であり、これらの構成はバス100に接続され、上
記電子楽器の構成として組み込まれている。さらにこの
バス100には、上記電子楽器の構成として必要な構成
が接続されている。すなわち、鍵盤インターフェース1
01aを介して鍵盤101が、パネルインターフェース
102aを介してパネルスイッチ102が、さらにRA
M103とROM104が当該バス100に接続されて
いる。その他、該バス100には、MIDIインターフ
ェース105とディスクドライブ106とが接続されて
いる。
This configuration comprises a control unit 1 and a waveform storage unit 2
And a tone signal generating means 3 and a tone generating means 4. These components are connected to the bus 100 and are incorporated as components of the electronic musical instrument. Further, a configuration required as a configuration of the electronic musical instrument is connected to the bus 100. That is, the keyboard interface 1
01a via the panel interface 102a and the panel switch 102 via the panel interface 102a.
M103 and ROM 104 are connected to the bus 100. In addition, a MIDI interface 105 and a disk drive 106 are connected to the bus 100.

【0012】鍵盤インターフェース101aは、鍵盤1
01を走査することにより押鍵(キーオン)と離鍵(キ
ーオフ)の各イベントを検出し、イベントのあった鍵の
キーコードを出力する。
The keyboard interface 101a is a keyboard 1
By scanning 01, each event of key press (key on) and key release (key off) is detected, and the key code of the key having the event is output.

【0013】パネルスイッチ102は、複数種類の音色
から所望の音色を選択するための音色選択スイッチとそ
の他のスイッチを備えており、パネルインターフェース
102aはパネルスイッチ102の各スイッチ操作のイ
ベントを検出する。
The panel switch 102 includes a tone selection switch for selecting a desired tone from a plurality of types of tone and other switches. The panel interface 102a detects an event of each switch operation of the panel switch 102.

【0014】RAM103は、プログラムを実行する時
に必要なデータを一時的に記憶し、ワーキングメモリと
しての役割を果たしている。
The RAM 103 temporarily stores data necessary for executing a program, and functions as a working memory.

【0015】ROM104は、楽音信号生成手段3に音
色を指定するための音色データ、波形データの読出アド
レスを指定するアドレス情報、エンベロープ波形生成用
のエンベロープ係数、及び制御プログラムなどが記憶さ
れており、制御手段1は、バス100を介して各種情報
のやりとりを行い、RAM103内に設定されたレジス
タ等を用いながらROM103の制御プログラムに基づ
いて電子楽器全体の動作を制御する。
The ROM 104 stores tone color data for specifying a tone color, address information for specifying a read address of waveform data, an envelope coefficient for generating an envelope waveform, a control program, and the like in the tone signal generating means 3. The control unit 1 exchanges various kinds of information via the bus 100 and controls the operation of the entire electronic musical instrument based on a control program in the ROM 103 using registers and the like set in the RAM 103.

【0016】制御手段1は、全体の制御と演算処理を行
うCPUで構成されており、特に本構成では、キーオン
ディレイアサイナモードが起動されると、本キーオンデ
ィレイ効果付加装置が機能して、1つのキーオン情報に
基づき、64の楽音発生チャンネルに対して、波形読出
アドレスやエンベロープ係数を含む制御パラメータを、
同時に転送する機能を果たしている。
The control means 1 is constituted by a CPU for performing overall control and arithmetic processing. In this configuration, when the key-on delay assigner mode is activated, the key-on delay effect adding device functions. Based on one key-on information, control parameters including a waveform read address and an envelope coefficient are assigned to 64 tone generation channels.
Plays the function of transferring at the same time.

【0017】波形記憶手段2は、ROMで構成されてお
り、図2に示すように、楽音波形をサンプリングして得
た時系列な振幅情報からなる波形データが、複数種類の
楽音について一続きに連続して記憶されている。図2
は、波形ROMの記憶内容と読出アドレスとの関係を示
しており、そこに例示されたものには、ストリングス、
オルガン、ピアノなどがあるが、これらの波形形状は、
ヘッド部分とループ部分とから成り立っている。そして
A、B、Cは読出スタートアドレスを、またLTはルー
プトップアドレス、LEはループエンドアドレスを各示
している。
The waveform storage means 2 is composed of a ROM, and as shown in FIG. 2, waveform data consisting of time-series amplitude information obtained by sampling a musical tone waveform is stored in succession for a plurality of types of musical tones. It is stored continuously. FIG.
Shows the relationship between the stored contents of the waveform ROM and the read address, and the strings, strings,
There are organs, pianos, etc.
It consists of a head part and a loop part. A, B, and C indicate read start addresses, LT indicates a loop top address, and LE indicates a loop end address.

【0018】楽音信号生成手段3は、時分割多重化処理
により64音同時発音可能な音源LSIで構成され、制
御手段1からバスを介して64チャンネル分のアサイン
メントメモリ30に転送され、64の楽音発生チャンネ
ルに割り振られた制御パラメータに基づき、上記波形記
憶手段2からの楽音波形データの読出を行うと共に、こ
の波形データにエンベロープの付与を行ってデジタル楽
音信号を生成する。その詳細な構成については、後述す
る。
The tone signal generating means 3 is composed of a sound source LSI capable of simultaneously generating 64 sounds by time division multiplexing processing, and is transferred from the control means 1 to the assignment memory 30 for 64 channels via the bus. Based on the control parameters assigned to the tone generation channels, the tone waveform data is read from the waveform storage means 2 and an envelope is added to the waveform data to generate a digital tone signal. The detailed configuration will be described later.

【0019】楽音発生手段4は、デジタル・アナログコ
ンバータ40とアンプ及びスピーカなどよりなるサウン
ド装置41で構成されており、楽音信号生成手段3から
出力されたデジタル楽音信号がデジタル・アナログコン
バータ40でD/A変換されて、サウンド装置41で楽
音が発生させられる。
The tone generator 4 comprises a digital / analog converter 40 and a sound device 41 comprising an amplifier and a speaker. The digital tone signal output from the tone generator 3 is converted by the digital / analog converter 40 into a digital signal. / A conversion is performed, and a tone is generated by the sound device 41.

【0020】本構成では、上記楽音信号生成手段3と楽
音発生手段4の間に、デジタルシグナルプロセッサDS
P5が設けられており、前記制御手段1により送られた
係数等を基に、デジタル楽音信号に対し、リバーブなど
の各種サウンドイフェクトがかけられるようになってい
る。
In this configuration, a digital signal processor DS is provided between the tone signal generating means 3 and the tone generating means 4.
P5 is provided, and various sound effects such as reverb can be applied to the digital musical tone signal based on the coefficient and the like sent by the control means 1.

【0021】上記楽音信号生成手段3は、図3に示すよ
うに、64チャンネル分のアサイメントメモリ30と、
時分割処理を行う際に必要なクロックを供給するための
タイミングジェネレータ31と、波形データ読出しのた
めの波形読出アドレスを発生するFナンバ累算器32
と、波形記憶手段2から読み出された波形データの補間
処理及び高調波成分の調整のためのフィルタ処理を行う
サンプリング補間フィルタ33と、複数のフェーズから
なるエンベロープを発生するエンベロープ累算器34
と、補間処理及びフィルタ処理の行われた読出波形にエ
ンベロープを乗算する第1の乗算器35と、エンベロー
プの乗算された読出波形にさらに2の補数を乗算する第
2の乗算器36と、出力された64チャンネル分の楽音
信号を累算する系列累算器37とを有している。
As shown in FIG. 3, the tone signal generating means 3 comprises an assignment memory 30 for 64 channels,
A timing generator 31 for supplying a clock necessary for performing time-division processing, and an F-number accumulator 32 for generating a waveform read address for reading waveform data
A sampling interpolation filter 33 for performing an interpolation process on the waveform data read from the waveform storage means 2 and a filter process for adjusting harmonic components, and an envelope accumulator 34 for generating an envelope composed of a plurality of phases.
A first multiplier 35 for multiplying the read-out waveform subjected to the interpolation processing and the filter processing by an envelope, a second multiplier 36 for further multiplying the read-out waveform multiplied by the envelope by two's complement, And a sequence accumulator 37 for accumulating the resulting 64 channels of tone signals.

【0022】上記構成で前記Fナンバ累算器32は、波
形記憶手段2に格納されている波形データを読み出すた
めに、スタートアドレスに対して、Fナンバ加算値
(N)の累算の結果得られるフリークゥエンシィアキュ
ムレート値(FACC)を加算して波形読出アドレスを
決定し、これらをさらに64チャンネル分時分割で発生
する。この波形読出アドレスのうち、その整数部を波形
記憶手段2に供給し、またその小数部をサンプリング補
間フィルタ33に出力する。サンプリング補間フィルタ
33は、波形記憶手段2から読み出された波形データに
基づいて、波形アドレスの小数部に対応した波形サンプ
リング値を補間演算により算出し、さらに高調波成分の
調整のためのフィルタ処理を行い、出力する。エンベロ
ープ累算器34は、スピードデータ(SPD)を累算
(加算・減算の場合を含む)して得られるエンベロープ
アキュムレート値(EACC)とフェーズ終了値データ
(PEP)及びエンベロープが上昇するのか減衰するの
かを決定する−/+フラグデータ(−/+)から64チ
ャンネル分の振幅エンベロープ信号を時分割で発生す
る。これらのSPDデータ、PEPデータ或いは−/+
フラグデータは、ROM104から制御手段1に読み出
されて与えられるエンベロープ波形生成用のエンベロー
プ係数等の制御パラメータである。第1の乗算器35
は、サンプリング補間フィルタ33の出力する波形サン
プル値と振幅エンベロープ信号とを乗算する。さらに第
2の累算器36は、アサイメントメモリ30から送出さ
れた2の補数をエンベロープの乗算された読出波形にさ
らに乗算し、180°位相をずらして波形出力を開始す
ることができるようにすることで、相対的な振幅の大き
さは小さくても(大きなダイナミックレンジを必要とせ
ずに)、所定のラウドネスが得られるようにしている。
系列累算器36は、時分割出力される64チャンネル分
の楽音信号を累算し、全チャンネルの出力を合成する。
In the above configuration, the F-number accumulator 32 obtains the result of accumulating the F-number addition value (N) with respect to the start address in order to read out the waveform data stored in the waveform storage means 2. The calculated read-out accumulative value (FACC) is added to determine a waveform read address, and these are further generated in a time division manner for 64 channels. The integer part of the waveform read address is supplied to the waveform storage means 2, and the decimal part thereof is output to the sampling interpolation filter 33. The sampling interpolation filter 33 calculates a waveform sampling value corresponding to the decimal part of the waveform address based on the waveform data read from the waveform storage means 2 by interpolation, and further performs a filtering process for adjusting harmonic components. And output. The envelope accumulator 34 accumulates the speed data (SPD) (including the case of addition and subtraction) and obtains the envelope accumulate value (EACC) and the phase end value data (PEP), and increases or decreases the envelope. An amplitude envelope signal for 64 channels is generated in a time-sharing manner from − / + flag data (− / +) for determining whether to perform the processing. These SPD data, PEP data or-/ +
The flag data is a control parameter such as an envelope coefficient for generating an envelope waveform, which is read from the ROM 104 to the control means 1 and given. First multiplier 35
Multiplies the waveform sample value output from the sampling interpolation filter 33 by the amplitude envelope signal. Further, the second accumulator 36 further multiplies the read waveform multiplied by the envelope by the two's complement supplied from the assignment memory 30 so that the waveform output can be started by shifting the phase by 180 °. By doing so, a predetermined loudness can be obtained even if the relative amplitude is small (without requiring a large dynamic range).
The sequence accumulator 36 accumulates tone signals of 64 channels that are time-divisionally output, and synthesizes outputs of all channels.

【0023】上記エンベロープ累算器34は、フェーズ
分割方式のエンベロープ発生器であり、本構成では、こ
れによって生成されるエンベロープを、キーオン時にp
h0〜ph3の4フェーズ、キーオフ時にph4〜ph
7の同じく4フェーズに分割している。図4に示すよう
に、上述のアサイメントメモリ30は、各チャンネル毎
に、波形記憶手段2の波形データ読出用の領域と、エン
ベロープ制御用の領域と、ラウドネス用の領域と、FA
CCクリア、phクリア、EACCクリアなどの制御用
フラグ及びフィルタ係数等の記憶領域に区分けされる。
The envelope accumulator 34 is a phase division type envelope generator. In this configuration, the envelope generated by the envelope accumulator 34 is converted into a p-value at the time of key-on.
4 phases from h0 to ph3, ph4 to ph at key-off
7 is also divided into four phases. As shown in FIG. 4, the assignment memory 30 includes, for each channel, an area for reading waveform data of the waveform storage unit 2, an area for envelope control, an area for loudness,
Control flags such as CC clear, ph clear, and EACC clear are divided into storage areas for filter coefficients and the like.

【0024】そのうち波形データ読出用の領域は、波形
データ読出のためのスタートアドレス(STa、ST
b、STc)、Fナンバ加算値(N)、ループトップア
ドレス(LT)、ループエンドアドレス(LE)が記憶
される。またエンベロープ制御用の領域には、キーオン
時のph0〜ph3と、キーオフ時のph4〜ph7の
それぞれのフェーズにおいて、前述のスピードデータ
(SPD)とフェーズ終了値データ(PEP)及び−/
+フラグデータ(−/+)が記憶される。ラウドネス用
の領域は、エンベロープのラウドネスをどの程度かける
のかを示す値が2の補数で記憶されている。本構成で
は、この2の補数を用いることにより、逆位相の波形を
含めることができるようにし、それによりダイナミック
レンジを大きくしなくてもラウドネスをかせげるように
している。またFACCクリア、phクリア、EACC
クリアは、制御手段1により、その値を1とすること
で、楽音信号生成手段3がそれを認識すると、それまで
FACC、フェーズ、EACCを記憶していたレジスタ
はクリアされ、FACCやEACCは0に、またフェー
ズはph0となる。
The area for reading the waveform data includes a start address (STa, STa) for reading the waveform data.
b, STc), an F-number addition value (N), a loop top address (LT), and a loop end address (LE) are stored. In the area for envelope control, the speed data (SPD), the phase end value data (PEP), and / or ph0 to ph3 at the time of key-on, and the phase end value data (PEP) at the phases of ph4 to ph7 at the time of key-off.
+ Flag data (− / +) is stored. In the loudness area, a value indicating how much the envelope loudness is applied is stored as a two's complement. In this configuration, by using the two's complement, a waveform having an opposite phase can be included, thereby increasing loudness without increasing the dynamic range. FACC clear, ph clear, EACC
The clearing is performed by setting the value to 1 by the control means 1, and when the musical sound signal generating means 3 recognizes the value, the register storing the FACC, the phase, and the EACC is cleared, and the FACC and the EACC become 0. And the phase is ph0.

【0025】ここでは、上記エンベロープ制御用の領域
に記憶された各フェーズにおける、スピードデータ(S
PD)とフェーズ終了値データ(PEP)及びエンベロ
ープが上昇する(+で示される)のか減衰する(−で示
される)のかを決定する−/+フラグデータ(−/
+)、さらにSPDの累算値であるエンベロープアキュ
ムレート値(EACC)との関係からどのようにエンベ
ロープ波形が生成されるかについて以下に説明する。
Here, the speed data (S) in each phase stored in the envelope control area is set.
PD) and phase end value data (PEP) and-/ + flag data (-/) to determine whether the envelope rises (indicated by +) or decays (indicated by-).
+), And how the envelope waveform is generated from the relationship with the envelope accumulated value (EACC) which is the accumulated value of the SPD will be described below.

【0026】図5(a)は、これらの関係を示す説明図
であり、エンベロープ累算器34内の演算は浮動小数点
に則って行われており、エンベロープのフェーズデータ
は、指数部4ビット、仮数部12ビットからなる。SP
Dデータは仮数部8ビットからなり、上記−/+信号に
従い加減算される。EACCデータは、指数部4ビッ
ト、仮数部12ビットからなり、−/+信号が0の時、
すなわち”+”の時、各チャンネル毎に時分割されたタ
イムスロットで、このEACCデータにSPDデータが
加算されていく。PEPデータは、上記のEACCデー
タの上位から7ビットに対応し、指数部4ビット、仮数
部3ビットよりなり、EACCデータの上位7ビット
(指数部4ビット、仮数部3ビット)と比較される。比
較した結果、EACCデータ≧PEPデータとなってい
れば、現在のフェーズから次のフェーズに移行する。以
上は、−/+信号が”0”すなわち”+”の場合である
が、−/+信号が”1”すなわち”−”の時は、EAC
CデータからSPDデータが減算されると共に、EAC
CデータとPEPデータが比較され、比較した結果、E
ACCデータ≦PEPデータとなっていれば、現在のフ
ェーズから次のフェーズに移行する。そしてこのフェー
ズの移行によりエンベロープ波形が形成される。また−
/+信号が”1”の時リニア軸上で指数関数的形状にな
るように、−/+信号が”0”の時直線的形状になるよ
うに、SPDデータを左シフトする。これにより、図5
(b)のような形状となる。
FIG. 5 (a) is an explanatory diagram showing these relationships. The operation in the envelope accumulator 34 is performed in accordance with the floating point, and the phase data of the envelope has an exponent part of 4 bits, The mantissa consists of 12 bits. SP
The D data is composed of 8 bits of a mantissa, and is added or subtracted according to the above-mentioned +/- signal. The EACC data consists of an exponent part of 4 bits and a mantissa part of 12 bits. When the − / + signal is 0,
That is, when "+", SPD data is added to the EACC data in a time slot time-divided for each channel. The PEP data corresponds to the upper 7 bits of the above EACC data, is composed of 4 bits for the exponent part and 3 bits for the mantissa part, and is compared with the upper 7 bits of the EACC data (4 bits for the exponent part and 3 bits for the mantissa part). . As a result of the comparison, if EACC data ≧ PEP data, the phase shifts from the current phase to the next phase. The above is the case where the − / + signal is “0”, that is, “+”. However, when the − / + signal is “1”, that is, “−”, the EAC
The SPD data is subtracted from the C data and the EAC
C data and PEP data are compared, and as a result of comparison, E
If ACC data ≦ PEP data, the phase shifts from the current phase to the next phase. The transition of this phase forms an envelope waveform. Also-
The SPD data is left-shifted so that the / + signal has an exponential shape on the linear axis when it is "1" and the linear shape when the-/ + signal is "0". As a result, FIG.
The shape is as shown in FIG.

【0027】これらのエンベロープパラメータは、キー
オン時のph0〜3の4つのフェーズと、キーオフ時の
ph4〜7の4つのフェーズからなり、エンベロープ累
算器34では各チャンネルのアサイメントメモリ30中
のphクリアが1になると、上述したように、それまで
のフェーズレジスタはクリアされ、ph=0となり、p
h0又はph4のパラメータが採用される。各チャンネ
ルのフェーズレジスタは、制御手段1によりphクリア
=1に設定することにより、キーオン時によってもクリ
アされるが、キーオフ時にもph0〜3の内容をキーオ
フフェーズであるph4〜7の値に書き換えた後にクリ
アされて、ph0に対応するエリアに記憶されたph4
のパラメータが採用されることになる。
These envelope parameters consist of four phases ph0 to ph3 when the key is on and four phases ph4 to ph7 when the key is off. When the clear becomes 1, as described above, the previous phase register is cleared, ph = 0, and p
The parameter of h0 or ph4 is adopted. The phase register of each channel is cleared by key-on by setting ph clear = 1 by the control means 1, but the contents of ph0 to ph3 are rewritten to the values of ph4 to ph7 which are the key-off phase also at key-off. After being cleared, and stored in the area corresponding to ph0.
Will be adopted.

【0028】本構成では、エンベロープのフェイズを従
来より1つ増やすことで、ph0のpre read p
haseを設け、さらにそのpre read phas
eによって、実質的にディレイタイムを創出させるた
め、そのエンベロープ値を略0とするようにする。その
場合、エンベロープのフェーズデータは、Power
(指数)は2P-16で、またMantissa(仮数)は
1+M/212で表わされるため、このpre read
phaseのエンベロープ値を略0とするためには、p
re read phaseのPEPのPowerは、同
時に発音を開始させるべき複数のチャンネルのいずれで
も、P≦8にしておけばよい。Mantissaの値を
一応0として、P=8の時のエンベロープ値は、下式数
1に示されるようになる。
In this configuration, the preread p of ph0 is increased by increasing the phase of the envelope by one.
a pre-read phase
In order to substantially create a delay time by e, the envelope value is set to substantially zero. In that case, the phase data of the envelope is Power
(Exponent) is represented by 2 P-16 and Mantissa (mantissa) is represented by 1 + M / 2 12.
In order to make the envelope value of phase substantially zero, p
The power of the PEP in the read phase may be set to P ≦ 8 in any of a plurality of channels for which sound generation should be started simultaneously. Assuming that the value of Mantissa is temporarily 0, the envelope value at the time of P = 8 is as shown in the following equation (1).

【0029】[0029]

【数1】 Env=2P-16*(1+M/212) =2-8*(1+0) =2-8 =48db## EQU1 ## Env = 2 P-16 * (1 + M / 2 12 ) = 2 -8 * (1 + 0) = 2 -8 = 48 db

【0030】この値はかなり小さな値であり、エンベロ
ープの立ち上がり時には気にならないレベルである。但
しもし発音する音色がフルート音のように高調波をほと
んど含まず、立ち上がりもあまり早くない場合は、pr
e read phaseのPEPのPowerは、P≦
6とすれば、どんな場合にもまったく問題はない。
This value is a very small value, and is a level that does not matter when the envelope rises. However, if the tone to be generated contains almost no harmonics like the flute sound and the rise is not too early, pr
The power of the PEP of the e read phase is P ≦
If it is 6, there is no problem in any case.

【0031】前述のように、pre read phas
eの間は、ちょうどディレイタイムに相当するので、そ
のエンベロープ値が乗算される楽音波形についても、当
該エンベロープフェイズと同等の時間に相当する分だけ
本来の読出波形のトップから遡ったアドレスをスタート
アドレスとして波形を読出すようにする(以下その間に
読み出された波形をpre read 波形という)。そ
れによって、preread phaseの間に読み出
される楽音波形データはどんなものであっても、pre
read phaseの間のほぼ0のエンベロープ値の
乗算によって、略0として出力されようになり、楽音波
形にディレイタイムが設定できるようになる。
As described above, the pre read phas
Since e corresponds to the delay time, the tone waveform to be multiplied by the envelope value is also referred to as the start address from the top of the original readout waveform by the time equivalent to the time equivalent to the envelope phase. (The waveform read during that time is referred to as a pre-read waveform). Thereby, whatever the tone waveform data read during the preread phase,
By multiplying the envelope value by approximately 0 during the read phase, the output is output as approximately 0, and the delay time can be set for the musical sound waveform.

【0032】すなわちディレイタイムは、上記pre
read phaseのSPDデータとPEPデータに
よって決定される(SPDデータが累算されたEACC
データがPEPデータ以上又は以下になった時点でフェ
ーズが変わるため)が、同時に、図2に示すように、押
鍵に基づく波形の読み出しスピード、すなわちFナンバ
加算値(N)とpre read 波形の長さ、すなわち
スタートアドレス(STa、STb、STc)〜ループ
トップアドレス(LT)によっても決まることになり、
本構成では、これらは等しくなければならない。
That is, the delay time is determined by the pre
Determined by the SPD data and PEP data of the read phase (EACC in which the SPD data is accumulated)
At the same time, as shown in FIG. 2, the reading speed of the waveform based on the key depression, that is, the F-number added value (N) and the pre-read waveform It is also determined by length, that is, start address (STa, STb, STc) to loop top address (LT),
In the present configuration, they must be equal.

【0033】例えばディレイタイムが10msであり、
エンベロープ累算器34のシステムクロック周波数が4
0KHz、すなわち1チャンネル当たりの演算周期が2
5μsとすると、10msかけてph0のEACCデー
タがそのPEPデータに到達するためには、下式数2か
ら、400回の演算を必要とするように設定する必要が
ある。
For example, if the delay time is 10 ms,
If the system clock frequency of the envelope accumulator 34 is 4
0 KHz, that is, the operation cycle per channel is 2
Assuming that the time is 5 μs, it is necessary to set such that 400 operations are required from Equation 2 below in order for the EACC data of ph0 to reach the PEP data in 10 ms.

【0034】[0034]

【数2】10×103μs÷25μs=400(回)## EQU2 ## 10 × 10 3 μs ÷ 25 μs = 400 (times)

【0035】前記図5を参照して、PEPデータのPo
wer=6、Mantissa=0、−/+=0(+)
とするならば、EACC=6×212でフェーズ転換点と
なるため、SPDデータとしては、下式数3のように、
その値を上記演算回数400で割った値となる。
Referring to FIG. 5, the PEP data Po
wer = 6, Mantissa = 0, − / + = 0 (+)
If EACC = 6 × 2 12 , the phase transition point is reached. Therefore, as SPD data,
The value is obtained by dividing the value by the above-mentioned number of operations 400.

【0036】[0036]

【数3】SPD=6×212÷400[Equation 3] SPD = 6 × 2 12 ÷ 400

【0037】このような値にしておけば、ph0の演算
はほぼ10msで終了し、その後ph1に移行し、正規
のアタックフェーズを開始するので、エンベロープ値も
急速に立ち上がり、補間の行われた読出波形にエンベロ
ープを乗算する第1の乗算器35による乗算結果の波形
レベルも大きくなる。
With such values, the calculation of ph0 is completed in about 10 ms, and thereafter, the process shifts to ph1, and the normal attack phase is started. The waveform level of the result of the multiplication by the first multiplier 35 that multiplies the waveform by the envelope also increases.

【0038】他方、上述のように、波形データの読み出
しに関しては、Fナンバ加算値(N)とpre rea
d 波形の長さを考慮して、ディレイタイム分、本来の
読出波形のトップから遡ったアドレスをスタートアドレ
スとして波形を読出さねばならない。その場合、波形R
OMの記憶内容と読出アドレスとの関係を示す前記図2
を参照して、図6に示されるピアノのアンサンブル効果
を得るような例につき、説明する。
On the other hand, as described above, when reading out the waveform data, the F number added value (N) and the pre area
d In consideration of the length of the waveform, the waveform must be read by using the address which is retroactive from the top of the original read waveform for the delay time as the start address. In that case, the waveform R
FIG. 2 showing the relationship between the storage contents of the OM and the read address.
An example in which the ensemble effect of the piano shown in FIG. 6 is obtained will be described with reference to FIG.

【0039】図6は、1つのキーオン情報に基づき、制
御手段1が、3つの楽音発生チャンネルに対して、波形
読出アドレスやエンベロープ係数を含む制御パラメータ
を同時に転送し、楽音信号生成手段3が、各楽音発生チ
ャンネルに割り振られた制御パラメータに基づき、波形
記憶手段2からの楽音波形データの読出を行った状態
と、この波形データに乗算するエンベロープ波形の生成
を行った状態と、これらの乗算により生成された楽音波
形の状態を時系列的に示す波形データの推移説明図であ
る。図面の一番上の(a)には、演奏者の鍵盤操作によ
るキーオン及びキーオフのタイミングが示されている。
次の(b)は、楽音発生チャンネルTGch1におけ
る、(c)は、楽音発生チャンネルTGch2におけ
る、さらに(d)は、楽音発生チャンネルTGch3に
おける、夫々ピアノの読出波形、エンベロープ波形、第
1の乗算器35による波形出力の推移が示されている。
(a)のキーオン・オフタイミングは、どのチャンネル
も共通であり、制御手段1の負荷を軽くしている。
FIG. 6 shows that, based on one key-on information, the control means 1 simultaneously transfers control parameters including a waveform read address and an envelope coefficient to three tone generation channels, and the tone signal generation means 3 Based on the control parameters allocated to each tone generation channel, a state in which the tone waveform data is read from the waveform storage means 2, a state in which an envelope waveform to be multiplied by the waveform data is generated, and FIG. 7 is an explanatory diagram of transition of waveform data indicating a state of a generated musical sound waveform in a time series. (A) at the top of the drawing shows the timing of key-on and key-off by a player's keyboard operation.
The following (b) shows the readout waveform, envelope waveform, and first multiplier of the piano in the tone generation channel TGch1, (c) shows the tone generation channel TGch2, and (d) shows the tone generation channel TGch3. 35 shows the transition of the waveform output.
The key-on / off timing shown in FIG. 7A is common to all channels, and the load on the control unit 1 is reduced.

【0040】TGch1では、Delay0のディレイ
タイムはほぼ0であり、従って、ピアノの波形データの
読み出しは図2のアドレスAから行われる。またそのエ
ンベロープ波形を構成するph0のpre read p
hase(エンベロープ値ほぼ0)の占有時間もほぼ0
であり、従ってキーオンとほぼ同時にph1のアタック
フェーズに移行する。またキーオフでph4のリリース
フェーズに移行する。上記読み出し波形とエンベロープ
波形の乗算出力は、図面に示すようになり、キーオンと
同時に楽音が生成される。
In TGch1, the delay time of Delay0 is almost 0, and therefore, the reading of the waveform data of the piano is performed from the address A in FIG. Also, preread p of ph0 constituting the envelope waveform
occupancy time of the Hase (envelope value is almost 0) is also almost 0
Therefore, the operation shifts to the attack phase of ph1 almost simultaneously with the key-on. Also, the key-off shifts to the release phase of ph4. The multiplied output of the read waveform and the envelope waveform is as shown in the drawing, and a musical tone is generated simultaneously with key-on.

【0041】TGch2では、Delay1のディレイ
タイムがあり、従って、ピアノの波形データの読み出し
は図2のアドレスBから行われる。またそのエンベロー
プ波形を構成するph0のpre read phase
(エンベロープ値ほぼ0)の占有時間もDelay1の
ディレイタイムと同一となり、従ってキーオンからこの
ディレイタイムだけ経過してph1のアタックフェーズ
に移行する。またキーオフと同時にph4のリリースフ
ェーズに移行する。上記読み出し波形とエンベロープ波
形の乗算出力は、図面に示すようになり、キーオンから
上記ディレイタイム分遅れて楽音が生成される。
In TGch2, there is a delay time of Delay1, and therefore, the reading of the piano waveform data is performed from the address B in FIG. Also, a pre-read phase of ph0 constituting the envelope waveform
The occupation time of (envelope value is almost 0) is also the same as the delay time of Delay1, so that the delay shifts from the key-on to the attack phase of ph1. At the same time as the key-off, the process shifts to the release phase of ph4. The multiplied output of the read waveform and the envelope waveform is as shown in the drawing, and a tone is generated with a delay of the delay time from key-on.

【0042】TGch3では、Delay2のディレイ
タイムがあり、従って、ピアノの波形データの読み出し
は図2のアドレスCから行われる。またそのエンベロー
プ波形を構成するph0のpre read phase
(エンベロープ値ほぼ0)の占有時間もDelay2の
ディレイタイムと同一となり、従ってキーオンからこの
ディレイタイムだけ経過してph1のアタックフェーズ
に移行する。またキーオフと同時にph4のリリースフ
ェーズに移行する。上記読み出し波形とエンベロープ波
形の乗算出力は、図面に示すようになり、キーオンから
上記ディレイタイム分遅れて楽音が生成される。
In TGch3, there is a delay time of Delay2. Therefore, the reading of the waveform data of the piano is performed from the address C in FIG. Also, a pre-read phase of ph0 constituting the envelope waveform
The occupation time of (envelope value is almost 0) is also the same as the delay time of Delay2, so that the delay time elapses from key-on and shifts to the attack phase of ph1. At the same time as the key-off, the process shifts to the release phase of ph4. The multiplied output of the read waveform and the envelope waveform is as shown in the drawing, and a tone is generated with a delay of the delay time from key-on.

【0043】以上のような波形データの推移とするため
には、ph0のpre read phaseのSPDデ
ータがTGch1〜TGch3の楽音発生チャンネルの
間で異なっていなければならない。またph0のpre
read phaseの目標値であるPEPにつき、当
該フェイズのエンベロープ値を略0とすることができる
値にしておく必要がある。本構成では、PEPのPOW
ERの値を前述のように、8以下に設定している。
In order to make the transition of the waveform data as described above, the SPD data of the pre-read phase of ph0 must be different among the tone generation channels of TGch1 to TGch3. Ph0 pre
It is necessary for the PEP, which is the target value of the read phase, to have a value that allows the envelope value of the phase to be substantially zero. In this configuration, the PEP POW
As described above, the value of ER is set to 8 or less.

【0044】図7及び図8は、本構成による処理が行わ
れる場合の制御手段1による処理フローを示すフローチ
ャートである。電源スイッチがONされると、バス10
0に接続されている制御手段1、楽音信号生成手段3、
楽音発生手段4、鍵盤インターフェース101a、パネ
ルインターフェース102a、RAM103の初期化が
行われる(ステップS101)。この時、初期設定とし
てアサイナモードをノーマルアサイナモード(ASN=
normal)に設定すると共に、全アサイメントメモ
リ30をクリアし、またDSP5にプログラム及び必要
な係数の転送も行われる。
FIGS. 7 and 8 are flowcharts showing the processing flow by the control means 1 when the processing according to the present configuration is performed. When the power switch is turned on, the bus 10
0, the control means 1, the tone signal generation means 3,
The tone generator 4, the keyboard interface 101a, the panel interface 102a, and the RAM 103 are initialized (step S101). At this time, the assigner mode is changed to the normal assigner mode (ASN =
Normal), all assignment memories 30 are cleared, and programs and necessary coefficients are transferred to the DSP 5.

【0045】次にパネルスイッチのONイベントが検出
され(ステップS102)、その中でアンサンブルON
イベントがあるか否かの検出がなされる(ステップS1
03)。アンサンブルONイベントが検出された場合
(ステップS103;Yes)、アサイメントメモリ3
0の対応チャンネルエリアをクリアし(ステップS10
4)、本発明のキーオンディレイ効果付加装置を機能さ
せて、キーオンディレイアサイナモードを起動させる
(ステップS105)。また前記アンサンブルONイベ
ントが検出されなかった場合(ステップS103;N
o)、アンサンブルOFFイベントがあるか否かの検出
がなされる(ステップS106)。アンサンブルOFF
イベントが検出された場合(ステップS106;Ye
s)、アサイメントメモリ30の対応チャンネルエリア
をクリアし(ステップS107)、ノーマルアサイナモ
ードを起動させる(ステップS108)。アンサンブル
OFFイベントが検出されなかった場合(ステップS1
06;No)、その他パネルスイッチに対応した処理が
行われる(ステップS109)。
Next, an ON event of the panel switch is detected (step S102), and the ensemble is turned ON therein.
It is detected whether or not there is an event (step S1).
03). If an ensemble ON event is detected (step S103; Yes), the assignment memory 3
0 corresponding channel area is cleared (step S10).
4) Activate the key-on delay assigner mode by operating the key-on delay effect adding device of the present invention (step S105). If the ensemble ON event is not detected (step S103; N
o), it is detected whether or not there is an ensemble OFF event (step S106). Ensemble OFF
When an event is detected (step S106; Ye
s), the corresponding channel area of the assignment memory 30 is cleared (step S107), and the normal assigner mode is activated (step S108). When no ensemble OFF event is detected (step S1
06; No), a process corresponding to other panel switches is performed (step S109).

【0046】上記ステップS105、108又は109
の後、キーボードデータとMIDIデータがキー入力バ
ッファに格納される(ステップS110)。そして鍵盤
101のキーオンイベントを検出し(ステップS11
1)、このキーオンイベントが検出された場合(ステッ
プS111;Yes)、いずれか1つの楽音発生チャン
ネルを決定し(TGch0)、そのチャンネル対応のア
サイメントメモリ30に、図4に示されたスタートアド
レスSTa、Fナンバ加算値(N)、ループトップアド
レス(LT)、ループエンドアドレス(LE)、ph0
〜ph3までのスピードデータ(SPD)、フェーズ終
了値データ(PEP)及び−/+フラグデータ(−/
+)、さらにFACCクリア=1、phクリア=1、E
ACCクリア=1などの制御用フラグ及びフィルタ係数
等を書き込む(ステップS112)。
Step S105, 108 or 109
Thereafter, the keyboard data and MIDI data are stored in the key input buffer (step S110). Then, a key-on event of the keyboard 101 is detected (step S11).
1) If this key-on event is detected (step S111; Yes), one of the tone generation channels is determined (TGch0), and the start address shown in FIG. STa, F number added value (N), loop top address (LT), loop end address (LE), ph0
Speed data (SPD), phase end value data (PEP) and − / + flag data (− /
+), FACC clear = 1, ph clear = 1, E
A control flag such as ACC clear = 1 and a filter coefficient are written (step S112).

【0047】さらにアサイナモードがキーオンディレイ
か否かがチェックされ(ステップS113)、キーオン
ディレイであれば(ステップS113;Yes)、上記
チャンネル(TGch0)以外の2つの楽音発生チャン
ネルを決定し(TGch1,TGch2)、それらのチ
ャンネルの対応するアサイメントメモリ30に、スター
トアドレスSTa、エンベロープph0のSPDデー
タ、フィルタ係数以外の上記パラメータをコピーすると
共に、TGch1にはスタートアドレスSTb、エンベ
ロープph0のSPDデータ、フィルタ係数を、またT
Gch2にはスタートアドレスSTc、エンベロープp
h0のSPDデータ、フィルタ係数を演算によって求
め、夫々書き込む(ステップS114)。前記ステップ
S113で、キーオンディレイでなければ(ステップS
113;No)、後述するFDインターフェース制御に
移行する(ステップS119)。
Further, it is checked whether the assigner mode is a key-on delay (step S113). If the key-on delay is a key-on delay (step S113; Yes), two tone generating channels other than the above-mentioned channel (TGch0) are determined (TGch1, TGch2). ), The above-mentioned parameters other than the start address STa, the SPD data of the envelope ph0, and the filter coefficient are copied to the corresponding assignment memories 30 of those channels, and the start address STb, the SPD data of the envelope ph0, the filter coefficient And T
Gch2 has a start address STc and an envelope p
The SPD data of h0 and the filter coefficient are obtained by calculation and written respectively (step S114). In step S113, if it is not a key-on delay (step S113).
113; No), and proceeds to FD interface control described later (step S119).

【0048】他方前述のキーオンイベントが検出されな
かった場合(ステップS111;No)、鍵盤101の
キーオフイベントを検出する(ステップS115)。こ
のキーオフイベントが検出された場合(ステップS11
5;Yes)、対応する楽音発生チャンネルのアサイメ
ントメモリ30に、図4に示されたキーオフフェーズp
h4〜ph7までのスピードデータ(SPD)、フェー
ズ終了値データ(PEP)及び−/+フラグデータ(−
/+)、さらにphクリア=1を書き込む(ステップS
116)。
On the other hand, if the key-on event is not detected (step S111; No), a key-off event of the keyboard 101 is detected (step S115). When this key-off event is detected (step S11)
5; Yes), the key-off phase p shown in FIG. 4 is stored in the assignment memory 30 of the corresponding tone generation channel.
Speed data (SPD), phase end value data (PEP) and − / + flag data (−
/ +), And further writes ph clear = 1 (step S)
116).

【0049】さらにアサイナモードがキーオンディレイ
か否かがチェックされ(ステップS117)、キーオン
ディレイであれば(ステップS117;Yes)、上記
チャンネル(TGch0)以外の2つの楽音発生チャン
ネルを検出して(TGch1,TGch2)、それらの
チャンネルの対応するアサイメントメモリ30に、キー
オフフェーズph4〜ph7までのスピードデータ(S
PD)、フェーズ終了値データ(PEP)及び−/+フ
ラグデータ(−/+)、さらにphクリア=1を書き込
む(ステップS118)。前記ステップS117で、キ
ーオンディレイでなければ(ステップS117;N
o)、後述するFDインターフェース制御に移行する
(ステップS119)。
Further, it is checked whether or not the assigner mode is the key-on delay (step S117). If it is the key-on delay (step S117; Yes), two tone generating channels other than the above-mentioned channel (TGch0) are detected (TGch1, TGch1). TGch2), the speed data (S) for the key-off phases ph4 to ph7 are stored in the assignment memories 30 corresponding to those channels.
PD), phase end value data (PEP), − / + flag data (− / +), and ph clear = 1 are written (step S118). In step S117, if it is not a key-on delay (step S117; N
o), the process proceeds to FD interface control described later (step S119).

【0050】加えてS115のキーオフイベントの検出
で、キーオフイベントが検出されなかった場合(ステッ
プS115;No)、S113でキーオンディレイでな
い場合(ステップS113;No)、前記ステップS1
17で、キーオンディレイでない場合(ステップS11
7;No)、さらにステップS114やステップS11
8の書き込みの後、FDインターフェース制御に移行し
(ステップS119)、最後に上記ステップS102に
復帰する。
In addition, if the key-off event is not detected in the detection of the key-off event in step S115 (step S115; No), if it is not the key-on delay in step S113 (step S113; No), step S1 is performed.
17 is not a key-on delay (step S11
7; No), and further steps S114 and S11
After writing 8, the process shifts to FD interface control (step S119), and finally returns to step S102.

【0051】以上の本実施形態構成では、制御手段1に
より、楽音発生チャンネル毎に楽音信号生成手段3にエ
ンベロープ係数が転送され、それによって生成されるエ
ンベロープのフェイズを従来より1つ多い、pre r
ead phaseが設けられる。そのpre read
phaseのエンベロープ値を略0となるようにして
いるので、その間に読み出された波形データは、上記エ
ンベロープ値(略0)と乗算された結果、略0として出
力されることになる。
In the configuration of the present embodiment described above, the envelope coefficient is transferred to the musical sound signal generating means 3 for each musical sound generating channel by the control means 1, and the phase of the envelope generated thereby is increased by one in comparison with the prior art.
An ead phase is provided. That pre read
Since the envelope value of the phase is set to approximately 0, the waveform data read during that period is output as approximately 0 as a result of being multiplied by the above-described envelope value (substantially 0).

【0052】またpre read phaseの間が、
ディレイタイムに相当しており、そのエンベロープ値が
乗算される楽音波形についても、当該エンベロープフェ
イズと同等の時間に相当する分だけ本来の読出波形のト
ップから遡ったアドレスをスタートアドレスとして波形
を読出している。それによって、pre read ph
aseの間に読み出される楽音波形データはどんなもの
であっても上記乗算によって略0として出力され、特開
平5−216479号のようにディレイタイムに対応す
る読出波形にゼロを記憶させなくても、楽音波形にディ
レイタイムが設定できるようになる。またCPUなどの
制御手段1で、ディレイタイムを設定する必要がなくな
り、その分だけ負荷が少なくなる。
Also, during the pre read phase,
The waveform corresponding to the delay time is multiplied by the envelope value, and the waveform is read with the start address as the start address from the top of the original read waveform by an amount equivalent to the time equivalent to the envelope phase. I have. Thereby, pre read ph
Whatever tone waveform data is read out during ase, the multiplication is output as substantially zero by the above multiplication, and even if zero is not stored in the readout waveform corresponding to the delay time as in JP-A-5-216479, The delay time can be set for the tone waveform. Further, it is not necessary to set the delay time by the control means 1 such as a CPU, and the load is reduced accordingly.

【0053】[0053]

【発明の効果】以上詳述した本発明のキーオンディレイ
効果付加装置の構成によれば、少ない記憶容量の波形メ
モリで済み、且つマイクロコントローラや音源LSIな
どには負荷がかからないようにして、できるだけ多くの
楽音発生チャンネル数を確保できるようにし、それによ
って、すばらしいアンサンブル効果の得られるキーオン
ディレイ効果を得ることができるようになる。
According to the configuration of the key-on delay effect adding apparatus of the present invention described in detail above, a waveform memory having a small storage capacity is required, and a load is not applied to a microcontroller, a sound source LSI, etc., and as much as possible. , The number of musical tone generation channels can be ensured, and thereby, a key-on delay effect that can obtain a wonderful ensemble effect can be obtained.

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

【図1】本発明のキーオンディレイ効果付加装置の一実
施形態の構成が適用された電子楽器のブロック図であ
る。
FIG. 1 is a block diagram of an electronic musical instrument to which a configuration of an embodiment of a key-on delay effect adding device according to the present invention is applied.

【図2】波形ROMの記憶内容と読出アドレスとの関係
を示す説明図である。
FIG. 2 is an explanatory diagram showing a relationship between storage contents of a waveform ROM and read addresses.

【図3】楽音信号生成手段を主に示す本キーオンディレ
イ効果付加装置の構成が適用された電子楽器のブロック
図である。
FIG. 3 is a block diagram of an electronic musical instrument to which the configuration of the key-on delay effect adding device mainly showing a tone signal generating means is applied.

【図4】アサイメントメモリの記憶内容の一例を示す説
明図である。
FIG. 4 is an explanatory diagram showing an example of the contents stored in an assignment memory.

【図5】エンベロープ係数とそれによってどのようなエ
ンベロープ波形が生成されるかの関係を示す説明図であ
る。
FIG. 5 is an explanatory diagram showing a relationship between an envelope coefficient and what kind of envelope waveform is generated by the envelope coefficient.

【図6】波形記憶手段からの楽音波形データの読出状態
と、エンベロープ波形の生成状態と、これらの乗算によ
り生成された楽音波形の状態を時系列的に示す波形デー
タの推移説明図である。
FIG. 6 is an explanatory diagram showing transition of waveform data indicating a state in which musical tone waveform data is read from a waveform storage unit, a state in which an envelope waveform is generated, and a state of a musical tone waveform generated by multiplying these in a time series manner.

【図7】本構成による処理が行われる場合の制御手段に
よる処理フローを示すフローチャートである。
FIG. 7 is a flowchart illustrating a processing flow by a control unit when processing according to the present configuration is performed.

【図8】制御手段による上記処理フローの続きを示すフ
ローチャートである。
FIG. 8 is a flowchart showing a continuation of the processing flow by the control means.

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

1 制御手段 2 波形記憶手段 3 楽音信号生成手段 4 楽音発生手段 5 DSP 30 アサイメントメモリ 31 タイミングジェネレータ 32 Fナンバ累算器 33 サンプリング補間フィルタ 34 エンベロープ累算器 35 第1の乗算器 36 第2の乗算器 37 系列累算器 40 デジタル・アナログコンバータ 41 サウンド装置 100 バス 101 鍵盤 101a 鍵盤インターフェース 102 パネルスイッチ 102a パネルインターフェース 103 RAM 104 ROM 105 MIDIインターフェース 106 ディスクドライブ REFERENCE SIGNS LIST 1 control means 2 waveform storage means 3 tone signal generation means 4 tone generation means 5 DSP 30 assignment memory 31 timing generator 32 F number accumulator 33 sampling interpolation filter 34 envelope accumulator 35 first multiplier 36 second Multiplier 37 Series accumulator 40 Digital / analog converter 41 Sound device 100 Bus 101 Keyboard 101a Keyboard interface 102 Panel switch 102a Panel interface 103 RAM 104 ROM 105 MIDI interface 106 Disk drive

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 1つのキーオン情報に基づき、複数の楽
音発生チャンネルに対して、波形読出アドレスやエンベ
ロープ係数を含む制御パラメータを、同時に転送する制
御手段と、 任意の楽音波形を記憶する波形記憶手段と、 制御手段から転送され複数の楽音発生チャンネルに割り
振られた制御パラメータに基づき、上記波形記憶手段か
らの楽音波形データの読出を行うと共に、この波形デー
タにエンベロープの付与を行って楽音信号を生成する楽
音信号生成手段と、 該楽音信号生成手段で楽音発生チャンネル毎に生成され
た楽音信号に基づいて楽音を発生する楽音発生手段とを
少なくとも有しており、 前記制御手段が、制御パラメータとして、エンベロープ
値を略0とすることが可能なフェイズを有するエンベロ
ープを形成できるエンベロープ係数と、当該エンベロー
プフェイズと同等の時間に相当する分だけ本来の読出波
形のトップから遡ったアドレスをスタートアドレスとす
る波形読出アドレスとを、楽音発生チャンネル毎に楽音
信号生成手段に転送することを特徴とする電子楽器のキ
ーオンディレイ効果付加装置。
1. A control means for simultaneously transferring control parameters including a waveform read address and an envelope coefficient to a plurality of tone generation channels based on one key-on information, and a waveform storage means for storing an arbitrary tone waveform. Based on the control parameters transferred from the control means and allocated to a plurality of tone generation channels, the tone waveform data is read from the waveform storage means, and an envelope is added to the waveform data to generate a tone signal. A tone signal generating means for generating a tone based on a tone signal generated for each tone generating channel by the tone signal generating means, wherein the control means includes: An envelope capable of forming an envelope having a phase in which the envelope value can be set to approximately 0 Transfer to the tone signal generation means for each tone generation channel, the loop coefficient and a waveform read address starting from an address which is retroactive from the top of the original read waveform by an amount equivalent to the time equivalent to the envelope phase. A key-on delay effect adding device for an electronic musical instrument, characterized in that:
【請求項2】 前記制御手段が複数の楽音発生チャンネ
ルに対して転送するエンベロープ係数は、複数に分かれ
たフェーズにより1のエンベロープを形成することが可
能であり、少なくとも最初のフェーズのスピードデータ
が楽音発生チャンネル間で異なっていることを特徴とす
る請求項1記載の電子楽器のキーオンディレイ効果付加
装置。
2. An envelope coefficient transferred by the control means to a plurality of tone generation channels can form one envelope by a plurality of divided phases, and at least the speed data of the first phase includes the tone data. 2. The key-on delay effect adding device for an electronic musical instrument according to claim 1, wherein the generation channels are different.
【請求項3】 前記制御手段が複数の楽音発生チャンネ
ルに対して転送するエンベロープ係数は、複数に分かれ
たフェーズにより1のエンベロープを形成することが可
能であり、少なくとも最初のフェーズの目標値であるP
EPにつき、当該エンベロープフェイズのエンベロープ
値を略0とすることができる値にしたことを特徴とする
請求項1乃至2記載の電子楽器のキーオンディレイ効果
付加装置。
3. An envelope coefficient transferred by the control means to a plurality of tone generation channels can form one envelope by a plurality of divided phases, and is a target value of at least the first phase. P
3. The key-on delay effect adding device for an electronic musical instrument according to claim 1, wherein the envelope value of the envelope phase in the EP is set to a value that can be set to substantially zero.
JP12273298A 1998-04-17 1998-04-17 Electronic instrument key-on delay effect addition device Expired - Fee Related JP3649906B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12273298A JP3649906B2 (en) 1998-04-17 1998-04-17 Electronic instrument key-on delay effect addition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12273298A JP3649906B2 (en) 1998-04-17 1998-04-17 Electronic instrument key-on delay effect addition device

Publications (2)

Publication Number Publication Date
JPH11305775A true JPH11305775A (en) 1999-11-05
JP3649906B2 JP3649906B2 (en) 2005-05-18

Family

ID=14843225

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12273298A Expired - Fee Related JP3649906B2 (en) 1998-04-17 1998-04-17 Electronic instrument key-on delay effect addition device

Country Status (1)

Country Link
JP (1) JP3649906B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7094965B2 (en) 2001-01-17 2006-08-22 Yamaha Corporation Waveform data analysis method and apparatus suitable for waveform expansion/compression control

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7094965B2 (en) 2001-01-17 2006-08-22 Yamaha Corporation Waveform data analysis method and apparatus suitable for waveform expansion/compression control
US7102068B2 (en) 2001-01-17 2006-09-05 Yamaha Corporation Waveform data analysis method and apparatus suitable for waveform expansion/compression control

Also Published As

Publication number Publication date
JP3649906B2 (en) 2005-05-18

Similar Documents

Publication Publication Date Title
JPH05241577A (en) Electronic musical instrument
JPH09127941A (en) Electronic musical instrument
JP2792368B2 (en) Electronic musical instrument
JPH04306697A (en) Stereo system
JP4335570B2 (en) Resonance sound generation apparatus, resonance sound generation method, and computer program for resonance sound generation
JPH11305775A (en) Key-on delay effect adding device for electronic musical instrument
JP3530601B2 (en) Frequency characteristic control apparatus and frequency characteristic control method for musical tone signal
JP3660125B2 (en) Electronic musical instrument sound image localization control device
JPS6211357B2 (en)
JP3652504B2 (en) Electronic instrument reverberation effect adding device
JPH10124050A (en) Electronic musical instrument
JP2701177B2 (en) Tone generator
JP3018620B2 (en) Electronic musical instrument
JPH11305768A (en) Reverberation effect adding device for electronic musical instrument
JPH0155469B2 (en)
JP2715795B2 (en) Musical sound synthesizer having pronunciation assigning means
JP2953217B2 (en) Electronic musical instrument
JP3595676B2 (en) Music sound generating apparatus and music sound generating method
JP3508139B2 (en) Digital signal processor
JPH08137469A (en) Frequency characteristic controller for musical tone signal
JP3782150B2 (en) Stereo sound control device
JP3129119B2 (en) Envelope waveform generator
JP3673384B2 (en) Musical sound channel assignment apparatus and musical sound channel assignment method
JPH08137471A (en) Envelope control device of musical sound signal
JP2606459B2 (en) Touch response device for electronic musical instruments

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041220

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050117

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050215

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050216

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090225

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees