JP2720794B2 - Automatic performance device - Google Patents

Automatic performance device

Info

Publication number
JP2720794B2
JP2720794B2 JP6158467A JP15846794A JP2720794B2 JP 2720794 B2 JP2720794 B2 JP 2720794B2 JP 6158467 A JP6158467 A JP 6158467A JP 15846794 A JP15846794 A JP 15846794A JP 2720794 B2 JP2720794 B2 JP 2720794B2
Authority
JP
Japan
Prior art keywords
timing
data
track
switch
punch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP6158467A
Other languages
Japanese (ja)
Other versions
JPH0772859A (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.)
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 JP6158467A priority Critical patent/JP2720794B2/en
Publication of JPH0772859A publication Critical patent/JPH0772859A/en
Application granted granted Critical
Publication of JP2720794B2 publication Critical patent/JP2720794B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related 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 an automatic performance device for reproducing performance data stored in a plurality of tracks.
In particular, the present invention relates to an automatic performance device having a repetitive performance function for a section.

【0002】[0002]

【従来の技術】現在、演奏データの記録/再生装置であ
るシーケンサが実用化されている。シーケンサは、実際
に電子楽器等を演奏したときの演奏データをリアルタイ
ムに記録することができ、また、記録された演奏データ
を電子楽器等で再生することができる。記録された演奏
データを再生する場合、一部のみを繰り返して再生した
い場合があるため、従来より、特定の区間を指定してそ
の区間のみ繰り返して再生可能にしたシーケンサが提案
されている。
2. Description of the Related Art At present, a sequencer, which is a recording / reproducing apparatus for performance data, has been put to practical use. The sequencer can record in real time performance data when an electronic musical instrument or the like is actually played, and can reproduce the recorded performance data with the electronic musical instrument or the like. When playing back recorded performance data, there is a case where it is desired to repeat only a part of the data. Therefore, a sequencer in which a specific section is designated and the section can be repeatedly played back has been proposed.

【0003】[0003]

【発明が解決しようとする課題】ところで、従来のシー
ケンサでは、繰り返したい区間の指定を繰り返し区間の
先頭の演奏データおよび最終の演奏データが記録されて
いるアドレスで指定するようにしていた。しかし、複数
のトラックを有し各トラックを並行して読み出すシーケ
ンサでは、各トラック毎にイベントの発生タイミングす
なわち演奏データを読み出すタイミングが異なる場合が
ある。このような場合に各トラックの繰り返し区間をア
ドレスで指定したのでは、各トラックの繰り返しタイミ
ングが同期しなくなり、繰り返し再生が各トラックでば
らばらになってしまう欠点があった。
By the way, in the conventional sequencer, the section to be repeated is specified by the address where the first performance data and the last performance data of the repeated section are recorded. However, in a sequencer having a plurality of tracks and reading each track in parallel, the timing of event occurrence, that is, the timing of reading performance data may differ for each track. In such a case, if the repetition section of each track is specified by an address, the repetition timing of each track is not synchronized, and there is a disadvantage that the repetitive reproduction is separated in each track.

【0004】この発明は、複数のトラックを並行して読
み出す場合でも同期した繰り返し再生が可能な自動演奏
装置を提供することを目的とする。
[0004] It is an object of the present invention to provide an automatic performance apparatus capable of performing synchronized repetitive reproduction even when a plurality of tracks are read out in parallel.

【0005】[0005]

【課題を解決するための手段】この発明は、各々複数の
アドレスを有する複数のトラックを有し、演奏イベント
を示すイベントデータおよび該イベントデータの発生タ
イミングを示すタイミングデータとからなる楽曲の演奏
データを各トラックの各アドレスに各々記憶した演奏デ
ータ記憶手段と、各トラック毎に設けられ、次に読み出
すデータの記憶アドレスである読出アドレスを曲の進行
に応じて管理するアドレス管理手段と、各トラック毎に
設けられ、次のデータを読み出すタイミングである読出
タイミングを各トラックのタイミングデータに基づ
曲の進行に応じて管理するタイミング管理手段を有し、
これら各トラックのタイミング管理手段およびアドレス
管理手段の管理に応じて前記演奏データ記憶手段に記憶
された複数のトラックのイベントデータを並列的に読み
出して自動演奏する自動演奏手段とを備えた自動演奏装
置において、前記楽曲の進行上の第1のタイミングにお
ける読出アドレスおよび読出タイミングを各トラック毎
に記憶した状態記憶手段と、前記楽曲の進行位置が第2
のタイミングに達したことを検出する検出手段と、前記
検出手段で楽曲の進行位置が第2のタイミングに達した
ことが検出されたとき、前記状態記憶手段に記憶された
各トラックの読出アドレスおよび読出タイミングを前記
各トラックのアドレス管理手段および前記各トラックの
タイミング管理手段に対して設定し、前記第1のタイミ
ングからの演奏データの読み出しを開始するよう前記自
動演奏手段を制御する制御手段とを備えたことを特徴と
する。
SUMMARY OF THE INVENTION According to the present invention, there is provided music performance data which has a plurality of tracks each having a plurality of addresses, and comprises event data indicating a performance event and timing data indicating the generation timing of the event data. Performance data storage means in which each address of each track is stored, and a read address which is provided for each track and is a storage address of data to be read next is used to advance the music.
An address management means for managing in accordance with, provided for each track, the read timing is a timing of reading the next data,-out based on the timing data of each track
It has timing management means to manage according to the progress of the song ,
An automatic performance device comprising: an automatic performance device for reading out event data of a plurality of tracks stored in the performance data storage device in parallel according to the management of the timing management device and the address management device of each of the tracks, and automatically performing the performance. A state storage means for storing a read address and a read timing at a first timing in the progress of the music for each track;
Detecting means for detecting that the timing of the music has arrived, and when the detecting means detects that the progress position of the music has reached the second timing, the read address of each track stored in the state storage means and Control means for setting the read timing to the address management means for each track and the timing management means for each track, and controlling the automatic performance means to start reading performance data from the first timing. It is characterized by having.

【0006】また、この発明は、前記第1のタイミング
および第2のタイミングを利用者が設定する設定手段を
備えたことを特徴とする。
Further, the present invention is characterized in that a setting means for setting the first timing and the second timing by a user is provided.

【0007】[0007]

【作用】この発明の自動演奏装置では、演奏データ記憶
手段の複数トラックの各々にイベントデータおよびタイ
ミングデータからなる演奏データを記憶している。これ
ら各トラックのイベントデータを並列的に読み出すこと
によって自動演奏を実行する。どのタイミングどのイ
ベントデータを読み出すかは、アドレス管理手段および
タイミング管理手段が管理している。
According to the automatic performance apparatus of the present invention, performance data including event data and timing data is stored in each of the plurality of tracks of the performance data storage means. Automatic performance is executed by reading out the event data of each of these tracks in parallel. Which timing read out which event data, the address management means and the timing management means it is managing.

【0008】また、繰り返し区間の開始タイミングであ
る第1のタイミングにおける読出アドレスおよび読出タ
イミングを状態記憶手段が記憶している。検出手段が、
繰り返し区間の終了タイミングである第2のタイミング
に達したことを検出したとき、前記読出アドレスおよび
読出タイミングを各トラックのアドレス管理手段および
前記各トラックのタイミング管理手段に対して設定す
る。これにより、自動演奏手段は第1のタイミングから
自動演奏を再開する。これにより、第1のタイミングと
第2のタイミングとの間で自動演奏が繰り返され、その
タイミングとイベントデータを読み出すべきタイミング
が一致しなくても全トラックで同期した繰り返し再生が
可能になる。
The state storage means stores a read address and a read timing at a first timing which is a start timing of the repetitive section. The detecting means is
When it is detected that the second timing, which is the end timing of the repetition section, has been reached, the read address and the read timing are set to the address management means of each track and the timing management means of each track. Thereby, the automatic performance means restarts the automatic performance from the first timing. As a result, the automatic performance is repeated between the first timing and the second timing, and even if the timing does not coincide with the timing at which the event data should be read, synchronized repetitive reproduction can be performed on all tracks.

【0009】[0009]

【実施例】図14および図15はこの発明の実施例であ
るシーケンサの制御部のブロック図および操作パネルの
概略図である。
14 and 15 are a block diagram of a control unit of a sequencer and a schematic diagram of an operation panel according to an embodiment of the present invention.

【0010】図14においてこの装置の動作を制御する
CPUはバス2を介して各動作部と接続されている。バ
ス2にはプログラムメモリ3レジスタ群4,自動演奏メ
モリ5およびテンポクロック発振器6,操作パネル7,
入出力回路8が接続されている。プログラムメモリ3は
ROMで構成され、レジスタ群4はRAMで構成されて
いる。また自動演奏メモリ5はバッテリバックアップさ
れたRAMまたはフロッピィディスク装置で構成されて
いる。入出力回路8はMIDIインターフェイスであ
り、演奏データをMIDIコードデータとして鍵盤など
の演奏装置から取り込むとともに、記録している演奏デ
ータ(ソングデータ)を音源装置に対して出力する。
In FIG. 14, a CPU for controlling the operation of this apparatus is connected to each operation section via a bus 2. The bus 2 has a program memory 3 register group 4, an automatic performance memory 5, a tempo clock oscillator 6, an operation panel 7,
The input / output circuit 8 is connected. The program memory 3 is constituted by a ROM, and the register group 4 is constituted by a RAM. The automatic performance memory 5 is constituted by a battery-backed RAM or a floppy disk device. The input / output circuit 8 is a MIDI interface, which takes in performance data as MIDI code data from a performance device such as a keyboard and outputs recorded performance data (song data) to a tone generator.

【0011】図15においてこの装置の操作パネル7に
は各種のスイッチ群および表示器が設けられている。設
けられているスイッチ群はスタート/ストップスイッチ
11,ポーズスイッチ12,巻戻しスイッチ13,早送
りスイッチ14,レコードスイッチ(RECスイッチ)
15,フレーズスイッチ16,パンチイン/アウトスイ
ッチ17,ソングスイッチ18,テンポスイッチ19,
ファンクションスイッチ20,テンポアップスイッチ2
1,テンポダウンスイッチ22、トラックNo.スイッチ
群23およびテンキー24である。また、RUN中(記
録/再生中)のソングデータ(複数トラックからなる1
曲分の演奏データ)の小節数や拍数を表示する表示器2
5が設けられているとともにパンチイン/アウトスイッ
チ17に付随してLED26が設けられている。
Referring to FIG. 15, an operation panel 7 of the apparatus is provided with various switch groups and a display. The provided switch group includes a start / stop switch 11, a pause switch 12, a rewind switch 13, a fast-forward switch 14, a record switch (REC switch).
15, phrase switch 16, punch-in / out switch 17, song switch 18, tempo switch 19,
Function switch 20, tempo up switch 2
1, a tempo down switch 22, a track number switch group 23, and a numeric keypad 24. Also, song data during RUN (recording / reproducing) (one track consisting of a plurality of tracks)
Display 2 for displaying the number of bars and beats of the music data
5 is provided, and an LED 26 is provided in association with the punch-in / out switch 17.

【0012】図16は前記自動演奏メモリ5の構成を説
明するための図である。この自動演奏メモリ5がこの発
明の演奏データ記憶手段に対応している。この自動演奏
メモリ5には99曲分のソングデータ(ソングNo. 1〜
99)を記録することができる。各ソングデータ記憶エ
リアには初期テンポ値記憶エリアおよび10個のトラッ
ク(パートデータ記憶エリア:トラックNo. 1〜10)
が設けられている。各トラックにはそれぞれ独立したパ
ートの演奏データを記録することができ、RUN時には
同時進行する。各トラックは演奏データ記憶エリアと付
随的なデータを記憶する空領域およびパンチ領域から構
成されている。パンチ領域はパンチインレコードによっ
て書き込まれた新たな演奏データを一時バッファリング
するためのエリアである。以後、本実施例においては、
各トラックをPAT(i)(i=1 〜10)で識別される記憶エ
リア群で表現し、読み出すべき演奏データを曲の進行に
従って指し示すポインタをPNT(i)(i=1 〜10)で表現
する。
FIG. 16 is a diagram for explaining the configuration of the automatic performance memory 5. As shown in FIG. The automatic performance memory 5 corresponds to the performance data storage means of the present invention. The automatic performance memory 5 stores 99 pieces of song data (song Nos. 1 to 1).
99) can be recorded. Each song data storage area has an initial tempo value storage area and 10 tracks (part data storage area: track Nos. 1 to 10).
Is provided. Performance data of independent parts can be recorded on each track, and the tracks run simultaneously during RUN. Each track is composed of a performance data storage area, an empty area for storing accompanying data, and a punch area. The punch area is an area for temporarily buffering new performance data written by the punch-in record. Hereinafter, in this embodiment,
Each track is represented by a storage area group identified by PAT (i) (i = 1 to 10), and a pointer indicating performance data to be read out as the music progresses is represented by PNT (i) (i = 1 to 10). I do.

【0013】図17(A)〜(G)は上記トラックに記
録される演奏データのフォーマットを示す図である。同
図(A),(B),(E),(F)は、それぞれキーオン,キ
ーオフ,テンポアップ,テンポダウンのイベントデータ
のフォーマットであり、同図(C),(D)は連続するイ
ベントとイベントの間隔(クロック数)のデータ(デュ
レーションデータ:クロックデータ)のフォーマットで
ある。同図(D)のロングデュレーションデータは1小
節を超える間隔を記憶するとき用いられる。通常はイベ
ントデータとデュレーションデータとが交互に記録され
るが、キーボードにおける和音の同時押下等の場合には
同時発生イベントデータがデュレーションデータを挟ま
ずに記録される。なお、テンポアップ,テンポダウンイ
ベントデータは第10トラックにのみ記録可能である。す
なわち、一般的に第10トラックはリズムパート用に使用
され、リズム・テンポをこのトラックの演奏データでコ
ントロールするようになっているからである。
FIGS. 17A to 17G are diagrams showing the format of performance data recorded on the track. FIGS. 3A, 3B, 3E, and 3F show the format of key-on, key-off, tempo-up, and tempo-down event data, respectively. FIGS. And the format of data (duration data: clock data) of the event interval (number of clocks). The long duration data shown in FIG. 4D is used when storing intervals exceeding one bar. Normally, event data and duration data are recorded alternately. However, in the case of simultaneous depression of a chord on the keyboard, simultaneous event data is recorded without interposing the duration data. The tempo up / tempo down event data can be recorded only on the tenth track. That is, the tenth track is generally used for the rhythm part, and the rhythm tempo is controlled by the performance data of this track.

【0014】ここで、操作パネル8の各スイッチの機能
とともにこのシーケンサの機能を説明する。
Here, the function of this sequencer together with the function of each switch of the operation panel 8 will be described.

【0015】スタート/ストップスイッチ11は、RU
N、すなわち、自動演奏メモリ5の書き込み/読み出し
を開始/停止するためのスイッチである。
The start / stop switch 11 is connected to the RU
N, a switch for starting / stopping the writing / reading of the automatic performance memory 5.

【0016】RUNがスタートしたとき、選択されてい
たソングNo. のソングデータが読み出される。このソン
グデータのうちレコードモード(REC(i) =1:後
述)が設定されていたトラック(i) には演奏データの書
き込みが行われ、プレイモード(PLY(i) =1:後
述)が設定されていたトラック(i) からは記録されてい
る演奏データの読み出しが行われる。
When the RUN starts, the song data of the selected song No. is read. Of the song data, the performance data is written to the track (i) for which the record mode (REC (i) = 1: described later) was set, and the play mode (PLY (i) = 1: described later) is set. The recorded performance data is read from the track (i) that has been recorded.

【0017】ポーズスイッチ12はソングデータの読み
出し中に一時停止させたり、この一時停止を解除して読
み出しを再開したりするためのスイッチである。
The pause switch 12 is a switch for temporarily stopping the song data during reading, or for canceling the pause and restarting the reading.

【0018】巻き戻しスイッチ13,早送りスイッチ1
4はソングデータの読み出しを早送りしたり巻き戻しし
たりするときに使用される。実際にはテンポクロックの
周波数を上げることによって行われる。
Rewind switch 13, fast forward switch 1
Reference numeral 4 is used for fast-forwarding or rewinding the reading of song data. In practice, this is done by increasing the frequency of the tempo clock.

【0019】上記ポーズスイッチ12,巻戻しスイッチ
13,早送りスイッチ14は、何れかのトラックが書き
込み中(REC(i) =1 and PNT(i) ≠-1:後述)の
ときには機能しない。
The pause switch 12, rewind switch 13, and fast-forward switch 14 do not function when any of the tracks is being written (REC (i) = 1 and PNT (i) i-1: described later).

【0020】レコードスイッチ15は、後述のトラック
No. スイッチと同時押下され、そのトラックにレコード
モード(REC(i) =1:後述)をセットするとき使用
される。
The record switch 15 is connected to a track
It is pressed at the same time as the No. switch, and is used when setting the record mode (REC (i) = 1: described later) on the track.

【0021】フレーズスイッチ16は曲の途中にフレー
ズポイントをセットしたり、セットされているフレーズ
ポイントから読み出しを開始させたりするためのスイッ
チである。
The phrase switch 16 is a switch for setting a phrase point in the middle of a song and starting reading from the set phrase point.

【0022】ソングデータの読み出し中(曲の自動演奏
中)にフレーズスイッチ16とファンクションスイッチ
とを同時押下するとそのタイミングにフレーズポイント
がセットされ、ソングデータの読み出し前にフレーズス
イッチ→テンキー(1〜9)→ポーズキーの順でキー押
下をするとテンキーで示されたフレーズポイントから次
のフレーズポイントまでの間のソングデータの読み出し
を繰り返し行う。
If the phrase switch 16 and the function switch are simultaneously depressed during reading of the song data (during automatic performance of the song), a phrase point is set at that timing, and the phrase switch → numerical keys (1 to 9) are set before the reading of the song data. If the key is pressed in the order of) → pause key, the reading of the song data from the phrase point indicated by the numeric keypad to the next phrase point is repeated.

【0023】パンチイン/アウトスイッチ17は、すで
に記録されている演奏データの一部を新たな演奏データ
に差し換えるとき(パンチインレコードモード)に用い
られるスイッチであり、ソングデータの読み出し中にこ
のスイッチをオンすると、パンチインタイミングが設定
され、そののちソングデータの読み出し中に再びオンす
るとパンチアウトタイミングが設定される。パンチイン
タイミングとパンチアウトタイミングとの間がパンチイ
ン区間となる。このようにパンチイン区間を設定したの
ち演奏データを差し換えたいトラックにレコードモード
をセットしてRUNさせれば、ソングデータの読み出し
中に、この区間のみレコードモードのトラックが書き込
み中になる。
The punch-in / out switch 17 is a switch used when a part of performance data already recorded is replaced with new performance data (punch-in record mode). When turned on, punch-in timing is set, and when turned on again during reading of song data, punch-out timing is set. A section between the punch-in timing and the punch-out timing is a punch-in section. After setting the punch-in section and setting the record mode to the track whose performance data is to be replaced, and performing RUN, the track in the record mode is being written only during this section during reading of the song data.

【0024】このスイッチに付随して設けられているL
ED26はパンチインレコードモードの各段階を表示す
るための表示器である。通常は消灯しているが、パンチ
インタイミングがセットされると点滅し、パンチアウト
タイミングがセットされると点灯する。こののち曲がス
タートし、パンチインレコード時に再度点滅する。パン
チイン区間が解除されると(パンチイン/アウトスイッ
チの3回目のオンで解除される。)、消灯する。
L provided in connection with this switch
The ED 26 is a display for displaying each stage of the punch-in record mode. It is normally off, but blinks when the punch-in timing is set, and turns on when the punch-out timing is set. Then the song starts and blinks again during punch-in record. When the punch-in section is released (it is released when the punch-in / out switch is turned on for the third time), the light is turned off.

【0025】ソングスイッチ18はソングNo. を選択す
るためのスイッチである。このスイッチをオンしたのち
テンキーから2桁の数値を入力すればそのソングNo. の
ソングを選択したことになる。
The song switch 18 is a switch for selecting a song number. When this switch is turned on and a two-digit number is input from the numeric keypad, the song of that song number is selected.

【0026】テンポスイッチ19はテンキーからテンポ
データを入力するためのスイッチである。このスイッチ
をオンしたのちテンキーから数値(20〜300)を入
力するとこの数値のテンポがセットされる。
The tempo switch 19 is a switch for inputting tempo data from ten keys. After turning on this switch, when a numerical value (20 to 300) is input from the numeric keypad, the tempo of this numerical value is set.

【0027】また、テンポアップスイッチ21またはテ
ンポダウンスイッチ22をオンすると、初期に設定され
たテンポに基づいて所望の値にテンポを設定することが
できる。
When the tempo up switch 21 or the tempo down switch 22 is turned on, the tempo can be set to a desired value based on the initially set tempo.

【0028】トラックNo. スイッチ23は1〜10の数
値が付された10個のキースイッチからなっており、選
択されたソングデータの各トラックに対する、プレイモ
ード/レコードモードの設定/解除をするために用いら
れる。上述したようにレコードスイッチ15と同時押下
すればそのトラックにレコードモードがセットされ、こ
のスイッチのみを単独押下すればプレイモードのセット
/リセットの反転動作が行われる。
The track number switch 23 is composed of ten key switches numbered from 1 to 10, and is used to set / cancel the play mode / record mode for each track of the selected song data. Used for As described above, when the record mode is pressed simultaneously with the record switch 15, the record mode is set on the track. When only this switch is pressed alone, the inversion operation of the set / reset of the play mode is performed.

【0029】また、表示器25は再生/録音中の小節数
やクロック数などを表示するために用いられる。
The display 25 is used to display the number of measures and the number of clocks during reproduction / recording.

【0030】図18はレジスタ群14に設けられるレジ
スタを示す図である。これらのレジスタは以下の用途に
用いられる。なお、図19〜図21に各レジスタにどの
ような値が記憶されるかを模式的に示している。
FIG. 18 is a diagram showing registers provided in the register group 14. These registers are used for the following purposes. FIGS. 19 to 21 schematically show what values are stored in the respective registers.

【0031】SONG:ソングNo. レジスタ=選択され
たソングNo. (=1〜99)を記憶する。
SONG: Song No. register = stores the selected song No. (= 1 to 99).

【0032】RUN:RUNフラグ=ソングデータの読
み出し/書き込みが行われているときセットする。
RUN: RUN flag = set when reading / writing of song data is being performed.

【0033】PDE:ポーズフラグ=RUN中にクロッ
クが一時停止したとき(ソングデータの読み出し/書き
込みが一時停止したとき)セットする。
PDE: Set when the clock is paused while the pause flag = RUN (when song data read / write is paused).

【0034】STP:進行方向レジスタ=読み出しが順
方向へ行われているときは“1”,逆方向に行われてい
るとき(巻き戻し時)には“−1”がセットされる。こ
の数値に基づいてジェネラルクロックカウンタGCLK
(後述)がカウントされる。
STP: Progress direction register = "1" is set when reading is performed in the forward direction, and "-1" is set when reading is performed in the reverse direction (at the time of rewinding). Based on this value, the general clock counter GCLK
(Described later) is counted.

【0035】FR:早送りフラグ=早送りスイッチ14
または巻き戻しスイッチ13によって順方向または逆方
向に高速に送られているときこのフラグがセットされ
る。
FR: fast-forward flag = fast-forward switch 14
Alternatively, this flag is set when the sheet is being fed at a high speed in the forward or reverse direction by the rewind switch 13.

【0036】TMP:テンポ値レジスタ=RUN中のテ
ンポを記憶するレジスタである。このデータに基づいて
テンポクロック発振器が制御される。
TMP: tempo value register = register for storing the tempo in RUN. The tempo clock oscillator is controlled based on this data.

【0037】TMPI:初期テンポ値レジスタ=ソング
が選択されたときそのソングデータの先頭に記憶されて
いる初期テンポ値データを代入記憶する。
TMPI: Initial tempo value register = When a song is selected, the initial tempo value data stored at the head of the song data is substituted and stored.

【0038】DTMP:テンポ増減率レジスタ=ソング
データ中に新たなテンポ値がセットされたとき計算され
た前記初期テンポ値に対する増減率を記憶するレジスタ
である。このテンポ増減率が第10トラックにテンポア
ップイベントデータ,テンポダウンイベントデータとし
て記録される。
DTMP: tempo increase / decrease rate register = a register for storing an increase / decrease rate with respect to the initial tempo value calculated when a new tempo value is set in the song data. This tempo increase / decrease rate is recorded on the tenth track as tempo-up event data and tempo-down event data.

【0039】PRS:フレーズモードフラグ=フレーズ
モード(指定されたフレーズ区間を繰り返し再生するモ
ード)のときセットするフラグ PNC:パンチモードフラグ=0/1/−1の値をとる
スリーステートフラグであり、0のときにはパンチイン
区間がセットされていないノーマル状態であることを示
し、1のときにはパンチイン区間が設定済であるがパン
チインレコード中でないことを示し、−1のときにはそ
のパンチインレコード中であることを示している。
PRS: a flag set when the phrase mode flag = phrase mode (mode for repeatedly reproducing a specified phrase section) PNC: a three-state flag taking a value of 0/1 / -1. A value of 0 indicates that the punch-in section is set in the normal state, a value of 1 indicates that the punch-in section has been set but not in the punch-in record, and a value of -1 indicates that the punch-in section is in the punch-in record. ing.

【0040】GCLK:ジェネラルテンポクロックカウ
ンタ=ソングデータの先頭からのテンポクロックを積算
するカウンタ(図19参照) PICLK,POCLK:パンチインタイミングクロッ
クレジスタ,パンチアウトタイミングクロックカウンタ
=パンチインタイミングおよびパンチアウトタイミング
のクロック値を記憶するレジスタである(図20参
照)。
GCLK: General tempo clock counter = counter for accumulating the tempo clock from the beginning of song data (see FIG. 19) PICLK, POCLK: punch-in timing clock register, punch-out timing clock counter = clock of punch-in timing and punch-out timing This is a register for storing a value (see FIG. 20).

【0041】PNTPI(i) ,PNTPO(i)(i =1〜1
0) :パンチインタイミングポインタ,パンチアウトタ
イミングポインタ=パンチインタイミング,パンチアウ
トタイミングにおけるポインタPNT(i) (図16参
照)の位置(アドレス)を記憶する。なお、ポインタP
NT(i) は必ずデュレーションデータを指しているた
め、このPNTPI(i) ,PNTPO(i) はパンチイン
タイミング,パンチアウトタイミングのクロック値が属
するデュレーションデータを指すことになる(図20参
照)。
PNTPI (i), PNTPO (i) (i = 1 to 1
0): The position (address) of the pointer PNT (i) (see FIG. 16) at the punch-in timing and the punch-out timing is stored. Note that the pointer P
Since NT (i) always indicates duration data, PNTPI (i) and PNTPO (i) indicate duration data to which the clock values of punch-in timing and punch-out timing belong (see FIG. 20).

【0042】TMPI(i) :パンチインイベントずれレ
ジスタ=パンチインタイミングの直前のイベントからの
クロック数を記憶するレジスタ(図20参照) TMPO(i) :パンチアウトイベントずれレジスタ=パ
ンチアウトタイミング直後のイベントまでのクロック数
を記憶するレジスタ(図20参照) これらTMPI(i) ,TMPO(i) は、パンチインレコ
ードモード時にパンチイン区間を判断するために用いら
れる。
TMPI (i): punch-in event shift register = register storing the number of clocks from the event immediately before the punch-in timing (see FIG. 20) TMPO (i): punch-out event shift register = the event immediately after the punch-out timing (See FIG. 20) These registers TMPI (i) and TMPO (i) are used to determine the punch-in section in the punch-in record mode.

【0043】EVCLK(i) :イベントクロックレジス
タ=RUN時に次のイベントのクロック値を記憶するレ
ジスタ。この値がGCLKと一致したとき次のイベント
を実行する(図19参照)。このレジスタがこの発明の
タイミング管理手段に対応する。
EVCLK (i): register for storing the clock value of the next event when the event clock register = RUN. When this value matches GCLK, the next event is executed (see FIG. 19). This register corresponds to the timing management means of the present invention.

【0044】REC(i) ,PLY(i) :レコードモード
レジスタ,プレイモードレジスタ=ソングデータがRU
NしているときREC=1(セット)のトラックには書
き込みが行われ(PNC=1の場合を除く)、PLY=
1のトラックからは読み出しが行われる。このモードを
組み合わせることにより、あるトラックの演奏データを
再生しながらキーボード等を演奏し他のトラックに演奏
データを書き込んでゆくこと(多重録音)もできる。
REC (i), PLY (i): record mode register, play mode register = song data is RU
When N, writing is performed on the track of REC = 1 (set) (except for the case of PNC = 1), and PLY =
Reading is performed from one track. By combining this mode, it is possible to play the keyboard or the like while playing the performance data of a certain track and write the performance data to another track (multiple recording).

【0045】PRSBUF(n) (n=1〜9):フレー
ズレジスタ=フレーズNo. 1〜9に対応するクロック値
(GCLK値)を記憶するレジスタである。RUN中に
フレーズスイッチ16がオンされるとそのタイミングに
対応するクロック値がフレーズポイントとしてこのレジ
スタに記憶される。フレーズポイントは1〜9の9か所
記憶することができ、記憶ののちクロック値が小さいも
のから1〜9の順にソートされる。
PRSBUF (n) (n = 1 to 9): Phrase register = register for storing clock values (GCLK values) corresponding to phrase Nos. 1 to 9. When the phrase switch 16 is turned on during RUN, a clock value corresponding to the timing is stored in this register as a phrase point. Phrase points can be stored in nine locations 1 to 9, and after storage, they are sorted in the order of 1 to 9 in ascending clock value.

【0046】PRSST,PRSEND:フレーズ開始
クロック値レジスタ,フレーズ終了クロック値レジスタ
=フレーズモードがセットされたとき指定されたフレー
ズの開始クロック値,終了クロック値を記憶する。開始
クロック値は指定されたフレーズnのPRSBUF(n)
に記憶されているクロック値であり、終了クロック値は
PRSBUF(n+1) に記憶されているクロック値である
(図21参照)。
PRSST, PRSEND: Phrase start clock value register, phrase end clock value register = When the phrase mode is set, the start clock value and end clock value of the specified phrase are stored. Start clock value is PRSBUF (n) of specified phrase n
, And the end clock value is the clock value stored in PRSBUF (n + 1) (see FIG. 21).

【0047】STPNT(n,i):フレーズ開始ポインタ=
フレーズポイントにおけるポインタPNT(i) (図16
参照)の位置(アドレス)を記憶する(図21参照)。
STPNT (n, i): Phrase start pointer =
Pointer PNT (i) at phrase point (FIG. 16
(See FIG. 21).

【0048】STCLK(n,i):フレーズタイミングの直
後のイベントのクロック値を記憶するレジスタ(図21
参照) なお、STPNT(n,i),STCLK(n,i) が、この発明
の状態記憶手段に対応し、各フレーズポイント毎に全ト
ラックについて設定されている。また、図21における
「対象フレーズ」のタイミングがこの発明の第1のタイ
ミングに対応し、「次フレーズ」のタイミングがこの発
明の第2のタイミングに対応する。
STCLK (n, i): register for storing the clock value of the event immediately after the phrase timing (FIG. 21)
Note that STPNT (n, i) and STCLK (n, i) correspond to the state storage means of the present invention, and are set for all tracks for each phrase point. The timing of the "target phrase" in FIG. 21 corresponds to the first timing of the present invention, and the timing of the "next phrase" corresponds to the second timing of the present invention.

【0049】図1〜図13のフローチャートを参照して
このシーケンサの動作を説明する。
The operation of this sequencer will be described with reference to the flowcharts of FIGS.

【0050】図1はメイン処理動作である。このシーケ
ンサの電源がオンされると、先ずn1で初期設定動作を
行う。この初期設定動作において各レジスタ群はクリア
されフラグには全て0がセットされる。この状態で各ス
イッチ群のオンオフイベントを判断する(n2〜n1
1)、この動作においていずれかのスイッチのオンイベ
ント(早送りスイッチ/巻き戻しスイッチのみオンオフ
イベント)を判断したときそれぞれ対応するサブルーチ
ンを実行する。すなわちスタート/ストップスイッチの
オンイベントを判断したとき(n2)スタート/スイッ
チサブルーチン(n12:第4図参照)を実行し、入出
力回路8からのキー入力があったときには(n3)キー
入力サブルーチン(n13:図10参照)を実行する。
また、RUNフラグが0のときすなわちソングデータの
書き込み/読み出しが行われていないときに(n4)、
ソングスイッチオンイベント(n5)またはトラックN
o. スイッチオンイベント(n6)があったときにはソ
ングセレクトサブルーチン(n14:第2図参照)トラ
ックセレクトサブルーチン(n15:図3参照)を実行
する。
FIG. 1 shows the main processing operation. When the power of the sequencer is turned on, an initial setting operation is first performed at n1. In this initial setting operation, each register group is cleared and all flags are set to 0. In this state, the on / off event of each switch group is determined (n2 to n1).
1) In this operation, when an ON event of any switch (ON / OFF event of only the fast-forward switch / rewind switch) is determined, the corresponding subroutine is executed. That is, when a start / stop switch ON event is determined (n2), a start / switch subroutine (n12: see FIG. 4) is executed, and when a key input from the input / output circuit 8 is received (n3) a key input subroutine ( n13: see FIG. 10).
When the RUN flag is 0, that is, when writing / reading of song data is not performed (n4),
Song switch-on event (n5) or track N
o. When there is a switch-on event (n6), a song select subroutine (n14: see FIG. 2) and a track select subroutine (n15: see FIG. 3) are executed.

【0051】また、全トラックにおいて現在書き込み中
でない場合、すなわち、何れのiにおいても、REC
(i) =1 and PNC≠1でない場合には(n7)、ポー
ズスイッチオンイベント(n8)または早送りスイッ
チ,巻き戻しスイッチのオン/オフイベント(n9)を
判断する。ポーズスイッチオンイベントが判断されたと
きにはポーズサブルーチン(n16:図5参照)を実行
し、早送りスイッチ,巻き戻しスイッチのオン/オフが
判断されたときには早送り/巻き戻し(n15:図8参
照)を実行する。ところで、REC(i) =1でPNC≠
1とはパンチインレコードモードでパンチイン区間外で
あることを意味しており、PNCが1以外であれば、書
き込み中であることから早送りやポーズを掛けないよう
にしている。
When writing is not currently being performed on all tracks, that is, in any i, REC
If (i) = 1 and PNC ≠ 1 is not satisfied (n7), a pause switch on event (n8) or a fast forward switch / rewind switch on / off event (n9) is determined. When the pause switch on event is determined, the pause subroutine (n16: see FIG. 5) is executed, and when the fast forward switch and rewind switch are turned on / off, the fast forward / rewind (n15: see FIG. 8) is executed. I do. By the way, if REC (i) = 1 and PNC ≠
1 means that it is outside the punch-in section in the punch-in record mode. If the PNC is other than 1, fast-forwarding or pause is not applied because writing is being performed.

【0052】一方、全トラックのREC(i) がリセット
している場合のみフレーズスイッチのオンイベントを受
付ける(n10,n11)。フレーズスイッチのオンイ
ベントを受け付けたときにはフレーズサブルーチン(n
18:図7参照)を実行する。
On the other hand, an ON event of the phrase switch is accepted only when REC (i) of all tracks is reset (n10, n11). When the phrase switch ON event is received, the phrase subroutine (n
18: see FIG. 7).

【0053】こののち全ての場合においてテンポ設定サ
ブルーチン(n19:図11参照)を実行しメインボリ
ューム制御などのその他処理を行ったのち(n20)n
2に戻り同様の動作を繰り返し実行する。
Thereafter, in all cases, a tempo setting subroutine (n19: see FIG. 11) is executed, and other processing such as main volume control is performed (n20) n
2 and the same operation is repeatedly executed.

【0054】図2はソングセレクトサブルーチンであ
る。この動作では先ずテンキーから入力された2桁のソ
ングNo. をSONGレジスタに格納する(n21)。次
に、このソングNo. で指定されるソングデータを自動演
奏メモリ5から読み出しそのデータの先頭に記憶されて
いる初期テンポ値をTMPレジスタに記憶するとともに
そのテンポでテンポクロック発振器6を制御する(n2
2)。
FIG. 2 shows a song select subroutine. In this operation, first, the two-digit song number input from the numeric keypad is stored in the SONG register (n21). Next, the song data specified by the song number is read out from the automatic performance memory 5, the initial tempo value stored at the beginning of the data is stored in the TMP register, and the tempo clock oscillator 6 is controlled by the tempo ( n2
2).

【0055】図3はトラックセレクトサブルーチンであ
る。まず、オンされたトラックNo.スイッチ(トラックN
o. )を検出してトラックポインタiに格納する(n2
3)。次にこのトラックNo. スイッチがレコードスイッ
チと同時にオンされたものであるか否かを判断し(n2
4)、そうであればこのトラックをレコードモードにす
るためレコードフラグREC(i) をセットする(n2
5)。一方トラックNo.スイッチのみが単独でオンされ
た場合にはこのトラックNo. のREC(i) フラグおよび
プレイフラグPLY(i) を判断し、何れかがセットされ
ている場合にはその双方をリセットして(n27)リタ
ーンする。両方ともリセットされているときはPLY
(i) をセットして(n28)リターンする。すなわちト
ラックNo. スイッチのみのオンを繰り返すとプレイ/無
指定のモードが繰り返しセットされる。
FIG. 3 shows a track select subroutine. First, turn on the track No. switch (Track N
o.) is detected and stored in the track pointer i (n2
3). Next, it is determined whether or not this track number switch is turned on simultaneously with the record switch (n2).
4) If so, set the record flag REC (i) to put this track into record mode (n2
5). On the other hand, if only the track number switch is turned on alone, the REC (i) flag and play flag PLY (i) of this track number are determined, and if either is set, both are reset. (N27) and returns. PLY when both are reset
(i) is set (n28) and the routine returns. That is, when only the track number switch is repeatedly turned on, the play / non-designation mode is repeatedly set.

【0056】図4はスタート/ストップサブルーチンで
ある。スタート/ストップスイッチがオンされると先ず
RUNフラグを反転する(n30)。この反転の結果R
UNがセット(=1)されればn32以下の動作を実行
し、RUNフラグがリセット(=0)されればn37以
下の動作を実行する(n31)。
FIG. 4 shows a start / stop subroutine. When the start / stop switch is turned on, the RUN flag is first inverted (n30). The result R of this inversion
If the UN is set (= 1), the operation of n32 or less is executed, and if the RUN flag is reset (= 0), the operation of n37 or less is executed (n31).

【0057】反転の結果RUNフラグが1になっという
ことは書き込み/読み出しがスタートしたということで
あるためまずジェネラルテンポクロックカウンタGCL
Kをクリアし(n32)、ポインタPNT(i) (i=1
〜10)に指定されているソングナンバの各トラックi
の先頭アドレスを代入する(n33)。次にREC(10)
がセットしているか否かを判断し(n34)、セットし
ていればテンポの変更設定が行われるため、TMPレジ
スタの内容(このときは初期テンポ値が記憶されてい
る。)をこのトラックの先頭に書き込むとともに初期テ
ンポ値レジスタITMPに代入する(n35)。このの
ちフレーズモードフラグPRSをリセットして(n3
5)リターンする。n34においてREC(10)がリセッ
トしている場合にはn34から直接n36に進む。
The fact that the RUN flag becomes 1 as a result of the inversion means that writing / reading has started.
K is cleared (n32), and the pointer PNT (i) (i = 1
Each track i of the song number specified in 10) to 10)
(N33). Next, REC (10)
Is determined (n34), and if it is set, the tempo change setting is performed. Therefore, the contents of the TMP register (in this case, the initial tempo value is stored) are set for this track. It is written at the beginning and substituted into the initial tempo value register ITMP (n35). Thereafter, the phrase mode flag PRS is reset (n3
5) Return. When the REC (10) is reset at n34, the process directly proceeds from n34 to n36.

【0058】一方n30において反転した結果RUNフ
ラグがリセットした場合にはn31→n37に進み、動
作終了処理を行う。n37ではREC(i) =1且つPN
C(i) =0となるトラック(i) の最後、すなわち、PA
T(i)(PNT (i))( トラック=パートデータ記憶エリアP
AT(i) のうち、ポインタPNT(i) が指し示すアドレ
スエリア)にエンドコードであるFFH を書き込む。次
にパンチインレコードが終了したトラックを検索し(n
38,n39,n41,n42)、パンチインレコード
が終了したトラックがあれば先に記録されていた演奏デ
ータとの連結を行う(n40)。パンチインレコードが
終了しているとはパンチインレコードモード(REC
(i) =1且つPNC(i) =1)であり、ジェネラルクロ
ックカウンタのカウント値がパンチアウトタイミングク
ロック値を通過している(POCLK≦GCLK)こと
である。また、連結動作とは先に記録されているパンチ
インタイミング直前までの演奏データにパンチインで書
き込まれた演奏データを接続し、それに続けて先に記録
されているパンチアウトタイミング以降の演奏データを
接続したのち、新たな一貫したアドレスを付加しなおす
動作である。こののちn36に進む。
On the other hand, when the RUN flag is reset as a result of the inversion at n30, the process proceeds from n31 to n37, and the operation end processing is performed. In n37, REC (i) = 1 and PN
The end of track (i) where C (i) = 0, that is, PA
T (i) (PNT (i)) (track = part data storage area P
Of AT (i), writes FF H is an end code address area) of the pointer PNT (i) is indicated. Next, a track whose punch-in record has been completed is searched for (n
38, n39, n41, n42), if there is a track for which the punch-in record has been completed, the track is linked with the previously recorded performance data (n40). The end of punch-in record means that the punch-in record mode (REC
(i) = 1 and PNC (i) = 1), and the count value of the general clock counter passes the punch-out timing clock value (POCLK ≦ GCLK). In the connection operation, the previously recorded performance data immediately before the punch-in timing were connected to the performance data written by punch-in, and subsequently the previously-recorded performance data after the punch-out timing were connected. Thereafter, an operation of adding a new consistent address is performed. Thereafter, the flow advances to n36.

【0059】図5はポーズサブルーチンである。ポーズ
スイッチがオンされるとPSEフラグを反転する(n4
3)。反転の結果PSEがセットすれば(n44)キー
オン中のキーに対応するキーオフ信号を送出して(n4
5)リターンする。反転の結果PSEがリセットされれ
ばそのままリターンする。キーオフ信号を送出するの
は、ポーズ中は発音中のキーに対するキーオフイベント
が発生しないため、鳴りっぱなしにならないようにであ
る。
FIG. 5 shows a pause subroutine. When the pause switch is turned on, the PSE flag is inverted (n4
3). If the PSE is set as a result of the inversion (n44), a key-off signal corresponding to the key being key-on is transmitted (n4).
5) Return. If the PSE is reset as a result of the inversion, the process returns as it is. The key-off signal is transmitted so that the key-off event does not occur for the key being sounded during the pause, so that the sound does not remain.

【0060】図6はパンチイン/アウトサブルーチンで
ある。パンチイン/アウトスイッチは通常曲の再生(プ
レイモードにしてソングデータを読み出すこと)中にオ
ンされる。パンチイン/アウトスイッチがオンされると
先ず現在書き込み中であるか否かを判断する(n46,
n57)。すなわちレコードモードでPNC≠1であれ
ば現在演奏データの書き込み中であるためこのパンチイ
ン/アウトスイッチのオンは無視してそのままリターン
する。また、PNC=1のときすなわちパンチイン区間
設定時にこのスイッチがオンされると(n46→n47,n
46→n47→n52)、パンチインレコードモードを解除す
る。すなわち、PNCフラグに0をセットし、LEDを
消灯して(n59)。リターンする。
FIG. 6 shows a punch-in / out subroutine. The punch-in / out switch is turned on during normal music reproduction (playing the song data in the play mode). When the punch-in / out switch is turned on, it is first determined whether or not writing is currently being performed (n46, n46).
n57). That is, if PNC # 1 in the record mode, the performance data is currently being written, so that the punch-in / out switch is ignored and the process returns. When this switch is turned on when PNC = 1, that is, when the punch-in section is set, (n46 → n47, n
46 → n47 → n52), and cancels the punch-in record mode. That is, the PNC flag is set to 0, and the LED is turned off (n59). To return.

【0061】一方、REC(i) =1のトラックがなく
(読み出し中)PNC=0のときには(n46,n4
7)、パンチインタイミングの設定であるため、パンチ
イン区間に入ったことを意味する−1をPNCにセット
し(n48)、パンチインタイミングクロックレジスタ
PICLKにその時のジェネラルテンポクロックカウン
タGCLKの値を代入する(n49)。次にLEDを点
滅状態にし(n50)、全トラックのパンチインタイミ
ングポインタPNTPI(i) にそのときのポインタPN
T(i) の値を代入し、パンチインイベントずれレジスタ
TMPI(i) に直前のイベントからのずれクロック数 GCLK− (EVCLK(i) −PAT(i)(PNT (i))) を記憶して(n51)リターンする。
On the other hand, when there is no track of REC (i) = 1 (during reading) and PNC = 0 (n46, n4
7) Since the punch-in timing is set, -1 indicating that the punch-in section has been entered is set in the PNC (n48), and the value of the general tempo clock counter GCLK at that time is substituted in the punch-in timing clock register PICLK (n48). n49). Next, the LED is blinked (n50), and the punch-in timing pointers PNTPI (i) of all the tracks are set to the pointer PN at that time.
The value of T (i) is substituted, and the number of clocks GCLK− (EVCLK (i) −PAT (i) (PNT (i))) shifted from the immediately preceding event is stored in the punch-in event shift register TMPI (i). (N51) Return.

【0062】一方、REC(i) =1のトラックがなく
(読み出し中)PNC=−1のときには(n46,n5
2)、パンチアウトタイミングの設定であるため、パン
チイン区間設定完了を意味する1をPNCにセットし
(n53)、パンチアウトタイミングクロックレジスタ
POCLKにその時のジェネラルテンポクロックカウン
タGCLKの値を代入する(n54)。次にLEDを点
灯状態にし(n55)、全トラックのパンチアウトタイ
ミングポインタPNTPO(i) にそのときのポインタP
NT(i) の値を代入し、パンチアウトイベントずれレジ
スタTMPO(i) に直後のイベントまでのずれクロック
数(=EVCLK(i) −GCLK)を記憶して(n5
6)リターンする。
On the other hand, when there is no track with REC (i) = 1 (during reading) and PNC = -1 (n46, n5)
2) Since the punch-out timing is set, 1 indicating the completion of the setting of the punch-in section is set in the PNC (n53), and the value of the general tempo clock counter GCLK at that time is substituted into the punch-out timing clock register POCLK (n54). ). Next, the LED is turned on (n55), and the punchout timing pointers PNTPO (i) of all the tracks are set to the pointer P at that time.
The value of NT (i) is substituted, and the number of shift clocks (= EVCLK (i) -GCLK) until the next event is stored in the punchout event shift register TMPO (i) (n5
6) Return.

【0063】図7はフレーズサブルーチンである。フレ
ーズスイッチがオンされるとそれがファンクションスイ
ッチと同時押下であるか否かを判断する(n60)。同
時押下であればフレーズポイント設定動作であるため空
いているPRSBUF(n) にそのときのGCLKの値を
代入する(n68)。代入ののちPRSBUF(n) の内
容を小さいものから順に並び換えて(n69)リターン
する。
FIG. 7 shows a phrase subroutine. When the phrase switch is turned on, it is determined whether or not the phrase switch is pressed simultaneously with the function switch (n60). If it is depressed at the same time, the value of GCLK at that time is substituted into an empty PRSBUF (n) because it is a phrase point setting operation (n68). After the substitution, the contents of PRSBUF (n) are rearranged in ascending order (n69) and the process returns.

【0064】フレーズスイッチの単独押下であればフレ
ーズモードのセットであるため、RUNフラグのセット
/リセットを判断する(n61)。RUNフラグがセッ
トしていれば既にデータの書き込み/読み出しが行われ
ていることであるため、フレーズモードをセットしない
でそのままリターンする。RUNフラグがリセットして
いればn62でテンキーからフレーズ番号nの入力を受
け付け、入力されればそのキーが0キーであるか否かを
判断する(n63)。0が入力されればそれまでセット
されていたフレーズバッファPRSBUFを全てクリア
する動作であるためn70においてこの処理を実行して
リターンする。
If the phrase switch is depressed alone, it means that the phrase mode has been set, so it is determined whether the RUN flag has been set / reset (n61). If the RUN flag is set, it means that data writing / reading has already been performed, and therefore, the process returns without setting the phrase mode. If the RUN flag has been reset, the input of the phrase number n is accepted from the numeric keypad in n62, and if it is input, it is determined whether or not the key is the 0 key (n63). If 0 is input, the operation is to clear all the phrase buffers PRSBUF that have been set up to this point, so this processing is executed in n70 and the routine returns.

【0065】n=0以外の値が入力された場合にはPR
SBUF(n) の値をGCLKおよびフレーズ開始レジス
タPRSSTに代入する(n64)。PRSBUF(n+
1) 値をフレーズ終了レジスタPRSENDに代入する
(n65)。次に各トラックにおけるフレーズ最初のデ
ュレーションデータのアドレスをPNT(i) およびST
PNT(i) に代入する(n66)。これは最初からデュ
レーションデータを読み出してゆきPRSSTを超えた
ときのデータをアドレスである。こののち、フレーズモ
ードフラグPRS,ポーズモードフラグPSEともにセ
ットして(n67)リターンする。
When a value other than n = 0 is input, PR
The value of SBUF (n) is assigned to GCLK and the phrase start register PRSST (n64). PRSBUF (n +
1) Assign the value to the phrase end register PRSEND (n65). Next, the address of the first duration data of the phrase in each track is set to PNT (i) and ST.
Substitute PNT (i) (n66). This is an address of data when the duration data is read from the beginning and exceeds PRSST. Thereafter, both the phrase mode flag PRS and the pause mode flag PSE are set (n67) and the routine returns.

【0066】フレーズモードの読み出しを開始するため
にはポーズスイッチをオンしてポーズを解除すればよ
い。このときスタート/ストップスイッチをオンすると
このフレーズサブルーチンによってセットされたアドレ
スを無視して曲の先頭から再生が開始される。
To start reading in the phrase mode, the pause switch may be turned on to release the pause. When the start / stop switch is turned on at this time, the reproduction is started from the beginning of the music ignoring the address set by the phrase subroutine.

【0067】第8図は早送り/巻戻しサブルーチンであ
る。この動作は早送りスイッチまたは巻戻しスイッチの
オン/オフイベントがあったとき行われる動作である。
n70〜n73でどちらのスイッチのオン/オフがあっ
たかを判断する。早送りスイッチのオンイベントがあっ
た場合にはn70→n74に進みFRフラグがリセット
しているか否かを判断する。FRフラグがセットしてい
ればすでに巻戻しが行われているということであるため
この早送りスイッチのオンは無視してリターンする。F
Rフラグがリセットしていればクロック制御サブルーチ
ン(図9)を実行する(n75)。
FIG. 8 shows a fast forward / rewind subroutine. This operation is performed when there is an on / off event of the fast forward switch or the rewind switch.
It is determined which of the switches has been turned on / off in n70 to n73. When the fast-forward switch ON event occurs, the process proceeds from n70 to n74 to determine whether or not the FR flag has been reset. If the FR flag is set, it means that rewinding has already been performed, so that the return of the fast forward switch is ignored, ignoring this fast forward switch. F
If the R flag has been reset, the clock control subroutine (FIG. 9) is executed (n75).

【0068】ここで、図9のクロック制御サブルーチン
は、まずRUNフラグを判断し(n86)、セットして
いるときには読み出し中であるため、聞き取り可能な程
度の速度で早送り/巻き戻しするためクロック周波数を
正常周波数の8倍にセットして(n87)リターンし、
RUNフラグがリセットしているときは読み出し中でな
いためクロック周波数を最高速にセットして(n88)
リターンする。
Here, the clock control subroutine of FIG. 9 first determines the RUN flag (n86). Since the RUN flag is being read, the RUN flag is being read. Is set to 8 times the normal frequency (n87) and the routine returns.
When the RUN flag is reset, the clock frequency is set to the highest speed because reading is not being performed (n88).
To return.

【0069】このクロック制御サブルーチンののちFR
フラグをセットするとともにSTPレジスターに1を代
入して(n76)リターンする。
After this clock control subroutine, FR
The flag is set and 1 is substituted into the STP register (n76), and the routine returns.

【0070】巻戻しスイッチのオンイベントが発生した
ときにはn71→n77に進み、FRフラグがリセット
しているか否かを判断する。FRフラグがセットしてい
るときにはすでに早送り動作が行われていることを意味
するためこの巻戻しスイッチのオンイベントは無視して
直接リターンする。FRフラグがリセットしている場合
にはn78においてクロック制御サブルーチンを行い、
イベントデータを逆向きに読み出していくために全ての
トラック(i) のイベントクロックレジスタEVCLKに
直前のイベント発生のクロック値をセットする(n7
9)。すなわち、それまでEVCLK(i) は次のイベン
トのクロックタイミングを記憶していたため、PAT
(i)(PNT (i))を引いて直前のイベントのクロックタイミ
ングにする。次にFRフラグをセットし、STPレジス
タに−1を代入して(n80)リターンする。
When the rewind switch ON event occurs, the process proceeds from n71 to n77 to determine whether or not the FR flag has been reset. When the FR flag is set, it means that the fast-forward operation has already been performed. Therefore, the on-event of the rewind switch is ignored, and the flow returns directly. If the FR flag has been reset, a clock control subroutine is performed at n78,
In order to read out the event data in the reverse direction, the clock value of the immediately preceding event occurrence is set in the event clock registers EVCLK of all the tracks (i) (n7).
9). That is, since EVCLK (i) previously stored the clock timing of the next event, PAT
(i) Subtract (PNT (i)) to the clock timing of the previous event. Next, the FR flag is set, -1 is substituted into the STP register (n80), and the routine returns.

【0071】一方、巻戻しスイッチのオフイベントが発
生した場合にはn71→n81に進み、STPが−1で
あるか否かを判断する。STPが−1でなければ現在巻
戻し中でないためこのオフイベントを無視してリターン
する。STPレジスタが−1であれば巻戻し中でありこ
れを解除するためn82以下の動作を実行する。まずイ
ベントクロックに(順方向の)次のイベントのクロック
値をセットするため全てのEVCLK(i) に現在のPA
T(i)(PNT(i)) を加算し(n82)、クロック周波数を
正規の値に戻して通常のテンポで読み出しを再開する
(n83)。こののち、FRフラグをリセットし、ST
Pに1を代入して(n84)リターンする。
On the other hand, if an event of turning off the rewind switch has occurred, the process proceeds from n71 to n81, and it is determined whether or not STP is -1. If STP is not -1, rewinding is not currently in progress, and this off event is ignored, and control returns. If the STP register is -1, rewinding is in progress, and the operation of n82 and below is executed to cancel this. First, to set the clock value of the next event (in the forward direction) to the event clock, the current PA is applied to all EVCLK (i).
T (i) (PNT (i)) is added (n82), the clock frequency is returned to a normal value, and reading is resumed at a normal tempo (n83). After that, the FR flag is reset and ST
Substitute 1 for P (n84) and return.

【0072】早送りスイッチのオフイベントが発生する
と、n73→n85に進みSTPが1であるか否かを判
断する。STPレジスタが1であれば早送り中でありこ
れを解除するためn83に進んで通常の読み出し動作に
戻す処理を実行する。STPレジスタが1でなければ
(−1であれば)巻戻し動作中であるためこのオフイベ
ントを無視してリターンする。
When the fast-forward switch off event occurs, the process proceeds from n73 to n85 to determine whether or not STP is 1. If the STP register is 1, fast-forwarding is in progress, and to cancel this, the process proceeds to n83 to execute processing for returning to normal reading operation. If the STP register is not 1, the rewind operation is in progress (if it is -1).

【0073】図10はキー入力サブルーチンである。こ
の動作は演奏データの修正のため入出力回路8を介して
鍵盤などの演奏装置から演奏データが入力されたときに
実行される動作である。演奏データはMIBIフォーマ
ットに基づいて入力されるためこのデータにはトラック
No. (チャンネルNo. )などが含まれている。このデー
タが入力されると先ずn91で入力されたデータ中のト
ラックNo. をトラックポインタiにセットする。このト
ラックが現在書き込み中(REC=1且つPNC≠1)
であればn93以下の動作を実行する。書き込み中でな
ければそのままリターンする(n92)。n93ではE
VCLK(i) と現在のGCLKが等しいか否かを判断す
る。等しければn96においてPAT(i)(PNT(i)) に入
力されたキー情報を書き込み、EVCLK(i) にGCL
Kをセットし(n96)、PNT(i) を歩進して(n9
7)リターンする。EVCLK(i) と現在のGCLKが
等しくなければn94においてPAT(i)(PNT(i)) にイ
ベント間のデュレーションデータとしてGCLK−EV
CLK(i) をセットし(n94)、ポインタPNT(i)
を歩進したのち(n95)n96に進む。
FIG. 10 shows a key input subroutine. This operation is executed when performance data is input from a performance device such as a keyboard via the input / output circuit 8 for correcting performance data. Since performance data is input based on the MIBI format, the data
No. (channel No.) and the like are included. When this data is input, the track No. in the input data is set to the track pointer i in step n91. This track is currently being written (REC = 1 and PNC ≠ 1)
If so, the operation of n93 or less is executed. If the writing is not being performed, the process directly returns (n92). E in n93
It is determined whether VCLK (i) is equal to the current GCLK. If they are equal, the key information input to PAT (i) (PNT (i)) is written in n96, and GCL is written to EVCLK (i).
K is set (n96), and PNT (i) is advanced (n9).
7) Return. If EVCLK (i) is not equal to the current GCLK, PAT (i) (PNT (i)) is set to GAT-EV as the duration data between events at n94.
CLK (i) is set (n94), and the pointer PNT (i) is set.
And (n95) proceed to n96.

【0074】図11はテンポ設定サブルーチンである。
この動作ではn100においてTMPレジスタの値に基
づいてテンポクロック発振器を制御するが、このときテ
ンポアップキー21,テンポダウンキー22またはテン
ポスイッチ19→テンキーからのテンポ値入力によるT
MPの書き換えも実行する。トラック(10)が現在書き込
み中(REC(10)=1且つPNC≠1)であればこのの
ちn102以下の動作を実行し、書き込み中でなければ
このままリターンする(n101)。n102ではEV
CLK(10)=GCLKを判断し、一致した場合にはこの
ソングデータの初期テンポ値ITMPに対する今回のテ
ンポの増減率を計算してDTMPレジスタに記憶する
(n105)。増減率は、
FIG. 11 shows a tempo setting subroutine.
In this operation, the tempo clock oscillator is controlled at n100 based on the value of the TMP register. At this time, the tempo up key 21, the tempo down key 22, or the tempo switch 19 → T
MP rewriting is also performed. If the track (10) is currently being written (REC (10) = 1 and PNC ≠ 1), then the operation of n102 and below is executed, and if not, the process returns (n101). EV in n102
CLK (10) = GCLK is determined, and if they match, the rate of increase / decrease of the current tempo with respect to the initial tempo value ITMP of the song data is calculated and stored in the DTMP register (n105). The rate of change is

【0075】[0075]

【数1】 (Equation 1)

【0076】で計算される。DTMPの値が0より大き
い場合にはテンポアップであるためPAT(10)(PNT(1
0)) にテンポアップイベントデータであるD0H ,DT
MP(図17(E)参照)を書き込んだのち(n10
7)、ポインタPNT(10)を歩進させて(n109)リ
ターンする。また、DTMPが負であった場合にはテン
ポダウンであるためテンポダウンデータであるC0H ,
−DTMPをPAT(10)(PNT(10)) に書き込んだのち、
PNT(10)を歩進させて(n109)リターンする。
Is calculated. If the value of DTMP is greater than 0, the tempo is up and PAT (10) (PNT (1
0)), D0 H , DT which is the tempo-up event data
After writing the MP (see FIG. 17E) (n10
7) The pointer PNT (10) is incremented (n109) and the routine returns. If the DTMP is negative, the tempo is down, and the tempo-down data C0 H ,
-After writing DTMP to PAT (10) (PNT (10)),
The PNT (10) is advanced (n109) and the process returns.

【0077】n102においてEVCLK(10)とGCL
Kとが一致しなかった場合にはデュレーションデータと
してGCLK−EVCLK(10)をセットし(n10
3)、ポインタPNT(10)を歩進したのち(n104)
n105に進む。
At n102, EVCLK (10) and GCL
If K does not match, GCLK-EVCLK (10) is set as duration data (n10
3) After the pointer PNT (10) is advanced (n104)
Proceed to n105.

【0078】図12および図13はクロック割込みサブ
ルーチンである。この動作はテンポクロック発振器6の
割り込みによって所定タイミング毎に実行される。この
動作では先ずクロック信号に基づく読み出し/書き込み
等が行われていること、すなわち、RUN=1且つPS
E=0またはFR=1であることを判断する(n12
1)。この条件が満たされていなければクロック割り込
みによる処理動作が不要であるためそのままリターンす
る。条件が満たされていればn122以下の動作を実行
する。
FIGS. 12 and 13 show a clock interrupt subroutine. This operation is executed at every predetermined timing by the interruption of the tempo clock oscillator 6. In this operation, first, reading / writing based on a clock signal is performed, that is, RUN = 1 and PS
It is determined that E = 0 or FR = 1 (n12
1). If this condition is not satisfied, the process returns because the processing operation by the clock interrupt is unnecessary. If the condition is satisfied, the operation of n122 or less is executed.

【0079】n122以下では、まずジェネラルクロッ
クレジスタGCLKにSTPの値を加えてクロックを更
新する(n122)。STPは通常の読み出し/書き込
み時および早送り時には+1であるためGCLKは1づ
つ増加し、巻戻し時には−1であるためGCLKは1づ
つ減少する。こののちn123,n126,n131に
おいて、フレーズモードにおける繰り返しポイントであ
るか否か、パンチインタイミングであるか否か、および
パンチアウトタイミングであるか否かを判断する。これ
以外の場合にはn136以下の通常のイベントクロック
歩進,イベントデータ処理動作に進む。
In the case of n122 or less, the clock is first updated by adding the value of STP to the general clock register GCLK (n122). Since STP is +1 at the time of normal reading / writing and fast-forwarding, GCLK increases by one, and at the time of rewinding, GCLK decreases by one because it is -1. Thereafter, in n123, n126, and n131, it is determined whether or not it is a repetition point in the phrase mode, whether or not it is a punch-in timing, and whether or not it is a punch-out timing. In other cases, the process proceeds to the normal event clock increment and event data processing operation of n136 or less.

【0080】n123でフレーズ繰り返しポイントであ
ることを判断した場合にはn124以下の動作に進む。
なお、フレーズ繰り返しポイントはフレーズモードフラ
グPRS=1かつGCLK=PRSEND(フレーズ終
了レジスタ)で判断することができる。n124では発
音中の楽音を消音するためそのときキーオン中のキーに
対応するキーオフ信号を音源装置に向けて送出し、フレ
ーズの最初から繰り返すためGCLK←PRSSTをセ
ットし、全てのPNT(i) ←STPNT(i) ,EVCL
K(i) ←STCLK(i) をセットして(n125)n1
50に進む。上記n123の動作がこの発明の検出手段
の動作に対応し、n125の動作がこの発明の制御手段
の動作に対応する。
If it is determined in n123 that the point is a phrase repetition point, the operation proceeds to n124 and thereafter.
The phrase repetition point can be determined by the phrase mode flag PRS = 1 and GCLK = PRSEND (phrase end register). At n124, a key-off signal corresponding to the key being key-on at that time is sent to the tone generator to mute the tone being generated, and GCLK ← PRSST is set to repeat from the beginning of the phrase, and all PNT (i) ← STPNT (i), EVCL
K (i) ← STCLK (i) is set (n125) n1
Go to 50. The operation of the above n123 corresponds to the operation of the detecting means of the present invention, and the operation of n125 corresponds to the operation of the control means of the present invention.

【0081】n126でパンチインタイミングであると
判断した場合にはn127以下の動作を実行する。なお
パンチインタイミングは何れかのトラックにおけるRE
C(i) =1,PNC(i) =1且つGCLK=PICLK
であることによって判断することができる。n127に
おいてはPNCにパンチインレコード中であることを示
す−1をセットし、LEDを点滅状態にする(n12
8)。こののちREC(i) =1であるトラックiにおけ
るEVCLK(i) にPICLK−TMPI(i) をセット
し、PNT(i) にパンチイン区間の先頭のアドレスをセ
ットしたのち(n129)、このPNT(i) で指し示さ
れるPAT(i)(PNT (i))に現在キーオン中のキーに対応
するキーオフ情報を書き込んだのち(n130)、n1
50に進む。
If it is determined in n126 that it is the punch-in timing, the operation from n127 is executed. Note that the punch-in timing is
C (i) = 1, PNC (i) = 1 and GCLK = PICLK
It can be determined by that. In n127, -1 indicating that the punch-in record is being performed is set in the PNC, and the LED is turned on and off (n12).
8). Thereafter, PICLK-TMPI (i) is set to EVCLK (i) in track i where REC (i) = 1, and the start address of the punch-in section is set to PNT (i) (n129). After writing the key-off information corresponding to the currently key-on key into the PAT (i) (PNT (i)) indicated by (i) (n130), n1
Go to 50.

【0082】一方、n131でパンチアウトタイミング
であることを判断した場合にはn132以下の動作を実
行する。n132ではPNCに1をセットする。パンチ
アウトタイミングであることは何れかのトラックにおい
てREC=1,PNC=−1且つGCLK=POCLK
であることによって判断することができる。次にn13
3においてLEDを点灯状態にし、上記の条件を満たす
トラックiにおいてPNT(i) が示すPAT(i)(PNT
(i))にGCLK−EVCLK(i) のデータを記憶し(n
134)、EVCLK(i) にGCLK+TMPO(i) を
書き込みPNT(i) にPNTPO(i) を書き込んだのち
(n135)n150に進む。
On the other hand, if it is determined at n131 that it is the punch-out timing, the operation at and after n132 is executed. In n132, 1 is set in the PNC. The punch-out timing means that REC = 1, PNC = -1 and GCLK = POCLK in any of the tracks.
It can be determined by that. Next, n13
3, the LED is turned on, and PAT (i) (PNT (i) indicated by PNT (i) in track i satisfying the above conditions
The data of GCLK-EVCLK (i) is stored in (i)) (n
134), GCLK + TMPO (i) is written into EVCLK (i), and PNTPO (i) is written into PNT (i) (n135).

【0083】n136以下は通常の各トラック毎のイベ
ントクロック歩進,イベントデータ処理動作である。ま
ずn136においてトラックポインタiに1をセット
し、n137,n138においてこのトラックが演奏デ
ータ読み出し中(PLY(i) =1)であるかパンチイン
レコード中(REC(i) =1且つPNC=−1)である
か、および、EVCLK(i) =GCLKであるか否かを
判断する。この条件がみたされた場合にはn139以下
の動作を実行する。この条件が満たされない場合には以
下の動作を行う必要がないため145にジャンプしてi
に1を加算し(n145)、iが10を越えるまでn1
37以下の動作を繰り返す(n146)。
Steps n136 and below are normal event clock step and event data processing operations for each track. First, the track pointer i is set to 1 at n136, and at n137 and n138, the track is reading performance data (PLY (i) = 1) or punch-in record (REC (i) = 1 and PNC = -1). And whether or not EVCLK (i) = GCLK. When this condition is satisfied, the operation of n139 or less is executed. If this condition is not satisfied, the following operation does not need to be performed, so that the processing jumps to 145 and i
Is added to (n145), and n1 is increased until i exceeds 10.
The operations below 37 are repeated (n146).

【0084】n139ではSTPを参照してクロックの
進行方向の次のクロック情報(デュレーションデータ)
までポインタPNT(i) をジャンプする(n139)。
このジャンプ動作において次のクロック情報が存在しな
ければ曲は終了しているとしてn140→n141に進
む。次のクロック情報が存在する場合には早送り/巻戻
しの場合を除き(n142)、このときのイベント情報
(キーオン・キーオフ等)の処理を行う(n143)。
この処理において順方向再生(STP=1)の場合には
その内容通りの処理を実行し、逆送り再生(STP=−
1)の場合には逆の内容を持つ処理を実行する。逆の内
容を持つ処理はたとえばキーオンイベントの場合にはキ
ーオフ処理を行いテンポアップイベントの場合にはテン
ポダウン処理を行うなどである。次にn144において
EVCLK(i) にクロック情報であるPAT(i)(PNT
(i))にSTPを掛けて加算する。これにより巻戻しの場
合にはPAT(i)(PNT (i))が減算されることになる。こ
ののちn145に進む。
At n139, the next clock information (duration data) in the clock advancing direction with reference to the STP
The pointer PNT (i) is jumped to (n139).
If there is no next clock information in this jump operation, the music is determined to have ended and the process proceeds from n140 to n141. If the next clock information exists, the process of the event information (key-on / key-off, etc.) at this time is performed (n143) except for the case of fast forward / rewind (n142).
In this processing, in the case of forward reproduction (STP = 1), the processing according to the content is executed, and the reverse reproduction (STP = −)
In the case of 1), processing having the opposite content is executed. The processing having the opposite content is, for example, a key-off event, a key-off processing, and a tempo-up event, a tempo-down processing. Next, at n144, PAT (i) (PNT) which is clock information is added to EVCLK (i).
(i)) is multiplied by STP and added. As a result, in the case of rewinding, PAT (i) (PNT (i)) is subtracted. Thereafter, the flow advances to n145.

【0085】次のクロック情報がなく動作がn141に
進んだ場合においてフレーズモードの場合にはn141
→n147に進み、フレーズの最初から繰り返すためG
CLK←PRSSTをセットし、全てのPNT(i) ←S
TPNT(i) ,EVCLK(i) ←STCLK(i) をセッ
トしてn150に進む。これ以外の場合には演奏を終了
のためRUNフラグをリセットし(n148)リターン
する。
When there is no next clock information and the operation proceeds to n141, in the case of the phrase mode, n141
→ Proceed to n147, G to repeat from the beginning of the phrase
CLK ← PRSST is set and all PNT (i) ← S
TPNT (i), EVCLK (i) ← STCLK (i) are set, and the flow advances to n150. In other cases, the RUN flag is reset to end the performance (n148) and the routine returns.

【0086】n150においては表示器にその時の書き
込み/読み出し中の小節数およびクロック数を表示す
る。表示される小節数はGCCK/32で計算され、ク
ロック数はGCLK.MOD.32で計算される。この
表示ののちリターンする。
At n150, the number of measures and the number of clocks during writing / reading at that time are displayed on the display. The number of measures to be displayed is calculated by GCCK / 32, and the number of clocks is GCLK. MOD. Calculated at 32. Return after this display.

【0087】[0087]

【発明の効果】以上のようにこの発明の演奏データ処理
装置によれば、繰り返し区間の開始タイミングである第
1のタイミングにおける読出アドレスおよび読出タイミ
ングを記憶しておき、繰り返し区間の終了タイミングで
ある第2のタイミングに達したとき、これらをアドレス
管理手段,タイミング管理手段に設定して第1のタイミ
ングから再生を開始するようにしたことにより、複数の
トラックにそれぞれ異なるタイミングでイベントデータ
を読み出すように演奏データが記憶されていた場合であ
っても常に同期して繰り返し演奏をすることが可能にな
る。
As described above, according to the performance data processing device of the present invention, the read address and the read timing at the first timing which is the start timing of the repetition section are stored, and the end timing of the repetition section is stored. When the second timing is reached, these are set in the address management means and the timing management means so that the reproduction is started from the first timing, so that the event data can be read from the plurality of tracks at different timings. Even if the performance data is stored in the memory, it is possible to always perform repeatedly in synchronization.

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

【図1】この発明の実施例であるシーケンサの動作を示
すフローチャート(メイン処理動作)
FIG. 1 is a flowchart (main processing operation) showing an operation of a sequencer according to an embodiment of the present invention;

【図2】同シーケンサの動作を示すフローチャート(ソ
ングセレクト動作)
FIG. 2 is a flowchart showing the operation of the sequencer (song select operation).

【図3】同シーケンサの動作を示すフローチャート(ト
ラックセレクト動作)
FIG. 3 is a flowchart showing an operation of the sequencer (track select operation).

【図4】同シーケンサの動作を示すフローチャート(ス
タート/ストップ動作)
FIG. 4 is a flowchart showing the operation of the sequencer (start / stop operation)

【図5】同シーケンサの動作を示すフローチャート(ポ
ーズ動作)
FIG. 5 is a flowchart showing an operation of the sequencer (pause operation).

【図6】同シーケンサの動作を示すフローチャート(パ
ンチイン/アウト動作)
FIG. 6 is a flowchart showing the operation of the sequencer (punch-in / out operation).

【図7】同シーケンサの動作を示すフローチャート(フ
レーズ動作)
FIG. 7 is a flowchart showing the operation of the sequencer (phrase operation).

【図8】同シーケンサの動作を示すフローチャート(早
送り/巻戻し動作)
FIG. 8 is a flowchart showing the operation of the sequencer (fast-forward / rewind operation).

【図9】同シーケンサの動作を示すフローチャート(ク
ロック制御動作)
FIG. 9 is a flowchart showing the operation of the sequencer (clock control operation).

【図10】同シーケンサの動作を示すフローチャート
(キー入力動作)
FIG. 10 is a flowchart showing the operation of the sequencer (key input operation).

【図11】同シーケンサの動作を示すフローチャート
(テンポ設定動作)
FIG. 11 is a flowchart showing the operation of the sequencer (tempo setting operation).

【図12】同シーケンサの動作を示すフローチャート
(クロック割込動作)
FIG. 12 is a flowchart showing the operation of the sequencer (clock interrupt operation).

【図13】同シーケンサの動作を示すフローチャート
(クロック割込動作)
FIG. 13 is a flowchart showing the operation of the sequencer (clock interruption operation).

【図14】同シーケンサの制御部のブロック図FIG. 14 is a block diagram of a control unit of the sequencer.

【図15】同シーケンサの操作パネルを示す図FIG. 15 is a diagram showing an operation panel of the sequencer.

【図16】同シーケンサの自動演奏メモリの構成を示す
FIG. 16 is a diagram showing a configuration of an automatic performance memory of the sequencer.

【図17】同自動演奏メモリに記憶される各種データの
フォーマットを示す図
FIG. 17 is a diagram showing a format of various data stored in the automatic performance memory.

【図18】同シーケンサのレジスタ群の構成を示す図FIG. 18 is a diagram showing a configuration of a register group of the sequencer.

【図19】各種モード時におけるポインタ,クロック各
種レジスタにセットされるデータの内容を説明するため
の図
FIG. 19 is a diagram for explaining the contents of data set in pointers and various registers in various modes.

【図20】各種モード時におけるポインタ,クロック各
種レジスタにセットされるデータの内容を説明するため
の図
FIG. 20 is a diagram for explaining the contents of data set in pointers and clock various registers in various modes.

【図21】各種モード時におけるポインタ,クロック各
種レジスタにセットされるデータの内容を説明するため
の図
FIG. 21 is a diagram for describing the contents of data set in pointers and various clock registers in various modes.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 各々複数のアドレスを有する複数のトラ
ックを有し、演奏イベントを示すイベントデータおよび
該イベントデータの発生タイミングを示すタイミングデ
ータとからなる楽曲の演奏データを各トラックの各アド
レスに各々記憶した演奏データ記憶手段と、 各トラック毎に設けられ、次に読み出すデータの記憶ア
ドレスである読出アドレスを曲の進行に応じて管理する
アドレス管理手段と、 各トラック毎に設けられ、次のデータを読み出すタイミ
ングである読出タイミングを各トラックのタイミング
データに基づき曲の進行に応じて管理するタイミング管
理手段を有し、 これら各トラックのタイミング管理手段およびアドレス
管理手段の管理に応じて前記演奏データ記憶手段に記憶
された複数のトラックのイベントデータを並列的に読み
出して自動演奏する自動演奏手段とを備えた自動演奏装
置において、 前記楽曲の進行上の第1のタイミングにおける読出アド
レスおよび読出タイミングを各トラック毎に記憶した状
態記憶手段と、 前記楽曲の進行位置が第2のタイミングに達したことを
検出する検出手段と、 前記検出手段で楽曲の進行位置が第2のタイミングに達
したことが検出されたとき、前記状態記憶手段に記憶さ
れた各トラックの読出アドレスおよび読出タイミングを
前記各トラックのアドレス管理手段および前記各トラッ
クのタイミング管理手段に対して設定し、前記第1のタ
イミングからの演奏データの読み出しを開始するよう前
記自動演奏手段を制御する制御手段とを備えたことを特
徴とする自動演奏装置。
1. A music performance data having a plurality of tracks each having a plurality of addresses and comprising event data indicating a performance event and timing data indicating the generation timing of the event data is stored in each address of each track. Address data storage means provided for each track and for managing a read address, which is a storage address of data to be read next , in accordance with the progress of the music; and the read timing is a timing for reading includes a timing management unit for managing in accordance with the progress of the based-out music on the timing data of each track, in response to said management of the timing management unit and the address management means of each track Event data for multiple tracks stored in the performance data storage An automatic performance device comprising: an automatic performance device for automatically reading and performing automatically; a state storage device storing a read address and a read timing at a first timing in the progress of the music for each track; Detecting means for detecting that the progress position has reached the second timing; and detecting, when the detecting means detects that the progress position of the music has reached the second timing, the state stored in the state storage means. A track read address and a read timing are set in the address management means of each track and the timing management means of each track, and the automatic performance means is controlled to start reading performance data from the first timing. An automatic performance device comprising:
【請求項2】 前記第1のタイミングおよび第2のタイ
ミングを利用者が設定する設定手段を備えたことを特徴
とする請求項1記載の自動演奏装置。
2. The automatic performance apparatus according to claim 1, further comprising setting means for setting a first timing and a second timing by a user.
JP6158467A 1994-07-11 1994-07-11 Automatic performance device Expired - Fee Related JP2720794B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6158467A JP2720794B2 (en) 1994-07-11 1994-07-11 Automatic performance device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6158467A JP2720794B2 (en) 1994-07-11 1994-07-11 Automatic performance device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP1264504A Division JPH07109554B2 (en) 1989-10-11 1989-10-11 Performance data processor

Publications (2)

Publication Number Publication Date
JPH0772859A JPH0772859A (en) 1995-03-17
JP2720794B2 true JP2720794B2 (en) 1998-03-04

Family

ID=15672383

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6158467A Expired - Fee Related JP2720794B2 (en) 1994-07-11 1994-07-11 Automatic performance device

Country Status (1)

Country Link
JP (1) JP2720794B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0740186B2 (en) * 1987-05-29 1995-05-01 ヤマハ株式会社 Automatic playing device

Also Published As

Publication number Publication date
JPH0772859A (en) 1995-03-17

Similar Documents

Publication Publication Date Title
JP3099436B2 (en) Chord detection device and automatic accompaniment device
JP2500703B2 (en) Automatic playing device
JP2720794B2 (en) Automatic performance device
US5326930A (en) Musical playing data processor
JP2851075B2 (en) Automatic performance device
JP3282605B2 (en) Automatic performance device
JP2508858B2 (en) Performance data processor
JP3090123B2 (en) Waveform generation method
JPH05173561A (en) Electronic musical instrument
JP3204014B2 (en) Performance instruction device and electronic musical instrument
JP2508893B2 (en) Automatic playing device
JPH03126085A (en) Performance data processor
JP2508858C (en)
JP2606446B2 (en) Automatic performance device
JP2745802B2 (en) Performance data recording and playback device
JP3630097B2 (en) Performance instruction device and electronic musical instrument
JP3189825B2 (en) Music playback method
JP2555829B2 (en) Electronic musical instrument
JP3693690B2 (en) Keyboard instrument
JP2555828B2 (en) Electronic musical instrument
JP3253640B2 (en) Automatic performance device
JP2768360B2 (en) Performance data recording and playback device
JP2910833B2 (en) Automatic performance device
JP2616072B2 (en) Music data processor
JP2956477B2 (en) Music playback method

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: 20071121

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20081121

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees