JP3142434B2 - Electronic musical instrument sequencer - Google Patents

Electronic musical instrument sequencer

Info

Publication number
JP3142434B2
JP3142434B2 JP06014956A JP1495694A JP3142434B2 JP 3142434 B2 JP3142434 B2 JP 3142434B2 JP 06014956 A JP06014956 A JP 06014956A JP 1495694 A JP1495694 A JP 1495694A JP 3142434 B2 JP3142434 B2 JP 3142434B2
Authority
JP
Japan
Prior art keywords
music
reproduction
sequencer
recording
musical instrument
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
JP06014956A
Other languages
Japanese (ja)
Other versions
JPH07210160A (en
Inventor
弘志 北川
雅之 前川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP06014956A priority Critical patent/JP3142434B2/en
Publication of JPH07210160A publication Critical patent/JPH07210160A/en
Application granted granted Critical
Publication of JP3142434B2 publication Critical patent/JP3142434B2/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 a sequencer for an electronic musical instrument which records performance information generated by playing an electronic musical instrument such as an electronic piano or an electronic organ and reproduces the recorded performance information. The present invention relates to a sequencer for an electronic musical instrument that can easily record and reproduce performance information.

【0002】[0002]

【従来の技術】近年、電子楽器やその付属機器の発展が
著しく、かかる電子楽器の1つとして、演奏者が電子楽
器等を演奏することにより発生する演奏情報を記憶する
ことにより録音を行い、また、記憶された演奏情報を読
み出して電子楽器等に送出することにより楽音を再生で
きるシーケンサが実用に供されている。
2. Description of the Related Art In recent years, the development of electronic musical instruments and their attached devices has been remarkable. As one of such electronic musical instruments, recording is performed by storing performance information generated by a player playing an electronic musical instrument or the like. In addition, a sequencer capable of reproducing a musical sound by reading out stored performance information and sending it to an electronic musical instrument or the like has been put to practical use.

【0003】かかる従来のシーケンサは、電子楽器等か
ら送られてくる演奏情報を記憶するために、ランダムア
クセスメモリ(RAM)、磁気テープ、或いは磁気ディ
スク等の記憶媒体を備えている。
Such a conventional sequencer has a storage medium such as a random access memory (RAM), a magnetic tape, or a magnetic disk for storing performance information sent from an electronic musical instrument or the like.

【0004】この記憶媒体には、曲に対応した演奏情報
を記憶する複数個の記憶領域が設けられており、複数の
曲を記憶できるようになっている。
[0004] The storage medium is provided with a plurality of storage areas for storing performance information corresponding to music, so that a plurality of music can be stored.

【0005】そして、各記憶領域には「曲ナンバ」とい
う固有の番号が付されており、曲ナンバにより所望の記
憶領域を特定して録音又は再生を行うようになってい
る。
[0005] Each storage area is assigned a unique number "tune number", and a desired storage area is specified by the music number to perform recording or reproduction.

【0006】ところが、かかる構成のシーケンサにおい
て演奏情報を記録する際は、先ず所定のスイッチを操作
して所望の曲ナンバ(記憶領域)を選択し、次いで、所
定のスイッチを操作して所望のトラックを選択すること
により記録先が特定される。
However, when recording performance information in a sequencer having such a configuration, first, a predetermined switch is operated to select a desired music number (storage area), and then a predetermined switch is operated to operate a desired track. The recording destination is specified by selecting.

【0007】そして録音開始を指示するスイッチが押下
されることにより当該シーケンサが録音モードにされ、
外部装置として例えば電子楽器が演奏されることにより
発生される演奏情報が該シーケンサに入力され、先に曲
ナンバとトラックで特定された領域に演奏情報の記憶、
つまり録音が行われることになる。
When the switch for instructing the start of recording is pressed, the sequencer is set to the recording mode,
Performance information generated by, for example, playing an electronic musical instrument as an external device is input to the sequencer, and the performance information is stored in an area specified by a song number and a track.
That is, recording is performed.

【0008】また、再生に際しては、上記曲ナンバによ
り所望の記憶領域を特定し、該記憶領域から演奏情報を
読み出して、例えば電子楽器に送出することにより、楽
音が再生されるようになっている。この際、再生するテ
ンポを指定し、好みのテンポやリズムで楽音の再生がで
きるようになっている。
At the time of reproduction, a desired storage area is specified by the music number, and performance information is read out from the storage area and transmitted to, for example, an electronic musical instrument, thereby reproducing a musical tone. . At this time, the tempo to be reproduced is specified, and the musical tone can be reproduced at a desired tempo or rhythm.

【0009】したがって、録音に際しては、曲ナンバを
指示する情報をシーケンサに設定する必要があり、再生
に際しても曲ナンバやテンポ等を指示する情報をシーケ
ンサに設定する必要がある。
Therefore, at the time of recording, it is necessary to set information indicating the song number in the sequencer, and at the time of reproduction, it is necessary to set information indicating the song number and the tempo in the sequencer.

【0010】また、これら種々の情報を設定するため
に、従来のシーケンサは、表示器、カーソル移動スイッ
チ及び数値変更操作子等を有している。
Further, in order to set these various information, the conventional sequencer has a display, a cursor movement switch, a numerical value change operator and the like.

【0011】そして表示器の表示状態において、例えば
曲ナンバを変更したい場合は、操作者はカーソル移動ス
イッチを操作して曲ナンバの既定値を表示している位置
にカーソルを移動する。
In the display state of the display, for example, when it is desired to change the music number, the operator operates the cursor movement switch to move the cursor to a position where the default value of the music number is displayed.

【0012】次いで、数値変更操作子を操作して所望の
曲ナンバを表示せしめる。これにより曲ナンバ情報が設
定される。この際、カーソルは曲ナンバの既定値を示す
部分に表示されたまま残る。
Next, the desired music number is displayed by operating the numerical value changing operator. As a result, music number information is set. At this time, the cursor remains displayed on the portion indicating the default value of the song number.

【0013】同様に、テンポを変更したい場合は、操作
者はカーソル移動スイッチを操作してテンポの既定値を
表示している位置にカーソルを移動し、次いで、数値変
更操作子を操作して所望のテンポ値を表示せしめる。
Similarly, when the operator wants to change the tempo, the operator operates the cursor movement switch to move the cursor to the position where the default value of the tempo is displayed, and then operates the numerical value changing operator to change the desired tempo. Display the tempo value of

【0014】これによりテンポ情報が設定される。この
際、カーソルはテンポの既定値を示す部分に表示された
まま残る。
Thus, tempo information is set. At this time, the cursor remains displayed on the portion indicating the default value of the tempo.

【0015】このように、従来の電子楽器のシーケンサ
機能は独立したものであり、録音するトラックの設定や
録音した曲の編集などマニアックで取扱が面倒で、初心
者にとっては近寄りがたく、しかも高価になる傾向があ
る。
As described above, the sequencer function of the conventional electronic musical instrument is independent, and it is troublesome for a maniac to set a track to be recorded and edit a recorded song, so that it is difficult for beginners to approach and expensive. Tend to be.

【0016】そこで、シーケンサに演奏情報を録音した
り、又は録音された演奏情報を再生する際に、簡単な操
作で録音や再生ができ、初心者でも操作容易な取扱いに
優れた低価格のシーケンサが望まれている。
Therefore, when recording performance information on a sequencer or reproducing the recorded performance information, a low-cost sequencer which can be easily recorded and played back by a simple operation and which is easy to operate even for a beginner. Is desired.

【0017】[0017]

【発明が解決しようとする課題】上記のように従来のシ
ーケンサは、演奏情報を録音するにあたっては、曲ナン
バやトラックの選択操作を行う必要があり、操作が面倒
であるという欠点があった。
As described above, the conventional sequencer has a drawback in that it is necessary to select a song number and a track when recording performance information, and the operation is troublesome.

【0018】また、操作者は曲ナンバ及びトラックの使
用状況を覚えておき、空きの曲ナンバ及びトラックを指
定して録音を行う必要があるので間違いやすいという欠
点もあった。
Further, the operator has to remember the use condition of the music number and the track, and designates an empty music number and a track to perform recording.

【0019】本発明は、かかる事情に鑑みなされたもの
で、その目的は、スイッチの数や操作回数を極力少なく
して、演奏時には常に録音を行い、再生開始時にはスイ
ッチまたは操作子等の再生指示手段の操作により簡単に
再生曲の選択演奏のできる初心者にも扱いやすい操作性
に優れた電子楽器のシーケンサを提供することを目的と
する。
The present invention has been made in view of the above circumstances, and has as its object to minimize the number of switches and the number of operations so that recording is always performed during a performance, and a reproduction instruction such as a switch or an operation element is provided at the start of reproduction. It is an object of the present invention to provide a sequencer of an electronic musical instrument which is easy to handle even for beginners who can easily select a reproduced music piece by operating the means.

【0020】[0020]

【課題を解決するための手段】図1は本発明の原理説明
図である。
FIG. 1 is a diagram illustrating the principle of the present invention.

【0021】第1の発明は、上記目的を達成するため
に、演奏情報を曲毎に記憶する記憶手段3を有し、入力
部から供給される演奏情報を該記憶手段に記憶すること
により録音を行い、該記憶手段から所定の曲に対応する
演奏情報を読み出して再生を行う電子楽器のシーケンサ
において、電源がオンされると録音待機状態となり、鍵
盤が操作されると、前記記憶手段3の空きエリアに順次
書込み、一杯になると古い曲の記憶されている記憶領域
を選択して順次上書きする録音制御手段21と、曲の切
れ目を検出して終了処理を行う切れ目処理手段23と、
操作することにより曲の再生を指示する再生指示手段2
0と、該再生指示手段20が操作されると、前記記憶手
段3に記憶されている演奏情報の読み出しを行う再生制
御手段22と、を具備し、前記再生指示手段20の指示
により曲の再生が行われているときは、前記録音制御手
段21は、当該再生される曲の演奏情報も記憶すること
を特徴とする。
In order to achieve the above object, the first invention has a storage means 3 for storing performance information for each music piece, and stores the performance information supplied from the input section in the storage means to record the performance information. In a sequencer of an electronic musical instrument that reads out and reproduces performance information corresponding to a predetermined music from the storage means, the power supply is turned on, and a recording standby state is established. A recording control unit 21 for sequentially writing in an empty area and, when full, selecting a storage area in which an old song is stored and sequentially overwriting the same; a break processing unit 23 for detecting a break in the song and performing end processing;
Playback instruction means 2 for instructing playback of music by operating
0, and playback control means 22 for reading out the performance information stored in the storage means 3 when the playback instruction means 20 is operated. Is performed, the recording control means 21 also stores the performance information of the music to be reproduced.

【0022】[0022]

【0023】第2の発明は、前記再生制御手段22は、
楽音の再生中に前記再生指示手段20が操作されると当
該演奏情報の読み出しを終了して停止することを特徴と
する。
According to a second aspect of the present invention, the reproduction control means 22 comprises:
When the reproduction instruction means 20 is operated during reproduction of a musical tone, the reading of the performance information is terminated and stopped.

【0024】第3の発明は、前記記憶手段3は記憶領域
を管理する管理テーブルを有し、前記録音制御手段21
は該テーブルの内容を調べ、空き領域のない場合は、常
に最も古い演奏情報の記憶されている領域に上書し、再
生時には直前に録音された曲を再生することを特徴とす
る。
In the third invention, the storage means 3 has a management table for managing a storage area, and the recording control means 21
Is characterized by examining the contents of the table, and if there is no free area, always overwrites the area in which the oldest performance information is stored, and reproduces the music recorded immediately before during reproduction.

【0025】第4の発明は、前記記憶手段3はリングバ
ッファを構成し、空き領域のない場合は、常に最も古い
演奏情報の記憶されている領域に上書し、再生時には直
前に録音された曲を再生することを特徴とする。
According to a fourth aspect of the present invention, the storage means 3 constitutes a ring buffer, and when there is no free area, the memory means 3 always overwrites the area in which the oldest performance information is stored. It is characterized by playing a song.

【0026】第5の発明は、前記切れ目処理手段23
は、一定時間以上発音のないときには自動的に曲の切れ
目を検出して録音を終了することを特徴とする。
According to a fifth aspect of the present invention, the break processing means 23
Is characterized in that when there is no sound for a certain period of time, a break in the music is automatically detected and recording is terminated.

【0027】第6の発明は、前記切れ目処理手段23
は、スイッチ操作により切れ目処理が指示され、曲の切
れ目処理を行うことを特徴とする。
According to a sixth aspect of the present invention, the break processing means 23
Is characterized in that a break operation is instructed by a switch operation and a break operation of the music is performed.

【0028】第7の発明は、前記再生制御手段22は、
前記再生指示手段20の設定位置または操作回数に応じ
て、任意の曲を選定可能であることを特徴とする。
In a seventh aspect, the reproduction control means 22 comprises:
It is characterized in that an arbitrary music can be selected according to the set position of the reproduction instruction means 20 or the number of operations.

【0029】[0029]

【0030】[0030]

【0031】[0031]

【作用】第1の発明は、従来の電子楽器に備わっている
シーケンサ機能を大幅に省略して、録音、再生機能に限
定しスイッチ数を極力少なくし、非常に簡単な構造で演
奏した曲の録音再生ができる電子楽器のシーケンサを提
供するものである。
According to the first aspect of the present invention, the sequencer function provided in the conventional electronic musical instrument is largely omitted, and the number of switches is reduced as much as possible only to the recording and reproduction functions. An electronic musical instrument sequencer capable of recording and reproducing is provided.

【0032】このため、本発明のシーケンサは、電源が
オンされると録音待機状態になり、鍵盤が操作されると
録音制御手段21は空き領域、または空き領域がない場
合は古い演奏情報の記憶されている記憶領域を自動的に
選定して演奏情報を記憶する。
For this reason, the sequencer of the present invention enters a recording standby state when the power is turned on, and when the keyboard is operated, the recording control means 21 stores an empty area, or stores old performance information if there is no empty area. The selected storage area is automatically selected and the performance information is stored.

【0033】そして、再生開始時には、再生指示手段2
0が操作されることによって曲の再生が指示され、前記
記憶手段3に記憶されている演奏情報中、直前に録音さ
れた演奏情報が読み出され再生される。そして、第1の
発明においては、曲の演奏中は演奏曲及び再生音をとも
に録音するように構成される。
At the start of reproduction, the reproduction instructing means 2
When "0" is operated, the reproduction of the music is instructed, and the performance information recorded immediately before among the performance information stored in the storage means 3 is read and reproduced. In the first invention, during the performance of the music, both the performance music and the reproduced sound are recorded.

【0034】したがって、従来のように録音の開始やデ
ータを読み出す記憶領域の指示をする必要がなく、操作
者が改めてスイッチ操作を行う必要がない。また、録音
方法にバラエティを与えることができ、楽器の使用目的
に応じて選択可能なように構成でき、さらに、1つの楽
器でこれらの機能の選択を可能なように構成することが
できる。
Therefore, it is not necessary to start recording or to specify a storage area from which data is read, unlike the related art, and it is not necessary for the operator to operate the switch again. Further, a variety of recording methods can be provided, and the recording method can be selected in accordance with the purpose of use of the musical instrument. Further, the functions can be selected with one musical instrument.

【0035】第2の発明は、楽音の再生中に再生指示手
段20が操作されると演奏データの読出しを終了するも
のである。これにより再生指示手段20がストップスイ
ッチの機能を有するので、電子楽器の構造やスイッチの
数が簡単化される。
According to a second aspect of the present invention, when the reproduction instruction means 20 is operated during reproduction of a musical tone, the reading of the performance data is terminated. As a result, the playback instruction means 20 has a function of a stop switch, so that the structure of the electronic musical instrument and the number of switches are simplified.

【0036】これにより、再生曲は常に一つ前に録音し
た曲が選択されるので、各曲毎の選択操作を行う必要が
なくなり、迅速且つ簡単に再生でき、初心者にも扱いや
すい操作性に優れたシーケンサを提供できる。
As a result, the previously recorded music is always selected as the reproduced music, so that it is not necessary to perform a selection operation for each music, and the music can be reproduced quickly and easily, and the operability is easy for beginners to handle. An excellent sequencer can be provided.

【0037】第3及び第4の発明は、前記第1の発明に
おいて、演奏された曲を空き領域あるいは最も古い曲の
記憶されているメモリに常に上書き記憶することによ
り、エンドレスな録音再生を可能にするものである。
According to the third and fourth aspects of the present invention, in the first aspect of the invention, the played music is always overwritten and stored in an empty area or a memory where the oldest music is stored, thereby enabling endless recording and reproduction. It is to be.

【0038】このため、第3の発明は、前記記憶手段3
の使用領域を管理するテーブルを有し、該メモリを参照
することにより読出しや書込みのためのメモリ管理を行
う。
For this reason, the third invention is characterized in that the storage means 3
Has a table for managing the used area of the memory, and performs memory management for reading and writing by referring to the memory.

【0039】一方、第4の発明は、前記記憶手段3がリ
ングバッファを構成することにより、単純にポインタを
次に移動させるだけで、簡単に録音や再生のためのメモ
リ管理が可能になる。
On the other hand, in the fourth invention, since the storage means 3 constitutes a ring buffer, memory management for recording and reproduction can be easily performed simply by moving a pointer next.

【0040】上記第3または第4の発明により、簡単な
構造で記憶領域の選択ができ、録音のエンドレス機能が
実現される。なお、当該リングバッファを用いると再生
時の演奏曲の選択も容易になる。
According to the third or fourth aspect, a storage area can be selected with a simple structure, and an endless recording function can be realized. The use of the ring buffer facilitates selection of a music piece to be played at the time of reproduction.

【0041】[0041]

【0042】[0042]

【0043】第5の発明は、一定時間以上発音のないと
きには自動的に録音を終了処理するものである。これに
より、演奏者が録音終了時に改めて操作指示する手数が
省ける。
According to a fifth aspect of the present invention, when there is no sound for a certain period of time, the recording is automatically terminated. This saves the player the trouble of instructing the operation at the end of the recording.

【0044】第6の発明は、切れ目処理用スイッチの操
作により切れ目処理が指示され、曲の切れ目処理を行う
ものである。これにより演奏者の意志の反映が可能とな
る。
According to a sixth aspect of the present invention, the break processing is instructed by operating the break processing switch, and the music break processing is performed. This makes it possible to reflect the player's will.

【0045】第7の発明は、再生の際には前記再生指示
手段20の設定位置、あるいは操作回数に応じて曲ナン
バを示すポインタを移動し、任意の曲を選択可能にする
ものである。
According to a seventh aspect of the present invention, at the time of reproduction, a pointer indicating a music number is moved in accordance with the set position of the reproduction instruction means 20 or the number of operations, so that an arbitrary music can be selected.

【0046】これにより、前記再生指示手段20の設
定、あるいは操作回数に応じて簡単に再生する曲を選定
できるので曲選定のための操作が著しく簡単で、しかも
融通性のある電子楽器のシーケンサを提供できる。
Thus, it is possible to easily select the music to be reproduced according to the setting of the reproduction instructing means 20 or the number of operations, so that the operation for selecting the music is remarkably simple and a flexible electronic musical instrument sequencer is provided. Can be provided.

【0047】[0047]

【実施例】以下、図面を参照しながら本発明の実施例に
つき詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0048】図2は、本発明に係るシーケンサを応用し
た電子楽器の実施例の全体的な構成を概略的に示すブロ
ック図である。
FIG. 2 is a block diagram schematically showing an overall configuration of an embodiment of an electronic musical instrument to which a sequencer according to the present invention is applied.

【0049】図において、1は中央処理装置(CPU)
であり、ROM2のプログラムメモリ部に記憶されてい
る制御プログラムに従って当該シーケンサの各部を制御
するものである。
In the figure, 1 is a central processing unit (CPU)
And controls each section of the sequencer according to a control program stored in a program memory section of the ROM 2.

【0050】CPU1に設けられた録音制御部21、再
生制御部22、切れ目処理部23はCPU1のソフトウ
エアで実現されるものである。この録音制御部21は電
源がオンされると録音待機状態となり、鍵盤が操作され
ると、空き領域または最も古い演奏曲の記憶されている
記憶領域を選択して演奏情報を記憶させるための制御を
行うものである。
The recording control unit 21, the reproduction control unit 22, and the break processing unit 23 provided in the CPU 1 are realized by software of the CPU 1. When the power is turned on, the recording control unit 21 enters a recording standby state. When a keyboard is operated, a control for selecting an empty area or a storage area in which an oldest music piece is stored and storing performance information is performed. Is what you do.

【0051】また、再生制御部22は、プレイスイッチ
20が操作されると、直前に録音された楽曲の曲ナンバ
を選定して発音するための制御をしたり、再生中に操作
されると当該楽曲の再生を終了して、ポインタを直前に
演奏された楽曲の曲ナンバの記憶領域に移動し次の演奏
の準備をする等のための制御を行うものである。
When the play switch 20 is operated, the playback control section 22 controls the selection of the music number of the music piece recorded immediately before and sounds it. After the reproduction of the music is completed, the pointer is moved to the storage area of the music number of the music played immediately before, and control for preparing for the next performance is performed.

【0052】さらに、曲の切れ目処理部23は曲間を検
出して終了処理するものであり、一定時間イベントのな
い場合は自動的に演奏の終了を判定して終了処理をす
る。
Further, the music break processing unit 23 detects the interval between music pieces and performs end processing. If there is no event for a predetermined time, the end of the performance is automatically determined and the end processing is performed.

【0053】このため、新たに切れ目スイッチを設けた
り、または他のスイッチに切れ目処理機能を割り当て
て、該スイッチが操作されることにより曲の切れ目処理
が指示され、曲の切れ目処理部23が切れ目処理をする
ように構成してもよい。
For this reason, a break switch is newly provided, or a break processing function is assigned to another switch, and when the switch is operated, the break processing of the music is instructed. The processing may be performed.

【0054】プレイスイッチ20は楽曲の再生を指示す
るものである。なお、該スイッチ20は設定位置に応じ
て、あるいは該スイッチ20の操作回数に応じて楽曲を
選択できるように構成してもよい。
The play switch 20 is for instructing reproduction of music. Note that the switch 20 may be configured so that a music piece can be selected according to a set position or the number of times the switch 20 is operated.

【0055】即ち、当該プレイスイッチ20は、例えば
システムスイッチのような構成にして、該スイッチ20
の設定位置に応じて楽曲を選択可能にする。または、押
しボタンまたは操作子として、例えば1回押したら1曲
目前、3回押したら3曲前の曲が選択できるように構成
してもよい。
That is, the play switch 20 is configured, for example, as a system switch, and
Music can be selected according to the setting position of. Alternatively, the push button or the operating element may be configured such that, for example, the first tune can be selected when pressed once, and the third tune can be selected when pressed three times.

【0056】ROM2は上述したように当該シーケンサ
全体を制御するプログラムを格納するものである。さら
に、該ROM2には、上記制御プログラムの他、CPU
1が使用する種々の固定データが記憶されており、CP
U1により、システムバスを介してアクセスされる。
The ROM 2 stores a program for controlling the entire sequencer as described above. Further, in addition to the control program, the ROM 2 has a CPU
1 stores various fixed data used by CP 1.
U1 is accessed via the system bus.

【0057】ランダムアクセスメモリ(RAM)3は、
CPU1の作業用領域、当該シーケンサを制御するため
の各種テーブル、レジスタ、フラグ等が定義される。ま
た、このRAM3には外部から送られてくる演奏情報や
曲ナンバを記憶する記憶領域や装置のステータス情報を
記憶する領域が設けられている。
The random access memory (RAM) 3
A work area of the CPU 1, various tables for controlling the sequencer, registers, flags, and the like are defined. The RAM 3 is provided with a storage area for storing performance information and music numbers sent from the outside and an area for storing status information of the apparatus.

【0058】本実施例では、曲ナンバを記憶する記憶領
域は、所定の曲数に対応する領域に分割され、分割され
た各記憶領域には、例えば「1〜10」の曲ナンバが付
され、直前に記憶された楽曲や最も古い楽曲の記憶され
ている記憶領域を示すポインタが設けられている。
In this embodiment, the storage area for storing music numbers is divided into areas corresponding to a predetermined number of music pieces, and each of the divided storage areas is assigned a music number of, for example, "1 to 10". , A pointer indicating a storage area in which the music stored immediately before or the oldest music is stored.

【0059】また、このRAM3に定義されるフラグに
は、当該シーケンサが再生中であるか否かを規定する再
生中フラグが含まれる。
The flags defined in the RAM 3 include a reproduction flag that specifies whether or not the sequencer is being reproduced.

【0060】操作パネル部5には、電源スイッチの他、
リセットスイッチ等の各種のスイッチや表示器が設けら
れている。なお、プレイスイッチ20や曲の切れ目スイ
ッチ24は当該操作パネル部5に設けられており、該ス
イッチ20、24の操作により再生の開始や演奏間にお
ける再生の終了、曲の切れ目処理を指示する。
The operation panel unit 5 includes a power switch,
Various switches such as a reset switch and an indicator are provided. The play switch 20 and the break switch 24 are provided on the operation panel section 5. The operation of the switches 20, 24 instructs the start of reproduction, the end of reproduction between performances, and the processing of the break of music.

【0061】パネルスキャン回路4は、上記操作パネル
部5に設けられた各スイッチのセット/リセット状態を
調べ、オン(ON)状態になっているパネルスイッチデ
ータを検出してCPU1に送出するものである。
The panel scan circuit 4 checks the set / reset state of each switch provided on the operation panel section 5, detects panel switch data that is turned on (ON), and sends it to the CPU 1. is there.

【0062】鍵盤装置7は、複数のキーと、これらキー
の押鍵・離鍵に連動して開閉するキースイッチからな
り、鍵盤の押鍵/離鍵動作は鍵盤スキャン回路6で検出
される。
The keyboard device 7 comprises a plurality of keys and key switches which are opened and closed in conjunction with the depression and release of these keys. The depression / release operation of the keyboard is detected by the keyboard scanning circuit 6.

【0063】鍵盤スキャン回路6は、演奏者の押鍵・離
鍵動作、つまり鍵のオン/オフを検出し、検出したオン
/オフ状態をその鍵番号とともにCPU1に伝えるもの
である。CPU1は、この鍵のオン/オフ情報をRAM
3に記憶する。
The keyboard scanning circuit 6 detects a key press / release operation of the player, that is, on / off of a key, and transmits the detected on / off state to the CPU 1 together with the key number. The CPU 1 stores the key on / off information in a RAM.
3 is stored.

【0064】音源回路8は、CPU1から出力される信
号に対応する楽音波形データ及びエンベロープデータを
波形メモリ9から読み出し、読み出した楽音波形データ
にエンベロープを付加して楽音信号として出力するもの
である。
The tone generator 8 reads out tone waveform data and envelope data corresponding to the signal output from the CPU 1 from the waveform memory 9 and adds an envelope to the read tone waveform data to output the tone waveform signal as a tone signal.

【0065】この音源回路8が出力した楽音信号はデジ
タルシグナルプロセッサー(以下DSPという)10に
供給される。なお、音源回路8には波形データやエンベ
ロープデータを記憶する波形メモリ9が接続されてい
る。
The tone signal output from the tone generator 8 is supplied to a digital signal processor (hereinafter referred to as DSP) 10. The tone generator 8 is connected to a waveform memory 9 for storing waveform data and envelope data.

【0066】波形メモリ9は、例えばROMで構成され
る。この波形メモリ9は、各種音色や音域に応じた楽音
波形データ及びエンベロープデータが記憶されており、
音源回路8によりアクセスされる。
The waveform memory 9 is composed of, for example, a ROM. The waveform memory 9 stores tone waveform data and envelope data corresponding to various timbres and tone ranges.
Accessed by the tone generator 8.

【0067】DSP10は、デジタルフィルタで構成さ
れており、リバーブ等、曲の効果を付加するものであ
る。
The DSP 10 is constituted by a digital filter, and adds a music effect such as reverb.

【0068】D/A変換器11は、入力されたデジタル
楽音信号をアナログ楽音信号に変換するものである。こ
のD/A変換器11で変換されたアナログ楽音信号は、
増幅器12に供給されるようになっている。
The D / A converter 11 converts an input digital tone signal into an analog tone signal. The analog tone signal converted by the D / A converter 11 is
The signal is supplied to the amplifier 12.

【0069】増幅器12は、D/A変換器11から供給
されるアナログ楽音信号を所定の利得で増幅するもので
ある。この増幅器12の出力はスピーカ13に供給され
るようになっている。
The amplifier 12 amplifies the analog tone signal supplied from the D / A converter 11 with a predetermined gain. The output of the amplifier 12 is supplied to a speaker 13.

【0070】スピーカ13は、入力された電気信号とし
てのアナログ楽音信号を音響信号に変換するものであ
る。つまり、発生された楽音信号に応じて楽音を放音す
るものである。
The speaker 13 converts an analog tone signal as an input electric signal into an acoustic signal. That is, a tone is emitted according to the generated tone signal.

【0071】このスピーカ13により、鍵盤7の鍵の押
下に対応した楽音が放音され、また、指定された録音曲
が演奏されることになる。
The speaker 13 emits a musical tone corresponding to the depression of the key on the keyboard 7, and plays the designated recording music.

【0072】上記CPU1、ROM2、RAM3、パネ
ルスキャン回路4、鍵盤スキャン回路6及び音源回路8
は、システムバスを介して相互に接続されている。
The CPU 1, ROM 2, RAM 3, panel scan circuit 4, keyboard scan circuit 6, and tone generator 8
Are interconnected via a system bus.

【0073】次に、以上の構成における本実施例の動作
につきフローチャートを参照しながら説明する。
Next, the operation of this embodiment having the above configuration will be described with reference to flowcharts.

【0074】図3は、本実施例におけるシーケンサの全
体の処理を示すフローチャートである。
FIG. 3 is a flowchart showing the overall processing of the sequencer in this embodiment.

【0075】電源投入や図示しないリセットスイッチが
押下されることにより発生するリセット信号により、当
該シーケンサの初期化処理が行われる(ステップS1
1)。
The sequencer is initialized by a reset signal generated by turning on the power or pressing a reset switch (not shown) (step S1).
1).

【0076】この初期化処理は、音源回路8の内部状態
を初期状態に設定して電源投入時に不要な音が発生され
るのを防止したり、RAM3の作業用領域をクリアした
り、レジスタやフラグ、音量、音色等のデータを初期設
定する処理である。
This initialization processing sets the internal state of the tone generator circuit 8 to the initial state to prevent unnecessary sounds from being generated when the power is turned on, clears the work area of the RAM 3, registers, This is a process for initializing data such as a flag, volume, and tone.

【0077】なお、本発明に直接係わるシーケンサ用カ
ウンタのクリア、データ書込み用アドレスのセット、録
音用タイマーのスタートは、該初期化処理時に行なわれ
る。
The clearing of the sequencer counter, the setting of the data write address, and the start of the recording timer, which are directly related to the present invention, are performed during the initialization processing.

【0078】次いで、スイッチイベント処理を行う(ス
テップS12)。このスイッチイベント処理では、操作
パネル5のスキャン回路で検出された各スイッチのオン
/オフ状態を示す情報を取り込む。
Next, switch event processing is performed (step S12). In this switch event processing, information indicating the on / off state of each switch detected by the scan circuit of the operation panel 5 is fetched.

【0079】そして、前回取り込んだ各スイッチのオン
/オフ状態を示す情報(既にRAM3の所定領域に記憶
されている)と比較することにより、新たにオンにされ
たスイッチに対応するビットのみをセットしたオンイベ
ントマップをRAM3上に作成する処理である。なお、
該スイッチイベント処理の動作の細部は図4で説明す
る。
Then, only the bit corresponding to the newly turned on switch is set by comparing with the information indicating the ON / OFF state of each switch previously taken in (the information is already stored in a predetermined area of the RAM 3). This is a process for creating the on-event map on the RAM 3. In addition,
Details of the operation of the switch event process will be described with reference to FIG.

【0080】次いで、鍵盤イベント処理を行う(ステッ
プS13)。この鍵盤イベント処理は、鍵盤装置7の鍵
盤スキャン回路からキーデータを読み込み、新鍵バッフ
ァにセットする処理である。
Next, a keyboard event process is performed (step S13). The keyboard event process is a process of reading key data from a keyboard scan circuit of the keyboard device 7 and setting the key data in a new key buffer.

【0081】そして、旧鍵バッファと新鍵バッファの内
容を比較することにより操作された鍵に対応する部分が
オン又はオフにされた鍵イベントバッファを作成する。
Then, by comparing the contents of the old key buffer and the contents of the new key buffer, a key event buffer in which a portion corresponding to the operated key is turned on or off is created.

【0082】次いで、録音処理(REC処理)が行われ
る(ステップS14)。この録音処理は、空白または最
も古い演奏曲の記憶されている記憶領域の曲ナンバを選
択し、特定された曲ナンバに対応するRAM3中の領域
に演奏情報を記憶するための準備を行う処理である。な
お、該録音処理の動作の細部は図5で説明する。
Next, a recording process (REC process) is performed (step S14). This recording process is a process of selecting a song number in a storage area in which a blank or the oldest music piece is stored, and preparing for storing performance information in an area in the RAM 3 corresponding to the specified music number. is there. The details of the operation of the recording process will be described with reference to FIG.

【0083】この録音処理が終了すると、続いて、再生
処理が行われる(ステップS15)。この再生処理は、
所定の操作によりRAM3の直前に演奏情報が記憶され
た領域の曲ナンバに対応する演奏情報を該当領域から読
み出して一時RAM3に記憶し、音源回路8に演奏情報
を送出する準備をする処理である。なお、該再生処理の
動作の細部は図6で説明する。
When the recording process is completed, a reproduction process is performed (step S15). This playback process
By a predetermined operation, the performance information corresponding to the music number in the area where the performance information is stored immediately before the RAM 3 is read from the area, temporarily stored in the RAM 3, and the preparation is made to transmit the performance information to the tone generator 8. . The details of the operation of the reproduction process will be described with reference to FIG.

【0084】上記の再生処理が終了すると、続いて曲の
切れ目処理を行う(ステップS16)。この曲の切れ目
処理については図7の説明で詳述する。
When the above-mentioned reproduction processing is completed, a break processing of music is subsequently performed (step S16). This music break processing will be described in detail with reference to FIG.

【0085】そして、その他の処理が行われる(ステッ
プS17)。この「その他の処理」では、スイッチイベ
ント処理や鍵盤イベント処理等で検出したスイッチの指
定に従った処理、例えば音色変更処理、リズム選択処理
や、鍵番号に対応した発音処理、消音処理が行われる。
Then, other processing is performed (step S17). In the "other processing", processing according to the designation of the switch detected in the switch event processing, the keyboard event processing, and the like, for example, a tone change processing, a rhythm selection processing, a sound generation processing corresponding to a key number, and a mute processing are performed. .

【0086】なお、MIDIに関する処理、タイマに関
する処理、及び記憶部への書込み処理は該その他の処理
で行われる。
The processing relating to the MIDI, the processing relating to the timer, and the processing of writing to the storage unit are performed by the other processing.

【0087】その後、ステップS12に戻り、以下同様
の処理が繰り返し実行される。これにより、操作パネル
5の操作に応じた音色や音量で、鍵盤7の操作に応じた
音感の楽音が連続して発音されることになる。
Thereafter, the process returns to step S12, and the same processing is repeatedly executed. As a result, musical tones having a tone corresponding to the operation of the keyboard 7 are continuously generated with a tone and volume corresponding to the operation of the operation panel 5.

【0088】次に、図3のステップS12で説明したス
イッチイベント処理の動作について図4を参照しながら
説明する。
Next, the operation of the switch event processing described in step S12 of FIG. 3 will be described with reference to FIG.

【0089】スイッチイベント処理では、先ずプレイス
イッチ20のオンイベントがあったか否かが調べられる
(ステップS21)。これは、パネルスキャン処理で作
成されたイベントマップを調べることにより行われる。
そして、スイッチイベントがなかった場合は、何もせず
にメインルーチンに復帰する。
In the switch event process, first, it is checked whether or not the play switch 20 has been turned on (step S21). This is performed by examining the event map created by the panel scan process.
If there is no switch event, the process returns to the main routine without doing anything.

【0090】一方、プレイスイッチ20のオンイベント
があったと判断された場合には、該イベントが演奏情報
の再生中に行われたかが調べられる(ステップS2
2)。
On the other hand, if it is determined that there is an ON event of the play switch 20, it is checked whether the event has been performed during the reproduction of the performance information (step S2).
2).

【0091】これは、プレイスイッチ20の操作が録音
データの再生中に行われた場合は再生を終了し、停止中
に行われた場合には再生を開始するための判断であり、
プレイフラグを調べることにより行われる。
This is a judgment for ending the reproduction when the operation of the play switch 20 is performed during the reproduction of the recorded data, and for starting the reproduction when the operation is performed during the stop of the recording data.
This is performed by checking the play flag.

【0092】上記ステップS22の判断で、該シーケン
サが停止中にプレイスイッチ20の操作が行われたこと
が判断されると再生を開始する(ステップS23)。
If it is determined in step S22 that the play switch 20 is operated while the sequencer is stopped, the reproduction is started (step S23).

【0093】一方、シーケンサの再生中にプレイスイッ
チ20の操作が行われた場合には再生終了であるので再
生を停止する(ステップS24)。
On the other hand, if the play switch 20 is operated during the reproduction of the sequencer, the reproduction is terminated because the reproduction has been completed (step S24).

【0094】次いで、その他の処理が行われる(ステッ
プS25)。この「その他の処理」は、スイッチイベン
ト処理や鍵盤イベント処理で検出されたイベントに対応
する処理であり、例えば、音色選択、リズム選択、音量
変更、音色変更等のためのスイッチイベントを処理する
ものである。
Next, other processing is performed (step S25). This "other processing" is processing corresponding to an event detected in the switch event processing or the keyboard event processing, and for example, processing a switch event for tone selection, rhythm selection, volume change, tone change, and the like. It is.

【0095】そして、上記ステップS25までの処理が
終了するとメインルーチンに戻り、次の鍵盤イベント処
理が行われる。
When the processing up to step S25 is completed, the process returns to the main routine, and the next keyboard event processing is performed.

【0096】次に、図3のステップS14で説明した録
音処理の動作について図5を参照しながら説明する。な
お、本実施例は演奏情報のみを録音する場合を示してお
り、演奏曲と再生音を同時に録音する場合、及び曲の再
生中は録音を実施しない場合の実施例は図9及び図10
で説明する。
Next, the operation of the recording process described in step S14 of FIG. 3 will be described with reference to FIG. This embodiment shows a case in which only performance information is recorded. Embodiments in which a music piece and a playback sound are simultaneously recorded and a case where recording is not performed during playback of a music piece are shown in FIGS.
Will be described.

【0097】録音処理では、パワーオンされると先ず録
音用タイマがスタートする。続いてプレイスイッチのオ
ンイベントがあったか否かが調べられる(ステップS3
1)。オンイベントがなかった場合には録音する必要が
ないので、そのままメインルーチンに戻る。
In the recording process, when the power is turned on, a recording timer is first started. Subsequently, it is checked whether or not a play switch ON event has occurred (step S3).
1). If there is no ON event, there is no need to record, so the process returns to the main routine.

【0098】一方、オンイベントがあった場合は録音す
るのでカウント値の差分を求める(ステップS32)。
そして、発音された録音データを記憶する(ステップS
33)。この録音データの記憶では、新旧カウント値の
差分、キーナンバ、キーオン/オフ、ベロシティ等をセ
ットにして記憶する。
On the other hand, if there is an on-event, recording is performed, so that a difference between count values is obtained (step S32).
Then, the generated sound recording data is stored (step S).
33). In storing the recorded data, a difference between the new and old count values, a key number, a key on / off, a velocity, and the like are stored as a set.

【0099】次いで、アドレスをインクリメントする
(ステップS34)。即ち、次のキーイベントを録音す
る位置にアドレスをインクリメントする。
Next, the address is incremented (step S34). That is, the address is incremented to the position where the next key event is recorded.

【0100】続いて、タイマの更新をする(ステップS
35)。即ち、カウント値の差分(旧値−現在値)を記
憶し、続いて旧タイマのレジスタに新タイマのデータを
記憶し、次のキーイベントをカウントする準備をする。
Subsequently, the timer is updated (step S
35). That is, the difference of the count value (old value-current value) is stored, and then the data of the new timer is stored in the register of the old timer, and preparations are made for counting the next key event.

【0101】そして、メインルーチンに戻り再生処理を
行う。
Then, the process returns to the main routine to perform the reproducing process.

【0102】次に、図3のステップS15で説明した再
生処理の動作について図6を参照しながら説明する。
Next, the operation of the reproduction process described in step S15 of FIG. 3 will be described with reference to FIG.

【0103】再生処理では、先ずプレイスイッチ20の
オンイベントがあったか否かが調べられる(ステップS
41)。プレイスイッチ20のオンイベントがなかった
場合には再生開始ではないのでメインルーチンに戻る。
In the reproduction process, first, it is checked whether or not there is an ON event of the play switch 20 (step S).
41). If there is no ON event of the play switch 20, the process returns to the main routine because the reproduction is not started.

【0104】一方、ステップS41でプレイスイッチ2
0のオンイベントがあった場合には再生開始であるの
で、再生開始位置、即ち曲の先頭のアドレスをセットす
る(ステップS42)。
On the other hand, in step S41, the play switch 2
If there is an ON event of 0, playback is started, so the playback start position, that is, the start address of the music is set (step S42).

【0105】続いてカウント値をセットした(ステップ
S43)後、カウント値ががデクリメントされる(ステ
ップS44)。そして、カウンタ値が0になったか否か
が調べられる(ステップS45)。これは発音のタイミ
ングを把握するものである。
Subsequently, after setting the count value (step S43), the count value is decremented (step S44). Then, it is checked whether or not the counter value has become 0 (step S45). This is to grasp the timing of sound generation.

【0106】カウタ値が0でない場合は、未だ発音のタ
イミングではないのでステップS44に戻り発音のタイ
ミングになるまで繰り返される。
If the counter value is not 0, the process returns to step S44 and repeats until the timing of sound generation because the timing of sound generation has not yet been reached.

【0107】一方、カウント値が0の場合には発音また
は消音のタイミングであるので、発音または消音のため
の処理が行われ(ステップS46)、続いて、次の処理
のためにアドレスがインクリメントされる(ステップS
47)。
On the other hand, when the count value is 0, it is the timing of sound generation or mute, so that processing for sound generation or mute is performed (step S46), and then the address is incremented for the next processing. (Step S
47).

【0108】次いで曲の切れ目処理部23により曲の終
わりか否かが調べられる(ステップS48)。そして曲
の終わりではない場合にはステップS42に戻り、以下
同様の処理が繰り返される。
Next, it is checked by the music break processing section 23 whether or not the music has ended (step S48). If it is not the end of the song, the process returns to step S42, and the same processing is repeated thereafter.

【0109】一方、曲の終わりの場合にはメインルーチ
ンに戻り、その他の処理が行われる。
On the other hand, in the case of the end of the music, the process returns to the main routine and other processing is performed.

【0110】次に、図3のステップS16で説明した曲
の切れ目処理の動作について説明する。
Next, the operation of the music break processing described in step S16 of FIG. 3 will be described.

【0111】まず、曲の切れ目を自動的に判断して処理
する場合の曲の切れ目処理の例について図7を参照しな
がら説明する。
First, an example of music break processing when automatically determining and processing music breaks will be described with reference to FIG.

【0112】曲の切れ目処理では、先ずオールノートオ
フか否かが調べられる(ステップS51)。オールノー
トオフでなかった場合には未だ演奏中であり曲の切れ目
処理は必要ないので、そのままメインルーチンに戻る。
In the music break processing, first, it is checked whether or not all notes are off (step S51). If it is not all notes off, the program is still playing and no break processing of the music is needed, so the process returns to the main routine.

【0113】一方、オールノートオフの場合には、カウ
ンタ値の差分を求める(ステップS52)。即ち、新旧
カウンタのレジスタよりカウント値を読出し、カウント
値の差分を求める。
On the other hand, when all notes are off, a difference between the counter values is obtained (step S52). That is, the count value is read from the registers of the new and old counters, and the difference between the count values is obtained.

【0114】次いで、カウント値の差分が基準値より大
きいか否かが調べられる(ステップS53)。これは、
一定の基準時間以上キーイベントがなかった場合には録
音終了とみなし、録音終了の処理をするための判断をす
るものである。
Next, it is checked whether or not the difference between the count values is larger than the reference value (step S53). this is,
If there is no key event for a certain reference time or more, it is considered that the recording has been completed, and a determination is made for processing of the recording termination.

【0115】このステップS53で差分値が未だ基準値
に達していない場合、即ち、オールノートオフになって
からの時間経過が基準値より短い場合は、未だ録音終了
ではないので、ステップS54をスキップして録音処理
ルーチンに戻れる。
If the difference value has not yet reached the reference value in step S53, that is, if the time elapsed since all notes were turned off is shorter than the reference value, recording has not yet been completed, and step S54 is skipped. To return to the recording processing routine.

【0116】一方、ステップS53で差分値が基準値よ
り大きい場合には演奏終了であるので、演奏終了のため
の処理、即ち区切りコードのセットを行う(ステップS
54)。
On the other hand, if the difference value is larger than the reference value in step S53, the performance is over, so that processing for ending the performance, that is, setting of a delimiter code is performed (step S53).
54).

【0117】この区切りコードのセットでは、現在の演
奏を終了し、次の演奏時に録音させる記憶エリア(空き
エリアまたは最も古い曲の録音されている記憶エリアの
曲ナンバ)、及び、次の再生時に読出しを開始する記憶
エリア(直前に録音された曲の曲ナンバ)にポインタを
セットする処理である。
In this set of delimiter codes, the current performance is ended, the storage area to be recorded at the next performance (the free area or the song number of the storage area where the oldest music is recorded), and the next playback This is a process of setting a pointer in a storage area (a song number of a song recorded immediately before) at which reading is started.

【0118】かかる処理が終了すると録音処理ルーチン
に戻り、以下同様の処理を繰り返す。これにより録音終
了のための処理は完了する。
When this processing is completed, the process returns to the recording processing routine, and the same processing is repeated thereafter. Thus, the process for ending the recording is completed.

【0119】なお、上記ステップS54の処理を行うた
め、RAM3には記憶されている曲の曲順を示す曲順メ
モリが用意されており、該曲順メモリ上のポインタを動
かすことにより曲の切れ目処理は行われる。
In order to perform the process of step S54, the RAM 3 is provided with a music order memory indicating the music order of the music stored therein, and by moving the pointer on the music order memory, the music breaks are generated. Processing is performed.

【0120】このようにして曲の切れ目処理は行われ、
全ての鍵盤がキーオフされてから一定の時間が経過する
録音終了のための処理が自動的に行われる。
In this manner, the music break processing is performed.
Processing for terminating the recording after a fixed time has elapsed since all keys are turned off is automatically performed.

【0121】次に、例えば曲の切れ目スイッチを設けた
り、または他のスイッチに曲の切れ目処理指示機能を持
たせて、該スイッチ操作によって演奏の終了を指示して
曲の切れ目処理をする場合の動作について図8を参照し
ながら説明する。
Next, for example, when a break switch for music is provided, or another switch is provided with a function for instructing the processing of a break in music, and the end of the performance is instructed by operating the switch to perform the break processing of music. The operation will be described with reference to FIG.

【0122】この場合は、先ず切れ目スイッチのイベン
トがあったか否かが調べられる(ステップS61)。そ
して切れ目スイッチのイベントがなかった場合は切れ目
処理の必要はないので、そのままメインルーチンに戻
る。
In this case, it is first checked whether or not there has been a break switch event (step S61). If there is no break switch event, there is no need to perform break processing, and the process returns to the main routine.

【0123】一方、切れ目スイッチのイベントがあった
場合には演奏終了であるので、演奏終了のための処理、
即ち区切りコードのセットを行う(ステップS62)。
On the other hand, if there is a break switch event, the performance is over, so the processing for ending the performance,
That is, a delimiter code is set (step S62).

【0124】この区切りコードのセットでは、現在の演
奏の終了処理をするとともに、次の演奏時に録音させる
記憶エリア(空きエリアまたは最も古い曲の録音されて
いる記憶エリアの曲ナンバ)、及び、次の再生時に読出
しを開始する記憶エリア(直前に録音された曲の曲ナン
バ)にポインタをセットする。その後、メインルーチン
に戻る。
In this set of delimiter codes, the current performance end processing is performed, and at the same time, a storage area to be recorded at the next performance (an empty area or a music number of a storage area in which the oldest music is recorded) and a next A pointer is set in a storage area (song number of the tune recorded immediately before) at which reading is started during reproduction of. Then, the process returns to the main routine.

【0125】次に、各種録音処理の動作について説明す
る。
Next, the operation of various recording processes will be described.

【0126】図9は、曲の演奏中は演奏曲と再生音を同
時に録音する実施例を説明するフローチャートである。
FIG. 9 is a flowchart for explaining an embodiment in which a music piece and a reproduced sound are simultaneously recorded during the music piece.

【0127】メインルーチンの鍵盤イベント処理が終了
すると、先ず、キーイベントがあったか否かが調べられ
る(ステップS71)。即ち、イベントバッファを調べ
ることにより、キーイベントであれば録音を行うためス
テップS73に進み、次いで次の録音準備のためアドレ
スをインクリメントする(ステップS74)。
When the keyboard event processing of the main routine is completed, it is first checked whether or not a key event has occurred (step S71). That is, by examining the event buffer, if it is a key event, the process proceeds to step S73 to perform recording, and then the address is incremented in preparation for the next recording (step S74).

【0128】一方、キーイベントがなかった場合は、続
いて再生イベントがあるか否かが調べられる(ステップ
S72)。そして再生イベントがないと録音を行わない
ので、このルーチンからリターンしてメインルーチンに
戻る。
On the other hand, if there is no key event, it is checked whether or not there is a reproduction event (step S72). If there is no playback event, no recording is performed, so the routine returns from this routine and returns to the main routine.

【0129】他方、ステップS72で再生イベントであ
ると判断されると録音を行うので演奏情報をメモリに記
録し(ステップS73)、次いでメモリの次のアドレス
にポインタをアドレスインクリメントして(ステップS
74)、メインルーチンに戻る。
On the other hand, if it is determined in step S72 that the event is a reproduction event, the recording is performed, so that the performance information is recorded in the memory (step S73), and then the pointer is incremented to the next address in the memory (step S72).
74), returning to the main routine.

【0130】このように、イベントバッファのキーイベ
ントと再生イベントをチェックすることにより、曲の演
奏中は演奏曲と再生音を同時に録音可能な電子楽器のシ
ーケンサが提供できる。
As described above, by checking the key event and the reproduction event in the event buffer, it is possible to provide a sequencer of an electronic musical instrument capable of simultaneously recording the performance music and the reproduction sound during the performance of the music.

【0131】図10は、曲の再生中は録音をしない実施
例を説明するフローチャートである。
FIG. 10 is a flowchart for explaining an embodiment in which recording is not performed during reproduction of a music piece.

【0132】メインルーチンの鍵盤イベント処理が終了
すると、先ず、キーイベントがあったか否かが調べられ
る(ステップS81)。即ち、イベントバッファを調べ
ることにより、キーイベントがなければ録音の必要はな
いので、そのまま何もせずにメインルーチンに戻る。
When the keyboard event processing of the main routine is completed, it is first checked whether or not a key event has occurred (step S81). That is, by examining the event buffer, if there is no key event, there is no need to record, and the process returns to the main routine without doing anything.

【0133】一方、キーイベントがあった場合は、続い
て現在曲の再生中であるか否かが調べられる(ステップ
S82)。これはプレイフラグを調べることにより行わ
れる。そして再生中であると録音を行わないので、この
ルーチンからリターンしてメインルーチンに戻る。
On the other hand, if there is a key event, it is checked whether or not the music is currently being reproduced (step S82). This is done by checking the play flag. Since no recording is performed during reproduction, the routine returns from this routine and returns to the main routine.

【0134】他方、ステップS82で再生中でない場合
には録音を行うので演奏情報をメモリに記録し(ステッ
プS83)、次いでメモリの次のアドレスにポインタを
アドレスインクリメントして(ステップS84)、メイ
ンルーチンに戻る。
On the other hand, if the reproduction is not being performed in step S82, the recording is performed, so that the performance information is recorded in the memory (step S83), and then the pointer is incremented to the next address in the memory (step S84). Return to

【0135】このように、プレイフラグをチェックする
ことにより、曲の演奏中のみ録音可能な電子楽器のシー
ケンサが提供できる。
As described above, by checking the play flag, it is possible to provide a sequencer of an electronic musical instrument capable of recording only during performance of a music piece.

【0136】図11は、曲の演奏と再生を同時に行って
いる際に演奏音のみを録音する実施例を説明するフロー
チャートである。
FIG. 11 is a flow chart for explaining an embodiment in which only the performance sound is recorded when the performance and the reproduction of the music are performed simultaneously.

【0137】メインルーチンの鍵盤イベント処理が終了
すると、先ず、キーイベントがあったか否かが調べられ
る(ステップS91)。即ち、イベントバッファを調べ
ることにより、キーイベントがなければ録音の必要はな
いので、そのまま何もせずにメインルーチンに戻る。
When the keyboard event processing of the main routine ends, it is first checked whether or not a key event has occurred (step S91). That is, by examining the event buffer, if there is no key event, there is no need to record, and the process returns to the main routine without doing anything.

【0138】一方、キーイベントがあった場合は、続い
て再生イベントであるか否かが調べられる(ステップS
92)。そして再生音であると録音を行わないので、こ
のルーチンからリターンしてメインルーチンに戻る。
On the other hand, if there is a key event, it is checked whether the event is a reproduction event (step S).
92). If the sound is a reproduction sound, recording is not performed, so that the routine returns from this routine and returns to the main routine.

【0139】他方、ステップS92で演奏音の場合は録
音を行うので演奏情報をメモリに記録し(ステップS9
3)、次いでメモリの次のアドレスにポインタをアドレ
スインクリメントして(ステップS94)、メインルー
チンに戻る。
On the other hand, in the case of the performance sound in step S92, the performance information is recorded in the memory since the recording is performed (step S9).
3) Then, the pointer is incremented to the next address in the memory (step S94), and the process returns to the main routine.

【0140】これにより、曲の演奏と再生を同時に行っ
ている際に演奏音のみを録音可能な電子楽器のシーケン
サが提供できる。
Thus, it is possible to provide a sequencer of an electronic musical instrument capable of recording only a performance sound while performing and playing a tune at the same time.

【0141】このようにして、本発明によれば録音再生
の操作が容易で、しかも所望の曲の選択可能な使いやす
い電子楽器のシーケンサが提供できる。
As described above, according to the present invention, it is possible to provide an easy-to-use electronic musical instrument sequencer in which recording and reproduction operations are easy and a desired tune can be selected.

【0142】なお、上記実施例では、演奏情報を記憶す
るメモリとしてRAMを用いた場合について説明した
が、該メモリはRAMに限定されない。例えば、フロッ
ピーディスクや磁気テープ等の書換え可能記憶媒体であ
れば良く、上記実施例と同様の作用・効果を奏する。
In the above embodiment, the case where the RAM is used as the memory for storing the performance information has been described, but the memory is not limited to the RAM. For example, a rewritable storage medium such as a floppy disk or a magnetic tape may be used, and the same operation and effect as those of the above embodiment can be obtained.

【0143】[0143]

【発明の効果】以上詳述したように、本発明によれば構
造が簡単で低価格で、しかも操作が簡単で扱いやすい初
心者に適した電子楽器のシーケンサが提供できる。
As described above, according to the present invention, it is possible to provide a sequencer of an electronic musical instrument which is simple in structure, inexpensive, easy to operate, and suitable for beginners.

【0144】また、本発明によれば再生時に所望の曲を
簡単な操作で容易に検索することができるので適用可能
範囲が著しく向上する。
Further, according to the present invention, a desired music can be easily searched by a simple operation at the time of reproduction, so that the applicable range is remarkably improved.

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

【図1】本発明に係わるシーケンサの原理説明図であ
る。
FIG. 1 is a diagram illustrating the principle of a sequencer according to the present invention.

【図2】本発明に係るシーケンサを応用した電子楽器の
全体的な構成を示す概略ブロック図である。
FIG. 2 is a schematic block diagram showing an overall configuration of an electronic musical instrument to which a sequencer according to the present invention is applied.

【図3】本実施例の電子楽器のシーケンサの動作を示す
メインルーチンのフローチャートである。
FIG. 3 is a flowchart of a main routine showing an operation of a sequencer of the electronic musical instrument according to the embodiment.

【図4】本実施例の電子楽器のシーケンサのスイッチイ
ベント処理の動作を示すフローチャートである。
FIG. 4 is a flowchart illustrating an operation of a switch event process of a sequencer of the electronic musical instrument according to the embodiment.

【図5】本実施例の電子楽器のシーケンサの録音処理の
動作を示すフローチャートである。
FIG. 5 is a flowchart illustrating an operation of a recording process of a sequencer of the electronic musical instrument according to the embodiment.

【図6】本実施例の電子楽器のシーケンサの再生処理の
動作を示すフローチャートである。
FIG. 6 is a flowchart illustrating an operation of a reproduction process of a sequencer of the electronic musical instrument according to the present embodiment.

【図7】本実施例の電子楽器のシーケンサの曲の切れ目
処理の動作を示すフローチャートである。
FIG. 7 is a flowchart showing an operation of a music break processing of the sequencer of the electronic musical instrument of the embodiment.

【図8】本実施例の電子楽器のシーケンサの曲の切れ目
処理の別実施例の動作を示すフローチャートである。
FIG. 8 is a flowchart showing an operation of another embodiment of the music break processing of the sequencer of the electronic musical instrument of the present embodiment.

【図9】演奏データと再生データを同時に録音する場合
の録音処理の動作を説明するフローチャートである。
FIG. 9 is a flowchart illustrating an operation of a recording process when simultaneously recording performance data and reproduction data.

【図10】再生時は録音を行わない場合の録音処理の動
作を説明するフローチャートである。
FIG. 10 is a flowchart illustrating an operation of a recording process when recording is not performed during reproduction.

【図11】演奏と再生を同時に行っている際に演奏音の
みを録音する際の録音処理の動作を説明するフローチャ
ートである。
FIG. 11 is a flowchart illustrating an operation of a recording process when recording only a performance sound while performing and playing back simultaneously.

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

1 CPU 2 ROM 3 RAM(記憶手段) 4 パネルスキャン回路 5 操作パネル 6 鍵盤スキャン回路 7 鍵盤(入力手段) 8 音源回路(楽音発生手段) 9 波形メモリ 10 DSP 11 D/A変換器 12 増幅器 13 スピーカ 20 プレイスイッチ(再生指示手段) 21 録音制御部(判定手段) 22 再生制御部(読出手段) DESCRIPTION OF SYMBOLS 1 CPU 2 ROM 3 RAM (storage means) 4 Panel scan circuit 5 Operation panel 6 Keyboard scan circuit 7 Keyboard (input means) 8 Sound source circuit (tone generation means) 9 Waveform memory 10 DSP 11 D / A converter 12 Amplifier 13 Speaker Reference Signs List 20 play switch (reproduction instructing means) 21 recording control unit (judgment means) 22 reproduction control unit (reading means)

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 演奏情報を曲毎に記憶する記憶手段を有
し、入力部から供給される演奏情報を該記憶手段に記憶
することにより録音を行い、該記憶手段から所定の曲に
対応する演奏情報を読み出して再生を行う電子楽器のシ
ーケンサにおいて、 電源がオンされると録音待機状態となり、鍵盤が操作さ
れると、前記記憶手段の空きエリアに順次書込み、一杯
になると古い曲の記憶されている記憶領域を選択して順
次上書きする録音制御手段と、 曲の切れ目を検出して終了処理を行う切れ目処理手段
と、 操作することにより曲の再生を指示する再生指示手段
と、 該再生指示手段が操作されると、前記記憶手段に記憶さ
れている演奏情報の読み出しを行う再生制御手段と、を
具備し、 前記再生指示手段の指示により曲の再生が行われている
ときは、前記録音制御手段は、当該再生される曲の演奏
情報も記憶することを特徴とする電子楽器のシーケン
サ。
A recording means for storing performance information supplied from an input unit in said storage means to record a performance information corresponding to a predetermined music piece from said storage means; In a sequencer of an electronic musical instrument for reading and playing performance information, a recording standby state is established when the power is turned on, and when a keyboard is operated, the sequence is sequentially written into an empty area of the storage means. Recording control means for selecting and sequentially overwriting a storage area in the memory, break processing means for detecting a break in the music and performing end processing, reproduction instructing means for instructing reproduction of the music by operating the reproduction instruction, Playback means for reading the performance information stored in the storage means when the means is operated, and when the music is being played back by the instruction of the playback instruction means, It said recording control means, the sequencer of the electronic musical instrument and to store also play information of the song that is the reproduction.
【請求項2】 前記再生制御手段は、楽音の再生中に前
記再生指示手段が操作されると当該演奏情報の読み出し
を終了して停止することを特徴とする請求項1に記載の
電子楽器のシーケンサ。
2. The electronic musical instrument according to claim 1, wherein the reproduction control means stops reading the performance information and stops when the reproduction instruction means is operated during reproduction of a musical tone. Sequencer.
【請求項3】 前記記憶手段は記憶領域を管理する管理
テーブルを有し、前記録音制御手段は該テーブルの内容
を調べ、空き領域のない場合は、常に最も古い演奏情報
の記憶されている領域に上書し、再生時には直前に録音
された曲を再生することを特徴とする請求項1乃至2の
いずれかに記載の電子楽器のシーケンサ。
3. The storage means has a management table for managing a storage area, and the recording control means checks the contents of the table. If there is no free area, an area in which the oldest performance information is always stored. 3. A sequencer for an electronic musical instrument according to claim 1, wherein the music piece recorded immediately before is reproduced at the time of reproduction.
【請求項4】 前記記憶手段はリングバッファを構成
し、空き領域のない場合は、常に最も古い演奏情報の記
憶されている領域に上書し、再生時には直前に録音され
た曲を再生することを特徴とする請求項1乃至3のいず
れかに記載の電子楽器のシーケンサ。
4. The storage means constitutes a ring buffer, and when there is no free area, always overwrites the area where the oldest performance information is stored, and reproduces the music recorded immediately before at the time of reproduction. The sequencer for an electronic musical instrument according to any one of claims 1 to 3, wherein:
【請求項5】 前記切れ目処理手段は、一定時間以上発
音のないときには自動的に曲の切れ目を検出して録音を
終了することを特徴とする請求項項1乃至4のいずれか
に記載の電子楽器のシーケンサ。
5. The electronic device according to claim 1, wherein the break processing means automatically detects a break in the music and ends the recording when there is no sound for a predetermined time or more. Musical instrument sequencer.
【請求項6】 前記切れ目処理手段は、スイッチ操作に
より切れ目処理が指示され、曲の切れ目処理を行うこと
を特徴とする請求項1乃至5のいずれかに記載の電子楽
器のシーケンサ。
6. The sequencer for an electronic musical instrument according to claim 1, wherein the break processing means is instructed to perform a break processing by operating a switch, and performs a break processing of a music piece.
【請求項7】 前記再生制御手段は、前記再生指示手段
の設定位置または操作回数に応じて、任意の曲を選定可
能であることを特徴とする請求項1乃至6のいずれかに
記載の電子楽器のシーケンサ。
7. The electronic device according to claim 1, wherein the reproduction control unit can select an arbitrary music piece according to a set position or the number of operations of the reproduction instruction unit. Musical instrument sequencer.
JP06014956A 1994-01-14 1994-01-14 Electronic musical instrument sequencer Expired - Fee Related JP3142434B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06014956A JP3142434B2 (en) 1994-01-14 1994-01-14 Electronic musical instrument sequencer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06014956A JP3142434B2 (en) 1994-01-14 1994-01-14 Electronic musical instrument sequencer

Publications (2)

Publication Number Publication Date
JPH07210160A JPH07210160A (en) 1995-08-11
JP3142434B2 true JP3142434B2 (en) 2001-03-07

Family

ID=11875436

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06014956A Expired - Fee Related JP3142434B2 (en) 1994-01-14 1994-01-14 Electronic musical instrument sequencer

Country Status (1)

Country Link
JP (1) JP3142434B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4656822B2 (en) 2003-01-15 2011-03-23 ローランド株式会社 Electronic musical instruments

Also Published As

Publication number Publication date
JPH07210160A (en) 1995-08-11

Similar Documents

Publication Publication Date Title
JPH09319368A (en) Transposition control device for electronic musical instrument
JP2620724B2 (en) Performance information recording device
JP3142434B2 (en) Electronic musical instrument sequencer
JP3364362B2 (en) Karaoke equipment
JP3649014B2 (en) Performance data file playback setting control device
JP3642043B2 (en) Music generator
JPH10288987A (en) Electronic musical instrument and musical sound control data generating device
JP2548723Y2 (en) Music playback device
JP2751772B2 (en) Data storage device
JPH07334154A (en) Sequencer of electronic musical instrument
JP2641851B2 (en) Automatic performance device
JP2844621B2 (en) Electronic wind instrument
JP2591308B2 (en) Automatic performance device
JP3503487B2 (en) Automatic performance device and storage medium
JP3758041B2 (en) Musical sound control data generator
JP3178176B2 (en) Automatic accompaniment device
JP3757664B2 (en) Performance information reproducing apparatus and computer-readable recording medium recording performance information reproducing program
JP2847000B2 (en) Performance information storage device
JP3518392B2 (en) Performance information setting device and computer-readable recording medium storing performance information setting program
JPH1031486A (en) Method and device for performance data storage and reproducing
JP4205563B2 (en) Performance device, performance method, and computer program for performance
JP2576961Y2 (en) Music playback device
JP3375220B2 (en) Electronic musical instrument
JPH0348798Y2 (en)
JP3038086B2 (en) Performance information playback device

Legal Events

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