JP2003208166A - Musical sound reproducing/recording apparatus, recording apparatus, and recording method - Google Patents

Musical sound reproducing/recording apparatus, recording apparatus, and recording method

Info

Publication number
JP2003208166A
JP2003208166A JP2002007872A JP2002007872A JP2003208166A JP 2003208166 A JP2003208166 A JP 2003208166A JP 2002007872 A JP2002007872 A JP 2002007872A JP 2002007872 A JP2002007872 A JP 2002007872A JP 2003208166 A JP2003208166 A JP 2003208166A
Authority
JP
Japan
Prior art keywords
time
event
data
recording
music
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2002007872A
Other languages
Japanese (ja)
Other versions
JP3804536B2 (en
Inventor
Rei Furukawa
令 古川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP2002007872A priority Critical patent/JP3804536B2/en
Priority to US10/304,034 priority patent/US6737571B2/en
Priority to DE60220876T priority patent/DE60220876T2/en
Priority to EP02026592A priority patent/EP1324311B1/en
Priority to CN2005100649501A priority patent/CN1670818B/en
Priority to CNB02139959XA priority patent/CN1249663C/en
Publication of JP2003208166A publication Critical patent/JP2003208166A/en
Application granted granted Critical
Publication of JP3804536B2 publication Critical patent/JP3804536B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a musical sound reproducing/recording apparatus and the like which performs recording without changing an output of audio data, when recording in synchronism with reproducing of time-series audio data which are musical composition data stored in a storage media, such as a CD. <P>SOLUTION: A CD drive unit 1 reads the audio data in which a time code is inserted discretely from the CD. An MIDI event generating circuit 14 generates the MIDI event according to a detection result of key sensor 12 or the like. When an SMF creating/writing control means in an FD recording apparatus 8 receives the event via a controller 3, the SMF which contains the event and a delta time which is generated by a delta time generating means in the FD recording apparatus 8 are created and recorded on the FD. The delta time is adjusted on the basis of a time code read from the CD, by a delta time adjusting means in the FD recording apparatus 8. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、CD(Compact Di
sc)等の記憶媒体に記憶された楽曲の再生に同期して記
録を行う楽音再生記録装置、記録装置及び記録方法に関
する。
TECHNICAL FIELD The present invention relates to a CD (Compact Di
The present invention relates to a musical sound reproducing / recording device, a recording device, and a recording method for recording in synchronization with reproduction of a music piece stored in a storage medium such as sc).

【0002】[0002]

【従来の技術】近年、ピアノ演奏等の楽器演奏を嗜好す
るユーザ達の間では、演奏の臨場感を得るべく、CD等
の記憶媒体に格納された楽曲データである時系列オーデ
ィオデータ(例えば、オーケストラ演奏等)を再生し、
再生音を聞きながらピアノ等を演奏するといったことが
行われている。かかるユーザ達の間では、該アンサンブ
ル演奏を記録し、再生することで該アンサンブル演奏の
妙を楽しみたい要望がある。
2. Description of the Related Art In recent years, among users who prefer playing musical instruments such as a piano, time-series audio data (for example, music data stored in a storage medium such as a CD, for example, in order to give the player a sense of realism in the performance. Orchestra performance, etc.)
It is performed such as playing the piano while listening to the reproduced sound. Among such users, there is a demand to enjoy the strangeness of the ensemble performance by recording and playing the ensemble performance.

【0003】図13は、かかる要望に応える楽音再生記
録装置100の構成を示す図である。楽音再生記録装置
100は、装着されたCDに格納された楽曲データであ
る時系列オーディオデータ(オーケストラ演奏等)を再
生するCD駆動装置200と、ピアノ等の楽器300の
操作状態(例えば、押鍵、離鍵等)を検出し、該操作状
態に応じて楽曲データの一種であるMIDI(Musical
Instrument Digital Interface)データを生成するMI
DI生成装置400と、記録装置500とを具備してい
る。
FIG. 13 is a diagram showing the structure of a musical sound reproducing / recording apparatus 100 which meets such a demand. The musical sound reproduction / recording apparatus 100 includes a CD drive apparatus 200 for reproducing time-series audio data (orchestra performance, etc.), which is music data stored in a mounted CD, and an operation state of a musical instrument 300 such as a piano (for example, key depression). , Key release, etc.) is detected, and MIDI (Musical
Instrument Digital Interface) MI that generates data
A DI generation device 400 and a recording device 500 are provided.

【0004】記録装置500のLチャネル及びRチャネ
ルには、それぞれケーブルを介してCD駆動装置200
及びMIDI生成装置400が接続されている。かかる
楽音再生記録装置100を利用してアンサンブル演奏を
記録する場合、記録装置500は、CD駆動装置200
からLチャネルデータとしてオーケストラ演奏等に対応
した時系列オーディオデータを取得する一方、MIDI
生成装置400からRチャネルデータとしてユーザによ
る楽器演奏等に対応したMIDIデータを取得し、これ
らを1つの記憶媒体に記録(CD等)に記録していた。
The CD drive device 200 is connected to the L channel and the R channel of the recording device 500 via cables.
And a MIDI generation device 400 are connected. When an ensemble performance is recorded using the musical sound reproduction / recording apparatus 100, the recording apparatus 500 is the CD driving apparatus 200.
From the time series audio data corresponding to the orchestra performance as L channel data from
MIDI data corresponding to a musical instrument performance by a user is acquired as R channel data from the generation device 400, and these are recorded in a single storage medium (such as a CD).

【0005】[0005]

【発明が解決しようとする課題】このように、楽音再生
記録装置100を利用してアンサンブル演奏を記録する
場合には、CD駆動装置200によって再生されるオー
ケストラ演奏等に対応した時系列オーディオデータ及び
ユーザによる楽器演奏等に対応したMIDIデータの両
データが1つの記憶媒体に記録される。このため、CD
駆動装置200は、再生すべき時系列オーディオデータ
がステレオ録音されたオーディオデータである場合に
は、該オーディオデータをモノラルに変換して出力する
必要があり、音の拡がりが得られない等の問題が生じて
いた。また、このように時系列オーディオデータ及びM
IDIデータの両データが1つの記憶媒体に記録される
ため、例えばユーザによる楽器演奏等に対応したMID
Iデータのみを再生してアンサンブル演奏時における自
己の楽器演奏音を聞き返すことができない等の問題も生
じていた。
As described above, when the ensemble performance is recorded by using the musical sound reproducing / recording apparatus 100, the time-series audio data corresponding to the orchestra performance reproduced by the CD drive apparatus 200 and Both data of MIDI data corresponding to musical instrument performance by the user is recorded in one storage medium. Therefore, the CD
When the time-series audio data to be reproduced is stereo-recorded audio data, the driving device 200 needs to convert the audio data into monaural and output the monaural audio, which causes a problem that the sound cannot be expanded. Was occurring. Also, in this way, time-series audio data and M
Since both data of IDI data are recorded in one storage medium, for example, MID corresponding to musical instrument performance by the user
There is also a problem that it is not possible to reproduce only the I data and hear back the sound of the musical instrument played by the player during the ensemble performance.

【0006】本発明は、以上説明した事情を鑑みてなさ
れたものであり、CD等の記憶媒体に記憶された楽曲デ
ータである時系列オーディオデータの再生に同期して記
録する際、オーディオデータの出力を変えずに記録する
ことができる楽音再生記録装置、記録装置及び記録方法
を提供することを目的とする。
The present invention has been made in view of the circumstances described above, and when recording in synchronization with reproduction of time-series audio data which is music data stored in a storage medium such as a CD, the audio data An object of the present invention is to provide a musical sound reproducing / recording device, a recording device and a recording method capable of recording without changing the output.

【0007】[0007]

【課題を解決するための手段】この発明は、楽曲を表す
オーディオデータに楽曲の開始からの経過時間を表す一
連のタイムコードを離散的に挿入してなる第1の楽曲デ
ータを第1の記憶媒体から読み出して再生する再生装置
と、当該再生装置による前記第1の楽曲データの再生に
同期して記録を行う記録装置とを具備する楽音再生記録
装置であって、前記記録装置は、楽器の操作状態を検出
する検出手段から該操作状態を取得し、取得した該操作
状態に応じて楽曲の演奏制御を指示するイベントを生成
するイベント生成手段と、クロックをカウントすること
により計時を行う計時手段と、前記イベント生成手段に
よって前記イベントが生成された場合、前記計時手段に
よる計時結果に対応した時刻に基づいてイベントの実行
タイミングを指定するタイミングデータを生成するタイ
ミングデータ生成手段と、前記再生装置によって読み出
された前記第1の楽曲データ中のタイムコードを取得
し、取得したタイムコードに対応した時刻と、前記計時
手段による計時結果に対応した時刻との時間差に基づい
て、前記タイミングデータを調整するタイミングデータ
調整手段と、前記イベント生成手段によって生成された
イベントと前記タイミングデータ調整手段によって調整
されたタイミングデータとを含む第2の楽曲データを第
2の記憶媒体に記録する記録手段とを具備することを特
徴とする。
SUMMARY OF THE INVENTION According to the present invention, first music data, which is obtained by discretely inserting a series of time codes representing the elapsed time from the start of a music into audio data representing the music, is stored in a first memory. What is claimed is: 1. A musical sound reproducing / recording apparatus comprising: a reproducing apparatus for reading from a medium and reproducing the same; and a recording apparatus for recording in synchronization with reproduction of the first music data by the reproducing apparatus, wherein the recording apparatus is a musical instrument. Event generating means for acquiring the operation state from the detecting means for detecting the operation state, and generating an event for instructing performance control of the music in accordance with the acquired operation state, and time counting means for counting time by counting clocks And when the event is generated by the event generation means, the execution timing of the event is specified based on the time corresponding to the time measurement result by the time measurement means. Timing data generating means for generating timing data for obtaining the time code, the time code in the first music data read by the reproducing device, and the time corresponding to the obtained time code, and the time measurement result by the time measuring means. A timing data adjusting means for adjusting the timing data based on a time difference from the time corresponding to the second time, and an event generated by the event generating means and timing data adjusted by the timing data adjusting means. And a recording means for recording the music data in the second storage medium.

【0008】かかる構成によれば、第2の記憶媒体に記
録される演奏制御を指示するイベントの実行タイミング
を指定するタイミングデータが、第1の記憶媒体から読
み出されたタイムコードに対応した時刻と計時手段の計
時結果に対応した時刻との時間差に基づいて調整され
る。この調整により、第1の楽曲データの読み出しによ
る楽曲の再生と楽器の操作状態に応じて生成される楽曲
の演奏制御を指示するイベントの記録の同期が保たれ
る。
According to this structure, the timing data designating the execution timing of the event instructing the performance control recorded in the second storage medium is the time corresponding to the time code read from the first storage medium. And the time corresponding to the time measurement result of the time measurement means. By this adjustment, the synchronization of the reproduction of the music by reading the first music data and the recording of the event instructing the performance control of the music generated according to the operation state of the musical instrument are maintained.

【0009】ここで、前記記録装置は、前記再生装置か
ら前記第1の楽曲データを識別するための識別IDを取
得するID取得手段をさらに具備し、前記記録手段は、
前記イベント生成手段によって生成されたイベントと前
記タイミングデータ調整手段によって調整されたタイミ
ングデータとを含む第2の楽曲データと、前記ID取得
手段によって取得された前記第1の楽曲データを識別す
るための識別IDとを対応付けて前記第2の記憶媒体に
記録する態様が望ましい。
Here, the recording device further comprises an ID acquisition means for acquiring an identification ID for identifying the first music data from the reproduction device, and the recording means comprises:
For identifying the second music data including the event generated by the event generation means and the timing data adjusted by the timing data adjustment means, and the first music data acquired by the ID acquisition means It is desirable that the identification ID is associated and recorded in the second storage medium.

【0010】また、本発明は、楽曲を表すオーディオデ
ータに楽曲の開始からの経過時間を表す一連のタイムコ
ードを離散的に挿入してなる第1の楽曲データを第1の
記憶媒体から読み出して再生する再生装置と、当該再生
装置による前記第1の楽曲データの再生に同期して記録
を行う記録装置とを具備する楽音再生記録装置であっ
て、前記記録装置は、楽器の操作状態を検出する検出手
段から該操作状態を取得し、取得した該操作状態に応じ
て楽曲の演奏制御を指示するイベントを生成するイベン
ト生成手段と、クロックをカウントすることにより計時
を行う計時手段と、前記再生装置によって読み出された
前記第1の楽曲データ中のタイムコードを取得し、取得
したタイムコードに対応した時刻と前記計時手段による
計時結果に対応した時刻との時間差に基づいて、前記計
時結果に対応した時刻を調整する計時時刻調整手段と、
前記イベント生成手段によって前記イベントが生成され
た場合、前記計時時刻調整手段によって調整された時刻
に基づいてイベントの実行タイミングを指定するタイミ
ングデータを生成するタイミングデータ生成手段と、前
記イベント生成手段によって生成されたイベントと前記
タイミングデータ生成手段によって生成されたタイミン
グデータとを含む第2の楽曲データを第2の記憶媒体に
記録する記録手段とを具備することを特徴とする。
Further, according to the present invention, first music data obtained by discretely inserting a series of time codes representing the elapsed time from the start of music into audio data representing music is read from the first storage medium. A musical sound reproduction / recording device comprising a reproducing device for reproducing and a recording device for recording in synchronization with reproduction of the first music data by the reproducing device, wherein the recording device detects an operation state of a musical instrument. Event generating means for acquiring the operation state from the detecting means, and generating an event for instructing the performance control of the music in accordance with the acquired operation state, a clocking means for counting clocks by counting clocks, and the reproduction. The time code in the first music data read by the device is acquired, and the time corresponding to the acquired time code and the time measurement result by the time measuring means are corresponded. A measured time adjusting means for adjusting based on the time difference between the time, the time corresponding to the measurement result,
When the event is generated by the event generating means, timing data generating means for generating timing data designating the execution timing of the event based on the time adjusted by the time measuring time adjusting means, and generated by the event generating means Recording means for recording in the second storage medium the second music data including the generated event and the timing data generated by the timing data generating means.

【0011】かかる構成によれば、第2の記憶媒体に記
録される演奏制御を指示するイベントの実行タイミング
を指定するタイミングデータが、第1の記憶媒体から読
み出されたタイムコードに対応した時刻と計時手段の計
時結果に対応した時刻との時間差に基づいて調整され
る。この調整により、第1の楽曲データの読み出しによ
る楽曲の再生と楽器の操作状態に応じて生成される楽曲
の演奏制御を指示するイベントの記録の同期が保たれ
る。
According to this structure, the timing data designating the execution timing of the event instructing the performance control recorded in the second storage medium is the time corresponding to the time code read from the first storage medium. And the time corresponding to the time measurement result of the time measurement means. By this adjustment, the synchronization of the reproduction of the music by reading the first music data and the recording of the event instructing the performance control of the music generated according to the operation state of the musical instrument are maintained.

【0012】ここで、前記記録装置は、前記再生装置か
ら前記第1の楽曲データを識別するための識別IDを取
得するID取得手段をさらに具備し、前記記録手段は、
前記イベント生成手段によって生成されたイベントと前
記タイミングデータ生成手段によって生成されたタイミ
ングデータとを含む第2の楽曲データと、前記ID取得
手段によって取得された前記第1の楽曲データを識別す
るための識別IDとを対応付けて前記第2の記憶媒体に
記録する態様が望ましい。
Here, the recording device further comprises an ID acquisition means for acquiring an identification ID for identifying the first music data from the reproduction device, and the recording means comprises:
For identifying the second music data including the event generated by the event generation means and the timing data generated by the timing data generation means, and the first music data acquired by the ID acquisition means It is desirable that the identification ID is associated and recorded in the second storage medium.

【0013】[0013]

