JP2642821B2 - Notification device and notification method for electronic musical instrument - Google Patents

Notification device and notification method for electronic musical instrument

Info

Publication number
JP2642821B2
JP2642821B2 JP3317194A JP31719491A JP2642821B2 JP 2642821 B2 JP2642821 B2 JP 2642821B2 JP 3317194 A JP3317194 A JP 3317194A JP 31719491 A JP31719491 A JP 31719491A JP 2642821 B2 JP2642821 B2 JP 2642821B2
Authority
JP
Japan
Prior art keywords
data
sound
storage capacity
writing
remaining storage
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 - Lifetime
Application number
JP3317194A
Other languages
Japanese (ja)
Other versions
JPH05150774A (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
Application filed by Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP3317194A priority Critical patent/JP2642821B2/en
Publication of JPH05150774A publication Critical patent/JPH05150774A/en
Application granted granted Critical
Publication of JP2642821B2 publication Critical patent/JP2642821B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電子楽器の報知装置に
関し、特に音楽的情報を記憶する装置の書き込み量が多
くなって記憶容量の残りが少なくなったときに報知する
装置及び方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a notification device for an electronic musical instrument, and more particularly, to a notification device and method for notifying when a writing amount of a device for storing musical information is increased and the remaining storage capacity is reduced.

【0002】[0002]

【発明が解決しようとする課題】従来、電子楽器の音楽
的情報を記憶する装置の書き込み量が多くなって記憶容
量の残りが少なくなったときに報知を行う装置について
は、例えば特開昭58−34199号公報に示されるよ
うに、記憶装置に順次楽音データを書き込んでいき、こ
の記憶装置の書き込みポイントを数値で表示し、この残
りの記憶容量が少なくなってボーダー値以下になったと
き、上記表示数値を点滅させるものがある。
Heretofore, a device for notifying when the amount of writing of a device for storing musical information of an electronic musical instrument has become large and the remaining storage capacity has become small has been disclosed in, for example, Japanese Patent Application Laid-Open No. As shown in JP-A-34199, musical tone data is sequentially written in a storage device, and the writing point of the storage device is indicated by a numerical value. When the remaining storage capacity decreases and becomes equal to or less than the border value, Some of the above display values blink.

【0003】しかしながら、このような装置では、演奏
者は残りの記憶容量を知るためには、上記表示数値を凝
視しなければならず、演奏中に表示された数値を見て、
残りの記憶容量を判断することは意外に難しい。通常演
奏中、演奏者は楽譜を見ながら演奏しているので、上記
表示された数値をしっかりと見るのは非常に難しい。
[0003] However, in such a device, the player must stare at the numerical value displayed in order to know the remaining storage capacity.
It is surprisingly difficult to determine the remaining storage capacity. During a normal performance, the player plays while looking at the musical score, so it is very difficult to see the displayed numerical values firmly.

【0004】本発明は、上述した課題を解決するために
なされたものであり、残りの記憶容量が少なくなったこ
とが瞬時に簡単かつはっきりとわかる電子楽器の報知装
置を提供することを目的としている。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem, and has as its object to provide an electronic musical instrument notification device that can easily and clearly recognize that the remaining storage capacity has been reduced. I have.

【0005】[0005]

【課題を解決するための手段及び作用】上記目的を達成
するために、本発明は、音楽的情報を記憶する記憶手段
の書き込み量または残りの記憶容量が、ボーダー値に達
したら、発音制御データを出力し、この発音制御データ
に応じた発音を行うようにしたものである。これによ
り、記憶手段の残りの記憶容量が少なくなったことを、
耳で確かめることができ、残りの記憶容量が少ないこと
を瞬時に簡単かつはっきりと知ることができる。
In order to achieve the above-mentioned object, the present invention provides a method for controlling the generation of sound control data when the amount of writing or the remaining storage capacity of storage means for storing musical information reaches a border value. Is output to generate a sound in accordance with the sound control data. This indicates that the remaining storage capacity of the storage means has decreased.
It can be confirmed by ear, and it is easy and clear to know instantly that the remaining storage capacity is low.

【0006】[0006]

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

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

【0008】ラッチ8には、後述する圧電ブザー61の
報知音の断続周期を決定する断続周期データTCがCP
U5によってセットされる。この断続周期データTCは
プログラマブルカウンタ9に与えられ、断続周期データ
TCに応じた一定周期でハイレベル信号が出力され、発
音回路60に送られて、ピッ、ピッ、ピッという報知音
が発音される。この報知音は、ブザー音、メトロノーム
音、チャイム音等である。
In the latch 8, the intermittent cycle data TC for determining the intermittent cycle of the notification sound of the piezoelectric buzzer 61, which will be described later, is stored in CP.
Set by U5. This intermittent cycle data TC is applied to the programmable counter 9, a high level signal is output at a constant cycle corresponding to the intermittent cycle data TC, sent to the sounding circuit 60, and a beep, beep, and beep are sounded. . The notification sound is a buzzer sound, a metronome sound, a chime sound, or the like.

【0009】上記断続周期データTCは1秒周期、1/
4秒周期、0秒周期の3種類のデータがある。1秒周期
の断続周期データTCは、シーケンスRAM17の残り
の記憶容量が20%以下になって、シーケンスRAM1
7の書き込みアドレスデータWADが第1ボーダデータ
BO1を越えたときにセットされる。1/4秒周期の断
続周期データTCは、シーケンスRAM17の残りの記
憶容量が10%以下になって、シーケンスRAM17の
書き込みアドレスデータWADが第2ボーダデータBO
2を越えたときにセットされる。0秒周期の断続周期デ
ータTCは、シーケンスRAM17の残りの記憶容量が
1%以下になって、シーケンスRAM17の書き込みア
ドレスデータWADが第3ボーダデータBO3を越えた
ときにセットされる。この0秒周期の場合、圧電ブザー
61は断続発音ではなく発音し続けることになる。
The intermittent cycle data TC has a one-second cycle, 1 /
There are three types of data, a 4-second cycle and a 0-second cycle. The intermittent cycle data TC having a one-second cycle indicates that the remaining storage capacity of the sequence RAM 17 becomes 20% or less and the sequence RAM 1
7 is set when the write address data WAD exceeds the first border data BO1. In the intermittent period data TC having a period of 1/4 second, the remaining storage capacity of the sequence RAM 17 becomes 10% or less, and the write address data WAD of the sequence RAM 17 becomes the second border data BO.
Set when it exceeds 2. The intermittent cycle data TC having a cycle of 0 seconds is set when the remaining storage capacity of the sequence RAM 17 becomes 1% or less and the write address data WAD of the sequence RAM 17 exceeds the third border data BO3. In the case of this 0-second cycle, the piezoelectric buzzer 61 continues to emit a sound, not an intermittent sound.

【0010】このシーケンスRAM17の残りの記憶容
量を示す残記憶容量データRMは、LCD(液晶表示装
置)ドライバ21を介し、LCD22に表示される。ま
た、RAM6の各種記憶データもLCDドライバ21を
介し、LCD22に表示される。
The remaining storage capacity data RM indicating the remaining storage capacity of the sequence RAM 17 is displayed on an LCD 22 via an LCD (liquid crystal display) driver 21. Various data stored in the RAM 6 are also displayed on the LCD 22 via the LCD driver 21.

【0011】シーケンスRAM17には自動演奏データ
APが記憶され、自動演奏データAPの書き込み、読み
出しにあたっては、書き込みアドレスデータWAD/読
み出しアドレスデータRADがアドレスカウンタ16に
記憶され、シーケンスRAM17に与えられる。シーケ
ンスRAM17に書き込まれる自動演奏データAPは、
上記キーボード1またはパネルスイッチ群3より入力さ
れる。シーケンスRAM17から読み出された自動演奏
データAPは、トーンジェネレータ19に与えられて楽
音信号が生成され、サウンドシステム20を通じて発音
される。上記アドレスカウンタ16はRAM6内に形成
してもよい。
The automatic performance data AP is stored in the sequence RAM 17. When writing and reading the automatic performance data AP, the write address data WAD / read address data RAD is stored in the address counter 16 and given to the sequence RAM 17. The automatic performance data AP written to the sequence RAM 17 is
It is input from the keyboard 1 or panel switch group 3. The automatic performance data AP read from the sequence RAM 17 is supplied to a tone generator 19 to generate a musical tone signal, and is emitted through a sound system 20. The address counter 16 may be formed in the RAM 6.

【0012】フロッピーディスク14にも、複数の自動
演奏データAPが記憶され、フロッピーディスクドライ
バ15を通じて書き込まれたり、読み出されたりする。
フロッピーディスク14より読み出された自動演奏デー
タAPはシーケンスRAM17に転送され、自動演奏が
行われる。また、シーケンスRAM17の自動演奏デー
タAPがフロッピーディスク14にセーブされることも
ある。
The floppy disk 14 also stores a plurality of automatic performance data APs, which are written and read through a floppy disk driver 15.
The automatic performance data AP read from the floppy disk 14 is transferred to the sequence RAM 17, where an automatic performance is performed. Further, the automatic performance data AP of the sequence RAM 17 may be saved on the floppy disk 14.

【0013】上記RAM6には、上述した第1ボーダデ
ータBO1、第2ボーダデータBO2、第3ボーダデー
タBO3のほか、各種データが記憶される。このRAM
6には、後述するワーキングレジスタ群40も形成され
ている。ROM7には、後述するフローチャートに応じ
かつCPU5が実行するプログラム、その他の処理に応
じたプログラムが記憶されている。
The RAM 6 stores various data in addition to the first border data BO1, the second border data BO2, and the third border data BO3. This RAM
6, a working register group 40 described later is also formed. The ROM 7 stores a program that is executed by the CPU 5 according to a flowchart described later, and a program that corresponds to other processing.

【0014】上記トーンジェネレータ19では、上記キ
ーボード1及びパネルスイッチ群3から入力されたまた
は上記自動演奏データ内のキーナンバ、タッチ、音色、
リズム等の楽音情報に応じた楽音データが生成される。
このトーンジェネレータ19には、複数チャンネル分、
例えば16チャンネル分の楽音生成系が時分割処理によ
り形成されており、楽音をポリフォニックに発音させる
ことができる。この各チャンネルに割り当てられる上記
楽音情報はアサインメントメモリ30に記憶される。
In the tone generator 19, key numbers, touches, timbres, and the like input from the keyboard 1 and the panel switch group 3 or in the automatic performance data are output.
Music data corresponding to music information such as rhythm is generated.
This tone generator 19 includes a plurality of channels,
For example, a musical sound generation system for 16 channels is formed by time division processing, and musical sounds can be generated polyphonically. The tone information assigned to each channel is stored in the assignment memory 30.

【0015】2.自動リズム演奏データ 図2は自動リズム演奏データを示し、この自動リズム演
奏データは上記ROM7に複数記憶されている。この自
動リズム演奏データは、ベロシティデータ/パートデー
タとステップタイムデータからなるビートデータ群と、
このビートデータ群の間に挿入されるバーマークデー
タ、トーンナンバデータ及びリターンコマンド等からな
っている。
[0015] 2. Automatic Rhythm Performance Data FIG. 2 shows automatic rhythm performance data, and a plurality of the automatic rhythm performance data are stored in the ROM 7. This automatic rhythm performance data includes a beat data group consisting of velocity data / part data and step time data,
It consists of bar mark data, tone number data, a return command, etc. inserted between the beat data groups.

【0016】ベロシティデータは、発音操作の強さまた
は速さを示すデータであり、楽音の音量に影響する。ス
テップタイムデータは、曲の先頭または小節の先頭すな
わちバーマークデータから楽音の発音開始またはコマン
ド実行までの時間を示すデータである。バーマークデー
タは小節の区切りを示すデータである。パートデータ
は、ドラムグループ、シンバルグループ等の演奏パート
を示すデータである。トーンナンバデータは、バスドラ
ム、スネアドラム、ハイハット、ローハット等の音色を
示すデータである。リターンコマンドは、曲の先頭へ戻
って曲を繰り返すためのコマンドである。
The velocity data is data indicating the strength or speed of a sound generation operation, and affects the volume of a musical sound. The step time data is data indicating the time from the beginning of a song or the beginning of a bar, that is, bar mark data to the start of musical tone generation or command execution. The bar mark data is data indicating a bar break. The part data is data indicating performance parts such as a drum group and a cymbal group. The tone number data is data indicating a tone color such as a bass drum, a snare drum, a hi-hat, a low-hat, and the like. The return command is a command for returning to the beginning of a song and repeating the song.

【0017】上記トーンナンバは、1つの音色でも、さ
らに4種類に分類される。すなわち、1つの楽器の音色
は、A(ノーマル)、B(半オクターブ低い)、C(半
オクターブ高い)、D(エンベロープ波形形状をオルガ
ンタイプまたはパーカッシブタイプとする)という4種
類に分けられる。なお、上記自動リズム演奏データはト
ーンナンバデータごとに異なるトラックに分けて記憶さ
れる。しかしパートデータごとのトラックにまとめて記
憶することも可能である。この場合、上記トーンナンバ
データと上記パートデータとは入れ替えて記憶される。
さらに1つのトラックにまとめて記憶することも可能で
ある。この場合、上記トーンナンバデータは上記パート
データととともに記憶される。
The above tone numbers are further classified into four types even for one tone color. That is, the tone of one musical instrument is divided into four types: A (normal), B (half octave lower), C (half octave higher), and D (the envelope waveform shape is an organ type or percussive type). The automatic rhythm performance data is stored in different tracks for each tone number data. However, it is also possible to collectively store them in a track for each part data. In this case, the tone number data and the part data are stored interchangeably.
Further, it is also possible to collectively store the data on one track. In this case, the tone number data is stored together with the part data.

【0018】この自動リズム演奏データの先頭には、イ
ンデックスデータIDが記憶されており、このインデッ
クスデータIDは、リズムナンバデータ、ソングネーム
データ、拍子データ、テンポデータ等からなっている。
リズムナンバデータは、上記ROM7に複数記憶されて
いる自動リズム演奏データのパターンナンバデータを示
している。拍子データ、テンポデータはこの自動リズム
演奏による自動演奏の拍子、テンポを示すデータであ
る。ソングネームデータは曲名を示すデータである。
At the head of the automatic rhythm performance data, an index data ID is stored, and the index data ID is composed of rhythm number data, song name data, beat data, tempo data, and the like.
The rhythm number data indicates the pattern number data of the automatic rhythm performance data stored in the ROM 7 in plurals. The time signature data and tempo data are data indicating the time signature and tempo of the automatic performance by the automatic rhythm performance. The song name data is data indicating a song name.

【0019】3.トーンジェネレータ19 図3は上記トーンジェネレータ19を示す。上記アサイ
ンメントメモリ30に記憶されている各チャンネルごと
の楽音データは、サウンドコントローラ31によって直
接読み出されるか、またはCPU5によって読み出され
てサウンドコントローラ31に送られる。サウンドコン
トローラ31は、各チャンネルごとの楽音データのう
ち、キーナンバデータ、音色データ等を楽音波形ジェネ
レータ32へ時分割に送り込み、エンベロープ特性デー
タ、ベロシティデータ等をエンベロープ波形ジェネレー
タ33へ時分割に送り込む。
[0019] 3. Tone generator 19 Figure 3 shows the tone generator 19. The tone data for each channel stored in the assignment memory 30 is read directly by the sound controller 31 or read by the CPU 5 and sent to the sound controller 31. The sound controller 31 sends key number data, tone color data, and the like among the tone data for each channel to the tone waveform generator 32 in a time-sharing manner, and sends envelope characteristic data, velocity data, and the like to the envelope waveform generator 33 in a time-sharing manner.

【0020】楽音波形ジェネレータ32では、キーナン
バデータに応じた音高で、かつ音色データに応じた波形
パターンの楽音波形信号が時分割で作成されて、サウン
ド乗算器34へ送られる。一方、エンベロープ波形ジェ
ネレータ33では、エンベロープ特性データに応じた波
形パターンで、かつベロシティデータに応じた振幅のエ
ンベロープ波形信号が時分割で作成されて、エンベロー
プ乗算器35へ送られる。
In the musical tone waveform generator 32, a musical tone waveform signal having a pitch corresponding to the key number data and a waveform pattern corresponding to the tone color data is generated in a time division manner and sent to the sound multiplier 34. On the other hand, in the envelope waveform generator 33, an envelope waveform signal having a waveform pattern corresponding to the envelope characteristic data and having an amplitude corresponding to the velocity data is created in a time division manner and sent to the envelope multiplier 35.

【0021】エンベロープ乗算器35では、ラッチ37
にセットされたラウドネスデータLNが乗算され、エン
ベロープ波形がラウドネスデータLNに応じた音量とさ
れる。サウンド乗算器34では、楽音波形データとエン
ベロープ波形データとが乗算され、累算器36を介して
出力される。
In the envelope multiplier 35, a latch 37
Is multiplied by the loudness data LN set in the step S1, and the envelope waveform has a volume corresponding to the loudness data LN. The sound multiplier 34 multiplies the musical tone waveform data by the envelope waveform data and outputs the result through the accumulator 36.

【0022】4.発音回路60 図7は、上記発音回路60を示す。上記プログラマブル
タイマ9からの断続パターンデータSCPは、ナンドゲ
ートNA1に入力され、このナンドゲートNA1の出力
は、ナンドゲートNA2の2つの入力端子に入力されて
いる。このナンドゲートNA2の出力はコンデンサC及
び抵抗R4を介して、上記ナンドゲートNA1のもう1
つの入力端子に入力されている。上記ナンドゲートNA
1及び抵抗R4に対しては、トランジスタTr1及び抵
抗R1が並列に接続されるとともに、トランジスタTr
2及び抵抗R2も並列に接続され、さらにトランジスタ
Tr3及び抵抗R3も並列に接続されている。
[0022] 4. Sounding Circuit 60 FIG. 7 shows the sounding circuit 60 described above. The intermittent pattern data SCP from the programmable timer 9 is input to the NAND gate NA1, and the output of the NAND gate NA1 is input to two input terminals of the NAND gate NA2. The output of the NAND gate NA2 is connected to another output of the NAND gate NA1 via a capacitor C and a resistor R4.
Input to two input terminals. The above NAND gate NA
1 and the resistor R4, the transistor Tr1 and the resistor R1 are connected in parallel, and the transistor Tr1
2 and the resistor R2 are also connected in parallel, and the transistor Tr3 and the resistor R3 are also connected in parallel.

【0023】上記ナンドゲートNA2からは、上記断続
パターンデータSCPに応じた断続的な報知音信号が出
力され、アンプ62で増幅され、圧電ブザー61より報
知音が発音される。上記トランジスタTr1、Tr2、
Tr3は、いづれかが導通し、発振条件が変化して、上
記報知音信号の周波数が変化する。ラッチ28には、3
ビットの報知音周波数データSF“001”“010”
“100”が、CPU5によってセットされ、上記トラ
ンジスタTr1、Tr2、Tr3のいづれかが導通す
る。上記報知音周波数データSF“001”“010”
“100”は、後述するステップ34〜36、61〜6
3及び101〜104でいずかがセットされる。
From the NAND gate NA2, an intermittent notification sound signal corresponding to the intermittent pattern data SCP is output, amplified by the amplifier 62, and the notification sound is generated by the piezoelectric buzzer 61. The transistors Tr1, Tr2,
Either Tr3 conducts, the oscillation condition changes, and the frequency of the notification sound signal changes. The latch 28 has 3
Bit notification sound frequency data SF “001” “010”
“100” is set by the CPU 5 and one of the transistors Tr1, Tr2, Tr3 is turned on. The notification sound frequency data SF "001""010"
“100” indicates steps 34 to 36 and 61 to 6 described later.
Any of 3 and 101 to 104 is set.

【0024】なお、上記断続パターンデータSCPは、
後述する断続パターンレジスタ49に記憶されて、順次
シフトされる断続パターンデータSCPのサイドビット
でも可能である。また、アンプ62はVCA(電圧制御
増幅器)等として、上記報知音周波数データSF“00
1”“010”“100”と同じデータをD−A変換し
て、上記VCAに送り、上記報知音信号の音量を変化さ
せることも可能である。
The intermittent pattern data SCP is
It is also possible to use side bits of the intermittent pattern data SCP stored in the intermittent pattern register 49 described later and sequentially shifted. The amplifier 62 is a VCA (Voltage Control Amplifier) or the like, and outputs the notification sound frequency data SF “00”.
It is also possible to DA-convert the same data as "1", "010", and "100" and send it to the VCA to change the volume of the notification sound signal.

【0025】5.ワーキングレジスタ群40 図4は、RAM6内のワーキングレジスタ群40の一部
を示すものである。このワーキングレジスタ群40に
は、記憶容量レジスタ41、残記憶容量レジスタ42、
第1ボーダレジスタ43、第2ボーダレジスタ44、第
3ボーダレジスタ45、ビート数レジスタ46、テンポ
レジスタ47、ラウドネスレジスタ48、断続パターン
レジスタ49、リズムマスクレジスタ50、シフト周期
カウンタ51、テンポカウンタ52、ビートカウンタ5
3、バーカウンタ54、複数の書き込みバッファレジス
タ55等が形成されている。
[0025] 5. Working Register Group 40 FIG. 4 shows a part of the working register group 40 in the RAM 6. The working register group 40 includes a storage capacity register 41, a remaining storage capacity register 42,
A first border register 43, a second border register 44, a third border register 45, a beat number register 46, a tempo register 47, a loudness register 48, an intermittent pattern register 49, a rhythm mask register 50, a shift cycle counter 51, a tempo counter 52, Beat counter 5
3, a bar counter 54, a plurality of write buffer registers 55, and the like.

【0026】記憶容量レジスタ41には、上記シーケン
スRAM17の書き込み可能な記憶容量を示すエンドア
ドレスデータEAが記憶される。残記憶容量レジスタ4
2には、上記シーケンスRAM17の残り書き込み可能
な残記憶容量を示す残記憶容量データRMが記憶され
る。
The storage capacity register 41 stores end address data EA indicating the writable storage capacity of the sequence RAM 17. Remaining storage capacity register 4
2 stores remaining storage capacity data RM indicating the remaining writable remaining storage capacity of the sequence RAM 17.

【0027】第1ボーダレジスタ43には上記第1ボー
ダデータBO1が記憶され、第2ボーダレジスタ44に
は上記第2ボーダデータBO2が記憶され、第3ボーダ
レジスタ45には上記第3ボーダデータBO3が記憶さ
れる。第1ボーダデータBO1は上記エンドアドレスデ
ータEAに“0.2(20%)”を乗算したものに等し
く、第2ボーダデータBO2は上記エンドアドレスデー
タEAに“0.1(10%)”を乗算したものに等し
く、第3ボーダデータBO3は上記エンドアドレスデー
タEAに“0.01(1%)”を乗算したものに等し
い。
The first border register 43 stores the first border data BO1, the second border register 44 stores the second border data BO2, and the third border register 45 stores the third border data BO3. Is stored. The first border data BO1 is equal to the end address data EA multiplied by "0.2 (20%)", and the second border data BO2 is "0.1 (10%)" multiplied by the end address data EA. The third border data BO3 is equal to the end address data EA multiplied by "0.01 (1%)".

【0028】これらの各データは、CPU5によってR
OM7より転送されるが、パネルスイッチ群3より入力
することにより、任意の値を設定することも可能であ
る。なお、上記1秒周期、1/4秒周期、0秒周期の断
続周期データTCは、上記プログラムとともにROM7
内に記憶されるが、パネルスイッチ群3より入力するこ
とにより、任意の値を設定することも可能である。
Each of these data is converted by the CPU 5 into R
Although transferred from the OM 7, an arbitrary value can be set by inputting from the panel switch group 3. The intermittent cycle data TC of the 1 second cycle, 1/4 second cycle and 0 second cycle is stored in the ROM 7 together with the program.
However, it is also possible to set an arbitrary value by inputting from the panel switch group 3.

【0029】ビート数レジスタ46には、上記自動リズ
ム演奏データのインデックスデータIDの拍子データB
Eが記憶される。この拍子データBEは実際には、拍子
数の48倍の値である。テンポレジスタ47には、上記
自動リズム演奏データのインデックスデータIDのテン
ポデータTPが記憶される。このテンポデータTPは実
際には、後述するインタラプト周期当たりのテンポのイ
ンクリメントステップの値である。
The beat number register 46 stores the time signature data B of the index data ID of the automatic rhythm performance data.
E is stored. The time signature data BE is actually a value 48 times the number of beats. The tempo register 47 stores tempo data TP of the index data ID of the automatic rhythm performance data. This tempo data TP is actually a value of a tempo increment step per interrupt cycle described later.

【0030】ラウドネスレジスタ48には、上記ラウド
ネスデータLNが記憶される。このラウドネスデータL
Nは、トーンジェネレータ19のラッチ37にセットさ
れて、エンベロープ波形がラウドネスデータLNに応じ
た音量とされる。
The loudness register 48 stores the loudness data LN. This loudness data L
N is set in the latch 37 of the tone generator 19 so that the envelope waveform has a volume corresponding to the loudness data LN.

【0031】断続パターンレジスタ49には、断続パタ
ーンデータTCPが記憶される。この断続パターンデー
タTCPは、8ビットデータであり、一定時間ごとにリ
ングシフトされ、サイドの1ビットデータが“1”なら
ば発音、“0”ならば消音となる。例えば“1010
1010”ならば断続発音周期が短くなり、“1000
0000”ならば断続発音周期は4倍に長くなる。
The intermittent pattern register 49 stores intermittent pattern data TCP. The intermittent pattern data TCP is 8-bit data, and is ring-shifted at regular time intervals. If the 1-bit data on the side is "1", sound is generated, and if "0", sound is muted. For example, "1010
If it is “1010”, the intermittent sounding period becomes short,
If it is "0000", the intermittent sound generation period is quadrupled.

【0032】リズムマスクレジスタ50には、リズムマ
スクパターンデータRPが記憶される。このリズムマス
クパターンデータRPは、8ビットデータであり、上記
自動リズム演奏データの各ビートデータのうちマスキン
グ(発音しないように)するトーンナンバデータ及びサ
ウンド順を示している。このリズムマスクパターンデー
タRPの前半4ビットが“0000”ならばシンバルグ
ループのリズムサウンドがすべてマスキングされ、後半
4ビットが“0000”ならばドラムグループのリズム
サウンドがすべてマスキングされる。
The rhythm mask register 50 stores rhythm mask pattern data RP. The rhythm mask pattern data RP is 8-bit data, and indicates tone number data to be masked (to prevent sound generation) and sound order among beat data of the automatic rhythm performance data. If the first four bits of the rhythm mask pattern data RP are “0000”, all the rhythm sounds of the cymbal group are masked, and if the last four bits are “0000”, all the rhythm sounds of the drum group are masked.

【0033】また例えば、この各4ビットが“111
1”ならば、すべてのビートデータが発音され、“10
10”ならば、偶数番目のビートデータがマスキングさ
れ、“0101”ならば、奇数番目のビートデータがマ
スキングされ、“1001”ならば、2番目、3番目、
6番目、7番目…のビートデータがマスキングされ、
“0010”ならば、1番目、2番目、4番目、5番
目、6番目、8番目…のビートデータがマスキングされ
る。この説明は、4拍子の例である。ワルツ等の3拍子
の場合は、上記4ビットのうち上位3ビットまたは下位
3ビットを繰返し使用する。
For example, each of these 4 bits is "111".
If “1”, all beat data is pronounced and “10”
If "10", even-numbered beat data is masked, if "0101", odd-numbered beat data is masked; if "1001", second, third, etc.
The sixth, seventh, etc. beat data are masked,
If "0010", the first, second, fourth, fifth, sixth, eighth,... Beat data are masked. This description is an example of quadruple time. In the case of three beats such as Waltz, the upper 3 bits or the lower 3 bits of the above 4 bits are used repeatedly.

【0034】シフト周期カウンタ51は、断続パターン
データTCPのリングシフトの周期をカウントする。こ
のシフト周期カウンタ51は、一定時間すなわちインタ
ラプト処理ごとに+1され、オーバーフローすると、上
記断続パターンデータTCPのリングシフトが行われ
る。
The shift cycle counter 51 counts the cycle of the ring shift of the intermittent pattern data TCP. The shift cycle counter 51 is incremented by one for a fixed time, that is, every interrupt processing. When the counter overflows, the ring shift of the intermittent pattern data TCP is performed.

【0035】テンポカウンタ52には、上記テンポレジ
スタ47内のテンポデータTPが一定時間すなわちイン
タラプト処理ごとに累算され、1/48拍分の値、例え
ば216を越えてオーバフローすると、ビートカウンタ5
3が+1される。このビートカウンタ53は進行したビ
ートの数ではなく、進行したビートの数の48倍の値が
カウントされる。ビートカウンタ53が上記ビート数デ
ータの48倍の値を越えると、1小節長のカウントがお
こなわれたことになり、バーカウンタ54が+1され
る。
[0035] tempo counter 52, the tempo data TP in the tempo register 47 are accumulated for each predetermined time, that interrupt processing, 1/48 beat value, for example, overflows beyond 2 16 beat counter 5
3 is incremented by one. The beat counter 53 counts not the number of advanced beats but a value 48 times the number of advanced beats. When the beat counter 53 exceeds the value of 48 times the beat number data, one bar length has been counted, and the bar counter 54 is incremented by one.

【0036】書き込みバッファレジスタ55には、自動
演奏データAPのシーケンスRAM17への書き込みに
あたり、上記キーナンバデータ、ステップタイムデー
タ、ベロシティデータ、パートデータ、ゲートタイムデ
ータが一時記憶される。この書き込みバッファレジスタ
55は、ポリフォニックなサウンドに対応できるように
複数設けられている。上記キーナンバデータの先頭には
1ビットのキーオン/オフデータが付加されている。こ
のキーオン/オフデータは、キーオン(“1”)、キー
オフ(“0”)を示す。
In writing the automatic performance data AP into the sequence RAM 17, the write buffer register 55 temporarily stores the key number data, step time data, velocity data, part data, and gate time data. A plurality of write buffer registers 55 are provided so as to support polyphonic sounds. One-bit key on / off data is added to the head of the key number data. The key-on / off data indicates key-on ("1") and key-off ("0").

【0037】上記キーナンバデータは、音高を示すデー
タである。ステップタイムデータは、曲の先頭または小
節の先頭すなわちバーマークデータから楽音の発音開始
またはコマンド実行までの時間を示すデータである。ゲ
ートタイムデータは楽音の発音開始から発音終了までの
時間を示すデータである。ベロシティデータは、キーオ
ンまたはキーオフの速さまたは強さを示すデータであ
る。パートデータは、メロディ、コード、リズム、ベー
ス、バッキング、アルペジオ、ドラム、シンバル等の演
奏パートを示すデータである。このほか、ワーキングレ
ジスタ群40には、現在自動演奏中の自動リズム演奏デ
ータのリズムナンバデータ、トーンナンバデータ、パー
トデータ等も記憶される。
The key number data is data indicating a pitch. The step time data is data indicating the time from the beginning of a song or the beginning of a bar, that is, bar mark data to the start of musical tone generation or command execution. The gate time data is data indicating the time from the start of the tone generation to the end of the tone generation. The velocity data is data indicating the speed or strength of key-on or key-off. The part data is data indicating performance parts such as melody, chord, rhythm, bass, backing, arpeggio, drum, cymbal, and the like. In addition, the working register group 40 stores rhythm number data, tone number data, part data, and the like of the automatic rhythm performance data currently being automatically performed.

【0038】6.自動演奏データAP記録処理 図5は、自動演奏データAPの記録処理のフローチャー
トを示している。この処理は、パネルスイッチ群3内の
自動演奏記録スタートのキーを操作する等、所定のキー
操作で開始され、キーボード1の各キーの操作状態がシ
ーケンシャルに記録される。この記録処理のスタート前
には、パネルスイッチ群3を通じて、テンポデータ、拍
子データ、トーンナンバデータ、ソングネーム等を予め
入力しておくことになる。
[0038] 6. Automatic Performance Data AP Recording Process FIG. 5 shows a flowchart of the automatic performance data AP recording process. This process is started by a predetermined key operation such as operating a key for automatic performance recording start in the panel switch group 3, and the operation state of each key of the keyboard 1 is sequentially recorded. Before the start of the recording process, tempo data, time signature data, tone number data, song name, and the like must be input through the panel switch group 3 in advance.

【0039】この処理では、まずCPU5によって、ア
ドレスカウンタ16及びラッチ8、37等がクリアされ
(ステップ01)、ワーキングレジスタ群40の各レジ
スタ41〜55がイニシャライズされて(ステップ0
2)、上記入力済のテンポデータ、拍子データ、ソング
ネーム、トーンナンバデータ等がシーケンスRAM17
の先頭から順に書き込まれ(ステップ03)、アドレス
カウンタ16の書き込みアドレスデータWADが所定値
加算例えば+4される(ステップ04)。
In this process, first, the CPU 5 clears the address counter 16 and the latches 8 and 37 (step 01), and initializes the registers 41 to 55 of the working register group 40 (step 0).
2) The input tempo data, time signature data, song name, tone number data, etc. are stored in the sequence RAM 17.
Are written in order from the beginning (step 03), and the write address data WAD of the address counter 16 is added with a predetermined value, for example, +4 (step 04).

