JPH05119769A - Automatic musical instrument playing device - Google Patents

Automatic musical instrument playing device

Info

Publication number
JPH05119769A
JPH05119769A JP15719391A JP15719391A JPH05119769A JP H05119769 A JPH05119769 A JP H05119769A JP 15719391 A JP15719391 A JP 15719391A JP 15719391 A JP15719391 A JP 15719391A JP H05119769 A JPH05119769 A JP H05119769A
Authority
JP
Japan
Prior art keywords
performance data
key
inter
data
music
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP15719391A
Other languages
Japanese (ja)
Other versions
JPH0812550B2 (en
Inventor
Takamichi Sawase
隆道 沢瀬
Akinori Endo
昭紀 遠藤
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 JP3157193A priority Critical patent/JPH0812550B2/en
Publication of JPH05119769A publication Critical patent/JPH05119769A/en
Publication of JPH0812550B2 publication Critical patent/JPH0812550B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To improve the direct access function and response in recording and reproduction by adding an inter-music code at the head of performance data, and specifying a storage area according to the address of the inter-music code and storing and reproducing the performance data. CONSTITUTION:Each keys of a keyboard 1 is provided with a 1st and a 2nd key switch and a solenoid 2 for key driving and the key switch group 3 is a block showing a gathering of key switches provided to the respective keys. A key information generating circuit 4 scans the outputs of the respective key switches of the key switch group 3 at all times to detect the ON/OFF states of the respective keys at all times. A CPU 6 controls respective device parts according to a program stored in a ROM 7. Then when performance data on plural pieces of music are stored, the inter-music code is recorded in the head address of the storage area and the addresses of the respective inter-music codes are stored successively in the storage order. The addresses of the inter- music codes are checked to access performance data on desired music.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は例えばピアノ自動演奏
装置等、演奏者の演奏過程を記憶手段に収録し、この収
録したデータに基づいて楽器を自動的に演奏する楽器自
動演奏装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic musical instrument playing apparatus, such as an automatic piano playing apparatus, which records a performance process of a performer in a storage means and automatically plays a musical instrument based on the recorded data.

【0002】[0002]

【従来の技術】記憶された演奏データに基づいて自動的
に楽器を演奏する自動演奏装置は、種々のタイプのもの
が開発されている。例えば、ピアノ自動演奏装置は、ピ
アノの各キーおよび各ペダルの各々に対応して、キー駆
動用のソレノイドおよびペダル駆動用のペダルソレノイ
ドを設け、これらのソレノイドを、カセットテープある
いはフロッピィディスク等に記憶されている演奏データ
に基づいて自動的に駆動し、ピアノの自動演奏を行う。
2. Description of the Related Art Various types of automatic performance devices have been developed for automatically playing a musical instrument based on stored performance data. For example, an automatic piano playing device is provided with a solenoid for driving a key and a pedal solenoid for driving a pedal corresponding to each key and pedal of the piano, and these solenoids are stored in a cassette tape or a floppy disk or the like. The piano is automatically driven based on the stored performance data to automatically play the piano.

【0003】[0003]

【発明が解決しようとする課題】ところで、この種の自
動演奏装置の中には、楽曲の演奏データを旋律部と和声
部とに分割して記憶し、その各々の先頭番地を別々に記
憶するようにしたものがある。しかしながら、このよう
な方式によると、分離した旋律部と和声部のそれぞれの
先頭番地を個別に記憶しなければならないので、先頭番
地を記憶する領域が楽曲数の2倍(分離数倍)必要にな
る。また、再生時には旋律部と和声部とをアージャー
(混合器)等によって合成して演奏データを再構成する
必要が生じた。このように、従来の技術にあっては、演
奏データの分離、合成という複雑な処理を行わなければ
ならないため、記録再生時のダイレクトアクセス機能お
よび応答性に問題があった。また、先頭番地記憶容量が
増加するという問題もあった。この発明は上述した事情
に鑑みてなされたもので、先頭番地記憶容量を増加させ
ることがなく、また、記録再生時のダイレクトアクセス
機能および応答性を向上させることができる楽器自動演
奏装置を提供することを目的としている。
By the way, in this kind of automatic performance device, performance data of a music piece is divided into a melody section and a chord section and stored, and the start address of each is separately stored. There are things I tried to do. However, according to such a method, the start address of each of the separated melody part and chord part must be stored separately, so the area for storing the start address needs to be twice the number of songs (multiple times the number of songs). become. Further, during reproduction, it is necessary to reconstruct the performance data by synthesizing the melody part and the harmony part with an ajar (mixer) or the like. As described above, in the conventional technique, since the complicated processing of separating and synthesizing the performance data has to be performed, there is a problem in the direct access function and responsiveness at the time of recording / reproducing. There is also a problem that the storage capacity of the head address increases. The present invention has been made in view of the above circumstances, and provides an automatic musical instrument playing device that does not increase the storage capacity of the head address and can improve the direct access function and responsiveness during recording and reproduction. The purpose is to

【0004】[0004]

【課題を解決するための手段】この発明は、上記課題を
解決するために、複数楽曲の演奏データを記録する際
に、各演奏データの記憶領域の先頭番地に曲間コードを
記録し、それに続けて各演奏データを楽曲の進行順に連
続的に記憶する記憶手段と、前記各曲間コードの番地を
記憶順に連続的に記憶する先頭番地記憶手段と、前記演
奏データの再生時に、前記先頭番地記憶手段に記憶され
た曲間コードの番地に基づき、外部からの再生指示に従
って各演奏データの再生を行う再生手段とを具備するこ
とを特徴とする。また、第2の発明としては、前記制御
手段が、前記演奏データの重ね記録時において、前記先
頭番地記憶手段に記憶された曲間コードの番地に基づ
き、外部からの記録指示に従って各演奏データの記録を
行うことを特徴とする。
In order to solve the above-mentioned problems, the present invention records an inter-track code at the beginning address of the storage area of each performance data when recording the performance data of a plurality of music pieces. Continuously, storage means for continuously storing each performance data in the order of progression of music, head address storage means for continuously storing addresses of each of the inter-codes in storage order, and the head address when reproducing the performance data. A reproducing means for reproducing each performance data according to a reproducing instruction from the outside based on the address of the inter-track code stored in the storing means. In a second aspect of the invention, the control means, in the overlap recording of the performance data, records each performance data in accordance with an external recording instruction based on the address of the inter-track code stored in the head address storage means. It is characterized by recording.

【0005】[0005]

【作用】前記制御手段が、先頭番地記憶手段内の曲間コ
ードの番地を調べることによって所望の楽曲の演奏デー
タをアクセスすることができる。
The control means can access the performance data of a desired music piece by checking the address of the inter-piece code in the head address storage means.

【0006】[0006]

【実施例】以下、図面を参照しこの発明の一実施例につ
いて説明する。図1はこの発明によるピアノ自動演奏装
置の構成を示すブロック図であり、この図に示す自動演
奏装置は、ピアノ演奏者の演奏に関するデータ(演奏デ
ータ)を収録する機能および収録した演奏データを再生
する機能(ピアノを自動的に演奏する機能)を共に有し
ている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an automatic piano playing apparatus according to the present invention. The automatic playing apparatus shown in this figure has a function of recording data (performance data) relating to performance of a piano player and reproducing the recorded performance data. Both have the function of playing (the function of automatically playing the piano).

【0007】以下、まず主な構成要素から説明する。図
1において、符号1はピアノの鍵盤であり、この鍵盤1
の各キーには各々、第1、第2のキースイッチおよびキ
ー駆動用のソレノイド2、2…が設けられている。この
場合、第1、第2のキースイッチは各々、キーが操作さ
れた場合に、異なるタイミングでオン状態となる。すな
わち、キーが操作されると、まず第1のキースイッチが
オン状態となり、次いで第2のキースイッチがオン状態
となる。キースイッチ群3は各キーに設けられたキース
イッチの集合を示すブロックである。キー情報発生回路
4は、キースイッチ群3の各キースイッチの出力を常時
走査することにより、各キーのオン/オフ状態を常時検
出する。そして、新たにキーが押下された場合は、同キ
ーのキーコードKCおよび打鍵強度データSDを内部の
レジスタに書込み、また、キーが離鍵された場合は、同
レジスタに書込まれたキーコードKCおよび打鍵強度デ
ータSDを消去する。上記レジスタの内容がバスライン
5へ出力される。なお、打鍵強度データSDは、各キー
の第1キースイッチがオンとなった時点から第2キース
イッチがオンとなるまでの時間を計測することにより求
められる。また、上記レジスタは、同時に複数のキーが
押下される場合を考慮し、複数個設けられている。
The main constituent elements will be described first. In FIG. 1, reference numeral 1 is a piano keyboard, and this keyboard 1
Each of the keys is provided with first and second key switches and solenoids 2, 2, ... For driving the keys. In this case, each of the first and second key switches is turned on at a different timing when the key is operated. That is, when the key is operated, the first key switch is turned on first, and then the second key switch is turned on. The key switch group 3 is a block showing a set of key switches provided for each key. The key information generation circuit 4 constantly detects the on / off state of each key by constantly scanning the output of each key switch of the key switch group 3. Then, when a new key is pressed, the key code KC and key-pressing strength data SD of the key is written in the internal register, and when the key is released, the key code written in the register. The KC and keystroke strength data SD are erased. The contents of the above register are output to the bus line 5. The keystroke strength data SD is obtained by measuring the time from when the first key switch of each key is turned on to when the second key switch is turned on. Further, a plurality of registers are provided in consideration of the case where a plurality of keys are simultaneously pressed.

【0008】CPU(中央処理装置)6はROM(リー
ドオンリメモリ)7に記憶されているプログラムに基づ
いて装置各部を制御するもので、バスライン5を介して
装置各部と接続されている。操作部8は演奏データの収
録開始時あるいは再生開始時に押すスタートスイッチ、
演奏データの収録終了時あるいは再生終了時に押すスト
ップスイッチ、演奏データの収録/再生を切換える収録
/再生切換えスイッチおよび曲番号を指定するための例
えばテンキー等からなる操作釦を有して構成されるもの
で、各スイッチおよび操作釦の出力はコード化されバス
ライン5へ出力される。ソレノイド駆動回路11は、C
PU6からバスライン5およびアウトプットインターフ
ェイス12を介して供給されるソレノイド駆動データS
KDに基づいて、周期が一定で、かつ同データSKDに
対応するパルス幅を有するソレノイド駆動信号を作成
し、このソレノイド駆動信号をCPU6から供給される
キーアドレスKAに対応するソレノイド2へ出力する。
A CPU (Central Processing Unit) 6 controls each part of the device based on a program stored in a ROM (Read Only Memory) 7, and is connected to each part of the device through a bus line 5. The operation unit 8 is a start switch that is pressed at the start of recording or playing of performance data,
Structure comprising a stop switch to be pressed at the end of recording or playback of performance data, a recording / playback switching switch for switching recording / playback of performance data, and an operation button such as a numeric keypad for designating a song number The outputs of the switches and operation buttons are coded and output to the bus line 5. The solenoid drive circuit 11 is C
Solenoid drive data S supplied from PU 6 via bus line 5 and output interface 12
Based on KD, a solenoid drive signal having a constant cycle and a pulse width corresponding to the same data SKD is created, and this solenoid drive signal is output to the solenoid 2 corresponding to the key address KA supplied from the CPU 6.

【0009】次に、図1に示す装置の動作について説明
する。 〔1〕 演奏データ収録時の動作 この場合、演奏者は操作部8の収録/再生切換えスイッ
チを収録側へ投入した後、スタートスイッチを押し、以
後鍵盤1によってピアノ演奏を行い、第1曲目の演奏が
終了した時点でストップスイッチを押す。第2曲目を続
けて演奏する場合は、再びスタートスイッチを押し、演
奏終了時点でストップスイッチを押す。第3曲目以降も
同様である。スタートスイッチが押されると、CPU6
は、まず各ビットが全て“0”の曲間コード(図5
(イ)における符号MC−1)を図2に示すRAM(ラ
ンダムアクセスメモリ)15の領域15bの先頭番地に
書込む。以後CPU6は、一定時間(例えば、4mse
c)が経過するたびにキー情報発生回路4内のレジスタ
に記憶されているデータをRAM15の領域15aへ書
込み、次いで、書込まれたデータと、前回(4msec
前)の領域15aに書込まれたデータとを比較すること
により、鍵盤1の押鍵状態の変化(以下、この変化をイ
ベントと称す)を検出する。例えば、CPU6が図3に
示す4msec毎の時刻t1〜t6においてイ ベント検出を
行う場合において、時刻taでキーF3(第3オクターブ
F音のキー)がオン、時刻tbでキー F3がオフとなっ
たとすると、時刻t2およびt5におい てイベントが検
出され、また、時刻t1、t3、t4、t6においてはイベ
ントが検出されない。そして、イベントが検出されない
場合は何の処理も行われないが、検出された場合は、C
PU6が次の処理を行う。すなわち、まずキーオンが検
出された場合は、図4(イ)に示すように、押下された
キーのキーコードKC、キーオンコード(“1”)同キ
ーの打鍵強度データSDおよび前回イベントが検出され
た時点から今回のイベント検出時までの時間を示す時間
データTDからなるデータブロックDBをRAM15の
領域15bに書込む。また、キーオフが検出された場合
は、図4(ロ)に示すように、離鍵されたキーのキーコ
ードKC、キーオフコード(“0”)および前回イベン
トが検出された時点から今回のイベント検出時までの時
間データTDからなるデータブロックDBをRAM15
の領域15bに書込む。この場合、例えば図3に示す時
刻t5におけるイベント検出時の時間データTDは、同
図に示す時間T1に対応するデータとなる。
Next, the operation of the apparatus shown in FIG. 1 will be described. [1] Operation during recording of performance data In this case, the performer turns on the recording / playback changeover switch of the operation unit 8 to the recording side, presses the start switch, and thereafter performs a piano performance with the keyboard 1 to play the first song. Press the stop switch when the performance ends. To continue playing the second song, press the start switch again and press the stop switch at the end of the performance. The same applies to the third and subsequent songs. When the start switch is pressed, the CPU 6
Is a code between songs in which all bits are all “0” (see FIG. 5).
The code MC-1 in (a) is written in the head address of the area 15b of the RAM (random access memory) 15 shown in FIG. After that, the CPU 6 keeps a certain time (for example, 4 mse).
A register in the key information generation circuit 4 each time c) elapses
The data stored in the area 15a of the RAM 15 is written to the area 15a.
The change in the key depression state of the keyboard 1 (hereinafter, this change is referred to as an event) is detected by comparing the data written in the area 15a of the previous). For example, the key when the CPU6 performs an event detected at the time t 1 ~t 6 per 4msec shown in FIG. 3, the key F 3 at time t a (key of the third octave F sound) is on, at time t b If F 3 is a turned off, an event is detected Te time t 2 and t 5 odor, also, the event is not detected at time t 1, t 3, t 4 , t 6. If no event is detected, no processing is performed. If an event is detected, C
PU6 performs the following processing. That is, first, when the key-on is detected, as shown in FIG. 4A, the key code KC of the pressed key, the key-on code (“1”), the keystroke strength data SD of the key and the previous event are detected. A data block DB consisting of time data TD indicating the time from when the current event is detected to this time of event detection is written in the area 15b of the RAM 15. When the key-off is detected, as shown in FIG. 4B, the key code KC of the released key, the key-off code (“0”), and the current event detection from the time when the previous event is detected. The data block DB including the time data TD until the time is stored in the RAM 15
Area 15b. In this case, for example, the time data TD at the time of event detection at time t 5 shown in FIG. 3 becomes data corresponding to the time T 1 shown in FIG.

【0010】このように、CPU6は4msec毎にイベ
ントチェックを行ない、イベントが検出されるたびに状
態が変化したキーのキーコードKCおよび時間データ等
を含むデータブロックDBをRAM15の領域15bに
書込んでいく(図5(イ)における符号DB−1、DE
−2、…参照)。そして、領域15bがFuLL(満ぱ
い)の状態になった時点で、領域15b内のデータを順
次ディスクコントローラ17を介してフロッピィディス
ク装置18(記憶手段)へ転送し、同装置18のディス
ク盤に書込む。また、この書込みの間に発生するイベン
トに係るデータはRAM15の領域15cに順次書き込
まれる。領域15cがFuLLの状態になった場合は、同
領域15cのデータがディスク盤へ書込まれ、また、新
たなデータが領域15bに書込まれる。そして、演奏者
が第1曲目の演奏を終了し、ストップスイッチを押す
と、CPU6が図5(イ)に示す曲間コードMC−2を
RAM15の領域15b(または15c)に書込み、次
いで、RAM15の領域15b(または15c)内のデ
ータをディスク盤へ転送する。次に、CPU6は、スタ
ートスイッチが押下された時点で書込まれた曲間コード
MC−1のアドレス(ディスク盤のアドレス)をディス
ク盤の別のトラックに書込む(図5(ロ)参照)。
In this way, the CPU 6 performs an event check every 4 msec, and writes a data block DB containing the key code KC of the key whose state has changed each time an event is detected and time data into the area 15b of the RAM 15. Go (code DB-1, DE in FIG. 5A)
-2, ...). Then, when the area 15b becomes FuLL (full), the data in the area 15b is sequentially transferred to the floppy disk device 18 (storage means) via the disk controller 17, and the disk disk of the device 18 is transferred. Write. Further, the data related to the event that occurs during this writing is sequentially written in the area 15c of the RAM 15. When the area 15c is in the FuLL state, the data in the area 15c is written to the disk board and new data is written in the area 15b. Then, when the performer finishes the performance of the first music and presses the stop switch, the CPU 6 writes the inter-music code MC-2 shown in FIG. 5A in the area 15b (or 15c) of the RAM 15, and then the RAM 15 The data in the area 15b (or 15c) is transferred to the disk. Next, the CPU 6 writes the address of the inter-track code MC-1 (address of the disc board), which was written when the start switch was pressed, on another track of the disc board (see FIG. 5B). ..

【0011】次に、演奏者が、第2曲目の演奏をすべく
再びスタートスイッチを押すと、上述した場合と全く同
様に、RAM15の領域15bの先頭番地に曲間コード
MC−3(図5(イ)参照)が書込まれ、以後、演奏者
の第2曲目の演奏に従って、RAM15の領域15bお
よび15c内のデータブロックDBが書込まれる。ま
た、書込まれたデータブロックDBは順次ディスク盤へ
転送される。そして、演奏者が第2曲目の演奏を終了
し、ストップスイッチを押すと、図5(イ)に示す曲間
コードMC−4が領域15b(または15c)に書込ま
れ、次いで、領域15b(または15c)内のデータが
ディスク盤へ転送される。次に、曲間コードMC−3の
アドレス(ディスク盤のアドレス)が前述したディスク
盤の別のトラックに曲間コードMC−1のアドレスに続
けて書込まれる(図5(ロ)参照)。以下同様に、演奏
者が第3曲目、第4曲目…と演奏を続けていくと、演奏
者の演奏に係るデータブロックDBが順次ディスク盤に
書込まれると共に、曲間コードのアドレスがディスク盤
の別のトラックに書込まれ、これにより、ディスク盤の
同トラックに図5(ロ)に示すインデックステーブルI
Tが作成される。
Next, when the performer presses the start switch again in order to play the second piece of music, just as in the case described above, the inter-track code MC-3 (FIG. 5) is displayed at the head address of the area 15b of the RAM 15. (See (a)), and thereafter, the data block DB in the regions 15b and 15c of the RAM 15 is written in accordance with the performance of the second piece of music by the performer. Further, the written data block DB is sequentially transferred to the disc board. Then, when the performer finishes the performance of the second music and presses the stop switch, the inter-music code MC-4 shown in FIG. 5A is written in the area 15b (or 15c), and then the area 15b ( Alternatively, the data in 15c) is transferred to the disc. Next, the address of the inter-track code MC-3 (address of the disc board) is written to another track of the above-mentioned disc board following the address of the inter-track code MC-1 (see FIG. 5B). Similarly, when the performer continues to play the third song, the fourth song, ..., The data block DB relating to the performer's performance is sequentially written to the disc board, and the address of the inter-track code is given to the disc board. Of the index table I shown in FIG. 5B on the same track of the disc.
T is created.

【0012】〔2〕 演奏データ再生時の動作 この場合、操作者は、まず操作部8の収録/再生切換え
スイッチを再生側へ投入した後、操作部8の操作釦によ
って曲番号を指定し、そして、スタートスイッチを押
す。スタートスイッチが押されると、CPU6は、まず
フロッピィディスク装置18のディスク盤のインデック
ステーブルIT(図5(ロ))から、操作釦によって指
定された曲番号に対応するアドレス(曲間コードのアド
レス)を読出す。次いで、ディスク盤の同アドレス以降
に収録されているデータを順次RAM15の領域15b
および15cへ転送する。ここで、説明の便宜上、操作
者が第1曲目を指定し、したがって、図5(イ)に示す
データブロックDB−1、DB−2……が領域15bの
先頭番地から順に書込まれたとする。また、データブロ
ックDB、データブロックDB−2は図4(ロ)に示す
キーオフ時のデータブロックDBであるとする。領域1
5bおよび15cへのデータ転送が終了すると、次に、
CPU6は領域15bの先頭番地のデータブロックDB
−1を読出し、領域15aへ書込む。以後、CPU6
は、領域15aに書込まれたデータブロックDB−1の
時間データTDに対応する時間を計測する。そして、時
間データTDに対応する時間が経過した時点で領域15
bから次のデータブロックDB−2を読出し、領域15
aに書込む。以後、CPU6はデータブロックDB−2
の時間データTDに対応する時間を計測すると共に、領
域15a内のデータブロックDB−1のキーコードKC
および打鍵強度データSDの処理を行う。すなわち、デ
ータブロックDB−1の打鍵強度データSDをソレノイ
ド2の特性に応じて変換し、この結果得られるソレノイ
ド駆動データSKDをキーに対応するキーアドレスKA
と共にアウトプットインターフェイス12へ出力する。
アウトプットインターフェイス12は供給されたソレノ
イド駆動データSKDおよびキーアドレスKAを記憶
し、また、記憶したデータSKDおよびキーアドレスK
Aをソレノイド駆動回路11へ出力する。これにより、
データブロックDB−1のキーコードKCに対応するソ
レノイド2のプランジャが、打鍵強度データSDに対応
する速さで駆動され、ソレノイド2のプランジャにより
上記キーコードKCに対応するキーが駆動され、同キー
の発音が発生する。なお、上述した打鍵強度データSD
からソレノイド駆動データSKDへの変換は、ROM7
内に予め記憶されている変換テーブルに基づいて行なわ
れる。
[2] Operation during reproduction of performance data In this case, the operator first turns on the recording / reproduction changeover switch of the operation unit 8 to the reproduction side, and then specifies the song number by the operation button of the operation unit 8, Then press the start switch. When the start switch is pressed, the CPU 6 firstly, from the index table IT (FIG. 5 (b)) of the disk of the floppy disk device 18, the address corresponding to the music number designated by the operation button (inter-code address). Read. Next, the data recorded after the same address on the disk is sequentially stored in the area 15b of the RAM 15
And 15c. Here, for convenience of explanation, it is assumed that the operator designates the first music piece, and therefore the data blocks DB-1, DB-2, ... Shown in FIG. 5A are written in order from the head address of the area 15b. .. The data block DB and the data block DB-2 are assumed to be the data block DB at the time of key-off shown in FIG. Area 1
When the data transfer to 5b and 15c is completed, next,
CPU 6 is a data block DB at the start address of area 15b
-1 is read and written in the area 15a. After that, CPU6
Measures the time corresponding to the time data TD of the data block DB-1 written in the area 15a. Then, when the time corresponding to the time data TD elapses, the area 15
The next data block DB-2 is read from b, and the area 15
Write to a. After that, the CPU 6 uses the data block DB-2
The time corresponding to the time data TD of the key code KC of the data block DB-1 in the area 15a is measured.
And the keystroke strength data SD is processed. That is, the keystroke strength data SD of the data block DB-1 is converted according to the characteristic of the solenoid 2, and the solenoid drive data SKD obtained as a result is converted into a key address KA corresponding to the key.
It is also output to the output interface 12.
The output interface 12 stores the supplied solenoid drive data SKD and the key address KA, and also stores the stored data SKD and the key address K.
A is output to the solenoid drive circuit 11. This allows
The plunger of the solenoid 2 corresponding to the key code KC of the data block DB-1 is driven at a speed corresponding to the keystroke strength data SD, and the plunger of the solenoid 2 drives the key corresponding to the key code KC. Is pronounced. The keystroke strength data SD described above
From ROM to solenoid drive data SKD
It is performed based on the conversion table stored in advance.

【0013】次いで、領域15a内のデータブロックD
B−2の時間データTDに対応する時間が経過すると、
CPU6が領域15bから次のデータブロックDB−3
を読出し、領域15aに書込む。以後、CPU6はデー
タブロックDB−3の時間データTDに対応する時間を
計測する。また、CPU6は領域15a内のデータブロ
ックDB−2のキーオフコード(“0”)およびキーコ
ードKCに基づいて、アウトプットインターフェイス1
2に記憶されているソレノイド駆動データSKDをクリ
アする。これにより、データブロックDB−2のキーコ
ードKCに対応するソレノイド2へ印加されていたソレ
ノイド駆動信号がオフとされ、キーの楽音が停止する。
以下、上述した動作が繰り返され、ピアノの自動演奏が
行なわれる。そして、領域15b内の全データの自動演
奏が終了すると、引き続いて領域15c内のデータに基
づいて自動演奏が行われ、また、領域15bには次のデ
ータがフロッピィディスク装置18のディスク盤から転
送される。以下、領域15cおよび15b内のデータが
交互に自動演奏され、また、領域15b、15c内のデ
ータによる自動演奏が終了する毎に、新たなデータがデ
ィスク盤から転送される。
Next, the data block D in the area 15a
When the time corresponding to the time data TD of B-2 has elapsed,
The CPU 6 reads the next data block DB-3 from the area 15b.
Is read and written in the area 15a. After that, the CPU 6 measures the time corresponding to the time data TD of the data block DB-3. Further, the CPU 6 outputs the output interface 1 based on the key-off code (“0”) and the key code KC of the data block DB-2 in the area 15a.
The solenoid drive data SKD stored in 2 is cleared. As a result, the solenoid drive signal applied to the solenoid 2 corresponding to the key code KC of the data block DB-2 is turned off, and the musical sound of the key is stopped.
After that, the above-described operation is repeated and the piano is automatically played. When the automatic performance of all the data in the area 15b is completed, the automatic performance is continuously performed based on the data in the area 15c, and the next data is transferred to the area 15b from the disk board of the floppy disk device 18. To be done. Thereafter, the data in the areas 15c and 15b are alternately automatically played, and new data is transferred from the disc disk each time the automatic performance by the data in the areas 15b and 15c is completed.

【0014】以上説明したように、この実施例によれ
ば、例えば収録時、操作部8のREC操作キーを操作す
ることによりレコーディングポインタが必ず最終曲のE
ND部分に移動し、いちいち曲の空いている所をさがす
必要もなく、また、REC操作キーを操作後、操作部8
の曲番号を指定する操作ボタンを押すことにより、任意
の曲の頭から重ね収録もできる等の効果が得られる。な
お、図5(イ)に示す曲間コードMC−2、MC−4…
…は一曲の自動演奏の終了を検知するために用いられ
る。
As described above, according to this embodiment, for example, during recording, by operating the REC operation key of the operation unit 8, the recording pointer is always the E of the last song.
It is not necessary to move to the ND part and search for a vacant place in each song, and after operating the REC operation key, the operation unit 8
By pressing the operation button for designating the song number, it is possible to obtain an effect such that over-recording can be performed from the beginning of any song. The inter-track chords MC-2, MC-4 ... Shown in FIG.
... is used to detect the end of the automatic performance of one song.

【0015】[0015]

【発明の効果】以上説明したように、この発明によれ
ば、曲間コードを各演奏データの先頭に付与し、その曲
間コードのアドレスに基づいて記憶領域を指定して記憶
再生するので、先頭番地記憶容量を増加させることがな
く、また、記録再生時のダイレクトアクセス機能および
応答性を向上させることができる。
As described above, according to the present invention, the inter-track code is added to the beginning of each performance data, and the storage area is designated and stored and reproduced based on the address of the inter-track code. It is possible to improve the direct access function and responsiveness at the time of recording / reproducing without increasing the head address storage capacity.

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

【図1】 この発明の一実施例の構成を示すブロック図
である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】 図1に示すRAM15の記憶領域を示す図で
ある。
FIG. 2 is a diagram showing a storage area of a RAM 15 shown in FIG.

【図3】 イベント検出を説明するためのタイミングチ
ャートである。
FIG. 3 is a timing chart for explaining event detection.

【図4】 図1におけるフロッピィディスク装置18の
ディスク盤に書込まれるデータの形式を示す図である。
4 is a diagram showing a format of data written on a disk disk of the floppy disk device 18 in FIG.

【図5】 ディスク盤に書込まれるデータブロックDB
−1、DB−2……、曲間コードMC−1、MC−2…
…、およびディスク盤内に作成されるエンデックステー
ブルITを示す図である。
FIG. 5: Data block DB written on the disc
-1, DB-2 ..., Inter-song chords MC-1, MC-2 ...
, And an index table IT created in the disc.

【符号の説明】 6……中央処理装置(CPU)、7……リードオンリメ
モリ(ROM)、15……ランダムアクセスメモリ、
(RAM)、18……記憶手段(フロッピイディスク装
置)。
[Explanation of symbols] 6 ... Central processing unit (CPU), 7 ... Read-only memory (ROM), 15 ... Random access memory,
(RAM), 18 ... Storage means (floppy disk device).

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数楽曲の演奏データを記録する際に、
各演奏データの記憶領域の先頭番地に曲間コードを記録
し、それに続けて各演奏データを楽曲の進行順に連続的
に記憶する記憶手段と、 前記各曲間コードの番地を記憶順に連続的に記憶する先
頭番地記憶手段と、 前記演奏データの再生時に、前記先頭番地記憶手段に記
憶された曲間コードの番地に基づき、外部からの再生指
示に従って各演奏データの再生を行う制御手段とを具備
することを特徴とする楽器自動演奏装置。
1. When recording performance data of a plurality of songs,
A storage means for recording inter-song chords at the head address of the storage area of each performance data, and subsequently storing each performance data continuously in the order of progression of music, and a storage means for successively storing the addresses of each inter-song code in the storage order. A head address storage means for storing the performance data; and a control means for reproducing the performance data in accordance with a reproduction instruction from the outside based on the address of the inter-track code stored in the head address storage means when the performance data is reproduced. An automatic musical instrument playing device characterized by:
【請求項2】 複数楽曲の演奏データを記録する際に、
各演奏データの記憶領域の先頭番地に曲間コードを記録
し、それに続けて各演奏データを楽曲の進行順に連続的
に記憶する記憶手段と、 前記各曲間コードの番地を記憶順に連続的に記憶する先
頭番地記憶手段と、 前記演奏データの重ね記録時において、前記先頭番地記
憶手段に記憶された曲間コードの番地に基づき、外部か
らの記録指示に従って各演奏データの記録を行う制御手
段とを具備することを特徴とする楽器自動演奏装置。
2. When recording performance data of a plurality of songs,
A storage means for recording inter-song chords at the head address of the storage area of each performance data, and subsequently storing each performance data continuously in the order of progression of music, and a storage means for successively storing the addresses of each inter-song code in the storage order. A head address storing means for storing, and a control means for recording each performance data in accordance with a recording instruction from the outside based on the address of the inter-track code stored in the head address storing means when the performance data is overrecorded. An automatic musical instrument playing device comprising:
JP3157193A 1991-06-27 1991-06-27 Musical instrument automatic performance device Expired - Lifetime JPH0812550B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3157193A JPH0812550B2 (en) 1991-06-27 1991-06-27 Musical instrument automatic performance device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3157193A JPH0812550B2 (en) 1991-06-27 1991-06-27 Musical instrument automatic performance device

Publications (2)

Publication Number Publication Date
JPH05119769A true JPH05119769A (en) 1993-05-18
JPH0812550B2 JPH0812550B2 (en) 1996-02-07

Family

ID=15644236

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3157193A Expired - Lifetime JPH0812550B2 (en) 1991-06-27 1991-06-27 Musical instrument automatic performance device

Country Status (1)

Country Link
JP (1) JPH0812550B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5456417A (en) * 1977-10-13 1979-05-07 Sanyo Electric Co Ltd Automatic performance apparatus

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5456417A (en) * 1977-10-13 1979-05-07 Sanyo Electric Co Ltd Automatic performance apparatus

Also Published As

Publication number Publication date
JPH0812550B2 (en) 1996-02-07

Similar Documents

Publication Publication Date Title
JPH0136637B2 (en)
JPH05119769A (en) Automatic musical instrument playing device
JPH0428313B2 (en)
JPH0125993Y2 (en)
JP2519623Y2 (en) Automatic playing device
JPH0125989Y2 (en)
JP2660462B2 (en) Automatic performance device
JPH0125992Y2 (en)
JP3389606B2 (en) Performance information separation device and automatic performance device
JP2625800B2 (en) Automatic performance device
JPH07113829B2 (en) Automatic playing device
JPH043352Y2 (en)
JPH0430638Y2 (en)
JPH044596B2 (en)
JPH0511593Y2 (en)
JP2001154670A (en) Device and method for reproducing music data and recording medium
JP2890873B2 (en) Automatic performance device
JPS6356559B2 (en)
JPH0511749A (en) Automatic player device for musical instrument
JPH0531160B2 (en)
JP2591308B2 (en) Automatic performance device
JPH0353636B2 (en)
JPH079247Y2 (en) Karaoke player
JPH0436395B2 (en)
JPS6250915B2 (en)

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19960723