JPH02181790A - Automatic performance device - Google Patents

Automatic performance device

Info

Publication number
JPH02181790A
JPH02181790A JP64000542A JP54289A JPH02181790A JP H02181790 A JPH02181790 A JP H02181790A JP 64000542 A JP64000542 A JP 64000542A JP 54289 A JP54289 A JP 54289A JP H02181790 A JPH02181790 A JP H02181790A
Authority
JP
Japan
Prior art keywords
performance data
key
performance
data
forward key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP64000542A
Other languages
Japanese (ja)
Other versions
JP2596111B2 (en
Inventor
Takashi Ishida
隆 石田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP64000542A priority Critical patent/JP2596111B2/en
Publication of JPH02181790A publication Critical patent/JPH02181790A/en
Priority to US07/888,260 priority patent/US5313012A/en
Application granted granted Critical
Publication of JP2596111B2 publication Critical patent/JP2596111B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To easily and rapidly execute the edition of performance information by producing the performance data tone instructed by an address pointer for a prescribed period of time when the depression of a step forward key is detected. CONSTITUTION:The depression of the step forward key (STEPFD) 5 is detected by an operating element switch circuit 22 when this key is depressed. The automatic performance data instructed by the present address pointer (ADR) is then read out of a performance data memory (APM) 42 and a musical tone signal generating circuit 63 for automatic performance produces the performance data tone for the prescribed period of time. The ADR in the APM 42 is progressed up to the address of the performance data to be produced next when the transmission of the signal ends. The same performance data is again kept produced for the prescribed period of time when the depression of the STEPFD 5 is executed again within the prescribed time after the depression thereof. The edition of the performance information is, therefore, rapidly executed with the simple operation when the specific performance information is desired to be edited.

Description

【発明の詳細な説明】 [a業上の利用分野] この発明は、演奏データメモリにシーケンシャルに記憶
された演奏データを順次読出して自動演奏を行なう自動
演奏装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application in Industry A] The present invention relates to an automatic performance device that performs automatic performance by sequentially reading out performance data sequentially stored in a performance data memory.

[従来の技術] 従来、自動演奏装置においては、まず演奏者が予め演奏
人力などをした演奏情報を記憶装置に記憶し、この演奏
情報を再生することによって自動演奏する機能を有する
ものがあった。
[Prior Art] Conventionally, some automatic performance devices have a function of first storing performance information that has been manually performed by a performer in a storage device, and automatically performing the performance by reproducing this performance information. .

[発明が解決しようとする課題] ところで、この種の自動演奏装置では、−度記憶させた
演奏情報の一部を変更したい場合がある。しかし従来の
自動演奏装置はこのような演奏情報のいわゆるエデイツ
トを意識しておらず、単に演奏者のキーオンタイミング
で、記憶しである演奏情報を読出して発音せしめ、さら
にアドレスポインタを次に発音すべき演奏情報まで歩進
(ステップアップ)せしめ、順次アドレスポインタが指
し示す演奏情報をそのまま発音していくというようにな
っているにすぎなかった。したがって、演奏情報中の特
定の演奏情報をエデイツトしたい場合には、その演奏情
報にアドレスポインタをセットするのが難しく、f4奥
情報のエデイツトがし難いという問題点があった。
[Problems to be Solved by the Invention] By the way, in this type of automatic performance device, there are cases where it is desired to change a part of the stored performance information. However, conventional automatic performance devices are not aware of this so-called editing of performance information, and simply read the stored performance information and make it sound at the key-on timing of the performer, and then move the address pointer to the next sound. The system simply advances (steps up) to the desired performance information, and successively sounds the performance information pointed to by the address pointer. Therefore, when it is desired to edit specific performance information in the performance information, it is difficult to set an address pointer to the performance information, and it is difficult to edit the f4 back information.

この発明は、上述の従来形における問題点に鑑み、自動
演奏装置において、簡単な操作で迅速に演奏情報のエデ
イツトを行なうことができるようにすることを目的とす
る。
SUMMARY OF THE INVENTION In view of the above-mentioned problems with the conventional type, it is an object of the present invention to provide an automatic performance apparatus that allows performance information to be edited quickly with simple operations.

[課題を解決するための手段] この目的を達成するため、この発明は、演奏データメモ
リを有する自動演奏装置において、ステップフォワード
キーの押下を検出して、アドレスポインタの指し示す演
奏データ音を所定時間T。
[Means for Solving the Problems] In order to achieve this object, the present invention detects the depression of a step forward key in an automatic performance device having a performance data memory, and transmits the performance data sound pointed to by the address pointer for a predetermined period of time. T.

の間発音することとしている。It is decided to pronounce it during the period.

なお、この演奏データ音の発音の後にアドレスポインタ
を次に発音すべき演奏データのアドレスまで歩進させる
とよい。また、ステップフォワードキーの押下から所定
時間13以内に再度ステップフォワードキーが押下され
た場合は、リトリガラブルに再び所定時間T3の間同一
演奏データ音を発音し続けるようにしてもよい。
Incidentally, after producing this performance data sound, it is preferable to advance the address pointer to the address of the performance data to be produced next. Further, if the step forward key is pressed again within the predetermined time 13 after the step forward key is pressed, the same performance data sound may be retriggerably continued to be produced again for the predetermined time T3.

さらにこの発明では、ステップフォワードキーの押下の
時点から所定時間12以上ステップフォワードキーを押
下し続けた場合は、所定時間T1間隔でアドレスポイン
タを歩進し、順次上記アドレスポインタの指し示す演奏
データ音を発音するようにしている。この場合も、所定
時間TI間隔内で再度ステップフォワードキーが押下さ
れた場合は、リトリガラブルにステップフォワードキー
の再度の押下の時点から再び所定時間T3の間同一演奏
データ音を発音し続けるようにすることができる。
Furthermore, in this invention, if the step forward key is kept pressed for a predetermined period of time 12 or more after the step forward key is pressed, the address pointer is advanced at intervals of a predetermined time T1, and the performance data sounds pointed to by the address pointer are sequentially played. I try to pronounce it. In this case as well, if the step forward key is pressed again within the predetermined time TI interval, the same performance data sound will continue to be produced for the predetermined time T3 from the time when the step forward key is pressed again in a retriggerable manner. be able to.

[作 用] 上記の構成によれば、ステップフォワードキーを1回軽
く押下するとT3の間演奏データが発音される。また、
押下から13以内に再度ステップフォワードキーを押下
した場合は同一の演奏データ音を引き続き発音し続ける
こととなる。さらに、ステップフォワードキーを13以
上の間連続して押下し続けた場合はその後T、の間隔で
演奏データを早送りして発音する。この場合、T2くT
、とすれば、迅速な処理が可能となり好ましい。
[Function] According to the above configuration, when the step forward key is lightly pressed once, the performance data is sounded during T3. Also,
If the step forward key is pressed again within 13 seconds after being pressed, the same performance data sound will continue to be produced. Further, if the step forward key is continuously pressed for a period of 13 or more, the performance data is then fast-forwarded at intervals of T and the sound is generated. In this case, T2
, it is preferable that rapid processing becomes possible.

[実施例] 以下、図面を用いてこの発明の詳細な説明する。[Example] Hereinafter, the present invention will be explained in detail using the drawings.

第1図は、この発明の一実施例に係る自1111演奏装
置の鍵盤部などの外観図および内部構成を示すブロック
図である。同図において、1は鍵盤部分の一部を示し、
このパネル部には種々のスイッチが設けられている。2
はアドレス表示用の7セグメントLED、3はテンポ表
示用のLEDである。4は自動演奏音を記録入力するた
めのRECスイッチ、5は自動演奏データをエデイツト
する際に用いるステップフォワード(STEPFD)ス
イッチ、6は自動演奏をプレイするためのFLYスイッ
チ、7は自動演奏をストップするAP(オートパターン
)ストップスイッチ、8は自動演奏を逆方向にリワイン
ドするためのREWスイッチ、9はRESET (リセ
ット)スイッチである。また、10はテンポを変更する
ためのTEMPOスイッチ、11はオートリズムのスタ
ート/ストップスイッチ、12はオートベースコード(
ABC)スイッチ、20は演奏鍵盤である。
FIG. 1 is a block diagram showing an external view of a keyboard section and the like and an internal configuration of a performance device 1111 according to an embodiment of the present invention. In the same figure, 1 indicates a part of the keyboard part,
This panel section is provided with various switches. 2
3 is a 7-segment LED for address display, and 3 is a tempo display LED. 4 is a REC switch for recording and inputting automatic performance sounds, 5 is a step forward (STEPFD) switch used when editing automatic performance data, 6 is a FLY switch for playing automatic performances, and 7 is for stopping automatic performances. 8 is a REW switch for rewinding automatic performance in the opposite direction, and 9 is a RESET switch. Also, 10 is the TEMPO switch for changing the tempo, 11 is the auto rhythm start/stop switch, and 12 is the auto bass chord (
ABC) switch, 20 is a performance keyboard.