【発明の実施の形態】A.第1実施形態 図1はこの発明の第1実施形態である楽音再生記録装置
600の構成を示すブロック図である。図1において、
CD駆動装置1は、コントローラ4からの指令に従い、
装着されたCDから記録データを読み出して出力する装
置である。CD駆動装置1には、様々なCDが装着され
得る。これらのCDのうち本発明と最も関連性の強いの
は楽曲データである時系列オーディオデータを主要な記
録データとするCDである。図2に示すように、楽曲デ
ータは、ある楽曲のオーケストラ演奏や歌唱に伴って発
生したオーディオ信号の符号化データ列(オーディオデ
ータ)を含んでいる。また、この楽曲データにはタイム
コードが離散的に挿入されている。これらのタイムコー
ドは、楽曲の開始からの経過時間を示すコードである。
このようなデータとは種類の異なったデータが記録され
たCDもCD駆動装置1に装着され得る。例えば、Lチ
ャネルデータとして時系列オーディオデータが記録さ
れ、Rチャネルデータとして自動演奏制御のためのMI
DIデータが記録されたCDがCD駆動装置1に装着さ
れ得る。また、逆にRチャネルデータとして時系列オー
ディオデータが記録され、Lチャネルデータとして自動
演奏制御のためのMIDIデータが記録されたCDがC
D駆動装置1に装着されることもある。
BEST MODE FOR CARRYING OUT THE INVENTION A. First Embodiment FIG. 1 is a block diagram showing the arrangement of a musical sound reproduction / recording apparatus 600 according to the first embodiment of the present invention. In FIG.
The CD drive device 1 follows the instruction from the controller 4,
This is a device that reads out and outputs recorded data from a mounted CD. Various CDs can be mounted on the CD drive device 1. Of these CDs, the one most strongly related to the present invention is the CD whose main recording data is time-series audio data which is music data. As shown in FIG. 2, the music data includes a coded data string (audio data) of an audio signal generated in association with an orchestra performance or singing of a certain music. Further, time codes are discretely inserted in this music data. These time codes are codes indicating the elapsed time from the start of the music.
A CD in which data of a type different from such data is recorded can also be loaded in the CD drive device 1. For example, time-series audio data is recorded as L channel data, and MI for automatic performance control is recorded as R channel data.
A CD on which DI data is recorded can be loaded into the CD drive device 1. On the contrary, a CD in which time series audio data is recorded as R channel data and MIDI data for automatic performance control is recorded as L channel data is C
It may be mounted on the D drive device 1.

【0014】DSP2は、CD駆動装置1から読み出さ
れた楽曲データに含まれるタイムコードを250mse
cだけ遅延させ、コントローラ3に送るとともに、同様
に250msecだけ遅延させて楽曲データ中のオーデ
ィオデータからアナログオーディオ信号を生成してミキ
サ5に送る。このように、楽曲データを250msec
だけ遅延させて該アナログオーディオ信号をミキサ5に
送るのは、CD駆動装置1に装着されたCDが正常なC
Dであるかどうかの判断及びCDから再生されるデータ
の種類の判断等のために要する時間を考慮したためであ
る。すなわち、かかる判断を行うことなく、直ちにオー
ディオデータからアナログオーディオ信号を生成してミ
キサ5に送った場合には、異常な楽音が発生されるおそ
れがある。かかる事情を鑑み、本発明に係るDSP2
は、CD駆動装置1に装着されたCDが正常なCDであ
るかどうか等を判断し、正常なCDであると判断した場
合にのみ、生成したアナログオーディオ信号をミキサ5
に送る一方、CDから再生されるデータの種類(例え
ば、CDから再生されるデータが時系列オーディオデー
タであり、MIDIデータを含まないデータ等)をコン
トローラ3へ通知する。
The DSP 2 sets the time code included in the music data read from the CD drive 1 to 250 mse.
It is delayed by c and sent to the controller 3, and similarly delayed by 250 msec to generate an analog audio signal from the audio data in the music data and send it to the mixer 5. In this way, the music data is 250 msec
The analog audio signal is sent to the mixer 5 with a delay only by the fact that the CD loaded in the CD drive device 1 is a normal C
This is because the time required for determining whether it is D and the type of data reproduced from the CD is taken into consideration. That is, if an analog audio signal is immediately generated from audio data and sent to the mixer 5 without making such a determination, an abnormal musical sound may be generated. In view of such circumstances, the DSP 2 according to the present invention
Determines whether or not the CD mounted in the CD drive device 1 is a normal CD, and only when it determines that the CD is a normal CD, the mixer 5 outputs the generated analog audio signal.
Meanwhile, the controller 3 is notified of the type of data reproduced from the CD (for example, the data reproduced from the CD is time-series audio data and does not include MIDI data).

【0015】また、DSP2は、CD駆動装置1に装着
された複数のCDの中から、ユーザが操作部4を操作し
て選択したCDを識別するための識別情報(以下、適
宜、C−IDという)及び該CDに格納されている複数
の楽曲データの中から選択した楽曲データを識別するた
めの識別情報(以下、適宜、M−IDという)等をCD
駆動装置1から取得し、これらをコントローラ3へ送出
する。なお、本実施形態では、DSP2がCD駆動装置
1からユーザによって選択されたCDを識別するための
識別情報及び楽曲データを識別するための識別情報を取
得する場合を例に説明するが、いずれか一方の識別情報
(例えば、CDを識別するための識別情報等)のみを取
得するようにしても良い。
Further, the DSP 2 is provided with identification information for identifying a CD selected by the user by operating the operation unit 4 from among a plurality of CDs mounted in the CD drive device 1 (hereinafter referred to as C-ID as appropriate). CD) and identification information (hereinafter, appropriately referred to as M-ID) for identifying the music data selected from the plurality of music data stored in the CD.
It is acquired from the driving device 1 and sent to the controller 3. In the present embodiment, the case where the DSP 2 acquires the identification information for identifying the CD selected by the user and the identification information for identifying the music data from the CD drive device 1 will be described as an example. Only one identification information (for example, identification information for identifying the CD) may be acquired.

【0016】コントローラ3は、操作部4を介して与え
られる指示に従って、この楽曲再生装置全体の制御を行
う。コントローラ3によって行われる各種の制御のうち
本発明と最も関連が深いのは、CDを再生して同期記録
を行う場合の記録制御である。なお、本発明における
「同期記録」とは、CDの再生音及びユーザによる電子
ピアノ10の演奏音の両楽音を記録するのではなく、C
Dの再生に併せてユーザが電子ピアノ10を演奏したと
きの演奏音のみを記録することをいう。この同期記録の
指示が操作部4から与えられた場合、コントローラ3
は、この指示に従って、楽曲データの再生指示をCD駆
動装置1に送る。また、コントローラ3は、DSP2か
らタイムコードを受け取る度に、そのタイムコードをF
D記録装置8に送ると共に、MIDIイベント生成回路
14から順次供給されるMIDIイベント等(後述)を
FD記録装置8に送る。なお、これらの手段については
後述する。
The controller 3 controls the entire music reproducing apparatus according to an instruction given through the operation unit 4. Of the various controls performed by the controller 3, the one most closely related to the present invention is the recording control when the CD is reproduced and the synchronous recording is performed. The "synchronous recording" in the present invention does not record both the reproduced sound of the CD and the musical sound of the electronic piano 10 played by the user.
This is to record only the performance sound when the user plays the electronic piano 10 along with the reproduction of D. When this synchronous recording instruction is given from the operation unit 4, the controller 3
Sends an instruction to reproduce the music data to the CD drive device 1 in accordance with this instruction. Also, the controller 3 sets the time code to F each time it receives the time code from the DSP 2.
Along with sending to the D recording device 8, MIDI events and the like (described later) sequentially supplied from the MIDI event generating circuit 14 are sent to the FD recording device 8. Note that these means will be described later.

【0017】電子ピアノ10は、ユーザによる鍵操作に
応じて打弦により機械的なピアノ音を発生する楽音発生
機構を備えるほか、ユーザによる鍵操作を検出し、検出
結果に応じて電子的なピアノ音を発生する楽音発生機構
も備えている。かかる電子ピアノ10は、ピアノ11
と、キーセンサ12と、ペダルセンサ13と、MIDI
イベント生成回路14と、ピアノ音源15とを有してい
る。キーセンサ12及びペダルセンサ13は、それぞれ
ピアノ11に配設された複数の鍵及び複数のペダル(ソ
ステヌートペダル等)の各々に対応して設けられ、鍵及
びペダルを押したときの強さ、深さなどを検出し、検出
した鍵若しくはペダルを特定するキー番号若しくはペダ
ル番号、ベロシティー情報(押鍵強度等に対応したデー
タ)等を含む検出結果をMIDIイベント生成回路14
に供給する。
The electronic piano 10 is provided with a musical tone generating mechanism for generating a mechanical piano sound by striking a string in response to a key operation by the user, and also detects a key operation by the user, and an electronic piano according to the detection result. It also has a sound generation mechanism that generates sounds. The electronic piano 10 has a piano 11
, Key sensor 12, pedal sensor 13, MIDI
It has an event generation circuit 14 and a piano sound source 15. The key sensor 12 and the pedal sensor 13 are provided corresponding to each of a plurality of keys and a plurality of pedals (such as a sostenuto pedal) arranged on the piano 11, and the strength and depth when the key and the pedal are pressed. And the like, and the detected result including the key number or pedal number for specifying the detected key or pedal, velocity information (data corresponding to the key pressing strength, etc.), etc.
Supply to.

【0018】MIDIイベント生成回路14は、コント
ローラ3による制御の下、キーセンサ12及びペダルセ
ンサ13から供給される検出結果に基づいてMIDIイ
ベントを生成する。ここで、MIDIイベントは、図3
に示すように、発音又は消音すべき旨を示すノートオン
・ノートオフ情報と、発音すべき音の高さを示すノート
ナンバ情報と、発音の強弱を示すベロシティ情報等によ
って構成されている。MIDIイベント生成回路14
は、上記検出結果に基づいて、例えば「ドの音(ノート
ナンバ)を強さ10(ベロシティ)で発音(ノートオ
ン)せよ」といった演奏制御を指示するイベントの一種
であるMIDIイベントを生成し、かかるMIDIイベ
ントをコントローラ3及びピアノ音源15に供給する。
The MIDI event generation circuit 14 generates a MIDI event based on the detection results supplied from the key sensor 12 and the pedal sensor 13 under the control of the controller 3. Here, the MIDI event is shown in FIG.
As shown in FIG. 5, note-on / note-off information indicating that sounding or mute should be performed, note number information indicating the pitch of a sound to be sounded, velocity information indicating strength of sounding, and the like. MIDI event generation circuit 14
Generates a MIDI event, which is a kind of event instructing performance control, such as "pronounce note (note number) with a strength of 10 (velocity) (note on)", based on the detection result. The MIDI event is supplied to the controller 3 and the piano sound source 15.

【0019】ピアノ音源15は、MIDIイベント生成
回路14から供給されるイベントにより指示されたピア
ノ音のアナログオーディオ信号を電子的に生成する装置
である。このピアノ音源15により生成されたアナログ
オーディオ信号は、ミキサ5へ出力される。ミキサ5
は、DSP2、ピアノ音源15から出力される各アナロ
グ信号を混合して出力する装置である。このミキサ5の
出力信号は、アンプ6によって増幅され、スピーカ7か
ら音として出力される。
The piano sound source 15 is a device for electronically generating an analog audio signal of a piano sound designated by an event supplied from the MIDI event generation circuit 14. The analog audio signal generated by the piano sound source 15 is output to the mixer 5. Mixer 5
Is a device that mixes and outputs the analog signals output from the DSP 2 and the piano tone generator 15. The output signal of the mixer 5 is amplified by the amplifier 6 and output as sound from the speaker 7.

【0020】FD記録装置8は、CDの再生に併せてユ
ーザが電子ピアノ10を演奏したときの演奏音、すなわ
ちユーザによる電子ピアノ10の演奏音をFD(Floppy
Disk)に記録する装置であり、コントローラ3による
制御の下、当該コントローラ3から供給されるCDを識
別するための識別情報(C−ID)、楽曲データを識別
するための識別情報(M−ID)、MIDIイベント等
を含むSMF(Standard MIDI File)を作成する機能を有
している。ここで、SMFは、図4に示すように、ヘッ
ダチャンクHTとトラックチャンクTTによって構成さ
れている。ヘッダチャンクHTには、SMFの基本的な
情報(チャンクタイプ等)が格納されるほか、C−I
D、M−IDなどの同期記録の際に再生されるCD、楽
曲データを識別するための識別情報が格納される。トラ
ックチャンクTTには、MIDIデータが格納される。
MIDIデータは、同図に示すように、演奏制御等を指
示するイベントと、先行するイベントと後発のイベント
との発生時間間隔を示すデルタタイムからなる時系列の
楽曲データである。ここで、MIDIデータを構成する
イベントは、MIDIイベント生成回路14において生
成されるMIDIイベントや、コントローラ3において
生成されるSysExイベント、メタイベントによって構成
されている。
The FD recording device 8 outputs the performance sound when the user plays the electronic piano 10 along with the reproduction of the CD, that is, the performance sound of the electronic piano 10 by the user to the FD (Floppy).
Under the control of the controller 3, identification information (C-ID) for identifying the CD supplied from the controller 3 and identification information (M-ID for identifying the music data). ), And has a function of creating an SMF (Standard MIDI File) including MIDI events and the like. Here, the SMF is composed of a header chunk HT and a track chunk TT, as shown in FIG. The header chunk HT stores basic information of the SMF (chunk type, etc.) and also has CI
Identification information for identifying a CD and music data to be reproduced during synchronous recording such as D and M-ID is stored. MIDI data is stored in the track chunk TT.
As shown in the figure, the MIDI data is time-series music data composed of an event instructing performance control and the like, and a delta time indicating an occurrence time interval between a preceding event and a subsequent event. Here, the events that compose the MIDI data are composed of MIDI events generated by the MIDI event generation circuit 14, SysEx events generated by the controller 3, and meta events.

【0021】かかるSMFの作成・記録を行うFD記録
装置8は、コントローラ3から同期記録の開始指令を受
け取ると、計時手段(後述)を用いて時刻の計時を開始
する。そして、FD記録装置8は、コントローラ3から
イベントを受け取る毎に、計時手段によって計時される
時刻等を参照してデルタタイムを求め、イベントとデル
タタイムからなるMIDIデータを順次作成する(図4
参照)。ここで、本発明に係るFD記録装置8は、コン
トローラ3による制御の下、MIDIデータ中において
曲のはじめから250msec経過した時点に対応する
位置に再生開始イベント(CDに格納された楽曲データ
の再生開始を指示するイベント)を挿入する機能を備え
ている。また、FD記録装置8は、CD駆動装置1によ
る時系列オーディオデータの再生に同期して電子ピアノ
10の演奏音を記録すべく、上記計時手段によって計時
された時刻とコントローラ3から供給されるタイムコー
ドに示される時刻との間に生じたずれに応じて、先行す
るイベントと後発のイベントとの発生時間間隔を示すデ
ルタタイムの値を適宜調整する機能を備えている。以
下、かかる種々の機能を備えたFD記録装置8の構成に
ついて、図5等を参照しながら説明する。
Upon receiving the synchronous recording start command from the controller 3, the FD recording device 8 for creating and recording the SMF starts time counting using a time measuring means (described later). Then, each time the FD recording device 8 receives an event from the controller 3, the FD recording device 8 obtains the delta time by referring to the time and the like measured by the time measuring means, and sequentially creates MIDI data including the event and the delta time (FIG. 4).
reference). Here, the FD recording apparatus 8 according to the present invention, under the control of the controller 3, reproduces the start event (reproduction of the music data stored in the CD at a position corresponding to the time point when 250 msec has elapsed from the beginning of the music in the MIDI data. It has a function to insert a start event). Further, the FD recording device 8 records the performance sound of the electronic piano 10 in synchronization with the reproduction of the time-series audio data by the CD drive device 1, and the time measured by the time measuring means and the time supplied from the controller 3. It has a function of appropriately adjusting a delta time value indicating an occurrence time interval between a preceding event and a subsequent event in accordance with a deviation generated from the time indicated by the code. The configuration of the FD recording device 8 having such various functions will be described below with reference to FIG.

【0022】図5は、FD記録装置8に設けられた制御
回路の構成を説明するためのブロック図である。この図
5に示された制御回路は、上述したSMFを作成し、こ
れをFDに記録する機能と、計時手段220によって計
時された時刻とコントローラ3から供給されるタイムコ
ードに示される時刻との間に生じたずれを補正する機能
とを営むものである。クロック生成手段210は、コン
トローラ3内に設けられ、水晶振動子とアンプとにより
構成された発振回路(いずれも図示略)を備えている。
このコントローラ3内に設けられたクロック生成手段2
10は、発振回路から得られる発振信号を適宜分周して
タイミング制御用の各種のクロックを発生する。これら
各種のクロックのうち本発明に関連の深いものとしてテ
ンポクロックCTがある。
FIG. 5 is a block diagram for explaining the configuration of the control circuit provided in the FD recording device 8. The control circuit shown in FIG. 5 has a function of creating the SMF described above and recording the SMF in the FD, and a time measured by the time measuring means 220 and a time indicated by the time code supplied from the controller 3. It has a function of correcting a gap generated between them. The clock generation means 210 is provided in the controller 3 and includes an oscillation circuit (both not shown) configured by a crystal oscillator and an amplifier.
Clock generation means 2 provided in this controller 3
Reference numeral 10 appropriately divides the oscillation signal obtained from the oscillation circuit to generate various clocks for timing control. Among these various clocks, the tempo clock CT is one that is closely related to the present invention.

【0023】計時手段220は、加算器221及び経過
時間レジスタ222によって構成され、この加算器22
1及び経過時間レジスタ222によりテンポクロックC
Tが与えられるたびに「+1」の加算を行う累算器が構
成される。加算器221は、経過時間レジスタ222の
格納データと固定値「+1」とを加算して出力する。経
過時間レジスタ222には、同期記録が開始されたとき
初期値「0」が書き込まれ、以後、当該経過時間レジス
タ222にテンポクロックCTが与えられる度に、加算
器221の出力データ、すなわち当該時点における経過
時間レジスタ222の格納データと「+1」との加算結
果が書き込まれる。この経過時間レジスタ222の出力
データNは、同期記録開始以後の経過時間を表す経過時
間データとして利用される。
The clock means 220 comprises an adder 221 and an elapsed time register 222. The adder 22
1 and elapsed time register 222 allows tempo clock C
An accumulator is configured to add "+1" each time T is given. The adder 221 adds the data stored in the elapsed time register 222 and the fixed value “+1” and outputs the result. An initial value “0” is written in the elapsed time register 222 when the synchronous recording is started, and thereafter, every time the tempo clock CT is given to the elapsed time register 222, the output data of the adder 221, that is, the time The result of addition of the data stored in the elapsed time register 222 and "+1" is written. The output data N of the elapsed time register 222 is used as elapsed time data representing the elapsed time after the start of synchronous recording.

【0024】SMF作成・書き込み制御手段250は、
コントローラ3による制御の下、SMFの作成及び作成
したSMFをFD記録装置8に装着されたFDに書き込
むための制御等を行う。詳述すると、SMF作成・書き
込み制御手段250は、まず、同期記録の際にコントロ
ーラ3から再生されるCD、楽曲データを識別するため
の識別情報(C−ID、M−ID等)を受け取ると、受
け取った識別情報をヘッダチャンクHT(図4参照)に
格納する。その後、SMF作成・書き込み制御手段25
0は、MIDIイベント生成回路14等によって生成さ
れた種々のイベント(MIDIイベント等)をコントロ
ーラ3から受け取ると、デルタタイム生成手段240に
デルタタイムを生成すべき指令を送る。
The SMF creation / writing control means 250 is
Under the control of the controller 3, the SMF creation and the control for writing the created SMF in the FD mounted on the FD recording device 8 are performed. More specifically, when the SMF creation / writing control means 250 first receives the identification information (C-ID, M-ID, etc.) for identifying the CD and music data reproduced from the controller 3 during the synchronous recording. The received identification information is stored in the header chunk HT (see FIG. 4). After that, SMF creation / writing control means 25
0 receives a variety of events (such as MIDI events) generated by the MIDI event generation circuit 14 and the like from the controller 3, and sends a command to the delta time generation means 240 to generate a delta time.

【0025】デルタタイム生成手段240は、かかる指
令を受け取ると、デルタタイムを生成し(詳細は後
述)、これをSMF作成・書き込み制御手段250に返
す。SMF作成・書き込み制御手段250は、デルタタ
イム生成手段240から受け取ったデルタタイムとコン
トローラ3から受け取ったイベントによって構成された
MIDIデータをトラックチャンクTT(図4参照)に
格納してSMFを作成し、これをFD記録装置8に装着
されたFDに書き込む。SMF作成・書き込み制御手段
250は、以上説明した処理のほか、計時手段220に
よる計時時刻等を参照してMIDIデータ中において曲
のはじめから250msが経過した時点に対応する位置
に再生開始イベント(CDに格納された楽曲データの再
生開始を指示するイベント)を挿入する処理をも実行す
る。
Upon receiving such a command, the delta time generation means 240 generates delta time (details will be described later) and returns it to the SMF creation / writing control means 250. The SMF creation / writing control means 250 stores the MIDI data composed of the delta time received from the delta time generation means 240 and the event received from the controller 3 in the track chunk TT (see FIG. 4) to create the SMF, This is written in the FD mounted on the FD recording device 8. In addition to the processing described above, the SMF creation / writing control means 250 refers to the time measured by the time measuring means 220, etc., and reproduces the start event (CD) at the position corresponding to the time 250 ms after the beginning of the song in the MIDI data. The process of inserting an event for instructing the start of the reproduction of the music data stored in (1) is also executed.

【0026】デルタタイム生成手段240は、前回経過
時間レジスタ241と、補正値レジスタ242とを備
え、SMF作成・書き込み制御手段250からの指令に
基づき、デルタタイムを生成する。前回経過時間レジス
タ241には、前回、SMF作成・書き込み制御手段2
50からデルタタイムを生成すべき指令を受け取ったと
きに計時手段220から取得した経過時間データ(便宜
上、Nfと記す)が保持される。この前回経過時間レジ
スタ241には、同期記録が開始されたとき、初期値
「0」が書き込まれる。
The delta time generation means 240 includes a previous elapsed time register 241 and a correction value register 242, and generates a delta time based on a command from the SMF creation / writing control means 250. In the previous elapsed time register 241, the SMF creation / writing control means 2 is set in the previous time.
The elapsed time data (referred to as Nf for convenience) acquired from the timing means 220 when the command to generate the delta time is received from 50 is held. The initial value “0” is written in the previous elapsed time register 241 when synchronous recording is started.

【0027】補正値レジスタ242には、デルタタイム
調整手段230において生成されるデルタタイムの補正
値Rが保持される。詳しくは後述するが、この補正値レ
ジスタ242に補正値Rを適宜設定することで、計時手
段220によって計時された時刻とコントローラ3から
供給されるタイムコードに示される時刻との間に生じた
ずれを補正する。この補正値レジスタ242には、同期
記録が開始されたとき、初期値「0」が書き込まれる。
The correction value register 242 holds the correction value R of the delta time generated by the delta time adjusting means 230. As will be described in detail later, by appropriately setting the correction value R in the correction value register 242, the deviation caused between the time measured by the time measuring means 220 and the time indicated by the time code supplied from the controller 3 is generated. To correct. An initial value “0” is written in the correction value register 242 when synchronous recording is started.

【0028】デルタタイム生成手段240は、SMF作
成・書き込み制御手段250からデルタタイムを生成す
べき指示を受け取ると、計時手段220から経過時間レ
ジスタ222に格納されている現時点における経過時間
データNを取得した後、前回経過時間レジスタ241に
保持されている経過時間データNf(前回、SMF作成
・書き込み制御手段250からデルタタイムを生成すべ
き指示を受け取ったときに計時手段220から取得した
経過時間)を読み出し、経過時間データNから経過時間
データNfを減算する。そして、デルタタイム生成手段
240は、補正値レジスタ242に保持されているデル
タタイムの補正値Rを読み出し、この補正値Rと上記減
算結果N−Nfとを加算し、加算結果N−Nf+Rを調
整後のデルタタイムとして、SMF作成・書き込み制御
手段250に返す。そして、デルタタイム生成手段24
0は、前回経過時間レジスタ241に格納されている経
過時間データを、今回新たに計時手段220から取得し
た経過時間データへ更新する。
When the delta time generation means 240 receives an instruction to generate delta time from the SMF creation / writing control means 250, it acquires the elapsed time data N at the present time stored in the elapsed time register 222 from the timing means 220. After that, the elapsed time data Nf held in the previous elapsed time register 241 (the elapsed time acquired from the time measuring means 220 when the instruction to generate the delta time from the SMF creation / writing control means 250 was received last time) is obtained. The elapsed time data Nf is subtracted from the read and elapsed time data N. Then, the delta time generating means 240 reads the correction value R of the delta time held in the correction value register 242, adds this correction value R and the subtraction result N-Nf, and adjusts the addition result N-Nf + R. The later delta time is returned to the SMF creating / writing control means 250. Then, the delta time generation means 24
0 updates the elapsed time data stored in the previous elapsed time register 241 to the elapsed time data newly acquired from the clock means 220 this time.

【0029】デルタタイム調整手段230は、CDの再
生と同期して記録を行うべく、計時手段220によって
計時された時刻とコントローラ3から供給されるタイム
コードに示される時刻との間に生じたずれに応じて、先
行するイベントと後発のイベントとの発生時間間隔を示
すデルタタイムの値を適宜調整する。
The delta time adjusting means 230 causes a discrepancy between the time measured by the time measuring means 220 and the time indicated by the time code supplied from the controller 3 in order to perform recording in synchronization with reproduction of the CD. The delta time value indicating the time interval between the preceding event and the subsequent event is adjusted accordingly.

【0030】図6は、デルタタイム調整手段230によ
って実行されるデルタタイム調整処理を示すフローチャ
ートである。デルタタイム調整手段230は、ステップ
S1において、コントローラ3から「0」より大きなタ
イムコードが与えられると、これを第1の記録時間デー
タTCDとし、ステップS2に進む。デルタタイム調整
手段230は、ステップS2に進むと、計時手段220
から当該時点における経過時間データNを取得し、取得
した経過時間データNにテンポクロックCTの周期τを
乗算し、第2の記録時間データTFD(=N*τ)を求
める。この第2の記録時間データTFDは、同期記録を
開始してから現在に至るまでの経過時間を表している。
次に、デルタタイム調整手段230は、第1の記録時間
データTCDと第2の記録時間データTFDの差分の絶
対値|TCD−TFD|が予め設定された所定の許容範
囲Δに収まっているか否かを判断する(ステップS
3)。デルタタイム調整手段230は、第1の記録時間
データTCDと第2の記録時間データTFDとの差分の
絶対値が所定の許容範囲Δに収まっていると判断すると
(ステップS3;YES)、デルタタイムの補正値Rと
して補正値レジスタ242に「0」を書き込み(ステッ
プS4)、デルタタイム調整処理を終了する。
FIG. 6 is a flowchart showing the delta time adjustment processing executed by the delta time adjustment means 230. When a time code larger than "0" is given from the controller 3 in step S1, the delta time adjusting means 230 sets this as the first recording time data TCD, and proceeds to step S2. When the delta time adjustment means 230 proceeds to step S2, the time measurement means 220
Then, the elapsed time data N at that time is acquired, and the acquired elapsed time data N is multiplied by the period τ of the tempo clock CT to obtain the second recording time data TFD (= N * τ). The second recording time data TFD represents the elapsed time from the start of synchronous recording to the present.
Next, the delta time adjusting means 230 determines whether or not the absolute value | TCD-TFD | of the difference between the first recording time data TCD and the second recording time data TFD is within a preset allowable range Δ. Whether or not (step S
3). When the delta time adjusting means 230 determines that the absolute value of the difference between the first recording time data TCD and the second recording time data TFD is within the predetermined allowable range Δ (step S3; YES), the delta time “0” is written in the correction value register 242 as the correction value R of (step S4), and the delta time adjustment processing ends.

【0031】一方、デルタタイム調整手段230は、第
1の記録時間データTCDと第2の記録時間データTF
Dの差分の絶対値|TCD−TFD|が所定の許容範囲
Δを越えていると判断すると、第1の記録時間データT
CDが第2の記録時間データTFDよりも大きいかどう
かを判断する(ステップS5)。第1の記録時間データ
TCDが第2の記録時間データTFDよりも大きい場
合、計時手段220によって計時されている時刻は、コ
ントローラ3から供給されるタイムコードに示される時
刻よりも遅れているといえる。デルタタイム調整手段2
30は、第1の記録時間データTCDが第2の記録時間
データTFDよりも大きいと判断すると(ステップS
5;YES)、かかる時刻ずれをデルタタイムを減少さ
せることで補正すべく、第2の記録時間データTFDと
第1の記録時間データTCDの差分を求め、求めた差分
TFD−TCD(<0)をテンポクロックCTの周期τ
によって除算し、この除算結果(TFD−TCD)/τ
を、デルタタイムの補正値Rとして図5に示す補正値レ
ジスタ242に書き込み(ステップS6)、デルタタイ
ム調整処理を終了する。なお、この場合、補正値レジス
タ242に書き込まれるデルタタイムの補正値Rは負の
値となる。
On the other hand, the delta time adjusting means 230 includes the first recording time data TCD and the second recording time data TF.
If it is determined that the absolute value | TCD-TFD | of the difference of D exceeds the predetermined allowable range Δ, the first recording time data T
It is determined whether the CD is larger than the second recording time data TFD (step S5). When the first recording time data TCD is larger than the second recording time data TFD, it can be said that the time measured by the time measuring unit 220 is behind the time indicated by the time code supplied from the controller 3. . Delta time adjustment means 2
30 determines that the first recording time data TCD is larger than the second recording time data TFD (step S
5; YES), the difference between the second recording time data TFD and the first recording time data TCD is calculated in order to correct the time shift by reducing the delta time, and the calculated difference TFD-TCD (<0) Is the period τ of the tempo clock CT
The division result (TFD-TCD) / τ
Is written in the correction value register 242 shown in FIG. 5 as the correction value R of the delta time (step S6), and the delta time adjustment processing is ended. In this case, the delta time correction value R written in the correction value register 242 is a negative value.

【0032】一方、第1の記録時間データTCDが第2
の記録時間データTFDよりも小さい場合、計時手段2
20によって計時されている時刻は、コントローラ3か
ら供給されるタイムコードに示される時刻よりも進んで
いるといえる。デルタタイム調整手段230は、第1の
記録時間データTCDが第2の記録時間データTFDよ
りも小さいと判断すると(ステップS5;NO)、かか
る時刻ずれをデルタタイムを増加させることで補正すべ
く、第2の記録時間データTFDと第1の記録時間デー
タTCDとの差分を求め、求めた差分TFD−TCD
(>0)をテンポクロックCTの周期τによって除算
し、この除算結果(TFD−TCD)/τを、デルタタ
イムの補正値Rとして図5に示す補正値レジスタ242
に書き込み(ステップS7)、デルタタイム調整処理を
終了する。なお、この場合、補正値レジスタ242に書
き込まれるデルタタイムの補正値Rは正の値となる。以
上が本実施形態に係る楽音再生記録装置600の詳細で
ある。以下、図7を参照しながら、楽音再生記録装置6
00の動作について詳細に説明する。
On the other hand, the first recording time data TCD is the second
If it is smaller than the recording time data TFD of
It can be said that the time counted by 20 is ahead of the time indicated by the time code supplied from the controller 3. When the delta time adjusting means 230 determines that the first recording time data TCD is smaller than the second recording time data TFD (step S5; NO), the delta time should be corrected by increasing the delta time. The difference between the second recording time data TFD and the first recording time data TCD is calculated, and the calculated difference TFD-TCD
(> 0) is divided by the period τ of the tempo clock CT, and the division result (TFD-TCD) / τ is used as a correction value R for the delta time, and the correction value register 242 shown in FIG.
(Step S7), and the delta time adjustment process ends. In this case, the correction value R of the delta time written in the correction value register 242 is a positive value. The above is the details of the musical sound reproduction / recording apparatus 600 according to the present embodiment. Hereinafter, with reference to FIG.
The operation of 00 will be described in detail.

