JP3040583B2 - Apparatus and method for processing sound waveform data - Google Patents

Apparatus and method for processing sound waveform data

Info

Publication number
JP3040583B2
JP3040583B2 JP4073698A JP7369892A JP3040583B2 JP 3040583 B2 JP3040583 B2 JP 3040583B2 JP 4073698 A JP4073698 A JP 4073698A JP 7369892 A JP7369892 A JP 7369892A JP 3040583 B2 JP3040583 B2 JP 3040583B2
Authority
JP
Japan
Prior art keywords
data
waveform
tone
performance information
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP4073698A
Other languages
Japanese (ja)
Other versions
JPH05273979A (en
Inventor
明裕 藤田
克氏 石井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=13525697&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JP3040583(B2) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP4073698A priority Critical patent/JP3040583B2/en
Priority to US08/039,768 priority patent/US5382749A/en
Publication of JPH05273979A publication Critical patent/JPH05273979A/en
Application granted granted Critical
Publication of JP3040583B2 publication Critical patent/JP3040583B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、楽音波形に関するデー
タの処理装置及び処理方法に関し、特に電子楽器等の楽
音波形に関するデータの記憶及び読み出しの制御に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus and a method for processing data relating to musical tone waveforms, and more particularly to control of storing and reading out data relating to musical tone waveforms of electronic musical instruments and the like.

【0002】[0002]

【従来技術】従来、電子楽器のトーンジェネレータは以
下のように構成されている。サンプリング形式の楽音波
形データが波形メモリに記憶され、キーオンイベント信
号が供給されると、上記楽音波形データが読み出され
る。一方、このキーオンイベント信号は、エンベロープ
ジェネレータにも与えられ、エンベロープ波形データが
演算されていく。このエンベロープ波形データは、上記
楽音波形データに乗算され、D−A(デジタル−アナロ
グ)変換されて出力されていく。上記キーオンイベント
信号は、キーボードのキーのオンに応じたものや、自動
演奏情報に応じたもの等がある。
2. Description of the Related Art Conventionally, a tone generator of an electronic musical instrument has the following configuration. When the musical tone waveform data in the sampling format is stored in the waveform memory and a key-on event signal is supplied, the musical tone waveform data is read out. On the other hand, this key-on event signal is also supplied to an envelope generator, and envelope waveform data is calculated. This envelope waveform data is multiplied by the above musical tone waveform data, converted into a digital signal (D / A), and output. The key-on event signal includes a signal corresponding to a key-on of a keyboard and a signal corresponding to automatic performance information.

【0003】上記波形メモリには、正弦波、三角波、矩
形波等の楽音波形データが一波長分記憶され、これが音
高に応じた速度で、繰り返し読み出される。これに対
し、実際の楽器のサウンドにより近づけるため、波形が
次第に変化していく複数波形分の楽音波形データを波形
メモリに記憶したり、楽音の立上りから立上り以降の一
部の波形の楽音波形データを波形メモリに記憶したりす
るものもあった。
The waveform memory stores tone waveform data such as a sine wave, a triangular wave, and a rectangular wave for one wavelength and is repeatedly read out at a speed corresponding to a pitch. On the other hand, in order to get closer to the sound of the actual instrument, the waveform waveform data of a plurality of waveforms whose waveforms gradually change are stored in the waveform memory, or the waveform waveform data of a part of the waveform after the rise of the tone. In some cases, this is stored in a waveform memory.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述の
波形メモリに記憶されている楽音波形データは固定的な
もので、変更はできないものであった。従って、演奏に
応じて発音される楽音の音色は固定されたパターンとな
り、変化に乏しいものであった。
However, the tone waveform data stored in the above-mentioned waveform memory is fixed and cannot be changed. Therefore, the timbre of the musical tone generated in accordance with the performance has a fixed pattern, and has little change.

【0005】多種類の音色の楽音を発音させるために
は、たいへん多くの種類の楽音波形データを記憶しなく
てはならず、そうすると波形メモリが膨大なものとな
り、選択してアクセスするにも処理が複雑化してしまう
等の問題があった。
[0005] In order to generate various types of musical tones, it is necessary to store a large number of types of musical sound waveform data, so that the waveform memory becomes enormous, and processing for selecting and accessing is difficult. However, there were problems such as that it became complicated.

【0006】本発明は、上述した課題を解決するために
なされたものであり、波形記憶手段の記憶容量を大きく
しなくても、多種多様な音色の楽音を発音させることの
できる電子楽器の波形データ処理システムを提供するこ
とを目的としている。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and has been made in consideration of a waveform of an electronic musical instrument capable of producing a variety of timbres without increasing the storage capacity of the waveform storage means. It is intended to provide a data processing system.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、楽音波形に関するデータを記憶する第1
の波形記憶手段を電子楽器本体に着脱可能とし、この第
1の波形記憶手段から楽音波形に関するデータを読み出
して、電子楽器本体内の第2の波形記憶手段に書き込
み、この楽音波形に関するデータに基づいて楽音の発生
を行うようにした。
In order to achieve the above object, the present invention provides a first method for storing data relating to a musical tone waveform.
Is detachable from the main body of the electronic musical instrument, data relating to the musical tone waveform is read out from the first waveform storing portion, and is written to the second waveform storing portion in the main body of the electronic musical instrument. To generate musical tones.

【0008】[0008]

【作用】これにより、楽音の発生に使われる楽音波形に
関するデータは、上記第1の波形記憶手段を交換してい
けば、多種多様に変化させることができ、電子楽器本体
内の第2の波形記憶手段の記憶容量を増やさなくとも済
む。
According to the present invention, data relating to a musical tone waveform used for generating a musical tone can be varied in various ways by replacing the first waveform storage means, and the second waveform in the electronic musical instrument main body can be changed. It is not necessary to increase the storage capacity of the storage means.

【0009】[0009]

【実施例】1.全体回路 図1は、電子楽器の全体回路を示す。キーボード1の各
キーは、キースキャン回路2によってスキャンされ、キ
ーオン、キーオフを示すデータが検出され、CPU5に
よってRAM6に書き込まれる。そして、それまでRA
M6に記憶されていた各キーのオン、オフの状態を示す
データと比較され、各キーのオンイベント、オフイベン
トの判別が、CPU5によって行われる。なお、上記キ
ーボード1は、電子弦楽器、電子管(リード)楽器、電
子打(パッド)楽器、コンピュータのキーボード等で代
用してもよい。
[Examples] 1. Overall Circuit FIG. 1 shows an overall circuit of an electronic musical instrument. Each key of the keyboard 1 is scanned by the key scan circuit 2, data indicating key-on and key-off is detected, and written into the RAM 6 by the CPU 5. And until then RA
The data is compared with data indicating the on / off state of each key stored in M6, and the CPU 5 determines whether each key is on or off. The keyboard 1 may be replaced by an electronic stringed instrument, an electronic tube (lead) instrument, an electronic percussion (pad) instrument, a computer keyboard, or the like.

【0010】パネルスイッチ群3の各スイッチは、パネ
ルスキャン回路4によって、スキャンされる。このスキ
ャンにより、各スイッチのオン、オフを示すデータが検
出され、CPU5によってRAM6に書き込まれる。そ
して、それまでRAM6に記憶されていた各スイッチの
オン、オフの状態を示すデータと比較され、各スイッチ
のオンイベント、オフイベントの判別が、CPU5によ
って行われる。
Each switch of the panel switch group 3 is scanned by a panel scan circuit 4. By this scanning, data indicating ON / OFF of each switch is detected, and written into the RAM 6 by the CPU 5. Then, the data is compared with the data indicating the ON / OFF state of each switch, which has been stored in the RAM 6, and the CPU 5 determines the ON event and the OFF event of each switch.

【0011】RAM6には、上述した各種データのほ
か、CPU5が処理する各種データ及び処理に必要な各
種データが記憶される。このRAM6には、後述するワ
ーキングメモリ22も形成されている。ROM7には、
後述するフローチャートに対応し、かつCPU5が実行
するプログラム、その他の処理に対応するプログラムが
記憶されている。
In the RAM 6, in addition to the various data described above, various data processed by the CPU 5 and various data necessary for the processing are stored. The RAM 6 also has a working memory 22 described later. In ROM7,
A program corresponding to a flowchart described later and executed by the CPU 5 and a program corresponding to other processing are stored.

【0012】CD−ROM8には、種々の楽音波形デー
タMWが記憶されている。この楽音波形データMWは、
ピアノ、バイオリン、フルート、シンバル等の楽器音の
波形のサンプリングデータである。この各楽音波形デー
タMWは、トーンナンバデータTNに基づいて選択され
る。また、CD−ROM8には、複数曲の演奏情報MP
も記憶されている。演奏情報MPは、メロディ、コー
ド、リズム等の自動演奏のためのデータである。
The CD-ROM 8 stores various tone waveform data MW. This tone waveform data MW is
This is sampling data of waveforms of musical instrument sounds such as piano, violin, flute, and cymbal. Each tone waveform data MW is selected based on the tone number data TN. Also, the CD-ROM 8 contains performance information MP of a plurality of music pieces.
Is also stored. The performance information MP is data for automatic performance such as melody, chord, rhythm and the like.

【0013】さらに、CD−ROM8には、種々のコン
トロール情報CTも記憶されている。このコントロール
情報CTは、上記楽音波形データMWの読出のスター
ト、ループトップ、ループエンドの各アドレスデータ、
エンベロープ波形データ、タッチデータ、キースケーリ
ングデータ等からなる。このコントロール情報CTと上
記トーンナンバデータTNとによって楽音の音色が決定
される。楽音波形に関するデータは、上記楽音波形デー
タMWのほか、このコントロール情報CTも含む。
Further, the CD-ROM 8 also stores various control information CT. The control information CT includes a start of reading of the tone waveform data MW, address data of loop top and loop end,
It consists of envelope waveform data, touch data, key scaling data and the like. The tone color of the musical tone is determined by the control information CT and the tone number data TN. The data relating to the musical tone waveform includes the control information CT in addition to the musical tone waveform data MW.

【0014】上記演奏情報MPは、複数のシーケンシャ
ルなイベントデータからなり、1つのイベントデータE
BはステータスデータSS、上記パラメータデータPR
及びステップタイムデータSTからなっている。ステー
タスデータSSは、キーオン/オフデータ及びキーナン
バデータKN、コードタイプデータ及びコードルートデ
ータまたはタッチデータ等からなる。
The performance information MP consists of a plurality of sequential event data, and one event data E
B is the status data SS, the above parameter data PR
And step time data ST. The status data SS includes key on / off data and key number data KN, code type data, code route data, touch data, and the like.

【0015】上記パラメータデータPRは、上記ステー
タスデータSSの機能のレベルを示し、例えばタッチ、
音色、演奏パート等の制御データである。ステップタイ
ムデータSTは、バーマークデータBMからイベント実
行までの時間を示す。上記バーマークデータBMは、小
節の区切りを示す。エンドマークデータEDは、曲の終
わりを示す。上記トーンナンバデータTNとコントロー
ル情報CTまたはこのコントロール情報CTを指定する
データは、各演奏情報MPの先頭に記憶されたり、演奏
情報MPの途中の音楽的ファクタ変更地点に記憶された
りすることもある。
The parameter data PR indicates the function level of the status data SS.
This is control data such as a tone color and a performance part. The step time data ST indicates the time from the bar mark data BM to the event execution. The bar mark data BM indicates a bar break. The end mark data ED indicates the end of the music. The tone number data TN and the control information CT or data designating the control information CT may be stored at the beginning of each piece of performance information MP or may be stored at a musical factor change point in the middle of the performance information MP. .

【0016】上記CD−ROM8の先頭の論理セクタに
は、ボリュームディスクリプタVDが記憶されている。
このボリュームディスクリプタVDは、ボリュームネー
ムデータVN、ディレクトリデータDRからなってい
る。ボリュームネームデータVNは、CD−ROM8の
記憶形式等のメモリの種類を示す。
In the first logical sector of the CD-ROM 8, a volume descriptor VD is stored.
This volume descriptor VD is composed of volume name data VN and directory data DR. The volume name data VN indicates the type of memory such as the storage format of the CD-ROM 8.

【0017】ディレクトリデータDRは、上記各演奏情
報MP、コントロール情報CT及び各楽音波形データM
Wについてのファイルネーム、ファイルサイズ及び先頭
セクタナンバ、演奏情報MPの全曲数データSNRから
なっている。上記ファイルネームは、演奏情報MPにつ
いてはソングネームを示し、楽音波形データMWについ
てはトーンナンバデータTNを示し、コントロール情報
CTについてはその種類を示す。
The directory data DR includes the performance information MP, the control information CT, and the musical tone waveform data M.
The W includes a file name, a file size, a leading sector number, and a total number of pieces of music data SNR of the performance information MP. The file name indicates the song name for the performance information MP, the tone number data TN for the musical tone waveform data MW, and the type of the control information CT.

【0018】上記CD−ROM8は、CDドラインバ9
によってドライブされ、上記各種情報が読み出され、C
Dインターフェイス10を介して、バスラインに送り出
される。またMIDIインターフェイス11を介して、
演奏情報MPがバスラインに送り出される。この演奏情
報MPは、上記CD−ROM8の演奏情報MPと同じで
ある。上記CDインターフェイス10は、非同期シリア
ルタイプのものであるが、同期式、パラレルタイプのも
のでもよい。
The CD-ROM 8 has a CD driver 9
, And the various types of information described above are read out.
The data is sent out to the bus line via the D interface 10. Also, via the MIDI interface 11,
Performance information MP is sent out to the bus line. The performance information MP is the same as the performance information MP on the CD-ROM 8. The CD interface 10 is of the asynchronous serial type, but may be of the synchronous or parallel type.

【0019】上記CD−ROM8より読み出された楽音
波形データMWは、すべてCPU5によって楽音波形ス
トックメモリ12へロードされる。また、CD−ROM
8より読み出された演奏情報MP及びMIDIインター
フェイス11を介して送られてきた演奏情報MPは、C
PU5によって演奏情報メモリ13へロードされる。さ
らに、CD−ROM8より読み出されたコントロール情
報CTは、CPU5によってコントロールメモリ14へ
ロードされる。上記MIDIインターフェイス11は、
MIDIタイプ以外のものであってもよい。
The tone waveform data MW read from the CD-ROM 8 is all loaded into the tone waveform stock memory 12 by the CPU 5. CD-ROM
8 and the performance information MP sent via the MIDI interface 11
It is loaded into the performance information memory 13 by the PU5. Further, the control information CT read from the CD-ROM 8 is loaded into the control memory 14 by the CPU 5. The MIDI interface 11
Other than the MIDI type may be used.

【0020】上記楽音波形ストックメモリ12の楽音波
形データMWは、さらにCPU5によって選択されたも
のが、トーンジェネレータ15の楽音波形メモリ16に
さらにロードされる。また、演奏情報メモリ13の演奏
情報MP(トーンナンバデータTN、キーオン/オフデ
ータ、音高(キーナンバ)データ)、またはコントロー
ルメモリ14のコントロール情報CT(エンベロープ波
形データ、タッチデータ、キースケーリングデータ)
は、楽音波形読出回路17へ送られ、対応する楽音波形
データMWが楽音波形メモリ16より読み出される。
The tone waveform data MW of the tone waveform stock memory 12 selected by the CPU 5 is further loaded into the tone waveform memory 16 of the tone generator 15. Also, performance information MP (tone number data TN, key on / off data, pitch (key number) data) in the performance information memory 13 or control information CT (envelope waveform data, touch data, key scaling data) in the control memory 14.
Is sent to the musical tone waveform readout circuit 17, and the corresponding musical tone waveform data MW is read out from the musical tone waveform memory 16.

【0021】さらに、演奏情報メモリ13の演奏情報M
P(キーオン/オフデータ)、またはコントロールメモ
リ14のコントロール情報CT(エンベロープ波形デー
タ、タッチデータ、キースケーリングデータ)は、エン
ベロープジェネレータ18へ送られ、対応するエンベロ
ープ波形データENが生成される。
Further, the performance information M in the performance information memory 13 is stored.
P (key on / off data) or control information CT (envelope waveform data, touch data, key scaling data) of the control memory 14 is sent to the envelope generator 18 and corresponding envelope waveform data EN is generated.

【0022】上記楽音波形データMW及びエンベロープ
波形データENは、乗算器19で乗算され、累算器20
で累算され、サウンドシステム21で発音される。上記
楽音波形読出回路17及びエンベロープジェネレータ1
8には、複数チャンネル分の楽音生成系が時分割処理に
より形成されており、楽音がポリフォニックに発音され
る。LCD23には、LCDドライバ24を介し、上記
RAM6内の各種データが送られて表示される。
The musical tone waveform data MW and the envelope waveform data EN are multiplied by a multiplier 19 and the accumulator 20.
And the sound is generated by the sound system 21. The above tone waveform readout circuit 17 and envelope generator 1
In FIG. 8, a tone generation system for a plurality of channels is formed by time division processing, and the tone is generated polyphonically. Various data in the RAM 6 is sent to and displayed on the LCD 23 via the LCD driver 24.

【0023】CPU5には、一定周期のクロック信号φ
がアンドゲートANを介して供給され、インタラプト処
理が行われる。上記アンドゲートANには、タイムカウ
ントラッチ25からの1ビットデータが開成信号として
供給される。この1ビットデータは、CPU5から出力
される。
The CPU 5 has a clock signal φ having a constant period.
Is supplied via an AND gate AN, and an interrupt process is performed. The 1-bit data from the time count latch 25 is supplied to the AND gate AN as an opening signal. This 1-bit data is output from the CPU 5.

【0024】2.楽音波形データMW 図2は、CD−ROM8、楽音波形ストックメモリ1
2、楽音波形メモリ16に記憶される楽音波形データM
Wを示している。楽音波形データMWは、ピアノ、バイ
オリン、フルート、シンバル等の楽器音の波形のサンプ
リングデータである。この楽音波形データMWは、サイ
ン波、三角波、短形波等の波形に対応したり、高調波成
分の含有率やノイズ音成分の含有率等、特定成分の含有
率の大きさに対応したり、特定フォルマントに応じたス
ペクトル成分グループに対応したり、発音開始から発音
終了までの全波形の種類に対応したり、タッチデータま
たは/及びキーナンバデータに対応したりしてもよい。
[0024] 2. Musical tone waveform data MW Figure 2, CD-ROM 8, the musical tone waveform stock memory 1
2. Music waveform data M stored in the music waveform memory 16
W is shown. The musical sound waveform data MW is sampling data of a waveform of a musical instrument sound such as a piano, a violin, a flute, and a cymbal. The musical tone waveform data MW corresponds to a waveform such as a sine wave, a triangular wave, and a square wave, and corresponds to a magnitude of a specific component content such as a harmonic component content and a noise sound component content. It may correspond to a spectrum component group corresponding to a specific formant, correspond to all types of waveforms from the start of sound generation to the end of sound generation, or correspond to touch data and / or key number data.

【0025】また、楽音波形ストックメモリ12は省略
して、直接CD−ROM8から楽音波形メモリ16へ楽
音波形データMWを選択してロードしてもよい。さら
に、楽音波形ストックメモリ12を楽音波形メモリ16
に入れ換えて、楽音の発音のときには、楽音波形読出回
路17から上記入れ換えた楽音波形メモリ16に対して
読み出しが行われるようにしてもよい。
The tone waveform stock memory 12 may be omitted, and tone waveform data MW may be directly selected and loaded from the CD-ROM 8 to the tone waveform memory 16. Further, the musical tone waveform memory 16 is stored in the musical tone waveform memory 16.
In the case of generating a musical tone, the musical tone waveform reading circuit 17 may read the musical tone waveform memory 16 which has been exchanged.

【0026】このほか、楽音の発音のときに、直接CD
−ROM8から楽音波形データMWが読み出されてもよ
い。この場合、CD−ROM8として読み出し時間の高
速なROM/RAMカードを使うことになる。また、楽
音波形メモリ16へCD−ROM8のすべての楽音波形
データMWをロードするようにしてもよい。
In addition to the above, when a musical sound is produced,
-The tone waveform data MW may be read from the ROM 8. In this case, a ROM / RAM card with a high read time is used as the CD-ROM 8. Alternatively, all the tone waveform data MW of the CD-ROM 8 may be loaded into the tone waveform memory 16.

【0027】3.パネルスイッチ群3 図3は、パネルスイッチ群3及びLCD23を示す。こ
のパネルスイッチ群3には、ロードキー31、音色選択
キー32、選曲キー33、プレイキー34、ストップキ
ー35、オープンキー36、クローズキー37、ディス
クホルダ38が設けられている。ロードキー31は、C
D−ROM8から楽音波形ストックメモリ12への楽音
波形データMWのロード、または楽音波形ストックメモ
リ12から楽音波形メモリ16への楽音波形データMW
のロードを指示するキーである。
[0027] 3. Panel Switch Group 3 FIG. 3 shows the panel switch group 3 and the LCD 23. The panel switch group 3 is provided with a load key 31, a tone selection key 32, a music selection key 33, a play key 34, a stop key 35, an open key 36, a close key 37, and a disk holder 38. The load key 31 is C
Loading of tone waveform data MW from the D-ROM 8 to the tone waveform stock memory 12 or tone waveform data MW from the tone waveform stock memory 12 to the tone waveform memory 16
Key to instruct the loading of

【0028】音色選択キー32は、音色(トーンナンバ
データTN)を選択するためのキーであり、楽音波形メ
モリ16内の楽音波形データMWが選択される。この音
色選択キー32は、“0”→“1”→“2”…→“0”
→“1”…とリング動作をし、トーンナンバデータTN
が選択される。しかし、楽音波形メモリ16に記憶され
ていない楽音波形データMWのトーンナンバデータTN
については飛び越してリング動作される。この音色選択
キー32のほか、上記ロードキー31も、演奏楽音の音
色を選択、変更する機能を有する。
The tone color selection key 32 is a key for selecting a tone color (tone number data TN), and the tone waveform data MW in the tone waveform memory 16 is selected. The tone color selection key 32 is "0" → "1" → "2" ... → "0"
→ Performs a ring operation with "1" ... and generates tone number data TN
Is selected. However, tone number data TN of tone waveform data MW not stored in tone waveform memory 16
About the jumping ring operation. In addition to the timbre selection key 32, the load key 31 also has a function of selecting and changing the timbre of the performance musical tone.

【0029】選曲キー33は、演奏情報メモリ13内の
複数曲の演奏情報MPを選択するためのキーである。プ
レイキー34は、上記選曲した演奏情報MPについて、
自動演奏をスタートさせるためのキーである。ストップ
キー35は、上記自動演奏をストップさせるためのキー
である。
The music selection key 33 is a key for selecting a plurality of pieces of performance information MP in the performance information memory 13. The play key 34 is used for the selected music information MP.
This key is used to start automatic performance. The stop key 35 is a key for stopping the automatic performance.

【0030】オープンキー36は、ディスクホルダ38
の蓋を開け、クローズキー37は、ディスクホルダ38
の蓋を閉じるためのキーである。ディスクホルダ38か
らは、上記CD−ROM8が入れられたり出されたりす
る。ディスクホルダ38内には、CD−ROM8の装着
/非装着を検出するための検出スイッチが内蔵され、ま
たディスクホルダ38の開閉機構も内蔵されている。L
CD23には、上記音色選択キー32によって選択され
たトーンナンバデータTN、選曲キー33によって選択
された曲ナンバ及びソングネーム等が表示される。この
音色選択キー32、選曲キー33はテンキー等で代用し
てもよい。
The open key 36 is a disk holder 38
, And the close key 37 is
Key to close the lid. From the disk holder 38, the CD-ROM 8 is inserted and removed. In the disk holder 38, a detection switch for detecting the mounting / non-mounting of the CD-ROM 8 is incorporated, and an opening / closing mechanism for the disk holder 38 is also incorporated. L
On the CD 23, the tone number data TN selected by the tone color selection key 32, the song number and song name selected by the song selection key 33 are displayed. The tone color selection key 32 and the music selection key 33 may be replaced with ten keys or the like.

【0031】4.ワーキングメモリ22 図4は、RAM6内のワーキングメモリ22を示す。こ
のワーキングメモリ22には、図4に示す各種レジス
タ、各種カウンタ、各種ポインタ及び各種テーブルが形
成されている。
[0031] 4. Working Memory 22 FIG. 4 shows the working memory 22 in the RAM 6. In the working memory 22, various registers, various counters, various pointers, and various tables shown in FIG. 4 are formed.

【0032】モードフラグレジスタ41には、電子楽器
の動作モードを示すモードフラグデータが記憶される。
このモードフラグデータは、演奏情報MPのバーマーク
データBMが続けて読み出されたか/否か(第2ビット
目)、CD−ROM8の装着/非装着(第3ビット
目)、ディスクホルダ38のオープン/クローズ(第4
ビット目)、コントロール情報CTの有/無(第5ビッ
ト目)、CD−ROM8の読み出し/非読み出し(第6
ビット目)、自動演奏実行/非実行(第7ビット目)、
楽音波形データMWのロード/非ロード(第8ビット
目)等である。
The mode flag register 41 stores mode flag data indicating the operation mode of the electronic musical instrument.
The mode flag data indicates whether or not the bar mark data BM of the performance information MP has been continuously read (second bit), whether or not the CD-ROM 8 has been mounted (the third bit), and whether or not the disk holder 38 has been read. Open / Close (4th
Bit), presence / absence of control information CT (fifth bit), reading / non-reading of CD-ROM 8 (sixth bit)
Bit), automatic performance execution / non-execution (bit 7),
Loading / non-loading of the musical tone waveform data MW (eighth bit).

【0033】ディレクトリテーブル42には、上記ボリ
ュームディスクリプタVD、すなわちボリュームネーム
データVN、ディレクトリデータDRが記憶される。こ
の記憶されるディレクトリデータDRは、上記各演奏情
報MP、各コントロール情報CT及び各楽音波形データ
MWについてのファイルネーム、ファイルサイズ及び先
頭セクタナンバであり、演奏情報MPの全曲数データS
NRは除外される。このほか、上記ボリュームディスク
リプタVDの記憶されているCD−ROM8の論理セク
タのナンバも記憶される。
The directory table 42 stores the volume descriptor VD, that is, volume name data VN and directory data DR. The stored directory data DR is a file name, a file size, and a head sector number for each of the performance information MP, each control information CT, and each musical sound waveform data MW.
NR is excluded. In addition, the number of the logical sector of the CD-ROM 8 in which the volume descriptor VD is stored is also stored.

【0034】ソングナンバレジスタ43には、上記演奏
情報MPの全曲数データSNRが記憶される。ソングテ
ーブル44には、上記各演奏情報MPのソングネームと
演奏情報メモリ13の各曲の記憶先頭アドレスデータと
が組み合わされて記憶される。
The song number register 43 stores the total song number data SNR of the performance information MP. The song table 44 stores the song name of each piece of the performance information MP and the storage start address data of each piece of music in the performance information memory 13 in combination.

【0035】カレントソングレジスタ45には、自動演
奏される演奏情報MPのソングナンバデータ、すなわち
再生曲番データCSNが記憶される。イベントアドレス
レジスタ46には、上記演奏情報メモリ13の読み出し
アドレスデータEADが記憶される。ステータスレジス
タ47には、演奏情報メモリ13から読み出されたイベ
ントデータEBのステータスデータSSが記憶され、パ
ラメータレジスタ48には、演奏情報メモリ13から読
み出されたイベントデータEBのパラメータデータPR
が記憶され、ステップレジスタ49には、演奏情報メモ
リ13から読み出されたイベントデータEBのステップ
タイムデータSTが記憶される。
The current song register 45 stores song number data of performance information MP to be automatically played, that is, reproduced music number data CSN. The event address register 46 stores the read address data EAD of the performance information memory 13. The status register 47 stores the status data SS of the event data EB read from the performance information memory 13, and the parameter register 48 stores the parameter data PR of the event data EB read from the performance information memory 13.
Is stored in the step register 49, and the step time data ST of the event data EB read from the performance information memory 13 is stored in the step register 49.

【0036】トーンテーブル50には、上記各楽音波形
データMWのトーンナンバデータTNと楽音波形ストッ
クメモリ12または楽音波形メモリ16の各楽音波形デ
ータMWの記憶先頭アドレスデータとが組み合わされて
記憶される。このトーンテーブル50は、2つ設けられ
ている。カレントトーンレジスタ51には、上記トーン
テーブル50内の発音される楽音のトーンナンバデータ
TNを指定するポイントデータが記憶される。このカレ
ントトーンレジスタ51は、複数として、異なる音色の
楽音を同時に発音させることも可能である。このテーブ
ル50は、コントロールメモリ14のコントロール情報
CTについても設けることもできる。
In the tone table 50, the tone number data TN of each tone waveform data MW and the leading address data of each tone waveform data MW of the tone waveform stock memory 12 or tone waveform memory 16 are stored in combination. . Two tone tables 50 are provided. The current tone register 51 stores point data for specifying tone number data TN of a tone to be generated in the tone table 50. The plurality of current tone registers 51 can simultaneously produce musical tones of different timbres. This table 50 can also be provided for the control information CT of the control memory 14.

【0037】トーンナンバレジスタ52には、全音色数
データATNが記憶され、この上記全音色数データAT
Nは、トーンテーブル50に記憶されたトーンナンバデ
ータTNの総数、すなわち楽音波形メモリ16または楽
音波形ストックメモリ12に記憶されている楽音波形デ
ータMWの総数を示す。このトーンナンバレジスタ52
は、上記2つのトーンテーブル50、50に対応して2
つ設けられている。
The tone number register 52 stores the total tone color data ATN.
N indicates the total number of tone number data TN stored in the tone table 50, that is, the total number of tone waveform data MW stored in the tone waveform memory 16 or the tone waveform stock memory 12. This tone number register 52
Is 2 corresponding to the two tone tables 50, 50.
One is provided.

【0038】リードアドレスレジスタ53には、上記楽
音波形ストックメモリ12、楽音波形メモリ16または
CD−ROM8の読み出しアドレスデータが記憶され
る。ライトアドレスレジスタ54には、上記楽音波形ス
トックメモリ12または楽音波形メモリ16の書き込み
アドレスデータが記憶される。エンドアドレスレジスタ
55には、上記楽音波形ストックメモリ12または楽音
波形メモリ16の読み出しエリアの最後のアドレスデー
タが記憶される。
The read address register 53 stores the read address data of the tone waveform stock memory 12, the tone waveform memory 16, or the CD-ROM 8. The write address register 54 stores the write address data of the tone waveform stock memory 12 or tone waveform memory 16. The end address register 55 stores the last address data of the read area of the tone waveform stock memory 12 or tone waveform memory 16.

【0039】タイムカウンタ56は、上記クロック信号
φがハイレベルになるごとにCPU5によって+1さ
れ、タイムカウントデータTCのカウントが行われる。
テンポビートレジスタ57には、テンポと拍子に応じた
テンポビートデータTBが記憶される。このテンポビー
トデータTBは、上記ステップタイムデータSTの最大
値に等しく、上記タイムカウントデータTCがテンポビ
ートデータTBに一致すると、タイムカウントデータT
Cはクリアされる。
The time counter 56 is incremented by 1 each time the clock signal φ goes high, and the time count data TC is counted.
The tempo beat register 57 stores tempo beat data TB corresponding to the tempo and the time signature. The tempo beat data TB is equal to the maximum value of the step time data ST. When the time count data TC matches the tempo beat data TB, the time count data TB
C is cleared.

【0040】受信バッファ58には、上記MIDIイン
ターフェイス10を介して送られてきた演奏情報MPが
一時記憶される。この受信バッファ58の演奏情報MP
は順次確定バッファ59へ転送される。
The reception buffer 58 temporarily stores the performance information MP sent via the MIDI interface 10. The performance information MP of the reception buffer 58
Are sequentially transferred to the determination buffer 59.