21は鍵盤20の押鍵と離鍵を検出する鍵スィッチ回路
、22はパネル上の種々の操作子スイッチ4〜12のオ
ン/オフを検出する操作子スイッチ回路、23はアドレ
ス表示2およびテンポ表示3の表示制御回路である。3
1は所定の時間間隔でタイマインタラブドを行なうため
のタイマ発振器(O3C)、32はテンポの基準信号を
発生するテンポO3Cである。40はデータ記憶回路で
あり、リズムパターンデータメモリ(ROM)41、自
動演奏データメモリ(RAM)42、イベントバッファ
レジスタ(RAM)43、キーバッファレジスタ(RA
M)44、自動伴奏用キーデータテーブル45などを具
備する。これらのレジスタおよびメモリについては後に
詳しく説明する。
21 is a key switch circuit that detects key presses and key releases on the keyboard 20, 22 is an operator switch circuit that detects on/off of various operator switches 4 to 12 on the panel, and 23 is an address display 2 and a tempo display. This is the display control circuit of No. 3. 3
1 is a timer oscillator (O3C) for performing timer interoperation at predetermined time intervals, and 32 is a tempo O3C for generating a tempo reference signal. 40 is a data storage circuit, which includes a rhythm pattern data memory (ROM) 41, an automatic performance data memory (RAM) 42, an event buffer register (RAM) 43, and a key buffer register (RA).
M) 44, an automatic accompaniment key data table 45, etc. These registers and memories will be explained in detail later.

50はマイクロコンピュータであり、プログラムメモリ
(ROM)51、CPU52、ワーキングメモリ53を
備えている。61はリズム音信号発生回路、62は鍵盤
用楽音信号発生回路、63は自動演奏用楽音信号発生回
路、64は増幅器である。以上の各回路およびマイクロ
コンピュータやメモリなどはバス70に接続されている
A microcomputer 50 includes a program memory (ROM) 51, a CPU 52, and a working memory 53. 61 is a rhythm sound signal generation circuit, 62 is a musical tone signal generation circuit for a keyboard, 63 is a musical tone signal generation circuit for automatic performance, and 64 is an amplifier. Each of the above circuits, a microcomputer, a memory, etc. are connected to a bus 70.

次に、第2図を参照して各種データのフォーマットを説
明する。
Next, formats of various data will be explained with reference to FIG.

第2図(a)、は第1図の自動演奏データメモリ42上
のデータフォーマットを示すフォーマット図である。自
動演奏データは配列APMに記憶され、各拍の演奏デー
タはAPM (ADR)でアクセスされる固定長フォー
マットのレコードである。記憶容量は例えば100小節
の自動演奏データを記憶する程度に設定しておく。
FIG. 2(a) is a format diagram showing the data format on the automatic performance data memory 42 of FIG. 1. The automatic performance data is stored in the array APM, and the performance data for each beat is a fixed length format record accessed in the APM (ADR). The storage capacity is set to a level that can store, for example, 100 bars of automatic performance data.

第2図(a)に示すように、配列APMの4つの要素で
1拍分く4分音符)の自動演奏データを記憶する。そし
て、例えば4拍で1小節とすれば20小節目の先頭の演
奏データは4X4X (20−1)+1=305番目す
なわちAPM(305)と算出できる。1つの要素AP
M (ADR)は1/4拍分の自動演奏データを表わし
、そのO〜35ビット(KEYbuf)はキーデータ、
36〜39ビツトは付加データである。キーデータは6
ビツトで1打鍵音を表わし1要素で6音分を記憶できる
。付加データとしては、コードの根音を示すルート、音
色、サンバやタンプなどを示すスタイルおよびコードタ
イプ・アカンブなどが記憶できる。コードタイプとはメ
ジャーまたはマイナーなどのコードのタイプを表わすデ
ータ、アカンプは伴奏のオン/オフを表わすデータ、X
はスタイルの1小節目か2小節目かを表わすデータであ
る。
As shown in FIG. 2(a), automatic performance data of a quarter note corresponding to one beat is stored in four elements of the array APM. For example, if one measure is made up of four beats, the performance data at the beginning of the 20th measure can be calculated as 4X4X (20-1)+1=305th, that is, APM (305). 1 element AP
M (ADR) represents automatic performance data for 1/4 beat, and its 0 to 35 bits (KEYbuf) are key data,
Bits 36 to 39 are additional data. The key data is 6
One keystroke sound is represented by a bit, and six tones can be stored in one element. As additional data, the root indicating the root note of the chord, the timbre, the style indicating samba, tump, etc., and the chord type/accumulation can be stored. Chord type is data that represents the type of chord such as major or minor, accompaniment is data that represents accompaniment on/off,
is data indicating whether it is the first measure or the second measure of the style.

これらの付加データは同図(a)に示すように1拍車位
で設定される。すなわち、1拍分のデータフォーマット
(APM (ADH)からAPM(ADR+3)のデー
タ)に記憶されたルートデータや音色などはその1拍の
間のすべてのキーデータに対して有効である。
These additional data are set at about one beat as shown in FIG. 2(a). That is, the root data, timbre, etc. stored in the data format for one beat (data from APM (ADH) to APM (ADR+3)) are valid for all key data during that one beat.

このように拍毎に固定長形式のレコードで自動演奏デー
タを記憶(いわゆるベタで記憶)しているので、演奏デ
ータのエデイツト(パンナインおよびパンチアウト)が
極めて簡単となる。また、単位時間内にイベント数が多
いキーデータのようなデータはベタで記憶し、イベント
数が少ない音色データのようなものは1ブロツク(1拍
分)で記憶するので、データの圧縮にもなる。なお、自
動演奏データを記憶する配列APMは、APM(1)を
メモリ先頭としたが、APM(0)を先頭要素としても
同様であることは無論である。
Since the automatic performance data is stored as a fixed-length record for each beat (so-called solid storage), editing (pan-nine and punch-out) of the performance data is extremely easy. In addition, data such as key data that has a large number of events within a unit time is stored in solid form, and data such as timbre data that has a small number of events is stored in one block (one beat), so it is easy to compress the data. Become. Although the array APM for storing automatic performance data has APM(1) as the first element in the memory, it is of course possible to use APM(0) as the first element.

第2図(b)は第1図のイベントバッファ(IVTBU
F)43の記憶フォーマットを示す。イベントバッファ
IVTBUFは鍵盤キーの打鍵や離鍵あるいは音色やス
タイルなどの切替スイッチなどの押下が実行された場合
に、それらのイベントデータを記憶するレジスタである
。イベントバッファIVTRUFに格納されるイベント
データは図に示すように、先頭の1ビツトによって鍵盤
に関するキーデータかルートや音色などの付加データか
が判別できる。また、付加データの場合は引き続く2ビ
ツトでルート、音色などの種類判別ができる。イベント
発生に伴なってイベントバッファIVTBUFに格納さ
れたデータは、キーバッファレジスタKEYBUFに取
込み楽音信号発生回路に送られて、楽音が発生する。
Figure 2(b) shows the event buffer (IVTBU) in Figure 1.
F) shows the storage format of 43. The event buffer IVTBUF is a register that stores event data when a keyboard key is pressed or released, or a changeover switch for tone, style, etc. is pressed. As shown in the figure, the first bit of the event data stored in the event buffer IVTRUF can be used to determine whether it is key data related to the keyboard or additional data such as a root or timbre. In addition, in the case of additional data, the type of root, timbre, etc. can be determined using the following two bits. Data stored in the event buffer IVTBUF upon occurrence of an event is taken into the key buffer register KEYBUF and sent to a musical tone signal generation circuit, thereby generating a musical tone.

第2図(c)は、第1図の自動伴奏用キーデータテーブ
ル45のフォーマットを示す、自動伴奏用キーデータテ
ーブルは、自動伴奏が指示されている場合にルート、ス
タイル、コードタイプ、アカンプおよび拍(何拍目かを
示すデータ)から発音すべぎキーデータを知るためのテ
ーブルである。
FIG. 2(c) shows the format of the automatic accompaniment key data table 45 shown in FIG. This is a table for knowing the key data to be pronounced from the beat (data indicating the number of beats).

その他のレジスタ類について下記に示す。Other registers are shown below.

1、ADRニアドレスポインタ。自動演奏メモリAPM
に格納されている自動演奏データを指し示すポインタと
して用いられる。
1. ADR near address pointer. Automatic performance memory APM
This is used as a pointer to point to the automatic performance data stored in the .

2、REC:演奏データを演奏データメモリに記録入力
するモードであることを示すフラグ。
2. REC: A flag indicating that the mode is for recording and inputting performance data into the performance data memory.

3、RECSY:演奏データの記録入力モード時におい
てシンクロ待機状態を示すフラグ。
3. RECSY: Flag indicating synchronization standby state in performance data recording input mode.

4、PLY:演奏データを読出して発音する自動演奏の
再生モードであることを示すプレイフラグ。
4. PLY: Play flag indicating that the mode is an automatic performance playback mode in which performance data is read and sound is produced.

5、RUN:リズム走行状態を示すランフラグ。5. RUN: Run flag indicating rhythm running state.

6.5TEPFDニステツプフオワードキーの押下を示
すステップフォワードフラグ。
6.5TEPFD Step forward flag indicating pressing of the step forward key.

7、REW’:リワインドキーの押下を示すフラグ。7. REW': Flag indicating pressing of the rewind key.