【0033】図7は本実施形態に係る楽曲再生装置の動
作を示すタイムチャートである。さらに詳述すると、図
7には、ある楽曲の先頭からCDの再生に同期して記録
を行う場合を例に、CDから読み出されるタイムコー
ド、CDから読み出されるオーディオデータ、DSP2
から読み出されるオーディオデータ、FD記録装置8の
計時手段220による計時時刻、及びMIDIイベント
生成回路14において生成されるMIDIイベントME
−n(n=1、2、〜)が時系列的に示されている。こ
の図7において、a[k](k=0、0.25、0.
5、〜)は、楽曲の開始時刻を0秒とした場合に、k秒
からk+1秒の区間内の部分のオーディオデータであ
る。また、r[k](k=0、0.25、0.5、〜)
は、楽曲の開始時刻を0秒とした場合に、k秒経過した
時点における計時手段による計時時刻である。また、図
7に示す例では、250msec毎にタイムコードがC
Dから再生される。
FIG. 7 is a time chart showing the operation of the music reproducing apparatus according to this embodiment. More specifically, in FIG. 7, a time code read from the CD, audio data read from the CD, and the DSP 2 are shown in FIG.
Audio data read from the MIDI event ME, the time measured by the time measuring means 220 of the FD recording device 8, and the MIDI event ME generated by the MIDI event generation circuit 14.
-N (n = 1, 2, ...) Is shown in time series. In FIG. 7, a [k] (k = 0, 0.25, 0.
5, 5) are audio data of a part within a section from k seconds to k + 1 seconds when the start time of the music is 0 seconds. Also, r [k] (k = 0, 0.25, 0.5, ~)
Is the time measured by the time measuring means when k seconds have elapsed when the start time of the music is 0 seconds. Further, in the example shown in FIG. 7, the time code is C every 250 msec.
Played from D.

【0034】ユーザは、まず操作部4を操作してCD駆
動装置1に装着された複数のCDの中から再生すべきC
D及び楽曲データを選択する。コントローラ3は、操作
部4を介して再生すべきCD及び楽曲データの指示を受
け取ると、CD駆動装置1に対して該CD及び楽曲デー
タを識別するための識別情報の読み出し指令を送出す
る。CD駆動装置1は、かかる指令に従って該CD及び
楽曲データを識別するための識別情報(C−ID、M−
ID)を読み出し、DSP2を介してコントローラ3に
送る。該識別情報は、コントローラ3からFD記録装置
8へ転送され、当該FD記録装置8によってSMFのヘ
ッダチャンクHTに格納される(図4参照)。
First, the user operates the operation unit 4 to reproduce a C from a plurality of CDs mounted on the CD drive device 1.
Select D and song data. When the controller 3 receives the instruction of the CD and the music data to be reproduced via the operation unit 4, the controller 3 sends the CD drive device 1 a read command of the identification information for identifying the CD and the music data. The CD drive device 1 follows the instruction to identify information (C-ID, M-ID) for identifying the CD and the music data.
ID) is read and sent to the controller 3 via the DSP 2. The identification information is transferred from the controller 3 to the FD recording device 8 and stored in the header chunk HT of the SMF by the FD recording device 8 (see FIG. 4).

【0035】その後、ユーザが操作部4を操作すること
により当該操作部4からコントローラ3へ同期記録を開
始すべき指示が与えられると、コントローラ3は、CD
駆動装置1に楽曲データの再生指示を送る。CD駆動装
置1は、コントローラ3から再生指示を受け取ると、直
ちに楽曲の先頭部分のオーディオデータa[0]とタイ
ムコード「0」をCDから読み出し、DSP2に送る。
そしてさらに250msecが経過すると、このオーデ
ィオデータa[0]及びタイムコード「0」がDSP2
からそれぞれミキサ5及びコントローラ3に出力され
る。DSP2は、このオーディオデータa[0]を遅延
させている250msecの時間を利用して、CDから
再生されているデータの種類及び該CDが正常であるか
否か等を判別し、この判別結果をコントローラ3へ通知
する。この場合、コントローラ3は、CDから再生され
ている楽曲データが時系列オーディオデータであり、M
IDIデータを含まない旨及び該CDは正常である旨の
通知を受け取ることになる。
After that, when the user operates the operation unit 4 to give an instruction to the controller 3 to start the synchronous recording, the controller 3 causes the CD
An instruction to reproduce music data is sent to the driving device 1. Upon receiving the reproduction instruction from the controller 3, the CD drive device 1 immediately reads out the audio data a [0] and the time code “0” of the beginning portion of the music from the CD and sends them to the DSP 2.
When 250 msec has passed, the audio data a [0] and the time code “0” are changed to DSP2.
Are output to the mixer 5 and the controller 3, respectively. The DSP 2 determines the type of data reproduced from the CD, whether the CD is normal, etc. by using the time of 250 msec in which the audio data a [0] is delayed, and the determination result Is notified to the controller 3. In this case, the controller 3 determines that the music data reproduced from the CD is time-series audio data, and M
You will receive a notification that it does not contain IDI data and that the CD is normal.

【0036】コントローラ3は、DSP2から該通知及
びタイムコード「0」を受け取ると、タイムコード
「0」と共に同期記録の開始指示をFD記録装置8に送
る。FD記録装置8は、コントローラ3から同期記録の
開始指示を受け取ると、直ちに計時手段220を利用し
て時刻の計時を開始する。しかし、FD記録装置8内の
デルタタイム調整手段230では、このタイムコード
「0」を利用したデルタタイムの調整は行われない。そ
の後、さらに250msecが経過すると、DSP2か
らタイムコード「0.25」が出力される。このとき、
デルタタイム調整手段230では、「0」より大きなタ
イムコードが供給されたことから、上述したデルタタイ
ムの調整が行われる。
Upon receiving the notification and the time code "0" from the DSP 2, the controller 3 sends the FD recording device 8 together with the time code "0" and an instruction to start synchronous recording. Upon receiving the synchronous recording start instruction from the controller 3, the FD recording device 8 immediately starts time counting using the time counting means 220. However, the delta time adjusting means 230 in the FD recording device 8 does not adjust the delta time using this time code “0”. After that, when 250 msec has elapsed, the DSP 2 outputs the time code "0.25". At this time,
Since the time code larger than "0" is supplied to the delta time adjusting means 230, the delta time is adjusted as described above.

【0037】従って、CD駆動装置1に楽曲データの再
生指示が送られてから250msec経過したとき、当
該楽曲データの再生と、FD記録装置8による演奏音の
記録が同時に開始される。そして、さらに250mse
c経過すると、デルタタイム調整手段230は、計時手
段220によって計時された時刻とコントローラ3から
供給されるタイムコードに示される時刻との間に生じた
ずれに応じてデルタタイムの値を適宜調整するデルタタ
イム調整処理を開始する。そして、以後は、タイムコー
ドがDSP2から供給される度に、デルタタイム調整手
段230は上述したデルタタイムの調整を行う。その
後、例えば図7に示すように計時手段220による計時
時刻r[1.0]、r[1.5]、r[2.0]におい
てMIDIイベントME−1、−2、−3が生成され、
各MIDIイベントに対応するデルタタイムが生成され
ると、これらがSMF作成・書き込み制御手段250に
供給される。
Therefore, when 250 msec has passed since the instruction to reproduce the music data was sent to the CD drive device 1, the reproduction of the music data and the recording of the performance sound by the FD recording device 8 are simultaneously started. And further 250 mse
When c has elapsed, the delta time adjusting means 230 appropriately adjusts the value of the delta time according to the difference between the time measured by the time measuring means 220 and the time indicated by the time code supplied from the controller 3. Start the delta time adjustment process. Then, thereafter, each time the time code is supplied from the DSP 2, the delta time adjusting means 230 adjusts the delta time described above. After that, for example, as shown in FIG. 7, MIDI events ME-1, -2, and -3 are generated at the clock times r [1.0], r [1.5], and r [2.0] by the clock means 220. ,
When the delta time corresponding to each MIDI event is generated, these are supplied to the SMF creation / writing control means 250.

【0038】SMF作成・書き込み制御手段250は、
MIDIイベントME−1、−2、−3及び各MIDI
イベントに対応するデルタタイムを受け取ると、各MI
DIイベント及び各デルタタイムを含むMIDIデータ
をSMFのトラックチャンクTTに格納する。そして、
SMF作成・書き込み制御手段250は、前述したヘッ
ダチャンクHT及びトラックチャンクTTによって構成
されたSMFをFD記録装置8に装着されたFDに書き
込み、処理を終了する。以上の説明から明らかなよう
に、本発明の特徴は、CD等の記憶媒体から読み出され
るタイムコードに基づいて同期記録の時間管理を行う点
にある。なお、FDに記録されたMIDIデータと、対
応するCDに格納されている楽曲データとを同期して再
生する楽曲再生装置の構成、動作等については、第2の
実施形態において詳細を明らかにする。
The SMF creation / writing control means 250 is
MIDI events ME-1, -2, -3 and each MIDI
Each MI when receiving the delta time corresponding to the event
The MIDI data including the DI event and each delta time is stored in the track chunk TT of the SMF. And
The SMF creation / writing control means 250 writes the SMF composed of the above-mentioned header chunk HT and track chunk TT to the FD mounted in the FD recording device 8, and ends the processing. As is apparent from the above description, the feature of the present invention resides in that the time management of the synchronous recording is performed based on the time code read from the storage medium such as the CD. It should be noted that the configuration, operation, and the like of the music reproducing device that synchronously reproduces the MIDI data recorded in the FD and the music data stored in the corresponding CD will be described in detail in the second embodiment. .

【0039】以上説明したように、本実施形態に係る楽
音再生記録装置600によれば、CDの再生に同期して
記録を行う際、CDの再生音及びユーザによる電子ピア
ノ10の演奏音の両方をFDに記録するのではなく、C
Dの再生に併せてユーザが電子ピアノ10を演奏したと
きの演奏音のみをFDに記録する。従って、CDに格納
されているオーディオデータがステレオ録音されたオー
ディオデータであっても、モノラル変換等する必要がな
く、音の拡がりが得られない等の問題(従来技術の項参
照)を解消することができる。また、このように、ユー
ザが電子ピアノ10を演奏したときの演奏音のみがFD
に記録されるため、ユーザはFDに記録された楽曲デー
タを再生することで、自己の楽器演奏音のみを聞き返す
ことができる。
As described above, according to the musical sound reproduction / recording apparatus 600 of the present embodiment, both the reproduced sound of the CD and the performance sound of the electronic piano 10 by the user are recorded when recording is performed in synchronization with the reproduction of the CD. Is not recorded in FD, but C
Along with the reproduction of D, only the performance sound when the user plays the electronic piano 10 is recorded in the FD. Therefore, even if the audio data stored in the CD is stereo-recorded audio data, it is not necessary to perform monaural conversion or the like, and the problem that the spread of sound cannot be obtained (see the section of the prior art) is solved. be able to. Further, in this way, only the performance sound when the user plays the electronic piano 10 is FD.
Since the data is recorded in, the user can hear back only his or her musical instrument performance sound by reproducing the music data recorded in the FD.

【0040】また、FDに記録されるSMFのヘッダチ
ャンクHTには、記録時に再生されたCD等を識別する
ための識別情報が格納される。このため、複数の演奏デ
ータ(例えば、C−ID−1によって特定されるCDの
再生に併せて演奏したときの演奏データ1と、C−ID
−2によって特定されるCDの再生に併せて演奏したと
きの演奏データ2等)を同一FDに格納しても、FDに
記録された各SMFのヘッダチャンクHTを参照するこ
とで、再生すべきCDを容易に特定することが可能とな
る。
The header chunk HT of the SMF recorded on the FD stores identification information for identifying the CD or the like reproduced at the time of recording. For this reason, a plurality of performance data (for example, performance data 1 when playing together with reproduction of a CD specified by C-ID-1 and C-ID
Even if the performance data 2 etc. when played together with the reproduction of the CD specified by -2 is stored in the same FD, it should be reproduced by referring to the header chunk HT of each SMF recorded in the FD. It becomes possible to easily specify the CD.

【0041】なお、上述した第1の実施形態では、電子
ピアノ10を例に説明したが、例えば弦振動を検出する
検出機構を備えた電子バイオリン、操作子(ピストン
等)の操作状態等を検出する検出機構を備えた電子トラ
ンペット等のあらゆる電子楽器に適用可能である。ま
た、電子楽器のみならず、自然楽器(例えば、バイオリ
ン)であっても、かかる自然楽器の操作状態を検出する
機構(例えば、弦振動を検出する検出機構等)を設ける
ことで、上記電子楽器と同様に本発明を適用することが
できる。また、これら電子楽器等のほか、音楽製作ソフ
ト等がインストールされているPC(Personal Compute
r)など、ユーザの操作状態を検出し、検出結果に応じ
てMIDIイベントの生成を指示することができる様々
な電子機器に適用可能である。すなわち、特許請求の範
囲に記載の「楽器」とは、ユーザの操作状態を検出し、
検出結果に応じてMIDIイベントの生成を指示するこ
とができる様々な機器をいう。
In the above-described first embodiment, the electronic piano 10 has been described as an example. However, for example, an electronic violin equipped with a detection mechanism for detecting string vibration, an operation state of an operator (piston, etc.), etc. are detected. The present invention can be applied to any electronic musical instrument such as an electronic trumpet having a detection mechanism for Further, not only the electronic musical instrument but also a natural musical instrument (for example, a violin) is provided with a mechanism for detecting the operation state of the natural musical instrument (for example, a detection mechanism for detecting a string vibration), whereby the electronic musical instrument is The present invention can be applied similarly to. In addition to these electronic musical instruments, a PC (Personal Compute) with music production software installed
It can be applied to various electronic devices that can detect the operation state of the user and can instruct the generation of MIDI events according to the detection result, such as r). That is, the "musical instrument" described in the claims, detects the operation state of the user,
It refers to various devices that can instruct the generation of MIDI events according to the detection result.

【0042】また、上述した第1の実施形態では、時系
列オーディオデータを記憶する記憶媒体としてCDを例
に説明したが、例えばFD、MO(Magneto Optical di
sk)、メモリースティック等あらゆる記憶媒体に適用可
能である。また、MIDIデータ(を記録する記憶媒体
についても同様、MO等あらゆる記憶媒体に適用可能で
ある。
Further, in the above-described first embodiment, the CD has been described as an example of the storage medium for storing the time-series audio data, but, for example, FD, MO (Magneto Optical di).
sk), memory sticks and other storage media. Similarly, a storage medium for recording MIDI data (is also applicable to any storage medium such as MO.

【0043】ここで、本発明は、例えばCD駆動装置、
FD記録装置、コントローラなど、図1に示す全ての構
成要素を含んだ電子ピアノを製造し販売するという態様
でも実施され得る。このような電子ピアノによれば、ユ
ーザは、CDに記録されたオーディオデータの再生に同
期して演奏データ(例えば、ユーザがピアノ11を演奏
することにより得られる演奏データ等)をFDに記録す
ることができる。
Here, the present invention relates to, for example, a CD drive device,
It can also be implemented in a mode of manufacturing and selling an electronic piano including all the components shown in FIG. 1, such as an FD recording device and a controller. According to such an electronic piano, the user records the performance data (for example, the performance data obtained by the user playing the piano 11) in the FD in synchronization with the reproduction of the audio data recorded on the CD. be able to.

【0044】<変形例1>上述した第1の実施形態で
は、CDから読み出されるタイムコードに基づいてデル
タタイムを調整することで、計時手段220によって計
時された時刻とコントローラ3から供給されるタイムコ
ードに示される時刻との間に生じたずれを抑制した。こ
れに対し、変形例1では、CDから読み出されるタイム
コードに基づいて経過時間レジスタ222内の経過時間
データNを調整することで、計時手段220によって計
時された時刻とコントローラ3から供給されるタイムコ
ードに示される時刻との間に生じたずれを抑制する。
<Modification 1> In the above-described first embodiment, the delta time is adjusted based on the time code read from the CD, so that the time measured by the time measuring means 220 and the time supplied from the controller 3 are adjusted. The shift that occurred between the time indicated in the code and the time point was suppressed. On the other hand, in the first modification, by adjusting the elapsed time data N in the elapsed time register 222 based on the time code read from the CD, the time measured by the timer 220 and the time supplied from the controller 3 are adjusted. Suppress the deviation that occurs between the time indicated by the code.

【0045】図8は、変形例1に係るFD記録装置8に
設けられた制御回路の構成を説明するためのブロック図
であり、図9は、経過時間調整手段230’によって実
行される経過時間調整処理を示すフローチャートであ
る。なお、図8に示す制御回路は、デルタタイム調整手
段230の代わりに経過時間調整手段230’が設けら
れている点及び補正値レジスタ242が除かれている点
を除けば、図5に示す制御回路と同様であるため、対応
する部分には同一符号を付し、説明を省略する。また、
図9に示す経過時間調整処理は、ステップS4が除かれ
ている点及びステップS6、ステップS7の代わりにそ
れぞれステップS6’、ステップS7’が設けられてい
る点を除けば、図6に示すデルタタイム調整処理と同様
であるため、対応するステップには同一符号を付し、説
明を省略する。
FIG. 8 is a block diagram for explaining the configuration of the control circuit provided in the FD recording apparatus 8 according to the modified example 1, and FIG. 9 is an elapsed time executed by the elapsed time adjusting means 230 '. It is a flowchart which shows an adjustment process. The control circuit shown in FIG. 8 has the control shown in FIG. 5, except that the elapsed time adjusting means 230 ′ is provided instead of the delta time adjusting means 230 and the correction value register 242 is omitted. Since the circuit is similar to the circuit, the corresponding parts are designated by the same reference numerals and the description thereof is omitted. Also,
The elapsed time adjusting process shown in FIG. 9 is different from that shown in FIG. 6 except that step S4 is omitted and steps S6 ′ and S7 ′ are provided instead of steps S6 and S7, respectively. Since it is the same as the time adjustment process, the same reference numerals are given to the corresponding steps and the description thereof will be omitted.

【0046】経過時間調整手段230’は、計時手段2
20によって計時された時刻とコントローラ3から供給
されるタイムコードに示される時刻との間に生じたずれ
に応じて経過時間レジスタ222内の経過時間データN
を調整する処理(経過時間調整処理)を実行する手段で
ある。経過時間調整手段230’は、コントローラ3か
ら「0」より大きなタイムコードが与えられ、ステップ
S1→ステップS2→ステップS3と進むと(図9参
照)、第1の記録時間データTCDと第2の記録時間デ
ータTFDの差分の絶対値|TCD−TFD|が予め設
定された所定の許容範囲Δに収まっているか否かを判断
する(ステップS3)。経過時間調整手段230’は、
第1の記録時間データTCDと第2の記録時間データT
FDとの差分の絶対値が所定の許容範囲Δに収まってい
ると判断すると(ステップS3;YES)、経過時間レ
ジスタ222内の経過時間データNを調整することな
く、経過時間調整処理を終了する。
The elapsed time adjusting means 230 'is the time measuring means 2
The elapsed time data N stored in the elapsed time register 222 in accordance with the difference between the time measured by 20 and the time indicated by the time code supplied from the controller 3.
Is a means for executing a process for adjusting (elapsed time adjustment process). When the elapsed time adjusting means 230 ′ is given a time code larger than “0” from the controller 3 and proceeds in the order of step S1 → step S2 → step S3 (see FIG. 9), the first recording time data TCD and the second recording time data TCD It is determined whether or not the absolute value | TCD-TFD | of the difference between the recording time data TFD is within a preset allowable range Δ (step S3). The elapsed time adjusting means 230 'is
First recording time data TCD and second recording time data T
When it is determined that the absolute value of the difference from the FD is within the predetermined allowable range Δ (step S3; YES), the elapsed time adjustment processing ends without adjusting the elapsed time data N in the elapsed time register 222. .

【0047】一方、経過時間調整手段230’は、第1
の記録時間データTCDと第2の記録時間データTFD
の差分の絶対値|TCD−TFD|が所定の許容範囲Δ
を越えていると判断すると、第1の記録時間データTC
Dが第2の記録時間データTFDよりも大きいかどうか
を判断する(ステップS5)。第1の記録時間データT
CDが第2の記録時間データTFDよりも大きい場合、
計時手段220によって計時されている時刻は、コント
ローラ3から供給されるタイムコードに示される時刻よ
りも遅れているといえる。経過時間調整手段230’
は、第1の記録時間データTCDが第2の記録時間デー
タTFDよりも大きいと判断すると(ステップS5;Y
ES)、計時手段220によって計時されている時刻と
タイムコードに示される時刻の差分の絶対値|TCD−
TFD|(>0)をテンポクロックCTの周期τによっ
て除算し、この除算結果|TCD−TFD|/τを、経
過時間レジスタ222内の経過時間データNに加算し、
加算後の経過時間データNを経過時間レジスタ222に
書き込み(ステップS6’)、経過時間調整処理を終了
する。
On the other hand, the elapsed time adjusting means 230 'has the first
Recording time data TCD and second recording time data TFD
Absolute value | TCD-TFD |
When it is judged that the time exceeds the first recording time data TC
It is determined whether D is larger than the second recording time data TFD (step S5). First recording time data T
When the CD is larger than the second recording time data TFD,
It can be said that the time measured by the time measuring means 220 is later than the time indicated by the time code supplied from the controller 3. Elapsed time adjusting means 230 '
Judges that the first recording time data TCD is larger than the second recording time data TFD (step S5; Y
ES), the absolute value of the difference between the time measured by the time measuring means 220 and the time indicated by the time code | TCD−
TFD | (> 0) is divided by the period τ of the tempo clock CT, and the division result | TCD-TFD | / τ is added to the elapsed time data N in the elapsed time register 222,
The elapsed time data N after the addition is written in the elapsed time register 222 (step S6 ′), and the elapsed time adjustment process ends.

【0048】一方、第1の記録時間データTCDが第2
の記録時間データよりも小さい場合、計時手段220に
よって計時されている時刻は、コントローラ3から供給
されるタイムコードに示される時刻よりも進んでいると
いえる。デルタタイム調整手段230は、第1の記録時
間データTCDが第2の記録時間データTFDよりも小
さいと判断すると(ステップS5;NO)、計時手段2
20によって計時されている時刻とタイムコードに示さ
れる時刻の差分の絶対値|TCD−TFD|(>0)を
テンポクロックCTの周期τによって除算し、この除算
結果|TCD−TFD|/τを、経過時間レジスタ22
2内の経過時間データNから減算し、減算後の経過時間
データNを経過時間レジスタ222に書き込み(ステッ
プS7’)、経過時間調整処理を終了する。以上説明し
た本変形例においても上記第1の実施形態と同様の効果
が得られる。
On the other hand, the first recording time data TCD is the second
If it is smaller than the recording time data of, the time measured by the time measuring means 220 can be said to be ahead of the time indicated by the time code supplied from the controller 3. When the delta time adjusting means 230 determines that the first recording time data TCD is smaller than the second recording time data TFD (step S5; NO), the time measuring means 2
The absolute value | TCD-TFD | (> 0) of the difference between the time measured by 20 and the time indicated by the time code is divided by the period τ of the tempo clock CT, and the division result | TCD-TFD | / τ is calculated. , Elapsed time register 22
2 is subtracted from the elapsed time data N, the elapsed time data N after subtraction is written to the elapsed time register 222 (step S7 ′), and the elapsed time adjustment processing is ended. Also in the present modified example described above, the same effect as that of the first embodiment can be obtained.

【0049】B.第2の実施形態 図10は、第2の実施形態に係る楽音再生記録装置70
0の構成を示す図である。本実施形態に係る楽音再生記
録装置700は、CDの再生に同期してMIDIデータ
を記録する機能を備えるほか、記録されたMIDIデー
タと対応するCDに格納されている楽曲データを同期し
て再生する機能を備えている。なお、図10に示す楽音
再生記録装置700は、FD再生装置8aが設けられて
いる点及び電子ピアノ10の代わりに自動ピアノ20が
設けられている点を除けば、図1に示す楽音再生記録装
置600とほぼ同様である。従って、対応する部分には
同一符号を付し、上記第1の実施形態と重複する部分に
ついては説明を割愛する。
B. Second Embodiment FIG. 10 shows a musical sound reproducing / recording apparatus 70 according to the second embodiment.
It is a figure which shows the structure of 0. The musical sound reproduction / recording apparatus 700 according to the present embodiment has a function of recording MIDI data in synchronization with reproduction of a CD, and also reproduces music data stored in a CD corresponding to the recorded MIDI data in synchronization. It has a function to do. The tone reproduction / recording device 700 shown in FIG. 10 is different from the tone reproduction / recording device shown in FIG. 1 except that an FD reproducing device 8a is provided and an automatic piano 20 is provided instead of the electronic piano 10. It is substantially similar to device 600. Therefore, the corresponding parts are designated by the same reference numerals, and the description of the parts overlapping with those of the first embodiment will be omitted.

【0050】コントローラ3は、第1の実施形態におい
て説明した機能を具備するほか、CDとFDの同期再生
のための制御を行う機能を備えている。この同期再生の
指示が操作部4から与えられた場合、コントローラ3
は、この指示に従って、MIDIデータの再生指示をF
D再生装置8aに送る。コントローラ3は、FD再生装
置8aから供給されるイベントを自動演奏を行うための
手段に送る。なお、これらの手段については後述する。
また、コントローラ3は、FD再生装置8aによってC
Dの再生開始を指示するイベントが読み出されたとき、
再生指示をCD駆動装置1に送る。また、コントローラ
3は、CD駆動装置1によってタイムコードが読み出さ
れる都度、そのタイムコードをFD再生装置8aに送
る。
The controller 3 has not only the function described in the first embodiment but also a function of performing control for synchronous reproduction of CD and FD. When this synchronous reproduction instruction is given from the operation unit 4, the controller 3
In response to this instruction, the F
It is sent to the D playback device 8a. The controller 3 sends the event supplied from the FD playback device 8a to a means for performing automatic performance. Note that these means will be described later.
Further, the controller 3 causes the FD reproducing device 8a to perform C
When an event instructing to start playing D is read,
A reproduction instruction is sent to the CD drive device 1. Moreover, the controller 3 sends the time code to the FD reproducing device 8a every time the time code is read by the CD drive device 1.

【0051】自動ピアノ20は、第1の実施形態におい
て説明した電子ピアノ10としての機能を備えるほか、
FDからコントローラ3によって読み出されるMIDI
データに従って自動演奏を行う機能を備えている。かか
る自動ピアノ20は、電子ピアノ10の各構成要素(ピ
アノ11等)を備えるほか、アンサンブル音源18と、
ピアノ電子回路16と、駆動ソレノイド群17とを備え
ている。アンサンブル音源18により自動演奏を行う場
合、コントローラ3は、FD再生装置8aから受け取っ
たイベントをアンサンブル音源18に送る。また、ピア
ノ音源15またはピアノ11により自動演奏を行う場
合、コントローラ3は、FD再生装置8aから受け取っ
たイベントをピアノ電子回路16に送る。いずれの手段
により自動演奏を行うかは、操作部4からの指示に従っ
て決定される。
The automatic piano 20 has the function as the electronic piano 10 described in the first embodiment,
MIDI read from the FD by the controller 3
It has a function to perform automatic performance according to the data. The automatic piano 20 includes the components of the electronic piano 10 (piano 11, etc.), an ensemble sound source 18, and
A piano electronic circuit 16 and a drive solenoid group 17 are provided. When performing an automatic performance with the ensemble sound source 18, the controller 3 sends the event received from the FD reproducing device 8a to the ensemble sound source 18. Further, when performing the automatic performance by the piano sound source 15 or the piano 11, the controller 3 sends the event received from the FD reproducing device 8a to the piano electronic circuit 16. Which means to perform the automatic performance is determined according to an instruction from the operation unit 4.

【0052】アンサンブル音源18は、コントローラ3
からイベントを受け取り、そのイベントに従ってデジタ
ル楽音信号を生成する装置である。このアンサンブル音
源18により生成されたデジタル楽音信号はコントロー
ラ3によってアナログ楽音信号に変換され、ミキサ5に
送られる。なお、本実施形態に係るミキサ5は、アナロ
グ信号を受け取るアナログ入力ポートとデジタル信号を
受け取るデジタル入力ポートの両方を有しており、これ
らのポートを介して入力される全ての信号をミキシング
して出力することができる。従って、アンサンブル音源
18から出力されるデジタル楽音信号をコントローラ3
を経由することなくミキサ5に直接供給してもよい。
The ensemble sound source 18 is the controller 3
It is a device that receives an event from and generates a digital tone signal according to the event. The digital tone signal generated by the ensemble sound source 18 is converted into an analog tone signal by the controller 3 and sent to the mixer 5. The mixer 5 according to the present embodiment has both an analog input port for receiving an analog signal and a digital input port for receiving a digital signal, and mixes all signals input via these ports. Can be output. Therefore, the digital musical tone signal output from the ensemble sound source 18 is output to the controller 3
It may be directly supplied to the mixer 5 without passing through.

【0053】ピアノ電子回路16は、コントローラ3か
らイベントを受け取り、自動演奏のための制御を行う回
路である。このピアノ電子回路16は、2通りの方法の
うちいずれかにより自動演奏の制御を行う。まず、第1
の方法では、コントローラ3から受け取ったイベントを
ピアノ音源15に送る。前述したように、ピアノ音源1
5は、イベントにより指示されたピアノ音のアナログオ
ーディオ信号を電子的に生成する装置である。第2の方
法では、ピアノ電子回路16は、コントローラ3から受
け取ったイベントに従って駆動ソレノイド群17に対す
る通電制御を行う。この駆動ソレノイド群17は、ピア
ノ11に設けられた複数の鍵に各々対応した複数のソレ
ノイドと、複数のペダルに各々対応した複数のソレノイ
ドとからなる。ピアノ電子回路16は、ある鍵の押下を
指示するイベントをコントローラ3から受け取った場
合、その鍵に対応したソレノイドに駆動電流を流し、鍵
を押下させるのに必要な磁力をソレノイドにより発生す
る。離鍵を指示するイベントを受け取った場合も同様で
ある。第1の方法、第2の方法のいずれによりイベント
を取り扱うかの指示は、操作部4からコントローラ3に
与えられ、コントローラ3はこの指示をピアノ電子回路
16に送る。ピアノ電子回路16は、受け取った指示に
従う。
The piano electronic circuit 16 is a circuit that receives an event from the controller 3 and performs control for automatic performance. The piano electronic circuit 16 controls the automatic performance by one of two methods. First, the first
In this method, the event received from the controller 3 is sent to the piano sound source 15. As mentioned above, piano sound source 1
Reference numeral 5 is a device for electronically generating an analog audio signal of a piano sound designated by an event. In the second method, the piano electronic circuit 16 controls the energization of the drive solenoid group 17 according to the event received from the controller 3. The drive solenoid group 17 includes a plurality of solenoids corresponding to a plurality of keys provided on the piano 11 and a plurality of solenoids corresponding to a plurality of pedals. When the piano electronic circuit 16 receives from the controller 3 an event instructing the pressing of a certain key, a driving current is passed through the solenoid corresponding to the key, and the solenoid generates the magnetic force required to press the key. The same applies when an event instructing key release is received. An instruction to handle the event by either the first method or the second method is given from the operation unit 4 to the controller 3, and the controller 3 sends this instruction to the piano electronic circuit 16. The piano electronic circuit 16 follows the received instruction.

【0054】コントローラ3によってイベントが出力さ
れてから自動演奏音が発生されるまでには遅延があり、
その遅延時間はいずれの手段により自動演奏を行うかに
よって異なる。自動ピアノにより自動演奏を行う場合、
コントローラ3がイベントを出力してから自動演奏音が
発生するまでに、例えば500msecの時間を要す
る。そこで、本実施形態では、同期再生の指示が操作部
4から与えられ、かつ、自動演奏のための手段として自
動ピアノが選択されている場合には、次のようにしてC
DおよびFDの同期再生を行う。まず、MIDIデータ
の再生指示がコントローラ3からFD再生装置8aに送
られる。そして、上述したことから明らかなように、こ
の時点から250msecだけ経過したときに、CDの
再生開示を指示するイベントがFDから読み出される。
そして、コントローラ3は、このイベントを受け取るこ
とにより、再生指示をCD駆動装置1に送るのである。
このようにFDとCDの再生開始のタイミングに250
msecの時間差をもたせることにより、FD内のMI
DIデータによる曲の再生と、CD内のオーディオデー
タによる曲の再生とが同時に開始される。
There is a delay from the output of the event by the controller 3 to the generation of the automatic performance sound,
The delay time differs depending on which means is used to perform the automatic performance. When playing automatically with an automatic piano,
It takes, for example, 500 msec from the controller 3 outputting the event until the automatic performance sound is generated. Therefore, in the present embodiment, when an instruction for synchronous reproduction is given from the operation unit 4 and the automatic piano is selected as a means for automatic performance, the C
Synchronous playback of D and FD is performed. First, a MIDI data reproducing instruction is sent from the controller 3 to the FD reproducing device 8a. Then, as is clear from the above, when only 250 msec has elapsed from this point in time, the event instructing the reproduction disclosure of the CD is read from the FD.
Then, the controller 3 sends a reproduction instruction to the CD drive device 1 by receiving this event.
In this way, at the timing of starting playback of FD and CD, 250
By giving a time difference of msec, MI in the FD is
The reproduction of the music by the DI data and the reproduction of the music by the audio data in the CD are started at the same time.

【0055】FD再生装置8aは、コントローラ3から
の指令に従い、FDから記録されているMIDIデータ
を順次読み出してコントローラ3に供給する。このMI
DIデータは、例えばFD記録装置8によりCDの再生
に同期して記録されたMIDIデータである(図4参
照)。FD再生装置8aは、あるイベントをFDから読
み出してコントローラ3に送った後は、そのイベントの
後のデルタタイムによって示される時間だけ待機し、後
続のイベントの読み出しを行う、という処理を繰り返
す。これがFD再生装置8aの基本的な動作である。前
述したように、FD記録装置8によりCDの再生に同期
して記録された1曲分のMIDIデータの中には、演奏
制御用のイベントの他、CD再生開始を指示するイベン
トが含まれている。このイベントは、MIDIデータ中
において曲の初めから250msが経過した時点に対応
する位置に挿入されている。FD再生装置8aは、以上
説明したMIDIデータをFDから読み出す機能(すな
わち、シーケンサとしての機能)の他に、この読み出し
動作をCD駆動装置1による時系列オーディオデータの
再生に同期させるタイミング調整機能を有している。以
下、かかる種々の機能を備えたFD再生装置8aの構成
について、図11を参照しながら説明する。
The FD reproducing device 8a sequentially reads the MIDI data recorded from the FD and supplies it to the controller 3 in accordance with the instruction from the controller 3. This MI
The DI data is, for example, MIDI data recorded by the FD recording device 8 in synchronization with the reproduction of the CD (see FIG. 4). After reading a certain event from the FD and sending it to the controller 3, the FD reproducing device 8a waits for the time indicated by the delta time after the event and repeats the process of reading the subsequent event. This is the basic operation of the FD reproducing device 8a. As described above, one piece of MIDI data recorded by the FD recording device 8 in synchronization with the reproduction of a CD includes an event for instructing the start of CD reproduction in addition to an event for performance control. There is. This event is inserted in the MIDI data at a position corresponding to the time point when 250 ms has elapsed from the beginning of the song. The FD reproducing apparatus 8a has a function of reading the MIDI data from the FD described above (that is, a function as a sequencer) and a timing adjusting function of synchronizing the reading operation with the reproduction of the time-series audio data by the CD driving apparatus 1. Have The configuration of the FD reproducing device 8a having various functions will be described below with reference to FIG.

【0056】図11は、FD再生装置8aに設けられた
制御回路の構成を説明するためのブロック図である。こ
の図11に示された制御回路は、シーケンサとしての機
能とタイミング調整機能とを営むものである。
FIG. 11 is a block diagram for explaining the configuration of the control circuit provided in the FD reproducing device 8a. The control circuit shown in FIG. 11 has a function as a sequencer and a timing adjusting function.

【0057】イベントバッファ302は、FDから読み
出されたイベントを格納するバッファである。ここで、
1つのデルタタイムの後に2以上の連続したイベントが
続くことがあり得る。そのような場合、連続した全ての
イベントがFDから読み出され、イベントバッファ30
2に格納される。デルタタイムレジスタ303は、FD
から読み出されたデルタタイムを格納するレジスタであ
る。既に説明したように、このデルタタイムは、相前後
した2つのイベント間の経過時間を指定するものであ
る。
The event buffer 302 is a buffer for storing the events read from the FD. here,
It is possible that one delta time is followed by two or more consecutive events. In such a case, all consecutive events are read from the FD and the event buffer 30
Stored in 2. Delta time register 303 is FD
It is a register that stores the delta time read from the. As described above, this delta time specifies the elapsed time between two events that are adjacent to each other.

【0058】加算器311およびレジスタ312は、累
算器を構成している。この累算器は、FDから順次読み
出されてレジスタ303に格納される一連のデルタタイ
ムの累算値を求めるものである。さらに詳述すると、現
時点におけるデルタタイムの累算値は、レジスタ312
によって保持されるようになっている。また、加算器3
11は、このレジスタ312に格納された累算値とレジ
スタ303に格納されているデルタタイムとを加算し
て、加算結果Mを出力する。このMは、イベントバッフ
ァ302に格納された1または複数のイベントをコント
ローラ3に転送する目標時刻に相当する数値である。従
って、以下ではこのMを目標時刻データと呼ぶ。この目
標時刻データMにより指定された時刻になると、イベン
ト転送制御手段330からレジスタ303および312
に書き込みクロックが供給される。この結果、加算器3
11の出力データ、すなわち、それまでレジスタ312
に格納されていた累算値とレジスタ303に格納されて
いたデルタタイムとを加えた値が新たな累算値としてレ
ジスタ312に格納される。また、このときFDから読
み出された新たなデルタタイムがレジスタ303に格納
されるのである。なお、イベント転送制御手段330に
ついては後述する。
The adder 311 and the register 312 form an accumulator. This accumulator obtains the accumulated value of a series of delta times which are sequentially read from the FD and stored in the register 303. More specifically, the accumulated value of the delta time at the present time is stored in the register 312.
To be held by. Also, adder 3
11 adds the accumulated value stored in the register 312 and the delta time stored in the register 303, and outputs the addition result M. This M is a numerical value corresponding to the target time for transferring one or a plurality of events stored in the event buffer 302 to the controller 3. Therefore, in the following, this M is called target time data. When the time designated by the target time data M arrives, the event transfer control means 330 causes the registers 303 and 312 to end.
The write clock is supplied to. As a result, the adder 3
11 output data, that is, register 312 till then
A value obtained by adding the accumulated value stored in the register and the delta time stored in the register 303 is stored in the register 312 as a new accumulated value. The new delta time read from the FD at this time is stored in the register 303. The event transfer control means 330 will be described later.

【0059】加算器321およびレジスタ322は、ク
ロック生成手段210からテンポクロックCT’が与え
られる度に「+1」の累算を行う累算器を構成してい
る。加算器321は、レジスタ322の格納データと固
定値「+1」とを加算して出力する。レジスタ322
は、FDからのMIDIデータの再生が開始されると
き、初期値「0」が書き込まれる。以後、レジスタ32
2には、テンポクロックCT’が与えられる度に、加算
器321の出力データ、すなわち、その時点におけるレ
ジスタ322の格納データと「+1」との加算結果が書
き込まれる。このレジスタ322の出力データN’は、
MIDIデータの再生開始以後の経過時間を表す経過時
間データとして利用される。
The adder 321 and the register 322 constitute an accumulator that accumulates "+1" each time the tempo clock CT 'is given from the clock generating means 210. The adder 321 adds the data stored in the register 322 and the fixed value “+1” and outputs the result. Register 322
Is written with an initial value "0" when reproduction of MIDI data from the FD is started. After that, the register 32
Each time the tempo clock CT ′ is given, the output data of the adder 321, that is, the addition result of the data stored in the register 322 and “+1” at that time is written in 2. The output data N ′ of this register 322 is
It is used as elapsed time data representing the elapsed time since the start of reproduction of MIDI data.

【0060】イベント転送制御手段330は、経過時間
データN’が目標時刻データMに到達したとき、イベン
トバッファ302内の1または複数のイベントを読み出
して取り込むべき旨の転送指示をコントローラ3に送
る。また、このときイベント転送制御手段330は、上
述したように書き込みクロックをレジスタ303および
312に供給する。
When the elapsed time data N ′ reaches the target time data M, the event transfer control means 330 sends to the controller 3 a transfer instruction to read and capture one or more events in the event buffer 302. Further, at this time, the event transfer control means 330 supplies the write clock to the registers 303 and 312 as described above.

【0061】タイミング調整手段341は、MIDIデ
ータのイベントのコントローラ3への出力動作をCDか
らの時系列オーディオデータの再生に同期化させるため
のタイミング調整を行う回路である。さらに詳述する
と、タイミング調整手段341は、コントローラ3から
「0」より大きなタイムコードが与えられると、当該タ
イムコードを第1の再生時間データTCD’とし、さら
にその時点における経過時間データN’にテンポクロッ
クCTの周期τを乗算し、その乗算結果から500ms
ecを差し引き、第2の再生時間データTFD’=N*
τ−500msecを求める。この第2の再生時間デー
タTFD’は、自動ピアノが楽曲の演奏を開始してから
現在に至るまでの経過時間、すなわち、現在の演奏箇所
が楽曲の先頭から何秒後の箇所であるかを表している。
The timing adjusting means 341 is a circuit for adjusting the timing for synchronizing the output operation of the MIDI data event to the controller 3 with the reproduction of the time series audio data from the CD. More specifically, when a time code larger than “0” is given from the controller 3, the timing adjusting means 341 sets the time code as the first reproduction time data TCD ′, and further changes it to the elapsed time data N ′ at that time. Multiply the period τ of the tempo clock CT and from the multiplication result, 500 ms
ec is subtracted, and the second reproduction time data TFD '= N *
Calculate τ-500 msec. This second reproduction time data TFD 'indicates the elapsed time from when the automatic piano starts playing the music to the present time, that is, how many seconds after the beginning of the music the currently playing part is. It represents.

【0062】そして、タイミング調整手段341は、こ
れらの再生時間データTCD’及びTFD’を比較し、
比較結果に基づいて次の処理を行う。 a.TCD’とTFD’との差が所定の許容範囲内に収
まっている場合 この場合、タイミング調整手段341は、何もしない。
Then, the timing adjusting means 341 compares these reproduction time data TCD 'and TFD',
The following processing is performed based on the comparison result. a. When the difference between TCD ′ and TFD ′ falls within a predetermined allowable range In this case, the timing adjusting means 341 does nothing.

【0063】b.TCD’>TFD’であり、両者の差
が許容範囲を越えている場合 この場合、FDから読み出されたイベントによって現在
演奏されている楽曲中の箇所は、CDからの再生により
歌唱または演奏されている箇所よりも時間差TCD’−
TFD’だけ遅れた箇所であるといえる。そこで、タイ
ミング調整手段341は、時間差TCD’−TFD’を
テンポクロックCT’の周期τ’によって除算し、この
除算結果(TCD’−TFD’)/τ’をレジスタ30
3内のデルタタイムから減算し、減算後のデルタタイム
をレジスタ303に書き込む。なお、この減算後のデル
タタイムは、常に正の値をとるように制御される。すな
わち、除算結果(TCD−TFD)/τが大きい場合、
レジスタ303内のデルタタイムから除算結果(TCD
−TFD)/τをそのまま減算したのでは、減算後のデ
ルタタイムは負の値になってしまう。そこで、レジスタ
303内のデルタタイムから該除算結果(TCD−TF
D)/τを減算した結果(すなわち、減算後のデルタタ
イム)が負の値をとる場合には、該デルタタイムが正の
値をとり得るよう、例えば除算結果(TCD−TFD)
/τを2分割し、分割した一方の除算結果(TCD−T
FD)/(τ*2)を当該時点においてレジスタ303
に格納されているデルタタイムから減算し、さらに、残
りの除算結果(TCD−TFD)/(τ*2)をその後
にレジスタ303に格納される後続のデルタタイムから
減算するように制御する。かかる処理を実行すること
で、デルタタイムの値は常に正の値となる。このよう
に、除算結果(TCD−TFD)/τが大きく、レジス
タ303内のデルタタイムから除算結果(TCD−TF
D)/τをそのまま減算したのでは、減算後のデルタタ
イムは負の値になってしまう場合には、複数回に分けて
(すなわち、連続する複数のデルタタイムの値を適宜変
更することで)生じたずれを吸収するようにすれば良
い。これにより以後暫くの間、FDからのイベント読み
出しによる自動演奏とCDからのデータ読み出しによる
歌唱または演奏とが同期状態を保つこととなる。
B. When TCD '>TFD' and the difference between the two exceeds the allowable range In this case, the part in the music currently being played by the event read from the FD is sung or played by reproduction from the CD. Time difference TCD'-
It can be said that it is a place delayed by TFD '. Therefore, the timing adjusting means 341 divides the time difference TCD'-TFD 'by the period τ' of the tempo clock CT ', and the division result (TCD'-TFD') / τ 'is registered in the register 30.
3 is subtracted from the delta time, and the delta time after the subtraction is written in the register 303. The delta time after this subtraction is controlled so as to always take a positive value. That is, when the division result (TCD-TFD) / τ is large,
The result of division from the delta time in the register 303 (TCD
If −TFD) / τ is subtracted as it is, the delta time after the subtraction becomes a negative value. Therefore, the division result (TCD-TF) is calculated from the delta time in the register 303.
When the result of subtracting D) / τ (that is, the delta time after subtraction) has a negative value, for example, the division result (TCD-TFD) so that the delta time can have a positive value.
/ Τ is divided into two, and one of the divided results (TCD-T
FD) / (τ * 2) at that time in the register 303
The delta time stored in the register 303 is subtracted from the delta time, and the remaining division result (TCD-TFD) / (τ * 2) is subtracted from the subsequent delta time stored in the register 303. By executing such processing, the delta time value is always a positive value. Thus, the division result (TCD-TFD) / τ is large, and the division result (TCD-TFD) is subtracted from the delta time in the register 303.
If D) / τ is subtracted as it is and the delta time after subtraction becomes a negative value, it can be divided into multiple times (that is, by changing the values of a plurality of consecutive delta times as appropriate). ) It is sufficient to absorb the generated deviation. As a result, for a while, the automatic performance based on the event reading from the FD and the singing or performance based on the data reading from the CD are kept in a synchronized state.

【0064】c.TCD’<TFD’であり、両者の差
が許容範囲を越えている場合 この場合、FDから読み出されたイベントによって現在
演奏されている楽曲中の箇所は、CDからの再生により
歌唱または演奏されている箇所よりも時間差TFD’−
TCD’だけ進んだ箇所であるといえる。そこで、タイ
ミング調整手段341は、時間差TFD’−TCD’を
テンポクロックCT’の周期τ’によって除算し、この
除算結果(TFD’−TCD’)/τ’をレジスタ30
3内のデルタタイムに加算し、加算後のデルタタイムを
レジスタ303に書き込む。以上が本実施形態に係る楽
音再生記録装置700の詳細である。以下、図12を参
照しながら、楽音再生記録装置700の動作について詳
細に説明する。
C. When TCD '<TFD' and the difference between the two exceeds the allowable range In this case, the part in the music currently played by the event read from the FD is sung or played by reproduction from the CD. Time difference TFD'-
It can be said that this is a place advanced by TCD '. Therefore, the timing adjusting means 341 divides the time difference TFD'-TCD 'by the period τ' of the tempo clock CT ', and the division result (TFD'-TCD') / τ 'is registered in the register 30.
3 is added to the delta time, and the added delta time is written in the register 303. The above is the details of the musical sound reproduction / recording apparatus 700 according to the present embodiment. Hereinafter, the operation of the musical sound reproduction / recording device 700 will be described in detail with reference to FIG.

【0065】図12は本実施形態に係る楽音再生記録装
置の動作を示すタイムチャートである。さらに詳述する
と、図12には、ある楽曲の先頭からCDおよびFDの
同期再生を行う場合を例に、CDから読み出されるタイ
ムコード、CDから読み出されるオーディオデータ、D
SP2から出力されるオーディオデータ、FDから読み
出されるMIDIデータおよびピアノ11から発生され
る音が時系列的に示されている。この図12において、
a[k](k=0、0.25、0.5、〜)は、楽曲の
開始時刻を0秒とした場合に、k秒からk+1秒の区間
内の部分のオーディオデータである。また、m[k]
(k=0、0.25、0.5、〜)は、楽曲の開始時刻
を0秒とした場合に、k秒からk+1秒の区間内の部分
の演奏制御に用いられるMIDIデータである。また、
図12に示す例では、250msec毎にタイムコード
がCDから再生される。なお、以下の説明は、MIDI
データm[1.0]、m[1.5]、m[2.0]が、
それぞれ計時手段220による計時時刻r[1.0]、
r[1.5]、r[2.0]において生成されたMID
Iイベント(図7参照)を含むMIDIデータである場
合を想定する。
FIG. 12 is a time chart showing the operation of the musical sound reproduction / recording apparatus according to this embodiment. More specifically, in FIG. 12, a time code read from a CD, audio data read from a CD, D
The audio data output from SP2, the MIDI data read from FD, and the sound generated from the piano 11 are shown in time series. In FIG. 12,
a [k] (k = 0, 0.25, 0.5, ...) is audio data of a portion within a section from k seconds to k + 1 seconds when the start time of the music is 0 seconds. Also, m [k]
(K = 0, 0.25, 0.5, ...) Is MIDI data used for performance control of a portion within a section from k seconds to k + 1 seconds when the start time of the music is 0 seconds. Also,
In the example shown in FIG. 12, the time code is reproduced from the CD every 250 msec. In addition, the following description is based on MIDI.
Data m [1.0], m [1.5], m [2.0] are
The clocking time r [1.0] by the clocking means 220,
MID generated at r [1.5] and r [2.0]
It is assumed that the MIDI data includes an I event (see FIG. 7).

