JPH0430384A - automatic performance device - Google Patents
automatic performance deviceInfo
- Publication number
- JPH0430384A JPH0430384A JP2136258A JP13625890A JPH0430384A JP H0430384 A JPH0430384 A JP H0430384A JP 2136258 A JP2136258 A JP 2136258A JP 13625890 A JP13625890 A JP 13625890A JP H0430384 A JPH0430384 A JP H0430384A
- Authority
- JP
- Japan
- Prior art keywords
- clock
- playback
- reference clock
- audio
- sequencer
- 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
Links
Landscapes
- Electrophonic Musical Instruments (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、シーケンサによって自動演奏される音楽等と
、コンパクトディスク(CD)やデジタルオーディオテ
ープレコーダ(DAT)などによって再生される音楽等
との同期に関するものである。[Detailed Description of the Invention] [Industrial Application Field] The present invention is a system for combining music, etc. automatically played by a sequencer, and music, etc. played by a compact disc (CD), a digital audio tape recorder (DAT), etc. It's about synchronization.
CDなどのオーディオの再生に合わせて、シーケンサに
より音楽などを自動演奏させれば、誰でも容易に、優れ
た音質で音楽を楽しむことができる。Anyone can easily enjoy music with excellent sound quality by having a sequencer automatically play music in time with the playback of audio such as a CD.
このような場合、従来は、CDとシーケンサの演奏を同
期させるシステムは特になかったため、CDの曲の頭か
らの再生開始と同時に、シーケンサの記録、または再生
を行うというように、単にCDとシーケンサの両方のス
タートのタイミング9合わせる程度のことしかできなか
った。In such cases, there was no system in the past to synchronize the performance of a CD and a sequencer, so it was possible to simply synchronize the CD and sequencer, such as recording or playing the sequencer at the same time as the beginning of the CD song. All I could do was match the timing of both starts.
このような従来例だと、CDの再生中に一時停止や早送
りなどを行うと、その時点でCDとシーケンサの同期が
失われてしまう。また、−時停止や早送りなどを行わな
くても、CDとシーケンサの再生が同期していないと、
時間の経過とともに、両者の演奏タイミングのずれは増
大してゆく。In such a conventional example, if a pause or fast-forward is performed during playback of a CD, the synchronization between the CD and the sequencer is lost at that point. Also, even if you do not stop or fast forward, if the CD and sequencer playback are not synchronized,
As time passes, the difference in performance timing between the two increases.
そのようなことを防ぐため、CDなどのサブコーディン
グフレームのクロック(CDCKと略称する)とシーケ
ンサの録音・再生クロック(SQCKと略称する)を同
期させることが必要である。In order to prevent such a situation, it is necessary to synchronize the sub-coding frame clock (abbreviated as CDCK) of a CD or the like with the recording/playback clock (abbreviated as SQCK) of the sequencer.
サブコーディングフレームは、1秒間に00〜74のフ
レームであり、周波数に換算すれば75Hzである。一
方、シーケンサにおいては、4分音符1個分の音符長を
分割する最小の時間単位の数(これを分解能と呼び、こ
の値が大きいほど自動演奏の音符長に細かな変化を付し
、微妙なニュアンスを音楽に与えることができる)を例
えば96とすると、1分間に4分音符が120ケの演奏
テンポの場合は、4分音符1個分の時間は0.5秒であ
るため、分解能を96にするためには、5QCKの周波
数は、9610.5 = 192 (Hz)でなくては
ならない。The sub-coding frames are 00 to 74 frames per second, which is 75 Hz in terms of frequency. On the other hand, in a sequencer, the minimum number of time units that divide the note length of one quarter note (this is called resolution, and the larger this value is, the finer the change is made to the note length of automatic performance, the more subtle it is. For example, if the performance tempo is 120 quarter notes per minute, the time for one quarter note is 0.5 seconds, so the resolution is 96. In order to make 96, the frequency of 5QCK must be 9610.5 = 192 (Hz).
この192Hzのクロックを作るには、内部回路のタイ
マーを用いるが、通常、このタイマー用のクロック発振
器の周波数はIMHz程度であるので、クロック周期は
1μsec程度である。従って、このようなタイマーを
分周することにより192Hzのクロックが生成される
ことになる。To generate this 192 Hz clock, a timer in an internal circuit is used, but since the frequency of the clock oscillator for this timer is usually about IMHz, the clock period is about 1 μsec. Therefore, by dividing the frequency of such a timer, a 192 Hz clock will be generated.
しかし、19211zの5QCKの周期は、5.208
333333333・・・m5ecであるのに対して、
例えば1μsec周期のタイマークロックを分周して表
現可能な周期は、5 、208m5ec (5208ク
ロック分)または5 、209m5ec (5209ク
ロック分)となってしまい、5QCKの周期を正確に表
現できない。そのために、1秒に相当する5QCKの1
92クロック目が999.936m5ecとなって、C
DCKの75クロック目の1秒と一致しない。この誤差
は時間の経過とともに増大して、両クロックかますまず
同期しなくなる。However, the period of 5QCK of 19211z is 5.208
333333333...m5ec, whereas
For example, the period that can be expressed by dividing a timer clock with a period of 1 μsec is 5,208 m5ec (5208 clocks) or 5,209 m5ec (5209 clocks), and the period of 5QCK cannot be expressed accurately. For this purpose, 1 of 5QCK, which corresponds to 1 second, is
The 92nd clock is 999.936m5ec, and C
It does not match the 1 second of the 75th clock of DCK. This error increases over time, causing both clocks to become increasingly out of sync.
本発明の課題は、時間の経過とともに次第に増加する両
クロック間の時間誤差が累積されぬようにするとともに
、CDを早送りなど、再生以外の操作を行った後、ふた
たび再生状態に復帰した場合でも、CDとシーケンサの
再生の同期が保たれるようにすることにある。The problem of the present invention is to prevent the time error between the two clocks from accumulating, which gradually increases with the passage of time, and to prevent the accumulation of the time error between the two clocks, even when the CD returns to the playback state after performing an operation other than playback, such as fast-forwarding the CD. , to maintain synchronization between the playback of the CD and the sequencer.
(課題を解決するための手段〕
まず、本発明は、オーディオ信号の再生を行うオーディ
オ再生手段を有する。同手段は、例えばコンパクトディ
スクプレーヤ、またはデジタルオーディオテープレコー
ダ等である。(Means for Solving the Problems) First, the present invention has an audio reproducing means for reproducing an audio signal.The means is, for example, a compact disc player or a digital audio tape recorder.
つぎに、そのオーディオ信号の再生動作に同期してf1
ヘルツ(r+ は自然数)の周波数を有する第1基準ク
ロックを発生する第1基準クロック発生手段を有する。Next, f1 is synchronized with the playback operation of the audio signal.
It has a first reference clock generating means for generating a first reference clock having a frequency of Hertz (r+ is a natural number).
同手段は、例えばコンパクトディスクなどのサブコーデ
ィングフレームのゼロフレーム(毎秒1回出力する)を
検出して、fl=1ヘルツの周波数を有するゼロフレー
ム検出信号を第1基準クロックとして発生する手段であ
る。The means detects a zero frame (outputted once per second) of a sub-coding frame of a compact disc, for example, and generates a zero frame detection signal having a frequency of fl = 1 hertz as a first reference clock. .
つぎに、前記f2ヘルツの周波数を有する第2基準クロ
ックを発生する第2基準クロック発生手段を有する。こ
こで、flはflの倍数である。Next, it has second reference clock generating means for generating a second reference clock having a frequency of f2 hertz. Here, fl is a multiple of fl.
同手段は、例えば1メガヘルツ発振器の周波数を115
209に分周してfz=192ヘルツの周波数を有する
クロックを発生する手段である。The means can, for example, change the frequency of a 1 MHz oscillator to 115
This is means for generating a clock having a frequency of fz=192 hertz by dividing the frequency by 209.
さらに、つぎのようなシーケンサクロック発生手段を有
する。すなわち、同手段は、オーディオ再生手段による
オーディオ信号の再生開始時に同期した第1基準クロッ
ク発生手段から発生される第1基準クロックのパルスの
位置で、第2基準クロック発生手段に対して第2基準ク
ロックの発生を開始させる。そして、以後、シーケンサ
クロック発生手段は、第2基準クロックをシーケンサク
ロツタとして出力し、発生開始位置のパルスを含めずに
その位置からfz/r+(前述の例では192/1=1
92)番目の第2基準クロックのパルスを、第1基準ク
ロックのパルス(前述の例では1番目)で置き換えてシ
ーケンサクロックとして出力し、その出力時点を新たな
発生開始位置として上記動作を繰り返して、シーケンサ
クロックを発生する。Furthermore, it has the following sequencer clock generation means. That is, the means sets the second reference clock to the second reference clock generating means at the position of the pulse of the first reference clock generated from the first reference clock generating means synchronized with the start of reproduction of the audio signal by the audio reproducing means. Start clock generation. Thereafter, the sequencer clock generation means outputs the second reference clock as a sequencer clock, and starts from that position without including the pulse at the generation start position, fz/r+ (192/1=1 in the above example).
92), the pulse of the second reference clock is replaced with the pulse of the first reference clock (first in the above example) and output as a sequencer clock, and the above operation is repeated with that output point as the new generation start position. , generates the sequencer clock.
ひきつづいて、上述のシーケンサクロツタに同期して、
楽器を自動演奏させるための演奏データ、すなわち、音
高や音色あるいはヘロシティに関する情報の記録再生を
行うシーケンサ手段を有する。Continuing, in synchronization with the above-mentioned sequencer Kurotsuta,
It has sequencer means for recording and reproducing performance data for automatically playing the musical instrument, that is, information regarding pitch, timbre, or herocity.
さらに、本発明は、シーケンサ手段から出力される演奏
データに基づき、オーディオ再生手段によるオーディオ
信号の再生に同期して楽器を自動演奏させ、その自動演
奏の途中でオーディオ再生手段を再生以外の状態に移し
た後、再び再生状態に復帰させる場合において、以下に
示す2つの構成をとることができる。Furthermore, the present invention allows the musical instrument to automatically perform in synchronization with the reproduction of the audio signal by the audio reproduction means based on the performance data output from the sequencer means, and sets the audio reproduction means to a state other than reproduction during the automatic performance. In the case of returning to the playback state after the transfer, the following two configurations can be adopted.
まず第1の構成は、オーディオ再生手段によるオーディ
オ信号の再生開始に同期した第1基準クロック発生手段
から発生される第1基準クロックのパルス位置から、計
時したオーディオ再生手段の再生復帰位置までの時間を
第1基準クロックの周期で除して得られた値に小数部を
含まない場合は、その値に対応する第1基準クロックの
位置を、また第1基準クロックの周期で除して得られた
値に小数部を含む場合は、その値の整数部に値1を加え
た値に対応する第1基準クロックの位置を自動演奏の開
始位置とする構成である。First, the first configuration is the time from the pulse position of the first reference clock generated from the first reference clock generation means synchronized with the start of reproduction of the audio signal by the audio reproduction means to the timed playback return position of the audio reproduction means. If the value obtained by dividing by the period of the first reference clock does not include a decimal part, the value obtained by dividing the position of the first reference clock corresponding to that value by the period of the first reference clock. When the value includes a decimal part, the automatic performance start position is set to the position of the first reference clock corresponding to the value obtained by adding the value 1 to the integer part of the value.
そして、第2の構成は、第1基準クロックと第2基準ク
ロックのそれぞれのパルスが同期する同期ポイントの位
置nから、オーディオ再生手段の再往復帰位置Cまでの
時間Xを第2基準クロックの周期で除して得られた値に
小数部を含まない場合は、その値として第2基準クロッ
クのクロック番号c1を求め、また第2基準クコツクの
周期で除して得られた値に小数部を含む場合は、その値
の整数部に値1を加えた値として第2基準クロックのク
ロック番号C1を求め、
次に同期ポイントの位inから前記第2基準クロックの
クロック番号clの位置までの時間と時間Xの時間差y
をオーディオ再生手段の再生復帰位置Cに加算して自動
演奏の開始ポイントの位置とする構成である。In the second configuration, the time X from the synchronization point position n where the respective pulses of the first reference clock and the second reference clock are synchronized to the reciprocating return position C of the audio reproduction means is calculated as the second reference clock. If the value obtained by dividing by the period does not include a decimal part, calculate the clock number c1 of the second reference clock as that value, and add the decimal part to the value obtained by dividing by the period of the second reference clock. , the clock number C1 of the second reference clock is obtained by adding the value 1 to the integer part of that value, and then the clock number C1 of the second reference clock is calculated from the position in of the synchronization point to the position of the clock number cl of the second reference clock. Time difference y between time and time X
is added to the playback return position C of the audio playback means to determine the position of the automatic performance start point.
コンパクトディスクプレーヤなどのオーディオ再生手段
の再生に同期して、自動演奏を行う場合に、シーケンサ
クロック発生手段により、オーディオ再生手段のクロッ
クと、シーケンサクロックとの同期が一定時間毎に、例
えば1秒毎に新しく得られる。When automatic performance is performed in synchronization with the playback of an audio playback means such as a compact disc player, the sequencer clock generation means synchronizes the clock of the audio playback means with the sequencer clock at fixed intervals, for example, every second. Newly obtained.
そのため、同期のタイミング誤差が累積されずに、オー
ディオ再生に同期した正しいタイミングで、自動演奏を
させることができる。Therefore, automatic performance can be performed at the correct timing in synchronization with audio playback without accumulating synchronization timing errors.
また、オーディオ再生手段が、再生以外の、例えば早送
りなどの状態から再生状態に復帰する場合に、その復帰
する箇所がたとえ楽曲の途中であっても、その楽曲の先
頭部分からその復帰位置までの時間に基づいた第1基準
クロック、あるいは第2基準クロックの位置を、自動演
奏の開始位置と定め、再生される楽曲に合わせて(同期
して)直ちに自動演奏を開始することができる。Furthermore, when the audio playback means returns to the playback state from a state other than playback, such as fast-forwarding, even if the return point is in the middle of the song, it is also possible to By setting the position of the first reference clock or the second reference clock based on time as the starting position of automatic performance, it is possible to immediately start automatic performance in accordance with (synchronizing with) the music being played.
以下、CDプレーヤの再生に合わせて、電子鍵盤楽器を
自動演奏する場合に適用した1実施例を説明する。Hereinafter, an embodiment will be described in which the present invention is applied to automatically playing an electronic keyboard instrument in synchronization with playback by a CD player.
第1図は、本実施例の全体の構成を示すブロック図で、
大きく分けてCDプレーヤ部100と、電子鍵盤楽器部
200とから構成されている。FIG. 1 is a block diagram showing the overall configuration of this embodiment.
It is broadly divided into a CD player section 100 and an electronic keyboard instrument section 200.
このCDプレーヤ部100におけるCDの再生音と、電
子鍵盤楽器部200における演奏音の、それぞれのステ
レオ出力(L、R)は、ミキサー300.303におい
て混合される。その混合比は、第6図のミキサーつまみ
202a (後述する第5図の楽器操作部202の一
部)の操作位置に応じて、対応するミキシング制御信号
が電子鍵盤楽器部200から出力されることによって設
定される。The respective stereo outputs (L, R) of the CD playback sound in the CD player section 100 and the performance sound in the electronic keyboard instrument section 200 are mixed in mixers 300 and 303. The mixing ratio is determined by outputting a corresponding mixing control signal from the electronic keyboard instrument section 200 according to the operating position of the mixer knob 202a in FIG. 6 (a part of the instrument operating section 202 in FIG. 5, which will be described later). Set by.
ミキサー300.303の出力は、CDプレーヤ部10
0の再生音と電子鍵盤楽器部200の演奏音が混合され
た楽音として、増幅器301.304を介してスピーカ
302.305から放音される。The outputs of the mixers 300 and 303 are supplied to the CD player section 10.
A musical sound in which the reproduced sound of 0 and the performance sound of the electronic keyboard instrument section 200 are mixed is emitted from the speakers 302 and 305 via the amplifiers 301 and 304.
つぎに、CDプレーヤ部100の構成について、第2図
のブロック図を用いて説明する。Next, the configuration of the CD player section 100 will be explained using the block diagram of FIG. 2.
同図において、CDl0IはCDプレーヤ部100の特
には図示しないホルダ一部にセットされる。CD操作部
115は、第3図に示すように、通常のCDプレーヤと
同しく、再生・停止・−時停止・早送り・早戻しなどの
操作を行うCD操作スイッチ群124の他に、楽曲を選
択するための選曲ボタン(選曲時このボタンを押す)と
、テンキーよりなるCD選曲スイッチ群125を有する
。In the same figure, CD10I is set in a part of a holder (not specifically shown) of a CD player section 100. As shown in FIG. 3, the CD operation unit 115 has a CD operation switch group 124 that performs operations such as playback, stop, -time stop, fast forward, and fast rewind, as well as a CD operation switch group 124 that performs operations such as playing, stopping, fast forwarding, and fast reversing, as in a normal CD player. It has a music selection button for selection (press this button when selecting music) and a CD selection switch group 125 consisting of a numeric keypad.
ふたたび、第2図に戻って、システム制御回路116は
、例えばマイクロプロセッサであり、CDプレーヤ部1
00の全体の制御を行っている。Returning to FIG. 2 again, the system control circuit 116 is, for example, a microprocessor, and the CD player section 1
00 is in overall control.
他にCDl0Iの駆動時には、CL V (Const
antLinear Velocity)サーボ回路1
08、フォーカスサーボ104、送りサーボ107、お
よびトラ。In addition, when driving CDl0I, CL V (Const
antLinear Velocity) Servo circuit 1
08, focus servo 104, feed servo 107, and tiger.
キングサーボ105に駆動制御信号を出力する。A drive control signal is output to the king servo 105.
CLVt−、に回路108は、CDl0Lを回転駆動さ
せるスピンドルモータ102の回転数の制御を行って、
CDl0Lの各トラックの線速度が一定になるように制
御する。CLVt-, the circuit 108 controls the rotation speed of the spindle motor 102 that rotationally drives CDl0L,
The linear velocity of each track on CD10L is controlled to be constant.
またフォーカス・サーボ104は、レーザー・ビームの
反射光の状態からフォーカス誤差を検出し、そのフォー
カス誤差に基づいて、光ピツクアップ103内の対物レ
ンズを光軸方向に制御、駆動するものである。また、送
りサーボ107は、CDl0Iのトラック中央からのレ
ーザー・ビームのずれを検出しながら、光ピツクアップ
103を送りモータ106によって、半径方向に移動さ
せる。またディスクの偏芯等による速い動きに対しては
、トラッキングサーボ105により、光ピンクアップ1
03自体をトラックに追従させる。The focus servo 104 detects a focus error from the state of the reflected light of the laser beam, and controls and drives the objective lens in the optical pickup 103 in the optical axis direction based on the focus error. Further, the feed servo 107 moves the optical pickup 103 in the radial direction by the feed motor 106 while detecting the deviation of the laser beam from the center of the CD10I track. In addition, in response to fast movement due to disk eccentricity, etc., the tracking servo 105 provides optical pink-up 1.
03 itself follows the track.
このように、送りサーボ107とトラッキングサーボ1
05により、光ピツクアップ103から照射されるレー
ザー・ビームが、CD101のトラック中央に正確に照
射されるように制御される。In this way, the feed servo 107 and the tracking servo 1
05, the laser beam irradiated from the optical pickup 103 is controlled so as to be irradiated accurately on the center of the track of the CD 101.
ところで、CDl0Iのレーザー・ビームが照射される
側には、ビットと呼ばれる突起が刻まれており、これに
よりデジタル信号が記録されている。そして、光ピツク
アップ107は、照射したレーザー・ビームの反射光の
光量に基づいてビットの有無を検出しており、ビットの
有無及びその長さに対応したデジタル信号が読み出され
、再生信号としてデータ抽出回路110に入力する。Incidentally, a protrusion called a bit is carved on the side of the CDl0I that is irradiated with a laser beam, and a digital signal is recorded by this protrusion. Then, the optical pickup 107 detects the presence or absence of a bit based on the amount of reflected light from the irradiated laser beam, and a digital signal corresponding to the presence or absence of the bit and its length is read out, and the data is read out as a reproduced signal. Input to extraction circuit 110.
この再生信号は、1種のパルス列で、そのパルス幅は3
から11までの長さの変化があるため、このパルスを微
分すると、部分的にパルスの抜けた、非連続のパルス列
になる。そのため、データ抽出回路110内に設けられ
る、特には図示しないクロック抽出用P L L (P
hase Locked Loop)を用いて連続パル
ス列に変換し、ビットクロックが抽出される。This reproduction signal is a type of pulse train, and its pulse width is 3
Since there is a change in length from to 11, when this pulse is differentiated, it becomes a discontinuous pulse train with some pulses missing. Therefore, a clock extraction PLL (P
The bit clock is extracted by converting it into a continuous pulse train using a locked loop (has Locked Loop).
つぎに、CDのフレーム・フォーマットを、本実施例に
係わる部分に限って説明する。Next, the frame format of a CD will be explained only in relation to this embodiment.
CDの信号の1フレームは、588ビツトのチャネルビ
ットデータで構成され、各フレームの先頭にはフレーム
同期信号が設けられている。また、L、R各チャネルの
6サンプル分(12サンプル・データワード)が1フレ
ームに入るので、1フレームの時間は1/ f s X
6 (sec)となり(f s:サンプリング周波数)
、この周波数は7.35KHzである。One frame of a CD signal is composed of 588 bits of channel bit data, and a frame synchronization signal is provided at the beginning of each frame. Also, since 6 samples (12 samples/data word) of each L and R channel are included in one frame, the time of one frame is 1/ f s
6 (sec) (f s: sampling frequency)
, this frequency is 7.35 KHz.
この中に588ビツトあるわけで、読み出されるビット
クo7りは、7.35KHz X588 =4.321
8MHzとなり、また上述の7.35KHzはフレーム
同期信号検出のためのクロックとして用いられる。There are 588 bits in this, so the bit frequency to be read out is 7.35KHz x 588 = 4.321
8 MHz, and the above-mentioned 7.35 KHz is used as a clock for frame synchronization signal detection.
つぎに、第2閲に戻り、フレーム同期回路111が、デ
ータ抽出回路110から出力されるビットクロックを用
いてフレーム同期信号を検出する。Next, returning to the second review, the frame synchronization circuit 111 detects a frame synchronization signal using the bit clock output from the data extraction circuit 110.
さらに、検出されたフレーム同期信号を用いて、各フレ
ーム内の後述のEFM変調方式で変調された14ピント
のデジタルデータ(サブコード及びオーディオデータ等
)が、EFM復調回路112で復調される。Furthermore, using the detected frame synchronization signal, 14-pin digital data (subcode, audio data, etc.) modulated by the EFM modulation method described later in each frame is demodulated by the EFM demodulation circuit 112.
いま、デジタルデータの各ビットの論理「1」と論理「
0」は、どのような確率で発生するかは分からない。そ
して、第2図の光ピツクアップ103がCD101上の
ビットからデジタルデータを電気信号として検出する場
合に、論理「1」又は「0」の一方が長く続くと直流分
が発生し、また、ビット間隔情報が途切れてしまう。こ
のような状態は、光ピツクアップ103の出力に基づい
て制御動作を行うフォーカスサーボ104その他のサー
ボ回路において誤動作を招く原因となる。Now, the logic ``1'' of each bit of digital data and the logic ``1''
0", we do not know what probability it will occur. When the optical pickup 103 in FIG. 2 detects digital data as an electrical signal from the bits on the CD 101, if either logic "1" or "0" continues for a long time, a DC component is generated, and the bit interval Information is lost. Such a state causes malfunctions in the focus servo 104 and other servo circuits that perform control operations based on the output of the optical pickup 103.
そこで、このような直流分をできる限り取り除くため、
CD105に記録すべきデジタルデータの連続するビッ
トにおいて、論理「1」又は「0」の一方が長く続かな
いようなデータ変換が行われ、CDl0Lに記録される
。これをEFM変調と呼ぶ。このようにして、第2図の
CDl0Iに記録されたEFM変調信号を再生するため
に、EFM復調回路112において上記変調処理と逆の
復調処理が行われる。Therefore, in order to remove this DC component as much as possible,
In consecutive bits of digital data to be recorded on the CD 105, data conversion is performed so that one of logical "1" or "0" does not continue for a long time, and the data is recorded on the CD10L. This is called EFM modulation. In this manner, in order to reproduce the EFM modulated signal recorded on the CDl0I of FIG. 2, demodulation processing that is inverse to the above modulation processing is performed in the EFM demodulation circuit 112.
上述のようにして、EFM復調されたデータのうち、オ
ーディオデータが信号処理回路113ヘサブコードが、
システム制御回路116へ入力される。As described above, among the EFM demodulated data, the audio data is sent to the signal processing circuit 113, and the subcode is
The signal is input to the system control circuit 116.
このサブコードは、選曲のとき曲の頭を探すために、あ
るいは演奏時間の表示などのために用いられる。This subcode is used to find the beginning of a song when selecting a song, or to display the playing time.
さて、CDの1フレームは6サンプル分に相当するから
、この時間は6/44100(sec)となり、これの
98フレ一ム分が1サブコーデイングフレームの時間に
なり、このサブコーディングフレームのクロックパルス
CDCKは、第8図(b)に示すように6 x98/4
4100=1/75=13.333.、、(ms)
となる。つまりサブコーディングフレームは1秒間にO
O〜74の75フレームで構成される。Now, since one frame of a CD corresponds to 6 samples, this time is 6/44100 (sec), and one 98 frames of this is the time of one subcoding frame, and the clock of this subcoding frame is 6/44100 (sec). The pulse CDCK is 6 x 98/4 as shown in Figure 8(b).
4100=1/75=13.333. ,,(ms)
becomes. In other words, there are O subcoding frames per second.
It consists of 75 frames of 0 to 74.
本発明においては、後述するように、電子鍵盤楽器部2
00内のシーケンス制御部203が、このサブコーディ
ングフレームの00フレームヲ検出し、生成したゼロフ
レーム検出信号、および、上述のサブコーディングフレ
ームのクロックCDCKを、後述する同期記録や同期再
生のために用いる。In the present invention, as described later, the electronic keyboard instrument section 2
The sequence control unit 203 in 00 detects the 00 frame of this sub-coding frame, and uses the generated zero frame detection signal and the above-mentioned sub-coding frame clock CDCK for synchronous recording and synchronous playback, which will be described later.
このサブコーディングフレームはlフレーム内のP、Q
、R,S、・・・、Wまでの8ビツトが96フレームに
わたって構成されている(上述の98フレームの残り2
フレームは、サブコードのシンクパターン用である)。This subcoding frame is P, Q in l frame.
, R, S, ..., W are configured over 96 frames (the remaining 2 bits of the above 98 frames are
frame is for the subcode sink pattern).
このうち、PチャネルはビットPによるもので、第4図
に示すように曲間を1で表すために用いられる。また、
QチャネルはビットQによるもので、第4図に示すよう
に、再生や早送り、または早戻し中の各時点で、トラッ
ク番号(曲ナンバー)、「相対時間データ」(曲の頭か
らの経過時間)、その他を表す。二の「相対時間データ
」は、分、秒及びフレーム番号(00〜74)で表され
、CDプレーヤ部100内のシステム制御回路116か
ら電子鍵盤楽器部200内の楽器制御部201へ出力さ
れる。Of these, the P channel is based on bit P, and is used to represent the interval between songs with 1, as shown in FIG. Also,
The Q channel is based on the bit Q, and as shown in Figure 4, the track number (song number) and "relative time data" (elapsed time from the beginning of the song) are displayed at each point during playback, fast forwarding, or fast reversing. ), and others. The second "relative time data" is expressed in minutes, seconds, and frame numbers (00 to 74), and is output from the system control circuit 116 in the CD player section 100 to the musical instrument control section 201 in the electronic keyboard instrument section 200. .
なお、CDプレーヤ100が再生状態であるときは、上
述のシステム制御回路116から、後述するrCD再生
状態信号」が楽器制御部201へ出力される。Note that when the CD player 100 is in the playback state, the above-mentioned system control circuit 116 outputs an "rCD playback state signal" to be described later to the musical instrument control section 201.
つぎに、第2図に戻って、信号処理回路113は、入力
されるオーディオデータを、RAMlI4に順次書き込
み、CT RC(Cross Interleaved
Reed−5olomon Code)と呼ばれるコー
ドに基づいて誤り訂正処理を行うとともに、デ・インタ
リーブ処理を行って、フレーム単位で16ビツトの各デ
ジタルオーディオデータの各サンプルの復元を行う。ま
た、RAM114は、そのほかモータの回転ジッタなど
の影響で変動している時間軸の補正などを行うバッファ
回路としても用いられる。Next, returning to FIG. 2, the signal processing circuit 113 sequentially writes the input audio data to the RAMlI4, and converts the input audio data to the CT RC (Cross Interleaved
Error correction processing is performed based on a code called a Reed-5 olomon code, and de-interleaving processing is performed to restore each sample of each 16-bit digital audio data in frame units. In addition, the RAM 114 is also used as a buffer circuit for correcting the time axis that fluctuates due to motor rotation jitter and the like.
その後、16ビツトのデジタル・オーディオデータの各
サンプルは、L/R分離回路119でステレオのL/R
に分離され、それぞれがD/A変換器120.122で
アナログ信号に変換された後、ローパスフィルタLPF
121.123がらアナログのオーディオデータとし
て出力される。Thereafter, each sample of the 16-bit digital audio data is separated into stereo L/R by an L/R separation circuit 119.
After each is converted into an analog signal by a D/A converter 120 and 122, it is passed through a low-pass filter LPF.
121.123 is output as analog audio data.
クロック発生回路118は、発振器117の発振周波数
を順次、整数分の1に分周する数個の分周器を内蔵して
いる。それらの分周器によって得られた88.2KHz
と44.1KHzの各クロックは、それぞれL/R分離
、D/A変換用に、7.35KHzのクロックはCLV
サーボに用いられる。また、発振器117の発振周波数
1.4112MHzは、第2図の各回路を構成するLS
Iのクロック用に用いられる。The clock generation circuit 118 includes several frequency dividers that sequentially divide the oscillation frequency of the oscillator 117 by an integer. 88.2KHz obtained by those frequency dividers
The and 44.1KHz clocks are used for L/R separation and D/A conversion, and the 7.35KHz clock is used for CLV.
Used for servos. Furthermore, the oscillation frequency of the oscillator 117 is 1.4112 MHz, which is the same as the LS that constitutes each circuit in FIG.
Used for I clock.
以上のような構成において、CLVサーボ回路108に
よって、その人力■におけるクロックパルスは、人力■
のクロック(周波数: 7.35KHz )で完全にロ
ックされる。このとき、分周器109の入力■において
、クロックの周波数
7.35kHz X588 =4.3218MHzが得
られる。これが、ビットクロックで、基準に用いられる
水晶発振子の周波数と同程度の精度と安定度を有する。In the above configuration, the CLV servo circuit 108 allows the clock pulse in the human power
It is completely locked to the clock (frequency: 7.35KHz). At this time, a clock frequency of 7.35 kHz x 588 = 4.3218 MHz is obtained at the input (2) of the frequency divider 109. This is the bit clock, which has accuracy and stability comparable to the frequency of the crystal oscillator used as a reference.
もちろん、CDl0Iの各トランクの再生中の線速度は
常に一定に保たれる。Of course, the linear velocity during playback of each trunk of CD10I is always kept constant.
以上述べたCDプレーヤ部100の再生動作に合わせて
(同期して)、電子鍵盤楽器部200を自動演奏(この
場合の自動演奏を同期再生と呼ぶ)させるために、始め
に、演奏者が楽器操作部2゜2の鍵盤202bを演奏操
作してイヘントデータ(ノートオン/オフなどのイヘン
ト、および各イベント間の時間に関するデータ、第9図
参照)がシーケンスメモリ204に記録される。In order to cause the electronic keyboard instrument section 200 to perform automatically in accordance with (synchronize with) the playback operation of the CD player section 100 described above (the automatic performance in this case is called synchronous playback), the player first By playing the keyboard 202b of the operation unit 2.degree. 2, event data (data regarding events such as note on/off and the time between each event, see FIG. 9) is recorded in the sequence memory 204.
この場合、上述の各イベント間のタイムデータ作成のた
めに用いるタイミングクロックが、CDの、例えば後述
のサブコーディングフレー・ムなどに同期させる場合を
同期記録と呼び、一方そのような同期を考慮せず、単な
る通常の自動演奏(この場合、ノーマル再生と呼ぶ)の
ためのイヘントデータがシーケンスメモリ204に記録
される場合は、ノーマル記録と呼ぶ。なお、同期記録と
ノーマル記録をまとめてシーケンサ記録と呼び、また同
期再生とノーマル再生をまとめて、シーケンサ再生と呼
ぶ。In this case, when the timing clock used to create time data between each event described above is synchronized with, for example, the subcoding frame of the CD, which will be described later, it is called synchronous recording. First, when event data for mere normal automatic performance (in this case, called normal playback) is recorded in the sequence memory 204, it is called normal recording. Note that synchronous recording and normal recording are collectively called sequencer recording, and synchronous playback and normal playback are collectively called sequencer playback.
つぎに、楽器操作部202(第5図参照)は、第6図に
示すように、楽器音とCDの再生音を混合するミキサー
つまみ202a、鍵盤202bの他に、上述の記録・再
生のために使用するつぎのような操作ボタンを有する。Next, as shown in FIG. 6, the instrument operation section 202 (see FIG. 5) includes a mixer knob 202a for mixing the instrument sound and the CD playback sound, a keyboard 202b, and a keyboard 202b for the recording and playback described above. It has the following operation buttons for use.
すなわち、「シーケンサ記録」に用いる操作ボタンとし
て、「ノーマル記録」を行うための押しボタンスイッチ
202dと、反対にCDとの同期記録を行うためのrC
D同期記録」用の押しボタンスイッチ202e 、およ
び以上の記録動作を終了させるためのrOFFJボタン
202Cがある。That is, as operation buttons used for "sequencer recording", there is a push button switch 202d for "normal recording", and an rC for performing synchronous recording with a CD.
There are a push button switch 202e for "D synchronous recording" and an rOFFJ button 202C for ending the above recording operation.
一方、「シーケンサ再生」に用いる操作ボタンとして、
同様に上述の「シーケンサ記録」の場合に対応して「ノ
ーマル再生」、rCD同期再生」、rOFF、の各押し
ポタンスイ・ソチ202g、202h、および202f
がある。On the other hand, as an operation button for "sequencer playback",
Similarly, in response to the above-mentioned "sequencer recording", the push buttons 202g, 202h, and 202f for "normal playback", "rCD synchronized playback", and rOFF are pressed.
There is.
ふたたび第5図に戻り、制御部201は、押鍵検出/発
音割当回路を含み、一定の周期で走査を行い、楽器操作
部202内の鍵盤202bの押鍵、離鍵情報を取り込む
。また、鍵が押鍵されると、制御部201は押鍵した鍵
を複数の発音割当チャネルのいずれかに割当てるととも
に、その鍵の操作情報に基づき、その鍵の押鍵/離鍵情
報、音高情報、ベロシティ情報、時間情報などの楽音情
報がシーケンスメモリ204に書き込まれるとともに、
トーンジェネレータ205に出力される。Returning to FIG. 5 again, the control section 201 includes a key press detection/sound generation assignment circuit, performs scanning at a constant cycle, and captures key press and key release information on the keyboard 202b in the musical instrument operation section 202. Furthermore, when a key is pressed, the control unit 201 assigns the pressed key to one of a plurality of sound generation assignment channels, and based on the operation information of that key, presses/releases information of that key, and sounds. Musical tone information such as pitch information, velocity information, and time information is written to the sequence memory 204, and
It is output to tone generator 205.
これらの楽音情報に基づき、トーンジェネレータ205
によって生成された楽音信号は、その後、D/A変換器
208でアナログ信号に変換された後、LPF209で
整形される。この場合、コーラス効果を選択していれば
、コーラス効果回路208で擬似ステレオ効果を有する
2チヤネル(し、R)の楽音信号に分けられる。Based on this musical tone information, the tone generator 205
The musical tone signal generated by is then converted into an analog signal by a D/A converter 208, and then shaped by an LPF 209. In this case, if the chorus effect is selected, the chorus effect circuit 208 divides the signal into two channels (R) of musical tone signals having a pseudo-stereo effect.
つぎに、上述の同期記録、同期再生、およびノーマル記
録、ノーマル再生について、シーケンス制御部203に
関する3つの実施例を用いて順次説明する。Next, the above-mentioned synchronous recording, synchronous playback, normal recording, and normal playback will be sequentially explained using three embodiments related to the sequence control section 203.
(シーケンス制御部の第1実施例)
まず、第1実施例の構成を説明する前に概略の動作につ
いて説明する。(First Example of Sequence Control Unit) First, before explaining the configuration of the first example, the general operation will be described.
この第1実施例は、CDの再生開始と同時に、サブコー
ドから1秒毎に出力する、前述のゼロフレーム検出信号
と、電子鍵盤楽器部200内のシーケンス制御部203
で5.208m5毎に出力するクロックの両方を用いて
、楽器制御部201がシーケンスメモリ204のテ゛−
夕を読み出して、自動演奏動作を行うときのクロック5
QCKを生成することを特徴とする。This first embodiment uses the above-mentioned zero frame detection signal, which is output from the subcode every second at the same time as the CD starts playing, and the sequence control section 203 in the electronic keyboard instrument section 200.
The instrument control unit 201 uses both of the clocks output every 5.208 m5 to
Clock 5 when reading the evening time and performing automatic performance operation
It is characterized by generating QCK.
このシーケンス制御部203で生成されるクロックの1
92番目(最初のクロックを0番目とする)は、最初の
クロックからほぼ1秒経過した時点に相当する(正確に
は、5.208m5 X192 =999゜936m5
)が、この192番目のクロックのみは、5QCKと
して用いないで、代わりに正確に1秒毎に出力するゼロ
フレーム検出信号のクロックパルスを5QCKとする。1 of the clocks generated by this sequence control unit 203
The 92nd point (the first clock is 0th) corresponds to the time when approximately 1 second has passed since the first clock (to be exact, 5.208m5 x 192 = 999°936m5
), but only this 192nd clock is not used as 5QCK, but instead the clock pulse of the zero frame detection signal output exactly every second is set as 5QCK.
そして、つぎの1〜191番のクロックを再び5QCK
とする。Then, the next clock from 1 to 191 is 5QCK again.
shall be.
さて、CDプレーヤ部100と電子鍵盤楽器部200と
の同期記録を行うには、まず、演奏者が第3図に示すC
D選曲スイッチ群125を用いて、使用するCDをテン
キーを用いて選曲する。つぎに、電子鍵盤楽器部200
の楽器操作部202内のrCD同期記録」ボタン202
e(第6図参照)を押す。すると、楽器制御部201か
ら「同期再往命令」がCDプレーヤ部100のシステム
制御回路116に送出されてCDの再生が開始される。Now, in order to perform synchronous recording between the CD player section 100 and the electronic keyboard instrument section 200, the performer must first perform the CCD as shown in FIG.
Using the D song selection switch group 125, the CD to be used is selected using the numeric keypad. Next, the electronic keyboard instrument section 200
"rCD synchronous recording" button 202 in the instrument operation section 202 of
Press e (see Figure 6). Then, a "synchronization repeat command" is sent from the musical instrument control section 201 to the system control circuit 116 of the CD player section 100, and playback of the CD is started.
その結果、CDのサブコーディングフレームのQチャネ
ルによる相対時間データ(第4図参照)が、CDプレー
ヤ部100のシステム制jl11回路116から、電子
鍵盤楽器部200の楽器制御部201を介してシーケン
ス制御部203に入力する。As a result, the relative time data (see FIG. 4) by the Q channel of the sub-coding frame of the CD is sequence-controlled from the system jl11 circuit 116 of the CD player section 100 via the instrument control section 201 of the electronic keyboard instrument section 200. 203.
ここで、演奏者がCDの再生に合わせて、電子鍵盤楽器
部200の鍵盤202bを演奏操作すると、その鍵操作
情報より得られる前述のイヘントデータ(タイムデータ
を含む)が、楽器制御部201によってシーケンスメモ
リ204に書き込まれる。このとき、前述した自動演奏
に用いられるクロック5QCKと、同タロツクによって
計時されるタイムデータは、つぎに述べるようにシーケ
ンス制御部203において作成される。Here, when the performer performs a performance operation on the keyboard 202b of the electronic keyboard instrument section 200 in accordance with the playback of the CD, the above-mentioned event data (including time data) obtained from the key operation information is sequenced by the instrument control section 201. is written to memory 204. At this time, the clock 5QCK used for the automatic performance described above and the time data measured by the clock are created in the sequence control section 203 as described below.
以下、このシーケンス制御部203の第1実施例の具体
的動作を、第7図を用いて詳しく説明する。Hereinafter, the specific operation of the first embodiment of this sequence control section 203 will be explained in detail using FIG. 7.
まず、rCD同期記録」ボタン202e(第6図)を押
すと、CDはサブコードの前述したPチャネルの立ち上
がり、つまり曲間の開始時点より再生を始める。第7図
の相対時間検出回路209は、CDプレーヤ部100の
システム制御回路116から送られるCDのサブコード
の前述したQチャネルによる相対時間データ(第4図参
照)から、00分00秒00フレームを検出してゼロ時
間検出信号を、また、1秒毎に出力するA分B秒(任意
の時間を表す)00フレームを検出して、第8図(a)
に示すゼロフレーム検出信号(この周波数はIHz)を
出力する。なお、相対時間検出回路209は、第4図に
示すように時間データが減少する曲間ではゼロフレーム
検出信号を出力せず、曲の頭で相対時間データがゼロに
なったとき、ゼロフレーム検出信号と、曲の頭を示すゼ
ロ時間検出信号を出力する。First, when the "rCD synchronous record" button 202e (FIG. 6) is pressed, the CD starts playing from the rise of the P channel of the subcode, that is, from the beginning of the interval between songs. The relative time detection circuit 209 in FIG. 7 detects 00 minutes 00 seconds 00 frames from the relative time data (see FIG. 4) by the Q channel of the CD subcode sent from the system control circuit 116 of the CD player section 100. Detects the zero time detection signal, and also detects the A minute B second (representing an arbitrary time) 00 frame output every second, as shown in Figure 8 (a).
The zero frame detection signal shown in (this frequency is IHz) is output. Note that, as shown in FIG. 4, the relative time detection circuit 209 does not output a zero frame detection signal between songs where time data decreases, and detects a zero frame when the relative time data becomes zero at the beginning of a song. signal and a zero time detection signal indicating the beginning of the song.
このゼロ時間検出信号が、まず、5QCKカウンタ22
1をクリアする。そして、ゼロフレーム検出信号が、O
Rゲート216、ANDゲート219(この場合、CD
の再生中にCDプレーヤ部100のシステム制省卸回路
116から出力されるCD再生状態信号と、rCD同期
記録」ボタン202eを押したときに楽器制御部201
から出力される同期選択信号は、ともにハイレベル)を
介してORゲート220から5QCKとして出力される
(これは第8図(C)のクロック番号0番のクロックに
相当する。This zero time detection signal is first sent to the 5QCK counter 22.
Clear 1. Then, the zero frame detection signal is O
R gate 216, AND gate 219 (in this case, CD
During playback, the CD playback status signal output from the system control wholesale circuit 116 of the CD player section 100 and the instrument control section 201 when the "rCD synchronous record" button 202e is pressed.
The synchronization selection signals outputted from the synchronous selection signals are both at high level) and are outputted as 5QCK from the OR gate 220 (this corresponds to the clock number 0 in FIG. 8(C)).
この時点で、I MHz発振器211の発振が開始され
る。5208カウンタ212は、第8図(C)に示され
るように、I MHzのクロックを5208カウントす
る(5.208m5 )毎にクロックを出力する。この
クロックの大部分、すなわち、同図(C)に示す5QC
Kのクロック番号0から191までのクロックは、AN
Dゲート215 (後述する191カウンタ213の出
力は、192カウント目以外はローレベルであるため、
それがインバーター214で反転されたANDゲート2
15の入力はハイレベルになる)ORゲート216、A
NDゲート219(この場合、CD再生状態信号と同期
選択信号はともにハイレベル)を介して、ORゲート2
20から5QCKとして出力される。At this point, the I MHz oscillator 211 starts oscillating. The 5208 counter 212 outputs a clock every 5208 counts (5.208 m5) of the I MHz clock, as shown in FIG. 8(C). Most of this clock, that is, 5QC shown in the same figure (C)
K clock numbers 0 to 191 are AN
D gate 215 (The output of the 191 counter 213, which will be described later, is at low level except for the 192nd count, so
AND gate 2 which is inverted by inverter 214
15 input goes high) OR gate 216, A
The OR gate 2
It is output as 20 to 5QCK.
そして191カウンタ213は、そのクロックの立ち下
がりでカウントアツプして、191カウント目で、同図
(d)のようにハイレベル信号を出力する。The 191 counter 213 counts up at the falling edge of the clock, and at the 191st count, outputs a high-level signal as shown in FIG. 4(d).
このハイレベル信号は、インバータ214で反転され、
ANDゲート215にローレベル信号として入力される
。このハイレベル信号が191カウンタ213より出力
されている間(つぎのゼロフレーム検出信号によって、
191カウンタ213がクリアされるまで)は、インバ
ータ214の出力であるローレベル信号がANDゲート
215に入力するので、5208カウンタ212による
192番目のクロックの送出は禁止され、代わりにゼロ
フレーム検出信号が、前述と同様にしてORゲート21
6、A、N Dゲート219を介し、ORゲート220
から、シーケンサクロック5QCKとして、第8図(C
)に示すように出力される。この5QCKは5QCKカ
ウンタ221で曲の頭から計数され、その計数値はシー
ケンスメモリ204内にデータを記録するときのタイム
データとして用いられる。This high level signal is inverted by an inverter 214,
The signal is input to AND gate 215 as a low level signal. While this high level signal is output from the 191 counter 213 (by the next zero frame detection signal,
191 counter 213 is cleared), the low level signal output from the inverter 214 is input to the AND gate 215, so the transmission of the 192nd clock by the 5208 counter 212 is prohibited, and the zero frame detection signal is sent instead. , OR gate 21 in the same manner as described above.
6, A, N Through the D gate 219, the OR gate 220
8 (C) as the sequencer clock 5QCK.
) is output as shown. These 5QCKs are counted from the beginning of the song by a 5QCK counter 221, and the counted value is used as time data when recording data in the sequence memory 204.
以上が同期記録の動作で、1秒毎にCDのゼロフレーム
検出信号に同期したシーケンサクロック5QCKが得ら
れる。The above is the synchronous recording operation, and the sequencer clock 5QCK synchronized with the CD zero frame detection signal is obtained every second.
上述のように、電子鍵盤楽器部200のシーケンスメモ
リ204に書き込まれたイヘントデータに基づいて同期
再生かつぎのように行われる。As described above, synchronous playback is performed based on the event data written in the sequence memory 204 of the electronic keyboard instrument section 200.
同期再生においては、まずユーザーがCD操作部115
(第2図)内のCD選曲スイッチ群125(第3回参照
)を用いて所定の曲を選曲する。In synchronous playback, the user first operates the CD operation section 115.
A predetermined song is selected using the CD song selection switch group 125 (see the third section) in (Fig. 2).
つぎに、楽器操作部202のrCD同期再生」ボタン2
02hが押されると、楽器制御部201から「同期再生
命令」がCDプレーヤ部100のシステム制御部116
に送られ、CDの再生が開始される。CDの再生が開始
されると、CDプレーヤ部100のシステム制御回路1
16から送られてくる「相対時間データ」によって前述
の同期記録時と同様に、シーケンス制御部203から5
QCKクロックが出力される。それに基づいてシーケン
スメモリ204に書き込まれている演奏のイベントデー
タ(第9図参照)が順次読み出される。Next, press the "rCD synchronous playback" button 2 on the instrument operation section 202.
When 02h is pressed, the instrument control unit 201 issues a “synchronous playback command” to the system control unit 116 of the CD player unit 100.
, and playback of the CD begins. When playback of a CD is started, the system control circuit 1 of the CD player section 100
16, the sequence control unit 203 to 5
A QCK clock is output. Based on this, performance event data (see FIG. 9) written in the sequence memory 204 is sequentially read out.
その結果、イベントデータに応じて、例えばノートナン
バーに対応する音高と、所定の音色やベロシティ−を有
する楽音が、タイムデータで規定される所定時間で発音
ならびに消音される。As a result, according to the event data, for example, a musical tone having a pitch corresponding to the note number, a predetermined timbre, and a velocity is emitted or muted at a predetermined time defined by the time data.
つぎに、同期再生時に、第10図のタイムチャートのよ
うに、CDを早送り/単房しなどの再生以外の状態にし
た後で、ふたたび再生状態に復帰した場合の動作につい
て説明する。Next, during synchronous playback, as shown in the time chart of FIG. 10, the operation will be described when the CD is put into a state other than playback, such as fast forwarding or single playback, and then returned to the playback state again.
まず、CD再生状態信号は、早送り/単房しの状態では
ローレベルであるため、この状態では、ANDゲート2
17.219のいずれもOFFになるため、シーケンサ
クロック5QCKは出力されない。First, since the CD playback status signal is at a low level in the fast-forward/single-chamber status, in this status, the AND gate 2
Since both clocks 17 and 219 are turned off, the sequencer clock 5QCK is not output.
続いて、CDが再び再生状態に復帰すると、その時点で
CDから出力される相対時間データに基づいて、第7図
の演算回路222が、つぎのゼロフレーム時のタイミン
グにおける、曲の頭からの5QCKの計数値を演算する
。例えば再生状態に復帰した時点を1分23秒45フレ
ームとすると、つぎのゼロフレーム時は、1分24秒0
0フレームであり、5QCKクロックは毎秒192であ
るので、
(60+24) X192 =16128を演算する
。Subsequently, when the CD returns to the playback state again, the arithmetic circuit 222 in FIG. Calculate the count value of 5QCK. For example, if the time when the playback state returns is 1 minute 23 seconds 45 frames, the next zero frame is 1 minute 24 seconds 0.
Since it is 0 frame and the 5QCK clock is 192 per second, (60+24) X192 = 16128 is calculated.
この演算された値が、シーケンサの再生を開始するポイ
ントの5QCKのクロック番号である。This calculated value is the clock number of 5QCK at the point at which playback of the sequencer starts.
ここで、CD再生状態信号は、CDが再生状態に復帰す
ると、ゼロフレームのタイミングでハイレベルに戻り、
これに続いて楽器制御部201からプリセット命令が出
力される。そして、演算回路222からの上記出力値は
、プリセット命令に応じて、5QCKカウンタ221に
、プリセットデータとしてセットされる。これにより、
このプリセットデータによる計数値から、再び5QCK
クロックによるカウントが再開され、つぎのタイミング
データに対応するノートオンから自動演奏が始められる
。Here, when the CD returns to the playback state, the CD playback state signal returns to high level at the zero frame timing.
Following this, a preset command is output from the musical instrument control section 201. The output value from the arithmetic circuit 222 is set as preset data in the 5QCK counter 221 in response to the preset command. This results in
From the count value based on this preset data, 5QCK is again
Counting by the clock is restarted, and automatic performance starts from the note-on corresponding to the next timing data.
つぎに、ノーマル記録とノーマル再生について説明する
。Next, normal recording and normal playback will be explained.
ノーマル記録の場合には、楽器操作部202の「ノーマ
ル記録」ボタン202d(第6図参照)を押すと、楽器
制御部201から出力されたノーマルスタート信号が、
ORゲート210を介してIMHz発振器211をスタ
ートさせ、5208カウンタ212がカウントするクロ
ックがANDゲート218(この場合、CD再生状態信
号、および、ノーマル再生時はローレベルである同期選
択信号のインバータ217出力は、ともにハイレベル)
を介して、ORゲート220から5QCKとして出力さ
れる。In the case of normal recording, when the "Normal Record" button 202d (see FIG. 6) of the instrument operation section 202 is pressed, the normal start signal output from the instrument control section 201 is
The IMHz oscillator 211 is started via the OR gate 210, and the clock counted by the 5208 counter 212 is output from the AND gate 218 (in this case, the CD playback status signal and the inverter 217 output of the synchronization selection signal, which is at low level during normal playback). are both high level)
It is output as 5QCK from the OR gate 220 via.
以上のように、CDとの同期に無関係にシーケンス制御
部203内で作成された5QCKクロックに基づいて、
演奏者の演奏操作による楽曲のイベントデータが、シー
ケンスメモリ204に順次書き込まれる。As described above, based on the 5QCK clock created in the sequence control unit 203 regardless of synchronization with the CD,
Event data of a music piece based on a performer's performance operation is sequentially written into the sequence memory 204.
つぎに、ノーマル再生は、楽器操作部202内の「ノー
マル再生」ボタン202gを押すことにより、シーケン
スメモリ204に書き込まれたイベントデータに基づい
た通常の自動演奏が行われる。Next, in normal playback, by pressing the "normal playback" button 202g in the instrument operation section 202, a normal automatic performance based on the event data written in the sequence memory 204 is performed.
(シーケンス制御部の第2実施例)
つぎに、シーケンス制御部203の第2実施例につき説
明する。(Second Example of Sequence Control Unit) Next, a second example of the sequence control unit 203 will be described.
本実施例は、同期再生中に再生以外の状態、例えば早送
りの状態から復帰して、再生を開始する場合、シーケン
サクロ・ンク5QCKの単位(5,208m5)で夕・
イミングの同期が得られるのが特徴で、第1実施例がゼ
ロフレーム検出信号の1秒車位で同期が得られるのと大
きく異なる。その他の点、例えば同期再生の同期タイミ
ングが、サブコーディングフレームのクロックパルスC
DCK毎に得られる等の動作は、第1実施例と同じであ
る。In this embodiment, when returning from a state other than playback, such as fast-forwarding, during synchronous playback and starting playback, the sequencer clock is set in units of 5QCK (5,208m5).
The feature is that timing synchronization can be obtained, which is significantly different from the first embodiment, in which synchronization can be obtained at the 1 second position of the zero frame detection signal. For other points, for example, the synchronization timing of synchronous reproduction is the clock pulse C of the subcoding frame.
Operations such as obtaining each DCK are the same as in the first embodiment.
第11図は、シーケンス制御部203のブロック図で、
後述する補正タイマ223が新たに加わった以外は、基
本的に第1実施例の第7図とほぼ同様な回路構成である
。FIG. 11 is a block diagram of the sequence control unit 203.
The circuit configuration is basically similar to that of the first embodiment shown in FIG. 7, except that a correction timer 223, which will be described later, is newly added.
まず、演算回路222は、楽器制御部201から出力さ
れる演算制御信号に応じて、第12図に示すようにCD
再生開始ポイントとシーケンサの再生開始ポイントとの
時間差yをつぎのように演算する。First, the arithmetic circuit 222 controls the CD as shown in FIG.
The time difference y between the playback start point and the sequencer playback start point is calculated as follows.
いま、CDが再生状態に復帰したポイントをA分B秒C
フレームとすると、本実施例では同期ポイントが1秒毎
にあるため、同図に示す同期ポイントnからCD再生開
始ポイントまでの時間Xは、第8図(b)に示す、CD
CKのCフレーム分の時間(13,3333・・・xC
ms)に等しい。そして、同期ポイントnにおける5Q
CKのクロック番号を仮に0番とし、順次クロック番号
を付すと、シーケンサの再生開始ポイントにおけるクロ
ック番号は、x 15.2083の整数部に値1を加算
した値である。Now, the point at which the CD returns to the playing state is A minutes B seconds C
In this example, the synchronization point is every second, so the time X from the synchronization point n shown in the figure to the CD playback start point is as shown in FIG.
Time for C frame of CK (13,3333...xC
ms). And 5Q at synchronization point n
Assuming that the clock number of CK is 0 and the clock numbers are assigned sequentially, the clock number at the playback start point of the sequencer is the value obtained by adding the value 1 to the integer part of x 15.2083.
ただし、C=0の場合は、フレーム00の時点に当たる
ので、値1を加算しない。例えばフレーム数C=10と
すると、x =133.3(ms)であるので、133
.3315.2083 = 25.6となり、整数部の
25に1を加算した26が、シーケンサの再生開始ポイ
ントにおける5QCKのクロック番号(これをCIとす
る)である。そして、曲ノ頭カらの5QCKのクロック
番号は、(Ax60+B)x192 +26
・ ・ ・(1)となる。However, if C=0, this corresponds to frame 00, so the value 1 is not added. For example, if the number of frames C = 10, then x = 133.3 (ms), so 133
.. 3315.2083 = 25.6, and 26, which is obtained by adding 1 to 25 in the integer part, is the clock number of 5QCK at the playback start point of the sequencer (this is referred to as CI). And the clock number of 5QCK from the beginning of the song is (Ax60+B)x192 +26
・ ・ ・(1) becomes.
つぎに、上述のシーケンサの再生開始ポイントとCDの
再生開始ポイントの時間差を求める。Next, the time difference between the aforementioned sequencer playback start point and the CD playback start point is determined.
第12図からも明らかなように、この場合の時間差(同
図のy)は、
(5,2083X26) −(13,3333X10)
=2.083m5である。これを一般式で表すとつぎ
のようになる。As is clear from Figure 12, the time difference in this case (y in the figure) is (5,2083X26) - (13,3333X10)
=2.083m5. This can be expressed as a general formula as follows.
(SQCK周期XCI) −(CDCK周期×C)=時
間差(y)この時間差をCDの再生開始ポイントに加算
した時点を、つぎのシーケンサクコツク5QCKの時点
とする。(SQCK cycle XCI) - (CDCK cycle x C) = time difference (y) The time point when this time difference is added to the CD playback start point is the time point of the next sequencer block 5QCK.
このようにして、演算回路222で演算された時間差デ
ータyは、CDが早送り等から再生状態に復帰し、CD
再生状態信号がローレベルからハイレベルに転じた時点
で、楽器制御部201から出力されるプリセット命令に
よってプリセットデータとして補正タイマ223にセッ
トされる。この補正タイマ223は、第8図に示すよう
に、相対時間検出回路209より出力されるCDCKに
よってプリセ・ノドデータ分のカウントをスタートし、
上述の時間差に対応する時点で同データのカウントを終
了すると同時に、クロックを1個出力する。このクロッ
クは、同期ポイントn(第12図参照)で新たにスター
トした5QCKの周期に一致するもので、ORゲート2
16、ANDゲート219を介してORゲート220よ
り5QCKとして出力される。この時点で自動演奏が開
始される。それと同時に上述のクロックは、5208カ
ウンタ212.191カウンタ213をそれぞれクリア
し、再カウントを開始する。ただし、191カウント2
12にはクリアされた後、最初に出力すべき計数値、こ
の場合は前述の01、すなわち自動演奏の開始ポイント
における5QCKのクロック番号がプリセットデータと
して、楽器制御部201から出力されるプリセット命令
によってプリセットされている。In this way, the time difference data y calculated by the calculation circuit 222 is used when the CD returns to the playback state from fast forwarding, etc.
When the playback status signal changes from low level to high level, it is set in the correction timer 223 as preset data by a preset command output from the musical instrument control section 201. As shown in FIG. 8, this correction timer 223 starts counting for the preset throat data in response to the CDCK output from the relative time detection circuit 209.
At the time corresponding to the above-mentioned time difference, counting of the same data is finished and at the same time, one clock is output. This clock matches the period of 5QCK newly started at synchronization point n (see Figure 12), and the OR gate 2
16, and is output as 5QCK from the OR gate 220 via the AND gate 219. At this point, automatic performance begins. At the same time, the above-mentioned clock clears the 5208 counter 212 and the 191 counter 213, respectively, and starts counting again. However, 191 count 2
After being cleared at 12, the count value to be output first, in this case the aforementioned 01, that is, the clock number of 5QCK at the start point of automatic performance, is set as preset data by a preset command output from the instrument control unit 201. Preset.
また、演算回路222は、シーケンサの再生開始ポイン
トに対応する5QCKの計測値(曲の頭からのクロック
番号に等しい)をプリセットデータとして、5QCKカ
ウンタ221に予めプリセットしておく。同データは、
同期ポイン)nに対応する曲の頭からの5QCKのクロ
ック番号と、上述の191カウンタ213にセットする
プリセットデータから、例えば前述の(1)弐のように
演算して得られる。これにより5QCKカウンタ221
は、プリセットされた5QCKの計測値からカウントを
再開する。Further, the arithmetic circuit 222 presets the measured value of 5QCK (equal to the clock number from the beginning of the song) corresponding to the playback start point of the sequencer in the 5QCK counter 221 as preset data. The same data is
It is obtained by calculating, for example, as in (1) 2 above, from the 5QCK clock number from the beginning of the song corresponding to synchronization point) n and the preset data set in the 191 counter 213 described above. As a result, the 5QCK counter 221
restarts counting from the preset 5QCK measurement value.
このようにして、CDが早送りなど、再生以外の状態か
ら再生状態に復帰した場合、CDの再生開始ポイントに
対応する上述の時間差データを求めることによって、第
1実施例の場合よりはるかに早く、CDの再生と同期す
る自動演奏を開始することができる。In this way, when the CD returns to the playback state from a state other than playback, such as fast forwarding, by obtaining the above-mentioned time difference data corresponding to the playback start point of the CD, it is possible to return to the playback state much earlier than in the case of the first embodiment. Automatic performance can be started in synchronization with CD playback.
(シーケンス制御部の第3実施例〉
最後に、シーケンス制御部の第3実施例につき説明する
。(Third Example of Sequence Control Unit) Finally, a third example of the sequence control unit will be described.
本実施例は、基本的には、第1実施例と同様であるが、
第1実施例の同期記録・同期再生中の同期ポイントが1
秒毎に得られるのに比べ、本実施例では、CDのサブコ
ーディングフレームのクロックCDCKの周期(13,
333・・・ms)毎に同期ポイントが得られる。その
他の点は第1実施例と同じである。This embodiment is basically the same as the first embodiment, but
The synchronization point during synchronous recording and synchronous playback in the first embodiment is 1.
In this embodiment, the period of the clock CDCK of the CD subcoding frame (13,
A synchronization point is obtained every 333...ms). Other points are the same as the first embodiment.
第14図は、内部クロックとサブコーディングフレーム
のクロックCDCKを用いて5QCKを作成するシーケ
ンス制御部の具体回路の1例である。なお、同図は、説
明に必要な部分の回路のみを示す。FIG. 14 is an example of a specific circuit of a sequence control unit that creates 5QCK using an internal clock and a sub-coding frame clock CDCK. Note that this figure shows only the circuit portions necessary for explanation.
同図で、CDの再生が開始されると、CDより出力され
る相対時間データから、相対時間検出回路209が、7
5Hz (周期は13.333・ms )のサブコーデ
ィングフレームCDCKを検出し、5QCK(第13図
のクロック番号0に相当)としてORゲート220より
出力する。一方、IMHz発振器211は、CDCKの
入力で発振をスタートし、その出力を3333カウンタ
224がカウントして、3.3333ms毎に(周波数
は300Hz)クロックをORゲート220より5QC
Kとして出力する。しかし、3333カウンタ224の
出力クロックは、3個までは5QCKとして出力される
が、4回目のクロックは、3333カウンタ224の8
力をカウントする3カウンタ225の出力とインバータ
226によって、阻止される。In the same figure, when the playback of the CD is started, the relative time detection circuit 209 detects 7.
A sub-coding frame CDCK of 5 Hz (period: 13.333.ms) is detected and output from the OR gate 220 as 5QCK (corresponding to clock number 0 in FIG. 13). On the other hand, the IMHz oscillator 211 starts oscillating with the input of CDCK, and the 3333 counter 224 counts its output, and every 3.3333 ms (frequency is 300 Hz), the clock is sent to the 5QC from the OR gate 220.
Output as K. However, up to three output clocks of the 3333 counter 224 are output as 5QCK, but the fourth clock is output as 8QCK of the 3333 counter 224.
It is blocked by the output of the 3 counter 225 and the inverter 226, which counts the force.
このため、第13図に示すように、クロック番号Oのク
ロックのみがCDCKに置き換えられ、CDCKの周期
の1/4の周期を有する5QCKが作られる。Therefore, as shown in FIG. 13, only the clock with clock number O is replaced with CDCK, and 5QCK having a cycle that is 1/4 of the cycle of CDCK is created.
このように、CDCKI周期を4分割するような5QC
Kを用いると、CDを早送りなど、再生以外の状態から
再生状態に復帰する場合、例えば復帰したときのCDの
相対時間データがX分y秒Zフレームとすると、5QC
Kは曲の頭から((xX60+y)X75+z )x4
フレーム目になる。それで、シーケンサはそのクロック
から再生を開始すればよく、CDとシーケンサは完全に
同期を保って再生が行われる。In this way, 5QC that divides the CDCKI period into 4
When using K, when returning to the playback state from a state other than playback such as fast forwarding a CD, for example, if the relative time data of the CD at the time of return is X minutes y seconds Z frames, 5QC
K is from the beginning of the song ((xX60+y)X75+z)x4
It becomes the frame. Therefore, the sequencer only has to start playback from that clock, and the CD and sequencer can be played back in perfect synchronization.
このようにすると、CDCKの周期の13.3333・
・・ms毎に同期が修正されることになる。In this way, the period of CDCK is 13.3333.
...The synchronization will be corrected every ms.
この場合、5QCKの周波数は300t(zになるので
、1分間に4分音符が120個の演奏テンポの場合、4
分音符1個分の時間は0.5秒であるため、この場合の
分解能は、
300XO15=150
と大変高くなり、より濃やかな音楽表現が可能になる。In this case, the frequency of 5QCK is 300t(z), so if the performance tempo is 120 quarter notes per minute,
Since the time for one diacritic note is 0.5 seconds, the resolution in this case is very high, 300XO15=150, allowing for richer musical expression.
なお、本実施例ではCDプレーヤの再生に合わせて、電
子鍵盤楽器を演奏する場合を説明したが、本発明はこれ
に限られることなく、オーディオ再生装置として、デジ
タルオーディオテープレコーダ(DAT)をはじめとし
て、コンパクト・カセットレコーダやLPレコードプレ
ーヤ等を使用してもよく、また、楽器も電子鍵盤楽器以
外に、電子管楽器、電子弦楽器等を用いても差し支えな
い。Although this embodiment describes the case where an electronic keyboard instrument is played along with the playback of a CD player, the present invention is not limited to this, and may be used as an audio playback device such as a digital audio tape recorder (DAT). A compact cassette recorder, an LP record player, or the like may be used as an instrument, and an electronic wind instrument, an electronic string instrument, or the like may be used in addition to an electronic keyboard instrument.
本発明によれば、CDなどのオーディオの再生に合わせ
て、シーケンサに自動演奏を行わさせる場合、CDなど
のサブコーディングフレームのクロック(周期1/75
秒)などに自動演奏の同期用タイミングクロックを一定
時間(例えば1秒、または1775秒)毎に同期させる
ので、同期のタイミング誤差が累積することがない。そ
のため、演奏時間に関係なく常にCDなどに正しく同期
した自動演奏を行うことができる。According to the present invention, when making the sequencer perform automatic performance in accordance with the playback of audio such as a CD, the sub-coding frame clock (period 1/75) of the CD etc.
Since the timing clock for synchronizing automatic performance is synchronized at fixed time intervals (for example, 1 second or 1775 seconds), synchronization timing errors do not accumulate. Therefore, automatic performance can always be performed in correct synchronization with a CD or the like, regardless of the performance time.
そのほか、上述の同期演奏の状態で、例えばCDを早送
りさせ、その後再び再生状態にさせた場合に、直ちにに
CDに同期して自動演奏を再開することができる。In addition, in the above-mentioned synchronous performance state, for example, if the CD is fast-forwarded and then brought back to the playback state, automatic performance can be immediately resumed in synchronization with the CD.
第1図は、本発明によるl実施例の全体構成回、第2図
は、CDプレーヤ部のブロック図、第3図は、CD操作
部115の詳細図、第4図は、リードイン・エリア及び
プログラム・エリアにおけるP、Q各チャネルの説明図
、第5図は、電子鍵盤楽器部200のブロック図、第6
図は、楽器操作部202の詳細図、第7図は、シーケン
ス制御部203の第1実施例の回路構成図、
第8図は、シーケンス制御部203の第1実施例のタイ
ムチャート(その1)、
第9図は、シーケンスメモリ204のデータ構成の1例
を示す図、
第10図は、シーケンス制御部203の第1実施例のタ
イムチャート(その2)、
第11図は、シーケンス制御部203の第2実施例の回
路構成図、
第12図は、シーケンス制御部203の第2実施例のタ
イムチャート、
第13図は、シーケンス制御部203の第3実施例のタ
イムチャート、
第14図は、シーケンス制御部203の第3実施例の回
路構成図である。
100・・・CDプレーヤ部、
101・・・CD、
102・・・スピンドルモータ、
103・・・光ピツクアップ、
104・・・フォーカスサーボ、
105・・・トラッキングサーボ、
106・・・送りモータ、
107・・・送りサーボ、
108・・・CLVサーボ回路、
109・・・分周器、
110・・・データ抽出回路、
111・・・フレーム同期回路、
112・・・EFM復調回路、
113・・・信号処理回路、
114・・・RAM。
115・・・CD操作部、
116・・・システム制御回路、
117・・・発振器、
118・・・クロック発生回路、
119・・・L/R分離回路、
120.122・・・D/A変換器、
121.123・・・LPF。
124・・・CD操作スイッチ群、
125・・・CD選曲スイッチ群、
200・・・電子鍵盤楽器部、
201・・・制御部、
202・・・楽器操作部、
202a ・・・ミキサーつまみ、
202b ・・・鍵盤、
202c ・・・シーケンサ記録のOFF用の押しボタ
ンスイッチ、
202d ・・・シーケンサ記録のノーマル記録用の押
しボタンスイッチ、
202e ・・・シーケンサ記録のCD同期記録用の押
しボタンスイッチ、
202f ・・・シーケンサ再生のOFF用の押しボタ
ンスイッチ、
202g ・・・シーケンサ再生のノーマル再生用の押
しボタンスイッチ、
202h ・・・シーケンサ再生のCD同期再生用の押
しボタンスイッチ、
203・・・シーケンス制御部、
204・・・シーケンスメモリ、
205・・・トーンジエネレー久
206・・・D/A変換器、
207 ・ ・ ・ LPF。
208・・・コーラス効果回路、
209・・・相対時間検出回路、
210 ・ ・ ・ORゲート、
211・・・IMHz発振器、
212・・・5208カウンタ、
213・・・191カウンタ、
214・・・インバータ、
215 ・ ・ ・ANDゲート、
216 ・ ・ ・ORゲート、
217・・・インバータ、
218.219 ・ ・ ・ANDゲート、220 ・
・ ・ORゲート、
221・・・5QCKカウンタ、
222・・・演算回路、
223・・・補正タイマ、
224・・・3333カウンタ、
225・・・3カウンタ、
226・・・インバータ、
227 ・ ・ ・ANDゲート、
300.303・・・ミキサー
301.304・・・増幅器、
302.305・・・スピーカ。FIG. 1 shows the overall configuration of an embodiment of the present invention, FIG. 2 is a block diagram of the CD player section, FIG. 3 is a detailed diagram of the CD operation section 115, and FIG. 4 is a lead-in area. FIG. 5 is an explanatory diagram of the P and Q channels in the program area, and FIG. 5 is a block diagram of the electronic keyboard instrument section 200.
7 is a detailed diagram of the musical instrument operating section 202, FIG. 7 is a circuit configuration diagram of the first embodiment of the sequence control section 203, and FIG. 8 is a time chart (part 1) of the first embodiment of the sequence control section 203. ), FIG. 9 is a diagram showing an example of the data structure of the sequence memory 204, FIG. 10 is a time chart (Part 2) of the first embodiment of the sequence control section 203, and FIG. 11 is a diagram showing an example of the data structure of the sequence control section 204. 12 is a time chart of the second embodiment of the sequence control unit 203. FIG. 13 is a time chart of the third embodiment of the sequence control unit 203. 2 is a circuit configuration diagram of a third embodiment of the sequence control section 203. FIG. 100...CD player section, 101...CD, 102...spindle motor, 103...optical pickup, 104...focus servo, 105...tracking servo, 106...feed motor, 107 ...Feed servo, 108...CLV servo circuit, 109...Frequency divider, 110...Data extraction circuit, 111...Frame synchronization circuit, 112...EFM demodulation circuit, 113... Signal processing circuit, 114...RAM. 115... CD operation unit, 116... System control circuit, 117... Oscillator, 118... Clock generation circuit, 119... L/R separation circuit, 120.122... D/A conversion Vessel, 121.123...LPF. 124...CD operation switch group, 125...CD selection switch group, 200...electronic keyboard instrument section, 201...control section, 202...musical instrument operation section, 202a...mixer knob, 202b ... Keyboard, 202c ... Push button switch for turning off sequencer recording, 202d ... Push button switch for normal recording of sequencer recording, 202e ... Push button switch for CD synchronized recording of sequencer recording, 202f...Push button switch for turning off sequencer playback, 202g...Push button switch for normal playback of sequencer playback, 202h...Push button switch for CD synchronized playback of sequencer playback, 203...Sequence Control unit, 204...Sequence memory, 205...Tone generator 206...D/A converter, 207...LPF. 208...Chorus effect circuit, 209...Relative time detection circuit, 210...OR gate, 211...IMHz oscillator, 212...5208 counter, 213...191 counter, 214...Inverter , 215...AND gate, 216...OR gate, 217...inverter, 218.219...AND gate, 220...
・ ・OR gate, 221...5QCK counter, 222...arithmetic circuit, 223...correction timer, 224...3333 counter, 225...3 counter, 226...inverter, 227... AND gate, 300.303...Mixer 301.304...Amplifier, 302.305...Speaker.
Claims (1)
場合、 オーディオ信号の再生を行うオーディオ再生手段と、 該オーディオ信号の再生動作に同期してf_1ヘルツの
周波数を有する第1基準クロックを発生する第1基準ク
ロック発生手段と、 前記f_2ヘルツの周波数を有する第2基準クロックを
発生する第2基準クロック発生手段と、前記オーディオ
再生手段による前記オーディオ信号の再生開始に同期し
た前記第1基準クロック発生手段から発生される前記第
1基準クロックのパルス位置で前記第2基準クロック発
生手段に対して前記第2基準クロックのパルスの発生を
開始させ、該発生開始以後前記第2基準クロックをシー
ケンサクロックとして出力し、前記発生開始位置のパル
スを含めずにその位置からf_2/f_1番目の前記第
2基準クロックのパルスを前記第1基準クロックのパル
スで置き換えて前記シーケンサクロックとして出力し、
その出力時点を新たな前記発生開始位置として上記動作
を繰り返して、前記シーケンサクロックを発生するシー
ケンサクロック発生手段と、 該シーケンサクロックに同期して、楽器を自動演奏させ
るための演奏データの記録再生を行うシーケンサ手段と
、 を有することを特徴とする自動演奏装置。 2)前記シーケンサ手段から出力される演奏データに基
づき、前記オーディオ再生手段によるオーディオ信号の
再生に同期して楽器を自動演奏させ、該自動演奏の途中
で該オーディオ再生手段を再生以外の状態に移した後、
再び再生状態に復帰させる場合において、 前記オーディオ再生手段による前記オーディオ信号の再
生開始に同期した前記第1基準クロック発生手段から発
生される前記第1基準クロックのパルス位置から計時し
た前記オーディオ再生手段の再生復帰位置までの時間を
前記第1基準クロックの周期で除して得られた値に小数
部を含まない場合は、該値に対応する前記第1基準クロ
ックの位置を、また前記第1基準クロックの周期で除し
て得られた値に小数部を含む場合は、該値の整数部に値
1を加えた値に対応する前記第1基準クロックの位置を
前記自動演奏の開始位置とする、ことを特徴とする請求
項1記載の自動演奏装置。 3)前記シーケンサ手段から出力される演奏データに基
づき、前記オーディオ再生手段によるオーディオ信号の
再生に同期して楽器を自動演奏させ、該自動演奏の途中
で該オーディオ再生手段を再生以外の状態に移した後、
再び再生状態に復帰させる場合において、 第1基準クロックと第2基準クロックのそれぞれのパル
スが同期する同期ポイントの位置nから、前記オーディ
オ再生手段の再生復帰位置cまでの時間xを前記第2基
準クロックの周期で除して得られた値に小数部を含まな
い場合は、該値として前記第2基準クロックのクロック
番号c1を求め、また前記第2基準クロックの周期で除
して得られた値に小数部を含む場合は、該値の整数部に
値1を加えた値として前記第2基準クロックのクロック
番号c1を求め、 次に前記同期ポイントの位置nから前記第2基準クロッ
クのクロック番号c1の位置までの時間と前記時間xの
時間差yを前記オーディオ再生手段の再生後の復帰位置
cに加算して前記自動演奏の開始ポイントの位置を求め
る、 ことを特徴とする請求項1記載の自動演奏装置。 4)前記オーディオ再生手段は、コンパクトディスクプ
レーヤであることを特徴とする請求項1乃至3記載の自
動演奏装置。 5)前記オーディオ再生手段は、デジタルオーディオテ
ープレコーダであることを特徴とする請求項1乃至3記
載の自動演奏装置。 記載の自動演奏装置。 6)前記第1基準クロック発生手段は、サブコーディン
グフレームに基づいて前記第1基準クロックを発生する
ことを特徴とする請求項1乃至3記載の自動演奏装置。[Claims] 1) When f_1 is a natural number and f_2 is a multiple of f_1, an audio reproducing means for reproducing an audio signal; a first reference clock generating means for generating a second reference clock having a frequency of f_2 hertz; causing the second reference clock generating means to start generating pulses of the second reference clock at the pulse position of the first reference clock generated from the first reference clock generating means; The reference clock is output as a sequencer clock, and the f_2/f_1 pulse of the second reference clock from that position is replaced with the pulse of the first reference clock without including the pulse at the generation start position and output as the sequencer clock. death,
A sequencer clock generating means for generating the sequencer clock by repeating the above operation using the output point as a new generation start position; An automatic performance device comprising: sequencer means for performing the following steps. 2) Based on the performance data output from the sequencer means, the instrument is automatically played in synchronization with the playback of the audio signal by the audio playback means, and in the middle of the automatic performance, the audio playback means is shifted to a state other than playback. After that,
In the case of returning to the playback state again, the audio playback means is clocked from the pulse position of the first reference clock generated from the first reference clock generation means in synchronization with the start of playback of the audio signal by the audio playback means. If the value obtained by dividing the time up to the playback return position by the period of the first reference clock does not include a decimal part, the position of the first reference clock corresponding to the value, and the first reference clock. If the value obtained by dividing by the clock cycle includes a decimal part, the position of the first reference clock corresponding to the value obtained by adding the value 1 to the integer part of the value is the starting position of the automatic performance. The automatic performance device according to claim 1, characterized in that: . 3) Based on the performance data output from the sequencer means, the instrument is automatically played in synchronization with the reproduction of the audio signal by the audio reproduction means, and during the automatic performance, the audio reproduction means is shifted to a state other than playback. After that,
When returning to the playback state again, the time x from the synchronization point position n where the pulses of the first reference clock and the second reference clock are synchronized to the playback return position c of the audio playback means is determined as the second reference. If the value obtained by dividing by the period of the clock does not include a decimal part, the clock number c1 of the second reference clock is obtained as the value, and the value obtained by dividing by the period of the second reference clock is obtained. If the value includes a decimal part, calculate the clock number c1 of the second reference clock as a value by adding the value 1 to the integer part of the value, and then calculate the clock number c1 of the second reference clock from the position n of the synchronization point. 2. The position of the start point of the automatic performance is determined by adding the time difference y between the time to the position of number c1 and the time x to the return position c of the audio reproducing means after reproduction. automatic performance device. 4) The automatic performance device according to any one of claims 1 to 3, wherein the audio reproducing means is a compact disc player. 5) The automatic performance device according to claim 1, wherein the audio reproduction means is a digital audio tape recorder. The automatic performance device described. 6) The automatic performance device according to claim 1, wherein the first reference clock generating means generates the first reference clock based on a sub-coding frame.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP02136258A JP3114185B2 (en) | 1990-05-25 | 1990-05-25 | Automatic performance device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP02136258A JP3114185B2 (en) | 1990-05-25 | 1990-05-25 | Automatic performance device |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2000209487A Division JP3183293B2 (en) | 1990-05-25 | 2000-07-11 | Automatic performance device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0430384A true JPH0430384A (en) | 1992-02-03 |
| JP3114185B2 JP3114185B2 (en) | 2000-12-04 |
Family
ID=15170979
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP02136258A Expired - Fee Related JP3114185B2 (en) | 1990-05-25 | 1990-05-25 | Automatic performance device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3114185B2 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5615189A (en) * | 1992-02-04 | 1997-03-25 | Yamaha Corporation | Digital audio synchronous player |
| JP2005215162A (en) * | 2004-01-28 | 2005-08-11 | Dainippon Printing Co Ltd | Acoustic signal playback device |
| US8121314B2 (en) | 2004-03-22 | 2012-02-21 | Yamaha Corporation | Mixing apparatus, mixing method, and mixing program |
-
1990
- 1990-05-25 JP JP02136258A patent/JP3114185B2/en not_active Expired - Fee Related
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5615189A (en) * | 1992-02-04 | 1997-03-25 | Yamaha Corporation | Digital audio synchronous player |
| JP2005215162A (en) * | 2004-01-28 | 2005-08-11 | Dainippon Printing Co Ltd | Acoustic signal playback device |
| US8121314B2 (en) | 2004-03-22 | 2012-02-21 | Yamaha Corporation | Mixing apparatus, mixing method, and mixing program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3114185B2 (en) | 2000-12-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5313011A (en) | Apparatus for carrying out automatic play in synchronism with playback of data recorded on recording medium | |
| JP3451192B2 (en) | Music reproducing apparatus, music reproducing method and music recording medium | |
| JP2830422B2 (en) | Automatic performance device | |
| US5097459A (en) | Disc playing apparatus to which digital data is transmitted at a predetermined transmission rate | |
| US6608803B2 (en) | Recording medium reproduction apparatus | |
| US5159141A (en) | Apparatus for controlling reproduction states of audio signals recorded in recording medium and generation states of musical sound signals | |
| JP3183293B2 (en) | Automatic performance device | |
| JP2002150689A (en) | Recording medium playback device | |
| JP2001052441A (en) | Audio information reproducing method and apparatus, and information recording medium | |
| JPH0430384A (en) | automatic performance device | |
| JPH05297867A (en) | Synchronous playing device | |
| JPWO2006022148A1 (en) | Information playback device | |
| JP3092164B2 (en) | Automatic performance device | |
| JP3293038B2 (en) | Apparatus and method for performing automatic performance in synchronization with data reproduction by recording medium | |
| JP2958494B2 (en) | Electronic musical instrument | |
| JP2518190B2 (en) | Automatic playing device | |
| JP2504834B2 (en) | Performance training device | |
| JP2547156Y2 (en) | Electronic musical instrument | |
| JP3151850B2 (en) | Automatic performance device | |
| JP2539362Y2 (en) | Electronic musical instrument | |
| JP2658450B2 (en) | Automatic performance device | |
| JPH09288484A (en) | Recording and reproducing device and recording method of recording medium | |
| JPH07122793B2 (en) | Automatic playing device | |
| JPH06214565A (en) | Recording medium reproducing device | |
| JP2558619B2 (en) | Digital pitch shift device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090929 Year of fee payment: 9 |
|
| LAPS | Cancellation because of no payment of annual fees |