8、REPTニステップフォワードキーを連続して押下
し続けることにより71秒の間隔で順次演奏データを読
出し発音する早送りのモード(リピートモード)となっ
たことを示すフラグ。
8. A flag indicating that by continuously pressing the REPT two-step forward key, a fast-forward mode (repeat mode) is entered in which performance data is sequentially read out and sounded at intervals of 71 seconds.

9、ABLE:リトリガ−(retri、g8er )
が可能な状態を示すフラグ。
9, ABLE: Retrigger (retri, g8er)
A flag indicating the state in which this is possible.

10、T、タイマカクンタレジスタ。10, T, timer counter register.

11、71 :固定値(ここでは0.25秒)。11, 71: Fixed value (0.25 seconds here).

12、T2:固定値(ここでは0.7秒)。12, T2: Fixed value (0.7 seconds here).

13、T3:固定値(ここでは1.3秒)。13, T3: Fixed value (here 1.3 seconds).

14、TCNT:テンポカウンタレジスタ。14. TCNT: Tempo counter register.

次に、第3〜8図のフローチャートを参照して第1図の
自動演奏装置の動作を説明する。
Next, the operation of the automatic performance apparatus shown in FIG. 1 will be explained with reference to the flowcharts shown in FIGS. 3 to 8.

第3図のメインルーチンを参照して、自動演奏装置がオ
ンされると、まずステップS1で初期設定し、ステップ
S2で鍵盤キー20の押1lII鍵情報および/または
各操作子スイッチ4〜12の操作情報を入力する。そし
てステップS3で、イベント無しの場合は再びステップ
S2に戻り、イベント有りの場合は各イベントを判別し
てそれぞれの処理ルーチン(ステップ84〜515)へ
と分岐する。
Referring to the main routine of FIG. 3, when the automatic performance device is turned on, first initial settings are made in step S1, and in step S2 the key information of the keyboard keys 20 and/or of each of the operator switches 4 to 12 is set. Enter operation information. In step S3, if there is no event, the process returns to step S2, and if there is an event, each event is determined and the process branches to the respective processing routines (steps 84 to 515).

すなわち、イベントが鍵盤キー、音色あるいはスタイル
に関するイベントであった場合はステップS4に分岐し
て第5図に示すような処理を行なう。これについては後
述する。
That is, if the event is related to a keyboard key, timbre, or style, the process branches to step S4, and the process shown in FIG. 5 is performed. This will be discussed later.

テンポ・リズム選択に関するイベントであった場合はス
テップS5に分岐し、リズム選択操作子(不図示)また
はTEMPO操作子スイッチ(第1刃付番10)の操作
に応じてリズム種類の設定あるいはテンポの設定を行な
う。
If the event is related to tempo/rhythm selection, the process branches to step S5, and the rhythm type is set or the tempo is set according to the operation of the rhythm selection operator (not shown) or the TEMPO operator switch (first blade number 10). Make settings.

RECスイッチ4の押下などの演奏データの記録入力に
関するイベントであった場合はステップS6に分岐して
第4図に示すような処理を行なう。これについては後述
する。
If the event is related to recording input of performance data, such as pressing down of the REC switch 4, the process branches to step S6 and the process shown in FIG. 4 is performed. This will be discussed later.

FLYスイッチ6の押下のイベントの場合はステップS
7に分岐して、プレイフラグFLYに1をセットして自
動演奏の再生モードとし、ランフラグRUNに1をセッ
トしてリズム走行状態とする。これらのフラグをセット
することにより、後述するリズムインタラブドルーチン
(第6図)によって自動演奏データの再生が行なわれ、
またリズム音が発生される。さらにステップS7では、
フラグRECおよびRECSYをOとし、自動演奏の記
録入力モードを解除している。
If the event is FLY switch 6 press, step S
7, the play flag FLY is set to 1 to set the automatic performance playback mode, and the run flag RUN is set to 1 to set the rhythm running state. By setting these flags, automatic performance data is played back by the rhythm interwoven routine (Figure 6), which will be described later.
Rhythm sounds are also generated. Furthermore, in step S7,
The flags REC and RECSY are set to O, and the automatic performance recording input mode is canceled.

APストップスイッチ7の押下のイベントの場合はステ
ップS8に分岐して、プレイフラグFLYを0として自
動演奏の再生モードを解除し、ランフラグRUNをOと
してリズム走行状態を解除する。さらに、フラグREC
およびRECSYを0とし自動演奏の記録入力モードを
解除している。
If the event is the pressing of the AP stop switch 7, the process branches to step S8, where the play flag FLY is set to 0 to cancel the automatic performance playback mode, and the run flag RUN is set to O to cancel the rhythm running state. Furthermore, the flag REC
and RECSY is set to 0 to cancel the automatic performance recording input mode.

リズムスタート/ストップスイッチ11の押下のイベン
トの場合はステップS9に分岐して、ランフラグRLI
Nを反転させる。すなわち、リズム走行状態の場合はそ
れを解除し、リズム走行状態でない場合はリズム走行状
態とする。
In the event that the rhythm start/stop switch 11 is pressed, the process branches to step S9 and the run flag RLI is
Invert N. That is, if it is in a rhythm running state, it is canceled, and if it is not in a rhythm running state, it is put into a rhythm running state.

ステップフォワードスイッチ5のオンイベントの場合は
、ステップS10に分岐して第7図に示すような処理を
行なう。これについては後述する。
In the case of an on event of the step forward switch 5, the process branches to step S10 and processes as shown in FIG. 7 are performed. This will be discussed later.

ステップフォワードスイッチ5のオフイベントの場合は
ステップSllに分岐して、フラグ5TEPFDをOと
し、フラグABLEを1にセットする。これにより、タ
イマインタラブドルーチン(第8図)において、後述す
るような所定の処理が行なわれる。
In the case of an off event of the step forward switch 5, the process branches to step Sll, sets the flag 5TEPFD to O, and sets the flag ABLE to 1. As a result, in the timer-interrupted routine (FIG. 8), predetermined processing as described later is performed.

リセットスイッチ9の押下のイベントの場合はステップ
312に分岐して、アドレスポインタADRを1に初期
化する。
In the event that the reset switch 9 is pressed, the process branches to step 312 and the address pointer ADR is initialized to 1.

リワインドスイッチ8のオンイベントの場合はステップ
S13に分岐して、タイマレジスタTを0クリアし、リ
ワインドフラグREWに1をセットする。これにより、
タイマインタラブドルーチン(第8図)において、所定
のリワインド再生処理が行なわれる。さらに、リワイン
ドを行なう際には現在発音中のチャンネルを消音する必
要があるため、ステップS13では全発音チャンネルに
キーオフ信号を送出する。そして、アドレスポインタA
DRを1だけ戻してその値をアドレス表示2として表示
する。
In the case of an on event of the rewind switch 8, the process branches to step S13, where the timer register T is cleared to 0 and the rewind flag REW is set to 1. This results in
In the timer-interrupted routine (FIG. 8), a predetermined rewind playback process is performed. Furthermore, when rewinding, it is necessary to mute the currently sounding channel, so in step S13 a key-off signal is sent to all sounding channels. And address pointer A
DR is returned by 1 and the value is displayed as address display 2.

リワインドスイッチ8のオフイベントの場合はステップ
S14に分岐して、リワインドフラグREWおよびリピ
ートフラグREPTを0とする。
In the case of an off event of the rewind switch 8, the process branches to step S14, and the rewind flag REW and repeat flag REPT are set to 0.

これにより、タイマインタラブドルーチン(第8図)に
おいて、所定のリワインドオフの処理が行なわれる。
As a result, a predetermined rewind-off process is performed in the timer-interrupted routine (FIG. 8).

オートベースコードスイッチ12の押下の場合はステッ
プS15に分岐して、伴奏フラグBANSoを反転させ
る。すなわち、オートベース走行状態の場合はそれを解
除し、オートベース走行状態でない場合はオートベース
走行状態とする。
If the auto bass chord switch 12 is pressed, the process branches to step S15 and the accompaniment flag BANSo is inverted. That is, if it is in the auto-base running state, it is canceled, and if it is not in the auto-base running state, it is set to the auto-base running state.

以上のように、ステップS3で各イベントを判別して所
定の処理を実行した後は、再びステップS2へと戻る。
As described above, after determining each event and executing predetermined processing in step S3, the process returns to step S2.

次に、第4図を参照して第3図ステップS6のRECI
A理について説明する。RECスイッチが押下されると
、まずステップS61でフラグREC5YとRUNとに
1をセットする。これによりシンクロ待機状態となる。
Next, with reference to FIG. 4, the RECI of step S6 in FIG.
Explain the principle A. When the REC switch is pressed, flags REC5Y and RUN are first set to 1 in step S61. This causes the device to enter a synchronized standby state.

次に、ステップS62でフラグFLYが1かどうか、ス
テップS63でフラグRLINが1かどうか、ステップ
S64で鍵盤のいずれかのキーが打鍵されたかどうかを
判別する。いずれにも該当しない場合は、ステップS6
5でRECキーが押下されたかどうかを判別し、押下さ
れていない場合はステップS62に戻る。もし再びRE
Cキーが押下された場合は、ステップ366でフラグR
EC3Yを0クリアしシンクロ待機状態を解除してリタ
ーンする。
Next, it is determined in step S62 whether the flag FLY is 1, in step S63 it is determined whether the flag RLIN is 1, and in step S64 it is determined whether any key on the keyboard has been pressed. If none of the above apply, step S6
In step S5, it is determined whether or not the REC key has been pressed, and if the REC key has not been pressed, the process returns to step S62. If RE again
If the C key is pressed, the flag R is set in step 366.
Clear EC3Y to 0, release the synchronized standby state, and return.

一方、ステップ362でフラグPLYが1であった場合
(自動演奏の再生状態でRECキー押下の場合)はステ
ップ67でフラグRECに1をセットし、フラグREC
3Yを0クリアする。すなわち、自動演奏のための記録
人力モードとしシンクロ待機状態を解除する。そして、
ステップ368で1つ前のアドレスポインタADRが指
し示す演奏データメモリAPM (ADR−1)のすべ
てのキーデータをキーオフコードに変換してリターンす
る。
On the other hand, if the flag PLY is 1 in step 362 (when the REC key is pressed during automatic performance playback), the flag REC is set to 1 in step 67, and the flag REC is set to 1 in step 67.
Clear 3Y to 0. That is, the recording manual mode for automatic performance is set and the synchronization standby state is canceled. and,
In step 368, all key data in the performance data memory APM (ADR-1) pointed to by the previous address pointer ADR is converted into key-off codes, and the process returns.

このステップS68は自動¥寅奏データのエディットの
ための処理である。すなわち、再生状態などからREC
キー押下によって記録状態に移行するいわゆるバンチイ
ンの際に、前のキーデータが発音状態のまま継続してい
る場合があるので、ここですべてのキーデータに対しキ
ーオフを演奏データメモリにセットし、これらの音が発
音をし続けることを防止している。これにより、既に入
力しである自動演奏データのどの位置からバンチインし
ても自動演奏は適正に発音されることとなる。
This step S68 is a process for editing the automatic ¥tora performance data. In other words, from the playback status etc.
When a so-called bunch-in occurs, in which the recording state is entered by pressing a key, the previous key data may continue to sound, so set key-off for all key data in the performance data memory, and This prevents the sound from continuing to be pronounced. As a result, the automatic performance will be properly sounded no matter where the bunch-in begins in the automatic performance data that has already been input.

ステップS63でフラグRUNが1の場合(オートリズ
ム走行時でRECキー押下の場合)も同様にステップS
67に進み、自動演奏記録入力モードとなる。また、ス
テップ364でいずれかの鍵盤キーが打鍵された場合も
同様にステップS67に進む。
If the flag RUN is 1 in step S63 (when the REC key is pressed during autorhythm running), step S63 is also performed.
The process advances to step 67 to enter automatic performance record input mode. Furthermore, if any keyboard key is pressed in step 364, the process similarly advances to step S67.

以上より、この実施例によればまずRECスイッチを1
回押下することによりシンクロ待機状態(REC3Y=
1)となりこの状態から、PRYスイッチ押下、スター
ト/ストップスイッチ押下、いずれかの鍵盤キーの押下
あるいはRECスイッチの再度の押下によって、待機状
態から抜けてREC状態となるとともに、その時点から
いきなりキーコードが書込めるようになっている。さら
に、プレイ中にRFCスイッチを押下すれば、その位置
からバンチインができる。
From the above, according to this embodiment, first the REC switch is set to 1.
By pressing twice, synchronization standby state (REC3Y=
1) From this state, by pressing the PRY switch, pressing the Start/Stop switch, pressing any key on the keyboard, or pressing the REC switch again, the standby state will be exited and the REC state will be entered, and from that point on, the key code will suddenly be changed. can be written. Furthermore, if you press the RFC switch during play, you can bunch-in from that position.

次に、第5図のフローチャートを参照して、鍵盤キー、
音色、スタイルに関するイベントがあった場合(第3図
ステップS4)の動作について説明する。
Next, referring to the flowchart in FIG.
The operation when there is an event related to timbre or style (step S4 in FIG. 3) will be explained.

まず、ステップS41でシンクロ待機状態かどうか判別
し、もしそうならステップS42でフラグREC3Yお
よびレジスタTCNTを0クリアし、フラグRUNおよ
びRECに1をセットする。次に、ステップS43でイ
ベントデータをイベントバッファレジスタIVTBUF
に取込み、ステップS44でフラグRECが1かどうか
判別する。フラグRECが1でない場合は、演奏データ
の記録人力モードではないということであるからステッ
プS45でイベントバッファレジスタ■VTRUFのデ
ータを鍵盤用楽音信号発生回路へと送る。この中にはパ
ネルSWの操作イベントも含まれている。さらにステッ
プS46でイベントバッファIVTBtJFをクリアし
てリターンする。
First, in step S41, it is determined whether or not the synchronization standby state is present. If so, in step S42, the flag REC3Y and the register TCNT are cleared to 0, and the flags RUN and REC are set to 1. Next, in step S43, the event data is stored in the event buffer register IVTBUF.
In step S44, it is determined whether the flag REC is 1 or not. If the flag REC is not 1, it means that the performance data recording mode is not manually performed, and in step S45, the data in the event buffer register VTRUF is sent to the musical tone signal generation circuit for the keyboard. This includes panel SW operation events. Further, in step S46, the event buffer IVTBtJF is cleared and the process returns.

ステップS44でフラグRECが1の場合は、イベント
データを演奏データメモリに記録する必要があるからス
テップS47へ分岐する。ステップS47でアドレスポ
インタADRの値に基づいて小節数を表示する。そして
、ステップ348でイベントバッファIVTBUF内か
ら1つのイベントデータを取出し、ステップS49でそ
のイベントデータを識別する。
If the flag REC is 1 in step S44, it is necessary to record the event data in the performance data memory, so the process branches to step S47. In step S47, the number of bars is displayed based on the value of the address pointer ADR. Then, in step 348, one event data is extracted from the event buffer IVTBUF, and in step S49, the event data is identified.

もしキーデータであれば、ステップS50で音高により
伴奏キーかメロディキーかを判別する。
If it is key data, it is determined in step S50 whether it is an accompaniment key or a melody key based on the pitch.

伴奏キーであればステップ351でルート音を判別し演
奏データメモリAPM (ADR)の39〜36ビツト
に書き込む。ステップS50でメロディキーであった場
合は、ステップS53でフラグBANSOをチエツクし
1であれば(すなわち自動伴奏の場合)ステップS54
で演奏データメモリAPM (ADR)の11〜0ビツ
トに打鍵キーコードを書き込む。なお、伴奏用には2音
分の記憶域を確保している。ステップS53でフラグB
ANSOが1でない場合は、ステップS55で演奏デー
タメモリAPM (ADR)の35〜0ビツトに打鍵キ
ーコードを書き込む。自動伴奏を行なわない場合は6音
分の打鍵キーコードを記憶することとしている。
If it is an accompaniment key, the root note is determined in step 351 and written in bits 39 to 36 of the performance data memory APM (ADR). If it is a melody key in step S50, the flag BANSO is checked in step S53, and if it is 1 (that is, in the case of automatic accompaniment), step S54
Write the keystroke code in bits 11 to 0 of the performance data memory APM (ADR). Note that a storage area for two notes is reserved for accompaniment. In step S53, the flag B
If ANSO is not 1, the keystroke code is written in bits 35 to 0 of the performance data memory APM (ADR) in step S55. When automatic accompaniment is not performed, keystroke codes for six notes are stored.

一方、ステップS49でイベントデータが音色データで
あった場合は、ステップ358で音色デニタを演奏デー
タメモリAPM (ADR+1)の39〜36ビツトに
書き込む。また、スタイルデータであった場合はステッ
プS59でスタイルデータを演奏データメモリAPM 
(ADR+2)の39〜36ビツトに書き込み、コード
タイプ・アカンブなどのデータであった場合はステップ
S60でそれらのデータを演奏データメモリAPM(、
ADH+3)の39〜36ビツトに書き込む。
On the other hand, if the event data is timbre data in step S49, the timbre data is written in bits 39 to 36 of the performance data memory APM (ADR+1) in step 358. If it is style data, the style data is stored in the performance data memory APM in step S59.
(ADR+2), and if the data is chord type, accumb, etc., those data are written to the performance data memory APM (,
Write to bits 39 to 36 of ADH+3).

次に、ステップS52でイベントバッファIVTBUF
内の取出しイベントデータをクリアし、ステップ356
で残りのイベントデータがあるかどうか判別し、もしあ
れば再びステップ34Bに戻って上記の処理を繰り返す
。イベントデータが無くなったらステップS57でアド
レスポインタADRを歩進し、リターンする。
Next, in step S52, the event buffer IVTBUF
Clear the retrieval event data in step 356.
It is determined whether there is any remaining event data, and if there is, the process returns to step 34B and the above process is repeated. When there is no more event data, the address pointer ADR is incremented in step S57 and the process returns.

以上のような処理によって自動演奏データの記録入力が
行なわれ各イベントが演奏データメモリAPMへ格納さ
れる。なお、この実施例では、不図示の演奏データの記
録入力モード時のタイマインタラブドルーチンにより、
tとADHとを所定間隔で歩進させている。そして、キ
ーオフイベントからキーオンイベントまでのデータ(無
音データ)もAPMに記録している。また、拍の途中で
の音色変化は次の拍に書込むこととしている。
Through the processing described above, automatic performance data is recorded and input, and each event is stored in the performance data memory APM. In this embodiment, a timer-interrupted routine in the performance data recording input mode (not shown)
t and ADH are stepped at predetermined intervals. Data (silence data) from the key-off event to the key-on event is also recorded in the APM. Furthermore, any timbre change in the middle of a beat is written on the next beat.

次に、第6図のフローチャートを参照して、す、ズムイ
ンタラブト処理を説明する。リズムインタラブドは自動
演奏メモリAPMの分解能(4分音符の1/4)である
16分音符の1/3の時間間隔で行なわれる割込処理で
ある。
Next, the sum interaction process will be explained with reference to the flowchart of FIG. Rhythm Interrupt is an interrupt process performed at time intervals of 1/3 of a 16th note, which is the resolution (1/4 of a quarter note) of the automatic performance memory APM.

まず、ステップ5201でフラグPLYをチエツクし自
動演奏再生中であるか否かを判別する。
First, in step 5201, the flag PLY is checked to determine whether or not an automatic performance is being reproduced.

再生中であれば第6図(b)のAPシル−ンをコールし
た後、再生中でなければそのまま、ステップ5203に
進む。ステップ3203でランフラグRUNをチエツク
し、リズム走行状態でなければリターンする。リズム走
行状態の場合は、ステップ5204でシンクロ待機状態
かどうか判別し、そうであればステップ5205で1拍
毎にクラベス音(メトロノーム音)を発音し、シンクロ
待機状態でなければステップ5206で設定リズム種類
およびテンポカウンタTCNTに基づきリズムパターン
データを読出してリズム音信号発生回路61へ出力する
。その後、ステップ5207でテンポカウンタTCNT
を歩進し、ステップ3208でTCNTが2小節目の終
わりの位置かどうか判別する。TCNTが2小節目の終
わりである場合はステップ5209でTCNTをOクリ
アしてリターンする。
If it is being played, the AP screen shown in FIG. 6(b) is called, and if it is not being played, the process directly advances to step 5203. In step 3203, the run flag RUN is checked, and if the rhythm running is not in progress, the process returns. If it is in the rhythm running state, it is determined in step 5204 whether it is in the synchronized standby state, and if so, a claves sound (metronome sound) is produced every beat in step 5205, and if it is not in the synchronized standby state, the set rhythm is activated in step 5206. Based on the type and tempo counter TCNT, rhythm pattern data is read out and output to the rhythm sound signal generation circuit 61. After that, in step 5207, the tempo counter TCNT
Then, in step 3208, it is determined whether TCNT is at the end of the second measure. If TCNT is the end of the second bar, TCNT is cleared to O in step 5209 and the process returns.

第6図(b)を参照して、第6図(a)のAPシル−ン
を説明する。まずステップ5211でテンポカウンタT
CNTが4分音符先頭のタイミングかどうか判別し、そ
うでなければステップ5218に進む。テンポカウンタ
TCNTが4分音符先頭のタイミングである場合は、ス
テップ5212で自動伴奏かどうか判別し、そうであれ
ばステップ5213で自動演奏データメモリAPMのル
ート、スタイルおよびコードタイプ・アヵンブ(APM
 (ADH)39〜36ビツト、APM(ADR+2)
39〜36ビツト、APM (ADR+3)39〜36
ビツト)および何拍目かを示す(4分音荷車位)レジス
タBEETに基づいて自動伴奏用キーデータテーブル(
第2図(C))を参照し、該当するキーデータをキーバ
ッファKEYBUF3〜6に取込む。これが自動伴奏用
に発音すべきデータである。次に、ステップ3214で
音色データ(APM (ADR+1)39〜36ビツト
)を自動演奏用楽音信号発生回路63に送り音色を設定
する。そして、ステップ5215でレジスタBEETを
歩進し、ステップ5216でBEETが8か否かすなわ
ち2小節に至ったか否かを判別し、もし8であればステ
ップ5217でBEETを0クリアする。
The AP screen shown in FIG. 6(a) will be explained with reference to FIG. 6(b). First, in step 5211, the tempo counter T
It is determined whether CNT is at the beginning of a quarter note, and if not, the process advances to step 5218. If the tempo counter TCNT is at the beginning of a quarter note, it is determined in step 5212 whether automatic accompaniment is being performed, and if so, in step 5213 the root, style, and chord type accumulator (APM) of the automatic performance data memory APM are stored.
(ADH) 39-36 bits, APM (ADR+2)
39-36 bits, APM (ADR+3) 39-36
Automatic accompaniment key data table (
Referring to FIG. 2(C)), the corresponding key data is taken into the key buffers KEYBUF3 to KEYBUF6. This is the data that should be generated for automatic accompaniment. Next, in step 3214, the tone color data (APM (ADR+1) 39-36 bits) is sent to the automatic performance musical tone signal generation circuit 63 to set the tone color. Then, in step 5215, the register BEET is incremented, and in step 5216, it is determined whether or not BEET is 8, that is, whether the second bar has been reached. If it is 8, BEET is cleared to 0 in step 5217.

ステップ5218でテンポカウンタTCNTが16分音
符の先頭タイミングであるかどうか判別し、そうでない
場合はそのままリターンする。16分音符の先頭タイミ
ングである場合には、ステップ5219でフラグBAN
SOをチエツクして自動伴奏を行なっているかどうか判
別し、行なっていない場合はステップ5220で演奏デ
ータAPM (ADR)の12〜35ビツトのキーコー
ド4音分をキーバッファKEYBUF3〜6にセットす
る。そして、ステップ5221で演奏データAPM (
ADR)の0〜11ビツトのキーコード2音分をキーバ
ッファKEYBUF1.2にセットし、ステップ522
2でキーバッファKEYBUFI〜6を自動演奏用楽音
信号発生回路63に送って発音し、ステップ5223で
アドレスポインタADRを歩進してリターンする。
In step 5218, it is determined whether the tempo counter TCNT is at the beginning of a 16th note, and if not, the process returns directly. If it is the beginning timing of a 16th note, the flag BAN is set in step 5219.
It is determined whether automatic accompaniment is being performed by checking SO, and if not, in step 5220, four notes of 12-35 bit key codes of performance data APM (ADR) are set in key buffers KEYBUF3-6. Then, in step 5221, the performance data APM (
ADR) 0 to 11 bit key code for 2 notes is set in the key buffer KEYBUF1.2, and step 522
At step 2, the key buffers KEYBUFI to 6 are sent to the automatic performance musical tone signal generation circuit 63 for sound generation, and at step 5223, the address pointer ADR is incremented and the process returns.

次に、第7.8図のフローチャートを参照してステップ
フォワードキーの押下とそれに伴なう発音処理について
説明する。
Next, the pressing of the step forward key and the accompanying sound generation process will be described with reference to the flowchart in FIG. 7.8.

まず、ステップフォワードキー5TEPFDが押下され
ると第3図ステップs10より第7図に示すステップフ
ォワードルーチン5TEPFDがコールされる。
First, when the step forward key 5TEPFD is pressed, the step forward routine 5TEPFD shown in FIG. 7 is called from step s10 in FIG.

第7図を参照して、ステップ5lotでは、タイマカウ
ンタTをOに初期化し、ステップフォワードキーの押下
を示すフラグ5TEPFDに1をセットし、フラグAB
LEを0クリアする。そして、ステップ5102で後述
する第8図ステップ5118と同様にして現アドレスポ
インタADHの指し示す演奏データを発音して、リター
ンする。
Referring to FIG. 7, in step 5lot, a timer counter T is initialized to O, a flag 5TEPFD indicating pressing of the step forward key is set to 1, and a flag AB
Clear LE to 0. Then, in step 5102, similar to step 5118 in FIG. 8, which will be described later, the performance data pointed to by the current address pointer ADH is sounded, and the process returns.

その後、タイマインタラブドがかかると第8図の処理が
実行される。まずステップ5111でフラグ5TEPF
Dをチエツクする。ステップフォワードキーが押下され
てフラグ5TEPFDが1にセットされている場合は、
ステップ5112に進み、ステップフォワードキー押下
の時点からの時間TIJ<72=0.7秒であるかどう
か判別する。
Thereafter, when the timer is interrupted, the process shown in FIG. 8 is executed. First, in step 5111, flag 5TEPF is set.
Check D. If the step forward key is pressed and flag 5TEPFD is set to 1,
Proceeding to step 5112, it is determined whether the time from the time of pressing the step forward key is TIJ<72=0.7 seconds.

そうでない場合は、ステップ5113でフラグREPT
が1であるかどうか判別する。フラグREPTはステッ
プフォワードキーが72=0.7秒押下され続けた場合
にセットされるフラグである。
If not, in step 5113 the flag REPT
Determine whether or not is 1. The flag REPT is a flag that is set when the step forward key is kept pressed for 72=0.7 seconds.