【0066】駆動ソレノイド群17およびピアノ11を
利用して自動演奏を行う場合、コントローラ3は、FD
再生装置8aにMIDIデータの再生指示を送る。FD
再生装置8aは、コントローラ3から再生指示を受け取
ると、直ちにFDからMIDIデータを読み出す動作を
開始する。この結果、MIDIデータm[0]、m
[1.0]、〜がFDから順次読み出され、MIDIデ
ータ中のイベントがコントローラ3に転送される。この
動作においては、MIDIデータ中のデルタタイムに基
づいて、MIDIデータ中のイベントの転送タイミング
の制御が行われる。なお、このデルタタイムに基づく転
送タイミングの制御は既に説明した通りである。
When an automatic performance is performed using the drive solenoid group 17 and the piano 11, the controller 3 uses the FD
A playback instruction for MIDI data is sent to the playback device 8a. FD
Upon receiving the playback instruction from the controller 3, the playback device 8a immediately starts the operation of reading MIDI data from the FD. As a result, the MIDI data m [0], m
[1.0], to are sequentially read from the FD, and the event in the MIDI data is transferred to the controller 3. In this operation, the transfer timing of the event in the MIDI data is controlled based on the delta time in the MIDI data. The control of the transfer timing based on the delta time is as described above.

【0067】ここで、MIDIデータの再生が開始され
た当初は、CDからのオーディオデータの再生が開始さ
れていないので、タイムコードがFD再生装置8aに供
給されない。従って、FD再生装置8aでは、タイミン
グ調整手段341によるレジスタ303内のデルタタイ
ムの調整は行われない。
Here, at the beginning of the reproduction of the MIDI data, since the reproduction of the audio data from the CD has not been started, the time code is not supplied to the FD reproducing device 8a. Therefore, in the FD reproducing device 8a, the delta time in the register 303 is not adjusted by the timing adjusting means 341.

【0068】MIDIデータの再生開始後、250ms
ecが経過すると、CDの再生開始を指示するイベント
がFDから読み出される。コントローラ3は、このイベ
ントに応答し、再生指示をCD駆動装置1に送る。この
結果、楽曲の先頭部分のオーディオデータa[0]とタ
イムコード「0」がCDから読み出される。そして、さ
らに250msecが経過すると、このオーディオデー
タa[0]およびタイムコード「0」がDSP2からコ
ントローラ3に出力される。DSP2は、このオーディ
オデータa[0]を遅延させている250msecの時
間を利用して、CDから再生されているデータの種類及
び該CDが正常であるか否か等を判別し、この判別結果
をコントローラ3へ通知する。この場合、コントローラ
3は、CDから再生されている楽曲データが時系列オー
ディオデータであり、MIDIデータを含まない旨及び
該CDは正常である旨の通知を受け取ることになる。
250 ms after starting playback of MIDI data
When ec elapses, an event instructing the start of reproduction of the CD is read from the FD. In response to this event, the controller 3 sends a reproduction instruction to the CD drive device 1. As a result, the audio data a [0] and the time code “0” at the beginning of the music are read from the CD. Then, when 250 msec has further elapsed, the audio data a [0] and the time code “0” are output from the DSP 2 to the controller 3. The DSP 2 determines the type of data reproduced from the CD, whether the CD is normal, etc. by using the time of 250 msec in which the audio data a [0] is delayed, and the determination result Is notified to the controller 3. In this case, the controller 3 receives a notification that the music data reproduced from the CD is time-series audio data and does not include MIDI data and that the CD is normal.

【0069】DSP2からオーディオデータa[0]と
ともに出力されたタイムコード「0」は、コントローラ
3を介してFD再生装置8aに送られる。しかし、FD
再生装置8a内のタイミング調整手段341では、この
タイムコード「0」を利用したデルタタイムの調整は行
われない。その後、さらに250msecが経過する
と、DSP2からタイムコード「0.25」が出力され
る。このときタイミング調整手段341では、「0」よ
り大きなタイムコードが供給されたことから、上述した
デルタタイムの調整が行われる。そして、以後は、タイ
ムコードがDSP2から供給される度に、上述したデル
タタイムの調整が行われる。
The time code “0” output together with the audio data a [0] from the DSP 2 is sent to the FD reproducing device 8a via the controller 3. But FD
The timing adjusting means 341 in the reproducing apparatus 8a does not adjust the delta time using the time code "0". After that, when 250 msec has elapsed, the DSP 2 outputs the time code "0.25". At this time, the timing adjusting means 341 adjusts the above-mentioned delta time because the time code larger than "0" is supplied. Then, thereafter, each time the time code is supplied from the DSP 2, the above-mentioned delta time is adjusted.

【0070】CDの再生指示が発生してから250ms
ecが経過したとき、オーディオデータに対応した歌唱
または演奏と、MIDIデータに対応した自動演奏とが
同時に開始される。そして、さらに250msecが経
過すると、タイミング調整手段341によるタイミング
調整が開始される。従って、オーディオデータa[k]
およびMIDIデータm[k]のうち同期を保った状態
で音として再生されるのは、楽曲の先頭から250ms
ecだけ経過した時点以降のもの、すなわち、a[0.
25]以降のオーディオデータとm[0.25]以降の
MIDIデータである。この結果、上述した計時手段2
20による計時時刻r[1.0]、r[1.5]、r
[2.0]において生成されたMIDIイベントを含む
MIDIデータm[1.0]、m[1.5]、m[2.
0]と、対応するオーディオデータa[1.0]、a
[1.5]、a[2.0]は同期を保った状態で音とし
て再生される。
250 ms after the CD playback instruction is issued
When ec elapses, a song or performance corresponding to the audio data and an automatic performance corresponding to the MIDI data are simultaneously started. Then, when 250 msec has further elapsed, the timing adjustment by the timing adjusting means 341 is started. Therefore, the audio data a [k]
Of the MIDI data and the MIDI data m [k], 250ms from the beginning of the music is reproduced as a sound in a state where the synchronization is maintained.
ec after that, that is, a [0.
25] and subsequent audio data and m [0.25] and subsequent MIDI data. As a result, the timing means 2 described above
Time measured by 20 r [1.0], r [1.5], r
MIDI data m [1.0], m [1.5], m [2.
0] and corresponding audio data a [1.0], a
[1.5] and a [2.0] are reproduced as sounds while maintaining synchronization.

【0071】以上の説明から明らかなように、本実施形
態に係る楽音再生記録装置700によれば、CDの再生
に同期してMIDIデータを記録するほか、記録された
MIDIデータと対応するCDに格納されている楽曲デ
ータを同期して再生することができる。
As is clear from the above description, according to the musical sound reproducing / recording apparatus 700 of this embodiment, MIDI data is recorded in synchronization with the reproduction of the CD, and the recorded MIDI data is recorded on the corresponding CD. The stored music data can be reproduced in synchronization.

【0072】ここで、本発明は、例えばCD記録装置、
FD記録装置、FD再生装置、コントローラなど、図1
0に示す全ての構成要素を含んだ自動ピアノを製造し販
売するという態様でも実施され得る。このような自動ピ
アノによれば、ユーザは、CDに記録されたオーディオ
データの再生に同期して演奏データ(例えば、ユーザが
ピアノ11を演奏することにより得られる演奏データ
等)をFDに記録することができると共に、FDに記録
された該演奏データに基づく自動演奏に同期させてCD
に記録されたオーディオデータの再生を行わせることが
できる。なお、前述した第1の実施形態に係る楽音再生
記録装置600に、本実施形態において説明した自動ピ
アノ20を適用すること(すなわち、電子ピアノ10の
代わりに自動ピアノ20を用いること)ができるのは、
勿論である。
Here, the present invention is, for example, a CD recording device,
FD recording device, FD reproducing device, controller, etc.
It can also be implemented in the manner of manufacturing and selling an automatic piano including all the components shown in FIG. According to such an automatic piano, the user records the performance data (for example, the performance data obtained by the user playing the piano 11) in the FD in synchronization with the reproduction of the audio data recorded on the CD. In addition to being able to perform, the CD is synchronized with the automatic performance based on the performance data recorded in the FD.
The audio data recorded in can be reproduced. The automatic piano 20 described in the present embodiment can be applied to the musical sound reproduction / recording device 600 according to the above-described first embodiment (that is, the automatic piano 20 is used instead of the electronic piano 10). Is
Of course.

【0073】[0073]

【発明の効果】以上説明したように本発明によれば、C
D等の記憶媒体に記憶された楽曲データである時系列オ
ーディオデータの再生に同期して記録することができ
る。
As described above, according to the present invention, C
It is possible to record in synchronization with reproduction of time-series audio data which is music data stored in a storage medium such as D.

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

【図1】 第1の実施形態における楽音再生記録装置の
構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a musical sound reproduction / recording device according to a first embodiment.

【図2】 同実施形態に係るCDから読み出される楽曲
データを示す図である。
FIG. 2 is a diagram showing music data read from the CD according to the embodiment.

【図3】 同実施形態に係るMIDIイベントを示す図
である。
FIG. 3 is a diagram showing a MIDI event according to the same embodiment.

【図4】 同実施形態に係るSMFを示す図である。FIG. 4 is a diagram showing an SMF according to the same embodiment.

【図5】 同実施形態に係るFD記録装置の制御回路の
構成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration of a control circuit of the FD recording apparatus according to the same embodiment.

【図6】 同実施形態に係るデルタタイム調整処理を示
すフローチャートである。
FIG. 6 is a flowchart showing a delta time adjustment process according to the same embodiment.

【図7】 同実施形態に係る楽音再生記録装置の動作を
示すタイムチャートである。
FIG. 7 is a time chart showing the operation of the musical sound reproduction / recording apparatus according to the embodiment.

【図8】 変形例1に係るFD記録装置の制御回路の構
成を示すブロック図である。
FIG. 8 is a block diagram showing a configuration of a control circuit of an FD recording apparatus according to a modified example 1.

【図9】 同変形例に係る経過時間調整処理を示すフロ
ーチャートである。
FIG. 9 is a flowchart showing an elapsed time adjustment process according to the modification.

【図10】 第2の実施形態における楽音再生記録装置
の構成を示すブロック図である。
FIG. 10 is a block diagram showing the configuration of a musical sound reproduction / recording device according to a second embodiment.

【図11】同実施形態に係るFD再生装置の制御回路の
構成を示すブロック図である。
FIG. 11 is a block diagram showing a configuration of a control circuit of the FD reproducing apparatus according to the same embodiment.

【図12】 同実施形態に係る楽音再生記録装置の動作
を示すタイムチャートである。
FIG. 12 is a time chart showing the operation of the musical sound reproduction / recording apparatus according to the embodiment.

【図13】 従来の楽音再生記録装置の構成を示す図で
ある。
FIG. 13 is a diagram showing a configuration of a conventional musical sound reproduction / recording device.

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

1・・・CD駆動装置、2・・・DSP、3・・・コン
トローラ、4・・・操作部、5・・・ミキサ、6・・・
アンプ、7・・・スピーカ、8・・・FD記録装置、8
a・・・FD再生装置、10・・・電子ピアノ、11・
・・ピアノ、12・・・キーセンサ、13・・・ペダル
センサ、14・・・MIDIイベント生成回路、15・
・・ピアノ音源、16・・・ピアノ電子回路、17・・
・駆動ソレノイド群、18・・・アンサンブル音源、2
0・・・自動ピアノ、210、310・・・クロック生
成手段、220・・・計時手段、230・・・デルタタ
イム調整手段、230’・・・経過時間調整手段、24
0・・・デルタタイム生成手段、250・・・SMF作
成・書き込み制御手段、330・・・イベント転送制御
手段、341・・・タイミング調整手段。
1 ... CD drive device, 2 ... DSP, 3 ... Controller, 4 ... Operation part, 5 ... Mixer, 6 ...
Amplifier, 7 ... Speaker, 8 ... FD recording device, 8
a ... FD playback device, 10 ... electronic piano, 11 ...
..Piano, 12 ... Key sensor, 13 ... Pedal sensor, 14 ... MIDI event generation circuit, 15.
..Piano sound source, 16 ... Piano electronic circuit, 17 ...
・ Drive solenoid group, 18 ・ ・ ・ Ensemble sound source, 2
0 ... Automatic piano, 210, 310 ... Clock generating means, 220 ... Clock measuring means, 230 ... Delta time adjusting means, 230 '... Elapsed time adjusting means, 24
0 ... Delta time generation means, 250 ... SMF creation / writing control means, 330 ... Event transfer control means, 341 ... Timing adjustment means.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G11B 31/00 G11B 27/02 H J ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 7 Identification code FI theme code (reference) G11B 31/00 G11B 27/02 H J

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 楽曲を表すオーディオデータに楽曲の開
始からの経過時間を表す一連のタイムコードを離散的に
挿入してなる第1の楽曲データを第1の記憶媒体から読
み出して再生する再生装置と、当該再生装置による前記
第1の楽曲データの再生に同期して記録を行う記録装置
とを具備する楽音再生記録装置であって、 前記記録装置は、 楽器の操作状態を検出する検出手段から該操作状態を取
得し、取得した該操作状態に応じて楽曲の演奏制御を指
示するイベントを生成するイベント生成手段と、 クロックをカウントすることにより計時を行う計時手段
と、 前記イベント生成手段によって前記イベントが生成され
た場合、前記計時手段による計時結果に対応した時刻に
基づいて当該イベントの実行タイミングを指定するタイ
ミングデータを生成するタイミングデータ生成手段と、 前記再生装置によって読み出された前記第1の楽曲デー
タ中のタイムコードを取得し、取得したタイムコードに
対応した時刻と、前記計時手段による計時結果に対応し
た時刻との時間差に基づいて、前記タイミングデータを
調整するタイミングデータ調整手段と、 前記イベント生成手段によって生成されたイベントと前
記タイミングデータ調整手段によって調整されたタイミ
ングデータとを含む第2の楽曲データを第2の記憶媒体
に記録する記録手段とを具備することを特徴とする楽音
再生記録装置。
1. A reproducing apparatus which reads out and reproduces first music data, which is obtained by discretely inserting a series of time codes indicating the elapsed time from the start of music into audio data representing music, from a first storage medium. And a recording device that performs recording in synchronization with reproduction of the first music data by the reproducing device, wherein the recording device comprises a detecting unit for detecting an operation state of the musical instrument. Event generating means for acquiring the operation state and generating an event for instructing performance control of music according to the acquired operation state; time counting means for counting time by counting clocks; When an event is generated, timing data that specifies the execution timing of the event based on the time corresponding to the timing result by the timing means. Timing data generating means for generating the time code in the first music data read by the reproducing device, a time corresponding to the acquired time code, and a time corresponding to the time measurement result by the time measuring means A second music data including timing data adjusting means for adjusting the timing data based on a time difference between the second music data and the event generated by the event generating means and the timing data adjusted by the timing data adjusting means. 2. A musical sound reproducing / recording apparatus, comprising:
【請求項2】 前記記録装置は、前記再生装置から前記
第1の楽曲データを識別するための識別IDを取得する
ID取得手段をさらに具備し、 前記記録手段は、前記イベント生成手段によって生成さ
れたイベントと前記タイミングデータ調整手段によって
調整されたタイミングデータとを含む第2の楽曲データ
と、前記ID取得手段によって取得された前記第1の楽
曲データを識別するための識別IDとを対応付けて前記
第2の記憶媒体に記録することを特徴とする請求項1に
記載の楽音再生記録装置。
2. The recording device further comprises ID acquisition means for acquiring an identification ID for identifying the first music data from the reproduction device, and the recording means is generated by the event generation means. The second music data including the event and the timing data adjusted by the timing data adjusting means, and the identification ID for identifying the first music data acquired by the ID acquiring means in association with each other. The musical sound reproduction / recording apparatus according to claim 1, wherein the musical sound reproduction / recording apparatus records on the second storage medium.
【請求項3】 楽曲を表すオーディオデータに楽曲の開
始からの経過時間を表す一連のタイムコードを離散的に
挿入してなる第1の楽曲データを第1の記憶媒体から読
み出して再生する再生装置と、当該再生装置による前記
第1の楽曲データの再生に同期して記録を行う記録装置
とを具備する楽音再生記録装置であって、 前記記録装置は、 楽器の操作状態を検出する検出手段から該操作状態を取
得し、取得した該操作状態に応じて楽曲の演奏制御を指
示するイベントを生成するイベント生成手段と、 クロックをカウントすることにより計時を行う計時手段
と、 前記再生装置によって読み出された前記第1の楽曲デー
タ中のタイムコードを取得し、取得したタイムコードに
対応した時刻と前記計時手段による計時結果に対応した
時刻との時間差に基づいて、前記計時結果に対応した時
刻を調整する計時時刻調整手段と、 前記イベント生成手段によって前記イベントが生成され
た場合、前記計時時刻調整手段によって調整された時刻
に基づいて当該イベントの実行タイミングを指定するタ
イミングデータを生成するタイミングデータ生成手段
と、 前記イベント生成手段によって生成されたイベントと前
記タイミングデータ生成手段によって生成されたタイミ
ングデータとを含む第2の楽曲データを第2の記憶媒体
に記録する記録手段とを具備することを特徴とする楽音
再生記録装置。
3. A reproducing apparatus for reading out and reproducing from a first storage medium, first music data in which a series of time codes representing the elapsed time from the start of the music is discretely inserted into audio data representing the music. And a recording device that performs recording in synchronization with reproduction of the first music data by the reproducing device, wherein the recording device comprises a detecting unit for detecting an operation state of the musical instrument. Event generation means for acquiring the operation state and generating an event for instructing performance control of music in accordance with the acquired operation state, timing means for counting time by counting clocks, and read by the playback device. The time code in the acquired first music data is acquired, and the time corresponding to the acquired time code and the time corresponding to the time measurement result by the time measuring means. Based on the time measurement time adjustment means for adjusting the time corresponding to the time measurement result, when the event is generated by the event generation means, the execution of the event based on the time adjusted by the time measurement time adjustment means Timing data generating means for generating timing data for specifying timing; and second music data including second music data including an event generated by the event generating means and timing data generated by the timing data generating means. A recording / reproducing device for recording tones.
【請求項4】 前記記録装置は、前記再生装置から前記
第1の楽曲データを識別するための識別IDを取得する
ID取得手段をさらに具備し、 前記記録手段は、前記イベント生成手段によって生成さ
れたイベントと前記タイミングデータ生成手段によって
生成されたタイミングデータとを含む第2の楽曲データ
と、前記ID取得手段によって取得された前記第1の楽
曲データを識別するための識別IDとを対応付けて前記
第2の記憶媒体に記録することを特徴とする請求項3に
記載の楽音再生記録装置。
4. The recording device further comprises ID acquisition means for acquiring an identification ID for identifying the first music data from the reproduction device, and the recording means is generated by the event generation means. The second music data including the event and the timing data generated by the timing data generation means and the identification ID for identifying the first music data acquired by the ID acquisition means in association with each other. The musical sound reproducing / recording apparatus according to claim 3, wherein the musical sound is recorded in the second storage medium.
【請求項5】 楽曲を表すオーディオデータに楽曲の開
始からの経過時間を表す一連のタイムコードを離散的に
挿入してなる第1の楽曲データの再生に同期して記録を
行う記録装置であって、 楽器の操作状態を検出する検出手段から該操作状態を取
得し、取得した該操作状態に応じて楽曲の演奏制御を指
示するイベントを生成し、出力するイベント生成手段
と、 クロックをカウントすることにより計時を行う計時手段
と、 前記イベント生成手段によって前記イベントが生成され
た場合、前記計時手段による計時結果に対応した時刻に
基づいて当該イベントの実行タイミングを指定するタイ
ミングデータを生成するタイミングデータ生成手段と、 再生される前記第1の楽曲データ中のタイムコードを取
得し、取得したタイムコードに対応した時刻と前記計時
手段による計時結果に対応した時刻との時間差に基づい
て、前記タイミングデータ生成手段から供給されるタイ
ミングデータを調整するタイミングデータ調整手段と、 前記イベント生成手段によって生成されたイベントと前
記タイミングデータ調整手段によって調整されたタイミ
ングデータとを含む第2の楽曲データを記憶媒体に記録
する記録手段とを具備することを特徴とする記録装置。
5. A recording device for recording in synchronization with reproduction of first music data, which is a series of time codes discretely inserted into audio data representing music, the time code representing elapsed time from the start of music. Then, the operation state is acquired from the detection means for detecting the operation state of the musical instrument, and an event generating means for generating and outputting an event for instructing performance control of the music according to the acquired operation state is counted, and a clock is counted. And a timing data that, when the event is generated by the event generating means, generates timing data that specifies the execution timing of the event based on the time corresponding to the timing result by the timing means. The generation means and the time code in the first music data to be reproduced are acquired and corresponded to the acquired time code. Timing data adjusting means for adjusting the timing data supplied from the timing data generating means, based on the time difference between the time and the time corresponding to the time counting result by the time counting means, the event generated by the event generating means, and the A recording device for recording the second music data including the timing data adjusted by the timing data adjusting device in a storage medium.
【請求項6】 楽曲を表すオーディオデータに楽曲の開
始からの経過時間を表す一連のタイムコードを離散的に
挿入してなる第1の楽曲データの再生に同期して記録を
行う記録装置であって、 楽器の操作状態を検出する検出手段から該操作状態を取
得し、取得した該操作状態に応じて楽曲の演奏制御を指
示するイベントを生成するイベント生成手段と、 クロックをカウントすることにより計時を行う計時手段
と、 再生される前記第1の楽曲データ中のタイムコードを取
得し、取得したタイムコードに対応した時刻と前記計時
手段による計時結果に対応した時刻との時間差に基づい
て、前記計時結果に対応した時刻を調整する計時時刻調
整手段と、 前記イベント生成手段によって前記イベントが生成され
た場合、前記計時時刻調整手段によって調整された時刻
に基づいて当該イベントの実行タイミングを指定するタ
イミングデータを生成するタイミングデータ生成手段
と、 前記イベント生成手段によって生成されたイベントと前
記タイミングデータ生成手段によって生成されたタイミ
ングデータとを含む第2の楽曲データを記憶媒体に記録
する記録手段とを具備することを特徴とする記録装置。
6. A recording device for performing recording in synchronization with reproduction of first music data, which is obtained by discretely inserting a series of time codes representing elapsed time from the start of music into audio data representing music. The operation state is acquired from the detection means for detecting the operation state of the musical instrument, and the event generation means for generating an event for instructing the performance control of the music in accordance with the acquired operation state; and clocking by counting the clock And a time code in the first music data to be reproduced, and based on a time difference between the time corresponding to the acquired time code and the time corresponding to the time measurement result by the time measuring means, When the event generation unit generates the event, the time adjustment unit adjusts the time corresponding to the time measurement result, and the time adjustment unit adjusts the time. A timing data generating unit that generates timing data that specifies the execution timing of the event based on the adjusted time; and an event generated by the event generating unit and timing data generated by the timing data generating unit. A recording device, comprising: recording means for recording the second music data in a storage medium.
【請求項7】 楽曲を表すオーディオデータに楽曲の開
始からの経過時間を表す一連のタイムコードを離散的に
挿入してなる第1の楽曲データの再生に同期して記録を
行う記録方法であって、 楽器の操作状態を検出する検出手段から該操作状態を取
得し、取得した該操作状態に応じて楽曲の演奏制御を指
示するイベントを生成するイベント生成過程と、 前記イベント生成過程においてイベントが生成された場
合、クロックをカウントすることにより計時を行う計時
手段による計時結果に対応した時刻に基づいて当該イベ
ントの実行タイミングを指定するタイミングデータを生
成するタイミングデータ生成過程と、 再生される前記第1の楽曲データ中のタイムコードを取
得し、取得したタイムコードに対応した時刻と前記計時
手段による計時結果に対応した時刻との時間差に基づい
て、前記タイミングデータを調整するタイミングデータ
調整過程と、 前記イベント生成過程において生成されたイベントと前
記タイミングデータ調整過程において調整された前記タ
イミングデータとを含む第2の楽曲データを記憶媒体に
記録する記録過程とを具備することを特徴とする記録方
法。
7. A recording method for performing recording in synchronism with reproduction of first music data in which a series of time codes indicating the elapsed time from the start of music is discretely inserted into audio data representing music. An event generation step of acquiring the operation state from the detection means for detecting the operation state of the musical instrument, and generating an event for instructing performance control of the music in accordance with the acquired operation state; and an event in the event generation step. When generated, a timing data generating step of generating timing data designating the execution timing of the event based on the time corresponding to the time counting result by the time counting means for counting the clock, The time code in the music data of No. 1 is acquired, and the time corresponding to the acquired time code and the time counting result by the time measuring means A timing data adjusting step of adjusting the timing data based on a time difference from a time corresponding to the result; an event generated in the event generating step, and the timing data adjusted in the timing data adjusting step; And a recording step of recording the music data No. 2 in a storage medium.
【請求項8】 楽曲を表すオーディオデータに楽曲の開
始からの経過時間を表す一連のタイムコードを離散的に
挿入してなる第1の楽曲データの再生に同期して記録を
行う記録方法であって、 楽器の操作状態を検出する検出手段から該操作状態を取
得し、取得した該操作状態に応じて楽曲の演奏制御を指
示するイベントを生成するイベント生成過程と、 再生される前記第1の楽曲データ中のタイムコードを取
得し、取得したタイムコードに対応した時刻とクロック
をカウントすることにより計時を行う計時手段による計
時結果に対応した時刻との時間差に基づいて、前記計時
結果に対応した時刻を調整する計時時刻調整過程と、 前記イベント生成過程においてイベントが生成された場
合、前記計時時刻調整過程において調整された時刻に基
づいて当該イベントの実行タイミングを指定するタイミ
ングデータを生成するタイミングデータ生成過程と、 前記イベント生成過程において生成された前記イベント
と前記タイミングデータ生成過程において生成されたタ
イミングデータとを含む第2の楽曲データを記憶媒体に
記録する記録過程とを具備することを特徴とする記録方
法。
8. A recording method for recording in synchronism with reproduction of first music data, wherein a series of time codes representing the elapsed time from the start of music is discretely inserted into audio data representing music. An event generation step of acquiring the operation state from the detection means for detecting the operation state of the musical instrument, and generating an event for instructing the performance control of the music in accordance with the acquired operation state; The time code in the music data is acquired, and the time measurement result is handled based on the time difference between the time corresponding to the acquired time code and the time corresponding to the time measurement result obtained by counting the clock. And a timekeeping time adjustment process for adjusting time, and when an event is generated in the event generation process, based on the time adjusted in the timekeeping time adjustment process. And a second music data including a timing data generation process for generating timing data designating the execution timing of the event, and the event generated in the event generation process and the timing data generated in the timing data generation process. And a recording process for recording the same on a storage medium.
JP2002007872A 2001-11-30 2002-01-16 Musical sound reproduction recording apparatus, recording apparatus and recording method Expired - Fee Related JP3804536B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP2002007872A JP3804536B2 (en) 2002-01-16 2002-01-16 Musical sound reproduction recording apparatus, recording apparatus and recording method
US10/304,034 US6737571B2 (en) 2001-11-30 2002-11-25 Music recorder and music player for ensemble on the basis of different sorts of music data
DE60220876T DE60220876T2 (en) 2001-11-30 2002-11-28 Music recorder and music player based on different music data types
EP02026592A EP1324311B1 (en) 2001-11-30 2002-11-28 Music recorder and music player for ensemble on the basis of different sorts of music data
CN2005100649501A CN1670818B (en) 2001-11-30 2002-11-30 Music recorder on the basis of different sorts of music data
CNB02139959XA CN1249663C (en) 2001-11-30 2002-11-30 Musical recording and player of instrumental ensemble based on differental kinds of musical data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002007872A JP3804536B2 (en) 2002-01-16 2002-01-16 Musical sound reproduction recording apparatus, recording apparatus and recording method

Publications (2)

Publication Number Publication Date
JP2003208166A true JP2003208166A (en) 2003-07-25
JP3804536B2 JP3804536B2 (en) 2006-08-02

Family

ID=27646278

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002007872A Expired - Fee Related JP3804536B2 (en) 2001-11-30 2002-01-16 Musical sound reproduction recording apparatus, recording apparatus and recording method

Country Status (1)

Country Link
JP (1) JP3804536B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009168911A (en) * 2008-01-11 2009-07-30 Yamaha Corp Keyboard instrument, piano, and automatic player piano
US7863513B2 (en) 2002-08-22 2011-01-04 Yamaha Corporation Synchronous playback system for reproducing music in good ensemble and recorder and player for the ensemble
JP2016136448A (en) * 2016-03-10 2016-07-28 パイオニア株式会社 Recording device, recording method, and computer program for recording control

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02201497A (en) * 1989-01-31 1990-08-09 Victor Co Of Japan Ltd Digital signal recording and reproducing device
JPH06314483A (en) * 1993-04-30 1994-11-08 Toshiba Corp Disk reproducing device
JPH11190993A (en) * 1997-10-22 1999-07-13 Yamaha Corp Device and method for communicating musical sound information, device and method for control, and medium where program is recorded
JP2001215979A (en) * 2000-02-04 2001-08-10 Yamaha Corp Karaoke device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02201497A (en) * 1989-01-31 1990-08-09 Victor Co Of Japan Ltd Digital signal recording and reproducing device
JPH06314483A (en) * 1993-04-30 1994-11-08 Toshiba Corp Disk reproducing device
JPH11190993A (en) * 1997-10-22 1999-07-13 Yamaha Corp Device and method for communicating musical sound information, device and method for control, and medium where program is recorded
JP2001215979A (en) * 2000-02-04 2001-08-10 Yamaha Corp Karaoke device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7863513B2 (en) 2002-08-22 2011-01-04 Yamaha Corporation Synchronous playback system for reproducing music in good ensemble and recorder and player for the ensemble
JP2009168911A (en) * 2008-01-11 2009-07-30 Yamaha Corp Keyboard instrument, piano, and automatic player piano
JP2016136448A (en) * 2016-03-10 2016-07-28 パイオニア株式会社 Recording device, recording method, and computer program for recording control

Also Published As

Publication number Publication date
JP3804536B2 (en) 2006-08-02

Similar Documents

Publication Publication Date Title
JP4403658B2 (en) Music data output device and music data output method
US7897865B2 (en) Multimedia platform for recording and/or reproducing music synchronously with visual images
JP5733321B2 (en) Automatic performance device
JP3835324B2 (en) Music playback device
US7622664B2 (en) Performance control system, performance control apparatus, performance control method, program for implementing the method, and storage medium storing the program
JP5729393B2 (en) Performance system
JP3885587B2 (en) Performance control apparatus, performance control program, and recording medium
JP2009168911A (en) Keyboard instrument, piano, and automatic player piano
JP2003271138A (en) Recorder, reproducing device, recording method, reproducing method and synchronous reproduction system
JP7367835B2 (en) Recording/playback device, control method and control program for the recording/playback device, and electronic musical instrument
JP3867580B2 (en) Music playback device
JP3804536B2 (en) Musical sound reproduction recording apparatus, recording apparatus and recording method
JP2007265522A (en) Reproducing/recording device
JP2005274851A (en) Electronic music system and computer program applied to the same system
JPH1031495A (en) Karaoke device
JP3915517B2 (en) Multimedia system, playback apparatus and playback recording apparatus
JP2000029472A (en) Karaoke machine
JP3925349B2 (en) Apparatus and method for synchronous reproduction of audio data and performance data
JP4107212B2 (en) Music playback device
JP3867579B2 (en) Multimedia system and playback apparatus
JPH10301570A (en) Performance method of music data and music performance device using it
JP2862062B2 (en) Karaoke equipment
JP3166670B2 (en) Karaoke device and automatic performance device
JP2004085610A (en) Device and method for synchronously reproducing speech data and musical performance data
JP2008276101A (en) Music piece reproduction system and device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040805

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060410

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060418

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060501

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 3804536

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100519

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110519

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130519

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140519

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees