JPH0413193A - Musical sound generating device - Google Patents

Musical sound generating device

Info

Publication number
JPH0413193A
JPH0413193A JP2115258A JP11525890A JPH0413193A JP H0413193 A JPH0413193 A JP H0413193A JP 2115258 A JP2115258 A JP 2115258A JP 11525890 A JP11525890 A JP 11525890A JP H0413193 A JPH0413193 A JP H0413193A
Authority
JP
Japan
Prior art keywords
waveform data
waveform
musical tone
musical
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2115258A
Other languages
Japanese (ja)
Inventor
Atsushi Noguchi
野口 敦
Yasushi Sato
康史 佐藤
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 JP2115258A priority Critical patent/JPH0413193A/en
Priority to US07/693,450 priority patent/US5284080A/en
Publication of JPH0413193A publication Critical patent/JPH0413193A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H7/00Instruments in which the tones are synthesised from a data store, e.g. computer organs
    • G10H7/008Means for controlling the transition from one tone waveform to another

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To make natural connections of musical sounds and to prevent an unnecessary harmonics of high order from being generated by composing waveform data to be stored in a waveform memory of waveform data on the rising part of a musical sound, waveform data obtained by adding data weighted with an attenuation characteristic and data weighted with a rising characteristic, and composite waveform data of a single period. CONSTITUTION:The waveform memory 9 is stored with the musical sound waveform data, i.e. waveform data on a source musical sound at the rising part of the musical sound, data obtained by cross fade mixing, wherein the data obtained by weighting a specific section of the stationary part of the source musical sound with the attenuation characteristic, i.e. fade-out processing and data obtained by weighting waveform data of the single period composed of the wavelength in an optional section of the stationary part of the source musical sound with the rising characteristic continuously for the specific section B, i.e. fade-in processing, in the specific section B following the rising part A of the musical sound, and the composite waveform data of the single period at a part E read out repeatedly following the section B. Consequently, the unnaturalness of the musical sound which is generated is eliminated and no unnecessary harmonics of high order is generated.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、例えば電子キーボード、電子ピアノ、シンセ
サイザー等に用いられる楽音発生装置に関し、特にあら
かじめメモリに記憶した楽音波形データを繰り返し読出
すことによって楽音を発生するようにした楽音発生装置
に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to a musical tone generating device used for example in an electronic keyboard, an electronic piano, a synthesizer, etc. The present invention relates to a musical tone generating device that generates musical tones by repeatedly reading out musical tones.

(従来の技術) 従来、波形メモリに記憶した楽音波形データを順次読出
して発音することにより楽音を発生する楽音発生装置が
知られている。
(Prior Art) Conventionally, musical tone generating devices have been known that generate musical tones by sequentially reading musical waveform data stored in a waveform memory and generating sounds.

このような楽音発生装置は、楽音の立ち上がり部分から
終了までの全波形をあらかじめ波形メモリに記憶してお
き、これを先頭から順次読出すこζにより持続する楽音
を得るものがある。しかし、この方式を採用する楽音発
生装置は膨大なメモリ容量を必要とし、装置が高価にな
るという欠点があった。そこで、楽音の立ち上がり部分
から所定区間の複数周期波形を波形メモリに記憶してお
き、上記所定区間の先頭から読出しを開始し、最後才で
読出したら該所定区間の終端部の特定区間を繰り返し読
出すことによって持続する楽音を得るものがある。
Some musical tone generators obtain a continuous musical tone by storing in advance the entire waveform of a musical tone from the beginning to the end in a waveform memory, and sequentially reading out the waveform from the beginning. However, musical tone generators employing this method require a huge amount of memory capacity and have the drawback of being expensive. Therefore, a multi-cycle waveform of a predetermined section starting from the rising edge of a musical tone is stored in a waveform memory, reading is started from the beginning of the predetermined section, and when read at the end, a specific section at the end of the predetermined section is repeatedly read. There are things you can do to obtain a sustained musical tone.

しかしながら、この方式を採用するものは、終端部特定
区間の波形データを繰り返し読み出す際、正確に所定周
期で連続して読出すのは困難であり、例えば第8図(1
周期で繰り返し読出す場合を示している)に示すように
、繰り返し部分で不連続部分Nが発生する。このような
不連続部分Nが発生するとつながりが不自然になるとと
もに、たとえ正弦波であっても、第9図の周波数特性図
に示すように、不要な高次倍音が多数発生し、高音質の
楽音が得られないという欠点があった。
However, when this method is adopted, it is difficult to read out the waveform data of the specific section of the terminal end part continuously at a precise predetermined period.
As shown in (showing the case where the data is read out repeatedly in a periodic manner), discontinuous portions N occur in the repetitive portions. When such a discontinuous part N occurs, the connection becomes unnatural, and even if the wave is a sine wave, many unnecessary high-order overtones will occur, as shown in the frequency characteristic diagram in Figure 9, and the high quality sound will deteriorate. The drawback was that it was not possible to obtain musical tones.

(発明が解決しようとする課題) 本発明は、上記したように楽音の立ち土がり部分から所
定区間の複数周期波形を波形メモリに記憶しておき、上
記所定区間の先頭から読出しを開始し、最後まで読出し
たら該所定区間の終端部の特定区間を繰り遅し読出すこ
とによって持続する楽音を得る方式を採用するものは、
終端部特定区間の所定周期の波形データを繰り返し読み
出す際、正確に所定周期で連続して読出すのは困難であ
り、繰り返し部分で不連続部分が発生し、つながりが不
自然になるとともに、不要な高次倍音が多数発生して高
音質の楽音が得られないという欠点を解消するためにな
されたもので、終端部特定区間の所定周期の波形を繰り
返し読み出す際にも繰り返し部分で不連続な部分が発生
せず、したがって楽音のつながりが自然になるとともに
不要な高次倍音の発生を防止することができ、高音質の
楽音が得られる楽音発生装置を提供することを目的とす
る。
(Problems to be Solved by the Invention) As described above, the present invention stores a plurality of periodic waveforms in a predetermined section from the uphill part of a musical tone in a waveform memory, starts reading from the beginning of the predetermined section, A method that obtains a sustained musical tone by repeatedly reading out a specific section at the end of the predetermined section after it has been read to the end,
When repeatedly reading out waveform data of a predetermined period in a specified end section, it is difficult to read out the waveform data accurately and continuously at a predetermined period, and discontinuous portions occur in the repeated portions, making the connection unnatural and unnecessary. This was done to solve the problem of not being able to obtain high-quality musical tones due to the occurrence of many high-order harmonics.It also prevents discontinuous parts from occurring when repeatedly reading out a waveform of a predetermined period in a specific section at the end. To provide a musical tone generating device which can obtain high-quality musical tones by preventing generation of musical tones, thereby making the connection between musical tones natural, and preventing the generation of unnecessary high-order overtones.

[発明の楕−成] (課題を解決するための手段) 本発明の楽音発生装置は、楽音の立ち上がり部分の波形
データと、この楽音の立ち上がり部分に連続する楽音の
定常部分の波形データとをあらかじめ記憶した波形メモ
リを備え、前記楽音の立ち上がり部分の波形データを1
回読出した後に前記楽音の定常部分の波形データを繰り
返し読出して楽音を発生する楽音発生装置であって、前
記波形メモリに記憶する波形データは、楽音の立ち上が
り部分の波形データと、これに続く楽音の定常部分の所
定区間に含丈れる波形データに減衰特性の重み付けを施
したものと、前記楽音の定常部分の任意区間の波形デー
タに基づいて合成した単周期の合成波形データを前記所
定区間に含丈れる波数と同数だけ連結して立ち上がり特
性の重み付けを施したものとを加えた波形データと、こ
れに続く前記単周期の合成波形データとでなることを特
徴とする。
[Analysis of the Invention] (Means for Solving the Problems) The musical tone generating device of the present invention generates waveform data of a rising portion of a musical tone and waveform data of a steady portion of a musical tone following the rising portion of the musical tone. It is equipped with a waveform memory that has been stored in advance, and the waveform data of the rising part of the musical tone is stored in one
The musical tone generating device generates a musical tone by repeatedly reading out the waveform data of a steady portion of the musical tone after reading it twice, and the waveform data stored in the waveform memory includes the waveform data of the rising portion of the musical tone and the waveform data of the following musical tone. The waveform data included in a predetermined section of the steady portion of the tone is weighted with attenuation characteristics, and the single-period synthesized waveform data synthesized based on the waveform data of an arbitrary section of the steady portion of the musical tone is added to the predetermined section. The waveform data is characterized in that it consists of waveform data in which the same number of included waves are connected and weighted according to the rise characteristic, and the following single-period composite waveform data follows.

(作用) 本発明においては、波形メモリに楽音波形データを記憶
する際に、楽音の立ち上がり部分は原楽音の波形データ
をそのまま記憶し、楽音の立ち上がり部分に続く所定区
間は、原楽音の定常部分の所定区間に減衰特性の重み付
け、つまりフェードアウト処理を施したものと、原楽音
の定常部分の任意の区間の波形から合成した単周期の波
形データを上記所定区間分だけつなげて立ち上がり特性
の重み付け、つまりフェードイン処理を施したものとを
加算するクロスフェードミックスを行い、これに続く繰
り遅し読出される部分は上記単周期の合成波形データを
記憶するようにしている。そして、楽音を発生する際は
、上記楽音の立ち上がり部分及び所定区間を1回だけ読
出し、最後に単周期の波形データを繰り返し読出すこと
により持続する楽音を発生するようになっている。これ
により、楽音の立ち上がり部分から繰り返し読出し部分
への移行が円滑に行われるとともに、繰り返し読出す波
形データは合成波形データであるので不連続部分が発生
せず、したがって、発音される楽音に不自然さがなくな
り、また不要な高次倍音もなくなるので高音質の楽音が
得られるものとなっている。
(Function) In the present invention, when storing musical waveform data in the waveform memory, the waveform data of the original musical tone is stored as is for the rising portion of the musical tone, and the predetermined interval following the rising portion of the musical tone is a steady portion of the original musical tone. weighting of attenuation characteristics, that is, fade-out processing, to a predetermined section of , and weighting of rise characteristics by connecting single-period waveform data synthesized from waveforms of arbitrary sections of the steady portion of the original musical tone for the predetermined section; In other words, a cross-fade mix is performed by adding the fade-in processed data, and the subsequent delayed readout portion stores the single-period synthesized waveform data. When generating a musical tone, the rising portion and predetermined section of the musical tone are read out only once, and finally, single-period waveform data is repeatedly read out to generate a continuous musical tone. As a result, the transition from the rising part of the musical tone to the repeatedly readout part is performed smoothly, and since the waveform data that is repeatedly read out is composite waveform data, discontinuous parts do not occur, and therefore, the musical tones that are sounded are unnatural. This also eliminates unnecessary high-order overtones, making it possible to obtain high-quality musical tones.

(実施例) 第1図は本発明に係る楽音発生装置を適用した電子楽器
の構成を示すブロック図である。
(Embodiment) FIG. 1 is a block diagram showing the configuration of an electronic musical instrument to which a musical tone generator according to the present invention is applied.

図において、中央処理装置(以下、rCPU。In the figure, a central processing unit (hereinafter referred to as rCPU).

と略す)1は、読出専用メモリ(以下、FROM。1 is a read-only memory (hereinafter referred to as FROM).

と略す)2のプログラムメモリ部に記憶されたプログラ
ムを、システムバス14を介して順次読出し実行するこ
とにより、この電子楽器の各部を制御するものである。
Each section of the electronic musical instrument is controlled by sequentially reading and executing programs stored in the program memory section 2 via the system bus 14.

上記ROM2は、CPUIを動作させるプログラムの他
、音色データ、その他の種々の固定データを含んでいる
The ROM 2 includes a program for operating the CPUI, timbre data, and other various fixed data.

読出書込可能メモリ(以下、rRAMJという)3は、
ROM2に記憶されている所定のデータを転送記憶する
とともに、電子楽器を制御するための各種レジスタ及び
作業用のワーキング領域を有している。
The readable/writable memory (hereinafter referred to as rRAMJ) 3 is
It transfers and stores predetermined data stored in the ROM 2, and also has various registers for controlling the electronic musical instrument and a working area for work.

キーボード4は、演奏者の押鍵・離鍵動作を伝える鍵盤
スイッチ群である。このキーボード4からのスイッチ情
報はタッチセンサ5に送られるようになっている。
The keyboard 4 is a group of keyboard switches that transmit the player's key press and release actions. Switch information from the keyboard 4 is sent to the touch sensor 5.

タッチセンサ5は、押鍵・離鍵された鍵盤を示すキーコ
ードと、押鍵の強さを示すタッチデータを周知のタッチ
検出回路で検出して入出力インタフェース6に送出する
ものである。
The touch sensor 5 uses a well-known touch detection circuit to detect a key code indicating pressed/released keys and touch data indicating the strength of the key press, and sends the detected keys to the input/output interface 6.

パネル7は、電源スィッチ、モード指定スイッチ、音色
選択スイッチ、リズム選択スイッチ、各種効果スイッチ
等により構成されるスイッチ群である。このパネル7上
のスイッチはパネルスキャン回路(図示しない)により
その設定状態が検出され、パネルスイッチコードとして
入出力インタフェース6に送出されるようになっている
The panel 7 is a group of switches including a power switch, a mode designation switch, a tone selection switch, a rhythm selection switch, various effect switches, and the like. The settings of the switches on the panel 7 are detected by a panel scan circuit (not shown) and sent to the input/output interface 6 as a panel switch code.

入出力インタフェース6は、押鍵・離鍵された鍵のキー
コードとタッチデータ、及びパネル7からのパネルスイ
ッチコードをシステムバス14を介してcputに送出
するものである。
The input/output interface 6 sends key codes and touch data of pressed and released keys, and panel switch codes from the panel 7 to the cput via the system bus 14.

トーンジェネレータ8は、楽音信号生成の制御を行うも
のである。つまり、パネル7で指定された音色、及びキ
ーボード4の押鍵又は離鍵された鍵のキーコードに対応
した波形データを波形メモリ9から順次読出して持続す
る楽音を発生する制御を行うものである。このトーンジ
ェネレータ8の詳細については後述する。
The tone generator 8 controls the generation of musical tone signals. In other words, control is performed to generate a sustained musical tone by sequentially reading waveform data corresponding to the tone specified on the panel 7 and the key code of the pressed or released key on the keyboard 4 from the waveform memory 9. . Details of this tone generator 8 will be described later.

波形メモリ9は、音色あるいは背高に対応した複数の波
形データを記憶するものであり、トーンジェネレータ8
からのアドレスデータに応じて1つの波形データが選択
され、順次読出されるものである。この波形メモリ9か
ら読出された波形データは楽音波形信号として乗算器1
1に供給されるようになっている。この波形メモリ9に
記憶する楽音波形データの詳細については後述する。
The waveform memory 9 stores a plurality of waveform data corresponding to tone colors or heights, and the tone generator 8
One piece of waveform data is selected according to address data from and read out sequentially. The waveform data read from the waveform memory 9 is sent to the multiplier 1 as a musical waveform signal.
1. Details of the musical waveform data stored in the waveform memory 9 will be described later.

エンベロープジェネレータ1oは、゛システムバス14
から送られてくるエンベロープデータに従って楽音波形
信号の振幅を制御するエンベロープ信号を発生するもの
である。このエンベロープジェネレータ10で発生され
たエンベロープ信号も乗算器11に供給されるようにな
っている。
The envelope generator 1o is connected to the system bus 14.
It generates an envelope signal that controls the amplitude of the musical waveform signal in accordance with envelope data sent from the music waveform signal. The envelope signal generated by the envelope generator 10 is also supplied to the multiplier 11.

乗算器11は、上記波形メモリ9からの楽音波形信号と
エンベロープジェネレータ10からのエンベロープ信号
とを乗算し、エンベロープが付加された楽音信号を生成
する。これにより音の強弱が制御されて放音されるよう
になっている。このエンベロープが付加されたデジタル
楽音信号はD/A変換器12に供給されるようになって
いる。
The multiplier 11 multiplies the musical waveform signal from the waveform memory 9 and the envelope signal from the envelope generator 10 to generate a musical tone signal to which an envelope is added. This allows the intensity of the sound to be controlled and emitted. The digital musical tone signal to which this envelope has been added is supplied to the D/A converter 12.

D/A変換器12は、乗算器11が出力するデジタル楽
音信号をアナログ楽音信号に変換するものである。この
D/A変換器12の出力はサウンドシステム13に供給
されるようになっている。
The D/A converter 12 converts the digital musical tone signal output from the multiplier 11 into an analog musical tone signal. The output of this D/A converter 12 is supplied to a sound system 13.

サウンドシステム13は、アンプ13a及びスピーカ又
はヘッドホン13bにより構成され、D/A変換器から
供給された電気信号としてのアナログ楽音信号を音響信
号に変換して放音するものである。
The sound system 13 includes an amplifier 13a and a speaker or headphones 13b, and converts an analog musical tone signal as an electric signal supplied from a D/A converter into an acoustic signal and emits sound.

第3図は波形メモリ9に記憶される1つの楽音波形デー
タの記憶形式を説明すための図である。
FIG. 3 is a diagram for explaining the storage format of one musical tone waveform data stored in the waveform memory 9. As shown in FIG.

すなわち、1つの楽音波形データは、例えば16にワー
ドで構成され、スタートアドレスSAを先頭として楽音
の立ち上がり部分から繰り返し部分まで順次記憶される
ようになっている。ルーブト・lプアドレスLTは繰り
返し読出しを行う際の先頭アドレスであり、ループエン
ドアドレスLEは繰り返し読出を行う際の終端アドレス
である。そして、キーボード4の鍵の押下状態に対応し
た1つの持続する楽音を発生するときは、スタートアド
レスSAから楽音波形データの読出しを開始し、ループ
エンドアドレスLEに至ったらループトップアドレスL
Aに戻って読出を継続し、以下ループトップアドレスL
AとループエンドアドレスLEとの問を繰り返し読出す
ことにより持続す楽音を発生するようになっている。
That is, one tone waveform data is made up of, for example, 16 words, and is stored sequentially from the rising portion of the tone to the repeating portion with the start address SA at the beginning. The loop address LT is the starting address for repeated reading, and the loop end address LE is the ending address for repeated reading. When generating one continuous musical tone corresponding to the pressed state of a key on the keyboard 4, reading out the musical waveform data starts from the start address SA, and when the loop end address LE is reached, the loop top address L is generated.
Return to A and continue reading, and the following loop top address L
By repeatedly reading the question between A and the loop end address LE, a sustained musical tone is generated.

第4図は、本発明の特徴である波形メモリ9への楽音波
形データの記憶方法を説明すための図である。楽音波形
データの記憶は第3図に示した形式で行われる。
FIG. 4 is a diagram for explaining a method of storing musical waveform data in the waveform memory 9, which is a feature of the present invention. The tone waveform data is stored in the format shown in FIG.

まず、同図(a)に示すような原楽音波形をPCMデー
タとして取り込む。そして、原楽音波形の立ち上がり部
分の区間Aと、それに続く持続音部分の区間Bを任意に
決定する。続いて、区間B以降の任意の区間Cを定め、
その区間Cの周波数特性(倍音レベルデータ)をFFT
(高速フーリエ変換)等によって得る。このようにして
得られたデータを基に波形を合成し、これをつなげて第
4図(b)に示すような合成波を得る。
First, the original musical sound waveform as shown in FIG. 2(a) is imported as PCM data. Then, a section A of the rising portion of the original musical sound waveform and a section B of the sustained tone portion following it are arbitrarily determined. Next, define an arbitrary section C after section B,
FFT the frequency characteristics (overtone level data) of that section C.
(fast Fourier transform) etc. Waveforms are synthesized based on the data obtained in this manner and are connected to obtain a synthesized wave as shown in FIG. 4(b).

次いで、区間Bの波形データに減衰特性、つまりフェー
ドアウト特性の重み付けを行い、また、同図(b)に示
す合成波の区間Bと同一区間で立ち上がり特性、つまり
フェードイン特性の重み付けを行う、この際、原楽音波
形の基本ピッチと合成波の基本ピッチは等しくする。こ
の重み付けを行った2つの波形データを加算し、第4図
<c>に示すように、いわゆるクロスフェードミックス
を行う。
Next, the waveform data in section B is weighted with attenuation characteristics, that is, fade-out characteristics, and the rise characteristics, that is, fade-in characteristics are weighted in the same section as section B of the composite wave shown in FIG. In this case, the fundamental pitch of the original sound waveform and the fundamental pitch of the synthesized wave should be equal. The two weighted waveform data are added, and a so-called cross-fade mix is performed as shown in FIG. 4<c>.

波形メモリ9には、原楽音波形の立ち上がり部分Aと、
原楽音波形の区間Bと合成波とをクロスフェードミック
スした波形(区間D)と、さらに重み付けをされていな
い合成波1周期(区間E)を連続して記憶し、これを1
つの楽音波形データとする。そして、区間Aの先頭をス
タートアドレスSA、区間Eの先頭をループトップアド
レスLT、終端をループエンドアドレスLEとする。
The waveform memory 9 contains the rising part A of the original music waveform,
A waveform (section D) that is a cross-fade mix of section B of the original musical sound waveform and the synthesized wave, and one cycle of the synthesized wave that has not been weighted (section E) are stored continuously, and this is
Two tone waveform data. The beginning of section A is assumed to be a start address SA, the beginning of section E is assumed to be a loop top address LT, and the end thereof is assumed to be a loop end address LE.

このようにして決定されたスタートアドレスSA、ルー
プトップアドレスLT及びループエンドアドレスLEは
、該楽音波形データに対応付けてROM2に記憶される
ようになっている。
The start address SA, loop top address LT, and loop end address LE determined in this way are stored in the ROM 2 in association with the musical tone waveform data.

このようにして記憶された楽音波形データをスタートア
ドレスSAから順次読み出せば、最初に原楽音波形の立
ち上がり部分を発音し、続いてクロスフェード部分によ
ってスムーズに合成波に移行し、最後に重み付けされな
い合成波1波長を繰り返し読出すことによって不連続性
のない自然な持続音を得ることができるようになってい
る。
If the musical sound waveform data stored in this way is read out sequentially from the start address SA, the rising part of the original musical sound waveform will be sounded first, then it will smoothly transition to the composite wave by the cross-fade part, and finally it will not be weighted. By repeatedly reading out one wavelength of the synthesized wave, it is possible to obtain a natural sustained sound without discontinuities.

第2図は上記トーンジェネレータ8の一実施例を示すも
のである1図において、周波数ナンバ、スタートアドレ
スSA、ループトップアドレスLT及びループエンドア
ドレスLEはいずれもCPUIから送られてくる情報で
ある。
FIG. 2 shows an embodiment of the tone generator 8. In FIG. 1, the frequency number, start address SA, loop top address LT, and loop end address LE are all information sent from the CPUI.

ラッチ21は、キーボード4から出力されるキーコード
に対応した周波数ナンバを一時的に記憶するものである
。同様に、ラッチ22及び23は、ループトップアドレ
スLT、ループエンドアドレスLEを一時的に記憶する
ものである。
The latch 21 temporarily stores a frequency number corresponding to a key code output from the keyboard 4. Similarly, latches 22 and 23 temporarily store the loop top address LT and loop end address LE.

セレクタ24は、スタートアドレスSA又は後述するラ
ッチ25の出力のいずれかを選択して出力するもので、
発音開始時は図示しない制御部によりH側が選択されて
スタートアドレスSAを出力するようになっている。
The selector 24 selects and outputs either the start address SA or the output of the latch 25, which will be described later.
At the start of sound generation, a control section (not shown) selects the H side and outputs the start address SA.

加算器26はラッチ21に記憶された周波数ナンバとセ
レクタ24の出力とを加算するもので、これにより波形
メモリ9の読出アドレスを生成するようになっている。
The adder 26 adds the frequency number stored in the latch 21 and the output of the selector 24, thereby generating a read address for the waveform memory 9.

加算器27は、加算器26の加算結果からラッチ22に
記憶されたループエンドアドレスLEを減算するもので
、これにより読出アドレスがループエンドアドレスLE
を越えたか否かを判断するようになっている。
The adder 27 subtracts the loop end address LE stored in the latch 22 from the addition result of the adder 26, so that the read address becomes the loop end address LE.
It is designed to judge whether or not the limit has been exceeded.

セレクタ28は、加算器27のキャリーアウト信号Co
utに応じて、ラッチ22に記憶されたループエンドア
ドレスLE又はラッチ23に記憶されたループトップア
ドレスLTのいずれかを出力し加算器29に供給するも
のである。
The selector 28 selects the carry-out signal Co of the adder 27.
Depending on ut, either the loop end address LE stored in the latch 22 or the loop top address LT stored in the latch 23 is output and supplied to the adder 29.

加算器2つは、加算器27の出力とセレクタ28の出力
とを加算するもので、加算結果はラッチ25に供給され
るようになっている。
The two adders add the output of the adder 27 and the output of the selector 28, and the addition result is supplied to the latch 25.

ラッチ25は、加算器29の出力を一時的に記憶するも
ので、このラッチの出力が波形メモリ9に供給されて楽
音波形データを読出すアドレスとして用いられる。また
、このラッチ25の出力はセレクタ24のL側に供給さ
れ、次の読出アドレスの計算に使用されるようになって
いる。
The latch 25 temporarily stores the output of the adder 29, and the output of this latch is supplied to the waveform memory 9 and used as an address from which musical waveform data is read. Further, the output of the latch 25 is supplied to the L side of the selector 24, and is used to calculate the next read address.

次に、上記構成のトーンジェネレータの動作について説
明する。
Next, the operation of the tone generator having the above configuration will be explained.

まず、CPUIから周波数ナンバがラッチ21に、ルー
プエンドアドレスLEがラッチ22に、ループトップア
ドレスLTがラッチ23に、それぞれセットされる。ま
た、セレクタ24は図示しない制御部の制御によりHl
lが選択されている。
First, the frequency number is set in the latch 21, the loop end address LE is set in the latch 22, and the loop top address LT is set in the latch 23 from the CPUI. In addition, the selector 24 is controlled by a control section (not shown).
l is selected.

かかる状態で、スタートアドレスSAがセレクタ24に
供給されると、最初のタイムスロットでは、加算器26
で周波数ナンバとスタートアドレスSAが加算され、波
形メモリ9の読出アドレスが算出される1次いで、加算
器26が出力する読出アドレスからラッチ22に記憶さ
れたループエンドアドレスLEを加算器27で減算する
。この際、読出アドレスがループエンドアドレスLEを
越えていなければキャリーアウト信号Coutがアクテ
ィブにならず、セレクタ28はLllが選択されてルー
プエンドアドレスLEを加算器29に供給する。これに
より、加算器29は、加算器27の出力とループエンド
アドレスLEとを加算する。
In this state, when the start address SA is supplied to the selector 24, in the first time slot, the adder 26
The frequency number and start address SA are added to calculate the read address of the waveform memory 9.1 Next, the loop end address LE stored in the latch 22 is subtracted by the adder 27 from the read address output by the adder 26. . At this time, unless the read address exceeds the loop end address LE, the carry-out signal Cout does not become active, and the selector 28 selects Lll and supplies the loop end address LE to the adder 29. Thereby, the adder 29 adds the output of the adder 27 and the loop end address LE.

このことは、加算器27で減算した分を再度加えること
を意味し、加算器29からは加算器26の出力と同じも
のが出力される。、これがラッチ25にセットされて波
形メモリ9の読出アドレスとなる。
This means that the amount subtracted by the adder 27 is added again, and the adder 29 outputs the same output as the adder 26. , this is set in the latch 25 and becomes the read address of the waveform memory 9.

次のタイムスロットでは、セレクタ24はL側が選択さ
れるように制御される。したがって、上記と同様の動作
を行うことにより、現在の読出アドレスに周波数ナンバ
が加算されて次の読出アドレスが計算され、波形メモリ
9に供給される。
In the next time slot, the selector 24 is controlled so that the L side is selected. Therefore, by performing the same operation as described above, the frequency number is added to the current read address to calculate the next read address, which is then supplied to the waveform memory 9.

このようにして、順次読出アドレスの計算が行われ、読
出アドレスがループエンドアドレスLEを越えると、つ
まり加算器27からアクティブなキャリーアウト信号C
outが出力されると、セレクタ28はH側が選択され
る。これにより加算器29の一方の入力にはループトッ
プアドレスLTが供給される。一方、加算器29の他方
の入力には加算器27の出力が供給されており、これら
が加算されることにより、読出アドレスはループトップ
アドレスLT、若しくはループエンドアドレスLEから
はみ出した分を補正した値が得られる。
In this way, read addresses are calculated sequentially, and when the read address exceeds the loop end address LE, the adder 27 outputs an active carry-out signal C.
When out is output, the selector 28 selects the H side. As a result, one input of the adder 29 is supplied with the loop top address LT. On the other hand, the output of the adder 27 is supplied to the other input of the adder 29, and by adding these, the read address is corrected for the amount that protrudes from the loop top address LT or the loop end address LE. value is obtained.

以上の動作を繰り返し実行することにより、キーコード
に対応した楽音の発音が持続されることになる。
By repeating the above operations, the musical tone corresponding to the key code will continue to be produced.

第5図は、上記トーンジェネレータ8を用いて、繰り返
し部分(ループトップアドレスLTとループエンドアド
レスLEで囲まれる部分)が1周期の正弦波である持続
する楽音波形を発生した場合の波形図を示すものである
6図示するように、不連続部分がない滑らかな正弦波の
楽音信号が得られる。
FIG. 5 shows a waveform diagram when the tone generator 8 is used to generate a continuous musical sound wave whose repetitive part (the part surrounded by the loop top address LT and the loop end address LE) is a sine wave of one period. As shown in Figure 6, a smooth sine wave musical tone signal with no discontinuities can be obtained.

第6図は、第5図に示した楽音波形の周波数特性を示す
ものである。不要な高次倍音が発生することなく高音質
の楽音を得ることができるものとなっている。
FIG. 6 shows the frequency characteristics of the musical tone waveform shown in FIG. It is possible to obtain high-quality musical tones without generating unnecessary high-order overtones.

次に、第1図に示した電子楽器の動作を第7図に示すフ
ローチャートを参照しながら説明する。
Next, the operation of the electronic musical instrument shown in FIG. 1 will be explained with reference to the flowchart shown in FIG.

まず、電源投入等により動作が開始されると、音色初期
化処理が行われる(ステップSl)、すなわち、放音す
べき音色を指定する音色ポインタを初期値に設定し、こ
の音色ポインタで指定されるROM2内の音色テーブル
に記憶されている初期音色データをトーンジェネレータ
8に送出する。
First, when the operation is started by turning on the power, etc., tone initialization processing is performed (step Sl). In other words, a tone pointer that specifies the tone to be emitted is set to an initial value, and the tone color pointer specified by this tone pointer is set to an initial value. The initial tone color data stored in the tone color table in the ROM 2 is sent to the tone generator 8.

次いで、入出力インタフェース6を介してパネル7から
のスイッチデータを入力することにより、パネル7のス
イッチ操作があったか否がが調べろれる(ステップS2
)、ここで、パネル7のスイッチ操作があったことが判
断されると、その操作内容に応じて音色テーブルの音色
ポインタをセットする(ステップS3)、これにより、
音色ポインタで指定された音色データがトーンジェネレ
ータ8に出力され、このトーンジェネレータ8から波形
メモリ9に上位アドレス(図示しない)として与えられ
ることにより、波形メモリ9中の該当する音色の楽音波
形データが選択される。
Next, by inputting switch data from the panel 7 via the input/output interface 6, it is possible to check whether or not a switch has been operated on the panel 7 (step S2).
), when it is determined that a switch on the panel 7 has been operated, a tone pointer in the tone table is set in accordance with the operation (step S3).
The tone data specified by the tone pointer is output to the tone generator 8, and the tone generator 8 gives it to the waveform memory 9 as an upper address (not shown), so that the musical waveform data of the corresponding tone in the waveform memory 9 is stored. selected.

一方、上記ステップS2でパネル7のスイッチ操作がな
かったことが判断されると、入出力インタフェース6を
介してキーボード4のデータを読み込むことにより、押
鍵があったか否かが調べられる(ステップS4)、そし
て、押鍵があったことが判断されると、発音処理を行う
(ステップS5)、この発音処理は、トーンジェネレー
タ8及びエンベロープジェネレータlOに音色、タッチ
、音域に応じたデータを転送して発音開始を指示する処
理である。これにより、サウンドシステム13から楽音
が発音されることになる。
On the other hand, if it is determined in step S2 that no switch has been operated on the panel 7, it is determined whether or not a key has been pressed by reading the data of the keyboard 4 via the input/output interface 6 (step S4). , and when it is determined that a key has been pressed, a sound generation process is performed (step S5). This sound generation process involves transmitting data corresponding to the tone, touch, and range to the tone generator 8 and envelope generator IO. This process instructs the start of pronunciation. This causes the sound system 13 to produce musical tones.

一方、上記ステップS4で押鍵がなかったことが判断さ
れると、入出力インタフェース6を介してキーボード4
のデータを読み込むことにより、離鍵があったか否かが
調べられる(ステップS6)。
On the other hand, if it is determined in step S4 that no key has been pressed, the keyboard 4 is
By reading the data, it is determined whether or not the key has been released (step S6).

そして、離鍵があったことが判断されると、消音処理を
行う(ステップS7)、この消音処理は、トーンジェネ
レータ8及びエンベロープジェネレータ10に音色、タ
ッチ、音域に応じたデータを転送して発音終了を指示す
る処理である。これにより、サウンドシステム13から
の発音が中止されることになる。この際、発音は完全に
中止されるのではなく、離鍵に伴ういくらかの音が残る
ことになる。
When it is determined that a key has been released, a mute process is performed (step S7). This mute process transfers data corresponding to the tone, touch, and range to the tone generator 8 and envelope generator 10 to generate sound. This is a process that instructs termination. As a result, sound generation from the sound system 13 is stopped. At this time, the sound generation is not completely stopped, but some sound accompanying the release of the key remains.

以上の一連の処理が終了するとステップS2へ戻り、上
述した動作を繰り返し実行する。これにより、パネル7
のスイッチ操作、キーボード4の押鍵又は離鍵に伴って
音色を変更しつつ、放音又はその中止が行われることに
なる。
When the above series of processes is completed, the process returns to step S2 and the above-described operations are repeatedly executed. This causes panel 7
The sound is emitted or stopped while changing the tone color in accordance with the switch operation or the key press or release of the keyboard 4.

[発明の効果] 以上詳述したように1本発明によれば波形メモリの終端
部特定区間の所定周期の波形データを繰り返し読み出す
際にも繰り返し部分で不連続な部分が発生せず、したが
って楽音のつながりが自然になるとともに不要な高次倍
音の発生を防止することができ、高音質の楽音が得られ
る楽音発生装置を提供できる。
[Effects of the Invention] As described in detail above, according to the present invention, even when waveform data of a predetermined period in a specific section at the end of the waveform memory is repeatedly read out, discontinuous parts do not occur in the repeated parts, so that the musical tone is It is possible to provide a musical tone generating device that allows for a natural connection between the two and prevents the generation of unnecessary high-order overtones, thereby producing high-quality musical tones.

【図面の簡単な説明】[Brief explanation of the drawing]

第1rMないし第7図はこの発明の実施例を示すもので
、第1図は電子楽器の該略構成を示すブロック図、第2
図はトーンジェネレータの構成を示すブロック図、第3
図は波形メモリの記憶形式を示す図、第4図は波形メモ
リに記憶される楽音波形データを説明するための図、第
5図は本発明を適用して得られた楽音波形の一例を示す
図、第6図は第5図に示す楽音波形の周波数特性を示す
図、第7図は動作を説明するためのフローチャートであ
り、第8図及び第9図は従来の楽音発生装置を説明する
ためのもので、第8図は従来の方式により得られる楽音
波形の一例を示す図、第9図は第8図に示す楽音波形の
周波数特性を示す図である。 1・・・CPU、2・・・ROM、3・・・RAM、4
・・・キーボード、5・・・タッチセンサ、6・・・入
出力インタフェース、7・・・パネル、8・・・トーン
ジェネレータ、9・・・波形メモリ、10・・・エンベ
ロープジェネレータ、11・・・乗算器、13・・・サ
ウンドシステム。 出願人 株式会社 河合楽器製作所
1rM to 7 show embodiments of the present invention, and FIG. 1 is a block diagram showing the schematic configuration of the electronic musical instrument, and FIG.
The figure is a block diagram showing the configuration of the tone generator.
The figure shows the storage format of the waveform memory, FIG. 4 is a diagram for explaining the musical sound waveform data stored in the waveform memory, and FIG. 5 shows an example of the musical sound waveform obtained by applying the present invention. 6 is a diagram showing the frequency characteristics of the musical sound waveform shown in FIG. 5, FIG. 7 is a flowchart for explaining the operation, and FIGS. 8 and 9 are for explaining the conventional musical tone generating device. 8 is a diagram showing an example of a musical tone waveform obtained by the conventional method, and FIG. 9 is a diagram showing the frequency characteristics of the musical tone waveform shown in FIG. 8. 1...CPU, 2...ROM, 3...RAM, 4
... Keyboard, 5... Touch sensor, 6... Input/output interface, 7... Panel, 8... Tone generator, 9... Waveform memory, 10... Envelope generator, 11... - Multiplier, 13...Sound system. Applicant: Kawai Musical Instruments Manufacturing Co., Ltd.

Claims (1)

【特許請求の範囲】 楽音の立ち上がり部分の波形データと、この楽音の立ち
上がり部分に連続する楽音の定常部分の波形データとを
あらかじめ記憶した波形メモリを備え、前記楽音の立ち
上がり部分の波形データを1回読出した後に前記楽音の
定常部分の波形データを繰り返し読出して楽音を発生す
る楽音発生装置であつて、 前記波形メモリに記憶する波形データは、楽音の立ち上
がり部分の波形データと、これに続く楽音の定常部分の
所定区間に含まれる波形データに減衰特性の重み付けを
施したものと、前記楽音の定常部分の任意区間の波形デ
ータに基づいて合成した単周期の合成波形データを前記
所定区間に含まれる波数と同数だけ連結して立ち上がり
特性の重み付けを施したものとを加えた波形データと、
これに続く前記単周期の合成波形データとでなることを
特徴とする楽音発生装置。
[Scope of Claims] A waveform memory is provided in which waveform data of a rising portion of a musical tone and waveform data of a steady portion of a musical tone following the rising portion of the musical tone are stored in advance, and the waveform data of the rising portion of the musical tone is stored in one. The musical tone generating device generates a musical tone by repeatedly reading out the waveform data of a steady portion of the musical tone after reading it twice, and the waveform data stored in the waveform memory includes the waveform data of the rising portion of the musical tone and the following musical tone. The predetermined section contains single-period synthesized waveform data synthesized based on waveform data included in a predetermined section of the steady portion of the musical tone weighted with a damping characteristic and waveform data of an arbitrary section of the steady portion of the musical tone. waveform data with the same number of waves connected and weighted according to the rise characteristics,
This is followed by the single-period synthesized waveform data.
JP2115258A 1990-05-02 1990-05-02 Musical sound generating device Pending JPH0413193A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2115258A JPH0413193A (en) 1990-05-02 1990-05-02 Musical sound generating device
US07/693,450 US5284080A (en) 1990-05-02 1991-04-29 Tone generating apparatus utilizing preprogrammed fade-in and fade-out characteristics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2115258A JPH0413193A (en) 1990-05-02 1990-05-02 Musical sound generating device

Publications (1)

Publication Number Publication Date
JPH0413193A true JPH0413193A (en) 1992-01-17

Family

ID=14658227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2115258A Pending JPH0413193A (en) 1990-05-02 1990-05-02 Musical sound generating device

Country Status (2)

Country Link
US (1) US5284080A (en)
JP (1) JPH0413193A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3549003B2 (en) * 1993-08-31 2004-08-04 株式会社日立製作所 Information sending device and information sending / receiving system
US5811706A (en) * 1997-05-27 1998-09-22 Rockwell Semiconductor Systems, Inc. Synthesizer system utilizing mass storage devices for real time, low latency access of musical instrument digital samples
JP3878485B2 (en) * 2002-01-11 2007-02-07 ローランド株式会社 Waveform playback device
JP4144564B2 (en) * 2004-05-25 2008-09-03 ヤマハ株式会社 Electronic drum

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6286394A (en) * 1985-10-11 1987-04-20 ヤマハ株式会社 Generation of musical sound signal
JPS6449092A (en) * 1987-08-19 1989-02-23 Matsushita Electric Ind Co Ltd Musical sound synchronizer
JPH0157799B2 (en) * 1981-07-20 1989-12-07 Yamaha Corp

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52121313A (en) * 1976-04-06 1977-10-12 Nippon Gakki Seizo Kk Electronic musical instrument
DE2926548C2 (en) * 1979-06-30 1982-02-18 Rainer Josef 8047 Karlsfeld Gallitzendörfer Waveform generator for shaping sounds in an electronic musical instrument
JPS59188697A (en) * 1983-04-11 1984-10-26 ヤマハ株式会社 Musical sound generator
JPS6029793A (en) * 1983-07-28 1985-02-15 ヤマハ株式会社 Musical tone forming apparatus
JPS6052895A (en) * 1983-09-02 1985-03-26 ヤマハ株式会社 Electronic musical instrument
JPH079588B2 (en) * 1984-08-31 1995-02-01 ヤマハ株式会社 Musical sound generator
US5086685A (en) * 1986-11-10 1992-02-11 Casio Computer Co., Ltd. Musical tone generating apparatus for electronic musical instrument
JPH0823752B2 (en) * 1988-08-11 1996-03-06 株式会社河合楽器製作所 Waveform data loop method
US5086475A (en) * 1988-11-19 1992-02-04 Sony Corporation Apparatus for generating, recording or reproducing sound source data
US5094136A (en) * 1989-01-06 1992-03-10 Yamaha Corporation Electronic musical instrument having plural different tone generators employing different tone generation techniques
US5111727A (en) * 1990-01-05 1992-05-12 E-Mu Systems, Inc. Digital sampling instrument for digital audio data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0157799B2 (en) * 1981-07-20 1989-12-07 Yamaha Corp
JPS6286394A (en) * 1985-10-11 1987-04-20 ヤマハ株式会社 Generation of musical sound signal
JPS6449092A (en) * 1987-08-19 1989-02-23 Matsushita Electric Ind Co Ltd Musical sound synchronizer

Also Published As

Publication number Publication date
US5284080A (en) 1994-02-08

Similar Documents

Publication Publication Date Title
JPH027078B2 (en)
US5428183A (en) Tone signal generating apparatus for performing a timbre change by storing a full frequency band in a wave memory
JP3296518B2 (en) Electronic musical instrument
JPH0413193A (en) Musical sound generating device
JP2739669B2 (en) Tone generator
JP3037861B2 (en) Waveform forming device and electronic musical instrument using the output waveform
US5559298A (en) Waveform read-out system for an electronic musical instrument
JP3279861B2 (en) Music signal generator
JPH0243199B2 (en)
JP2722665B2 (en) Tone generator
JP2537340B2 (en) Musical sound generator
JP2707818B2 (en) Electronic musical instrument
JP2933186B2 (en) Music synthesizer
JP2888712B2 (en) Music generator
JPS61248096A (en) Electronic musical instrument
JP2570945B2 (en) Tone generator
JP2549443Y2 (en) Electronic musical instrument with touch response function
JP3129119B2 (en) Envelope waveform generator
JP3338478B2 (en) Apparatus and method for generating fluctuation waveform of electroacoustic apparatus
JPH02179688A (en) Musical sound signal generating device
JP3532047B2 (en) Tone signal generator and tone signal generation method
JPH0627946A (en) Electronic keyboard musical instrument
JP3344983B2 (en) Apparatus and method for generating fluctuation waveform of electroacoustic apparatus
JP2939098B2 (en) Electronic musical instrument
JP2579231Y2 (en) Electronic musical instrument