JPH0437438B2 - - Google Patents

Info

Publication number
JPH0437438B2
JPH0437438B2 JP60016926A JP1692685A JPH0437438B2 JP H0437438 B2 JPH0437438 B2 JP H0437438B2 JP 60016926 A JP60016926 A JP 60016926A JP 1692685 A JP1692685 A JP 1692685A JP H0437438 B2 JPH0437438 B2 JP H0437438B2
Authority
JP
Japan
Prior art keywords
rhythm
recording
sound
data
playback
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60016926A
Other languages
Japanese (ja)
Other versions
JPS61176990A (en
Inventor
Satoshi Suzuki
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 JP60016926A priority Critical patent/JPS61176990A/en
Publication of JPS61176990A publication Critical patent/JPS61176990A/en
Publication of JPH0437438B2 publication Critical patent/JPH0437438B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、自動演奏装置に関し、更に詳しく
は、オートリズム装置を有し、鍵盤での鍵操作に
応じた演奏情報を記録又は再生する型の自動演奏
装置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an automatic performance device, and more specifically, to an automatic performance device, and more specifically, an automatic performance device that has an autorhythm device and records or reproduces performance information in response to key operations on a keyboard. This invention relates to an automatic performance device.

〔発明の概要〕[Summary of the invention]

この発明は、上記した型の自動演奏装置におい
て、記録又は再生の開始から例えば1小節分の時
間だけ遅らせてリズム音発生を開始させることに
より弱起の曲(「強」「弱」のうち「弱」から始ま
る曲)について不自然感なく演奏開始できるよう
にしたものである。
In the automatic performance device of the above-mentioned type, the present invention allows the generation of rhythm sounds to be started with a delay of, for example, one measure from the start of recording or playback. This allows the user to start playing songs (starting with "Yaku") without feeling unnatural.

〔従来の技術〕[Conventional technology]

従来、オートリズム装置をそなえ、鍵盤での鍵
操作に応じた演奏情報を記録又は再生するように
した自動演奏装置が知られている。このような自
動演奏装置にあつては、記録モードにしておいて
スタートスイツチをオンすると、記録が開始する
と同時にリズム音発生が開始し、再生モードにし
ておいてスタートスイツチをオンすると、再生が
開始すると同時にリズム音発生が開始する。ま
た、記録モードにしておいてスタートスイツチを
オンする代りにシンクロスタートスイツチをオン
してから鍵盤演奏を始めると、鍵盤演奏の開始に
同期して記録とリズム音発音とが同時的に開始す
る。
2. Description of the Related Art Conventionally, automatic performance devices are known that are equipped with an autorhythm device and record or reproduce performance information in response to key operations on a keyboard. With such an automatic performance device, when you turn on the start switch while in record mode, rhythm sound generation begins at the same time as recording begins, and when you turn on playback mode and turn on the start switch, playback begins. At the same time, rhythm sound generation begins. Furthermore, instead of turning on the start switch in the recording mode, if you turn on the synchronized start switch and then start playing the keyboard, recording and rhythm sound generation will start simultaneously in synchronization with the start of the keyboard playing.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記した従来技術によると、記録モードにおい
ては、鍵を押すと必ずリズムがスタートするの
で、リズム伴奏なしに演奏を開始したい弱岐の曲
については、演奏開始時に音楽的に不自然な感じ
を与える不都合があつた。また、再生モードにお
いても、再生開始と同時にリズム音発生が開始さ
れるので、同様の不都合があつた。
According to the above-mentioned conventional technology, in recording mode, the rhythm always starts when a key is pressed, so for a weak song that you want to start playing without rhythm accompaniment, it gives an unnatural feeling musically when the performance starts. There was an inconvenience. Furthermore, in the playback mode as well, the generation of rhythm sounds starts at the same time as playback starts, resulting in a similar problem.

〔問題点を解決するための手段〕[Means for solving problems]

この発明による自動演奏装置は、 (a) 鍵盤と、 (b) この鍵盤からの鍵操作情報に基づいて楽音信
号を発生する楽音発生手段と、 (c) 記録の開始を指示する記録開始信号又は再生
の開始を指示する再生開始信号を選択的に発生
する開始指示手段と、 (d) この開始指示手段からの記録開始信号に応じ
て前記鍵盤での鍵操作に基づく演奏情報の記録
を開始すると共に、前記開始指示手段からの再
生開始信号に応じて記録に係る演奏情報の再生
を開始する記録/再生手段と、 (e) 自動リズム音を発生可能であると共に所定の
時間間隔でダクト音を発生可能であるオートリ
ズム装置と、 (f) このオートリズム装置を制御する制御手段で
あつて、前記記録/再生手段での記録開始から
前記タクト音を発生させて一定期間経過してか
ら前記自動リズム音の発生を開始させると共
に、前記記録/再生手段での再生開始から前記
タクト音を発生させないで一定期間経過してか
ら前記自動リズム音の発生を開始させるものと をそなえたものである。
The automatic performance device according to the present invention includes: (a) a keyboard; (b) musical tone generating means for generating a musical tone signal based on key operation information from the keyboard; and (c) a recording start signal or a recording start signal for instructing the start of recording. (d) start instruction means for selectively generating a playback start signal instructing the start of playback; (d) start recording of performance information based on key operations on the keyboard in response to a recording start signal from the start instruction means; (e) recording/reproducing means capable of generating automatic rhythm sounds and generating duct sounds at predetermined time intervals; (f) a control means for controlling the autorhythm device, the control means for controlling the autorhythm device, wherein the automatic The automatic rhythm sound starts generating the rhythm sound, and starts generating the automatic rhythm sound after a predetermined period has elapsed without generating the tact sound from the start of reproduction by the recording/reproducing means.

[作用] この発明の構成によれば、開始指示手段から記
録指示信号を発生させると、鍵操作に基づく演奏
情報の記録が開始され、この記録開始からタクト
音が発生されて一定期間経過してから自動リズム
音の発生が開始される。このように一定期間の間
はリズム音が発生されないので、鍵盤で弱起の曲
を演奏しても不自然感を伴うことがなく、しかも
タクト音に基づいてテンポを認識しつつ正しいテ
ンポで演奏記録を行なうことができる。
[Operation] According to the configuration of the present invention, when the start instruction means generates a recording instruction signal, recording of performance information based on key operations is started, and a tact sound is generated after a certain period of time has elapsed since the start of recording. Automatic rhythm sound generation begins. In this way, rhythm sounds are not generated for a certain period of time, so even if you play a song with a low pitch on the keyboard, it will not feel unnatural, and the tempo can be recognized based on the tact sound and played at the correct tempo. Recording can be done.

また、開始指示手段から再生指示信号を発生さ
せると、再生開始からタクト音が発生されないで
一定期間経過してから自動リズム音の発生が開始
される。このように一定期間の間はタクト音及び
自動リズム音のいずれの音も発生されないので、
弱起の曲の再生開始時に不自然感を伴うことがな
くなる。
Further, when a reproduction instruction signal is generated from the start instruction means, generation of the automatic rhythm sound is started after a certain period of time has elapsed without generation of a tact sound from the start of reproduction. In this way, neither the tact sound nor the automatic rhythm sound is generated for a certain period of time, so
There is no longer an unnatural feeling when the playback of a song with a weak beginning starts.

〔実施例〕〔Example〕

回路構成(第1図) 第1図は、この発明の一実施例による自動演奏
装置の回路構成を示すもので、この自動演奏装置
は、マイクロコンピユータの助けにより鍵盤演奏
音発生、鍵盤演奏の記録又は再生、オートリズム
音発生等が制御されるようになつている。
Circuit Configuration (Figure 1) Figure 1 shows the circuit configuration of an automatic performance device according to an embodiment of the present invention.This automatic performance device generates keyboard playing sounds and records keyboard performances with the help of a microcomputer. Alternatively, playback, automatic rhythm sound generation, etc. are controlled.

バス10には、鍵スイツチ回路12、音色選択
スイツチ回路14、リズム制御スイツチ回路1
6、中央処理装置(CPU)18、プログラムメ
モリ20、ワーキングメモリ22、リズムデータ
メモリ24、演奏データメモリ26、演奏記録/
再生制御スイツチ回路28、外部記録インターフ
エース回路30、楽音形成回路32、テンポ発振
器(OSC)34、リズム音源回路36等が接続
されている。
The bus 10 includes a key switch circuit 12, a tone selection switch circuit 14, and a rhythm control switch circuit 1.
6. Central processing unit (CPU) 18, program memory 20, working memory 22, rhythm data memory 24, performance data memory 26, performance record/
A playback control switch circuit 28, an external recording interface circuit 30, a tone forming circuit 32, a tempo oscillator (OSC) 34, a rhythm sound source circuit 36, etc. are connected.

鍵スイツチ回路12は、多数の鍵を有する鍵盤
及び該多数の鍵でそれぞれ駆動される多数の鍵ス
イツチを含むもので、これらの鍵スイツチを順次
に且つ反復的に走査することにより鍵操作情報を
検出しうるようになつている。
The key switch circuit 12 includes a keyboard having a large number of keys and a large number of key switches each driven by the large number of keys, and acquires key operation information by sequentially and repeatedly scanning these key switches. It has become detectable.

音色選択スイツチ回路14は、フルート、バイ
オリン、オルガン…等の楽器音色を適宜選択する
ための音色選択スイツチを含むもので、これらの
音色選択スイツチを走査することにより各音色選
択スイツチの操作情報を検出しうるようになつて
いる。
The timbre selection switch circuit 14 includes timbre selection switches for appropriately selecting musical instrument tones such as flute, violin, organ, etc., and detects operation information of each timbre selection switch by scanning these timbre selection switches. I'm getting used to it.

リズム制御スイツチ回路16は、マーチ、ワル
ツ、スウイング…等のリズム種類を適宜選択する
ためのリズム種類選択スイツチと、フイルインリ
ズムを選択するためのフイルインスイツチと、リ
ズムスタートを制御するためのスタートスイツチ
とを含むもので、これらのスイツチを走査するこ
とにより各スイツチの操作情報を検出しうるよう
になつている。
The rhythm control switch circuit 16 includes a rhythm type selection switch for appropriately selecting a rhythm type such as march, waltz, swing, etc., a fill-in switch for selecting a fill-in rhythm, and a start switch for controlling a rhythm start. By scanning these switches, operation information for each switch can be detected.

CPU18は、ROM(リード・オンリイ・メモ
リ)からなるプログラムメモリ20に記憶された
プログラムにしたがつて鍵盤演奏音発生、鍵盤演
奏の記録/再生制御、オートリズム音発生等のた
めの各種処理を実行するもので、これらの処理の
詳細は第5図乃至第9図について後述する。
The CPU 18 executes various processes such as generating keyboard performance sounds, controlling recording/playback of keyboard performances, and generating autorhythm sounds according to programs stored in a program memory 20 consisting of a ROM (read-only memory). The details of these processes will be described later with reference to FIGS. 5 to 9.

ワーキングメモリ22は、RAM(ランダム・
アクセス・メモリ)からなるもので、CPU18
による各種の処理に際して利用されるレジスタ、
フラグ、カウンタ等として機能する部分を含んで
いる。これらの各種機能部分の詳細については後
述する。
The working memory 22 is RAM (random
access memory), and consists of CPU18
registers used for various processing by
It includes parts that function as flags, counters, etc. Details of these various functional parts will be described later.

リズムデータメモリ24は、ROMからなるも
ので、これには、タクト音を発生させるためのタ
クトパターンデータが記憶されると共に、各リズ
ム種類毎にフイルインリズム及び通常リズムに関
するリズムパターンデータが記憶されている。タ
クトパターンデータは、4分音符に対応する発音
タイミング毎にリズム音源回路36内の特定の打
楽器音源の発音を指示するものであり、リズムパ
ターンデータは、32分音符に対応する発音タイミ
ング毎にリズム音源回路36内の多数の打楽器音
源の発音の有無を指示するものである。
The rhythm data memory 24 is composed of a ROM, which stores tact pattern data for generating tact sounds, and also stores rhythm pattern data regarding fill-in rhythms and normal rhythms for each rhythm type. ing. The tact pattern data instructs a specific percussion instrument sound source in the rhythm sound source circuit 36 to produce sound at each sound timing corresponding to a quarter note, and the rhythm pattern data instructs a rhythm sound source at each sound timing corresponding to a 32nd note. This indicates whether or not a large number of percussion instrument sound sources in the sound source circuit 36 produce sound.

演奏データメモリ26は、RAMからなるもの
で、この実施例では、鍵盤での鍵操作に応じた演
奏情報を記憶又は再生するのに使用されるもので
ある。演奏データメモリ26における記憶データ
フオーマツトについては、第4図を参照して後述
する。
The performance data memory 26 is comprised of a RAM, and in this embodiment is used to store or reproduce performance information corresponding to key operations on the keyboard. The storage data format in the performance data memory 26 will be described later with reference to FIG.

演奏記録/再生制御スイツチ回路28は、記録
スイツチ、再生スイツチ、セーブスイツチ及びロ
ードスイツチを含むもので、これらのスイツチを
走査することにより各スイツチの操作情報を検出
しうるようになつている。
The performance recording/playback control switch circuit 28 includes a record switch, a playback switch, a save switch, and a load switch, and by scanning these switches, operation information for each switch can be detected.

外部記録インタフエース回路30は、演奏デー
タメモリ26に記憶された演奏情報を外部記録手
段にセーブしたり、外部記録手段から演奏データ
メモリ26に演奏情報をロードしたりするために
設けられたものである。ここで、外部記録手段と
しては、RAMを内蔵し、バツテリバツクアツプ
されたメモリパツク38と、カセツトテープ装置
40とが設けられており、前述のセーブスイツチ
又はロードスイツチの操作に対してはメモリパツ
ク38がカセツトテープ装置40に優先してセー
ブ又はロードの処理に供されるようになつてい
る。すなわち、セーブスイツチをオンすると、メ
モリパツク38が装着されていればこれに演奏デ
ータメモリ26の演奏情報がセーブされ、メモリ
パツク38が装着されていなければ自動的にカセ
ツトテープ装着40に切換えてこれに演奏情報が
セーブされる。このような自動切換動作は、ロー
ド処理に際してロードスイツチをオンした場合に
ついても同様にして行なわれる。
The external recording interface circuit 30 is provided to save performance information stored in the performance data memory 26 to external recording means and to load performance information from the external recording means to the performance data memory 26. be. Here, the external recording means includes a memory pack 38 which has a built-in RAM and is backed up by a battery, and a cassette tape device 40. It is designed to be used for save or load processing in priority to the cassette tape device 40. That is, when the save switch is turned on, the performance information in the performance data memory 26 will be saved in the memory pack 38 if it is installed, and if the memory pack 38 is not installed, it will automatically switch to the cassette tape installation 40 and play on it. The information will be saved. Such automatic switching operation is performed in the same way when the load switch is turned on during loading processing.

楽音形成回路32は、鍵盤からの鍵操作情報又
は演奏データメモリ26からの読出データに応じ
て楽音信号を形成するもので、形成された楽音信
号は出力アンプ42を介してスピーカ44に供給
され、音響に変換される。
The musical tone forming circuit 32 forms a musical tone signal according to key operation information from the keyboard or data read from the performance data memory 26, and the formed musical tone signal is supplied to the speaker 44 via the output amplifier 42. converted into sound.

テンポOSC34は、32分音符に対応する周期
でテンポクロツク信号を発生するもので、このテ
ンポクロツク信号は、後述のようにリズム音発生
のためのインタラプトルーチンを開始させるのに
使用される。
The tempo OSC 34 generates a tempo clock signal at a period corresponding to a 32nd note, and this tempo clock signal is used to start an interrupt routine for generating rhythm sounds as described below.

リズム音源回路36は、バスドラム、スネアド
ラム、シンバル、マスカラ…等の多数の打楽器音
源を含むもので、リズムデータメモリ24からの
読出データに応じて適宜の打楽器音源を駆動する
ことによりタクト音信号又はリズム音信号を発生
するようになつている。タクト音信号又はリズム
音信号は、出力アンプ42を介してスピーカ44
に供給され、音響に変換される。
The rhythm sound source circuit 36 includes a large number of percussion instrument sound sources such as a bass drum, snare drum, cymbal, mascara, etc., and generates a tact sound signal by driving an appropriate percussion instrument sound source according to the data read from the rhythm data memory 24. Or, it is designed to generate a rhythmic sound signal. The tact sound signal or rhythm sound signal is sent to the speaker 44 via the output amplifier 42.
and converted into sound.

上記した自動演奏装置は、記録スイツチをオン
したときは記録モードの動作が可能であり、再生
スイツチをオンしたときは再生モードの動作が可
能である。
The automatic performance device described above can operate in the recording mode when the record switch is turned on, and can operate in the reproduction mode when the playback switch is turned on.

記録モードの動作(第2図) 第2図A及びBは、記録モードの動作を説明す
るためのもので、Aがスタートスイツチをオンし
た場合を示し、Bがフイルインスイツチをオンし
たか又は鍵盤での押鍵開始に応じてエニーキーオ
ン信号が発生された場合を示す。
Operation in recording mode (Figure 2) Figures A and B are for explaining the operation in recording mode, and show the case where A turns on the start switch, and when B turns on the fill-in switch or This shows a case where an any key-on signal is generated in response to the start of a key press on the keyboard.

まず、Aの場合においては、時刻t1にて記録ス
イツチをオンすると、シンクロ待ち状態となり、
図示しない記録モード表示ランプが点灯する。次
に、時刻t2でスタートスイツチをオンしたものと
すると、記録状態となり、鍵盤で演奏を始める
と、その演奏情報が演奏データメモリ26に書込
まれるようになる。また、スピーカ44からは、
鍵盤演奏音が発音されると共に、時刻t2から1小
節相当の期間中4分音符のタイミングでタクト音
が発音される。このタクト発音期間中及び前述の
シンクロ待ち期間中は拍子ランプ(図示せず)が
1拍毎に点灯する。そして、タクト発音期間が終
ると、通常リズム(例えばワルツが選択されてい
ればワルツの通常リズム)がスタートし、スピー
カ44からは、リズム音も発音されるようにな
る。この通常リズムの演奏期間中は各小節頭で拍
子ランプが点灯する。
First, in case A, when the recording switch is turned on at time t1, it enters a synchronization wait state,
A recording mode display lamp (not shown) lights up. Next, when the start switch is turned on at time t2, the recording state is entered, and when a performance is started on the keyboard, the performance information is written into the performance data memory 26. Also, from the speaker 44,
At the same time as the keyboard performance sound is produced, a tact sound is produced at the timing of a quarter note during a period equivalent to one measure from time t2. During this tact sound generation period and during the synchronization waiting period described above, a beat lamp (not shown) lights up every beat. Then, when the tact sound generation period ends, a normal rhythm (for example, a normal waltz rhythm if waltz is selected) starts, and the speaker 44 also starts producing rhythm sounds. During the normal rhythm performance period, the beat lamp lights up at the beginning of each measure.

一方、Bの場合においては、時刻t1で記録スイ
ツチをオンすると、シンクロ待ちの状態となつて
記録モード表示ランプ及び拍子ランプが点灯する
ことは、Aの場合と同様である。そして、時刻t2
でフイルインスイツチをオンしたものとすると、
録音状態となり、1小節分はフイルインリズム
(例えばワルツが選択されていればワルツのフイ
ルインリズム)が演奏され、その後通常のリズム
が演奏される。このフイルインリズム及び通常リ
ズムの演奏期間中は各小節頭で拍子ランプが点灯
する。
On the other hand, in case B, when the recording switch is turned on at time t1, the synchronization wait state is entered and the recording mode display lamp and the beat lamp are turned on, as in case A. And time t2
Assuming that the file-in switch is turned on,
A recording state is entered, and a fill-in rhythm (for example, a waltz fill-in rhythm if waltz is selected) is played for one measure, and then a normal rhythm is played. During the performance period of the fill-in rhythm and the normal rhythm, the beat lamp lights up at the beginning of each measure.

また、時刻t2でエニーキーオン信号が発生され
た(鍵盤で押鍵開始した)ものとすると、録音状
態となつて各小節頭で拍子ランプが点灯すること
はフイルインスイツチのときと同じであるが、時
刻t2から通常リズムが演奏される。すなわち、B
の場合においては、タクト発音期間がなく、t2か
らフイルインリズム又は通常リズムがスタートす
る点でA場合と異なるものである。
Also, assuming that an any key-on signal is generated at time t2 (a key begins to be pressed on the keyboard), the recording mode is entered and the beat lamp lights up at the beginning of each measure, just as with the fill-in switch. , the normal rhythm is played from time t2. That is, B
Case A is different from case A in that there is no tact sounding period and the fill-in rhythm or normal rhythm starts from t2.

なお、A又はBのいずれの場合においても、記
録されるのは鍵盤演奏だけであり、タクト音又は
リズム演奏は記録されない。また、記録スイツチ
をオフすると、記録状態が解除されると共にリズ
ムがストツプする。
Note that in either case A or B, only the keyboard performance is recorded, and the tact sound or rhythm performance is not recorded. Furthermore, when the recording switch is turned off, the recording state is canceled and the rhythm is stopped.

再生モードの動作(第3図) 第3図A及びBは、再生モードの動作を説明す
るためのもので、Aがスタートスイツチをオンし
て記録したデータの場合を示し、Bがフイルイン
スイツチ操作又はエニーキーオン信号に基づいて
記録したデータの場合を示す。
Operation in playback mode (Figure 3) Figures A and B are for explaining the operation in playback mode. A shows data recorded by turning on the start switch, and B shows data recorded by turning on the fill-in switch. This shows the case of data recorded based on an operation or any key-on signal.

まず、Aの場合においては、時刻t1で再生スイ
ツチをオンすると、シンクロ待ち状態となり、図
示しない再生モード表示ランプが点灯する。次
に、時刻t2でスタートスイツチをオンしたものと
すると、再生状態となり、演奏データメモリ26
からの読出データに応じて鍵盤演奏音が再生され
る。この場合、時刻t2から1小節相当の期間中は
タクト音もリズム音も発生されず、前述した第2
図Aの場合にタクト発音期間中に鍵盤演奏音を発
生させたのであれば該鍵盤演奏者のみが再生され
る。このリズム無しの期間中及び前述のシンクロ
待ちの期間中は1拍毎に拍子ランプが点灯する。
そして、時刻t2から1小節相当のリズム無し期間
が経過すると、通常リズムの演奏が開始され、こ
の通常リズムの演奏期間中各小節頭で拍子ランプ
が点灯する。
First, in case A, when the playback switch is turned on at time t1, the synchronization wait state is entered, and a playback mode display lamp (not shown) lights up. Next, when the start switch is turned on at time t2, the playback state is entered and the performance data memory 26
The keyboard performance sound is reproduced in accordance with the read data from. In this case, neither the tact sound nor the rhythm sound is generated during a period equivalent to one measure from time t2, and the second
In the case of FIG. A, if the keyboard performance sound is generated during the tact sound generation period, only the keyboard player is reproduced. During this no-rhythm period and during the synchronization wait period described above, the beat lamp lights up every beat.
Then, when a no-rhythm period corresponding to one measure has elapsed from time t2, the normal rhythm performance is started, and the beat lamp is lit at the beginning of each measure during the normal rhythm performance period.

一方、Bの場合においては、時刻t1で再生スイ
ツチをオンすると、シンクロ待ち状態となつて再
生モード表示ランプ及び拍子ランプが点灯するこ
とは、Aの場合と同様である。そして、時刻t2で
スタートスイツチをオンしたものとすると、再生
状態となることはAの場合と同様であるが、時刻
t2から通常リズムの演奏が開始され、この通常リ
ズムの演奏期間中は各小節頭で拍子ランプが点灯
する。すなわち、Bの場合においては、リズム無
しの期間がなく、時刻t2から通常リズムがスター
トする点でAの場合と異なるものである。
On the other hand, in case B, when the playback switch is turned on at time t1, the synchronization wait state is entered and the playback mode display lamp and beat lamp are lit, as in case A. Then, if the start switch is turned on at time t2, the playback state will be the same as in case A, but at time
The normal rhythm performance starts from t2, and the time signature lamp lights up at the beginning of each measure during the normal rhythm performance period. That is, case B differs from case A in that there is no period without rhythm, and the normal rhythm starts from time t2.

なお、A又はBのいずれの場合においても、再
生スイツチをオフすると、再生状態が解除される
と共にリズムがストツプする。
In either case A or B, when the playback switch is turned off, the playback state is canceled and the rhythm is stopped.

次に、上記のような記録モード及び再生モード
の動作を可能にする各種ルーチンの説明に入る前
に、各種ルーチンで使用されるワーキングメモリ
22の詳細及び演奏データメモリ26内の記憶デ
ータフオーマツトを順次に説明する。
Next, before going into an explanation of the various routines that enable operations in the recording mode and playback mode as described above, the details of the working memory 22 used in the various routines and the storage data format in the performance data memory 26 will be explained. They will be explained in order.

ワーキングメモリ22の詳細 ワーキングメモリ22には、以下に列挙するよ
うなレジスタ、フラグ、カウンタ等として機能す
る部分が含まれている。
Details of Working Memory 22 The working memory 22 includes portions that function as registers, flags, counters, etc. as listed below.

(1) リズム種類レジスタRHYSEL これは、リズム種類選択スイツチにより選択
されたリズム種類を表わす種類データが格納さ
れるものである。
(1) Rhythm type register RHYSEL This register stores type data representing the rhythm type selected by the rhythm type selection switch.

(2) リズムデータレジスタRHYREG これは、リズムデータメモリ24から読出し
た1発音タイミング分のパターンデータ(タク
トパターンデータ又はリズムパターンデータ)
が格納されるもので、打楽器音源数分のビツト
位置を有し、各ビツト位置毎に“1”ならば発
音有りを、“0”ならば発音無しをそれぞれ指
示するようになつている。
(2) Rhythm data register RHYREG This is pattern data (takt pattern data or rhythm pattern data) for one sound timing read from the rhythm data memory 24.
is stored, and has bit positions corresponding to the number of percussion instrument sound sources, and for each bit position, "1" indicates that sound will be produced, and "0" indicates that sound will not be produced.

(3) 記録モードフラグRECMD これは、記録スイツチをオンすると“1”が
セツトされ、同スイツチをオフすると“0”が
セツトされるものである。
(3) Recording mode flag RECMD This is set to "1" when the recording switch is turned on, and is set to "0" when the switch is turned off.

(4) 記録開始イベントフラグRECEVT これは、記録スイツチがオフからオンに変化
したときに“1”がセツトされるものである。
(4) Recording start event flag RECEVT This is set to "1" when the recording switch changes from off to on.

(5) 記録終了イベントフラグRECOFFEVT これは、記録スイツチがオンからオフに変化
したときに“1”がセツトされるものである。
(5) Record end event flag RECOFFEVT This is set to "1" when the recording switch changes from on to off.

(6) 再生モードフラグPLYMD これは、再生スイツチをオンすると“1”が
セツトされ、同スイツチをオフすると“0”が
セツトされるものである。
(6) Playback mode flag PLYMD This is set to "1" when the playback switch is turned on, and set to "0" when the switch is turned off.

(7) 再生開始イベントフラグPRLYEVT これは、再生スイツチがオフからオンに変化
したとき“1”がセツトされるものである。
(7) Reproduction start event flag PRLYEVT This is set to "1" when the reproduction switch changes from off to on.

(8) 再生終了イベントフラグPLYOFFEVT これは、再生スイツチがオンからオフに変化
したとき“1”がセツトされるものである。
(8) Playback end event flag PLYOFFEVT This is set to "1" when the playback switch changes from on to off.

(9) シンクロ待ちフラグSYCWT これは、記録スイツチ又は再生スイツチのオ
ン操作に応じて“1”がセツトされるもので、
シンクロ待ち期間が終るまで“1”状態を続け
る。
(9) Synchronization wait flag SYCWT This is set to “1” in response to the ON operation of the record switch or playback switch.
It remains in the "1" state until the synchronization wait period ends.

(10) ダクトフラグTACT これは、記録スイツチのオン操作に応じて
“1”がセツトされるもので、“1”セツトの後
スタートスイツチがオンされればタクト発音期
間が終るまで“1”状態を続け、“1”セツト
の後フイルインスイツチがオンされるか又はエ
ニーキーオン信号が発生されればそれに応じて
“0”になる。
(10) Duct flag TACT This flag is set to "1" in response to the ON operation of the recording switch, and if the start switch is turned on after it is set to "1", it will remain "1" until the tact sounding period ends. After setting to "1", if the fill-in switch is turned on or any key-on signal is generated, the signal becomes "0".

(11) ノンリズムフラグNONRHY これは、再生モード時において演奏データメ
モリ26内の記憶データ中にタクト有りデータ
があれば“1”がセツトされるものである。
(11) Non-rhythm flag NONRHY This flag is set to "1" if there is tact data in the data stored in the performance data memory 26 in the playback mode.

(12) リズムランフラグRHYRUN これは、記録モード時又は再生モード時にお
いてスタートスイツチ又はフイルインスイツチ
のオン操作あるいはエニーキーオン信号の発生
に応じて“1”がセツトされるものである。
(12) Rhythm run flag RHYRUN This flag is set to "1" in response to turning on the start switch or fill-in switch or generating any key-on signal in recording mode or playback mode.

(13) ランイベントフラグRUNEVT これは、記録モード時又は再生モード時にお
いて上記のようにリズムランフラグRHRUN
を“1”にするようなイベントがあつたとき
“1”がセツトされるものである。
(13) Run event flag RUNEVT This is the rhythm run flag RHRUN as described above in recording mode or playback mode.
It is set to "1" when an event occurs that causes the value to become "1".

(14) エニーキーオンフラグANYKEY これは、エニーキーオン信号の発生に応じて
“1”がセツトされるものである。
(14) Any key on flag ANYKEY This flag is set to "1" in response to generation of any key on signal.

(15) フイルインフラグFILLIN これは、フイルインスイツチのオン操作に応
じて“1”がセツトされるもので、セツトされ
たときはその小節末で“0”となる。
(15) Fill-in flag FILLIN This flag is set to "1" when the fill-in switch is turned on, and when set, it becomes "0" at the end of the measure.

(16) スタートフラグSTARTSW これは、スタートスイツチのオン操作又はオ
フ操作に応じてそれぞれ“1”又は“0”がセ
ツトされるものである。
(16) Start flag STARTSW This flag is set to "1" or "0" depending on whether the start switch is turned on or off.

(17) 小節イベントフラグBEVT これは、小節の区切り目で“1”がセツトさ
れるものである。
(17) Bar event flag BEVT This is set to "1" at the break of a bar.

(18) 第1のテンポカウンタTCNT これは、テンポOSC34からのテンポクロ
ツク信号を計数する(すなわちインタラプトの
回数を数える)もので、0〜31のカウント値を
とり、カウント値が32になるタイミングでリセ
ツトされる。
(18) First tempo counter TCNT This counts the tempo clock signal from the tempo OSC 34 (that is, counts the number of interrupts), takes a count value from 0 to 31, and resets when the count value reaches 32. be done.

(19) 第2のテンポカウンタOTCNT これは、第1のテンポカウンタTCNTとカ
ウント値が異なるたびにTCNTと同じカウン
ト値がセツトされるもので、0〜31のカウント
値をとる。
(19) Second tempo counter OTCNT This is set to the same count value as TCNT every time the count value differs from the first tempo counter TCNT, and takes a count value of 0 to 31.

記憶データフオーマツト(第4図) 演奏データメモリ26内には、第4図Aに示す
ように、音色データTCD及びタクト有/無デー
タTACに続けて各鍵の操作に応じたキーオンデ
ータKON及びキーオフデータKOFが順次に記憶
される。また、このようなキーオン/オフデータ
配列中において、小節の区切り目には、縦線マー
クデータVLMが記憶され、データ配列の末尾に
は、エンドマークデータEMが記憶される。
Memory Data Format (Fig. 4) As shown in Fig. 4A, the performance data memory 26 contains tone data TCD and tact presence/absence data TAC, followed by key-on data KON and KON corresponding to each key operation. Key-off data KOF is stored sequentially. In addition, in such a key-on/off data array, vertical line mark data VLM is stored at the breakpoint between measures, and end mark data EM is stored at the end of the data array.

音色データTCDは、第4図Bに示すように、
2バイトのデータからなる。1バイト目は、
MSB(最上位ビツト)が“1”であり、この
MSBより下位のビツトが識別コード(これはス
タートマークでもある)を表わす。また、2バイ
ト目は、MSBが“0”であり、このMSBより下
位のビツトが音色名に対応する音色番号を表わ
す。
The tone data TCD is as shown in Figure 4B.
Consists of 2 bytes of data. The first byte is
The MSB (most significant bit) is “1” and this
The bits below the MSB represent an identification code (also a start mark). Furthermore, the MSB of the second byte is "0", and the bits lower than this MSB represent the timbre number corresponding to the timbre name.

タクト有/無データTACは、第4図Cに示す
ように、1バイトのデータからなり、そのMSB
が“1”で、このMSBより下位6ビツトが識別
コードを表わし、LSB(最下位ビツト)が“1”
でタクト有りを、“0”でタクト無しをそれぞれ
表わす。
The takt presence/absence data TAC consists of 1 byte of data, as shown in Figure 4C, and its MSB
is “1”, the lower 6 bits from this MSB represent the identification code, and the LSB (least significant bit) is “1”.
"0" indicates that there is a takt time, and "0" indicates that there is no takt time.

キーオンデータKONは、第4図Dに示すよう
に、4バイトのデータからなる。1バイト目は、
MSBが“1”であり、このMSBより下位のビツ
トが識別コードを表わす。2バイト目は、MSB
が“0”であり、このMSBより下位のビツトが
キーオンタイミングを第1のテンポカウタ
TCNTのカウント値で表わす。3バイト目は、
MSBが“0”であり、このMSBより下位のビツ
トがキーコード(オクターブコード及びノートコ
ード)を表わす。4バイト目は、MSBが“0”
であり、このMSBより下位のビツトが発音チヤ
ンネル番号を表わす。各キーオンデータKONに
発音チヤネル番号を付与しておくことにより、各
キーオンデータKONを発音チヤンネル番号に対
応した発音チヤンネルに割当てて発音させること
ができる。
The key-on data KON consists of 4 bytes of data, as shown in FIG. 4D. The first byte is
The MSB is "1" and the bits lower than this MSB represent an identification code. The second byte is the MSB
is “0”, and the bits lower than this MSB set the key-on timing to the first tempo counter.
Expressed as a TCNT count value. The third byte is
The MSB is "0" and the bits lower than this MSB represent the key code (octave code and note code). The MSB of the 4th byte is “0”
The bits below this MSB represent the sound channel number. By assigning a pronunciation channel number to each key-on data KON, each key-on data KON can be assigned to a pronunciation channel corresponding to the pronunciation channel number and generated.

キーオフデータKOFは、第4図Eに示すよう
に、3バイトのデータからなる。1ビツト目は、
MSBが“1”であり、このMSBより下位のビツ
トが識別コードを表わす。2バイト目は、MSB
が“0”であり、このMSBより下位のビツトが
キーオフタイミングを第1のテンポカウンタ
TCNTのカウント値で表わす。3バイト目は、
MSBが“0”であり、このMSBより下位のビツ
トが発音チヤンネル番号を表わす。各キーオフデ
ータKOFに発音チヤンネル番号を付与しておく
ことにより、各発音チヤンネル毎に発音中の音を
消去することができる。
The key-off data KOF consists of 3 bytes of data, as shown in FIG. 4E. The first bit is
The MSB is "1" and the bits lower than this MSB represent an identification code. The second byte is the MSB
is “0”, and the bits lower than this MSB set the key-off timing to the first tempo counter.
Expressed as a TCNT count value. The third byte is
The MSB is "0", and the bits lower than this MSB represent the sound generation channel number. By assigning a sound generation channel number to each key-off data KOF, it is possible to erase the sound being generated for each sound generation channel.

縦線マークデータVLMは、第4図Fに示すよ
うに、1バイトのデータからなり、そのMSBが
“1”で、このMSBより下位のビツトが識別コー
ドを表わす。
As shown in FIG. 4F, the vertical line mark data VLM consists of 1 byte of data, the MSB of which is "1", and the bits lower than this MSB represent an identification code.

エンドマークデータEMは、第4図Gに示すよ
うに、1バイトのデータからなり、そのMSBが
“1”で、このMSBより下位のビツトが識別コー
ドを表わす。
As shown in FIG. 4G, the end mark data EM consists of 1 byte of data, the MSB of which is "1", and the bits lower than this MSB represent an identification code.

メインルーチン(第5図) 次に、第5図を参照してメインルーチンを説明
する。
Main Routine (FIG. 5) Next, the main routine will be explained with reference to FIG.

まず、ステツプ50では、前述したような各種ス
イツチ類を走査して操作情報を取込む。そして、
ステツプ52に移り、各種スイツチ類の状態(オン
又はオフ)あるいは変化(オンイベント又はオフ
イベント)に応じて前述したような各種レジス
タ、フラグ等をセツトする。
First, in step 50, various switches such as those described above are scanned and operation information is acquired. and,
Proceeding to step 52, various registers, flags, etc. as described above are set in accordance with the states (on or off) or changes (on events or off events) of various switches.

次に、ステツプ54に移り、鍵盤演奏音発生のた
めの制御処理を行なう。すなわち、音色選択スイ
ツチの操作に応じた音色データを楽音形成回路3
2に供給して音色を設定すると共に、鍵盤での鍵
操作に応じたキーオンデータ又はキーオフデータ
を楽音形成回路32に供給して発音チヤンネル割
当て等を制御することにより鍵盤演奏音発生を制
御する。そして、ステツプ56に移る。
Next, the process moves to step 54, where control processing for generating keyboard performance sounds is performed. In other words, the tone forming circuit 3 outputs tone data corresponding to the operation of the tone selection switch.
2 to set the timbre, and also supply key-on data or key-off data corresponding to key operations on the keyboard to a musical tone forming circuit 32 to control sound generation channel assignment, etc., thereby controlling the generation of keyboard performance sounds. Then, proceed to step 56.

ステツプ56では、記録開始イベントフラグ
RECEVT又は再生開始イベントフラグPLYEVT
が“1”か調べることにより記録開始イベント又
は再生開始イベントが有るか判定する。この判定
の結果、イベント有り(Y)ならば、ステツプ58に移
る。
In step 56, the recording start event flag is set.
RECEVT or playback start event flag PLYEVT
It is determined whether there is a recording start event or a playback start event by checking whether "1" is present. If the result of this determination is that there is an event (Y), the process moves to step 58.

ステツプ58では、記録モードフラグRECMDが
“1”か調べることにより記録モードか判定する。
この判定の結果、記録モードである(Y)ならば、ス
テツプ60に移り、演奏データメモリ26に音色デ
ータ(スタートデータ)TCDを記憶させる。
In step 58, it is determined whether the recording mode is selected by checking whether the recording mode flag RECMD is "1".
As a result of this determination, if it is the recording mode (Y), the process moves to step 60 and the tone color data (start data) TCD is stored in the performance data memory 26.

ステツプ58の判定において、記録モードでない
(N)ならば、再生モードであるので、ステツプ62に
移り、演奏データメモリ26から音色データ
TCDを読出して楽音形成回路32に供給し、音
色を設定する。
In the judgment of step 58, it is not recording mode.
If (N), it is the playback mode, so the process moves to step 62, and the tone data is stored from the performance data memory 26.
The TCD is read out and supplied to the tone forming circuit 32 to set the tone.

ステツプ60又は62を終つたときは、ステツプ64
に移り、テンポOSC34を制御してインタラプ
トを許容する。また、第1及び第2のテンポカウ
ンタTCNT及びOTCNTをリセツトすると共に、
小節イベントフラグBEVTをリセツトする。こ
れらの処理は、記録又は再生の開始時における初
期設定として必要なものである。この後、ステツ
プ66に移る。なお、ステツプ56の判定において、
イベント無し(N)ならば、ステツプ58〜64を経ずに
ステツプ66に移る。
If you have completed step 60 or 62, proceed to step 64.
Then, the tempo OSC 34 is controlled to allow interrupts. Also, while resetting the first and second tempo counters TCNT and OTCNT,
Reset the measure event flag BEVT. These processes are necessary as initial settings at the start of recording or playback. After this, the process moves to step 66. In addition, in the judgment at step 56,
If there is no event (N), the process moves to step 66 without going through steps 58-64.

ステツプ66では、記録終了イベントフラグ
RECOFFEVT又は再生終了イベントフラグ
PLYOFFEVTが“1”か調べることにより記録
終了イベント又は再生終了イベント有りか判定す
る。この判定の結果、イベント有り(Y)ならば、ス
テツプ68に移る。
In step 66, the recording end event flag is
RECOFFEVT or playback end event flag
By checking whether PLYOFFEVT is "1", it is determined whether there is a recording end event or a playback end event. If the result of this determination is that there is an event (Y), the process moves to step 68.

ステツプ68では、RECOFFEVTが“1”か調
べることにより記録終了イベントか判定する。こ
の判定の結果が肯定的(Y)ならば、記録終了である
ので、ステツプ70に移り、演奏データメモリ26
にエンドマークデータEMを記憶させる。そし
て、ステツプ72に移る。なお、ステツプ68の判定
で記録終了イベントでない(N)ならば、再生終了イ
ベントであるので、ステツプ70を経ずにステツプ
72に移る。
In step 68, it is determined whether it is a recording end event by checking whether RECOFFEVT is "1". If the result of this judgment is affirmative (Y), recording has ended, and the process moves to step 70, where the performance data memory 26
Store end mark data EM in . Then, proceed to step 72. Note that if the judgment in step 68 is that it is not a recording end event (N), it is a playback end event, so step 70 can be skipped.
Move to 72.

ステツプ72では、テンポOCS34を制御して
インタラプトを禁止する。これは、記録又は再生
が終了したために必要な処理である。その後、ス
テツプ74に移る。なお、ステツプ66の判定におい
て、記録終了又は再生終了のいずれのイベントも
なかつた(N)ならば、ステツプ68〜72を経ずにステ
ツプ74に移る。
In step 72, the tempo OCS 34 is controlled to prohibit interrupts. This is a necessary process because recording or playback has ended. Thereafter, the process moves to step 74. Incidentally, in the determination at step 66, if there is no event of either the end of recording or the end of reproduction (N), the process proceeds to step 74 without passing through steps 68-72.

ステツプ74は、オートプレイのサブルーチンで
あつて、記録又は再生に関する各種処理を実行す
るものであるが、詳しくは第7図について後述す
る。ステツプ74の処理を終ると、ステツプ50に戻
り、上記のような処理を繰返す。
Step 74 is an autoplay subroutine for executing various processing related to recording or reproduction, which will be described in detail later with reference to FIG. 7. When the process of step 74 is completed, the process returns to step 50 and the above process is repeated.

インタラプトルーチン(第6図) 次に、第6図を参照してリズム音発生のための
インタラプトルーチンを説明する。
Interrupt Routine (FIG. 6) Next, an interrupt routine for generating rhythm sounds will be explained with reference to FIG.

このインタラプトルーチンは、前述したように
テンポOCS34がテンポクロツク信号を発生す
るたびに(すなわち32分音符タイミング毎に)開
始されるものである。まず、ステツプ80では、リ
ズムデータレジスタRHYREGにすでに読出され
ている1発音タイミング分のパターンデータをリ
ズム音源回路36に出力する。この結果、該パタ
ーンデータが1又は複数の打楽器音源の発音を指
示するものであれば、指示された打楽器音源が打
楽器音信号を発生し、スピーカ44からは打楽器
音が発生される。なお、リズムデータレジスタ
RHYREGへのパターンデータ読出しについて
は、第9図を参照して後述する。
This interrupt routine is started each time the tempo OCS 34 generates a tempo clock signal (ie, at every 32nd note timing), as described above. First, in step 80, pattern data for one sound generation timing, which has already been read out to the rhythm data register RHYREG, is output to the rhythm sound source circuit 36. As a result, if the pattern data instructs one or more percussion instrument sound sources to produce sound, the instructed percussion instrument sound source generates a percussion instrument sound signal, and the speaker 44 generates a percussion instrument sound. In addition, the rhythm data register
Pattern data reading to RHYREG will be described later with reference to FIG.

この後、ステツプ82では、第1のテンポカウン
タTCNTのカウント値を1アツプし、しかる後
第5図のメインルーチンにリターンする。
Thereafter, in step 82, the count value of the first tempo counter TCNT is incremented by 1, and then the process returns to the main routine of FIG.

オートプレイのサブルーチン(第7図) 次に、第7図を参照してオートプレイのサブル
ーチンを説明する。
Autoplay Subroutine (FIG. 7) Next, the autoplay subroutine will be explained with reference to FIG.

まず、ステツプ90では、PLYEVTが“1”か
調べることにより再生開始イベント有りか判定す
る。この判定の結果が否定的(N)であれば、ステツ
プ92に移り、RECEVTが“1”か調べることに
より記録開始イベント有りか判定する。この判定
の結果、記録開始イベント有り(Y)ならば、ステツ
プ94に移る。
First, in step 90, it is determined whether a playback start event has occurred by checking whether PLYEVT is "1". If the result of this determination is negative (N), the process moves to step 92, and it is determined whether there is a recording start event by checking whether RECEVT is "1". As a result of this determination, if there is a recording start event (Y), the process moves to step 94.

ステツプ94では、シンクロ待ちフラグSYCWT
に“1”をセツトすると共に、タクトフラグ
TACTに“1”をセツトする。そして、ステツ
プ96によりRECEVTを“0”にしてからステツ
プ98に移る。なお、ステツプ92の判定結果が否定
的(N)であれば、ステツプ94及び96を経ずにステツ
プ98に移る。
In step 94, the synchronization wait flag SYCWT is set.
is set to “1” and the tact flag is set to “1”.
Set TACT to “1”. Then, in step 96, RECEVT is set to "0", and then the process moves to step 98. Note that if the determination result in step 92 is negative (N), the process moves to step 98 without going through steps 94 and 96.

ステツプ98では、SYCWTが“1”か調べるこ
とによりシンクロ待ち状態か判定する。上記のよ
うにステツプ94を経たときは、シンクロ待ち状態
である(Y)と判定されるので、ステツプ100に移り、
第8図に示すようなスタート制御のサブルーチン
を実行する。
In step 98, it is determined whether the synchronization wait state is established by checking whether SYCWT is "1". When step 94 is passed as described above, it is determined that the synchronization wait state is reached (Y), so the process moves to step 100.
A start control subroutine as shown in FIG. 8 is executed.

第8図のサブルーチンにおいて、ステツプ102
では、エニーキーオンフラグANYKEYが“1”
か調べることにより鍵盤での押鍵開始か判定す
る。この判定結果が否定的(N)であれば、ステツプ
104に移り、フイルインフラグFILLINが“1”
か調べることによりフイルインスイツチオンか判
定する。この判定結果が否定的(N)であれば、ステ
ツプ106に移り、スタートフラグSTARTSWが
“1”か調べることによりスタートスイツチオン
か判定する。そして、この判定結果が否定的(N)で
あれば、第7図のサブルーチンにリターンし、ス
テツプ108を実行する。
In the subroutine of FIG. 8, step 102
Then, any key on flag ANYKEY is “1”
By checking this, it is determined whether a key has started to be pressed on the keyboard. If this judgment result is negative (N), the step
Move to 104, fill flag FILLIN is “1”
Determine whether the switch is filled in by checking whether the switch is turned on or not. If the result of this determination is negative (N), the process moves to step 106, and it is determined whether the start switch is on by checking whether the start flag STARTSW is "1". If the result of this determination is negative (N), the process returns to the subroutine shown in FIG. 7, and step 108 is executed.

ステツプ108では、リズムランフラグ
RHYRUNが“1”か判定する。上記のようにス
テツプ100における判定結果がいずれも否定的で
あつたときは、RHYRUNが“1”でない(N)と判
定されるので、第5図のメインルーチンにリター
ンする。
At step 108, the rhythm run flag
Determine whether RHYRUN is “1”. As mentioned above, when all the determination results in step 100 are negative, it is determined that RHYRUN is not "1" (N), and the process returns to the main routine of FIG.

上記のようにして記録開始イベントがあつた
後、シンクロ待ち状態が継続しているときに、ス
タートスイツチをオンした場合(これは第2図A
の場合に相当する)には、STARTSWに“1”
がセツトされる。このため、第8図のステツプ
106での判定結果が肯定的(Y)となり、ステツプ
110、112、114を順次に実行する。
If the start switch is turned on while the synchronization wait state continues after the recording start event occurs as described above (this is shown in Figure 2A).
), set STARTSW to “1”.
is set. For this reason, the steps in Figure 8
The judgment result at 106 is positive (Y), and the step
Execute steps 110, 112, and 114 in sequence.

スツテツプ110では、RHYRUNに“1”をセ
ツトし、ステツプ112では、RUNEVT(ランイベ
ントフラグ)に“1”をセツトし、ステツプ114
では、SYCWTに“0”をセツトする。そして、
第7図のサブルーチンにリターンし、ステツプ
108においてRHYRUNが“1”か判定する。こ
の結果、“1”である(Y)と判定されるので、ステ
ツプ116に移る。
In step 110, RHYRUN is set to "1", in step 112, RUNEVT (run event flag) is set to "1", and in step 114
Now, set SYCWT to "0". and,
Return to the subroutine in Figure 7 and proceed to the step
At step 108, it is determined whether RHYRUN is “1”. As a result, it is determined that it is "1" (Y), so the process moves to step 116.

ステツプ116は、リズムデータ読出しのサブル
ーチンであり、リズムデータメモリ24からリズ
ムデータレジスタRHYREGにパターンデータ等
を読出して前述のインタラプトによるリズム音発
生等を可能にするためのものであるが、詳しくは
第9図について後述する。ステツプ116の処理を
終ると、ステツプ118に移る。
Step 116 is a subroutine for reading rhythm data, and is for reading pattern data etc. from the rhythm data memory 24 into the rhythm data register RHYREG to enable generation of rhythm sounds by the above-mentioned interrupt. Figure 9 will be described later. When the process of step 116 is completed, the process moves to step 118.

ステツプ118では、RECMDが“1”か調べる
ことにより記録モードか判定する。今の例では、
記録モードである(Y)と判定されるので、ステツプ
120に移り、RUNEVTが“1”か判定する。
RUNEVTは、先にステツプ112(第8図)で
“1”にセツトされているので、判定結果は肯定
的(Y)となり、ステツプ112に移る。
In step 118, it is determined whether the recording mode is selected by checking whether RECMD is "1". In the current example,
It is determined that you are in recording mode (Y), so step
Move to 120 and determine whether RUNEVT is "1".
Since RUNEVT was previously set to "1" in step 112 (FIG. 8), the determination result is affirmative (Y) and the process moves to step 112.

ステツプ122では、TACTが“1”か判定す
る。TACTは、先にステツプ94で“1”となつ
ているので、判定結果は肯定的(Y)となり、ステツ
プ124に移る。このステツプ124では、第4図Aに
示したように音色データTCDの次にタクト有り
データ(タクト有/無データTACにおいてLSB
を“1”としたもの)を記憶する。そして、ステ
ツプ126によりRUNEVTを“0”にしてからス
テツプ128に移る。
In step 122, it is determined whether TACT is "1". Since TACT was previously set to "1" in step 94, the determination result is affirmative (Y) and the process moves to step 124. In this step 124, as shown in FIG.
is set to "1"). Then, in step 126, RUNEVT is set to "0", and then the process moves to step 128.

ステツプ128では、鍵盤での鍵操作に応じて演
奏データメモリ26にキーオンデータKON又は
キーオフデータKOFを記憶させ、しかる後第5
図のメインルーチンにリターンする。
In step 128, key-on data KON or key-off data KOF is stored in the performance data memory 26 in accordance with key operations on the keyboard, and then the fifth key-off data KOF is stored in the performance data memory 26.
Return to the main routine shown in the figure.

この後、再び第7図のサブルーチンに入ると、
ステツプ90、92、98の判定結果はいずれも否定的
(N)となり、ステツプ108の判定結果は肯定的(Y)と
なる。そして、ステツプ116を経てステツプ118に
移る。このステツプ118の判定結果は、前回同様
に肯定的(Y)であるので、ステツプ120に移り、
RUNEVTが“1”か判定する。RUNEVTは、
先にステツプ126で“0”となつているので、判
定結果は否定的(Y)となり、ステツプ128に移る。
After this, when the subroutine in Figure 7 is entered again,
The results of steps 90, 92, and 98 are all negative.
(N), and the determination result at step 108 is affirmative (Y). Then, the process moves to step 118 via step 116. The judgment result at step 118 is positive (Y) as before, so the process moves to step 120.
Determine whether RUNEVT is “1”. RUNEVT is
Since it was previously determined to be "0" in step 126, the determination result is negative (Y) and the process moves to step 128.

ステツプ128では、前回同様に、鍵盤での鍵操
作に応じたキーオンデータKON又はキーオフデ
ータKOFを記憶し、第5図のメインルーチンに
リターンする。
At step 128, as before, key-on data KON or key-off data KOF corresponding to the key operation on the keyboard is stored, and the process returns to the main routine shown in FIG.

この後は、第7図のサブルーチンに入るたびに
上記したと同様の処理が繰返され、演奏データメ
モリ26には第4図Aに示したようにタクト有り
データの後に順次にキーオンデータKON、キー
オフデータKOF、縦線マークデータLVM等の演
奏データが記憶される。
After this, the same process as described above is repeated every time the subroutine shown in FIG. Performance data such as data KOF and vertical line mark data LVM are stored.

ところで、スタートスイツチをオンする代りに
フイルインスイツチをオンしたか又はエニーキー
オン信号を発生させた場合(これは第2図Bの場
合に相当する)には、フイルインフラグFILLIN
又はエニーキーオンフラグANYKEYに“1”が
セツトされる。このため、第8図のステツプ102
又は104の判定結果が肯定的(Y)となり、ステツプ
130に移る。
By the way, if you turn on the fill-in switch or generate any key-on signal instead of turning on the start switch (this corresponds to the case in Figure 2 B), the fill-in flag FILLIN
Or the any key on flag ANYKEY is set to "1". For this reason, step 102 in FIG.
Or the judgment result of 104 becomes positive (Y) and the step
Move to 130.

ステツプ130では、TACTを“0”にする。こ
れは、前述のスタートスイツチオンの場合と異な
るところである。この後、ステツプ110、112、
114を順次に実行しているから第7図のステツプ
108に移る。
In step 130, TACT is set to "0". This is different from the case of the start switch described above. After this, steps 110, 112,
114 are executed sequentially, so the steps in Figure 7
Move to 108.

ステツプ108、116、118、120は、前述のスター
トスイツチオンの場合と同様に実行される。そし
て、ステツプ122において、TACTが“1”か判
定すると、先にステツプ130でTACTを“0”に
してあるので、判定結果は否定的(N)となり、ステ
ツプ132に移る。
Steps 108, 116, 118 and 120 are performed in the same manner as for the start switch described above. Then, in step 122, when it is determined whether TACT is "1", since TACT was previously set to "0" in step 130, the determination result is negative (N), and the process moves to step 132.

ステツプ132では、第4図Aに示したように音
色データTCDの次にタクト無しデータ(タクト
有/無データTACにおいてLSBを“0”とした
もの)を記憶する。そして、ステツプ126により
RUNEVTを“0”にしてからステツプ128を実
行する。なお、ステツプ128を実行するたびに演
奏データメモリ26に鍵操作に応じた演奏データ
が記憶されることは、前述のスタートスイツチオ
ンの場合と同様である。
In step 132, as shown in FIG. 4A, next to the tone color data TCD, takt-free data (takt presence/no-takt data TAC with LSB set to "0") is stored. Then, by step 126
After setting RUNEVT to "0", execute step 128. Note that, each time step 128 is executed, the performance data corresponding to the key operation is stored in the performance data memory 26, as in the case of turning on the start switch described above.

上記したのは、主として記録モードに関する処
理であるが、再生モードに関する処理は次の通り
である。
The above-mentioned processing is mainly related to the recording mode, but the processing related to the playback mode is as follows.

ステツプ90において、PLYEVTが“1”か判
定すると、その判定結果は肯定的(Y)となり、ステ
ツプ140に移る。このステツプ140では、SYCWT
に“1”をセツトする。そして、ステツプ142に
よりPLYEVTを“0”にしてからステツプ144に
移る。
In step 90, if it is determined whether PLYEVT is "1", the result of the determination is affirmative (Y), and the process moves to step 140. In this step 140, SYCWT
Set “1” to “1”. Then, in step 142, PLYEVT is set to "0", and then the process moves to step 144.

ステツプ144では、演奏データメモリ26内の
記憶データ中にタクト有りデータが有るか判定す
る。この判定結果が肯定的(Y)であれば、ステツプ
146に移り、ノンリズムフラグNONRHYに“1”
をセツトする。そして、ステツプ98に移る。な
お、ステツプ144の判定結果が否定的(N)であつた
ときは、ステツプ146を経ずにステツプ98に移る。
In step 144, it is determined whether there is data with tact among the data stored in the performance data memory 26. If this judgment result is positive (Y), the step
Move to 146, non-rhythm flag NONRHY is “1”
Set. Then move on to step 98. Note that if the determination result in step 144 is negative (N), the process proceeds to step 98 without passing through step 146.

ステツプ98では、SYCWTが“1”か判定す
る。上記のようにステツプ140を経たときは、
“1”である(Y)と判定されるので、ステツプ100に
移る。
In step 98, it is determined whether SYCWT is "1". When you go through step 140 as above,
Since it is determined that it is "1" (Y), the process moves to step 100.

ステツプ100では、記録モードに関して前述し
たと同様にしてステツプ102、104、106(第8図)
を順次に実行するが、いずれの判定結果も否定的
(N)であれば、第7図のサブルーチンにリターン
し、ステツプ10を実行する。
At step 100, steps 102, 104, and 106 (FIG. 8) are performed in the same manner as described above regarding the recording mode.
are executed sequentially, but all judgment results are negative.
If (N), the process returns to the subroutine shown in FIG. 7 and executes step 10.

ステツプ108では、RHYRUNが“1”か判定
するが、上記のようにステツプ100における判定
結果がいずれも否定的であつたときは、
RHYRUNが“0”であるので、第5図のメイン
ルーチンにリターンする。
In step 108, it is determined whether RHYRUN is "1", but if all the determination results in step 100 are negative as described above,
Since RHYRUN is "0", the process returns to the main routine shown in FIG.

上記のようにして再生開始イベントあつた後、
シンクロ待ち状態が継続しているときに、スター
トスイツチがオンされると、STARTSWに“1”
がセツトされる。このため、記録モードに関して
前述したと同様にして第8図のステツプ106での
判定結果が肯定的(Y)となり、ステツプ110、112、
114を順次に実行する。この結果、RHYRUN及
びRUNEVTはいずれも“1”となり、SWCWT
は“0”(シンクロ待ち状態解除)となる。
After the playback start event occurs as described above,
If the start switch is turned on while the synchronization wait state continues, STARTSW is set to “1”.
is set. Therefore, in the same manner as described above regarding the recording mode, the determination result at step 106 in FIG. 8 becomes affirmative (Y), and steps 110, 112,
114 in sequence. As a result, both RHYRUN and RUNEVT become “1” and SWCWT
becomes “0” (synchronization wait state released).

次に、第7図のステツプ108において、
RHYRUNが“1”か判定すると、“1”である
ので、ステツプ116に移る。このステツプ116で
は、リズムデータメモリ24からRHYREGにパ
ターンデータ等を読出して前述のインタラプトに
よるリズム音発生等を可能にするが、詳しくは第
9図について後述する。この後、ステツプ118に
移る。
Next, in step 108 of FIG.
When it is determined whether RHYRUN is "1", it is "1", so the process moves to step 116. In this step 116, pattern data and the like are read out from the rhythm data memory 24 to RHYREG to enable generation of rhythm sounds by the above-mentioned interrupt, which will be described in detail later with reference to FIG. After this, the process moves to step 118.

ステツプ118では、RECMDが“1”か判定す
る。今の例では、再生モードであるので、判定結
果は否定的(N)となり、ステツプ148に移る。
In step 118, it is determined whether RECMD is "1". In the present example, since the mode is playback mode, the determination result is negative (N) and the process moves to step 148.

ステツプ148では、再生モードフラグPLYMD
が“1”か判定する。この判定結果は肯定的(Y)で
あるので、ステツプ150に移る。
In step 148, the playback mode flag PLYMD is set.
is “1”. Since this determination result is positive (Y), the process moves to step 150.

ステツプ150では、演奏データメモリ26から
演奏データを読出して楽音形成回路32に供給
し、楽音発生を制御する。この結果、鍵盤演奏の
再生が開始される。ステツプ150が終ると、第5
図のメインルーチンにリターンする。
In step 150, performance data is read from the performance data memory 26 and supplied to the musical tone forming circuit 32 to control musical tone generation. As a result, reproduction of the keyboard performance is started. After completing step 150, the fifth
Return to the main routine shown in the figure.

この後、再び第7図のサブルーチンに入ると、
ステツプ90、92、98の判定結果はいずれも否定的
(N)となり、ステツプ108の判定結果は肯定的(Y)と
なる。そして、ステツプ116を経てステツプ118に
移ると、この判定結果は前回同様に否定的(N)であ
るので、ステツプ148に移る。
After this, when the subroutine in Figure 7 is entered again,
The results of steps 90, 92, and 98 are all negative.
(N), and the determination result at step 108 is affirmative (Y). Then, when the process moves to step 118 via step 116, the result of this determination is negative (N) as before, so the process moves to step 148.

ステツプ148では、前回同様に再生モードであ
る(Y)と判定されるので、ステツプ150に移る。こ
のステツプ150では、前回同様に、演奏データメ
モリ26から演奏データを読出して楽音形成回路
32に供給し、楽音発生を制御する。そして、第
5図のメインルーチンにリターンする。
At step 148, it is determined that the playback mode is in effect (Y) as before, so the process moves to step 150. In step 150, as in the previous step, performance data is read from the performance data memory 26 and supplied to the musical tone forming circuit 32 to control musical tone generation. Then, the process returns to the main routine shown in FIG.

この後は、第7図のサブルーチンに入るたびに
上記したと同様の処理が繰返され、演奏データメ
モリ26の記憶データに基づいて鍵盤演奏再生が
進行する。
Thereafter, the same processing as described above is repeated each time the subroutine shown in FIG. 7 is entered, and the keyboard performance reproduction proceeds based on the data stored in the performance data memory 26.

なお、記録開始後に記録スイツチをオフした場
合又は再生開始後に再生スイツチをオフした場合
は、第5図のステツプ72によりインタラプトが禁
止されるのでリズム音発生が停止すると共に、第
7図のステツプ118及び148の判定結果がいずれも
否定的(N)となるので記録又は再生が停止する。
Note that if the recording switch is turned off after recording has started, or if the playback switch is turned off after playback has started, interrupts are prohibited at step 72 in FIG. 5, so rhythm sound generation stops, and step 118 in FIG. Since the determination results of 148 and 148 are both negative (N), recording or reproduction is stopped.

リズムデータ読出しのサブルーチン(第9図) 次に、第9図を参照してリズムデータ読出しの
サブルーチンを説明する。
Subroutine for reading rhythm data (FIG. 9) Next, the subroutine for reading rhythm data will be explained with reference to FIG.

まず、ステツプ160では、第1のテンポカウン
タTCNTと第2のテンポカウンタOTCNTとで
カウント値が等しいか判定する。TCNTのカウ
ント値は、第6図のインタラプトルーチンに入る
と(インタラプトがかかると)、1アツプして
OTCNTのカウント値より1だけ大きくなるの
で、ステツプ160の判定は、換言すれば、インタ
ラプトの直後以外のタイミングかの判定である。
この判定の結果、インタラプトの直後以外のタイ
ミングである(Y)ならば、この後で述べるような処
理を行なわずに第7図のサブルーチンにリターン
する。
First, in step 160, it is determined whether the count values of the first tempo counter TCNT and the second tempo counter OTCNT are equal. When the interrupt routine shown in Figure 6 is entered (when an interrupt occurs), the TCNT count value increases by 1.
Since it is 1 greater than the count value of OTCNT, the determination at step 160 is, in other words, a determination of whether the timing is other than immediately after the interrupt.
As a result of this determination, if the timing is other than immediately after the interrupt (Y), the process returns to the subroutine of FIG. 7 without performing the processing described later.

これに対し、ステツプ160の判定結果が否定的
(N)であれば、インタラプトの直後のタイミングで
あるので、ステツプ162に移る。このステツプ162
では、TCNTのカウント値がOTCNTのそれよ
り大きいか判定する。TCNTのカウント値は、
小節末毎に31から0になり、OTCNTのカウント
値31より小さくなるので、ステツプ162の判定は、
換言すれば、小節末以外のタイミングかの判定で
ある。この判定の結果、小節末以外のタイミング
である(Y)ならば、ステツプ164に移り、小節イベ
ントフラグBEVTを“0”にする。
In contrast, the judgment result in step 160 is negative.
If (N), the timing is immediately after the interrupt, so the process moves to step 162. This step 162
Now, it is determined whether the count value of TCNT is larger than that of OTCNT. The count value of TCNT is
It changes from 31 to 0 at the end of each measure, and is smaller than the OTCNT count value of 31, so the judgment in step 162 is:
In other words, it is determined whether the timing is other than the end of a measure. As a result of this determination, if the timing is other than the end of the measure (Y), the process moves to step 164 and the measure event flag BEVT is set to "0".

次に、ステツプ166に移り、TCNTのカウント
値をOTCNTにセツトする。この結果、OTCNT
のカウント値はTCNTのそれと等しくなる。こ
の後、ステツプ168に移る。
Next, proceeding to step 166, the count value of TCNT is set to OTCNT. As a result, OTCNT
The count value of will be equal to that of TCNT. After this, the process moves to step 168.

ステツプ168では、TACTが“1”か判定す
る。ここで、TACTが“1”である(Y)と判定さ
れるのは、記録モード時にスタートスイツチをオ
ンした場合(第2図Aに対応)であり、このよう
に判定されると、ステツプ170に移る。
In step 168, it is determined whether TACT is "1". Here, TACT is determined to be "1" (Y) when the start switch is turned on in the recording mode (corresponding to FIG. 2A). Move to.

ステツプ170では、TCNTのカウント値に基づ
いてリズムデータメモリ24から1発音タイミン
グ分のタクトパターンデータを読出して
RHYREVに転送する。このときのタクトパター
ンデータが特定の打楽器音源の発音を指示するも
のであれば、次のインタラプトの処理によりスピ
ーカ44からタクト音が発生される。ステツプ
170の処理が終ると、第7図のサブルーチンにリ
ターンする。なお、第9図のサブルーチンに入る
たびにステツプ170を実行することにより前述し
たような4分音符タイミング毎のタクト音発生が
可能となる。
In step 170, tact pattern data for one tone generation timing is read out from the rhythm data memory 24 based on the count value of TCNT.
Transfer to RHYREV. If the tact pattern data at this time instructs a specific percussion instrument sound source to produce sound, a tact sound is generated from the speaker 44 by processing the next interrupt. step
When the process of 170 is completed, the process returns to the subroutine shown in FIG. By executing step 170 each time the subroutine shown in FIG. 9 is entered, it is possible to generate the tact sound at each quarter note timing as described above.

ステツプ168の判定結果が否定的(N)であつたと
きは、ステツプ172に移る。このステツプ172で
は、NORHYが“1”か判定する。ここで、
NONRHYが“1”である(Y)と判定されるのは、
再生モード時に記憶データ中からタクト有りデー
タを検出し且つスタートスイツチをオンした場合
(第3図Aに対応)であり、このように判定され
ると、ステツプ174に移る。
If the determination result in step 168 is negative (N), the process moves to step 172. In this step 172, it is determined whether NORHY is "1". here,
NONRHY is determined to be “1” (Y) because
This is the case when data with tact is detected from the stored data during the reproduction mode and the start switch is turned on (corresponding to FIG. 3A). If this is determined, the process moves to step 174.

ステツプ174では、全ビツト“0”のデータ
RHYREGに転送する。このようにRHYREGの
全ビツトを“0”にすると、次のインタラプトが
かかつたきにリズム音は発生されない。ステツプ
174の処理を終ると、第7図のサブルーチンにリ
ターンする。なお、第9図のサブルーチンに入る
たびにステツプ174を実行することにより前述し
たようなリズム無しの状態を継続させることがで
きる。
In step 174, data with all bits “0”
Transfer to RHYREG. If all bits of RHYREG are set to "0" in this way, no rhythm sound will be generated when the next interrupt occurs. step
When the process of 174 is completed, the process returns to the subroutine shown in FIG. Incidentally, by executing step 174 each time the subroutine shown in FIG. 9 is entered, the above-described state without rhythm can be continued.

ステツプ172の判定結果が否定的(N)であつたと
きは、ステツプ176に移る。このステツプ176で
は、フイルインフラグFILLNが“1”か判定す
る。ここで、FILLINが“1”である(Y)と判定さ
れるのは、記録モード時又は再生モード時にフイ
ルインスイツチをオンした場合であり、このよう
に判定されると、ステツプ178に移る。
If the determination result in step 172 is negative (N), the process moves to step 176. In this step 176, it is determined whether the fill flag FILLN is "1". Here, it is determined that FILLIN is "1" (Y) when the fill-in switch is turned on in the recording mode or the playback mode, and when it is determined in this way, the process moves to step 178.

ステツプ178では、リズム種類レジスタ
RHYSEL内のリズム種類データ及びTCNTのカ
ウント値に基づいてリズムデータメモリ24か
ら、選択されたリズム種類に関する1発音タイミ
ング分のフイルインリズムパターンデータを読出
してRHYREGに転送する。このときのフイルイ
ンリズムパターンデータが1又は複数の打楽器音
源の発音を指示するものであれば、次のインタラ
プトの処理により、指示された打楽器音源の打楽
器音がスピーカ44から発生される。ステツプ
178の処理を終ると、第7図のサブルーチンにリ
ターンする。なお、第9図のサブルーチンに入る
たびにステツプ178を実行することにより例えば
第2図Bに関して前述したようなフイルインリズ
ムの演奏が可能となる。
In step 178, the rhythm type register
Based on the rhythm type data in RHYSEL and the count value of TCNT, fill-in rhythm pattern data for one sound generation timing regarding the selected rhythm type is read out from the rhythm data memory 24 and transferred to RHYREG. If the fill-in rhythm pattern data at this time instructs the sound generation of one or more percussion instrument sound sources, the percussion instrument sound of the instructed percussion instrument sound source is generated from the speaker 44 by the next interrupt processing. step
When the process of 178 is completed, the process returns to the subroutine shown in FIG. By executing step 178 each time the subroutine of FIG. 9 is entered, it is possible to perform a fill-in rhythm as described above with respect to FIG. 2B, for example.

ステツプ176の判定結果が否定的(N)であつたと
きは、ステツプ180に移る。このステツプ180で
は、RHYSEL内のリズム種類データ及びTCNT
のカウント値に基づいてリズムデータメモリ24
から、選択されたリズム種類に関する1発音タイ
ミング分の通常リズムパターンデータを読出して
RHYREGに転送する。このときの通常リズムパ
ターンデータが1又は複数の打楽器音源の発音を
指示するものであれば、次のインタラプトの処理
により、指示された打楽器音源の打楽器音がスピ
ーカ44から発生される。ステツプ180の処理が
終ると、第7図のサブルーチンにリターンする。
なお、第9図のサブルーチンに入るたびにステツ
プ180を実行することにより第2図又は第3図に
関して前述したような通常リズムの演奏が可能と
なる。
If the determination result in step 176 is negative (N), the process moves to step 180. In this step 180, the rhythm type data in RHYSEL and the TCNT
rhythm data memory 24 based on the count value of
The normal rhythm pattern data for one pronunciation timing regarding the selected rhythm type is read from
Transfer to RHYREG. If the normal rhythm pattern data at this time instructs the sound generation of one or more percussion instrument sound sources, the percussion instrument sound of the instructed percussion instrument sound source is generated from the speaker 44 by the next interrupt processing. When the process of step 180 is completed, the process returns to the subroutine shown in FIG.
By executing step 180 each time the subroutine of FIG. 9 is entered, it is possible to perform the normal rhythm as described above with respect to FIG. 2 or 3.

ステツプ162の判定結果が否定的(N)になつたと
きは、小節末のタイミングであるので、ステツプ
182に移り、小節イベントフラグBEVTに“1”
をセツトする。演奏記録の開始後にBEVTに
“1”がセツトされると、これに基づいて演奏デ
ータメモリ26には縦線マークデータVLMが書
込まれ、小節数を知るのに利用される。
When the judgment result of step 162 is negative (N), it is the end of the measure, so step
Move to 182, bar event flag BEVT is set to “1”
Set. When BEVT is set to "1" after the start of performance recording, vertical line mark data VLM is written in the performance data memory 26 based on this, and is used to know the number of measures.

次に、ステツプ184では、TACTを“0”にす
ると共にNONRHYを“0”にする。この結果、
記録モード時にはタクト発音期間が1小節で終了
し、再生モード時にはリズム無し期間が1小節で
終了する。
Next, in step 184, TACT is set to "0" and NONRHY is set to "0". As a result,
In the recording mode, the tact sounding period ends in one bar, and in the playback mode, the no-rhythm period ends in one bar.

なお、上記実施例では、記録又は再生の際に鍵
盤演奏音を1つのサウンドシステムで発音させる
ようにしたが、例えば左右に対応する複数のサウ
ンドシステムを設けると共に複数の記録/再生系
を設け、1つの記録/再生系及び右用サウンドシ
ステムを用いて鍵盤演奏音を発音させると共に他
の記録/再生系及び左用サウンドシステムを用い
て和音等の伴奏音を発生させるようにしてもよ
い。このようにすると、ステレオ効果が得られる
と共に、伴奏音を再生しながらそれに合わせて鍵
盤演奏を行なうことができる。
Note that in the above embodiment, the keyboard performance sound is produced by one sound system during recording or reproduction, but for example, it is possible to provide a plurality of sound systems corresponding to the left and right sides, as well as a plurality of recording/reproduction systems. One recording/playback system and the right sound system may be used to generate keyboard performance sounds, and the other recording/playback system and left sound system may be used to generate accompaniment sounds such as chords. In this way, a stereo effect can be obtained, and it is also possible to play the keyboard in accordance with the accompaniment sound while reproducing it.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば、記録開始か
らタクト音を発生させて一定期間経過してから自
動リズム音の発生を開始させると共に、再生開始
からタクト音を発生させないで一定期間経過して
から自動リズム音の発生を開始させるようにした
ので、弱起の曲の記録開始時には自動リズム音に
煩わされることなくタクト音に合わせて正しいテ
ンポで演奏記録を行なえると共に、弱起の曲の再
生開始時には自動リズム音やタクト音により不自
然感を与えることがなくなる効果がある。
As described above, according to the present invention, the automatic rhythm sound starts to be generated after a certain period of time has elapsed since the tact sound was generated from the start of recording, and the generation of the automatic rhythm sound is started after a certain period of time has elapsed without generating the tact sound from the start of playback. Since the generation of automatic rhythm sounds starts from the start of the recording of a song with a weak start, it is possible to record the performance at the correct tempo in accordance with the tact sound without being bothered by the automatic rhythm sound, and also to record the performance at the correct tempo in accordance with the tact sound. This has the effect of eliminating the unnatural feeling caused by automatic rhythm sounds and tact sounds at the start of playback.

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

第1図は、この発明の一実施例による自動演奏
装置の回路構成を示す回路図、第2図A及びB
は、記録モードの動作を説明するためのタイムチ
ヤート、第3図A及びBは、再生モードの動作を
説明するためのタイムチヤート、第4図A〜G
は、演奏データメモリにおける記憶データのフオ
ーマツト図、第5図は、メインルーチンの処理を
示すフローチヤート、第6図は、リズム音発生の
ためのインタラプトルーチンを示すフローチヤー
ト、第7図は、オートプレイのサブルーチンを示
すフローチヤート、第8図は、スタート制御のサ
ブルーチンを示すフローチヤート、第9図は、リ
ズムデータ読出しのサブルーチンを示すフローチ
ヤートである。 10……バス、12……鍵スイツチ回路、14
……音色選択スイツチ回路、16……リズム制御
スイツチ回路、18……中央処理装置、20……
プログラムメモリ、22……ワーキングメモリ、
24……リズムデータメモリ、26……演奏デー
タメモリ、28……演奏記録/再生制御スイツチ
回路、32……楽音形成回路、34……テンポ発
振器、36……リズム音源回路。
FIG. 1 is a circuit diagram showing the circuit configuration of an automatic performance device according to an embodiment of the present invention, and FIG. 2A and B
3 is a time chart for explaining the operation in the recording mode, FIGS. 3A and 3B are time charts for explaining the operation in the playback mode, and FIGS. 4 A to G
5 is a flowchart showing the main routine processing, FIG. 6 is a flowchart showing the interrupt routine for generating rhythm sounds, and FIG. 7 is a flowchart showing the automatic processing. FIG. 8 is a flowchart showing a play subroutine, FIG. 8 is a flowchart showing a start control subroutine, and FIG. 9 is a flowchart showing a rhythm data reading subroutine. 10...Bus, 12...Key switch circuit, 14
... Tone selection switch circuit, 16 ... Rhythm control switch circuit, 18 ... Central processing unit, 20 ...
program memory, 22...working memory,
24... Rhythm data memory, 26... Performance data memory, 28... Performance recording/playback control switch circuit, 32... Musical tone forming circuit, 34... Tempo oscillator, 36... Rhythm sound source circuit.

Claims (1)

【特許請求の範囲】 1 (a) 鍵盤と、 (b) この鍵盤からの鍵操作情報に基づいて楽音信
号を発生する楽音発生手段と、 (c) 記録の開始を指示する記録開始信号又は再生
の開始を指示する再生開始信号を選択的に発生
する開始指示手段と、 (d) この開始指示手段からの記録開始信号に応じ
て前記鍵盤での鍵操作に基づく演奏情報の記録
を開始すると共に、前記開始指示手段からの再
生開始信号に応じて記録に係る演奏情報の再生
を開始する記録/再生手段と、 (e) 自動リズム音を発生可能であると共に所定の
時間間隔でダクト音を発生可能であるオートリ
ズム装置と、 (f) このオートリズム装置を制御する制御手段で
あつて、前記記録/再生手段での記録開始から
前記タクト音を発生させて一定期間経過してか
ら前記自動リズム音の発生を開始させると共
に、前記記録/再生手段での再生開始から前記
タクト音を発生させないで一定期間経過してか
ら前記自動リズム音の発生を開始させるものと をそなえた自動演奏装置。
[Scope of Claims] 1 (a) a keyboard; (b) musical sound generation means for generating a musical sound signal based on key operation information from the keyboard; and (c) a recording start signal or reproduction that instructs the start of recording. (d) start instructing means for selectively generating a playback start signal instructing the start of the playback; (e) recording/reproducing means capable of generating automatic rhythm sounds and generating duct sounds at predetermined time intervals; (f) a control means for controlling the autorhythm device, the control means for controlling the autorhythm device, the control means for controlling the autorhythm device, the control means for controlling the automatic rhythm device after a certain period of time elapses after the tact sound is generated from the start of recording in the recording/reproducing means; An automatic performance device comprising: a device that starts generating a sound, and starts generating the automatic rhythm sound after a certain period of time has elapsed without generating the tact sound from the start of playback by the recording/playback means.
JP60016926A 1985-01-31 1985-01-31 Automatic performer Granted JPS61176990A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60016926A JPS61176990A (en) 1985-01-31 1985-01-31 Automatic performer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60016926A JPS61176990A (en) 1985-01-31 1985-01-31 Automatic performer

Publications (2)

Publication Number Publication Date
JPS61176990A JPS61176990A (en) 1986-08-08
JPH0437438B2 true JPH0437438B2 (en) 1992-06-19

Family

ID=11929729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60016926A Granted JPS61176990A (en) 1985-01-31 1985-01-31 Automatic performer

Country Status (1)

Country Link
JP (1) JPS61176990A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010041518A1 (en) 2008-10-07 2010-04-15 沖電気工業株式会社 Link mechanism for chair, and chair

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5228642B2 (en) * 2008-06-17 2013-07-03 ティアック株式会社 Recording / playback device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5820439A (en) * 1981-07-29 1983-02-05 アイカ工業株式会社 Postforming processing method for decorative board

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010041518A1 (en) 2008-10-07 2010-04-15 沖電気工業株式会社 Link mechanism for chair, and chair

Also Published As

Publication number Publication date
JPS61176990A (en) 1986-08-08

Similar Documents

Publication Publication Date Title
US4981066A (en) Electronic musical instrument capable of editing chord performance style
JP2623809B2 (en) Automatic key press indicating device
JP3358292B2 (en) Electronic musical instrument
JP3878485B2 (en) Waveform playback device
JP3239411B2 (en) Electronic musical instrument with automatic performance function
JPH0437438B2 (en)
JP2522337B2 (en) Automatic playing device
JP3649014B2 (en) Performance data file playback setting control device
JP2998527B2 (en) Automatic accompaniment device
JP3555255B2 (en) Automatic accompaniment device
JP2625800B2 (en) Automatic performance device
JPH0375874B2 (en)
JP2643277B2 (en) Automatic performance device
JP3120487B2 (en) Electronic musical instrument with automatic accompaniment function
JP2570562B2 (en) Automatic performance device and automatic accompaniment device
JP2591308B2 (en) Automatic performance device
JP2943560B2 (en) Automatic performance device
JP2570783B2 (en) Automatic performance device
JPH058638Y2 (en)
JP2503617Y2 (en) Automatic playing device
JP3178176B2 (en) Automatic accompaniment device
JP3791784B2 (en) Performance equipment
JP2576296B2 (en) Automatic accompaniment device for electronic musical instruments
JP3407563B2 (en) Automatic performance device and automatic performance method
JP2760398B2 (en) Automatic performance device

Legal Events

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