【0041】5.メインルーチン 図5は、CPU5が実行するメインルーチンのフローチ
ャートを示す。この処理は、電源投入により開始され
る。まず、RAM6、ワーキングメモリ22、楽音波形
ストックメモリ12、演奏情報メモリ13、コントロー
ルメモリ14、楽音波形メモリ16がクリアされ、各種
イニシャライズ処理が行われる(ステップ01)。パネ
ルスイッチ群3のキー31〜37のキーオンイベントが
検出されると(ステップ02)、このイベントに係るキ
ーが何であるかが判別される(ステップ03)。
[0041] 5. Main Routine FIG. 5 shows a flowchart of a main routine executed by the CPU 5. This process is started when the power is turned on. First, the RAM 6, the working memory 22, the musical tone waveform stock memory 12, the performance information memory 13, the control memory 14, and the musical tone waveform memory 16 are cleared, and various initialization processes are performed (step 01). When a key-on event of the keys 31 to 37 of the panel switch group 3 is detected (step 02), it is determined what the key related to this event is (step 03).

【0042】イベントに係るキーがロードキー31であ
れば、ロード処理が行われ(ステップ04)、イベント
に係るキーが音色選択キー32であれば、音色選択処理
が行われ(ステップ05)、イベントに係るキーが選曲
キー33であれば、選曲処理が行われ(ステップ0
6)、イベントに係るキーがプレイキー34であれば、
プレイ処理が行われ(ステップ07)、イベントに係る
キーがストップキー35であれば、ストップ処理が行わ
れ(ステップ08)、イベントに係るキーがオープンキ
ー36であれば、オープン処理が行われ(ステップ0
9)、イベントに係るキーがクローズキー37であれ
ば、クローズ処理が行われる(ステップ10)。
If the key related to the event is the load key 31, the loading process is performed (step 04). If the key related to the event is the tone color selection key 32, the tone color selecting process is performed (step 05). Is a music selection key 33, music selection processing is performed (step 0).
6) If the key related to the event is the play key 34,
Play processing is performed (step 07). If the key related to the event is the stop key 35, stop processing is performed (step 08). If the key related to the event is the open key 36, the open processing is performed (step 08). Step 0
9) If the key related to the event is the close key 37, a close process is performed (step 10).

【0043】そして、演奏情報MP再生処理が行われ
(ステップ11)、演奏情報MP送受処理が行われる
(ステップ12)。上記ステップ04〜12の各処理は
次述する。
Then, performance information MP reproduction processing is performed (step 11), and performance information MP transmission / reception processing is performed (step 12). The processes in steps 04 to 12 will be described below.

【0044】6.オープン処理 図6は、上記ステップ09のディスクホルダ38のオー
プン処理を示す。この処理では、モードフラグレジスタ
41が第4ビット目以降が“00…0”で、何らかの処
理が実行中でなければ(ステップ21)、ディスクホル
ダ38の開閉機構にオープンの指令が送られ(ステップ
22)、モードフラグレジスタ41の第4ビット目が
“1”とされて、ディスクホルダ38のオープン状態が
記憶される(ステップ23)。
6 Open Process FIG. 6 shows the open process of the disk holder 38 in step 09 described above. In this process, if the fourth bit and subsequent bits of the mode flag register 41 are “00... 0” and some process is not being executed (step 21), an open command is sent to the opening / closing mechanism of the disk holder 38 (step 21). 22), the fourth bit of the mode flag register 41 is set to "1", and the open state of the disk holder 38 is stored (step 23).

【0045】7.クローズ処理 図7は、上記ステップ10のディスクホルダ38のクロ
ーズ処理を示す。この処理では、モードフラグレジスタ
41の第4ビット目が“1”でディスクホルダ38がオ
ープン状態であれば(ステップ31)、ディスクホルダ
38の開閉機構にクローズの指令が送られ(ステップ3
2)、CD−ROM8の検出スイッチにスキャン信号が
送られる(ステップ33)。
[0045] 7. Closing Process FIG. 7 shows the closing process of the disk holder 38 in the step 10 described above. In this process, if the fourth bit of the mode flag register 41 is "1" and the disk holder 38 is open (step 31), a close command is sent to the opening / closing mechanism of the disk holder 38 (step 3).
2) A scan signal is sent to the detection switch of the CD-ROM 8 (step 33).

【0046】この検出スイッチからの信号が“1”で、
CD−ROM8が装着されていれば(ステップ34)、
モードフラグレジスタ41の第3ビット目が“1”とさ
れて、CD−ROM8の装着状態が記憶され(ステップ
35)、情報ロード処理が行われる(ステップ36)。
上記検出スイッチからの信号が“0”で、CD−ROM
8が装着されていなければ(ステップ34)、モードフ
ラグレジスタ41の第3ビット目が“0”とされる(ス
テップ37)。
When the signal from the detection switch is "1",
If the CD-ROM 8 is loaded (step 34),
The third bit of the mode flag register 41 is set to "1", the mounted state of the CD-ROM 8 is stored (step 35), and information loading processing is performed (step 36).
When the signal from the detection switch is "0", the CD-ROM
If 8 is not mounted (step 34), the third bit of the mode flag register 41 is set to "0" (step 37).

【0047】8.情報ロード処理 図8は、上記ステップ36のCD−ROM8の情報ロー
ド処理のフローチャートを示す。この処理では、モード
フラグレジスタ41の第6ビット目が“1”とされて、
CD−ROM8の読み出し状態が記憶され(ステップ4
1)、CDインターフェイス10を通じてCD−ROM
8の論理セクタのボリュームディスクリプタVDが読み
出され(ステップ42)、このボリュームディスクリプ
タVDのボリュームネームデータVNに基づき、このC
D−ROM8のタイプが本電子楽器に合致するか否か判
別される(ステップ43)。
[0047] 8. Information Loading Process FIG. 8 is a flowchart of the information loading process of the CD-ROM 8 in step 36 described above. In this process, the sixth bit of the mode flag register 41 is set to “1”, and
The read state of the CD-ROM 8 is stored (step 4).
1), CD-ROM through the CD interface 10
The volume descriptor VD of the logical sector No. 8 is read (step 42), and based on the volume name data VN of this volume descriptor VD, this C
It is determined whether the type of the D-ROM 8 matches the present electronic musical instrument (step 43).

【0048】合致していれば、さらにCD−ROM8の
論理セクタのディレクトリデータDRが読み出され、ワ
ーキングメモリ22のディレクトリテーブル42にロー
ドされる(ステップ44)。次いで、CD−ROM8の
1番目の楽音波形データMWが読み出されて楽音波形ス
トックメモリ12へロードされ(ステップ45)、この
楽音波形ストックメモリ12のロード先の先頭アドレス
データとトーンナンバデータTNとがトーンテーブル5
0に書き込まれる(ステップ46)。
If they match, the directory data DR of the logical sector of the CD-ROM 8 is read out and loaded into the directory table 42 of the working memory 22 (step 44). Next, the first tone waveform data MW of the CD-ROM 8 is read and loaded into the tone waveform stock memory 12 (step 45), and the head address data and tone number data TN of the loading destination of the tone waveform stock memory 12 are stored. Is tone table 5
It is written to 0 (step 46).

【0049】このステップ45、46の楽音波形データ
MWのロード処理は、CD−ROM8の全楽音波形デー
タMWについて繰り返される(ステップ47)。上記ト
ーンナンバナンバデータTNは、上記ディレクトリテー
ブル42のファイルネームが転用される。こうして、デ
ィスクホルダ38を閉じるだけで、自動的にCD−RO
M8の楽音波形データMWが電子楽器内部の楽音波形ス
トックメモリ12にロードされる。
The loading processing of the musical tone waveform data MW in steps 45 and 46 is repeated for all musical tone waveform data MW in the CD-ROM 8 (step 47). As the tone number data TN, the file name of the directory table 42 is used. In this way, just closing the disc holder 38 automatically generates the CD-RO
The tone waveform data MW of M8 is loaded into the tone waveform stock memory 12 inside the electronic musical instrument.

【0050】そして、CD−ROM8のコントロール情
報CTが読み出され、コントロールメモリ14へロード
され(ステップ48)、ディレクトリテーブル42の上
記ディレクトリデータDRの中の全曲数データSNRが
ソングナンバレジスタ43にロードされる(ステップ4
9)。この場合、上記ステップ46、47と同じ処理を
コントロール情報CTについて行ってもよい。
Then, the control information CT of the CD-ROM 8 is read and loaded into the control memory 14 (step 48), and the total number-of-songs data SNR in the directory data DR of the directory table 42 is loaded into the song number register 43. (Step 4
9). In this case, the same processing as steps 46 and 47 may be performed on the control information CT.

【0051】次いで、CD−ROM8の1番目の演奏情
報MPが読み出されて演奏情報メモリ13へロードされ
(ステップ50)、この演奏情報メモリ13のロード先
の先頭アドレスデータとソングネームとがソングテーブ
ル44に書き込まれる(ステップ51)。このステップ
50、51の演奏情報MPのロード処理は、CD−RO
M8の全演奏情報MPについて繰り返される(ステップ
52)。上記ソングネームは、上記ディレクトリテーブ
ル42のファイルネームが転用される。
Next, the first performance information MP on the CD-ROM 8 is read and loaded into the performance information memory 13 (step 50), and the head address data and the song name of the load destination of the performance information memory 13 are stored in the song. The data is written to the table 44 (step 51). The loading process of the performance information MP in steps 50 and 51 is performed by the CD-RO
This is repeated for all the performance information MP of M8 (step 52). As the song name, the file name of the directory table 42 is used.

【0052】この後、モードフラグレジスタ41の第5
ビット目が“1”とされて、コントロール情報CTの有
状態が記憶され(ステップ53)、モードフラグレジス
タ41の第6ビット目が“0”とされて、CD−ROM
8の非読み出し状態が記憶される(ステップ54)。
Thereafter, the fifth flag of the mode flag register 41
The bit is set to "1", the existence state of the control information CT is stored (step 53), the sixth bit of the mode flag register 41 is set to "0", and the CD-ROM
8 are stored (step 54).

【0053】9.プレイ処理 図9は、上記ステップ07の自動演奏のプレイ処理のフ
ローチャートを示す。この処理では、モードフラグレジ
スタ41の第6ビット目、第7ビット目及び第8ビット
目が“000”で、CD−ROM8の読み出し中でな
く、自動演奏も行われておらず、さらに楽音波形データ
MWのロードも行われておらず(ステップ61)、モー
ドフラグレジスタ41の第5ビット目が“1”で、コン
トロール情報CTがコントロールメモリ14に記憶され
ていれば(ステップ62)、モードフラグレジスタ41
の第7ビット目が“1”とされて、自動演奏モードとさ
れる(ステップ63)。
9. Play Processing FIG. 9 shows a flowchart of the play processing of the automatic performance in the step 07. In this processing, the sixth, seventh, and eighth bits of the mode flag register 41 are "000", the CD-ROM 8 is not being read, no automatic performance is performed, and If the data MW is not loaded (step 61), the fifth bit of the mode flag register 41 is "1", and the control information CT is stored in the control memory 14 (step 62), the mode flag Register 41
Is set to "1" to set the automatic performance mode (step 63).

【0054】次いで、カレントソングレジスタ45の再
生曲番データCSNに応じた曲の演奏情報MPの先頭ア
ドレスデータがソングテーブル44より読み出されてイ
ベントアドレスレジスタ46に書き込まれる(ステップ
64)。さらにこの先頭アドレスデータに対応する演奏
情報メモリ13内の演奏情報MPのステータスデータS
Sが読み出されてステータスレジスタ47に書き込まれ
(ステップ65)、上記演奏情報MPのパラメータデー
タPRが読み出されてパラメータレジスタ48に書き込
まれ(ステップ66)、上記演奏情報MPのステップタ
イムデータSTが読み出されてステップレジスタ49に
書き込まれる(ステップ67)。
Next, the head address data of the music performance information MP corresponding to the reproduction music number data CSN of the current song register 45 is read from the song table 44 and written into the event address register 46 (step 64). Further, the status data S of the performance information MP in the performance information memory 13 corresponding to the head address data.
S is read and written into the status register 47 (step 65), the parameter data PR of the performance information MP is read and written into the parameter register 48 (step 66), and the step time data ST of the performance information MP is read. Is read and written into the step register 49 (step 67).

【0055】そして、タイムカウンタ55がクリアされ
(ステップ68)、テンポビートレジスタ56にテンポ
ビートデータTBが書き込まれ(ステップ69)、タイ
ムカウントラッチ25に“1”のデータがセットされる
(ステップ70)。これにより、自動演奏のためのタイ
ムカウントが開始され、自動演奏も開始される。
Then, the time counter 55 is cleared (step 68), tempo beat data TB is written in the tempo beat register 56 (step 69), and "1" data is set in the time count latch 25 (step 70). ). Thereby, the time count for the automatic performance is started, and the automatic performance is also started.

【0056】10.ストップ処理 図10は、上記ステップ08の自動演奏のストップ処理
のフローチャートを示す。この処理では、モードフラグ
レジスタ41の第7ビット目が“1”で、自動演奏中で
あれば(ステップ75)、タイムカウントラッチ25の
データが“0”にクリアされ(ステップ76)、上記モ
ードフラグレジスタ41の第7ビット目もクリアされる
(ステップ77)。こうして、自動演奏が停止される。
10. Stop Processing FIG. 10 shows a flowchart of the automatic performance stop processing in step 08 described above. In this processing, if the seventh bit of the mode flag register 41 is "1" and the automatic performance is being performed (step 75), the data of the time count latch 25 is cleared to "0" (step 76). The seventh bit of the flag register 41 is also cleared (step 77). Thus, the automatic performance is stopped.

【0057】11.選曲処理 図11は、上記ステップ06の選曲処理のフローチャー
トを示す。この処理では、モードフラグレジスタ41の
第7ビット目が“0”で、自動演奏中でなければ(ステ
ップ81)、カレントソングレジスタ45の再生曲番デ
ータCSNが+1される(ステップ82)。この+1に
よって再生曲番データCSNの値が全曲数データSNR
の値を越えれば(ステップ83)、再生曲番データCS
Nの値が“1”にリセットされる(ステップ84)。こ
の再生曲番データCSNは、LCDドライバ24を介し
てLCD23へ送られ表示される。こうして、選曲キー
33を操作するだけで自動演奏する曲を選択することが
できる。
11. Music selection process 11 is a flowchart of music selection process in step 06. In this process, if the seventh bit of the mode flag register 41 is "0" and automatic performance is not being performed (step 81), the reproduction music number data CSN of the current song register 45 is incremented by 1 (step 82). By this +1 the value of the reproduction music number data CSN is changed to the total music number data SNR.
(Step 83), the reproduction music number data CS
The value of N is reset to "1" (step 84). The playback music number data CSN is sent to the LCD 23 via the LCD driver 24 and displayed. In this manner, a song to be automatically played can be selected only by operating the song selection key 33.

【0058】次いで、上記+1された再生曲番データC
SNに応じた演奏情報メモリ13の演奏情報MP内のト
ーンナンバデータTNがサーチされる(ステップ8
5)。エンドマークデータEDの前に、トーンナンバデ
ータTNが発見されれば(ステップ86)、このトーン
ナンバデータTNと同じデータが、楽音波形メモリ16
に関するトーンテーブル50に記憶されているか否かが
判別される(ステップ87)。
Next, the reproduction music number data C obtained by adding 1
The tone number data TN in the performance information MP of the performance information memory 13 corresponding to the SN is searched (step 8).
5). If the tone number data TN is found before the end mark data ED (step 86), the same data as the tone number data TN is stored in the tone waveform memory 16.
It is determined whether the tone table 50 is stored in the tone table 50 (step 87).

【0059】記憶されていなければ、上記トーンナンバ
データTNがカレントトーンレジスタ51にセットされ
(ステップ88)、ライトアドレスレジスタ53に楽音
波形メモリ16の空きエリアの先頭アドレスデータがセ
ットされて(ステップ89)、後述するステップ151
〜160の楽音波形データMWのロード処理が行われる
(ステップ90)。
If not, the tone number data TN is set in the current tone register 51 (step 88), and the head address data of the free area of the tone waveform memory 16 is set in the write address register 53 (step 89). ), Step 151 described later.
Load processing of the musical tone waveform data MW of .about.160 is performed (step 90).

【0060】こうして、自動演奏にあたって、この自動
演奏の音色に応じた楽音波形データMWが楽音波形メモ
リ16に記憶されていなければ、必要な楽音波形データ
MWが楽音波形メモリ16に自動的にロードされる。な
お、パネルスイッチ群3内にセットキーを設け、上記選
曲キー33の操作による選曲を確定してもよい。この場
合、上記ステップ84とステップ85の間において、こ
のセットキーのオンを判別し、NOならばステップ81
へ戻り、YESならばステップ85へ進む。
As described above, in the automatic performance, if the musical tone waveform data MW corresponding to the tone of the automatic performance is not stored in the musical tone waveform memory 16, the necessary musical tone waveform data MW is automatically loaded into the musical tone waveform memory 16. You. Note that a set key may be provided in the panel switch group 3 to determine the music selection by operating the music selection key 33. In this case, between steps 84 and 85, it is determined whether the set key is turned on.
Return to step 85, and proceed to step 85 if YES.

【0061】また、上述したステップ85〜90の自動
演奏における楽音波形データMWの自動ロード処理は、
上述のプレイ処理のステップ61の前で行ってもよい。
さらに、ステップ85〜90の自動演奏における楽音波
形データMWの自動ロード処理は、CD−ROM8と楽
音波形メモリ16との間、またはCD−ROM8と楽音
波形ストックメモリ12との間で実行されてもよい。こ
のほか、ステップ85〜90の自動演奏における楽音波
形データMWの自動ロード処理は、コントロール情報C
Tについて行うこともできる。この場合、処理の対象は
トーンナンバデータTNの代わりにコントロール情報C
Tを指定するデータとなる。
The automatic loading process of the musical tone waveform data MW in the automatic performance in the steps 85 to 90 is as follows.
It may be performed before step 61 of the play processing described above.
Further, the automatic loading processing of the musical tone waveform data MW in the automatic performance in steps 85 to 90 may be executed between the CD-ROM 8 and the musical tone waveform memory 16 or between the CD-ROM 8 and the musical tone waveform stock memory 12. Good. In addition, the automatic loading process of the musical tone waveform data MW in the automatic performance of steps 85 to 90 is performed by the control information C
It can also be done for T. In this case, the processing target is the control information C instead of the tone number data TN.
The data specifies T.

【0062】12.演奏情報MP再生処理 図12は、上記ステップ11の演奏情報MP再生処理の
フローチャートを示す。この処理では、モードフラグレ
ジスタ41の第7ビット目が“1”で、自動演奏中であ
り(ステップ91)、しかもモードフラグレジスタ41
の第2ビット目が“1”で2つ以上のバーマークが続け
て読み出されていなければ(ステップ92)、タイムカ
ウンタ56のタイムカウントデータTCがステップレジ
スタ49のステップタイムデータSTに達しているか否
かが判別される(ステップ93)。
[0062] 12. Performance Information MP Reproduction Process FIG. 12 is a flowchart of the performance information MP reproduction process of the step 11. In this processing, the seventh bit of the mode flag register 41 is "1", and the automatic performance is being performed (step 91).
If the second bit is "1" and two or more bar marks are not continuously read (step 92), the time count data TC of the time counter 56 reaches the step time data ST of the step register 49. It is determined whether or not there is (step 93).

【0063】達していれば、イベントバッファレジスタ
46内のステータスデータSSの内容が判別される(ス
テップ94)。通常のキーオン/オフ、キーナンバ等の
データであれば、このデータは、トーンジェネレータ1
5へ送られるとともに、MIDIインターフェイス11
を介して出力される(ステップ95)。
If it has reached, the contents of the status data SS in the event buffer register 46 are determined (step 94). If the data is normal key on / off, key number, etc., this data is stored in the tone generator 1
5 and the MIDI interface 11
(Step 95).

【0064】このとき、コントロールメモリ14のコン
トロール情報CT、パラメータレジスタ48のパラメー
タデータPRも送られ、さらにこれらコントロール情報
CT及びパラメータデータPRに応じたトーンナンバデ
ータTN及び先頭アドレスデータも送られる。この先頭
アドレスデータは、上記楽音波形メモリ16に対応し、
上記トーンテーブル50より読み出される。これによ
り、演奏情報MPに応じた発音/消音が行われ、自動演
奏が実行される。なお、このステップ95の発音/消音
処理は、キーボード1にて通常のマニュアル演奏が行わ
れた時にも実行される。
At this time, the control information CT of the control memory 14 and the parameter data PR of the parameter register 48 are also sent, and the tone number data TN and the head address data corresponding to the control information CT and the parameter data PR are also sent. This head address data corresponds to the tone waveform memory 16,
It is read from the tone table 50. As a result, sounding / muting according to the performance information MP is performed, and an automatic performance is performed. Note that the sounding / muting process of step 95 is also executed when a normal manual performance is performed on the keyboard 1.

【0065】次いで、イベントアドレスレジスタ46の
イベントアドレスデータEADがインクリメントされ、
次のステータスデータSS、パラメータデータPR及び
ステップタイムデータSTが読み出され、ステータスレ
ジスタ47、パラメータレジスタ48及びステップレジ
スタ49に書き込まれる(ステップ96)。
Next, the event address data EAD of the event address register 46 is incremented,
The next status data SS, parameter data PR and step time data ST are read out and written into the status register 47, parameter register 48 and step register 49 (step 96).