フラグREPTが1でない場合は、ステップ5114に
分岐し、ここでタイマカウンタTを歩進してリターンす
る。
If the flag REPT is not 1, the process branches to step 5114, where the timer counter T is incremented and the process returns.

ステップ5113でフラグREPTが1である場合(ス
テップフォワードキーが12以上押下され続けている場
合)は、ステップ5119でT−T2が所定時間T、=
0.25秒の倍数かどうかチエツクする。倍数でなけれ
ばステップ5114に分岐し、倍数であるときはステッ
プ5116でキーバッファKEYBUFの全チャンネル
をキーオフデータとしこのKEYBUFのデータを自動
演奏用楽音信号発生回路63に送って消音させる。そし
て、ステップ5117でアドレスポインタADRを歩進
し、ステップ5118で演奏データAPM (ADH)
のキーデータをKEYBLJFに取込み自動演奏用楽音
信号発生回路63に送って発音する。なお、拍の先頭の
アドレスにおいてはキーデータ以外の付加データについ
てもやはりKEYBUFに取込み、楽音信号発生回路6
3に送って音色などの設定を行なう、モの後ステップ3
114に進む。
If the flag REPT is 1 in step 5113 (if the step forward key continues to be pressed 12 or more times), then in step 5119 T-T2 is set to 1 for a predetermined time T, =
Check if it is a multiple of 0.25 seconds. If it is not a multiple, the process branches to step 5114, and if it is a multiple, step 5116 sets all channels of the key buffer KEYBUF as key-off data and sends this KEYBUF data to the automatic performance musical tone signal generation circuit 63 to mute the sound. Then, in step 5117, the address pointer ADR is incremented, and in step 5118, the performance data APM (ADH) is
The key data is taken into the KEYBLJF and sent to the automatic performance musical tone signal generation circuit 63 for sound generation. Note that at the address at the beginning of the beat, additional data other than key data is also taken into KEYBUF, and the musical tone signal generation circuit 6
After step 3, send to step 3 and set the tone etc.
Proceed to 114.

ステップ5111でフラグ5TEPFDが1でない場合
(ステップフォワードキーがオフされている場合)は、
ステップ5120でフラグABLEをチエツクする。フ
ラグABLEはステップフォワードキーがオフされたと
きに第3図ステップSttで1がセットされ、これがセ
ットされている間は現アドレスポインタADRの指し示
す演奏データ音を発音し続ける。ステップ5120でフ
ラグABLEが1である場合は、ステップ3121でタ
イマカウントTを歩進し、ステップ5122でタイマカ
ウントTが所定時間T3=1.3秒に等しいかどうかチ
エツクする。T3に等しいときは、ステップ5123で
タイマカウントTをOクリアし、フラグABLEを0に
リセットする。そして、ステップ5124で現在発音中
の音を消音し、ステップ5125でアドレスポインタA
DHを歩進して、リターンする。
If the flag 5TEPFD is not 1 in step 5111 (if the step forward key is turned off),
At step 5120, the flag ABLE is checked. The flag ABLE is set to 1 in step Stt in FIG. 3 when the step forward key is turned off, and while it is set, the performance data sound pointed to by the current address pointer ADR continues to be generated. If the flag ABLE is 1 in step 5120, the timer count T is incremented in step 3121, and it is checked in step 5122 whether the timer count T is equal to the predetermined time T3=1.3 seconds. When it is equal to T3, the timer count T is cleared to O in step 5123, and the flag ABLE is reset to zero. Then, in step 5124, the sound currently being produced is muted, and in step 5125, the address pointer A is
Step DH and return.

ステップ5120でフラグABLEが1でない場合、あ
るいはステップ5122でタイマカウンタTがT、”1
.3秒に等しくない場合は、ステップ126に分岐しフ
ラグREWをチエツクする。
If the flag ABLE is not 1 in step 5120, or if the timer counter T is T, "1" in step 5122,
.. If it is not equal to 3 seconds, the process branches to step 126 and flag REW is checked.

フラグREWが1のときは、ステップ5127でタイマ
カウントTが所定時間T4=0.2秒に等・しいかどう
か判別し、などしければステップ3128に進む。そし
て、ステップ3128で、アドレスポインタADRを1
戻して表示し、タイマカウントTを0クリアしてリター
ンする。
When the flag REW is 1, it is determined in step 5127 whether the timer count T is equal to a predetermined time T4=0.2 seconds, and if so, the process proceeds to step 3128. Then, in step 3128, address pointer ADR is set to 1.
Return to display, clear timer count T to 0, and return.

ステップ5126でフラグREWが1でない場合、ある
いはステップ5127でタイマカウントTが所定時間T
4=0.2秒に等しくない場合は、ステップ5129で
フラグREPTが1かどうかチエツクし、1であればス
テップ5130へ進み1でないときはリターンする。ス
テップ3130ではタイマカウントTが1秒を超えかつ
T−T2がT、−0,25秒の倍数となっているかどう
かチエツクする。チエツクが肯定的な場合はステップ5
131でフラグREPT、タイマカウンタTおよびフラ
グABLEを0クリアし消音してリターンする。ステッ
プ5130のチエツクが否定的な場合は、ステップ51
14に分岐し、前述した処理を行なう。
If the flag REW is not 1 in step 5126, or if the timer count T is not 1 in step 5127,
If it is not equal to 4=0.2 seconds, it is checked in step 5129 whether the flag REPT is 1, and if it is 1, the process advances to step 5130, and if it is not 1, it returns. In step 3130, it is checked whether the timer count T exceeds 1 second and T-T2 is a multiple of T, -0.25 seconds. If the check is positive, step 5
At step 131, the flag REPT, timer counter T, and flag ABLE are cleared to 0, the sound is muted, and the process returns. If the check in step 5130 is negative, step 51
The process branches to step 14 and performs the processing described above.

第9図は、ステップフォワードキーの押下のタイミング
および発音の状態などを表わす概念図である。
FIG. 9 is a conceptual diagram showing the timing of pressing the step forward key and the state of sound generation.

まず第9図(a)は、ステップフォワードキー5TEP
FDを押下し所定の時間T2=0.7秒以内にオフ(押
下を止める)した場合を示している。このとき現アドレ
スポインタADRがnであったとするとこのADR=n
で指し示される演奏データが所定時間T、=1.3秒発
音され、アドレスポインタADRは歩進されてn+1と
なる。その後、同じようにステップフォワードキー5T
EPFDを押下したとすると、やはり同様に73=IJ
秒の間発音が実行される。
First, FIG. 9(a) shows the step forward key 5TEP.
The case is shown in which the FD is pressed and turned off (stopped being pressed) within a predetermined time T2=0.7 seconds. At this time, if the current address pointer ADR is n, this ADR=n
The performance data indicated by is sounded for a predetermined time T, = 1.3 seconds, and the address pointer ADR is incremented to n+1. After that, step forward key 5T in the same way.
If you press EPFD, 73=IJ
The pronunciation is executed for seconds.

このような第9図(a)の動作をなす場合の内部処理手
順は以下のようなものである。まず、ステップフォワー
ドキー5TEPFDを押下すると第3図のメインルーチ
ンのステップS10により第7図の5TEPFD処理が
コールされ現アドレスポインタADHの指し示す自動演
奏データが読出されて発音が開始する(第7図ステップ
5102)。その後、タイマインタラブドにより第8図
の処理が行なわれる。ここで、ステップフォワードキー
押下の直後は、シーケンスはステップ5111−?ステ
ップ5112→ステップ5113→ステップ5114→
リターンを繰り返し、発音が継続する。未だ押下から1
2秒経過していない間にステップフォワードキーがオフ
されると第3図のメインルーチンのステップ311によ
り所定のフラグが変更され、その後のタイマインタラブ
ドでシーケンスはステップ5111→ステツプ5120
→ステツプ5121→ステツプ5122→ステツプ31
26→ステツプ5129→リターンを繰り返しさらに発
音が継続する。そして、13秒が経過すると、シーケン
スはステップ5111−ステップ5120−ステップ5
121−ステップ5122→ステツプ5123−ステッ
プ5124→ステツプ5125→リターンとなり消音す
るにのときアドレスポインタADHはステップ3125
により歩進している。したがって、同様の操作を行なっ
た場合はADR=n+1により指し示される演奏データ
について同様に発音および消音が行なわれる。
The internal processing procedure for carrying out the operation shown in FIG. 9(a) is as follows. First, when the step forward key 5TEPFD is pressed, the 5TEPFD process in FIG. 7 is called in step S10 of the main routine in FIG. 3, the automatic performance data pointed to by the current address pointer ADH is read out, and sound generation starts (step 5102). Thereafter, the process shown in FIG. 8 is performed by the timer interrupt. Here, immediately after pressing the step forward key, the sequence is step 5111-? Step 5112 → Step 5113 → Step 5114 →
The return is repeated and the pronunciation continues. Still 1 from pressing
If the step forward key is turned off before 2 seconds have elapsed, a predetermined flag is changed in step 311 of the main routine in FIG.
→ Step 5121 → Step 5122 → Step 31
26→Step 5129→Return is repeated to continue sounding. Then, when 13 seconds have elapsed, the sequence is step 5111 - step 5120 - step 5
121 - step 5122 -> step 5123 - step 5124 -> step 5125 -> return and mute the address pointer ADH at step 3125
progress has been made. Therefore, when the same operation is performed, the performance data pointed to by ADR=n+1 is sounded and muted in the same way.

次に、第9図(b)の場合すなわちステップフォワード
キー5TEPFDの押下から13秒以内に再度の押下が
あった場合について説明する。
Next, the case of FIG. 9(b), that is, the case where the step forward key 5TEPFD is pressed again within 13 seconds after being pressed will be described.

この場合は初めにステップフォワードキーが押下されて
現アドレスポインタADRxnで指し示される演奏デー
タが発音され、ステップフォワードキーがオフされて発
音が継続するまでは上記の第9図(a)の場合と同様で
ある。しかし、初めにステップフォワードキーが押下さ
れた後13秒を経過する前に再度ステップフォワードキ
ーが押下されている。このとき第7図の5TEPFD処
理が実行される。また、タイマインタラブドのシーケン
スは、ステップ5111→ステツプ5112→ステツプ
5113→ステツプ5114→リターンとなって、発音
は継続される。さらに、この第2回目のステップフォワ
ードキーの押下から13秒以内に再びステップフォワー
ドキーが押下されると、同様にして発音は継続される。
In this case, the step forward key is first pressed and the performance data pointed to by the current address pointer ADRxn is sounded, and until the step forward key is turned off and the sound continues, it is the same as in the case of FIG. 9(a) above. The same is true. However, the step forward key is pressed again before 13 seconds have elapsed since the step forward key was pressed for the first time. At this time, the 5TEPFD process shown in FIG. 7 is executed. Further, the timer-interrupted sequence is step 5111→step 5112→step 5113→step 5114→return, and the sound generation continues. Furthermore, if the step forward key is pressed again within 13 seconds after the second press of the step forward key, the sound generation continues in the same manner.

これを繰り返すことにより同一アドレスポインタADR
=nで指し示される演奏データの音が発音を継続する。
By repeating this, the same address pointer ADR
The sound of the performance data indicated by =n continues to be produced.

次に、第9図(c)の場合すなわちステップフォワード
キー5TEPFDが13秒以上継続して押下され続けた
場合について説明する。
Next, the case of FIG. 9(c), that is, the case where the step forward key 5TEPFD is continuously pressed for 13 seconds or more will be explained.

この場合は初めにステップフォワードキーが押下されて
現アドレスポインタADR=nで指し示される演奏デー
タが発音されるまでは上記の第9図(a)の場合と同様
である。しかし、初めにステップフォワードキーが押下
された後12秒が経過したとき、タイマインタラブドル
ーチンは、ステップ5111→ステップ5112→ステ
ップS115→ステツプ3116→ステツプ5117→
ステツプ5118→ステツプ5114→リターンと処理
し、ADR=n+1で指し示す演奏データを発音する。
In this case, the process is the same as that shown in FIG. 9(a) above until the step forward key is first pressed and the performance data pointed to by the current address pointer ADR=n is sounded. However, when 12 seconds have elapsed after the step forward key was first pressed, the timer-interrupted routine continues as follows: step 5111 → step 5112 → step S115 → step 3116 → step 5117 →
Step 5118→Step 5114→Return is processed, and the performance data indicated by ADR=n+1 is sounded.

その後は、ステップ5111→ステツプ5112→ステ
ツプ3113→ステツプ5119→ステツプ5114→
リターンとなって、発音を継続し、さらにT−72がT
、の倍数となったとき、ステップ5111→ステツプ5
112→ステツプ5113→ステツプ5119→ステツ
プ5116−ステップ5117→ステツプ5118→ス
テツプ5114→リターンと処理し、ADR=n+2で
指し示す演奏データを発音する。以下同様にして、ステ
ップフォワードキーを連続して押下し続ける(すなわち
押しっばなし)とT、=0.25秒間隔でアドレスが歩
進され次々と発音されていく。ステップフォワードキー
をオフしたときは、ステップ5111→ステツプ512
0→ステツプ5121→ステツプ5122→ステツプ5
126→ステツプ5129→ステツプ5130→ステツ
プ5114→リターンと発音を継続した後、ステップ5
111→ステツプ5120→ステツプ5121→ステツ
プ5122→ステツプ$126→ステツプ5129→ス
テツプ5130−ステップS13!−リターンで消音す
る。
After that, step 5111 → step 5112 → step 3113 → step 5119 → step 5114 →
It becomes a return, and the sound continues, and then T-72 becomes T.
, step 5111 → step 5
112→Step 5113→Step 5119→Step 5116-Step 5117→Step 5118→Step 5114→Return, and the performance data indicated by ADR=n+2 is generated. Thereafter, in the same way, if the step forward key is continuously pressed (that is, without being pressed), the addresses are stepped at intervals of T=0.25 seconds and are sounded one after another. When the step forward key is turned off, step 5111 → step 512
0 → Step 5121 → Step 5122 → Step 5
126→Step 5129→Step 5130→Step 5114→Return After continuing the pronunciation, step 5
111→Step 5120→Step 5121→Step 5122→Step $126→Step 5129→Step 5130-Step S13! -Mute the sound with return.

なお、T1の間に(第9(C)図ではADR=n+5の
とき)ステップフォワードキーをオフして再度押下した
場合には、ADR=n+5に留まり13秒の発音がなさ
れる。
If the step forward key is turned off and pressed again during T1 (when ADR=n+5 in FIG. 9(C)), the step forward key remains at ADR=n+5 and the sound is produced for 13 seconds.

この実施例によれば、普通に現アドレスポインタADH
の指し示す音を聞きたいときは第9図(a)のようにス
テップフォワードキーを1回軽く押下してT3=1.3
秒発音させることができ、もっと長く聞きたいときは、
第9図(b)のように73=1.3秒以内に再度押下す
ることにより同一演奏データ音を引き続き聞くことがで
きる。これは、特にデータがコードデータなどであり、
どの音とどの音が重なって発音されているかなどを観察
したい場合に有効である。
According to this embodiment, the current address pointer ADH
If you want to hear the sound indicated by , press the step forward key once lightly as shown in Figure 9 (a) to set T3 = 1.3.
You can make the sound sound for seconds, so if you want to hear it for a longer time,
As shown in FIG. 9(b), by pressing the button again within 73=1.3 seconds, the same performance data sound can be continuously heard. This is especially true if the data is code data, etc.
This is effective when you want to observe which sounds are pronounced overlappingly.

さらに、早送りをしたい場合には、T3より短い12秒
の間挿下し続ければリピートモードとなって演奏データ
の早送りがされるので、迅速に早送り動作に入ることが
できる。
Furthermore, if you want to fast-forward, if you continue inserting for 12 seconds, which is shorter than T3, the repeat mode will be set and the performance data will be fast-forwarded, so you can quickly start the fast-forwarding operation.

なお、この実施例では、発音後にアドレスポインタAD
Rが歩進されることとしているが、これに限らず第9図
(C)のように押下を続けてリピートさせるときにアド
レスポインタADRを歩進させるようにしてもよい。
Note that in this embodiment, after sound generation, the address pointer AD
Although R is assumed to be incremented, the address pointer ADR may be incremented as shown in FIG. 9(C) when the press is repeatedly pressed.

さらに、ステップフォワードSWの1回のオン操作にて
1拍分のデータを読出し、1拍分のアドレスを歩進させ
てもよいことは無論である。
Furthermore, it goes without saying that data for one beat may be read out and the address for one beat may be incremented by one turn-on operation of the step forward SW.

[発明の効果] 以上説明したように、この発明によれば、自動演奏装置
において、アドレスポインタの指し示す演奏データを所
定時間T55秒発音せる機能と、同一データ音の発音を
継続させる機能と、発音を早送りする機能とを備えてい
るので、簡単な操作で迅速に自動演奏データのエデイツ
トを行なうことができる。
[Effects of the Invention] As explained above, according to the present invention, an automatic performance device has a function of making the performance data pointed to by the address pointer sound for a predetermined time T55 seconds, a function of continuing the sound of the same data sound, and a function of making the sound of the same data sound continuously. The automatic performance data can be quickly edited with simple operations.

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

第1図は、この発明の一実施例に係る自動演奏装置の鍵
盤部などの外観図および内部構成を示すブロック図、 第2図は、各データのフォーマット図、第3図は、この
実施例の装置の主動作を説明するためのメインルーチン
フローチャート、第4図は、演奏データ記録スイッチ押
下処理の動作を説明するためのフローチャート、第5図
は、鍵盤・音色キーなどの押下時の処理の動作を説明す
るためのフローチャート、第6図は、リズムインタラブ
ドおよび自動演奏ルーチンの処理の動作を説明するため
のフローチャート、 第7図は、ステップフォワードキー押下時の処理の動作
を説明するためのフローチャート、第8図は、タイマイ
ンタラブドの動作を説明するためのフローチャート、 第9図は、ステップフォワードキーの押下のタイミング
および発音の状態などを表わす概念図である。 1:鍵盤パネル部、 2ニアドレス表示用LED、 3:テンポ表示用LED。 4:R−ECスイッチ、 5ニステツプフオワード(STEPFD)スイッチ、 8:PLYスイッチ、 7:APストップスイッチ、 8 : REWECスイッ チ;リセット(RESET)スイッチ、10 : TE
MPOスイッチ、 11ニスタート/ストツプスイツチ、 12:オートベースコード(ABC)スイッチ、 20:演奏鍵盤、 21:11スイッチ回路、 22:操作子スイッチ回路、 23:表示制御回路、 31;タイマ発振器(O20)、 32:テンポOSC。 40:データ記憶回路、 41:リズムパターンデータメモリ(ROM)、 42:自動演奏データメモリ(RAM)、43:イベン
トバッファレジスタ(RAM)、44:キーバッファレ
ジスタ(RAM)、45:自動伴奏用キーデータテーブ
ル45.50:マイクロコンピュータ、 51ニブログラムメモリ (ROM)、52:CPU。 53:・ワーキングメモリ、 61:リズム音発生回路、 62:11盤用楽音信号発生回路、 63:自動演奏用楽音信号発生回路、 64:増幅器、 70:バス。
FIG. 1 is a block diagram showing the external view and internal configuration of the keyboard section, etc. of an automatic performance device according to an embodiment of the present invention, FIG. 2 is a format diagram of each data, and FIG. 4 is a flowchart for explaining the operation of the performance data recording switch pressing process, and FIG. 5 is a main routine flowchart for explaining the main operation of the device. FIG. FIG. 6 is a flowchart for explaining the processing of rhythm interwoven and automatic performance routines; FIG. 7 is a flowchart for explaining the processing when the step forward key is pressed. FIG. 8 is a flowchart for explaining the operation of timer interconnected, and FIG. 9 is a conceptual diagram showing the timing of pressing the step forward key and the state of sound generation. 1: Keyboard panel section, 2: LED for near address display, 3: LED for tempo display. 4: R-EC switch, 5 step forward (STEPFD) switch, 8: PLY switch, 7: AP stop switch, 8: REWEC switch; Reset (RESET) switch, 10: TE
MPO switch, 11 start/stop switch, 12: auto bass chord (ABC) switch, 20: performance keyboard, 21: 11 switch circuit, 22: operator switch circuit, 23: display control circuit, 31; timer oscillator (O20) , 32: Tempo OSC. 40: Data storage circuit, 41: Rhythm pattern data memory (ROM), 42: Automatic performance data memory (RAM), 43: Event buffer register (RAM), 44: Key buffer register (RAM), 45: Automatic accompaniment key Data table 45.50: Microcomputer, 51 Niprogram memory (ROM), 52: CPU. 53: Working memory, 61: Rhythm sound generation circuit, 62: Musical sound signal generation circuit for 11th board, 63: Musical sound signal generation circuit for automatic performance, 64: Amplifier, 70: Bus.

Claims (5)

【特許請求の範囲】[Claims] (1)演奏データメモリにシーケンシャルに記憶された
演奏データを順次読出して自動演奏を行なう自動演奏装
置において、 ステップフォワードキーおよびその押下を検出する手段
と、 上記演奏データメモリ中の発音すべき演奏データを指し
示すアドレスポインタと、 上記ステップフォワードキーの押下検出時には所定時間
T_3の間上記アドレスポインタの指し示す演奏データ
音を発音する手段と を具備することを特徴とする自動演奏装置。
(1) In an automatic performance device that performs automatic performance by sequentially reading out performance data stored in a performance data memory sequentially, a step forward key and means for detecting its depression; and performance data to be produced in the performance data memory. An automatic performance device comprising: an address pointer pointing to the step forward key; and means for generating a performance data sound pointed to by the address pointer for a predetermined time T_3 when the step forward key is detected to be pressed.
(2)前記演奏データ音の発音の後に前記アドレスポイ
ンタを次に発音すべき演奏データのアドレスまで歩進さ
せる請求項1に記載の自動演奏装置。
(2) The automatic performance device according to claim 1, wherein the address pointer is advanced to the address of the performance data to be generated next after the performance data sound is generated.
(3)前記ステップフォワードキーの押下から前記所定
時間T_3以内に再度ステップフォワードキーが押下さ
れた場合は、リトリガラブルに該ステップフォワードキ
ーの再度の押下の時点から再び所定時間T_3の間同一
演奏データ音を発音し続ける手段を具備する請求項1ま
たは2に記載の自動演奏装置。
(3) If the step forward key is pressed again within the predetermined time T_3 after the step forward key is pressed, the same performance data will be played again for the predetermined time T_3 from the time when the step forward key is pressed again. 3. The automatic performance device according to claim 1, further comprising means for continuing to produce sound.
(4)演奏データメモリにシーケンシャルに記憶された
演奏データを順次読出して自動演奏を行なう自動演奏装
置において、 ステップフォワードキーおよびその押下を検出する手段
と、 上記演奏データメモリ中の発音すべき演奏データを指し
示すアドレスポインタと、 上記ステップフォワードキーの押下検出時には上記アド
レスポインタの指し示す演奏データ音を発音する手段と
、 上記ステップフォワードキーの押下の時点から所定時間
T_2以上上記ステップフォワードキーを押下し続けた
場合は、所定時間T_1間隔でアドレスポインタを歩進
し、順次上記アドレスポインタの指し示す演奏データ音
を発音する手段と を具備することを特徴とする自動演奏装置。
(4) In an automatic performance device that performs automatic performance by sequentially reading out performance data stored in a performance data memory sequentially, a step forward key and means for detecting its depression; and performance data to be produced in the performance data memory. an address pointer pointing to the step forward key; means for generating a performance data sound pointed to by the address pointer when the step forward key is detected to be pressed; an automatic performance apparatus characterized by comprising means for advancing an address pointer at intervals of a predetermined time T_1 and sequentially producing performance data tones pointed to by the address pointer.
(5)前記所定時間T_1間隔内で再度ステップフォワ
ードキーが押下された場合は、リトリガラブルに該ステ
ップフォワードキーの再度の押下の時点から再び所定時
間T_3の間同一演奏データ音を発音し続ける手段を具
備する請求項4に記載の自動演奏装置。
(5) If the step forward key is pressed again within the predetermined time interval T_1, a retriggerable means is provided to continue producing the same performance data sound for the predetermined time T_3 from the time when the step forward key is pressed again. The automatic performance device according to claim 4, comprising: an automatic performance device according to claim 4;
JP64000542A 1989-01-06 1989-01-06 Automatic performance device Expired - Lifetime JP2596111B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP64000542A JP2596111B2 (en) 1989-01-06 1989-01-06 Automatic performance device
US07/888,260 US5313012A (en) 1989-01-06 1992-05-22 Automatic performance apparatus for musical instrument with improved editing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP64000542A JP2596111B2 (en) 1989-01-06 1989-01-06 Automatic performance device

Publications (2)

Publication Number Publication Date
JPH02181790A true JPH02181790A (en) 1990-07-16
JP2596111B2 JP2596111B2 (en) 1997-04-02

Family

ID=11476633

Family Applications (1)

Application Number Title Priority Date Filing Date
JP64000542A Expired - Lifetime JP2596111B2 (en) 1989-01-06 1989-01-06 Automatic performance device

Country Status (1)

Country Link
JP (1) JP2596111B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5437712A (en) * 1977-08-30 1979-03-20 Washiyou Giken Kk Player
JPS5941591A (en) * 1983-03-25 1984-03-07 日本軽金属株式会社 Rain protecting structure of window

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5437712A (en) * 1977-08-30 1979-03-20 Washiyou Giken Kk Player
JPS5941591A (en) * 1983-03-25 1984-03-07 日本軽金属株式会社 Rain protecting structure of window

Also Published As

Publication number Publication date
JP2596111B2 (en) 1997-04-02

Similar Documents

Publication Publication Date Title
JPH079586B2 (en) Automatic musical instrument accompaniment device
JP3358292B2 (en) Electronic musical instrument
JP3239411B2 (en) Electronic musical instrument with automatic performance function
JPH0469396B2 (en)
JP2522337B2 (en) Automatic playing device
JPH02181790A (en) Automatic performance device
JP2625800B2 (en) Automatic performance device
JPH02181789A (en) Automatic performance device
JP3362070B2 (en) Automatic performance device
JPH02181791A (en) Automatic performance device
JPH0367276B2 (en)
JP2660462B2 (en) Automatic performance device
JP4402853B2 (en) Performance data generation method and electronic keyboard instrument
US5313012A (en) Automatic performance apparatus for musical instrument with improved editing
JPH058638Y2 (en)
JP2572317B2 (en) Automatic performance device
JPS6321040Y2 (en)
JP3178176B2 (en) Automatic accompaniment device
JP2570068B2 (en) Automatic performance device
JP2650632B2 (en) Automatic performance device
JP2601250B2 (en) Automatic performance device
JP2528722B2 (en) Motif playing device
JP2674331B2 (en) Automatic accompaniment device
JPH0343638B2 (en)
JP2522203B2 (en) Automatic playing device

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090109

Year of fee payment: 12

EXPY Cancellation because of completion of term