【0040】上記ステップ02のイニシャライズでは、
記憶容量レジスタ41、第1ボーダレジスタ43、第2
ボーダレジスタ44及び第3ボーダレジスタ45には、
上述したエンドアドレスデータEA、第1ボーダデータ
BO1、第2ボーダデータBO2及び第3ボーダデータ
BO3がセットされる。残記憶容量レジスタ42にもエ
ンドアドレスデータEAがセットされる。ビート数レジ
スタ46及びテンポレジスタ47には、上記パネルスイ
ッチ群3より入力された拍子データ及びテンポデータを
演算した、上述した拍子データBE及びテンポデータT
Pが記憶される。
In the initialization of step 02,
Storage capacity register 41, first border register 43, second
The border register 44 and the third border register 45 include:
The above-described end address data EA, first border data BO1, second border data BO2, and third border data BO3 are set. The end address data EA is also set in the remaining storage capacity register 42. In the beat number register 46 and the tempo register 47, the beat data BE and the tempo data T obtained by calculating the beat data and the tempo data input from the panel switch group 3 are stored.
P is stored.

【0041】ラウドネスレジスタ48には“1000
000(1.00)”のラッチデータLNがセットさ
れ、断続パターンレジスタ49には、“0000 00
00(発音なし)”の断続パターンデータTCPがセッ
トされ、リズムマスクレジスタ50には、“1111
1111(マスキングなし)”のリズムマスクパターン
データRMがセットされる。シフト周期カウンタ51、
テンポカウンタ52、ビートカウンタ53、バーカウン
タ54、書き込みバッファレジスタ55は、クリアされ
る。
The loudness register 48 has "1000"
000 (1.00) "is set, and the intermittent pattern register 49 is set to" 0000 00
The intermittent pattern data TCP of “00 (no sound)” is set, and the rhythm mask register 50 stores “1111”.
The rhythm mask pattern data RM of “1111 (no masking)” is set.
The tempo counter 52, beat counter 53, bar counter 54, and write buffer register 55 are cleared.

【0042】次いで、上記書き込みアドレスデータWA
DをシーケンスRAM17のエンドアドレスデータEA
より差し引いた残記憶容量データRMが残記憶容量レジ
スタ42にセットされるとともにLCDドライバ21に
転送され、シーケンスRAM17の残りの記憶容量がL
CD22に表示される(ステップ05)。そして、パネ
ルスイッチ群3から、所定のキー操作等により、エンド
マークデータが入力されれば(ステップ06)、このエ
ンドマークデータはシーケンスRAM17に書き込まれ
て(ステップ07)、書き込みアドレスデータWADが
+1され(ステップ08)、上記ステップ05と同じく
残記憶容量データRMが算出されて表示される(ステッ
プ09)。
Next, the write address data WA
D to the end address data EA of the sequence RAM 17
The remaining storage capacity data RM obtained by subtracting the remaining storage capacity is set in the remaining storage capacity register 42 and transferred to the LCD driver 21, and the remaining storage capacity of the sequence RAM 17 becomes L
The information is displayed on the CD 22 (step 05). When the end mark data is input from the panel switch group 3 by a predetermined key operation or the like (step 06), the end mark data is written into the sequence RAM 17 (step 07), and the write address data WAD is incremented by +1. (Step 08), and the remaining storage capacity data RM is calculated and displayed as in Step 05 (Step 09).

【0043】次に、キーボード1のキーオンすなわちベ
ロシティ検出用の第1のキースイッチのオンがあれば
(ステップ11)、キーオン/オフデータが“0”の、
空き状態の書き込みバッファレジスタ55がサーチされ
(ステップ12)、上記キーオンに係るキーナンバデー
タがこの書き込みバッファレジスタ55に書き込まれる
(ステップ13)。そして、そのときのビートカウンタ
53のカウントデータがステップタイムデータとしてこ
の書き込みバッファレジスタ55に書き込まれて(ステ
ップ14)、上記各データに応じた楽音が上記トーンナ
ンバ19のいずれかのチャンネルに割当てられ、発音処
理が行われる(ステップ15)。これにより、上記キー
オンに応じた楽音の発音が開始される。
Next, if the key of the keyboard 1 is turned on, that is, the first key switch for detecting the velocity is turned on (step 11), the key on / off data is set to "0".
The empty write buffer register 55 is searched (step 12), and the key number data related to the key-on is written into the write buffer register 55 (step 13). Then, the count data of the beat counter 53 at that time is written into the write buffer register 55 as step time data (step 14), and the tone corresponding to the data is assigned to any channel of the tone number 19. Then, a sound generation process is performed (step 15). As a result, tone generation according to the key-on is started.

【0044】さらに、上記キーオンに係るキーのベロシ
ティ検出用の第2のキースイッチのオンがあれば(ステ
ップ16)、このオンキーと同じキーナンバデータのセ
ットされている書き込みバッファレジスタ55がサーチ
され(ステップ17)、そのときのテンポカウンタ52
のカウントデータがベロシティデータとしてこの書き込
みバッファレジスタ55に書き込まれる(ステップ1
8)。なお、第2のキースイッチのオンが所定時間内に
なければ、上記“1”のキーオン/オフデータが“0”
にクリアされ、エラー処理が行われる。
Further, if the second key switch for detecting the velocity of the key related to the key-on is turned on (step 16), the write buffer register 55 in which the same key number data as the on-key is set is searched (step 16). Step 17), the tempo counter 52 at that time
Is written into the write buffer register 55 as velocity data (step 1).
8). If the second key switch is not turned on within a predetermined time, the key-on / off data of "1" is set to "0".
Is cleared and error processing is performed.

【0045】次いで、上記キーオンに係るキーがオフさ
れれば(ステップ21)、このオフキーと同じキーナン
バデータのセットされている書き込みバッファレジスタ
55がサーチされ(ステップ22)、そのときのビート
カウンタ53のカウントデータから、書き込みバッファ
レジスタ55のステップタイムデータを差し引いたデー
タがゲートタイムデータとして、この書き込みバッファ
レジスタ55に書き込まれる(ステップ23)。
Next, when the key related to the key-on is turned off (step 21), the write buffer register 55 in which the same key number data as the off key is set is searched (step 22), and the beat counter 53 at that time is searched. The data obtained by subtracting the step time data of the write buffer register 55 from the count data is written into the write buffer register 55 as gate time data (step 23).

【0046】そして、上記書き込みバッファレジスタ5
5のキーナンバデータ、ステップタイムデータ、ベロシ
ティデータ、ゲートタイムデータがシーケンスRAM1
7に転送されて(ステップ24)、書き込みアドレスデ
ータWADが+4される(ステップ25)。さらに、上
記書き込みアドレスデータWADをシーケンスRAM1
7のエンドアドレスデータEAより差し引いた残記憶容
量データRMが残記憶容量レジスタ42にセットされる
とともにLCDドライバ21に転送され、シーケンスR
AM17の残りの記憶容量がLCD22に表示され(ス
テップ26)、消音処理が行われる(ステップ27)。
これにより、上記キーオフに応じた楽音の消音が行われ
る。
Then, the write buffer register 5
5 key number data, step time data, velocity data, and gate time data are stored in the sequence RAM 1
7 (step 24), and the write address data WAD is incremented by +4 (step 25). Further, the write address data WAD is stored in the sequence RAM 1
7, the remaining storage capacity data RM subtracted from the end address data EA is set in the remaining storage capacity register 42 and transferred to the LCD driver 21.
The remaining storage capacity of the AM 17 is displayed on the LCD 22 (step 26), and a mute process is performed (step 27).
As a result, the tone is muted according to the key-off.

【0047】次に、シーケンスRAM17の残記憶容量
が20%以下となり、上記残記憶容量データRMが第1
ボーダデータBO1より小さく(ステップ31)、第2
ボーダデータBO2より大きければ(ステップ32)、
1秒周期の断続周期データTCがラッチ8にセットされ
る(ステップ34)。これにより、圧電ブザー61が1
秒周期で断続発音し、シーケンスRAM17の残りの記
憶容量がある程度少なくなってきたことがわかる。
Next, the remaining storage capacity of the sequence RAM 17 becomes 20% or less, and the remaining storage capacity data RM becomes the first storage capacity data RM.
Smaller than the border data BO1 (step 31),
If it is larger than the border data BO2 (step 32),
One-second intermittent cycle data TC is set in the latch 8 (step 34). Thereby, the piezoelectric buzzer 61 becomes 1
It can be seen that the sound is intermittently generated every second, and the remaining storage capacity of the sequence RAM 17 is reduced to some extent.

【0048】また、シーケンスRAM17の残記憶容量
が10%以下となり、上記残記憶容量データRMが第2
ボーダデータBO2より小さく(ステップ32)、第3
ボーダデータBO3より大きければ(ステップ33)、
1/4秒周期の断続周期データTCがラッチ8にセット
される(ステップ35)。これにより、圧電ブザー61
が1/4秒周期で断続発音し、シーケンスRAM17の
残りの記憶容量がかなり少なくなってきたことがわか
る。
The remaining storage capacity of the sequence RAM 17 becomes 10% or less, and the remaining storage capacity data RM becomes the second storage capacity data RM.
Smaller than border data BO2 (step 32);
If it is larger than the border data BO3 (step 33),
The intermittent cycle data TC having a quarter second cycle is set in the latch 8 (step 35). Thereby, the piezoelectric buzzer 61
Sounds intermittently at quarter-second intervals, indicating that the remaining storage capacity of the sequence RAM 17 has been considerably reduced.

【0049】さらに、シーケンスRAM17の残記憶容
量が1%以下となり、上記残記憶容量データRMが第3
ボーダデータBO3より小さければ(ステップ33)、
0秒周期の断続周期データTCがラッチ8にセットされ
る(ステップ36)。これにより、圧電ブザー61が発
音し続け、シーケンスRAM17の残りの記憶容量がほ
とんどなくなってきたことがわかる。
Further, the remaining storage capacity of the sequence RAM 17 becomes 1% or less, and the remaining storage capacity data RM becomes the third storage capacity.
If it is smaller than the border data BO3 (step 33),
The intermittent cycle data TC having a cycle of 0 second is set in the latch 8 (step 36). This indicates that the piezoelectric buzzer 61 continues to emit sound, and the remaining storage capacity of the sequence RAM 17 is almost exhausted.

【0050】また、シーケンスRAM17の残記憶容量
が20%を越えていて、上記残記憶容量データRMが第
1ボーダデータBO1より大きければ(ステップ3
1)、上記ステップ34〜36のラッチ8への断続周期
データTCのセットが行われず、圧電ブザー61は消音
し続ける。
If the remaining storage capacity of the sequence RAM 17 exceeds 20% and the remaining storage capacity data RM is larger than the first border data BO1 (step 3).
1), the intermittent cycle data TC is not set in the latch 8 in the steps 34 to 36, and the piezoelectric buzzer 61 continues to mute.

【0051】このように、シーケンスRAM17の残り
の記憶容量が少なくなっていくに従って、圧電ブザー6
1の断続発音周期が小さくなっていき、残りの記憶容量
の程度を耳で瞬時に簡単かつはっきりと知ることができ
る。
As described above, as the remaining storage capacity of the sequence RAM 17 decreases, the piezoelectric buzzer 6
The intermittent sounding cycle of one becomes shorter, and the extent of the remaining storage capacity can be instantaneously and simply known by ear.

【0052】7.インタラプト処理 図6はインタラプト処理のフローチャートを示す。この
処理は、電子楽器全体を制御するクロック信号群のうち
周期の長いクロック信号が、CPU5に与えられるごと
に行われる。このクロック信号は、周期の短いクロック
信号をカウントまたは分周したものでもよい。したがっ
て、この処理は設定テンポに関係なく、一定時間ごとに
行われる。
[0052] 7. Interrupt Processing Figure 6 shows a flowchart of interrupt processing. This process is performed every time a clock signal having a long cycle in the clock signal group for controlling the entire electronic musical instrument is given to the CPU 5. This clock signal may be obtained by counting or dividing a clock signal having a short cycle. Therefore, this processing is performed at regular time intervals regardless of the set tempo.

【0053】この処理では、まずCPU5によって、テ
ンポカウンタ52にテンポレジスタ47のテンポデータ
が累算され(ステップ41)、テンポカウンタ52がオ
ーバフローすれば(ステップ42)、テンポカウンタ5
2がクリアされ(ステップ43)、ビートカウンタ53
が+1される(ステップ44)。次いで、自動リズム演
奏処理及びメトロノーム発音処理が行われ(ステップ5
5、56)、ビートカウンタ53がオーバフローすれば
(ステップ45)、ビートカウンタ53がクリアされ
(ステップ46)、バーカウンタ54が+1される(ス
テップ47)。
In this process, first, the tempo data of the tempo register 47 is accumulated in the tempo counter 52 by the CPU 5 (step 41). If the tempo counter 52 overflows (step 42), the tempo counter 5
2 is cleared (step 43), and the beat counter 53
Is incremented by 1 (step 44). Next, automatic rhythm performance processing and metronome sound generation processing are performed (step 5).
5, 56), if the beat counter 53 overflows (step 45), the beat counter 53 is cleared (step 46), and the bar counter 54 is incremented by 1 (step 47).

【0054】そして、上述した自動演奏データAP記録
中であれば(ステップ50)、バーマークデータがシー
ケンスRAM17に書き込まれて(ステップ51)、ア
ドレスカウンタ16の書き込みアドレスデータWADが
+1され(ステップ52)、上記書き込みアドレスデー
タWADをシーケンスRAM17のエンドアドレスデー
タEAより差し引いた残記憶容量データRMが残記憶容
量レジスタ42にセットされるとともにLCDドライバ
21に転送され、シーケンスRAM17の残りの記憶容
量がLCD22に表示される(ステップ53)。
If the automatic performance data AP is being recorded (step 50), the bar mark data is written into the sequence RAM 17 (step 51), and the write address data WAD of the address counter 16 is incremented by 1 (step 52). ), The remaining storage capacity data RM obtained by subtracting the write address data WAD from the end address data EA of the sequence RAM 17 is set in the remaining storage capacity register 42 and transferred to the LCD driver 21, and the remaining storage capacity of the sequence RAM 17 is stored in the LCD 22. Is displayed (step 53).

【0055】上記ステップ55の自動リズム演奏処理で
は、ビートカウンタ53の値が上述の自動リズム演奏デ
ータのステップタイムデータに一致すれば、トーンナン
バデータ、パートデータ、ベロシティデータ等のリズム
音データがアサインメントメモリ30に書き込まれて発
音される。なお、上記ステップ45でビートカウンタ5
3がオーバーフローすれば、次のバーマークデータ以降
のリズム音データの処理に移る。上記ステップ56のメ
トロノーム発音処理では、メトロノーム音のトーンナン
バデータ、パートデータ、ベロシティデータ等の楽音デ
ータがアサインメントメモリ30に書き込まれて発音さ
れる。上記ステップ50の自動演奏データAP記録中の
判別は、パネルスイッチ群3内の自動演奏記録スタート
のキーを操作する等、所定のキー操作に応じてRAM6
に記憶された記録中のフラグデータに基づく。
In the automatic rhythm performance processing in step 55, if the value of the beat counter 53 matches the step time data of the automatic rhythm performance data, rhythm sound data such as tone number data, part data, velocity data and the like is assigned. It is written to the comment memory 30 and is pronounced. In step 45, the beat counter 5
If 3 overflows, the process proceeds to the processing of the rhythm sound data after the next bar mark data. In the metronome sounding process in step 56, tone data such as tone number data, part data, and velocity data of the metronome sound are written into the assignment memory 30 and sounded. The determination during the recording of the automatic performance data AP in step 50 is performed by operating the RAM 6 in response to a predetermined key operation such as operating a key for starting automatic performance recording in the panel switch group 3.
Based on the flag data being recorded stored in the.

【0056】8.報知音の断続周期を変化させる別の例 図8、9は、シーケンスRAM17の残りの記憶容量が
少なくなっていくに従って、上記圧電ブザー61の報知
音の断続周期を変化させる別の実施例を示す。本実施例
では、1ビットラッチ(図示せず)の出力を上記発音回
路60のナンドゲートNA1に送っている。この1ビッ
トラッチには、後述する断続パターンレジスタ49のリ
ングシフトされた断続パターンデータTCPの最上位ビ
ットデータ又は最下位ビットデータがセットされる。
[0056] 8. Another example Figure 8 and 9 for changing the cadence of the notification sound, according to the remaining storage capacity of the sequence RAM17 is gradually decreased, showing another embodiment for changing the cadence of the notification sound by the piezoelectric buzzer 61 . In this embodiment, the output of the one-bit latch (not shown) is sent to the NAND gate NA1 of the sound generator 60. In this 1-bit latch, the most significant bit data or the least significant bit data of the ring-shifted intermittent pattern data TCP of the intermittent pattern register 49 described later is set.

【0057】そして、上述の図5のステップ34、3
5、36の代わりに図8のステップ61、62、63の
処理が行われる。すなわち、シーケンスRAM17の残
記憶容量が20%以下となり、上記残記憶容量データR
Mが第1ボーダデータBO1より小さく(ステップ3
1)、第2ボーダデータBO2より大きければ(ステッ
プ32)、“1000 0000”の断続パターンデー
タTCPが断続パターンレジスタ49にセットされる
(ステップ61)。これにより、例えば断続パターンデ
ータTCPが1/8秒周期でリングシフトされれば、圧
電ブザー61が1秒周期で断続発音し、シーケンスRA
M17の残りの記憶容量がある程度少なくなってきたこ
とがわかる。
Then, steps 34 and 3 in FIG.
The processing of steps 61, 62 and 63 of FIG. 8 is performed instead of 5 and 36. That is, the remaining storage capacity of the sequence RAM 17 becomes 20% or less, and the remaining storage capacity data R
M is smaller than the first border data BO1 (step 3
1) If it is larger than the second border data BO2 (step 32), the intermittent pattern data TCP of "1000 0000" is set in the intermittent pattern register 49 (step 61). Thus, for example, if the intermittent pattern data TCP is ring-shifted at 1/8 second cycle, the piezoelectric buzzer 61 emits intermittent sound at 1 second cycle, and the sequence RA
It can be seen that the remaining storage capacity of M17 has decreased to some extent.

【0058】また、シーケンスRAM17の残記憶容量
が10%以下となり、上記残記憶容量データRMが第2
ボーダデータBO2より小さく(ステップ32)、第3
ボーダデータBO3より大きければ(ステップ33)、
“1010 1010”の断続パターンデータTCPが
断続パターンレジスタ49にセットされる(ステップ6
2)。これにより、例えば断続パターンデータTCPが
1/8秒周期でリングシフトされれば、圧電ブザー61
が1/4秒周期で断続発音し、シーケンスRAM17の
残りの記憶容量がかなり少なくなってきたことがわか
る。
The remaining storage capacity of the sequence RAM 17 becomes 10% or less, and the remaining storage capacity data RM becomes the second storage capacity data RM.
Smaller than border data BO2 (step 32);
If it is larger than the border data BO3 (step 33),
The intermittent pattern data TCP of "1010 1010" is set in the intermittent pattern register 49 (step 6).
2). Thus, if the intermittent pattern data TCP is ring-shifted at a cycle of 1/8 second, for example, the piezoelectric buzzer 61
Sounds intermittently at quarter-second intervals, indicating that the remaining storage capacity of the sequence RAM 17 has been considerably reduced.

【0059】さらに、シーケンスRAM17の残記憶容
量が1%以下となり、上記残記憶容量データRMが第3
ボーダデータBO3より小さければ(ステップ33)、
“1111 1111”の断続パターンデータTCPが
断続パターンレジスタ49にセットされる(ステップ6
3)。これにより、圧電ブザー61が発音し続け、シー
ケンスRAM17の残りの記憶容量がほとんどなくなっ
てきたことがわかる。
Further, the remaining storage capacity of the sequence RAM 17 becomes 1% or less, and the remaining storage capacity data RM becomes the third storage capacity.
If it is smaller than the border data BO3 (step 33),
The intermittent pattern data TCP of "1111 1111" is set in the intermittent pattern register 49 (step 6).
3). This indicates that the piezoelectric buzzer 61 continues to emit sound, and the remaining storage capacity of the sequence RAM 17 is almost exhausted.

【0060】また、シーケンスRAM17の残記憶容量
が20%を越えていて、上記残記憶容量データRMが第
1ボーダデータBO1より大きければ(ステップ3
1)、上記ステップ61〜63の断続パターンレジスタ
49への断続パターンデータTCPのセットは行われ
ず、圧電ブザー61は消音し続ける。
If the remaining storage capacity of the sequence RAM 17 exceeds 20% and the remaining storage capacity data RM is larger than the first border data BO1 (step 3).
1), the intermittent pattern data TCP is not set in the intermittent pattern register 49 in steps 61 to 63, and the piezoelectric buzzer 61 continues to mute.

【0061】図9は、本実施例のインタラプト処理のフ
ローチャートを示す。この処理では、上述の図6のステ
ップ43と44の間で図9のステップ65の処理が行わ
れ、図6のステップ53の後に図9のステップ66〜6
9の処理が行われる。すなわち、テンポカウンタ52が
オーバフローすれば(ステップ42)、テンポカウンタ
52がクリアされ(ステップ43)、シフト周期カウン
タ51が+1され(ステップ65)、ビートカウンタ5
3が+1される(ステップ44)。
FIG. 9 shows a flowchart of the interrupt processing of this embodiment. In this process, the process of step 65 of FIG. 9 is performed between the above-described steps 43 and 44 of FIG. 6, and after step 53 of FIG.
9 is performed. That is, if the tempo counter 52 overflows (step 42), the tempo counter 52 is cleared (step 43), the shift cycle counter 51 is incremented by 1 (step 65), and the beat counter 5
3 is incremented by 1 (step 44).

【0062】また、シフト周期カウンタ51がオーバフ
ローすれば(ステップ66)、シフト周期カウンタ51
がクリアされ(ステップ67)、断続パターンレジスタ
49の断続パターンデータTCPが1ビットシフトされ
(ステップ68)、断続パターンデータTCPの最上位
ビットデータ又は最下位ビットデータが1ビットラッチ
18に転送される(ステップ69)。
If the shift period counter 51 overflows (step 66), the shift period counter 51
Is cleared (step 67), the gating pattern data TCP of the gating pattern register 49 is shifted by one bit (step 68), and the most significant bit data or the least significant bit data of the gating pattern data TCP is transferred to the one-bit latch 18. (Step 69).

【0063】なお、上記1ビットラッチは、8ビットの
リングシフトレジスタで代用することが可能である。こ
の場合、断続パターンデータTCPがパラレルにセット
され、順次リングシフトされて、最上位ビットデータ又
は最下位ビットデータが発音回路60のナンドゲートN
A1に送られる。
The 1-bit latch can be replaced by an 8-bit ring shift register. In this case, the intermittent pattern data TCP is set in parallel and is sequentially ring-shifted so that the most significant bit data or the least significant bit data is
It is sent to A1.

【0064】9.報知音の断続パターンを変化させる例 図10は、シーケンスRAM17の残りの記憶容量が少
なくなっていくに従って、上記圧電ブザー61の報知音
の断続パターンを変化させる実施例を示す。本実施例で
は、上述の図5のステップ34、35、36の代わりに
図10のステップ101、102、103、104の処
理が行われる。すなわち、シーケンスRAM17の残記
憶容量が20%を越えていて、上記残記憶容量データR
Mが第1ボーダデータBO1より大きければ(ステップ
31)、“1111 1111”の断続パターンデータ
TCPが断続パターンレジスタ49にセットされる(ス
テップ101)。これにより、圧電ブザー61が発音し
続け、シーケンスRAM17の残りの記憶容量がまだあ
ることがわかる。
9. Example of Changing Intermittent Pattern of Notification Sound FIG. 10 shows an embodiment in which the intermittent notification pattern of the piezoelectric buzzer 61 is changed as the remaining storage capacity of the sequence RAM 17 decreases. In this embodiment, the processing of steps 101, 102, 103, and 104 in FIG. 10 is performed instead of the steps 34, 35, and 36 in FIG. That is, the remaining storage capacity of the sequence RAM 17 exceeds 20%, and the remaining storage capacity data R
If M is larger than the first border data BO1 (step 31), the intermittent pattern data TCP of "1111 1111" is set in the intermittent pattern register 49 (step 101). As a result, the piezoelectric buzzer 61 continues to emit sound, indicating that the remaining storage capacity of the sequence RAM 17 is still available.

【0065】次に、シーケンスRAM17の残記憶容量
が20%以下となり、上記残記憶容量データRMが第1
ボーダデータBO1より小さく(ステップ31)、第2
ボーダデータBO2より大きければ(ステップ32)、
“1011 1110”の断続パターンデータTCPが
断続パターンレジスタ49にセットされる(ステップ1
02)。これにより、例えば断続パターンデータTCP
が1/8秒周期でリングシフトされれば、圧電ブザー6
1が1/8秒の発音、1/8秒の消音、5/8秒の発
音、1/8秒の消音を繰り返し、シーケンスRAM17
の残りの記憶容量がある程度少なくなってきたことがわ
かる。
Next, the remaining storage capacity of the sequence RAM 17 becomes 20% or less, and the remaining storage capacity data RM becomes the first storage capacity data RM.
Smaller than the border data BO1 (step 31),
If it is larger than the border data BO2 (step 32),
The intermittent pattern data TCP of “1011 1110” is set in the intermittent pattern register 49 (step 1).
02). Thereby, for example, the intermittent pattern data TCP
Is ring-shifted in a 1/8 second cycle, the piezoelectric buzzer 6
1 repeats sound generation of 1/8 second, mute of 1/8 second, sound of 5/8 second, mute of 1/8 second.
It can be seen that the remaining storage capacity of has decreased to some extent.

【0066】また、シーケンスRAM17の残記憶容量
が10%以下となり、上記残記憶容量データRMが第2
ボーダデータBO2より小さく(ステップ32)、第3
ボーダデータBO3より大きければ(ステップ33)、
“1110 0010”の断続パターンデータTCPが
断続パターンレジスタ49にセットされる(ステップ1
03)。これにより、例えば断続パターンデータTCP
が1/8秒周期でリングシフトされれば、圧電ブザー6
1が3/8秒の発音、3/8秒の消音、1/8秒の発
音、1/8秒の消音を繰り返し、シーケンスRAM17
の残りの記憶容量がかなり少なくなってきたことがわか
る。
Further, the remaining storage capacity of the sequence RAM 17 becomes 10% or less, and the remaining storage capacity data RM becomes the second storage capacity data RM.
Smaller than border data BO2 (step 32);
If it is larger than the border data BO3 (step 33),
The intermittent pattern data TCP of "1110 0010" is set in the intermittent pattern register 49 (step 1).
03). Thereby, for example, the intermittent pattern data TCP
Is ring-shifted in a 1/8 second cycle, the piezoelectric buzzer 6
1 repeats the sound of 3/8 seconds, the sound of 3/8 seconds, the sound of 1/8 seconds, and the sound of 1/8 seconds repeatedly.
It can be seen that the remaining storage capacity has become considerably smaller.

【0067】さらに、シーケンスRAM17の残記憶容
量が1%以下となり、上記残記憶容量データRMが第3
ボーダデータBO3より小さければ(ステップ33)、
“1000 0100”のの断続パターンデータTCP
が断続パターンレジスタ49にセットされる(ステップ
104)。これにより、例えば断続パターンデータTC
Pが1/8秒周期でリングシフトされれば、圧電ブザー
61が1/8秒の発音、4/8秒の消音、1/8秒の発
音、2/8秒の消音を繰り返し、シーケンスRAM17
の残りの記憶容量がほとなどなくなってきたことがわか
る。
Further, the remaining storage capacity of the sequence RAM 17 becomes 1% or less, and the remaining storage capacity data RM becomes the third storage capacity data RM.
If it is smaller than the border data BO3 (step 33),
Intermittent pattern data TCP of "1000 0100"
Is set in the intermittent pattern register 49 (step 104). Thereby, for example, the intermittent pattern data TC
If P is ring-shifted in a 1/8 second cycle, the piezoelectric buzzer 61 repeats 1/8 second sound, 4/8 second mute, 1/8 second mute, and 2/8 second mute.
It can be seen that the remaining storage capacity of has almost disappeared.

【0068】10.断続パターンデータTCPの例 図11は、シーケンスRAM17の書き込み量に応じ
て、上記圧電ブザー61の報知音の断続パターンを変化
させる実施例を示す。図11の断続パターンデータTC
Pは、RAM6またはROM7に記憶され、上述した断
続パターンデータTCPと同じ様に、CPU5によって
ステップ31〜36、61〜63、101〜104にお
いて、書き込みアドレスデータWADに応じたものが断
続パターンレジスタ49にセットされる。従って本実施
例では、残記憶容量データRM、第1ボーダデータBO
1、第2ボーダデータBO2、第3ボーダデータBO3
は使われない。
10. Example of Intermittent Pattern Data TCP FIG. 11 shows an embodiment in which the intermittent pattern of the notification sound of the piezoelectric buzzer 61 is changed in accordance with the amount of writing in the sequence RAM 17. The intermittent pattern data TC of FIG.
P is stored in the RAM 6 or the ROM 7, and in the same manner as the above-described intermittent pattern data TCP, the CPU 5 determines in step 31 to 36, 61 to 63, 101 to 104 the data corresponding to the write address data WAD by the Is set to Therefore, in the present embodiment, the remaining storage capacity data RM and the first border data BO
1, second border data BO2, third border data BO3
Is not used.

【0069】当該断続パターンデータTCPは、シーケ
ンスRAM17の書き込み量を示す書き込みアドレスデ
ータWADの上位データに対応して記憶されている。例
えば、シーケンスRAM17の記憶容量の0%、5%、
10%、15%、20%……100%に応じた書き込み
アドレスデータWADの上位データに対応して、図11
に示す各断続パターンデータTCPが記憶されている。
なお、この各断続パターンデータTCPは、シーケンス
RAM17の記憶容量の16番地ずつ、32番地ずつ、
64番地ずつ……に応じて記憶してもよい。
The intermittent pattern data TCP is stored corresponding to the upper data of the write address data WAD indicating the write amount of the sequence RAM 17. For example, 0%, 5% of the storage capacity of the sequence RAM 17,
10%, 15%, 20%... Corresponding to the upper data of the write address data WAD corresponding to 100%, FIG.
Are stored.
Each of the intermittent pattern data TCP is stored in the storage capacity of the sequence RAM 17 at addresses 16 and 32, respectively.
It may be stored in accordance with each of the 64 addresses.

【0070】そして、ステップ31〜36、61〜6
3、101〜104において、アドレスカウンタ16の
書き込みアドレスデータWADの上位データに応じた断
続パターンデータTCPが読み出され、断続パターンレ
ジスタ49にセットされる。
Then, steps 31 to 36, 61 to 6
In steps 3, 101 to 104, the intermittent pattern data TCP corresponding to the upper data of the write address data WAD of the address counter 16 is read out and set in the intermittent pattern register 49.

【0071】上述した各実施例は、プログラマブルタイ
マ9のカウント速度もしくは断続パターンデータTCP
のリングシフト速度を速くすることにより、圧電ブザー
61の音量を変えることができる。この場合、プログラ
マブルタイマ9に入力されるクロック信号は高周波とな
り、図6のインタラプト処理は短い周期で行われる。
In each of the above embodiments, the count speed of the programmable timer 9 or the intermittent pattern data TCP
, The volume of the piezoelectric buzzer 61 can be changed. In this case, the clock signal input to the programmable timer 9 has a high frequency, and the interrupt processing in FIG. 6 is performed in a short cycle.

【0072】なお、上記圧電ブザー61の代わりに発光
ダイオード等を接続し、シーケンスRAM17の残りの
記憶容量に応じて報知光の周期または発光点滅パターン
を変化させることも可能である。
It is also possible to connect a light emitting diode or the like instead of the piezoelectric buzzer 61 and change the cycle of the notification light or the light emission blinking pattern according to the remaining storage capacity of the sequence RAM 17.

【0073】上記報知音は、この報知音の楽音波形デー
タ及び場合によってはエンベロープ波形データ等をトー
ンジェネレータ19内に記憶しておき、この報知音にチ
ャンネルを割当ててサウンドシステム20より発音させ
ることも可能である。例えば、トーンジェネレータ19
の16チャンネル(CH0〜CH15)の内、演奏情報
の記憶モードの時にはチャンネルCH0が報知音のため
のチャンネルとされる。再生モードの時には報知音は不
要のため、このチャンネルCH0は他のシーケンス楽音
の発音に利用される。
As the notification sound, the tone waveform data of the notification sound and, in some cases, envelope waveform data and the like are stored in the tone generator 19, and a channel is assigned to the notification sound so that the sound system 20 emits the sound. It is possible. For example, the tone generator 19
Of the 16 channels (CH0 to CH15), channel CH0 is used as the channel for the notification sound in the performance information storage mode. Since the notification sound is unnecessary in the reproduction mode, this channel CH0 is used for generating another sequence musical sound.

【0074】このようなピッ、ピッ、ピッという報知音
のシーケンスデータは、上記自動リズム演奏データと同
様にして記憶しておく。つまり上述したトーンナンバデ
ータ(メトロノーム音A〜D、シンバル音A〜D、ドラ
ム音A〜D等を選択可能)、ベロシティデータ(音量を
示す)、ステップタイムデータ(発音タイミングを示
す)、リターンコマンド(1〜2小節分の繰返しを指示
する)等で構成されたデータとする。
The sequence data of the beep, beep, and beep sound is stored in the same manner as the automatic rhythm performance data. That is, the above-mentioned tone number data (metronome sounds A to D, cymbal sounds A to D, drum sounds A to D, etc. can be selected), velocity data (showing volume), step time data (showing sounding timing), return command (Instructions to repeat one or two measures).

【0075】そして、報知音の断続周期を変化させる場
合は以下のとうりである。シーケンスRAM17の残記
憶容量が20%以上ならば報知音は発生せず、残記憶容
量が20%〜10%ならば、上記ステップタイムデータ
に応じた報知音(パーカッシブなメトロノーム音A)が
発生する。残記憶容量が10%〜1%ならば、上記ステ
ップタイムが1/4となって、ハイスピードシーケンス
演奏と同じ状態の報知音(メトロノーム音A)が発生す
る。残記憶容量が1%以下ならば、上記シーケンスデー
タは使われず、報知音のトーンナンバデータが変更さ
れ、常時発音し続ける報知音(メトロノーム音A)が発
生する。これらの処理は、ステップ34〜36、61〜
63、71〜73、81〜83、91〜93、101〜
104等で実行される。
The case where the intermittent period of the notification sound is changed is as follows. If the remaining storage capacity of the sequence RAM 17 is 20% or more, no notification sound is generated, and if the remaining storage capacity is 20% to 10%, a notification sound (percussive metronome sound A) according to the step time data is generated. . If the remaining storage capacity is 10% to 1%, the step time is reduced to 1/4, and a notification sound (metronome sound A) in the same state as in the high-speed sequence performance is generated. If the remaining storage capacity is 1% or less, the sequence data is not used, the tone number data of the notification sound is changed, and a notification sound (metronome sound A) which is continuously generated is generated. These processes are performed in steps 34 to 36, 61 to
63, 71-73, 81-83, 91-93, 101-
This is executed at 104 and the like.

【0076】さらに、報知音の断続パターンを変化させ
る場合は以下のとうりである。シーケンスRAM17の
残記憶容量によって、再生するシーケンスパターンを選
択する。つまり複数の報知音のシーケンスパターン、例
えばシーケンス1,2,3を記憶しておき、残記憶容量
が20%以上ならば、報知音は発生せず、残記憶容量が
20%〜10%ならば、シーケンス1に応じた報知音が
発生する。残記憶容量が10%〜1%ならば、シーケン
ス2に応じた報知音が発生する。残記憶容量が1%以下
ならば、シーケンス3に応じた報知音が発生する。これ
らの処理は、ステップ34〜36、61〜63、71〜
73、81〜83、91〜93、101〜104等で実
行される。
Further, the case where the intermittent pattern of the notification sound is changed is as follows. The sequence pattern to be reproduced is selected according to the remaining storage capacity of the sequence RAM 17. That is, a sequence pattern of a plurality of notification sounds, for example, sequences 1, 2, and 3, are stored. If the remaining storage capacity is 20% or more, no notification sound is generated, and if the remaining storage capacity is 20% to 10%. , A notification sound corresponding to the sequence 1 is generated. If the remaining storage capacity is 10% to 1%, a notification sound corresponding to the sequence 2 is generated. If the remaining storage capacity is 1% or less, a notification sound according to sequence 3 is generated. These processes are performed in steps 34-36, 61-63, 71-
73, 81-83, 91-93, 101-104, etc.

【0077】11.音量を変化させる例 図12は、シーケンスRAM17の残記憶容量が少なく
なるにしたがって、メトロノーム音を含む楽音の音量を
次第に小さくする実施例を示す。本実施例では、上述の
図5のステップ34、35、36の代わりに図12のス
テップ71、72、73の処理が行われる。すなわち、
シーケンスRAM17の残記憶容量が20%以下とな
り、上記残記憶容量データRMが第1ボーダデータBO
1より小さく(ステップ31)、第2ボーダデータBO
2より大きければ(ステップ32)、“0111 00
11(約0.9)”のラウドネスデータLNがラウドネ
スレジスタ48にセットされる(ステップ71)。これ
により、このラウドネスデータLNがラッチ37を通じ
エンベロープ乗算器35に送られ、メトロノーム音を含
む楽音の音量がある程度小さくなり、シーケンスRAM
17の残りの記憶容量がある程度少なくなってきたこと
がわかる。
11. Example of Changing Volume FIG. 12 shows an embodiment in which the volume of a musical tone including a metronome sound is gradually reduced as the remaining storage capacity of the sequence RAM 17 decreases. In the present embodiment, the processes of steps 71, 72, and 73 of FIG. 12 are performed instead of steps 34, 35, and 36 of FIG. That is,
The remaining storage capacity of the sequence RAM 17 becomes 20% or less, and the remaining storage capacity data RM is the first border data BO.
1 (step 31), the second border data BO
If it is larger than 2 (step 32), "0111 00
The loudness data LN of "11 (approximately 0.9)" is set in the loudness register 48 (step 71), whereby the loudness data LN is sent to the envelope multiplier 35 through the latch 37, and the tone including the metronome sound is output. The volume is reduced to some extent, and the sequence RAM
It can be seen that the remaining storage capacity of No. 17 has decreased to some extent.

【0078】また、シーケンスRAM17の残記憶容量
が10%以下となり、上記残記憶容量データRMが第2
ボーダデータBO2より小さく(ステップ32)、第3
ボーダデータBO3より大きければ(ステップ33)、
“0110 0110(約0.8)”のラウドネスデー
タLNがラウドネスレジスタ48にセットされる(ステ
ップ72)。これにより、このラウドネスデータLNが
ラッチ37を通じエンベロープ乗算器35に送られ、メ
トロノーム音を含む楽音の音量がかなり小さくなり、シ
ーケンスRAM17の残りの記憶容量がかなり少なくな
ってきたことがわかる。
Further, the remaining storage capacity of the sequence RAM 17 becomes 10% or less, and the remaining storage capacity data RM becomes the second storage capacity data RM.
Smaller than border data BO2 (step 32);
If it is larger than the border data BO3 (step 33),
Loudness data LN of “0110 0110 (about 0.8)” is set in the loudness register 48 (step 72). As a result, the loudness data LN is sent to the envelope multiplier 35 through the latch 37, and the volume of the musical sound including the metronome sound is considerably reduced, and the remaining storage capacity of the sequence RAM 17 is considerably reduced.

【0079】さらに、シーケンスRAM17の残記憶容
量が1%以下となり、上記残記憶容量データRMが第3
ボーダデータBO3より小さければ(ステップ33)、
“0000 0000(0.0)”のラウドネスデータ
LNがラウドネスレジスタ48にセットされる(ステッ
プ73)。これにより、このラウドネスデータLNがラ
ッチ37を通じエンベロープ乗算器35に送られ、メト
ロノーム音を含む楽音の音量がほとんどなくなり、シー
ケンスRAM17の残りの記憶容量がほとんどなくなっ
てきたことがわかる。
Further, the remaining storage capacity of the sequence RAM 17 becomes 1% or less, and the remaining storage capacity data RM becomes the third storage capacity.
If it is smaller than the border data BO3 (step 33),
The loudness data LN of “0000 0000 (0.0)” is set in the loudness register 48 (step 73). As a result, the loudness data LN is sent to the envelope multiplier 35 through the latch 37, and it can be seen that the volume of the musical sound including the metronome sound has almost disappeared, and the remaining storage capacity of the sequence RAM 17 has almost disappeared.

【0080】また、シーケンスRAM17の残記憶容量
が20%を越えていて、上記残記憶容量データRMが第
1ボーダデータBO1より大きければ(ステップ3
1)、上記ステップ71〜73のラウドネスレジスタ4
8へのラウドネスデータLNのセットは行われず、メト
ロノーム音を含む楽音の音量は変化しない。なお、シー
ケンスRAM17の残記憶容量が少なくなるにしたがっ
て、ラウドネスデータLNが大きくなるような処理を行
うことも可能である。
If the remaining storage capacity of the sequence RAM 17 exceeds 20% and the remaining storage capacity data RM is larger than the first border data BO1 (step 3).
1), the loudness register 4 of the above steps 71 to 73
The loudness data LN is not set to 8 and the sound volume including the metronome sound does not change. Note that it is also possible to perform processing such that the loudness data LN increases as the remaining storage capacity of the sequence RAM 17 decreases.

【0081】12.自動リズム演奏のテンポを変化させ
る例 図13は、シーケンスRAM17の残記憶容量が少なく
なるにしたがって、自動リズム演奏のテンポを次第に小
さくする実施例を示す。本実施例では、上述の図5のス
テップ34、35、36の代わりに図13のステップ8
1、82、83の処理が行われる。すなわち、シーケン
スRAM17の残記憶容量が20%以下となり、上記残
記憶容量データRMが第1ボーダデータBO1より小さ
く(ステップ31)、第2ボーダデータBO2より大き
ければ(ステップ32)、テンポレジスタスタ47のテ
ンポデータTPに“0111 0000(約0.87
5)”が乗算される(ステップ81)。これにより、上
記図6のステップ41で累算されるテンポデータTPが
0.875倍に小さくなり、自動リズム演奏及びメトロ
ノーム音のテンポがある程度ゆっくりとなり、シーケン
スRAM17の残りの記憶容量がある程度少なくなって
きたことがわかる。
12. Change the tempo of the automatic rhythm performance
That Example Figure 13 shows in accordance with the remaining storage capacity of the sequence RAM17 is reduced, an embodiment for progressively reducing the tempo of the automatic rhythm performance. In the present embodiment, step 8 in FIG. 13 is used instead of steps 34, 35 and 36 in FIG.
Steps 1, 82 and 83 are performed. That is, if the remaining storage capacity of the sequence RAM 17 becomes 20% or less and the remaining storage capacity data RM is smaller than the first border data BO1 (step 31) and larger than the second border data BO2 (step 32), the tempo register 47 "0111 0000 (about 0.87
5) "is multiplied (step 81). As a result, the tempo data TP accumulated in step 41 of FIG. 6 is reduced by 0.875 times, and the tempo of the automatic rhythm performance and the metronome sound is reduced to some extent. It can be seen that the remaining storage capacity of the sequence RAM 17 has decreased to some extent.

【0082】また、シーケンスRAM17の残記憶容量
が10%以下となり、上記残記憶容量データRMが第2
ボーダデータBO2より小さく(ステップ32)、第3
ボーダデータBO3より大きければ(ステップ33)、
テンポレジスタスタ47のテンポデータTPに“010
1 0000(約0.625)”が乗算される(ステッ
プ82)。これにより、上記図6のステップ41で累算
されるテンポデータTPが0.625倍に小さくなり、
自動リズム演奏及びメトロノーム音のテンポがかなりゆ
っくりとなり、シーケンスRAM17の残りの記憶容量
がかなり少なくなってきたことがわかる。
Further, the remaining storage capacity of the sequence RAM 17 becomes 10% or less, and the remaining storage capacity data RM is the second storage capacity data RM.
Smaller than border data BO2 (step 32);
If it is larger than the border data BO3 (step 33),
“010” is added to the tempo data TP of the tempo register 47.
10000 (approximately 0.625) "(step 82). As a result, the tempo data TP accumulated in step 41 of FIG. 6 is reduced by 0.625 times.
It can be seen that the tempo of the automatic rhythm performance and the metronome sound became considerably slow, and the remaining storage capacity of the sequence RAM 17 became considerably small.

【0083】さらに、シーケンスRAM17の残記憶容
量が1%以下となり、上記残記憶容量データRMが第3
ボーダデータBO3より小さければ(ステップ33)、
テンポレジスタスタ47のテンポデータTPがクリアさ
れる(ステップ83)。これにより、上記図6のステッ
プ41で累算されるテンポデータTPが“0”となり、
自動リズム演奏及びメトロノーム音が停止し、シーケン
スRAM17の残りの記憶容量がほとんどなくなってき
たことがわかる。
Further, the remaining storage capacity of the sequence RAM 17 becomes 1% or less, and the remaining storage capacity data RM becomes the third storage capacity data RM.
If it is smaller than the border data BO3 (step 33),
The tempo data TP of the tempo register 47 is cleared (step 83). Thereby, the tempo data TP accumulated in step 41 of FIG. 6 becomes “0”,
It can be seen that the automatic rhythm performance and the metronome sound are stopped, and the remaining storage capacity of the sequence RAM 17 is almost exhausted.

【0084】また、シーケンスRAM17の残記憶容量
が20%を越えていて、上記残記憶容量データRMが第
1ボーダデータBO1より大きければ(ステップ3
1)、上記ステップ81〜83のテンポレジスタスタ4
7のテンポデータTPの変更は行われず、自動リズム演
奏及びメトロノーム音のテンポは変化しない。なお、シ
ーケンスRAM17の残記憶容量が少なくなるにしたが
って、テンポデータTPが大きくなるような処理を行う
ことも可能である。
If the remaining storage capacity of the sequence RAM 17 exceeds 20% and the remaining storage capacity data RM is larger than the first border data BO1 (step 3).
1), tempo register 4 in steps 81 to 83
The tempo data TP of No. 7 is not changed, and the tempo of the automatic rhythm performance and the metronome sound does not change. It should be noted that it is also possible to perform processing such that the tempo data TP increases as the remaining storage capacity of the sequence RAM 17 decreases.

【0085】13.自動リズム演奏の発音数を変化させ
る例 図14は、シーケンスRAM17の残記憶容量が少なく
なるにしたがって、自動リズム演奏の発音数を次第に小
さくする実施例を示す。本実施例では、メトロノーム音
の代りにテンポの進行を知らせるために、この自動リズ
ム演奏が使用される。上述の図5のステップ34、3
5、36の代わりに図14のステップ91、92、93
の処理が行われる。
13. Change the number of pronunciations of the automatic rhythm performance
That Example Figure 14 shows an embodiment in which the remaining storage capacity of the sequence RAM17 is in accordance with decreases, gradually reducing the number of pronunciation automatic rhythm performance. In this embodiment, this automatic rhythm performance is used to notify the progress of the tempo instead of the metronome sound. Steps 34 and 3 in FIG.
Steps 91, 92, 93 of FIG.
Is performed.

【0086】すなわち、シーケンスRAM17の残記憶
容量が20%以下となり、上記残記憶容量データRMが
第1ボーダデータBO1より小さく(ステップ31)、
第2ボーダデータBO2より大きければ(ステップ3
2)、“1111 0000”のリズムマスクパターン
データRPがリズムマスクレジスタ50にセットされる
(ステップ81)。これにより、ドラムグループのリズ
ム音がマスキングされ、自動リズム演奏がシンバルグル
ープだけとなり、シーケンスRAM17の残りの記憶容
量がある程度少なくなってきたことがわかる。
That is, the remaining storage capacity of the sequence RAM 17 becomes 20% or less, and the remaining storage capacity data RM is smaller than the first border data BO1 (step 31).
If it is larger than the second border data BO2 (step 3
2) The rhythm mask pattern data RP of "1111 0000" is set in the rhythm mask register 50 (step 81). As a result, the rhythm sound of the drum group is masked, the automatic rhythm performance is performed only for the cymbal group, and the remaining storage capacity of the sequence RAM 17 is reduced to some extent.

【0087】また、シーケンスRAM17の残記憶容量
が10%以下となり、上記残記憶容量データRMが第2
ボーダデータBO2より小さく(ステップ32)、第3
ボーダデータBO3より大きければ(ステップ33)、
“1010 0000”のリズムマスクパターンデータ
RPがリズムマスクレジスタ50にセットされる(ステ
ップ82)。これにより、ドラムグループのリズム音及
びシンバルグループの偶数番目のリズム音がマスキング
され、自動リズム演奏がシンバルグループだけとなり、
しかも発音数が少なくなって、シーケンスRAM17の
残りの記憶容量がかなり少なくなってきたことがわか
る。
The remaining storage capacity of the sequence RAM 17 becomes 10% or less, and the remaining storage capacity data RM is the second storage capacity.
Smaller than border data BO2 (step 32);
If it is larger than the border data BO3 (step 33),
The rhythm mask pattern data RP of "1010 0000" is set in the rhythm mask register 50 (step 82). Thereby, the rhythm sound of the drum group and the even-numbered rhythm sound of the cymbal group are masked, and the automatic rhythm performance is performed only by the cymbal group,
In addition, it can be seen that the number of sounds has decreased and the remaining storage capacity of the sequence RAM 17 has considerably decreased.

【0088】さらに、シーケンスRAM17の残記憶容
量が1%以下となり、上記残記憶容量データRMが第3
ボーダデータBO3より小さければ(ステップ33)、
“0000 0000”のリズムマスクパターンデータ
RPがリズムマスクレジスタ50にセットされる(ステ
ップ83)。これにより、全てのリズム音がマスキング
され、自動リズム演奏が全く行われなくなり、シーケン
スRAM17の残りの記憶容量がほとんどなくなってき
たことがわかる。
Further, the remaining storage capacity of the sequence RAM 17 becomes 1% or less, and the remaining storage capacity data RM becomes the third storage capacity.
If it is smaller than the border data BO3 (step 33),
The rhythm mask pattern data RP of “0000 0000” is set in the rhythm mask register 50 (step 83). As a result, all rhythm sounds are masked, no automatic rhythm performance is performed, and the remaining storage capacity of the sequence RAM 17 is almost exhausted.

【0089】また、シーケンスRAM17の残記憶容量
が20%を越えていて、上記残記憶容量データRMが第
1ボーダデータBO1より大きければ(ステップ3
1)、上記ステップ91〜93のリズムマスクレジスタ
50へのリズムマスクパターンデータRPのセットは行
われず、“1111 1111”のリズムマスクパター
ンデータRPが保持され、自動リズム演奏のパターンは
変化しない。
If the remaining storage capacity of the sequence RAM 17 exceeds 20% and the remaining storage capacity data RM is larger than the first border data BO1 (step 3).
1) The rhythm mask pattern data RP of the rhythm mask register 50 in the steps 91 to 93 is not set, the rhythm mask pattern data RP of "1111 1111" is held, and the pattern of the automatic rhythm performance does not change.

【0090】なお、このリズムマスクパターンデータR
Pは、上記図6のステップ55の自動リズム演奏処理で
処理される。すなわち、ビートカウンタ53の値が上述
の自動リズム演奏データのステップタイムデータに一致
すれば、リズムマスクパターンデータRPの前半の4ビ
ットと後半の4ビットとがそれぞれリングシフトされ
る。これは、4拍子の場合である。3拍子ならば、リズ
ムマスクパターンデータRPの前半の上位3ビットと後
半の上位3ビットがそれぞれリングシフトされる。
The rhythm mask pattern data R
P is processed in the automatic rhythm performance processing in step 55 of FIG. That is, if the value of the beat counter 53 matches the step time data of the above-mentioned automatic rhythm performance data, the first four bits and the second four bits of the rhythm mask pattern data RP are ring-shifted, respectively. This is the case of four beats. In the case of three beats, the upper three bits in the first half and the upper three bits in the second half of the rhythm mask pattern data RP are respectively ring-shifted.

【0091】両4ビットの最上位ビットデータまたは最
下位ビットデータが“1”“1”ならば、トーンナンバ
データ、パートデータ、ベロシティデータ等のリズム音
データがアサインメントメモリ30に書き込まれて発音
される。“0”“0”ならば、上記リズム音データはア
サインメントメモリ30に書き込まれず発音されない。
“1”“0”または“0”“1”ならば、さらに上記ト
ーンナンバデータまたはパートデータがマスキングする
グループに一致すれば、リズム音データはアサインメン
トメモリ30に書き込まれず発音されない。さらに上記
トーンナンバデータまたはパートデータがマスキングす
るグループに一致しなければ、リズム音データはアサイ
ンメントメモリ30に書き込まれて発音される。この場
合、自動リズム演奏データが、トーンナンバデータごと
またはパートデータごとに複数トラックに分けて記憶さ
れていれば、トラックごとにマスキング可能である。
If the most significant bit data or the least significant bit data of both 4 bits is "1" or "1", rhythm sound data such as tone number data, part data, velocity data and the like are written into the assignment memory 30 and sounded. Is done. If "0" or "0", the rhythm sound data is not written to the assignment memory 30 and is not sounded.
If "1""0" or "0""1", and if the tone number data or part data matches the masking group, the rhythm sound data is not written to the assignment memory 30 and is not sounded. If the tone number data or the part data does not match the group to be masked, the rhythm sound data is written into the assignment memory 30 and sounded. In this case, if the automatic rhythm performance data is stored in a plurality of tracks for each tone number data or for each part data, masking can be performed for each track.

【0092】本発明は上記実施例に限定されず、本発明
の趣旨を逸脱しない範囲で種々変更可能である。例え
ば、上記図5、8、10、12、13、14のステップ
31、32、33で、シーケンスRAM17の残りの記
憶容量ではなく、書き込み量を判別することが可能であ
る。この場合、残記憶容量データRMの代わりにアドレ
スカウンタ16の書き込みアドレスデータWADが用い
られ、第1ボーダデータBO1はシーケンスRAM17
のエンドアドレスデータEAに“0.8(80%)”を
乗算したものに等しく、第2ボーダデータBO2は上記
エンドアドレスデータEAに“0.9(90%)”を乗
算したものに等しく、第3ボーダデータBO3は上記エ
ンドアドレスデータEAに“0.99(99%)”を乗
算したものに等しくなる。
The present invention is not limited to the above embodiments, but can be variously modified without departing from the spirit of the present invention. For example, in steps 31, 32, and 33 of FIGS. 5, 8, 10, 12, 13, and 14, it is possible to determine the amount of writing, not the remaining storage capacity of the sequence RAM 17. In this case, the write address data WAD of the address counter 16 is used instead of the remaining storage capacity data RM, and the first border data BO1 is stored in the sequence RAM 17
The second border data BO2 is equal to the end address data EA multiplied by "0.8 (80%)", and the second border data BO2 is equal to the end address data EA multiplied by "0.9 (90%)". The third border data BO3 is equal to the end address data EA multiplied by "0.99 (99%)".

【0093】また、上記メトロノーム音を含む楽音につ
いては、アサインメントメモリ30にエンベロープの各
ポイントのレベルデータ、ラウドネスデータLN、周波
数ナンバデータ(キーナンバ)を記憶し、このエンベロ
ープの各ポイントのレベルデータ、ラウドネスデータL
N、周波数ナンバデータ(キーナンバ)を、上記ステッ
プ34〜36、61〜63、71〜73、81〜83、
91〜93、101〜104で小さくなるようにまたは
大きくなるように演算処理することも可能である。この
場合、上記ステップ56で処理されるメトロノーム音の
エンベロープの各ポイントのレベルデータ、ラウドネス
データLN、周波数ナンバデータ(キーナンバ)につい
てのみ、上記ステップ34〜36、61〜63、71〜
73、81〜83、91〜93、101〜104で小さ
くなるようにまたは大きくなるように演算処理すること
も可能である。
For the tone including the metronome sound, the level data of each point of the envelope, the loudness data LN, and the frequency number data (key number) are stored in the assignment memory 30, and the level data of each point of the envelope are stored. Loudness data L
N, the frequency number data (key number) are stored in the above steps 34 to 36, 61 to 63, 71 to 73, 81 to 83,
It is also possible to perform the arithmetic processing so as to decrease or increase at 91 to 93 and 101 to 104. In this case, only the level data, the loudness data LN, and the frequency number data (key number) of each point of the envelope of the metronome sound processed in step 56 are processed in steps 34 to 36, 61 to 63, 71 to 71.
It is also possible to perform arithmetic processing so as to decrease or increase at 73, 81 to 83, 91 to 93, 101 to 104.

【0094】この場合、上記リングシフトされる点滅パ
ターンデータTCPの値“1”または“0”に基づい
て、上記アサインメントメモリ30内のメトロノーム音
のオン/オフデータを“1”または“0”とする。この
オン/オフデータは、発音中(オン)、消音中(オフ)
を示すデータである。このオン/オフデータの切り替え
は、上記ステップ69で実行される。これらの処理は、
メトロノーム音以外の楽音について実行することも可能
である。
In this case, the metronome sound on / off data in the assignment memory 30 is changed to "1" or "0" based on the value "1" or "0" of the ring-shifted blinking pattern data TCP. And This on / off data is sounding (on), muting (off)
Is the data indicating The switching of the on / off data is executed in step 69 described above. These processes are
It is also possible to execute for a tone other than the metronome sound.

【0095】また、上述の断続周期データTC、断続パ
ターンデータTCP、ラウドネスデータLN、テンポデ
ータTPへの乗算データ、リズムマスクパターンデータ
RP、ボーダデータBO1、BO2、BO3は、上述し
た値(内容)、数(種類)に限られず、種々の値(内
容)、数(種類)にすることが可能である。例えば、ボ
ーダデータBO1、BO2、BO3を4種類以上とし
て、さらに細かく残りの記憶容量または書き込み量を判
別することである。また、残りの記憶容量が多いときま
たは書き込み量が少ないときの報知内容と、残りの記憶
容量が少ないときまたは書き込み量が多いときの報知内
容とを入れ替えることもできる。
The above-mentioned intermittent cycle data TC, intermittent pattern data TCP, loudness data LN, multiplication data to tempo data TP, rhythm mask pattern data RP, border data BO1, BO2, and BO3 are the values (contents) described above. , Numbers (types), and various values (contents) and numbers (types) are possible. For example, it is to determine the remaining storage capacity or the writing amount more finely with four or more types of border data BO1, BO2, BO3. In addition, the notification content when the remaining storage capacity is large or the writing amount is small can be replaced with the notification content when the remaining storage capacity is small or the writing amount is large.

【0096】さらに、上述の断続周期データTC、断続
パターンデータTCP、ラウドネスデータLN、テンポ
データTPへの乗算データ、リズムマスクパターンデー
タRPは、図11のようなデコーダを介して、アドレス
カウンタ16の書き込みアドレスデータWADまたは残
記憶容量レジスタ42の残記憶容量データRMから変換
することも可能である。また、上述の断続周期データT
C、断続パターンデータTCP、ラウドネスデータL
N、テンポデータTPへの乗算データ、リズムマスクパ
ターンデータRPは、RAM6またはROM7に記憶さ
れた演算式に基づいて、アドレスカウンタ16の書き込
みアドレスデータWADまたは残記憶容量レジスタ42
の残記憶容量データRMから演算することも可能であ
る。
Further, the above-mentioned intermittent cycle data TC, intermittent pattern data TCP, loudness data LN, multiplication data to the tempo data TP, and rhythm mask pattern data RP are supplied to the address counter 16 via a decoder as shown in FIG. Conversion from the write address data WAD or the remaining storage capacity data RM of the remaining storage capacity register 42 is also possible. Further, the above-described intermittent cycle data T
C, intermittent pattern data TCP, loudness data L
N, the multiplication data to the tempo data TP, and the rhythm mask pattern data RP are based on the arithmetic expression stored in the RAM 6 or the ROM 7, and the write address data WAD of the address counter 16 or the remaining storage capacity register 42
Can be calculated from the remaining storage capacity data RM.

【0097】このほか、上述の各実施例はそれぞれ組み
合わせることができる。これにより、シーケンスRAM
17の残記憶容量が少なくなるにしたがって、圧電ブザ
ー61の報知音の周波数、音量、断続周期の変化、断続
パターンの変化、メトロノーム音を含む楽音の音量の変
化、自動リズム演奏のテンポの変化及び自動リズム演奏
の発音数の変化の2つ以上を並行して実行することがで
きる。この場合、図7、12、13の回路を図1の回路
に付加し、ステップ34の後にステップ61、71、8
1、91、102の処理を行い、ステップ35の後にス
テップ62、72、82、92、103の処理を行い、
ステップ36の後にステップ63、73、83、93、
104の処理を行う。
In addition, the above embodiments can be combined with each other. Thereby, the sequence RAM
17 as the remaining storage capacity of the piezoelectric buzzer 61 decreases, the frequency of the notification sound of the piezoelectric buzzer 61, the change of the intermittent cycle, the change of the intermittent pattern, the change of the volume of the musical tone including the metronome sound, the change of the tempo of the automatic rhythm performance, Two or more changes in the number of pronunciations of the automatic rhythm performance can be executed in parallel. In this case, the circuits of FIGS. 7, 12, and 13 are added to the circuit of FIG. 1, and after step 34, steps 61, 71, and 8 are added.
1, 91 and 102, and after step 35, the processing of steps 62, 72, 82, 92 and 103 are performed.
After step 36, steps 63, 73, 83, 93,
Step 104 is performed.

【0098】また、自動演奏データAPを記憶するの
は、シーケンスRAM17のほか、内蔵RAM、RAM
カード等のメモリカード、フロッピーディスク、光メモ
リディスク等でも可能である。圧電ブザー61は、スピ
ーカ、イヤホン、ヘッドホン、電子ブザー装置、電子メ
トロノーム装置、電子チャイム装置などに置き換えるこ
とも可能である。シーケンスRAM17には、上記リア
ルタイムで入力した自動演奏データAPのほか、1ステ
ップずつ入力した自動演奏データAP、楽音又は音声の
波形データ、エンベロープ波形データ、リズム、音色、
エフェクト、変調の変化内容等、どのような音楽的情報
も可能である。
The automatic performance data AP is stored not only by the sequence RAM 17 but also by a built-in RAM and a RAM.
A memory card such as a card, a floppy disk, an optical memory disk, or the like is also possible. The piezoelectric buzzer 61 can be replaced with a speaker, an earphone, headphones, an electronic buzzer device, an electronic metronome device, an electronic chime device, or the like. In the sequence RAM 17, in addition to the automatic performance data AP input in real time, the automatic performance data AP input step by step, waveform data of musical tones or sounds, envelope waveform data, rhythm, timbre,
Any musical information, such as effects, modulation changes, etc., is possible.

【0099】[0099]

【発明の効果】以上詳述したように、本発明は、音楽的
情報を記憶する記憶手段の書き込み量または残りの記憶
容量が、ボーダー値に達したら、発音制御データを出力
し、この発音制御データに応じた発音を行うようにし
た。これにより、記憶手段の残りの記憶容量が少なくな
ったことを、耳で確かめることができ、残りの記憶容量
が少ないことを瞬時に簡単かつはっきりと知ることがで
きる等の効果を奏する。
As described above in detail, according to the present invention, when the writing amount of the storage means for storing musical information or the remaining storage capacity reaches the border value, the tone generation control data is output, and this tone generation control data is output. Added pronunciation according to the data. As a result, it is possible to confirm by ear that the remaining storage capacity of the storage means is small, and it is possible to instantly and clearly know that the remaining storage capacity is small.

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

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

【図2】ROM7に記憶された自動リズム演奏データの
内容を示す図である。
FIG. 2 is a diagram showing contents of automatic rhythm performance data stored in a ROM 7;

【図3】トーンジェネレータ19を示す回路図である。FIG. 3 is a circuit diagram showing a tone generator 19;

【図4】RAM6内のワーキングレジスタ群40を示す
図である。
FIG. 4 is a diagram showing a working register group 40 in a RAM 6;

【図5】自動演奏データAP記録処理のフローチャート
を示す図である。
FIG. 5 is a diagram showing a flowchart of automatic performance data AP recording processing.

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

【図7】発音回路60を示す回路図である。FIG. 7 is a circuit diagram showing a sounding circuit 60;

【図8】残記憶容量が少なくなるにしたがって、報知音
の断続周期を変化させる別の実施例の自動演奏データA
P記録処理のフローチャートを示す図である。
FIG. 8 shows another embodiment of the automatic performance data A in which the intermittent cycle of the notification sound is changed as the remaining storage capacity decreases.
It is a figure showing the flow chart of P record processing.

【図9】残記憶容量が少なくなるにしたがって、報知音
の断続周期を変化させる別の実施例のインタラプト処理
のフローチャートを示す図である。
FIG. 9 is a diagram illustrating a flowchart of an interrupt process according to another embodiment for changing the intermittent cycle of the notification sound as the remaining storage capacity decreases.

【図10】残記憶容量が少なくなるにしたがって、報知
音の断続パターンを変化させる実施例のフローチャート
を示す図である。
FIG. 10 is a diagram illustrating a flowchart of an embodiment in which the intermittent pattern of the notification sound is changed as the remaining storage capacity decreases.

【図11】書き込み量が多くなるにしたがって、報知音
の断続パターンを変化させる実施例の断続パターンデー
タTCPを示す図である。
FIG. 11 is a diagram showing intermittent pattern data TCP of the embodiment in which the intermittent pattern of the notification sound is changed as the writing amount increases.

【図12】残記憶容量が少なくなるにしたがって、楽音
の音量を変化させる実施例のフローチャートを示す図で
ある。
FIG. 12 is a diagram illustrating a flowchart of an embodiment in which the volume of a musical tone is changed as the remaining storage capacity decreases.

【図13】残記憶容量が少なくなるにしたがって、自動
リズム演奏のテンポを変化させる実施例のフローチャー
トを示す図である。
FIG. 13 is a diagram showing a flowchart of an embodiment in which the tempo of the automatic rhythm performance is changed as the remaining storage capacity decreases.

【図14】残記憶容量が少なくなるにしたがって、自動
リズム演奏の発音数を変化させる実施例のフローチャー
トを示す図である。
FIG. 14 is a diagram showing a flowchart of an embodiment in which the number of sounds of an automatic rhythm performance is changed as the remaining storage capacity decreases.

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

1…キーボード、3…パネルスイッチ群、5…CPU、
6…RAM、7…ROM、8、18、28、37…ラッ
チ、9…プログラマブルカウンタ、10…分周器、11
…トランジスタ、12…発光ダイオード、14…フロッ
ピーディスク、15…フロッピーディスクドライバ、1
6…アドレスカウンタ、17…シーケンスRAM、30
…アサインメントメモリ、31…サウンドコントロー
ラ、32…楽音波形ジェネレータ、33…エンベロープ
波形ジェネレータ、34…サウンド乗算器、35…エン
ベロープ乗算器、40…ワーキングレジスタ群、41…
記憶容量レジスタ、42…残記憶容量レジスタ、43…
第1ボーダレジスタ、44…第2ボーダレジスタ、45
…第3ボーダレジスタ、46…ビート数レジスタ、47
…テンポレジスタ、48…ラウドネスレジスタ、49…
断続パターンレジスタ、50…リズムマスクレジスタ、
51…シフト周期カウンタ、52…テンポカウンタ、5
3…ビートカウンタ、54…バーカウンタ、55…書き
込みバッファレジスタ、60…発音回路、61…圧電ブ
ザー、62…アンプ。
1 ... keyboard, 3 ... panel switch group, 5 ... CPU,
6 RAM, 7 ROM, 8, 18, 28, 37 latch, 9 programmable counter, 10 frequency divider, 11
... Transistor, 12 ... Light emitting diode, 14 ... Floppy disk, 15 ... Floppy disk driver, 1
6 ... Address counter, 17 ... Sequence RAM, 30
... assignment memory, 31 ... sound controller, 32 ... tone waveform generator, 33 ... envelope waveform generator, 34 ... sound multiplier, 35 ... envelope multiplier, 40 ... working register group, 41 ...
Storage capacity register, 42 ... Remaining storage capacity register, 43 ...
First border register, 44... Second border register, 45
... 3rd border register, 46 ... beat number register, 47
... Tempo register, 48 ... Loudness register, 49 ...
Intermittent pattern register, 50 ... rhythm mask register,
51: shift cycle counter, 52: tempo counter, 5
3. Beat counter, 54 bar counter, 55 write buffer register, 60 sounding circuit, 61 piezoelectric buzzer, 62 amplifier.

Claims (9)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】音楽的情報を記憶する記憶手段に、音楽的
情報を書き込む手段と、 この音楽的情報の書き込みのとき、この書き込まれる音
楽的情報とは別の報知音を、断続的に生成する手段と、 上記書き込による、上記記憶手段の書き込み量または書
き込み可能な残りの記憶容量を検出する手段と、 この検出された書き込み量または書き込み可能な残りの
記憶容量が、ボーダー値に達したか否かを判別する手段
と、 この判別結果に応じて、上記断続的に生成される報知音
の断続パターンを変化させるための発音制御データを出
力する手段と、 この出力された発音制御データに応じて、上記断続的に
生成される報知音の断続パターンを変化させる手段とを
備えたことを特徴とする電子楽器の報知装置。
1. A means for writing musical information in a storage means for storing musical information, and at the time of writing the musical information, intermittently generating a notification sound different from the written musical information. Means for detecting the amount of writing or the remaining writable storage capacity of the storage means by the writing, and the detected writing amount or the remaining writable storage capacity reaches a border value. Means for determining whether or not the sounding control data for changing the intermittent pattern of the intermittently generated notification sound in accordance with the result of the judgment; and means for outputting the sounding control data to the output sounding control data. Means for changing the intermittent pattern of the intermittently generated notification sound in response to the request.
【請求項2】音楽的情報を記憶する記憶手段に、音楽的
情報を書き込む手段と、 この音楽的情報の書き込みのとき、この書き込まれる音
楽的情報とは別のメトロノーム音またはリズム音を生成
する手段と、 上記書き込による、上記記憶手段の書き込み量または書
き込み可能な残りの記憶容量を検出する手段と、 この検出された書き込み量または書き込み可能な残りの
記憶容量が、ボーダー値に達したか否かを判別する手段
と、 この判別結果に応じて、上記生成されるメトロノーム音
またはリズム音の音量を変化させるための発音制御デー
タを出力する手段と、 この出力された発音制御データに応じて、上記生成され
るメトロノーム音またはリズム音の音量を変化させる手
段とを備えたことを特徴とする電子楽器の報知装置。
2. A means for writing musical information in a storage means for storing musical information, and when writing the musical information, generating a metronome sound or a rhythm sound different from the written musical information. Means for detecting the amount of writing or the remaining writable storage capacity of the storage means by the writing; and whether the detected writing amount or the remaining writable storage capacity has reached a border value. Means for discriminating whether or not, according to a result of the discrimination, means for outputting sound control data for changing the volume of the metronome sound or rhythm sound generated above, and Means for changing the volume of the generated metronome sound or rhythm sound.
【請求項3】上記断続パターンの変化は、報知音の断続
周期の変化であることを特徴とする請求項1記載の電子
楽器の報知装置。
3. The notification device for an electronic musical instrument according to claim 1, wherein the change in the intermittent pattern is a change in the intermittent cycle of the notification sound.
【請求項4】上記断続パターンの変化は、報知音の演奏
のテンポの変化であることを特徴とする請求項1記載の
電子楽器の報知装置。
4. The notification device for an electronic musical instrument according to claim 1, wherein the change in the intermittent pattern is a change in the tempo of the performance of the notification sound.
【請求項5】上記報知音、メトロノーム音またはリズム
音は、自動演奏によるものであり、上記発音制御データ
によって、この自動演奏のテンポが変化することを特徴
とする請求項1または2記載の電子楽器の報知装置。
5. The electronic device according to claim 1, wherein the notification sound, the metronome sound, or the rhythm sound is generated by an automatic performance, and the tempo of the automatic performance changes according to the sound generation control data. Notification device for musical instruments.
【請求項6】上記報知音、メトロノーム音またはリズム
音は、自動演奏によるものであり、上記発音制御データ
によって、この自動演奏のパターンが変化することを特
徴とする請求項1または2記載の電子楽器の報知装置。
6. The electronic device according to claim 1, wherein the notification sound, the metronome sound, or the rhythm sound is generated by an automatic performance, and the pattern of the automatic performance changes according to the sound generation control data. Notification device for musical instruments.
【請求項7】上記記憶手段に記憶される音楽的情報は自
動演奏情報であることを特徴とする請求項1または2記
載の電子楽器の報知装置。
7. The electronic musical instrument notification device according to claim 1, wherein the musical information stored in the storage means is automatic performance information.
【請求項8】音楽的情報を記憶する記憶手段に、音楽的
情報を書き込む工程と、 この音楽的情報の書き込みのとき、この書き込まれる音
楽的情報とは別の報知音を、断続的に生成する工程と、 上記書き込による、上記記憶手段の書き込み量または書
き込み可能な残りの記憶容量を検出する工程と、 この検出された書き込み量または書き込み可能な残りの
記憶容量が、ボーダー値に達したか否かを判別する工程
と、 この判別結果に応じて、上記断続的に生成される報知音
の断続パターンを変化させるための発音制御データを出
力する工程と、 この出力された発音制御データに応じて、上記断続的に
生成される報知音の断続パターンを変化させる工程とを
備えたことを特徴とする電子楽器の報知方法。
8. A step of writing musical information in a storage means for storing musical information, and intermittently generating a notification sound different from the written musical information at the time of writing the musical information. And a step of detecting a writing amount or a remaining writable storage capacity of the storage means by the writing, and the detected writing amount or the remaining writable storage capacity reaches a border value. Discriminating whether or not, according to the discrimination result, outputting sound generation control data for changing the intermittent pattern of the intermittently generated notification sound; and Changing the intermittent pattern of the intermittently generated alarm sound in response to the electronic musical instrument.
【請求項9】音楽的情報を記憶する記憶手段に、音楽的
情報を書き込む工程と、 この音楽的情報の書き込みのとき、この書き込まれる音
楽的情報とは別のメトロノーム音またはリズム音を生成
する工程と、 上記書き込による、上記記憶手段の書き込み量または書
き込み可能な残りの記憶容量を検出する工程と、 この検出された書き込み量または書き込み可能な残りの
記憶容量が、ボーダー値に達したか否かを判別する工程
と、 この判別結果に応じて、上記生成されるメトロノーム音
またはリズム音の音量を変化させるための発音制御デー
タを出力する工程と、 この出力された発音制御データに応じて、上記生成され
るメトロノーム音またはリズム音の音量を変化させる工
程とを備えたことを特徴とする電子楽器の報知方法。
9. A step of writing musical information to storage means for storing musical information, and when writing the musical information, generating a metronome sound or a rhythm sound different from the written musical information. A step of detecting a write amount or the remaining writable storage capacity of the storage means by the writing; and determining whether the detected write amount or the remaining writable storage capacity has reached a border value. Discriminating whether or not, according to a result of the discrimination, outputting sound generation control data for changing the volume of the generated metronome sound or rhythm sound, and according to the output sound control data. Changing the volume of the generated metronome sound or rhythm sound.
JP3317194A 1991-11-30 1991-11-30 Notification device and notification method for electronic musical instrument Expired - Lifetime JP2642821B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3317194A JP2642821B2 (en) 1991-11-30 1991-11-30 Notification device and notification method for electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3317194A JP2642821B2 (en) 1991-11-30 1991-11-30 Notification device and notification method for electronic musical instrument

Publications (2)

Publication Number Publication Date
JPH05150774A JPH05150774A (en) 1993-06-18
JP2642821B2 true JP2642821B2 (en) 1997-08-20

Family

ID=18085509

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3317194A Expired - Lifetime JP2642821B2 (en) 1991-11-30 1991-11-30 Notification device and notification method for electronic musical instrument

Country Status (1)

Country Link
JP (1) JP2642821B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62294288A (en) * 1986-06-13 1987-12-21 ヤマハ株式会社 Performance data recorder
JPH0820869B2 (en) * 1987-02-06 1996-03-04 ヤマハ株式会社 Electronic musical instrument

Also Published As

Publication number Publication date
JPH05150774A (en) 1993-06-18

Similar Documents

Publication Publication Date Title
US7429699B2 (en) Electronic musical instrument and recording medium that stores processing program for the electronic musical instrument
JPS6157640B2 (en)
JP2756877B2 (en) Phrase playing device
JP3239411B2 (en) Electronic musical instrument with automatic performance function
JP2642821B2 (en) Notification device and notification method for electronic musical instrument
JP2522337B2 (en) Automatic playing device
JP3743364B2 (en) Performance practice device
JPH0375874B2 (en)
JP2714455B2 (en) Motif playing device and motif playing method
JP3970114B2 (en) Electronic musical instrument, automatic accompaniment method, computer program, and computer-readable recording medium
JPH04331990A (en) Voice electronic musical instrument
JPH05150773A (en) Informing device of electronic musical instrument
JP2643277B2 (en) Automatic performance device
JP3143039B2 (en) Automatic performance device
JPH05188961A (en) Automatic accompaniment device
JP2665854B2 (en) Automatic performance device
JP2636393B2 (en) Automatic performance device
JP2556639B2 (en) Automatic playing device
JP2681146B2 (en) Electronic musical instrument automatic performance device and automatic performance method
JPH0619387A (en) Musical performance comparing device of electronic musical instrument
JP4619495B2 (en) Automatic accompaniment apparatus and automatic accompaniment method
JPH0515279B2 (en)
JP2974471B2 (en) Automatic performance device
JP3316530B2 (en) Music control device
JP3223272B2 (en) Score display device