【0066】また、上記ステップ94において、バーマ
ークデータBMであれば、このバーマークデータBMに
含まれる拍子データに応じたテンポビートデータTBが
テンポビートレジスタ57に書き込まれる(ステップ9
7)。そして、上記ステップ96と同じように、次のス
テータスデータSSが読み出され、このデータもバーマ
ークデータBMであれば(ステップ98)、モードフラ
グレジスタ41の第2ビット目が“1”にセットされる
(ステップ99)。
If it is determined in step 94 that the bar mark data is BM, the tempo beat data TB corresponding to the beat data included in the bar mark data BM is written to the tempo beat register 57 (step 9).
7). Then, as in step 96, the next status data SS is read out. If this data is also bar mark data BM (step 98), the second bit of the mode flag register 41 is set to "1". Is performed (step 99).

【0067】さらに、上記ステップ94において、エン
ドマークデータEDであれば、タイムカウントラッチ2
5のデータが“0”にクリアされ(ステップ100)、
上記モードフラグレジスタ41の第7ビット目もクリア
される(ステップ101)。こうして、自動演奏が停止
される。
In step 94, if the end mark data is ED, the time count latch 2
5 is cleared to "0" (step 100).
The seventh bit of the mode flag register 41 is also cleared (step 101). Thus, the automatic performance is stopped.

【0068】13.演奏情報MP送受処理 図13は、上記ステップ12の演奏情報MP送受処理の
フローチャートを示す。この処理では、受信バッファ5
8に演奏情報MPがストックされているか否かが判別さ
れる(ステップ111)。演奏情報MPがストックされ
ていれば、このデータが確定バッファ59へロードされ
る(ステップ112)。
13. Performance information MP handset Processing FIG. 13 shows a flowchart of the performance information MP transmission and reception process in step 12. In this process, the reception buffer 5
It is determined whether or not the performance information MP is stocked in step 8 (step 111). If the performance information MP is stocked, this data is loaded into the determination buffer 59 (step 112).

【0069】そして、このロードされた演奏情報MPが
情報として完結しているか否かが判別され(ステップ1
13)、完結していなければ、完結するところまで上記
ステップ111、112の処理が繰り返される。完結す
れば、この演奏情報MPがトーンジェネレータ15へ送
られる(ステップ114)。このステップ114の処理
は上記ステップ95の処理と同じである。こうして、外
部から入力された演奏情報MPについても自動演奏が行
われる。
Then, it is determined whether or not the loaded performance information MP is completed as information (step 1).
13) If not completed, the processes of steps 111 and 112 are repeated until the process is completed. Upon completion, the performance information MP is sent to the tone generator 15 (step 114). The processing in step 114 is the same as the processing in step 95 described above. Thus, the automatic performance is also performed for the performance information MP input from the outside.

【0070】14.インタラプト処理 図14は、インタラプト処理のフローチャートを示す。
この処理は、上記クロック信号φがハイレベルになるご
とに、CPU5によって実行される。この処理では、タ
イムカウンタ56が+1され(ステップ121)、タイ
ムカウンタ56のタイムカウントデータTCの値が、テ
ンポビートレジスタ57のテンポビートデータTBに一
致すれば(ステップ122)、タイムカウントデータT
Cがクリアされ(ステップ123)、上記モードフラグ
レジスタ41の第2ビット目がクリアされる(ステップ
124)。これにより、1小節分の待機が完了する。
14. Interrupt processing Figure 14 shows a flowchart of interrupt processing.
This process is executed by the CPU 5 every time the clock signal φ goes high. In this process, the time counter 56 is incremented by one (step 121). If the value of the time count data TC of the time counter 56 matches the tempo beat data TB of the tempo beat register 57 (step 122), the time count data T
C is cleared (step 123), and the second bit of the mode flag register 41 is cleared (step 124). Thereby, the waiting for one measure is completed.

【0071】15.楽音波形データMWロード処理 図15は、上記ステップ04の楽音波形データMWのロ
ード処理のフローチャートを示す。この処理では、モー
ドフラグレジスタ41の第8ビット目が“1”とされ
て、楽音波形データMWのロード中であることが記憶さ
れ(ステップ131)、カレントトーンレジスタ51の
トーンナンバデータTNを指定するポイントデータが
“0”か否か判別される(ステップ132)。“0”で
あり、トーンナンバデータTNがすべて指定されていれ
ば、ライトアドレスレジスタ54が“00…0”にクリ
アされ(ステップ133)、カレントトーンレジスタ5
1が+1される(ステップ134)。
15. Music Waveform Data MW Loading Process FIG. 15 shows a flowchart of the music soundwave data MW loading process in step 04 described above. In this processing, the eighth bit of the mode flag register 41 is set to "1", and the fact that the tone waveform data MW is being loaded is stored (step 131), and the tone number data TN of the current tone register 51 is designated. It is determined whether or not the point data to be executed is "0" (step 132). If it is "0" and the tone number data TN is all specified, the write address register 54 is cleared to "00 ... 0" (step 133), and the current tone register 5
1 is incremented by 1 (step 134).

【0072】そして、リードアドレスレジスタ53に、
これからロードされる楽音波形データMWの先頭セクタ
ナンバ、すなわちカレントトーンレジスタ51で指定さ
れるディレクトリテーブル42の先頭セクタナンバがセ
ットされて(ステップ135)、エンドアドレスレジス
タ55に、次の楽音波形データMWの先頭セクタナンバ
がセットされる(ステップ136)。
Then, in the read address register 53,
The head sector number of the tone waveform data MW to be loaded, that is, the head sector number of the directory table 42 specified by the current tone register 51 is set (step 135), and the start address of the next tone waveform data MW is set in the end address register 55. The sector number is set (step 136).

【0073】次いで、これからロードする楽音波形デー
タMWのトーンナンバデータTN、すなわちカレントト
ーンレジスタ51で指定されるディレクトリテーブル4
2のファイルネームが読み出されてトーンテーブル50
に書き込まれ(ステップ137)、上記ライトアドレス
レジスタ54の値が先頭アドレスデータとして、トーン
テーブル50に書き込まれる(ステップ138)。
Next, the tone number data TN of the tone waveform data MW to be loaded, ie, the directory table 4 specified by the current tone register 51
2 is read out and the tone table 50 is read out.
(Step 137), and the value of the write address register 54 is written to the tone table 50 as head address data (step 138).

【0074】この後、CD−ROM8から楽音波形デー
タMWが1セクタ分読み出され(ステップ139)、楽
音波形ストックメモリ12に書き込まれて(ステップ1
40)、ライトアドレスレジスタ54が+1され(ステ
ップ141)、リードアドレスレジスタ53が+1され
る(ステップ142)。そして、このステップ139〜
142の楽音波形データMWのロード処理が、リードア
ドレスレジスタ53の値がエンドアドレスレジスタ54
の値に一致するまで繰り返される(ステップ143)。
Thereafter, the musical tone waveform data MW for one sector is read from the CD-ROM 8 (step 139) and written into the musical tone waveform stock memory 12 (step 1).
40), the write address register 54 is incremented by 1 (step 141), and the read address register 53 is incremented by 1 (step 142). And this step 139-
The loading process of the tone waveform data MW 142 is performed when the value of the read address register 53 is changed to the end address register 54.
(Step 143).

【0075】一致して、1つの楽音波形データMWのロ
ードが終了すると、トーンナンバレジスタ52の全音色
数データATNが+1され(ステップ144)、上記ス
テップ134〜144のロード処理が全楽音波形データ
MWについて、すなわちリードアドレスレジスタ53の
値がCD−ROM8のエンドセクタナンバに達するまで
繰り返される(ステップ145)。このロード処理が終
了すると、モードフラグレジスタ41の第8ビット目が
クリアされる(ステップ146)。
When the loading of one musical tone waveform data MW is completed, the total tone color data ATN of the tone number register 52 is incremented by 1 (step 144), and the loading process of steps 134 to 144 is performed. This is repeated for the MW, that is, until the value of the read address register 53 reaches the end sector number of the CD-ROM 8 (step 145). When this load processing is completed, the eighth bit of the mode flag register 41 is cleared (step 146).

【0076】こうして、音色選択キー32で“0”のト
ーンナンバデータTNを選択し、ロードキー31をオン
しても、自動的にCD−ROM8の楽音波形データMW
が電子楽器内部の楽音波形ストックメモリ12にロード
される。なお、上述のステップ45〜47は、上記ステ
ップ131〜146と同じである。また、上記ステップ
131〜146の楽音波形データMWのロード処理は、
楽音波形ストックメモリ12と楽音波形メモリ16との
間で実行されてもよい。
In this way, even when the tone number data TN of "0" is selected by the tone color selection key 32 and the load key 31 is turned on, the tone waveform data MW of the CD-ROM 8 is automatically set.
Is loaded into the tone waveform stock memory 12 inside the electronic musical instrument. Steps 45 to 47 are the same as steps 131 to 146. The loading processing of the musical tone waveform data MW in the above steps 131 to 146
The processing may be executed between the tone waveform stock memory 12 and the tone waveform memory 16.

【0077】上記ステップ132で、カレントトーンレ
ジスタ51のトーンナンバデータTNを指定するポイン
トデータが“0”でなく、トーンナンバデータTNが個
別に指定されていれば、リードアドレスレジスタ53
に、これからロードされる楽音波形データMWの先頭ア
ドレスデータ、すなわちカレントトーンレジスタ51で
指定されるトーンテーブル50の先頭アドレスデータが
セットされて(ステップ151)、エンドアドレスレジ
スタ55に、次の楽音波形データMWの先頭アドレスデ
ータがセットされる(ステップ152)。
In step 132, if the point data designating the tone number data TN in the current tone register 51 is not "0" and the tone number data TN is individually designated, the read address register 53
The start address data of the tone waveform data MW to be loaded from now on, that is, the start address data of the tone table 50 specified by the current tone register 51 is set (step 151), and the next tone waveform data is set in the end address register 55. The head address data of the data MW is set (step 152).

【0078】次いで、これからロードする楽音波形デー
タMWのトーンナンバデータTN、すなわちカレントト
ーンレジスタ51で指定されるトーンテーブル50のト
ーンナンバデータTNが読み出されてもう1つのトーン
テーブル50に書き込まれ(ステップ153)、上記ラ
イトアドレスレジスタ54の値が先頭アドレスデータと
して、もう1つのトーンテーブル50に書き込まれる
(ステップ154)。
Next, the tone number data TN of the tone waveform data MW to be loaded, that is, the tone number data TN of the tone table 50 specified by the current tone register 51 is read out and written into another tone table 50 ( Step 153), the value of the write address register 54 is written to the other tone table 50 as head address data (Step 154).

【0079】この後、楽音波形ストックメモリ12から
楽音波形データMWが1番地分読み出され(ステップ1
55)、楽音波形メモリ16に書き込まれて(ステップ
156)、ライトアドレスレジスタ54が+1され(ス
テップ157)、リードアドレスレジスタ53が+1さ
れる(ステップ158)。
Thereafter, one tone waveform data MW is read from the tone waveform stock memory 12 for one address (step 1).
55), it is written into the tone waveform memory 16 (step 156), the write address register 54 is incremented by 1 (step 157), and the read address register 53 is incremented by 1 (step 158).

【0080】そして、このステップ155〜158の楽
音波形データMWのロード処理が、リードアドレスレジ
スタ53の値がエンドアドレスレジスタ55の値に一致
するまで繰り返される(ステップ159)。このロード
処理が終了すると、もう1つのトーンナンバレジスタ5
2の全音色数データATNが+1され(ステップ16
0)、モードフラグレジスタ41の第8ビット目がクリ
アされる(ステップ161)。
The loading processing of the tone waveform data MW in steps 155 to 158 is repeated until the value of the read address register 53 matches the value of the end address register 55 (step 159). When this loading process is completed, another tone number register 5
2 is added to the total tone color data ATN (step 16).
0), the eighth bit of the mode flag register 41 is cleared (step 161).

【0081】こうして、音色選択キー32で特定のトー
ンナンバデータTNを選択し、ロードキー31をオンす
れば、自動的に楽音波形ストックメモリ12の選択され
た楽音波形データMWがトーンジェネレータ15の楽音
波形メモリ16にロードされる。なお、上記ステップ1
51〜161の楽音波形データMWのロード処理は、C
D−ROM8と楽音波形ストックメモリ12との間で実
行されてもよい。また、このステップ131〜161の
楽音波形データMWのロード処理は、CD−ROM8と
コントロールメモリ14との間でコントロール情報CT
について行うことも可能である。
When the specific tone number data TN is selected by the tone color selection key 32 and the load key 31 is turned on, the selected tone waveform data MW of the tone waveform stock memory 12 is automatically converted to the tone tone of the tone generator 15. It is loaded into the waveform memory 16. Step 1 above
The loading process of the tone waveform data MW of 51 to 161 is performed by C
The processing may be executed between the D-ROM 8 and the musical tone waveform stock memory 12. The loading processing of the musical tone waveform data MW in steps 131 to 161 is performed between the CD-ROM 8 and the control memory 14 by the control information CT.
It is also possible to perform

【0082】16.音色選択処理 図16は、上記ステップ05の楽音波形データMWにつ
いての音色選択処理のフローチャートを示す。この処理
では、モードフラグレジスタ41の第8ビット目が
“0”で、楽音波形データMWのロード中でなけば(ス
テップ171)、カレントトーンレジスタ51のポイン
トデータが+1される(ステップ172)。
16. Tone color selection process Figure 16 shows a flowchart of a tone color selection process for the musical tone waveform data MW of step 05. In this process, if the eighth bit of the mode flag register 41 is "0" and the tone waveform data MW is not being loaded (step 171), the point data of the current tone register 51 is incremented by 1 (step 172).

【0083】この+1によってポイントデータの値が上
記もう1つのトーンナンバレジスタ52の全音色数デー
タATNの値を越えれば(ステップ173)、ポイント
データの値が“0”にリセットされる(ステップ17
4)。このポイントデータで指定されるトーンテーブル
50のトーンナンバデータTNは、LCDドライバ24
を介してLCD23へ送られ表示される。こうして、音
色選択キー32を操作するだけで発音する楽音の音色を
選択することができる。
If the value of the point data exceeds the value of the total tone color data ATN of the other tone number register 52 by +1 (step 173), the value of the point data is reset to "0" (step 17).
4). The tone number data TN of the tone table 50 specified by the point data is stored in the LCD driver 24.
Is sent to the LCD 23 via the. Thus, the timbre of the musical tone to be generated can be selected only by operating the timbre selection key 32.

【0084】なお、この音色選択処理において、カレン
トトーンレジスタ51にトーンナンバデータTNを記憶
し、このトーンナンバデータTNをインクリメントして
もよい。そして、上記ステップ172の後で、インクリ
メントされたトーンナンバデータTNと同じデータがト
ーンテーブル50に記憶されていなければ、上述のステ
ップ85〜90の自動演奏における楽音波形データMW
の自動ロード処理を行ってもよい。このようなことは、
トーンナンバデータTNのほか、コントロール情報CT
についても実行可能である。
In the tone color selection processing, the tone number data TN may be stored in the current tone register 51, and the tone number data TN may be incremented. If the same data as the incremented tone number data TN is not stored in the tone table 50 after step 172, the tone waveform data MW in the automatic performance in steps 85 to 90 described above.
May be automatically loaded. Such a thing,
In addition to tone number data TN, control information CT
Is also feasible.

【0085】本発明は上記実施例に限定されず、本発明
の趣旨を逸脱しない範囲で種々変更可能である。例え
ば、楽音波形データMWが記憶されるメモリは、CD−
ROM8等の光メモリ以外に、ROM/RAMカード等
の半導体メモリ、フロッピーディスク、カセットテープ
等の磁気メモリを用いてもよい。また、楽音波形ストッ
クメモリ12、楽音波形メモリ16は、CD−ROM8
等の光メモリ、ROM/RAMカード等の半導体メモリ
を用いてもよいし、電子楽器本体に着脱可能にしてもよ
い。さらに、CD−ROM8、楽音波形ストックメモリ
12、楽音波形メモリ16は、複数としてもよい。この
ほか、上記コントロール情報CTには、エフェクト、リ
ズム、トランスポーズ、タッチ、音量、テンポ、クオン
タイズ等を制御するためのデータを含めてもよい。本件
明細書の出願当初の特許請求の範囲は以下の通りであ
る。[A]電子楽器本体に着脱可能であり、楽音波形に
関するデータを記憶する第1の波形記憶手段と、この第
1の波形記憶手段より、楽音波形に関するデータを読み
出す第1の読み出し手段と、この第1の読み出し手段に
よって読み出された楽音波形に関するデータを記憶する
電子楽器本体内の第2の波形記憶手段と、上記第1の読
み出し手段によって読み出された楽音波形に関するデー
タを、上記第2の波形記憶手段に対して書き込む書き込
み手段と、楽音の発生を指示する指示手段と、この指示
手段の指示に応じて、上記第2の波形記憶手段より楽音
波形に関するデータを読み出す第3の読み出し手段と、
この第3の読み出し時間によって読み出された楽音波形
に関するデータを上記指示手段の指示に応じた楽音に関
わるものとして出力する出力手段とを備えたことを特徴
とする電子楽器の波形データ処理システム。[B]上記
楽音波形に関するデータはサンプリング形式のデータで
あることを特徴とする請求項A記載の電子楽器の波形デ
ータ処理システム。[C]上記第1の読み出し手段及び
書き込み手段は、上記第1の波形記憶手段より読み出し
た楽音波形に関するデータを第3の波形記憶手段に書き
込み、この第3の波形記憶手段より楽音波形に関するデ
ータを読み出して上記第2の波形記憶手段に書き込むこ
とを特徴とする請求項A記載の電子楽器の波形データ処
理システム。[D]上記指示手段は、自動演奏情報を記
憶し、この自動演奏情報を演奏順に読み出すことを特徴
とする請求項A記載の電子楽器の波形データ処理システ
ム。
The present invention is not limited to the above embodiment, but can be variously modified without departing from the spirit of the present invention. For example, the memory storing the tone waveform data MW is a CD-ROM.
In addition to the optical memory such as the ROM 8, a semiconductor memory such as a ROM / RAM card or a magnetic memory such as a floppy disk or a cassette tape may be used. The tone waveform stock memory 12 and tone waveform memory 16 are stored in a CD-ROM 8
An optical memory such as the above, a semiconductor memory such as a ROM / RAM card, etc. may be used, or may be detachable from the electronic musical instrument main body. Further, the CD-ROM 8, the tone waveform stock memory 12, and the tone waveform memory 16 may be plural. In addition, the control information CT may include data for controlling effects, rhythm, transpose, touch, volume, tempo, quantization, and the like. The claims at the time of filing the present application are as follows. [A] First waveform storage means which is detachable from the electronic musical instrument main body and stores data relating to musical tone waveforms, first reading means which reads out data relating to musical tone waveforms from the first waveform storage means, The second waveform storage means in the electronic musical instrument main body for storing data relating to the musical tone waveform read by the first reading means, and the data relating to the musical tone waveform read by the first reading means are stored in the second Writing means for writing to the waveform storage means, instruction means for instructing generation of a musical tone, and third reading means for reading data relating to a musical tone waveform from the second waveform storage means in accordance with the instruction from the instruction means. When,
Output means for outputting data relating to the musical tone waveform read out during the third readout time as data relating to a musical tone in accordance with the instruction from the instruction means, the waveform data processing system for an electronic musical instrument. [B] The waveform data processing system for an electronic musical instrument according to claim A, wherein the data relating to the musical tone waveform is data in a sampling format. [C] The first reading means and the writing means write the data relating to the musical tone waveform read out from the first waveform storing means to the third waveform storing means, and the data relating to the musical tone waveform are stored in the third waveform storing means. The electronic musical instrument waveform data processing system according to claim A, wherein the waveform data is read out and written into the second waveform storage means. [D] The waveform data processing system for an electronic musical instrument according to claim A, wherein said instruction means stores automatic performance information and reads out the automatic performance information in the order of performance.

【0086】[0086]

【発明の効果】以上詳述したように、本発明は、楽音波
形データを記憶する第1の波形記憶手段を電子楽器本体
に着脱可能とし、この第1の波形記憶手段から楽音波形
データを読み出して、電子楽器本体内の第2の波形記憶
手段に書き込み、この楽音波形データに基づいて楽音の
発生を行うようにした。従って、楽音の発生に使われる
楽音波形データは、上記第1の波形記憶手段を交換して
いけば、多種多様に変化させることができ、電子楽器本
体内の第2の波形記憶手段の記憶容量を増やさなくとも
済む等の効果を奏する。
As described above in detail, according to the present invention, the first waveform storage means for storing the musical tone waveform data is made detachable from the main body of the electronic musical instrument, and the musical tone waveform data is read out from the first waveform memory means. Then, the musical tone is written into the second waveform storage means in the main body of the electronic musical instrument, and the musical tone is generated based on the musical tone waveform data. Therefore, the musical tone waveform data used for generating a musical tone can be varied in various ways by replacing the first waveform storage means, and the storage capacity of the second waveform storage means in the electronic musical instrument main body is changed. And the like.

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

【図1】電子楽器の全体回路図である。FIG. 1 is an overall circuit diagram of an electronic musical instrument.

【図2】楽音波形データMWの内容を示す図である。FIG. 2 is a diagram showing contents of musical sound waveform data MW.

【図3】パネルスイッチ群3及びLCD23を示す図で
ある。
FIG. 3 is a diagram showing a panel switch group 3 and an LCD 23.

【図4】RAM6のワーキングメモリ22を示す図であ
る。
FIG. 4 is a diagram showing a working memory 22 of a RAM 6;

【図5】メインルーチンのフローチャートを示す図であ
る。
FIG. 5 is a view showing a flowchart of a main routine.

【図6】ディスクホルダ38のオープン処理(ステップ
09)のフローチャートを示す図である。
FIG. 6 is a diagram showing a flowchart of an open process (step 09) of the disk holder 38.

【図7】ディスクホルダ38のクローズ処理(ステップ
10)のフローチャートを示す図である。
FIG. 7 is a view showing a flowchart of a closing process (step 10) of the disk holder 38.

【図8】情報ロード処理(ステップ36)のフローチャ
ートを示す図である。
FIG. 8 is a diagram showing a flowchart of an information loading process (step 36).

【図9】自動演奏のプレイ処理(ステップ07)のフロ
ーチャートを示す図である。
FIG. 9 is a diagram showing a flowchart of a play process (step 07) of an automatic performance.

【図10】自動演奏のストップ処理(ステップ08)の
フローチャートを示す図である。
FIG. 10 is a diagram showing a flowchart of a stop process (step 08) of the automatic performance.

【図11】選曲処理(ステップ06)のフローチャート
を示す図である。
FIG. 11 is a diagram showing a flowchart of a music selection process (step 06).

【図12】演奏情報MP再生処理(ステップ11)のフ
ローチャートを示す図である。
FIG. 12 is a diagram showing a flowchart of performance information MP reproduction processing (step 11).

【図13】演奏情報MP送受処理(ステップ12)のフ
ローチャートを示す図である。
FIG. 13 is a diagram showing a flowchart of performance information MP transmission / reception processing (step 12).

【図14】インタラプト処理のフローチャートを示す図
である。
FIG. 14 is a diagram illustrating a flowchart of an interrupt process.

【図15】楽音波形データMWのロード処理(ステップ
04)のフローチャートを示す図である。
FIG. 15 is a diagram showing a flowchart of loading processing (step 04) of musical sound waveform data MW.

【図16】楽音波形データMWのロード処理(ステップ
04)のフローチャートを示す図である。
FIG. 16 is a diagram showing a flowchart of loading processing (step 04) of musical sound waveform data MW.

【図17】音色選択処理(ステップ05)のフローチャ
ートを示す図である。
FIG. 17 is a diagram showing a flowchart of a tone color selection process (step 05).

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

1…キーボード、3…パネルスイッチ群、5…CPU、
6…RAM、7…ROM、8…CD−ROM、9…CD
ドライバ、10…CDインターフェイス、11…MID
Iインターフェイス、12…楽音波形ストックメモリ、
13…演奏情報メモリ、14…コントロールメモリ、1
5…トーンジェネレータ、16…楽音波形メモリ、17
…楽音波形読出回路、18…エンベロープジェネレー
タ、22…ワーキングメモリ、25…タイムカウントラ
ッチ、31…ロードキー31、32…音色選択キー、3
3…選曲キー、34…プレイキー、35…ストップキ
ー、36…オープンキー、37…クローズキー、38…
ディスクホルダ、41…モードフラグレジスタ、42…
ディレクトリテーブル、43…ソングナンバレジスタ、
44…ソングテーブル、45…カレントソングレジス
タ、46…イベントアドレスレジスタ、47…ステータ
スレジスタ、48…パラメータレジスタ、49…ステッ
プレジスタ、50…トーンテーブル、51…カレントト
ーンレジスタ、52…トーンナンバレジスタ、53…リ
ードアドレスレジスタ、54…ライトアドレスレジス
タ、55…エンドアドレスレジスタ、56…タイムカウ
ンタ、57…テンポビートレジスタ、58…受信バッフ
ァ、59…確定バッファ。
1 ... keyboard, 3 ... panel switch group, 5 ... CPU,
6 RAM, 7 ROM, 8 CD-ROM, 9 CD
Driver, 10 ... CD interface, 11 ... MID
I interface, 12 ... stock sound waveform memory,
13: performance information memory, 14: control memory, 1
5: tone generator, 16: musical sound waveform memory, 17
... Music tone readout circuit, 18. Envelope generator, 22. Working memory, 25. Time count latch, 31. Load keys 31 and 32.
3 ... music selection key, 34 ... play key, 35 ... stop key, 36 ... open key, 37 ... close key, 38 ...
Disk holder, 41 ... mode flag register, 42 ...
Directory table, 43 ... Song number register,
44 song table, 45 current song register, 46 event address register, 47 status register, 48 parameter register, 49 step register, 50 tone table, 51 current tone register, 52 tone number register, 53 ... read address register, 54 ... write address register, 55 ... end address register, 56 ... time counter, 57 ... tempo beat register, 58 ... reception buffer, 59 ... decision buffer.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G10H 7/02 G10H 1/00 G10H 1/00 102 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G10H 7/02 G10H 1/00 G10H 1/00 102

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】装置本体に着脱可能であり、各音色に対応
する楽音波形に関するデータを自動演奏情報とは別に記
憶する第1の波形記憶手段と、 楽音の発生に用いられる楽音波形に関するデータを自動
演奏情報とは別に記憶する装置本体内の第2の波形記憶
手段と、 自動演奏情報の再生を指示する手段と、 この指示された自動演奏情報に使われる楽音波形に関す
るデータが上記第2の波形記憶手段に記憶されているか
否かを検出する手段と、 この検出において、当該楽音波形に関するデータがこの
第2の波形記憶手段に記憶されていなければ、上記第1
の波形記憶手段より当該楽音波形に関するデータを、自
動演奏情報とは別に読み出して、上記第2の波形記憶手
段に書き込む手段と、 この第2の波形記憶手段に記憶された楽音波形に関する
データに基づいて、上記自動演奏情報を再生する手段と
を備えたことを特徴とする楽音波形に関するデータの処
理装置。
A first waveform storage means which is detachable from the apparatus main body and stores data relating to a musical tone waveform corresponding to each tone separately from automatic performance information; and data relating to a musical tone waveform used for generating a musical tone. Second waveform storage means in the apparatus main body for storing separately from the automatic performance information; means for instructing the reproduction of the automatic performance information; and data relating to the musical tone waveform used in the specified automatic performance information. Means for detecting whether or not the tone waveform is stored in the waveform storage means; and in this detection, if the data relating to the musical tone waveform is not stored in the second waveform storage means,
Means for reading out the data relating to the musical tone waveform from the waveform storing means separately from the automatic performance information and writing the data into the second waveform storing means; and data based on the musical tone waveform stored in the second waveform storing means. Means for reproducing the automatic performance information.
【請求項2】装置本体に着脱可能であり、各音色に対応
する楽音波形に関するデータを自動演奏情報とは別に記
憶する第1の波形記憶手段と、 楽音の発生に用いられる楽音波形に関するデータを自動
演奏情報とは別に記憶する装置本体内の第2の波形記憶
手段と、に対して、 自動演奏情報の再生の指示に応じて、この指示された自
動演奏情報に使われる楽音波形に関するデータが上記第
2の波形記憶手段に記憶されているか否かを検出させ、 この検出において、当該楽音波形に関するデータがこの
第2の波形記憶手段に記憶されていなければ、上記第1
の波形記憶手段より当該楽音波形に関するデータを、自
動演奏情報とは別に読み出しさせて、上記第2の波形記
憶手段に書き込みさせ、 この第2の波形記憶手段に記憶された楽音波形に関する
データに基づいて、上記自動演奏情報を再生させること
を特徴とする楽音波形に関するデータの処理方法。
2. A first waveform storage means which is detachable from the main body of the apparatus and stores data relating to musical tone waveforms corresponding to each tone separately from automatic performance information, and data relating to musical tone waveforms used for generating musical tones. In response to an instruction to reproduce the automatic performance information, data relating to the musical tone waveform used in the specified automatic performance information is stored in a second waveform storage means in the apparatus main body which stores the automatic performance information separately from the automatic performance information. It is detected whether or not the data is stored in the second waveform storage means. In this detection, if the data relating to the musical tone waveform is not stored in the second waveform storage means,
The data related to the musical tone waveform is read out separately from the automatic performance information from the waveform storing means, and written into the second waveform storing means, based on the data relating to the musical tone waveform stored in the second waveform storing means. And reproducing the automatic performance information.
JP4073698A 1992-03-30 1992-03-30 Apparatus and method for processing sound waveform data Expired - Fee Related JP3040583B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP4073698A JP3040583B2 (en) 1992-03-30 1992-03-30 Apparatus and method for processing sound waveform data
US08/039,768 US5382749A (en) 1992-03-30 1993-03-30 Waveform data processing system and method of waveform data processing for electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4073698A JP3040583B2 (en) 1992-03-30 1992-03-30 Apparatus and method for processing sound waveform data

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP33871199A Division JP3217772B2 (en) 1992-03-30 1999-11-29 Apparatus and method for processing sound waveform data

Publications (2)

Publication Number Publication Date
JPH05273979A JPH05273979A (en) 1993-10-22
JP3040583B2 true JP3040583B2 (en) 2000-05-15

Family

ID=13525697

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4073698A Expired - Fee Related JP3040583B2 (en) 1992-03-30 1992-03-30 Apparatus and method for processing sound waveform data

Country Status (1)

Country Link
JP (1) JP3040583B2 (en)

Also Published As

Publication number Publication date
JPH05273979A (en) 1993-10-22

Similar Documents

Publication Publication Date Title
US5382749A (en) Waveform data processing system and method of waveform data processing for electronic musical instrument
JPS59197090A (en) Automatic performer
US5321198A (en) Tone signal generator utilizing ancillary memories for electronic musical instrument
JP3029339B2 (en) Apparatus and method for processing sound waveform data
JP2003208181A (en) Waveform reproducing device
JP3217772B2 (en) Apparatus and method for processing sound waveform data
JP3040583B2 (en) Apparatus and method for processing sound waveform data
JP3560930B2 (en) Music waveform data processing apparatus and processing method
US7297861B2 (en) Automatic performance apparatus and method, and program therefor
JP2641851B2 (en) Automatic performance device
JP3508509B2 (en) Sound source device
JPS648837B2 (en)
JP3407563B2 (en) Automatic performance device and automatic performance method
JP3692954B2 (en) Music data editing program, music data editing method and apparatus
JP3755385B2 (en) Sound source device and recording medium readable by sound source device
JP2583377B2 (en) Automatic performance device
JP2556639B2 (en) Automatic playing device
JP3424989B2 (en) Automatic accompaniment device for electronic musical instruments
JP2715833B2 (en) Tone generator
JPH058638Y2 (en)
JP2562261B2 (en) Electronic musical instrument assigner
JP2760346B2 (en) Electronic musical instrument system
JP3324318B2 (en) Automatic performance device
JPH0962280A (en) 'karaoke' device
JP2681146B2 (en) Electronic musical instrument automatic performance device and automatic performance method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees