JP2518190B2 - Automatic playing device - Google Patents

Automatic playing device

Info

Publication number
JP2518190B2
JP2518190B2 JP5155542A JP15554293A JP2518190B2 JP 2518190 B2 JP2518190 B2 JP 2518190B2 JP 5155542 A JP5155542 A JP 5155542A JP 15554293 A JP15554293 A JP 15554293A JP 2518190 B2 JP2518190 B2 JP 2518190B2
Authority
JP
Japan
Prior art keywords
data
automatic performance
reproduction
position data
reproducing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP5155542A
Other languages
Japanese (ja)
Other versions
JPH0627945A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP5155542A priority Critical patent/JP2518190B2/en
Publication of JPH0627945A publication Critical patent/JPH0627945A/en
Application granted granted Critical
Publication of JP2518190B2 publication Critical patent/JP2518190B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Reverberation, Karaoke And Other Acoustics (AREA)
  • Electrophonic Musical Instruments (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えばCD等の記録媒
体によって再生される楽曲に合わせて、自動演奏を行う
自動演奏装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic performance device for automatically performing music in accordance with music played on a recording medium such as a CD.

【0002】[0002]

【従来の技術】近年、電子楽器などを用いた自動演奏が
盛んに行われるようになったが、単なる自動演奏のみで
なく、ミュージックテープやコンパクトディスク(以後
CDと略称する)の音楽再生に合わせて自動演奏を行う
ことができれば、例えば特定の楽器の演奏のみを抜いた
マイナスワン形式のオーケストラのCDを再生し、それ
に自動演奏の楽器を同期させるなどして、より複雑で多
彩な音楽を楽しむことができる。
2. Description of the Related Art In recent years, automatic performances using electronic musical instruments have become popular, but not only automatic performances but also music reproductions on music tapes and compact discs (hereinafter abbreviated as CD) are performed. If you can perform automatic music playing, for example, you can enjoy a more complex and diverse music by playing a minus one format orchestral CD without playing only a specific musical instrument and synchronizing the automatically playing musical instrument with it. be able to.

【0003】この場合、楽曲の再生と自動演奏の開始と
が同時に指示されることにより、電子楽器等の自動演奏
を同期させることができる。ところが、自動演奏を行っ
てゆくうちに、テープレコーダ等においては楽曲の再生
速度が変化したり、CD等においてはCD盤の傷により
音飛びを起こしたりして、自動演奏と楽曲の再生が同期
しなくなるような場合を生じ得る。
In this case, the automatic performance of the electronic musical instrument or the like can be synchronized by instructing the reproduction of the music and the start of the automatic performance at the same time. However, during the automatic performance, the playback speed of the music changes in tape recorders, etc., and in CDs etc., skipping occurs due to scratches on the CD disc, and the automatic performance and the music playback are synchronized. In some cases, it may not be possible.

【0004】このような場合、従来ユーザは、テンポ操
作キーを操作して自動演奏のテンポを楽曲の再生に対し
て追いつかせたり、遅らせたりしている。
In such a case, the conventional user operates the tempo operation key to make the tempo of the automatic performance catch up with or delay the reproduction of the music.

【0005】[0005]

【発明が解決しようとする課題】しかし、上記従来例に
おいては、自動演奏のテンポを変えると、その瞬間では
テンポを合わせることができるが、それ以降はテンポを
変えたことにより生じるずれが増大してゆくことにな
る。従って、適用なタイミングで再びテンポを元に戻さ
なければならず、操作が煩雑になるという問題点を有し
ている。
However, in the above-mentioned conventional example, when the tempo of automatic performance is changed, the tempo can be adjusted at that moment, but after that, the deviation caused by changing the tempo increases. I will be going. Therefore, the tempo has to be restored again at an appropriate timing, and there is a problem that the operation becomes complicated.

【0006】本発明の課題は、上述のように同期がずれ
た場合に、自動演奏と楽曲の再生を停止させ、両者の同
期をあわせてから、再び自動演奏を行うこが可能な自動
演奏装置を提供するにある。
An object of the present invention is to provide an automatic performance apparatus capable of stopping automatic performance and reproduction of a musical piece when the synchronization is deviated as described above, synchronizing the both, and then performing the automatic performance again. To provide.

【0007】[0007]

【課題を解決するための手段】本発明は、まず、楽音を
発音する音源手段を有する。同手段は、例えばPCM方
式、波形変調方式、倍音加算方式、倍音減算方式等の音
源を有する、電子鍵盤楽器、電子弦楽器、電子管楽器等
である。また、自動演奏データに基づいて自動演奏を行
う機能を有するアコースティック楽器等であってもよ
い。なお、音源手段は、MIDI等のインタフェースを
介して、本体外部に接続されるものであってもよい。こ
こで、自動演奏データは、ユーザーが例えば電子楽器を
演奏したときに楽器から出力されるデータであり、例え
ばキーオン命令とキーデータ、キーオフ命令とキーデー
タ、キーオン、キーオフ等の時間タイミングをとるウエ
イト命令とウエイトデータ、自動演奏の終了を指示する
エンド命令等である。
The present invention firstly has sound source means for producing a musical tone. The means is, for example, an electronic keyboard instrument, an electronic string instrument, an electronic wind instrument, or the like having a sound source such as a PCM system, a waveform modulation system, an overtone addition system, and an overtone subtraction system. Further, it may be an acoustic musical instrument or the like having a function of performing automatic performance based on automatic performance data. The sound source means may be connected to the outside of the main body via an interface such as MIDI. Here, the automatic performance data is data that is output from the musical instrument when the user plays an electronic musical instrument, for example, a weight that takes time timing such as key-on command and key data, key-off command and key data, key-on and key-off. It is an instruction and weight data, and an end instruction for instructing the end of automatic performance.

【0008】次に、記録媒体に記録されているオーディ
オデータに対して誤り訂正を行いながらその再生を行う
再生手段を有する。同手段は、例えばコンパクトディス
クプレーヤ、或いはジタルオーディオテープレコーダー
等である。この場合のオーディオデータは、例えば特定
の演奏パート以外の楽曲を入れたマイナスワン・データ
であっても、あるいは通常の楽曲のデータであってもよ
い。
Next, there is a reproducing means for reproducing the audio data recorded on the recording medium while performing error correction. The means is, for example, a compact disc player, a digital audio tape recorder, or the like. The audio data in this case may be, for example, minus one data containing a music piece other than a specific performance part, or may be normal music piece data.

【0009】また、再生手段によるオーディオデータの
再生動作に同期して、記録媒体に記録されている再生中
のオーディオデータの各タイミングを示す位置データを
順次読み出す位置データ読み出し手段を有する。ここ
で、位置データは、例えば前述のコンパクトディスクプ
レーヤ又はデジタルオーディオテープレコーダのサブコ
ードに記録されているオーディオデータの記録開始時点
からの経過時間を示す時間データである。そして、位置
データ読み出し手段は、例えば上述のコンパクトディス
クプレーヤ又はデジタルオーディオテープレコーダの一
部の機能として実現され、オーディオデータの再生と共
に、それに対応する時間データを順次出力する手段であ
る。
Further, there is provided position data reading means for sequentially reading position data indicating each timing of the audio data being reproduced recorded on the recording medium in synchronization with the reproduction operation of the audio data by the reproducing means. Here, the position data is time data indicating the elapsed time from the recording start time of the audio data recorded in the subcode of the compact disc player or the digital audio tape recorder described above, for example. The position data reading means is realized as, for example, a function of a part of the compact disc player or the digital audio tape recorder described above, and is a means for sequentially outputting time data corresponding to the reproduction of the audio data.

【0010】続いて、上述の自動演奏データを記憶する
自動演奏データ記憶手段を有する。この場合、同手段に
は、上述の自動演奏データのうち所定の自動演奏データ
例えばキーオン命令による前記音源手段での自動キーオ
ン動作と同期して、再生手段で再生されるべきオーディ
オデータのタイミングを示す位置データが、上述の所定
の自動演奏データと共に記憶される。
Subsequently, it has an automatic performance data storage means for storing the above-mentioned automatic performance data. In this case, the means indicates the timing of audio data to be reproduced by the reproducing means in synchronism with a predetermined automatic performance data of the above-mentioned automatic performance data, for example, an automatic key-on operation in the sound source means by a key-on command. The position data is stored together with the predetermined automatic performance data described above.

【0011】更に、次のような同期再開制御手段を有す
る。同手段は、例えばCDプレーヤのような再生手段か
ら再生されるオーディオに合わせて、演奏者が演奏する
場合、同再生手段から誤り訂正不能状態が検出されたと
きに、その再生音をまず消音し、例えばPCM方式等の
音源手段での自動演奏動作を停止させるとともに、誤り
訂正不能状態の回復を待つ第1の処理を行う。
Further, it has the following synchronization resumption control means. When the performer plays along with the audio reproduced from the reproducing means such as a CD player, the reproducing means first mutes the reproduced sound when an error correction impossible state is detected by the reproducing means. For example, the first process of stopping the automatic performance operation of the sound source means such as the PCM system and waiting for the recovery from the error correction impossible state is performed.

【0012】次に、同手段は、再生手段において誤り訂
正不能状態の回復した時点で、例えばCDのサブコード
による、CD絶対時間データを読み出す位置データ読み
出し手段から読み出されている位置データと、自動演奏
データ記憶手段に記憶されている各位置データとに基づ
いて、再生手段でのオーディオデータの再生動作に同期
させて音源手段による自動演奏を再開させる第2の処理
を行う。
Next, the same means, when the error correction impossible state is recovered in the reproducing means, the position data read from the position data reading means for reading the CD absolute time data by, for example, the subcode of the CD, On the basis of each position data stored in the automatic performance data storage means, a second process for restarting the automatic performance by the sound source means is performed in synchronization with the reproduction operation of the audio data by the reproduction means.

【0013】そして、同手段は上述の第2の処理におい
て、以下のような2つの処理を行うように構成できる。
すなわち、まず、再生手段において誤り訂正不能状態が
回復したタイミングにおいて、再生手段に対してオーデ
ィオデータの再生を一時停止させる処理を行う。次に、
そのタイミングにおいて位置データ読み出し手段から読
み出される位置データの値以上となる位置データを、自
動演奏データ記憶手段上で検索し、検索された位置デー
タのタイミング(例えば前述のCD絶対時間)からのオ
ーディオデータの再生開始を再生手段に指示し、その指
示動作に同期して自動演奏データ記憶手段に記憶されて
いる自動演奏データを検索された位置データに対応する
所定の自動演奏データから順に読み出し、それに基づい
て音源手段に自動演奏を再開させる処理を行う。
The means can be configured to perform the following two processes in the above-mentioned second process.
That is, first, at the timing when the error correction impossible state is recovered in the reproducing means, the reproducing means is caused to temporarily stop the reproduction of the audio data. next,
Position data that is equal to or greater than the position data value read from the position data reading means at that timing is searched on the automatic performance data storage means, and audio data from the timing of the searched position data (for example, the CD absolute time mentioned above). To the reproduction means, the automatic performance data stored in the automatic performance data storage means are sequentially read out from the predetermined automatic performance data corresponding to the searched position data, based on the instruction. Processing for causing the sound source means to restart the automatic performance.

【0014】[0014]

【作用】例えばCD等のオーディオ再生に合わせて、楽
曲の自動演奏を行っているとき、CDの再生が誤り訂正
不能状態になり、CDのオーディオ再生と自動演奏の同
期がとれなった場合に、同期再開制御手段は、まず、再
生中のオーディオの音を消音するとともに自動演奏を停
止させる。
For example, when the music is automatically played in accordance with the audio reproduction of the CD or the like, and the CD reproduction is in an error correction impossible state, and the audio reproduction of the CD and the automatic performance are not synchronized, The synchronization resuming control means first mutes the sound of the audio being reproduced and stops the automatic performance.

【0015】次に、同手段はCDの訂正不能状態の回復
するのを待ち、それが回復したら、その時点におけるオ
ーディオデータの位置を示すCDの絶対時間と、それに
対応する自動演奏データの絶対時間とを比較し、両絶対
時間データが異る場合は、両方の絶対時間が等しくなる
ように、再生手段及び自動演奏データを記憶している自
動演奏データ記憶手段を制御する。
Next, the means waits for the uncorrectable state of the CD to be recovered, and when it recovers, the absolute time of the CD indicating the position of the audio data at that time and the absolute time of the automatic performance data corresponding thereto. If both absolute time data are different from each other, the reproducing means and the automatic performance data storage means storing the automatic performance data are controlled so that both absolute time data become equal.

【0016】このようにして、両方の絶対時間データが
等しくなった時点で、再生手段の再生と同期して、再び
自動演奏を続けることが可能である。
In this way, when both absolute time data become equal, it is possible to continue the automatic performance again in synchronization with the reproduction by the reproducing means.

【0017】[0017]

【実施例】以下、図面を参照しながら本発明の実施例に
ついて説明する。 {構 成} 図1は、本発明に係る1実施例である電子鍵盤楽器と、
CDプレーヤを備えた自動演奏装置の全体的な回路構成
を示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings. { Structure } FIG. 1 shows an electronic keyboard instrument according to one embodiment of the present invention.
It is a block diagram showing the whole circuit composition of an automatic performance device provided with a CD player.

【0018】図1において、1点割鎖線100で囲まれ
た部分がCDプレーヤ部(以下、CDプレーヤ部100
と呼ぶ)で、1点鎖線200で囲まれた部分が電子鍵盤
楽器部(以下、電子鍵盤楽器部200と呼ぶ)である。
In FIG. 1, the portion surrounded by the one-dot chain line 100 is the CD player section (hereinafter, the CD player section 100).
The portion surrounded by the alternate long and short dash line 200 is an electronic keyboard instrument section (hereinafter referred to as the electronic keyboard instrument section 200).

【0019】まず、CDプレーヤ部100のブロック構
成について説明する。105はCDであり、CDプレー
ヤ部100の特には図示しないホルダー部にセットされ
ることにより、再生動作が行われる。
First, the block configuration of the CD player section 100 will be described. Reference numeral 105 denotes a CD, and a reproducing operation is performed by being set in a holder unit (not shown) of the CD player unit 100.

【0020】次に、102はCD操作部で、その構成を
図2に示す。再生スイッチ1021は、CDの再生指示
を行う。停止スイッチ1022 は、CD再生の停止を指
示する。「0」〜「9」のテンキー1023 は、再生を
行うときのCDの曲番を指定する。
Next, reference numeral 102 denotes a CD operating section, the structure of which is shown in FIG. The reproduction switch 102 1 issues a CD reproduction instruction. The stop switch 102 2 gives an instruction to stop the CD reproduction. Numeric keypad 102 3 of "0" to "9", to specify the track number of the CD when performing a play.

【0021】次に、図1に戻って、CD制御部103
は、例えばマイクロプロセッサであり、CDプレーヤ部
100の全体の制御を行っており、サブコード信号処理
回路110、楽器制御部201、及びTOCメモリ10
1等との間で、各種データの授受を行う。また、CD1
05の駆動時には、サーボ回路104に、駆動制御信号
を出力する。
Next, returning to FIG. 1, the CD control unit 103
Is a microprocessor, for example, which controls the entire CD player unit 100, and includes a subcode signal processing circuit 110, a musical instrument control unit 201, and a TOC memory 10.
Exchanges various data with 1st class. Also, CD1
At the time of driving 05, a drive control signal is output to the servo circuit 104.

【0022】サーボ回路104は、CD105を回転駆
動させるディスクモータ106の回転数の制御を行っ
て、CD105の各トラックの線速度が一定になるよう
に制御する。
The servo circuit 104 controls the number of rotations of the disk motor 106 that drives the CD 105 to rotate so that the linear velocity of each track of the CD 105 becomes constant.

【0023】またサーボ回路104は、CD105の各
トラックにレーザー・ビームを照射する光ピックアップ
107の、フォーカス・サーボ及びトラッキング・サー
ボを行う。上記のフォーカス・サーボは、上記レーザー
・ビームの反射光の状態からフォーカス誤差を検出し、
そのフォーカス誤差に基づいて、光ピックアップ107
内の対物レンズを光軸方向に制御、駆動するものであ
り、また、トラッキング・サーボは、CD105のトラ
ック中央からのレーザー・ビームのずれを検出しなが
ら、上記の光ピックアップ107をピックアップ送りモ
ータ108によって、半径方向に移動させ、またディス
クの偏芯等による速い動きに対しては、光ピックアップ
107自体をトラックに追従させて、同ピックアップか
ら照射されるレーザー・ビームが、CD105のトラッ
ク中央に正確に照射されるように制御するものである。
The servo circuit 104 also performs focus servo and tracking servo of the optical pickup 107 which irradiates each track of the CD 105 with a laser beam. The focus servo detects the focus error from the state of the reflected light of the laser beam,
Based on the focus error, the optical pickup 107
The objective lens in the optical pickup is controlled and driven in the optical axis direction, and the tracking servo detects the deviation of the laser beam from the center of the track of the CD 105 while the optical pickup 107 is moved to the pickup feed motor 108. The optical pickup 107 itself to follow the track in response to a fast movement due to the eccentricity of the disc, etc., so that the laser beam emitted from the pickup can be accurately focused on the center of the track of the CD 105. It is controlled so that it is irradiated to.

【0024】ここで、CD105のレーザー・ビームが
照射される側には、ピットと呼ばれる突起が刻まれてお
り、これによりPCM信号(デジタル信号)が記録され
ている。そして、光ピックアップ107は、照射したレ
ーザー・ビームの反射光の光量に基づいてピットの有無
を検出しており、ピットの有無及びその長さに対応した
電気信号を復調回路109に出力する。
Here, a projection called a pit is formed on the side of the CD 105 which is irradiated with the laser beam, so that a PCM signal (digital signal) is recorded. Then, the optical pickup 107 detects the presence or absence of a pit based on the amount of reflected light of the applied laser beam, and outputs an electric signal corresponding to the presence or absence of the pit and its length to the demodulation circuit 109.

【0025】復調回路109は、光ピックアップ107
から出力される電気信号から同期信号を検出し、後述す
る各デジタルデータ(オーディオデータ及びサブコー
ド)の区切り及び順番等を識別し、更に各フレーム内の
後述のEFM変調と呼ばれる方式で変調された14ビッ
トのデジタルデータ(サブコード及びオーディオデータ
等)を復調して8ビットのデジタルデータに変換する。
そして、上記EFM復調したデータのうち、オーディオ
データをオーディオデータ信号処理回路111へ、サブ
コードをサブコード信号処理回路110へ入力する。一
般に、デジタルデータの各ビットの論理「1」と論理
「0」は、どのような確率で発生するかは分からない。
そして、図1の光ピックアップ107が、CD105上
のピットからデジタルデータを電気信号として検出する
場合に、論理「1」又は「0」の一方が長く続くと直流
分が発生し、また、ビット間隔情報が途切れてしまう。
このような状態は、光ピックアップ107の出力に基づ
いて制御動作を行うサーボ回路104において誤動作を
招く原因となる。そこで、このような直流分をできる限
り取り除くため、CD105に記録すべきデジタルデー
タの連続するビットにおいて、論理「1」又は「0」の
一方が長く続かないようなデータ変換が行われ、CD1
05に記録される。これをEFM変調と呼ぶ。このよう
にして、図1のCD105に記録されたEFM変調信号
を再生するには、上記変調処理と逆の復調処理を行えば
よく、この処理が復調回路109で行われる。
The demodulation circuit 109 includes an optical pickup 107.
The sync signal is detected from the electric signal output from the device, the delimiter and order of each digital data (audio data and sub-code) described below are identified, and further modulated by a method called EFM modulation described below in each frame. 14-bit digital data (subcode, audio data, etc.) is demodulated and converted into 8-bit digital data.
Then, of the EFM-demodulated data, audio data is input to the audio data signal processing circuit 111 and subcodes are input to the subcode signal processing circuit 110. In general, it is not known at what probability the logic "1" and the logic "0" of each bit of digital data occur.
Then, when the optical pickup 107 of FIG. 1 detects digital data from the pits on the CD 105 as an electric signal, if one of logic “1” or “0” continues for a long time, a DC component is generated, and the bit interval is increased. Information is cut off.
Such a state causes a malfunction in the servo circuit 104 that performs a control operation based on the output of the optical pickup 107. Therefore, in order to remove such a direct current component as much as possible, data conversion is performed so that one of the logic "1" and "0" does not last long for consecutive bits of digital data to be recorded on the CD 105.
Recorded in 05. This is called EFM modulation. In this way, in order to reproduce the EFM modulated signal recorded on the CD 105 of FIG. 1, a demodulation process reverse to the above-mentioned modulation process may be performed, and this process is performed by the demodulation circuit 109.

【0026】次に、オーディオデータ信号処理回路11
1は、入力されるオーディオデータを、特には図示して
ない内部のRAMに書込み、誤り訂正処理を行うと共
に、後述のデ・インタリーブ処理を行った後に、16ビ
ットのデジタルオーディオデータの各サンプルをD/A
変換器112に出力する。ここで、誤り訂正とは、光ピ
ックアップ107により、CDに記録されている、デジ
タルデータを読み出すときに、記録媒体の欠陥や光ピッ
クアップ107のトラッキングずれ、あるいはフォーカ
ス不良などに起因して発生するデータ誤りを、正しく訂
正する処理をいい、CD105から読み出されたデジタ
ルデータに付加されている特には図示しないパリティワ
ードと呼ばれる誤り訂正用の符号を用いて行われる。ま
た、CD105上の連続する領域に記録されるオーディ
オデータは、時間的に連続するオーディオデータのサン
プルが記録される訳ではなく、クロス・インタリーブと
いう方式に従って、各サンプルの順序がバラバラに分散
されて記録され、再生時には、同じ規則で元の順に並べ
かえられる。この処理は、CDのディスク盤において
は、キズや汚れ等によって部分的に大きなデータ誤りが
集中しやすく、単純に連続するオーディオデータのサン
プルを連続的に記録/再生するだけでは、上述の誤り訂
正処理のみでは訂正が不可能になることが多いため、ク
ロス・インタリーブにより、オーディオデータのCD1
05上での集中誤りを再生時に分散させ、パリティワー
ドによる誤り訂正を容易に行うために行われる。このよ
うに、クロス・インタリーブによりCD105に記録さ
れたオーディオデータを、記録時と全く逆の処理である
デ・インタリーブ処理によって再生するのが、オーディ
オデータ信号処理回路111である。
Next, the audio data signal processing circuit 11
In the first example, the input audio data is written in an internal RAM (not shown), error correction processing is performed, and deinterleaving processing described later is performed, and then each sample of 16-bit digital audio data is sampled. D / A
Output to the converter 112. Here, the error correction is data that occurs when a digital data recorded on a CD is read by the optical pickup 107 due to a defect of a recording medium, a tracking shift of the optical pickup 107, or a focus defect. This is a process for correcting an error correctly, and is performed using an error correction code called a parity word (not shown) added to the digital data read from the CD 105. Further, in the audio data recorded in the continuous area on the CD 105, the samples of the audio data which are continuous in time are not recorded, but the order of each sample is dispersed in a random manner according to the method of cross interleaving. When recorded and played back, they are rearranged in the original order according to the same rules. In this process, a large data error is likely to be partially concentrated on a CD disc disk due to scratches, stains, and the like, and the error correction described above is simply performed by continuously recording / reproducing continuous audio data samples. Since it is often impossible to make corrections only by processing, the CD1 of audio data is cross-interleaved.
This is performed in order to disperse the concentrated errors on 05 at the time of reproduction and to easily perform the error correction by the parity word. As described above, the audio data signal processing circuit 111 reproduces the audio data recorded on the CD 105 by the cross interleaving by the de-interleaving processing which is a processing which is completely opposite to that at the time of recording.

【0027】D/A変換器112及びサンプリング周波
数の1/2 のカットオフ周波数を有するLPF(ローパス
フィルタ)113は、入力される16ビットのデジタル
オーディオデータを対応するステレオのアナログ信号に
変換し、増幅器114及びスピーカ115を介して外部
に放音する。
A D / A converter 112 and an LPF (low pass filter) 113 having a cutoff frequency of 1/2 the sampling frequency convert input 16-bit digital audio data into a corresponding stereo analog signal, Sound is emitted to the outside through the amplifier 114 and the speaker 115.

【0028】サブコード信号処理回路110は、サブコ
ードに対して、前記オーディオデータ信号処理回路11
1と同様にして誤り検出及び訂正処理、更に、デ・イン
タリーブ処理を行い、サブコードの復元を行う。ここ
で、CD105に記録されるデジタルデータとしては、
オーディオデータのほかにサブコードと呼ばれる制御デ
ータがある。このサブコードはオーディオデータに同期
して読み出される。
The subcode signal processing circuit 110 receives the audio data signal processing circuit 11 for the subcode.
In the same manner as in 1, error detection and correction processing and de-interleaving processing are performed to restore the subcode. Here, as the digital data recorded on the CD 105,
In addition to audio data, there is control data called subcode. This subcode is read out in synchronization with the audio data.

【0029】TOCメモリ101は、CD105のディ
スクのセット時に読み出される、TOCデータを記憶す
るメモリである。今、図5に示すように、CD105の
最内周のリードイン・エリアと呼ばれる領域のサブコー
ドには、TOC(Table of Contents)と呼ばれる、CD
1枚に収録されている全曲目の目次に相当する情報が記
録されている。この目次情報は、各曲の番号を示す曲番
データ及びプログラム・エリアの開始時点T0 から各曲
の先頭部分のタイミングT1 、T2 、T3 ・・・までの
経過時間を分、秒、フレーム番号で表し、1/75秒の
精度を有するCD絶対時間データが含まれる。そして、
CD105がCDプレーヤ部100にセットされると、
CD制御部103がサーボ回路104を介してディスク
モータ106及び光ピックアップ107を制御して、C
D105のリードイン・エリアをアクセスする。更に、
CD制御部103は、リードイン・エリアのTOCを、
光ピックアップ107、復調回路109からサブコード
信号処理回路110を介して読み出し、TOCメモリ1
01に記憶する。このようにして、記憶されたTOCデ
ータは、CD制御部103がCD105をアクセスする
場合に、同制御部によって随時読み出されて使用され
る。
The TOC memory 101 is a memory for storing TOC data which is read out when the disc of the CD 105 is set. Now, as shown in FIG. 5, the subcode of the area called the lead-in area at the innermost circumference of the CD 105 has a CD called TOC (Table of Contents).
The information corresponding to the table of contents of all the songs recorded on one sheet is recorded. This table-of-contents information is the song number data indicating each song number and the elapsed time from the start time T 0 of the program area to the timing T 1 , T 2 , T 3 ... , Frame number, and includes CD absolute time data having an accuracy of 1/75 second. And
When the CD 105 is set in the CD player section 100,
The CD control unit 103 controls the disc motor 106 and the optical pickup 107 via the servo circuit 104, and C
Access the lead-in area of D105. Furthermore,
The CD control unit 103 changes the TOC of the lead-in area to
The TOC memory 1 is read from the optical pickup 107 and the demodulation circuit 109 via the subcode signal processing circuit 110.
Store in 01. In this way, the stored TOC data is read and used by the CD control unit 103 as needed when the CD control unit 103 accesses the CD 105.

【0030】次に、電子鍵盤楽器部200のブロック構
成を説明する。楽器操作部202は、図3の如く、鍵盤
2021 の他、モード切替スイッチ2022 、スタート
スイッチ2023 、ストップスイッチ2024 を有す
る。
Next, the block configuration of the electronic keyboard instrument section 200 will be described. As shown in FIG. 3, the musical instrument operating section 202 has a keyboard 2021, a mode changeover switch 2022, a start switch 2023, and a stop switch 2024.

【0031】楽器制御部201は、例えばマイクロプロ
セッサであり、電子鍵盤楽器部200の通常の演奏動作
の他、後述するシーケンサライトモードにおける自動演
奏データの書き込み動作、後述するシーケンサプレイモ
ードにおける自動演奏動作を制御する。
The musical instrument control unit 201 is, for example, a microprocessor, and in addition to a normal performance operation of the electronic keyboard musical instrument unit 200, an automatic performance data writing operation in a sequencer write mode described later and an automatic performance operation in a sequencer play mode described later. To control.

【0032】トーン・ジェネレータ203は、楽器制御
部201からの演奏データに基づき、楽音信号を出力
し、その後、その楽音信号はD/A変換器204へ入力
される。
The tone generator 203 outputs a musical tone signal based on the performance data from the musical instrument control unit 201, and then the musical tone signal is input to the D / A converter 204.

【0033】D/A変換器204及びサンプリング周波
数の1/2 のカットオフ周波数を有するLPF(ローパス
フィルタ)205は、トーン・ジェネレータ203から
のデジタルの楽音信号を、アナログの楽音信号に変換す
る。そして、その変換出力は、増幅器206及びスピー
カ207を介して外部に放音される。
A D / A converter 204 and an LPF (low-pass filter) 205 having a cut-off frequency of 1/2 the sampling frequency convert the digital musical tone signal from the tone generator 203 into an analog musical tone signal. Then, the converted output is emitted to the outside through the amplifier 206 and the speaker 207.

【0034】タイマー回路209は、自動演奏に係る動
作を制御するために使用され、図4に示す構成を有す
る。この構成及び動作については後述する。上述の構成
の実施例の動作につき、以下に順次説明する。 {シーケンサライトモードの動作} まず、シーケンサライトモードの動作について説明す
る。図7はこのモードの動作を示す動作フローチャー
ト、図6は自動演奏メモリ208のデータ構成を示した
図であり、以下、これらの図面に沿って説明する。
The timer circuit 209 is used to control the operation relating to the automatic performance and has the configuration shown in FIG. This configuration and operation will be described later. The operation of the embodiment having the above configuration will be sequentially described below. { Operation in Sequencer Write Mode } First, the operation in the sequencer write mode will be described. FIG. 7 is an operation flowchart showing the operation in this mode, and FIG. 6 is a view showing the data structure of the automatic performance memory 208, which will be described below with reference to these drawings.

【0035】演奏者は始めに、楽器操作部202のモー
ド切替スイッチ2022 (図3)によりシーケンサライ
トモードを選択する。次に、演奏者は、自動演奏に同期
させてCD105上の楽曲の再生を行わせたい場合に
は、以下の操作を行う。すなわち、演奏者は、CD操作
部102のテンキー1026 によって、自動演奏に同期
させて再生を行いたいCD105上の楽曲を選曲し、続
いて再生スイッチ1021 を押しておく(図2参照)。
このとき、CDプレーヤ部100においては、CD制御
部103がTOCメモリ101をアクセスし、テンキー
1026 の番号に対応する楽曲の曲番データ及びCD絶
対時間データを読み出す。そして、CD制御部103
は、サーボ回路104を介して光ピックアップ107を
制御し、光ピックアップ107を上述のCD絶対時間デ
ータに対応するCD105上の位置に移動する。これに
より、CD105上の楽曲の選曲頭出しが行われる。ま
た、CD制御部103は、TOCメモリ101から読み
出したCD絶対時間データを楽器制御部201に出力す
る。なお、この状態では、まだオーディオデータの再生
動作は行われない。
The player first selects the sequencer write mode by the mode changeover switch 202 2 (FIG. 3) of the musical instrument operating section 202. Next, when the performer wants to reproduce the music on the CD 105 in synchronization with the automatic performance, the performer performs the following operation. That is, the player, by the numeric keypad 102 6 CD operation unit 102, and music selection music on CD105 you want to play in synchronization with the automatic performance, followed by advance press the play switch 102 1 (see FIG. 2).
At this time, the CD player section 100, CD controller 103 accesses the TOC memory 101, reads the track number data and the CD absolute time data of the music piece corresponding to the number of the numeric keypad 102 6. Then, the CD control unit 103
Controls the optical pickup 107 via the servo circuit 104 and moves the optical pickup 107 to a position on the CD 105 corresponding to the above CD absolute time data. As a result, the music selection on the CD 105 is performed. The CD control unit 103 also outputs the CD absolute time data read from the TOC memory 101 to the musical instrument control unit 201. In this state, the audio data reproducing operation is not yet performed.

【0036】一方、演奏者は、自動演奏に同期させてC
D105上の楽曲の再生を行わせる必要がない場合に
は、上述のCD操作部102に対する操作は行わない。
上述の動作の後、CD制御部103は、図7の動作フロ
ーチャートをスタートさせる。
On the other hand, the performer synchronizes C with the automatic performance.
When it is not necessary to reproduce the music on D105, the above-described operation on the CD operation unit 102 is not performed.
After the above operation, the CD control unit 103 starts the operation flowchart of FIG.

【0037】まず、S701において、楽器操作部20
2のスタートスイッチ2023 が押されたか否かが監視
される。スタートスイッチ2023 が押されると、次に
S702において、予めCD操作部102の再生スイッ
チ1021 が押されているか否かが判別される。
First, in S701, the musical instrument operating unit 20
It is monitored whether or not the second start switch 202 3 is pressed. When the start switch 202 3 is pressed, then in S702, whether or not pre-playback switch 102 1 of CD operation unit 102 is pressed is determined.

【0038】演奏者が、自動演奏に同期させてCD10
5上の楽曲の再生を行わせるために、再生スイッチ10
1 を予め押している場合、S702の判定がYESと
なり、S703に進む。
The performer synchronizes the CD 10 with the automatic performance.
In order to reproduce the music on the No. 5, the reproduction switch 10
When 2 1 is pressed in advance, the determination in S702 is YES, and the process proceeds to S703.

【0039】S703では、自動演奏メモリ208のメ
モリアドレス1に、CD頭出し命令CTPが図6の如く書
き込まれる。また、同じくメモリアドレス2に、予めC
D制御部103から送られてきている自動演奏に同期さ
せて再生すべき楽曲の先頭を示すCD絶対時間データD
ATが図6の如く書き込まれる。更に、同じくメモリアド
レス3に、CD再生命令CPYが図6の如く書き込まれ
る。これらの機能については後述する。
In step S703, the CD start command C TP is written in the memory address 1 of the automatic performance memory 208 as shown in FIG. Similarly, at memory address 2, C
CD absolute time data D indicating the beginning of a music piece to be reproduced in synchronization with the automatic performance sent from the D control unit 103
AT is written as shown in FIG. Further, the CD reproduction command C PY is also written in the memory address 3 as shown in FIG. These functions will be described later.

【0040】次に、S704において、CD制御部10
3に対してCD再生命令がなされる。これにより、CD
プレーヤ部100においては、CD制御部103が、サ
ーボ回路104を介してディスクモータ106を駆動す
る。これにより、演奏者により予め選曲頭出しされてい
る楽曲のオーディオデータが、光ピックアップ107、
復調回路109及びオーディオデータ信号処理回路11
1を介してCD105から読み出され、D/A変換器1
12からLPF113、増幅器114を介してスピーカ
115から再生される。
Next, in S704, the CD control unit 10
A CD playback command is issued to 3. This makes the CD
In the player unit 100, the CD control unit 103 drives the disc motor 106 via the servo circuit 104. As a result, the audio data of the music selected by the performer in advance is selected by the optical pickup 107,
Demodulation circuit 109 and audio data signal processing circuit 11
D / A converter 1 read from CD 105 via
12 is reproduced from the speaker 115 via the LPF 113 and the amplifier 114.

【0041】演奏者は、このようにして再生されるCD
105の楽曲に合わせて、楽器操作部202の鍵盤20
1 で演奏を行う。これにより、S705→S706→
S707→S705の繰り返し動作においてS705の
処理が実行される毎に、鍵盤2021 より入力された演
奏データが、シーケンスデータとして図6の如く順次自
動演奏メモリ208に書き込まれてゆく。シーケンスデ
ータとしては、図6の如く、ウエイト命令CWTとウエイ
トデータDWT、キーオン命令CONとキーデータDKY、キ
ーオフ命令COFとキーデータDKY、CD絶対時間データ
AT等がある。
The player plays the CD thus reproduced.
The keyboard 20 of the musical instrument operating unit 202 in accordance with the 105 songs
Perform at 2 1 . As a result, S705 → S706 →
Every time the processing of S705 is executed in the repeating operation of S707 → S705, the performance data input from the keyboard 202 1 is sequentially written in the automatic performance memory 208 as sequence data as shown in FIG. As the sequence data, as shown in FIG. 6, there are a wait command C WT and wait data D WT , a key-on command C ON and key data D KY , a key-off command C OF and key data D KY , and a CD absolute time data D AT .

【0042】図6において、ウエイト命令CWTはウエイ
トデータDWTで示される時間だけ次の演奏データの実行
を待たせる命令であり、ウエイトデータDWTは図1又は
図4のタイマー回路209において生成される。今、或
る演奏操作が実行される毎に、楽器制御部201から図
4のオア回路2095 を介してタイマーカウンタ209
2 にリセット信号RSTが入力され、同カウンタがリセ
ットされる。これ以後、タイマーカウンタ2092 は、
基準クロックジェネレータ2091 からのクロックに従
ってカウントアップされる。そして、楽器制御部201
は、次の演奏データの入力時点でタイマーカウンタ20
2 のカウント出力をウエイトデータD WTとして取り込
み、自動演奏メモリ208に書き込み、再び、リセット
信号RSTによりタイマーカウンタ2092 をリセット
する。以上の動作により、或る演奏操作から次の演奏操
作までの時間が計測され、ウエイトデータDWTとして自
動演奏メモリ208に記憶される。ここで、図6のメモ
リアドレス4のウエイト命令CWT及びウエイトデータD
WTは、演奏者が楽器操作部202のスタートスイッチ2
023 を押した後、最初の鍵操作を行うまでの時間を示
している。
In FIG. 6, a wait instruction CWTIs the way
Data DWTExecution of the next performance data for the time indicated by
Wait data, and wait data DWTFigure 1 or
It is generated in the timer circuit 209 of FIG. Someday
Each time a performance operation is performed,
OR circuit 209 of 4FiveVia the timer counter 209
2The reset signal RST is input to the
Is set. After this, the timer counter 2092Is
Reference clock generator 2091According to the clock from
Is counted up. Then, the musical instrument control unit 201
Is the timer counter 20 when the next performance data is input.
92Count output of wait data D WTCaptured as
Write to the automatic performance memory 208 and reset again
Timer counter 209 by signal RST2Reset
I do. With the above operation, one performance operation to the next
Time until work is measured, weight data DWTAs self
It is stored in the dynamic performance memory 208. Here, note of Figure 6
Readdress 4 wait instruction CWTAnd weight data D
WTIs the start switch 2 of the musical instrument operating unit 202
023Indicates the time until the first key operation is performed after pressing.
are doing.

【0043】次に、キーオン命令CONは、キーデータD
KYで示される音高の楽音の発音開始を指示する命令であ
る。逆に、キーオフ命令COFは、キーデータDKYで示さ
れる音高の楽音の発音停止を指示する命令である。
Next, the key-on command C ON is the key data D.
This is a command for instructing the start of pronunciation of a musical tone of the pitch indicated by KY . On the contrary, the key-off command C OF is a command to stop the sound generation of the musical tone of the pitch indicated by the key data D KY .

【0044】更に、CD制御部103は、鍵のキーオン
操作が行われる毎に、その時点でCD105から検出さ
れているCD絶対時間データDATをCD制御部103か
ら受け取り、キーオン命令CONに続くキーデータDKY
次のメモリアドレスに書き込む。これにより、各キーオ
ン操作時にCDプレーヤ部100で再生されている楽曲
のタイミングが自動演奏メモリ208に記録されてゆ
く。
Further, the CD control unit 103 receives the CD absolute time data D AT detected from the CD 105 at that time each time the key-on operation of the key is performed, and follows the key-on command C ON . Write to the memory address next to the key data D KY . As a result, the timing of the music being reproduced by the CD player unit 100 at each key-on operation is recorded in the automatic performance memory 208.

【0045】演奏者が楽器操作部202のストップスイ
ッチ2024 (図3)を押すと、S707においてそれ
が検出され、S708において自動演奏メモリ208に
図6の如くエンド命令CE が書き込まれて、シーケンサ
ライトモードを終了する。
When the performer presses the stop switch 202 4 (FIG. 3) of the musical instrument operating section 202, it is detected in S707 and the end command C E is written in the automatic performance memory 208 in S708 as shown in FIG. Exit the sequencer write mode.

【0046】また、演奏中に自動演奏メモリ208の最
終メモリアドレスまでシーケンスデータが書き込まれる
と、S706の判定がYESとなり、強制的にシーケン
サライトモードを終了する。
When the sequence data is written up to the last memory address of the automatic performance memory 208 during the performance, the determination in S706 becomes YES and the sequencer write mode is forcibly ended.

【0047】以上の動作に対して、演奏者が、自動演奏
に同期させてCD105上の楽曲の再生を行わせる必要
がないために、再生スイッチ1021 を予め押していな
い場合、S702の判定がNOとなる。これにより、C
D頭出し命令CTP、曲の先頭を示すCD絶対時間データ
AT及びCD再生命令CPYは自動演奏メモリ208に書
き込まれず、また、CDプレーヤ部100に対して再生
指示も行われない。そして、S705の処理にジャンプ
し、シーケンスデータを自動演奏メモリ208に書き込
む動作のみが実行される。また、S705では、前述の
キーオン命令C ON毎のCD絶対時間データDATの自動演
奏メモリ208への書き込みも行われない。この動作
は、従来例からある自動演奏機能付電子楽器における自
動演奏データの書き込み動作に対応する。 {シーケンサプレイモードの動作} 上述の自動演奏データの書き込み動作の後、自動演奏動
作を行う場合の動作について説明する。
In response to the above operation, the performer automatically performs
It is necessary to make the music on the CD 105 play in synchronization with
Playback switch 102 because there is no1Don't press in advance
If not, the determination in S702 is NO. This gives C
D Cue command CTP, CD absolute time data indicating the beginning of the song
DATAnd CD playback command CPYIs written in the automatic performance memory 208
It is played back to the CD player section 100 without being cut in.
No instructions are given. Then, jump to the processing of S705
And write the sequence data to the automatic performance memory 208.
Only the operation to execute is executed. In S705, the above-mentioned
Key-on command C ONCD absolute time data D for eachATAutomatic performance
Writing to the performance memory 208 is also not performed. This behavior
Is an electronic musical instrument with an automatic performance function, which is a conventional example.
It corresponds to the writing operation of dynamic performance data. {Sequencer play mode operation} After the automatic performance data writing operation described above,
The operation for creating a work will be described.

【0048】演奏者は、楽器操作部202のモード切替
スイッチ2022 によりシーケンサプレイモードを選択
する。これにより、楽器制御部201は、図8の動作フ
ローチャートを実行する。
The player selects the sequencer play mode by the mode changeover switch 202 2 of the musical instrument operating section 202. As a result, the musical instrument control section 201 executes the operation flowchart of FIG.

【0049】まず、S801において、演奏者が楽器操
作部202のスタートスイッチ2023 を押すのを待
つ。次に、S802で、同メモリにCD再生命令C
PY(図6参照)が記憶されているか否かが判別される。
First, in S801, the player waits for the start switch 202 3 of the musical instrument operating section 202 to be pressed. Next, in step S802, the CD reproduction command C is stored in the same memory.
It is determined whether or not PY (see FIG. 6) is stored.

【0050】前述のシーケンサライトモードにおいて、
演奏者が、自動演奏に同期させてCD105上の楽曲の
再生を行わせるために、再生スイッチ1021 を予め押
してからシーケンスデータの自動演奏メモリ208への
書き込み動作を行った場合、自動演奏メモリ208のメ
モリアドレス3には図5の如くCD再生命令CPYが記憶
されている。従って、このような場合には、S802の
判定はYESとなる。これにより、S803において、
CD制御部103に対してCD105の楽曲の再生命令
がなされる。この場合、自動演奏メモリ208の次のメ
モリアドレスから曲の先頭に対応するCD絶対時間デー
タDATが読み出され、CD制御部103に転送されるこ
とにより、CD制御部103は対応する曲の先頭から再
生を開始する。
In the sequencer write mode described above,
When the performer writes the sequence data to the automatic performance memory 208 after previously pressing the reproduction switch 102 1 in order to reproduce the music on the CD 105 in synchronization with the automatic performance, the automatic performance memory 208 A CD playback command C PY is stored in the memory address 3 of FIG. Therefore, in such a case, the determination in S802 is YES. As a result, in S803,
The CD control unit 103 is instructed to reproduce the music of the CD 105. In this case, the CD absolute time data D AT corresponding to the beginning of the song is read from the next memory address of the automatic performance memory 208 and transferred to the CD control unit 103, so that the CD control unit 103 can read the corresponding song. Playback starts from the beginning.

【0051】一方、前述のシーケンサライトモードにお
いて、演奏者が、自動演奏に同期させてCD105上の
楽曲の再生を行わせる必要がないために、再生スイッチ
1021 を予め押さずにシーケンスデータの自動演奏メ
モリ208への書き込み動作を行った場合、自動演奏メ
モリ208にはCD再生命令CPYは記憶されていない。
従って、このような場合には、S802の判定はNOと
なる。この場合には、自動演奏時にCD105上の楽曲
の再生は行う必要がないため、S803のCD再生命令
は行われない。
On the other hand, in the above-mentioned sequencer write mode, since the performer does not need to reproduce the music on the CD 105 in synchronization with the automatic performance, the sequence data is automatically reproduced without pressing the reproduction switch 102 1. When the writing operation to the performance memory 208 is performed, the CD reproduction command C PY is not stored in the automatic performance memory 208.
Therefore, in such a case, the determination in S802 is NO. In this case, since it is not necessary to reproduce the music on the CD 105 during the automatic performance, the CD reproduction command of S803 is not executed.

【0052】以上示したようにして、CDプレーヤ部1
00に対して再生命令がなされた後、S804→S80
5→S806→S804の繰り返しによりS604の処
理が実行される毎に、自動演奏メモリ208のメモリア
ドレスが、図5のCD再生命令CPY及びCD絶対時間デ
ータDATの次のアドレスから順次インクリメントされな
がら、各メモリアドレスからシーケンスデータが読み出
され、その内容に従って自動演奏動作が実行される。こ
の場合のインクリメントの動作は、後述するタイマー回
路209での動作に基づいて実行される。
As described above, the CD player unit 1
After a playback command is issued to 00, S804 → S80
Every time the process of S604 is executed by repeating 5 → S806 → S804, the memory address of the automatic performance memory 208 is sequentially incremented from the address next to the CD reproduction command C PY and the CD absolute time data D AT of FIG. Meanwhile, the sequence data is read from each memory address, and the automatic performance operation is executed according to the contents. The increment operation in this case is executed based on the operation of the timer circuit 209 described later.

【0053】ここで例えば、楽器制御部201が、自動
演奏メモリ208から例えばキーオン命令CONを読み出
した場合、更にその次のキーデータDKYを読み出し、ト
ーン・ジェネレータ203に対して対応する音高で楽音
の発音開始を指示する。
Here, for example, when the musical instrument control section 201 reads out, for example, a key-on command C ON from the automatic performance memory 208, the next key data D KY is further read out, and the corresponding tone pitch to the tone generator 203 is read. To instruct the start of musical sound production.

【0054】逆に、楽器制御部201が、自動演奏メモ
リ208から例えばキーオフ命令C OFを読み出した場
合、更にその次のキーデータDKYを読み出し、トーン・
ジェネレータ203に対して対応する音高で発音中の楽
音の消音を指示する。
On the contrary, the musical instrument control unit 201 causes the automatic performance memo.
From key 208, for example, key-off command C OFIf you read
Key data DKYRead the tone
Music that is sounding at the corresponding pitch for the generator 203
Instruct to mute the sound.

【0055】更に、自動演奏メモリ208上のアドレス
のインクリメントの動作は次のようにして実現される。
すなわち、楽器制御部201が、例えば自動演奏メモリ
208からウエイト命令CWTを読み出した場合、更にそ
の次のウエイトデータDWTを読み出し、図1又は図4の
タイマー回路209内のウエイトカウンタ2093 にそ
のデータをセットする。これと共に、タイマー回路20
9において、後述するように前回のアドレスのインクリ
メントのタイミングでタイマーカウンタ209 2 がリセ
ットされる。そして、上記ウエイトデータDWTがウエイ
トカウンタ2093 にセットされ、同時に図4のタイマ
ー回路209にカウントイネーブル信号ENBLが出力
され、これ以後、図4のタイマーカウンタ2092 が基
準クロック・ジェネレータ2091 からのクロックに従
ってカウントアップを開始する。これらタイマーカウン
タ2092 の出力とウエイトカウンタ2093 にセット
されたウエイトデータDWTの内容とは、一致回路209
4 において比較される。そして、それらの内容が一致し
た時点で、一致回路2094 から一致したことを示す信
号がアドレスインクリメント信号INCとして出力され
る。この信号は、楽器制御部201に出力され、これに
より楽器制御部201は自動演奏メモリ208からデー
タを読み出すためのアドレスをインクリメントする。ま
た、図4のタイマー回路209において、アドレスイン
クリメント信号INCは、オア回路2095 を介してタ
イマーカウンタ2092 をリセットすると共に、ウエイ
トレジスタ2093 をリセットし、次のウエイトデータ
WTに対する処理に備える。以上の動作により、或る演
奏操作から次の演奏操作までのタイミングが計られ、自
動演奏が実現される。
Further, an address on the automatic performance memory 208
The increment operation of is realized as follows.
That is, the musical instrument control unit 201 is, for example, an automatic performance memory.
Wait command C from 208WTIf you read
Next weight data DWTRead,
Weight counter 209 in timer circuit 2093Niso
Set the data of. Along with this, the timer circuit 20
In step 9, as described later,
Timer counter 209 at the timing of 2Is lycee
Is set. Then, the weight data DWTIs the way
Counter 2093, And at the same time the timer of FIG.
Output the count enable signal ENBL to the circuit 209
After that, the timer counter 209 of FIG.2Based on
Quasi-clock generator 2091According to the clock from
And start counting up. These timer coun
2092Output and weight counter 2093Set to
Weight data DWTThe contents of the match circuit 209
FourAre compared in. And their contents match
The matching circuit 209FourA belief that matches from
Is output as the address increment signal INC
You. This signal is output to the instrument control unit 201,
Therefore, the musical instrument control unit 201 can read the data from the automatic performance memory 208.
The address for reading the data is incremented. Ma
In addition, in the timer circuit 209 of FIG.
The increment signal INC is supplied to the OR circuit 209.FiveThrough
Immersion counter 2092And reset the way
Register 2093To reset the next weight data
DWTTo prepare for processing. With the above operation, a certain performance
The timing from one playing operation to the next performance operation is measured,
Dynamic performance is realized.

【0056】上述の自動演奏の動作は、自動演奏中に自
動演奏メモリ208の最終メモリアドレスまでシーケン
スデータが読み出された場合、又は演奏者が楽器操作部
202のストップスイッチ2024 (図3)を押した場
合の何れかにおいて、S806又はS807においてそ
れらが検出されることによって、終了する。
The above-mentioned automatic performance operation is performed when the sequence data is read up to the final memory address of the automatic performance memory 208 during the automatic performance, or when the performer stops the switch 202 4 (FIG. 3) of the musical instrument operating section 202. If any of the buttons is pressed, they are detected in S806 or S807, and the process ends.

【0057】以上のS805〜S807の処理の繰り返
しに基づく自動演奏動作において、例えばCD105上
に傷や汚れ、及び振動等の理由により、再生中の曲が音
飛びを起こして、曲の再生と自動演奏とが同期しなくな
る場合には、以下のようにして、自動的に同期を取り戻
すことができる。この動作が、本発明に特に関連する動
作である。
In the automatic performance operation based on the repetition of the processing of S805 to S807 described above, for example, due to scratches, stains, vibrations, etc. on the CD 105, the music being reproduced causes skipping, and the music is automatically reproduced. When the performance and the performance are not synchronized, the synchronization can be automatically restored as follows. This operation is an operation particularly relevant to the present invention.

【0058】すなわち、上述のように、自動演奏中にお
いて、オーディオデータ処理回路111内で、前述した
ような理由で誤り訂正が不能になると、同処理回路から
CD制御部103を介して楽器制御部201に通知がな
され、図8のシーケンサプレイモードの動作フローチャ
ートに対応して実行中のプログラムに、割り込みがかか
ってその処理が中断され、図9の動作フローチャートに
対応するプログラムが実行される。
That is, as described above, when the error correction becomes impossible in the audio data processing circuit 111 during the automatic performance for the above-mentioned reason, the processing circuit via the CD control unit 103 causes the musical instrument control unit. 201 is notified, the program being executed corresponding to the operation flowchart of the sequencer play mode of FIG. 8 is interrupted, the processing is interrupted, and the program corresponding to the operation flowchart of FIG. 9 is executed.

【0059】まず、S901において、楽器制御部20
1はCD制御部103を介してオーディオデータ信号処
理回路111を制御し、これにより同回路は、CD10
5の再生音をミューティングをかけて消音する。
First, in S901, the musical instrument control unit 20
1 controls the audio data signal processing circuit 111 via the CD control unit 103.
Muting the playback sound of 5 to mute it.

【0060】続いて、楽器制御部201は、S902に
おいて、自動演奏を停止させる。次に、S903におい
て、楽器制御部201はCD制御部103を介してオー
ディオデータ信号処理回路111を監視し、CD105
の誤り訂正不能状態が回復するまで待ち、回復して判定
がYESになれば、次のステップS904に進む。
Subsequently, the musical instrument control section 201 stops the automatic performance in S902. Next, in step S903, the musical instrument control unit 201 monitors the audio data signal processing circuit 111 via the CD control unit 103, and the CD 105
Wait until the error uncorrectable state is recovered and if the determination is YES, the process proceeds to the next step S904.

【0061】S904において、CD制御部103に指
示を出してCD105の再生動作を一時停止させる。そ
して、S905において、現在のCD105のCD絶対
時間データと自動演奏メモリ208中の各キーオン命令
に対応するCD絶対時間データを、メモリのアドレスを
順次インクリメントしながら比較する。
In step S904, the CD control unit 103 is instructed to suspend the reproduction operation of the CD 105. Then, in step S905, the CD absolute time data of the current CD 105 and the CD absolute time data corresponding to each key-on command in the automatic performance memory 208 are compared while sequentially incrementing the memory address.

【0062】比較の結果、CD側から検出されたCD絶
対時間データの値が自動演奏メモリ208中のCD絶対
時間データの値より大きければ、両方の絶対時間が等し
くなるか、あるいは大きくなるのを待ち、等しくなれば
次のS907に進む。また、CD側から検出されたCD
の絶対時間データの値より自動演奏メモリ208上のC
D絶対時間データの値が大きいときは、S906におい
て、自動演奏メモリ208中のCD絶対時間データをC
D制御部103に送り、このCD絶対時間データでCD
105の頭出しを行う。
As a result of the comparison, if the value of the CD absolute time data detected from the CD side is larger than the value of the CD absolute time data in the automatic performance memory 208, both absolute times are equal or larger. Wait, and if equal, proceed to the next S907. Also, the CD detected from the CD side
C of the automatic performance memory 208 from the absolute time data value of
If the value of the D absolute time data is large, the CD absolute time data in the automatic performance memory 208 is set to C in S906.
The CD absolute time data is sent to the D control unit 103 and the CD
Cue 105.

【0063】以上のようにして、CD105と自動演奏
メモリ208のそれぞれのCD絶対時間データが等しく
なった時点で、S907において、CD制御部103に
指示を出してCD105の再生を再び始めさせるととも
に、S908において、自動演奏をスタートさせる。そ
して、以上の割り込み処理の後は、すぐに図8の動作フ
ローチャートに対応するプログラムの中断された処理に
戻り、前述のシーケンサプレイモードの動作を続行す
る。 {他の実施例} 以上示した実施例では、予め演奏者がシーケンサライト
モードにおいて、CD105の楽曲の再生に合わせて鍵
盤2021 (図3)を演奏し、シーケンスデータを自動
演奏メモリ208に書き込むようにしているが、これに
限られるものではなく、予めROMカードやCDのサブ
コードのユーザーズビットにシーケンスデータを記憶し
ておき、自動演奏時にそれらのシーケンスデータを自動
演奏メモリ208に転送するようにしてもよい。ここ
で、記憶されるシーケンスデータの形式・種類等も、自
動演奏する楽器に応じて任意に変更できる。
As described above, when the CD absolute time data of the CD 105 and the CD absolute time data of the automatic performance memory 208 become equal to each other, in step S907, the CD control unit 103 is instructed to start the reproduction of the CD 105 again. In step S908, automatic performance is started. Then, after the above interrupt processing, the processing immediately returns to the interrupted processing of the program corresponding to the operation flowchart of FIG. 8, and the operation of the sequencer play mode described above is continued. { Other Embodiments } In the embodiments described above, the player plays the keyboard 202 1 (FIG. 3) in advance in the sequencer write mode in accordance with the reproduction of the music of the CD 105, and writes the sequence data in the automatic performance memory 208. However, the present invention is not limited to this, and the sequence data is stored in advance in the user's bit of the subcode of the ROM card or the CD, and the sequence data is transferred to the automatic performance memory 208 during the automatic performance. You may Here, the format, type, etc. of the stored sequence data can be arbitrarily changed according to the musical instrument to be played automatically.

【0064】当然、CDプレーヤ以外にも様々な楽曲再
生装置が適用できる。更に、自動演奏させる楽器につい
て、上述の実施例においては、電子鍵盤楽器を用いて説
明したが、勿論これに限られることなく、例えば電子管
楽器や電子ギターなど、鍵盤を用いない電子楽器でもよ
い。
Naturally, various music reproducing devices can be applied in addition to the CD player. Further, although the musical instrument to be automatically played has been described using the electronic keyboard musical instrument in the above-mentioned embodiment, the musical instrument is not limited to this and may be an electronic musical instrument such as an electronic wind instrument or an electronic guitar which does not use the keyboard.

【0065】また、上述の自動演奏させる楽器は、電子
楽器に限られることなく、従来のアコースティック楽
器、例えばピアノにおいて、予めセンサーを用いて音高
データやベロシティー・データなどの演奏データをメモ
リ等に記憶しておき、それを読み出してプランジャー・
ソレノイドなどで、押鍵するようにすれば、例えばマイ
ナスワンのCDに合わせて、ピアノのパートを自動演奏
させて、ピアノ協奏曲を実演に近い感じで演奏させるこ
とが可能である。
The above-mentioned automatic musical instrument is not limited to an electronic musical instrument, and a conventional acoustic musical instrument, for example, a piano, can be used in advance with a sensor to store musical performance data such as pitch data and velocity data. In memory, read it out and
By pressing a key with a solenoid or the like, it is possible to automatically play a piano part in accordance with, for example, a minus one CD, and to play a piano concerto with a feeling close to a live performance.

【0066】[0066]

【発明の効果】本発明によれば、例えばCD等の楽曲再
生に合わせて、演奏者が作成した自動演奏データに基づ
く自動演奏を行っている際、CDによる誤り訂正不能の
ため、CDの楽曲データが読み取り不能になり、その結
果、CDの再生と自動演奏との同期がとれなくなる場合
においても、その誤り訂正不能が回復次第、ユーザーの
何らの操作も必要とせず、自動的にその同期を取り戻
し、両者の合奏を続けることができる。
According to the present invention, when the automatic performance based on the automatic performance data created by the performer is being performed in accordance with the reproduction of the music such as the CD, the error of the CD cannot be corrected. Even if the data becomes unreadable and as a result, the CD playback cannot be synchronized with the automatic performance, as soon as the error correction cannot be recovered, no user operation is required and the synchronization is automatically performed. You can take it back and continue the ensemble of both parties.

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

【図1】本発明の1実施例の全体構成図である。FIG. 1 is an overall configuration diagram of an embodiment of the present invention.

【図2】CD操作部の構成図である。FIG. 2 is a configuration diagram of a CD operating unit.

【図3】楽器操作部の構成図である。FIG. 3 is a configuration diagram of a musical instrument operating unit.

【図4】タイマー回路の構成図である。FIG. 4 is a configuration diagram of a timer circuit.

【図5】TOCに関する説明図である。FIG. 5 is an explanatory diagram regarding TOC.

【図6】自動演奏メモリのデータ構成図である。FIG. 6 is a data configuration diagram of an automatic performance memory.

【図7】シーケンサライトモードの動作フローチャート
である。
FIG. 7 is an operation flowchart of a sequencer write mode.

【図8】シーケンサプレイモードの動作フローチャート
である。
FIG. 8 is an operation flowchart of a sequencer play mode.

【図9】誤り訂正不能の場合の動作フローチャートであ
る。
FIG. 9 is an operation flowchart when error correction is impossible.

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

100 CDプレーヤ部 101 TOCメモリ 102 CD操作部 103 CD制御部 104 サーボ回路 105 CD 106 ディスクモータ 107 光ピックアップ 108 ピックアップ送りモータ 109 復調回路 110 サブコード信号処理回路 111 オーィオデータ信号処理回路 112 D/A変換器 113 ローパスフィルタ(LPF) 114 増幅器 115 スピーカ 200 電子鍵盤楽器部 201 楽器制御部 202 楽器操作部 203 トーン・ジェネレータ 204 D/A変換器 205 ローパスフィルタ(LPF) 206 増幅器 207 スピーカ 208 自動演奏メモリ 209 タイマー回路 100 CD player section 101 TOC memory 102 CD operating section 103 CD control section 104 Servo circuit 105 CD 106 Disk motor 107 Optical pickup 108 Pickup feed motor 109 Demodulation circuit 110 Subcode signal processing circuit 111 Audio data signal processing circuit 112 D / A converter 113 low-pass filter (LPF) 114 amplifier 115 speaker 200 electronic keyboard musical instrument section 201 musical instrument control section 202 musical instrument operating section 203 tone generator 204 D / A converter 205 low-pass filter (LPF) 206 amplifier 207 speaker 208 automatic performance memory 209 timer circuit

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 自動演奏データに基づいて自動演奏を行
う音源手段と、 記録媒体に記録されているオーディオデータに対して誤
り訂正を行いながらその再生を行う再生手段と、 該再生手段による前記オーディオデータの再生動作に同
期して、前記記録媒体に記録されている前記再生中のオ
ーディオデータの各タイミングを示す位置データを順次
読み出す位置データ読み出し手段と、 前記自動演奏データを記憶し、その場合に、該自動演奏
データのうち所定の自動演奏データによる前記音源手段
での自動演奏と同期して前記再生手段で再生されるべき
前記オーディオデータのタイミングを示す前記位置デー
タを、前記所定の自動演奏データと共に記憶する自動演
奏データ記憶手段と、 前記再生手段から誤り訂正不能状態が検出された場合
に、前記再生手段の再生音を消音し、音源手段での自動
演奏動作を停止させるとともに、誤り訂正不能状態の回
復を待つ第1の処理と、前記再生手段において誤り訂正
不能状態の回復した時点で、前記位置データ読み出し手
段から読み出されている位置データと前記自動演奏デー
タ記憶手段に記憶されている各位置データとに基づいて
前記再生手段でのオーディオデータの再生動作に同期さ
せて前記音源手段による自動演奏を再開させる第2の処
理とを行う同期再開制御手段と、 を有することを特徴とする自動演奏装置。
1. A sound source means for automatically performing performance based on automatic performance data, a reproducing means for reproducing the audio data recorded on a recording medium while performing error correction, and the audio by the reproducing means. Position data reading means for sequentially reading position data indicating each timing of the audio data being reproduced recorded on the recording medium in synchronization with a data reproducing operation, and storing the automatic performance data. , The position data indicating the timing of the audio data to be reproduced by the reproducing means in synchronization with the automatic performance of the sound source means by the predetermined automatic performance data among the automatic performance data. And an automatic performance data storage means to be stored together, when an error correction impossible state is detected from the reproduction means, The first process of muting the reproduced sound of the reproduction means, stopping the automatic performance operation of the sound source means, and waiting for the recovery of the error correction impossible state, and the time when the error correction impossible state of the reproduction means is recovered, Based on the position data read from the position data reading means and each position data stored in the automatic performance data storage means, the sound source means synchronizes with the reproducing operation of the audio data in the reproducing means. An automatic performance device comprising: a synchronous restart control means for performing a second process for restarting an automatic performance.
【請求項2】 前記同期再開制御手段における前記第2
の処理は、 前記再生手段において誤り訂正不能状態が回復したタイ
ミングにおいて、 前記再生手段に対して前記オーディオデータの再生を一
時停止させる処理と、 該タイミングにおいて前記位置データ読み出し手段から
読み出される位置データの値以上となる位置データを前
記自動演奏データ記憶手段上で検索し、該検索された位
置データのタイミングからの前記オーディオデータの再
生開始を前記再生手段に指示し、該指示動作に同期して
前記自動演奏データ記憶手段に記憶されている前記自動
演奏データを前記検索された位置データに対応する前記
所定の自動演奏データから順に読み出しそれに基づいて
前記音源手段に自動演奏を再開させる処理と、 からなることを特徴とする請求項1記載の自動演奏装
置。
2. The second in the synchronization restart control means
The process of is a process of temporarily stopping the reproduction of the audio data by the reproduction device at the timing when the error correction impossible state is recovered by the reproduction device, and a process of the position data read from the position data reading device at the timing. The automatic performance data storage means is searched for position data equal to or more than a value, the reproduction means is instructed to start reproduction of the audio data from the timing of the searched position data, and the reproduction operation is performed in synchronization with the instruction operation. A process of sequentially reading the automatic performance data stored in the automatic performance data storage means from the predetermined automatic performance data corresponding to the searched position data, and causing the sound source means to restart the automatic performance based on the data. The automatic musical instrument according to claim 1, wherein
JP5155542A 1993-06-25 1993-06-25 Automatic playing device Expired - Lifetime JP2518190B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5155542A JP2518190B2 (en) 1993-06-25 1993-06-25 Automatic playing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5155542A JP2518190B2 (en) 1993-06-25 1993-06-25 Automatic playing device

Publications (2)

Publication Number Publication Date
JPH0627945A JPH0627945A (en) 1994-02-04
JP2518190B2 true JP2518190B2 (en) 1996-07-24

Family

ID=15608337

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5155542A Expired - Lifetime JP2518190B2 (en) 1993-06-25 1993-06-25 Automatic playing device

Country Status (1)

Country Link
JP (1) JP2518190B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10247090A (en) * 1997-03-04 1998-09-14 Yamaha Corp Transmitting method, recording method, recording medium, reproducing method, and reproducing device for musical sound information
JP5338312B2 (en) * 2008-12-26 2013-11-13 ヤマハ株式会社 Automatic performance synchronization device, automatic performance keyboard instrument and program

Also Published As

Publication number Publication date
JPH0627945A (en) 1994-02-04

Similar Documents

Publication Publication Date Title
US5138925A (en) Apparatus for playing auto-play data in synchronism with audio data stored in a compact disc
JP2830422B2 (en) Automatic performance device
JPH03108176A (en) Information reproducing device
JP2518190B2 (en) Automatic playing device
JPH05144238A (en) Automatic reproduction apparatus
JP3151850B2 (en) Automatic performance device
JP2753640B2 (en) Automatic performance device
JP2504834B2 (en) Performance training device
JP3183293B2 (en) Automatic performance device
JP3293038B2 (en) Apparatus and method for performing automatic performance in synchronization with data reproduction by recording medium
JP3430418B2 (en) Score display device
JP2753641B2 (en) Automatic performance device
JP2658450B2 (en) Automatic performance device
JPH0336599A (en) Automatic player
JP2935036B2 (en) Music control device
JP2958494B2 (en) Electronic musical instrument
JP2001236062A (en) Device and method for automatic performance
JPH07111624B2 (en) Automatic playing device
JP2539362Y2 (en) Electronic musical instrument
JPH04335397A (en) Automatic performance device
JPH07111623B2 (en) Automatic playing device
JP2743843B2 (en) Playback device
JP2547156Y2 (en) Electronic musical instrument
JPH05166344A (en) Electronic musical instrument containing compact disk player
JPH04199193A (en) Automatic performance device

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