JPH06348259A - Midi editing device - Google Patents

Midi editing device

Info

Publication number
JPH06348259A
JPH06348259A JP5160084A JP16008493A JPH06348259A JP H06348259 A JPH06348259 A JP H06348259A JP 5160084 A JP5160084 A JP 5160084A JP 16008493 A JP16008493 A JP 16008493A JP H06348259 A JPH06348259 A JP H06348259A
Authority
JP
Japan
Prior art keywords
midi
file
data
sequencer
standard
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
JP5160084A
Other languages
Japanese (ja)
Other versions
JP2982563B2 (en
Inventor
Kazuo Hikawa
和生 飛河
Toshihiro Maruyama
俊弘 丸山
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP5160084A priority Critical patent/JP2982563B2/en
Publication of JPH06348259A publication Critical patent/JPH06348259A/en
Application granted granted Critical
Publication of JP2982563B2 publication Critical patent/JP2982563B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To obtain the editing device which facilitates data conversion when generating sub-code data of a CD by obtaining MIDI data from a file wherein a MIDI sequence is recorded. CONSTITUTION:While a standard MIDI file 1 generated at a MIDI signal reproduction part 2 is reproduced by the same MIDI sequencer and the tempo map is made constant by the MIDI sequencer of a MIDI signal recording part 3, MIDI data are resampled. Then when the rate of the tempo map to be made constant is set equal to the rate of the pack of the CD (rational multiple of pack rate), the MIDI data can be converted into a pack file as it is and the data conversion is facilitated. Further, while the both are synchronized with each other by using SMPTE time codes used by the MIDI sequencer of the MIDI signal reproduction part 2 or MIDI signal recording part 2, the MIDI data are resampled to make the tempo map, which irregularly varies, constant.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、デジタル信号記録媒体
のサブコード領域にMIDIデータを記録するMIDI
編集装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a MIDI for recording MIDI data in a subcode area of a digital signal recording medium.
Regarding the editing device.

【0002】[0002]

【従来の技術】通常、CDのオーディオマスターは、P
CMプロセッサを用いてVTR用磁気テープやMO(光
磁気ディスク)、HD(ハードディスク)などに記録さ
れた形でCDのマスタリング工程に持ち込まれる。一
方、MIDIデータは、スタンダードMIDIファイル
の形式が最も一般的である。従って、CD+MIDIの
オーサリング(ディスク作成のための編集作業)を行う
には、スタンダードMIDIファイルを時間軸上のイメ
ージに展開したCDサブコードファイルに変換する方法
が最も都合が良い。
2. Description of the Related Art Normally, the audio master of a CD is P
It is brought into a CD mastering process in a form recorded on a magnetic tape for VTR, MO (magneto-optical disk), HD (hard disk), etc. using a CM processor. On the other hand, the standard MIDI file format for MIDI data is most common. Therefore, in order to perform CD + MIDI authoring (editing work for creating a disc), it is most convenient to convert a standard MIDI file into a CD subcode file which is developed into an image on the time axis.

【0003】また、ファイル ツー ファイル(file T
o file)形式だと、MIDIラインに乗っていない情
報、すなわちEIAJ(日本電子機械工業会)の定めた
CD+MIDI運用基準に明記されている多重書きメッ
セージや、オールノートオフメッセージを用いた代用メ
ッセージ(ステータス情報)の追加など、オフラインの
処理が可能となるが、従来はリアルタイムでMIDIを
サブコードに変換しなければならなかったため、これら
の処理を行うことができなかった。
In addition, file-to-file (file T
o file) format, information that is not on the MIDI line, that is, a multiple-write message specified in the CD + MIDI operation standard set by the EIAJ (Japan Electronic Machinery Manufacturers Association) or a substitute message that uses an all-note-off message ( Offline processing such as addition of (status information) is possible, but conventionally, these processings could not be performed because MIDI had to be converted into subcodes in real time.

【0004】ここで、時間情報上に展開したCDサブコ
ードファイルとは、曲の先頭のパックからシーケンシャ
ルに実際のサブコードデータで埋めていく形式のファイ
ルである。実際のCDのサブコードは6ビットなので、
上位2ビット分は00で埋めて8ビットで表現する。こ
のようにすることで、CDのカッティング時には、オー
ディオデータをCDのメインデータ領域に書き込みなが
ら、同時にサブコードファイルよりCDの1フレーム毎
に1バイトずつ(上位2ビットは無視)、パックデータ
を順次CDにサブコードとして書き込むことができ、従
来より市場で販売されているCDグラフィックスを用い
たカラオケ装置においては、この方法でディスクをカッ
ティングしている。
Here, the CD subcode file developed on the time information is a file of a format in which actual subcode data is sequentially filled from the pack at the beginning of the music. Since the actual subcode of a CD is 6 bits,
The upper 2 bits are filled with 00 and are represented by 8 bits. By doing this, when cutting the CD, while writing the audio data to the main data area of the CD, at the same time, one byte for each frame of the CD from the subcode file (ignoring the upper 2 bits), the packed data is sequentially. In a karaoke apparatus using CD graphics, which can be written as a subcode on a CD and which has been sold in the market, a disc is cut by this method.

【0005】ところで、MIDIシーケンサは、フロッ
ピーディスクやCD−ROM、ICカードなどの記録メ
ディアにファイル形式で記述されたMIDIシーケンス
情報を時間軸上に展開するもので、パーソナルコンピュ
ータのアプリケーションソフトウエア形式のものや、専
用のハードウエアで実現したものもある。通常、これら
のファイルはシーケンスファイルと呼ばれ、各シーケン
サ毎に固有のフォーマットで記述されている。
Incidentally, the MIDI sequencer expands MIDI sequence information described in a file format on a recording medium such as a floppy disk, a CD-ROM, an IC card, etc. on a time axis, and is in the form of application software of a personal computer. Some are realized by dedicated hardware. Usually, these files are called sequence files and are described in a format unique to each sequencer.

【0006】このファイルをどのシーケンサでも読み書
きできるように定めたフォーマットが、スタンダードM
IDIファイルで、近年、このフォーマットに対応した
シーケンサが増えている。また、このスタンダードMI
DIファイルでは、通常、MIDIメッセージの発生時
刻を拍数をベースとし、そのときに発生すべきMIDI
メッセージと共に記述するようになっている。拍数がベ
ースであるということは、これを時間軸に展開する場合
にテンポ情報が必要となる。これがないと、どの程度の
速さで演奏情報を時間軸上に展開すべきなのかが、シー
ケンサ側でわからないためである。
The standard M format is a format that allows this file to be read and written by any sequencer.
In recent years, the number of sequencers compatible with this format for IDI files has increased. Also, this standard MI
In the DI file, the MIDI message occurrence time is usually based on the number of beats, and the MIDI message that should occur at that time.
It is designed to be described with the message. The fact that the number of beats is the basis requires tempo information when developing this on the time axis. Without this, the sequencer side cannot know how fast the performance information should be expanded on the time axis.

【0007】テンポ情報は、スタンダードMIDIファ
イル上で記述され、四分音符毎に何マイクロ秒といった
形式で表現される。従って、最も細かくテンポが規定さ
れている場合には、四分音符毎にテンポが変化すること
になる。この記述では、テンポ情報はマイクロ秒単位の
分解能を持つため、1つの四分音符につき、最大プラス
マイナス0.5 マイクロ秒の誤差を持つ。例えば1曲の長
さを5分、1拍に付き四分音符1個として、テンポが通
常の120拍/分(1秒あたり四分音符が2拍)とする
と、1曲あたりの総四分音符数は、5 ×120=600 個であ
る。従って、前述のように四分音符毎にテンポが変化す
る曲では、実時間に対して最大0.5 ×600 =300 マイク
ロ秒程度の誤差がある。
The tempo information is described on a standard MIDI file, and is expressed in the form of microseconds for each quarter note. Therefore, if the tempo is defined in the finest manner, the tempo will change for each quarter note. In this description, the tempo information has a resolution of a microsecond unit, and therefore, a quarter note has an error of maximum plus or minus 0.5 microsecond. For example, if the length of one song is 5 minutes, and one quarter note per beat, and the tempo is the usual 120 beats / minute (two quarter notes per second), then a total of four quarters per song The number of notes is 5 x 120 = 600. Therefore, as described above, in a song whose tempo changes for each quarter note, there is a maximum error of about 0.5 x 600 = 300 microseconds in real time.

【0008】ところで、CD+MIDIでは、オーディ
オトラックとMIDIトラック(正確には、MIDIト
ラックに書かれたMIDIデータを再生してMIDI音
源に供給して得た楽音音声)が曲の最初から最後まで正
確に同期する必要があるが、人間の聴覚上、2つの音源
の発生する音声の時間差は、それぞれの音を両耳により
位置差(すなわち音の定位)で検知しない限り、およそ
10ミリ秒以下の時間差は認識できないため、ファイル
フォーマット自体の分解能は聴覚上全く問題ないもので
ある。
By the way, in CD + MIDI, audio tracks and MIDI tracks (to be precise, musical sound sounds obtained by reproducing MIDI data written on MIDI tracks and supplying them to a MIDI sound source) are accurately recorded from the beginning to the end of the song. It is necessary to synchronize, but in human hearing, the time difference between the sounds generated by the two sound sources is about 10 milliseconds or less unless the sounds are detected by the position difference (ie, sound localization) by both ears. Is unrecognizable, the resolution of the file format itself is audibly no problem.

【0009】[0009]

【発明が解決しようとする課題】ところが、実際のシー
ケンサでは、これほどの精度でテンポマップを作成して
はない。例えば、あるシーケンサでは、テンポの時間軸
上の最小分解能が500 μsec (0.5msec)であり、また、
用いるシーケンサによって処理可能な時間軸上のの分解
能が異なるため、あるシーケンサAによって作成された
スタンダードMIDIファイルを他のシーケンサBで読
み取った場合、正確に1曲の最後の1音までシーケンサ
AとBの演奏時間が同一タイミングで終了するとは限ら
ない。
However, the actual sequencer does not create the tempo map with such accuracy. For example, in a sequencer, the minimum resolution of tempo on the time axis is 500 μsec (0.5 msec), and
Since the resolution on the time axis that can be processed is different depending on the sequencer used, when a standard MIDI file created by a certain sequencer A is read by another sequencer B, the sequencer A and B can accurately read the last one note of one song. The playing time of does not always end at the same timing.

【0010】当然のことながら、これはタイミング生成
に用いるクロックも異なるし、テンポデータをスタンダ
ードMIDIファイルから読み取った後の処理計算方法
がシーケンサによって異なるからである。また、スタン
ダードMIDIファイル上のテンポデータを四分音符毎
に段階的に変化させるのではなく、時間軸上でリニアに
又は、曲線的に四分音符より更に細くテンポを変化させ
るような機能を持つシーケンサもある。この場合には、
その変化率はシーケンサによって異なるため、ファイル
に記述されたそれぞれのMIDIメッセージを正確な時
間位置に合わせることができない。
Naturally, this is because the clock used for timing generation is also different, and the processing calculation method after reading the tempo data from the standard MIDI file differs depending on the sequencer. In addition, the tempo data on the standard MIDI file is not changed stepwise for each quarter note, but has a function of changing the tempo linearly or curvedly on the time axis more finely than the quarter note. There is also a sequencer. In this case,
Since the rate of change differs depending on the sequencer, it is impossible to match each MIDI message described in the file with the correct time position.

【0011】仮に、この誤差がある範囲内に収まるよう
にしたとしても、その最小時間軸分解能はシーケンサ毎
に異なるため、CD+MIDIオーサリングツールに於
て、スタンダードMIDIファイルが作成されたシーケ
ンサ毎に対応した処理シーケンスを作成しなければなら
ない。ところが、現存するMIDIシーケンサはPDS
(Public Domain Soft)からプロ用のツールまで、対応
するパソコンも考慮すると、多くのアプリケーションが
存在し、これらの全シーケンサに対応することは難しい
上、対応が可能だとしてもソフトウエアが複雑になり、
編集作業も繁雑になる。
Even if the error is set to fall within a certain range, the minimum time-axis resolution is different for each sequencer. Therefore, in the CD + MIDI authoring tool, the standard MIDI file is prepared for each sequencer. A processing sequence has to be created. However, the existing MIDI sequencer is PDS.
Considering compatible PCs from (Public Domain Soft) to professional tools, there are many applications, and it is difficult to support all of these sequencers, and even if it is possible, the software becomes complicated. ,
Editing work becomes complicated.

【0012】一方、CD+MIDIでは、MIDIデー
タをパック単位で記録する。パックは1秒間に300パ
ックの割合でCD上に記録される。従って、スタンダー
ドMIDIファイルで記述されたMIDIシーケンサフ
ァイルをサブコードに変換する際には、1つ1つのテン
ポ情報より1拍毎に時間をマイクロ秒単位で正確に時間
軸上に展開し、これらを再度パックの記録レート、すな
わち300 Hz(3.33333msec)毎に区切り、パックデータ
に変換しなければならない。また、従来例においては、
MIDIラインに乗っていない情報、すなわちEIAJ
で定めたCD+MIDI運用基準に明記されている多重
書きメッセージや、オールノートオフメッセージを用い
た代用メッセージ(ステータス情報)の追加などの処理
が行えない。
On the other hand, with CD + MIDI, MIDI data is recorded in pack units. Packs are recorded on the CD at a rate of 300 packs per second. Therefore, when converting the MIDI sequencer file described in the standard MIDI file into subcodes, the time is accurately expanded in microsecond units for each beat from each piece of tempo information and these are expanded. It must be converted into pack data again by dividing it at the pack recording rate, that is, every 300 Hz (3.33333 msec). In addition, in the conventional example,
Information not on the MIDI line, namely EIAJ
It is not possible to perform processing such as the addition of a multiple-write message specified in the CD + MIDI operation standard defined in 1. and a substitute message (status information) using an all note off message.

【0013】本発明は上述した点に鑑みなされたもの
で、MIDIシーケンスを記録したファイルからMID
Iデータを得てCDのサブコードデータを作成する際に
データ変換を行いやすくすることができるMIDI編集
装置を得ることを目的とする。
The present invention has been made in view of the above-mentioned points, and the MID from the file in which the MIDI sequence is recorded is recorded.
An object of the present invention is to obtain a MIDI editing device that can facilitate data conversion when obtaining I data and creating subcode data of a CD.

【0014】[0014]

【課題を解決するための手段】請求項1に係る本発明の
MIDI編集装置は、MIDIシーケンスを記録したフ
ァイルからMIDI信号を再生するMIDI信号再生手
段と、前記MIDI信号をデジタル信号記録媒体のサブ
コードの記録レートの有理数倍のテンポで再度サンプリ
ングして記録するMIDI信号記録手段とを有するもの
である。
According to a first aspect of the present invention, there is provided a MIDI editing apparatus for reproducing a MIDI signal from a file recorded with a MIDI sequence, and a MIDI signal reproducing means for reproducing the MIDI signal from a file of a digital signal recording medium. MIDI signal recording means for re-sampling and recording at a tempo that is a rational multiple of the code recording rate.

【0015】また、請求項2に係るMIDI編集装置
は、前記サンプリングを行う際に、タイムコードなどの
時間情報を用いて前記MIDI信号再生手段と前記MI
DI信号記録手段とを同期させる手段を有している。
Further, the MIDI editing apparatus according to a second aspect uses the time information such as a time code when performing the sampling, and the MIDI signal reproducing means and the MIDI signal reproducing means.
It has means for synchronizing with the DI signal recording means.

【0016】[0016]

【作用】請求項1に係るMIDI編集装置においては、
MIDI信号再生手段によってMIDIシーケンスを記
録したファイルから再生されたMIDI信号を、MID
I信号記録手段により、あらかじめデジタル信号記録媒
体のサブコードの記録レートの有理数倍のテンポでリサ
ンプリングすることにより、デジタル信号記録媒体のサ
ブコードデータを作成する際のデータ変換を行いやすく
する。
In the MIDI editing device according to claim 1,
The MIDI signal reproduced from the file in which the MIDI sequence is recorded by the MIDI signal reproducing means is set to MID
The I signal recording means performs resampling in advance at a tempo that is a rational number multiple of the recording rate of the subcode of the digital signal recording medium to facilitate data conversion when creating subcode data of the digital signal recording medium.

【0017】また、請求項2に係るMIDI編集装置に
おいては、前記サンプリングを行う際に、タイムコード
などを用いて前記MIDI信号再生手段と前記MIDI
信号記録手段とを同期させることにより、リサンプル時
の同期ずれを防止する。
Further, in the MIDI editing apparatus according to the second aspect, when performing the sampling, the MIDI signal reproducing means and the MIDI signal are reproduced by using a time code or the like.
By synchronizing with the signal recording means, synchronization deviation during re-sampling can be prevented.

【0018】[0018]

【実施例】以下、本発明をCD+MIDIに適用した場
合の実施例を図に基づいて説明する。 第1実施例 図1は本発明の第1実施例に係るMIDI編集装置を示
す構成図である。図1において、1は後述するMIDI
信号再生部となるMIDIシーケンサにより作成された
スタンダードMIDIファイルで、CDのサブコードに
記録すべきMIDIデータが格納されている。前記スタ
ンダードMIDIファイル1を作成したのと同一の又は
互換性を有するMIDIシーケンサからなるMIDI信
号再生部2は、スタンダードMIDIファイル1を再生
しMIDI信号として出力する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to CD + MIDI will be described below with reference to the drawings. First Embodiment FIG. 1 is a block diagram showing the MIDI editing apparatus according to the first embodiment of the present invention. In FIG. 1, reference numeral 1 denotes MIDI which will be described later.
A standard MIDI file created by a MIDI sequencer serving as a signal reproducing unit, in which MIDI data to be recorded in a subcode of a CD is stored. A MIDI signal reproducing section 2 which is the same as or compatible with the standard MIDI file 1 created and which is a MIDI sequencer reproduces the standard MIDI file 1 and outputs it as a MIDI signal.

【0019】また、MIDIシーケンサからなるMID
I信号記録部3は、前記MIDI信号再生部2で再生さ
れたMIDI信号を記録する。4はMIDI信号記録部
3で記録したMIDIデータをスタンダードMIDIフ
ァイル(SMF)1に変換して記録媒体に保存するスタ
ンダードMIDIファイル変換部(以下、スタンダード
MIDIファイル変換部をSMF変換部と称す)、5は
SMF変換部4で作成したスタンダードMIDIファイ
ルをCDのサブコードファイルに変換するサブコード変
換部、6はCD+MIDIディスクのカッティングを行
うCDカッティング装置である。前記スタンダードMI
DIファイル1及びSMF変換部4は、特にスタンダー
ドMIDIファイルのフォーマットでなくても実施可能
である。
A MID consisting of a MIDI sequencer
The I signal recording section 3 records the MIDI signal reproduced by the MIDI signal reproducing section 2. Reference numeral 4 denotes a standard MIDI file conversion unit (hereinafter, the standard MIDI file conversion unit is referred to as an SMF conversion unit) that converts the MIDI data recorded by the MIDI signal recording unit 3 into a standard MIDI file (SMF) 1 and stores the standard MIDI file (SMF) 1. Reference numeral 5 is a subcode conversion unit for converting the standard MIDI file created by the SMF conversion unit 4 into a CD subcode file, and 6 is a CD cutting device for cutting a CD + MIDI disc. The standard MI
The DI file 1 and the SMF conversion unit 4 can be implemented without using the standard MIDI file format.

【0020】次に、図1に示す構成の動作について説明
する。図1の構成において、MIDI信号再生部2のM
IDIシーケンサで作成したスタンダードMIDIファ
イル1は、そのMIDIシーケンサで再生する限り、必
ず同一タイミングとなるので、作成者の意図通りのタイ
ミングで再生される。そして、MIDI信号再生部2の
MIDIシーケンサで再生したMIDIデータを、MI
DI信号記録部3のMIDIシーケンサによりテンポマ
ップを一定にした状態でMIDIデータのリサンプリン
グが行われる。ここで、MIDIデータのリサンプリン
グを行うMIDI信号記録部3のMIDIシーケンサに
おいて、一定とするテンポマップのレートを以下に記す
ような方法で設定すると、スタンダードMIDIファイ
ル1上のMIDIデータをそのままパックファイルに変
換することができる。
Next, the operation of the configuration shown in FIG. 1 will be described. In the configuration of FIG. 1, M of the MIDI signal reproducing unit 2
Since the standard MIDI file 1 created by the IDI sequencer always has the same timing as long as it is played back by the MIDI sequencer, it is played back at the timing intended by the creator. Then, the MIDI data reproduced by the MIDI sequencer of the MIDI signal reproducing section 2 is converted into MI
The MIDI sequencer of the DI signal recording unit 3 resamples the MIDI data while keeping the tempo map constant. Here, in the MIDI sequencer of the MIDI signal recording unit 3 for resampling the MIDI data, if the constant tempo map rate is set by the method described below, the MIDI data on the standard MIDI file 1 is directly stored in the pack file. Can be converted to.

【0021】仮にスタンダードMIDIファイルが1拍
当たり480Tick の分解能で記録が行われているとする
と、CDパックの周期は、300(パック/秒)であるか
ら、テンポを1分間に37.5拍とすると、480(Tick/quart
er-note) ×37.5(quarter-note/分)=300(パック/ 秒)
×60( 秒/ 分) となり、1パックあたり1Tickとなる(q
uarter-note: 四分音符)。このため、スタンダードMI
DIファイル1上の1Tick毎にパックデータに変換すれ
ば良いことになる。こうすることにより、データ変換が
簡単に行えると同時に、スタンダードMIDIファイル
1上の各MIDIメッセージの開始位置が、各パックの
先頭位置と一致するため、2つのパック間にまたがって
しまうMIDIメッセージをかなり減らすことができ
る。
If a standard MIDI file is recorded at a resolution of 480 ticks per beat, the CD pack cycle is 300 (packs / second), so if the tempo is 37.5 beats per minute, 480 (Tick / quart
er-note) × 37.5 (quarter-note / minute) = 300 (pack / second)
× 60 (seconds / minute) becomes 1 tick per pack (q
uarter-note: quarter note). Therefore, the standard MI
It is sufficient to convert to pack data for each tick in the DI file 1. By doing so, data conversion can be performed easily, and at the same time, the start position of each MIDI message on the standard MIDI file 1 coincides with the start position of each pack. Can be reduced.

【0022】すなわち、スタンダードMIDIファイル
上では、通常、完結したMIDIメッセージを1Tick毎
にファイル上に記述するため、このように、常にパック
単位で完結したMIDIメッセージをパック内に書き込
むことで、CD+MIDI運用基準で決められたパック
内でのMIDIメッセージ完結の規則に対応できる。ま
た、CD+MIDI運用基準上ではシステムエクスクル
ーシブメッセージなどのように、パック内で完結しない
場合もあるが、発生頻度としては少ないため、例外処理
で対応できる。
That is, in the standard MIDI file, normally, a completed MIDI message is described in the file for each tick. Therefore, by always writing the completed MIDI message in the pack unit in the pack, the CD + MIDI operation is performed. It is possible to comply with the MIDI message completion rule in the pack determined by the standard. Further, in the CD + MIDI operation standard, there are cases where the message is not completed within the pack, such as a system exclusive message, but since the frequency of occurrence is low, it can be handled by exception processing.

【0023】上述したようにしてMIDI信号記録部3
により記録されたMIDIデータはSMF変換部4によ
りスタンダードMIDIファイルに変換して記録媒体に
保存し、このSMF変換部4で作成されたスタンダード
MIDIファイルはサブコード変換部5によりCDのサ
ブコードに変換され、CDカッティング装置6によりC
D+MIDIディスクのカッティングが行われる。
As described above, the MIDI signal recording section 3
The MIDI data recorded by the SMF conversion unit 4 is converted into a standard MIDI file and stored in a recording medium. The standard MIDI file created by the SMF conversion unit 4 is converted into a CD subcode by the subcode conversion unit 5. And C by the CD cutting device 6
The D + MIDI disc is cut.

【0024】なお、上述の説明では、パックのレートと
テンポマップのレートとを1対1にしていたが、さら
に、パックのレートの有理数倍のテンポでリサンプルを
行うことも考えられる。なぜなら、MIDIシーケンサ
のようなシーケンスソフトでは、スタンダードMIDI
ファイル上で同一タイミングで発生すべきMIDIメッ
セージが多いと、たとえ同一タイミングで記述されてい
ても、MIDI音源側の処理時間やMIDI信号のシリ
アル伝送という性格上、伝送時に時間的遅延が生じるこ
とがあり、これが時間のズレによる、所謂音楽的な「も
たり」を生じてしまう恐れがあるため、発音に関係する
メッセージを先に伝送するなどして、同一タイミングで
発生するMIDIメッセージの順序を入れ替えることが
ある。
In the above description, the pack rate and the tempo map rate are one-to-one, but it is also conceivable to resample at a tempo that is a rational multiple of the pack rate. This is because standard MIDI software is used with sequence software such as a MIDI sequencer.
If there are many MIDI messages that should be generated at the same timing on the file, even if they are described at the same timing, a time delay may occur during transmission due to the processing time on the MIDI sound source side and the serial transmission of MIDI signals. There is a possibility that this may cause a so-called musical “morrow” due to a time lag, so the order of MIDI messages that occur at the same timing may be changed by first transmitting a message related to pronunciation. Sometimes.

【0025】これがリサンプル時には、複数のタイミン
グが1つのタイミングにリサンプルされることで、その
順序がおかしくなり、本来意図しなかった演奏がなされ
たり、最悪の場合にはMIDI規格に違反してしまうよ
うなデータ順になってしまうことがある。このようなこ
とを防ぐには、出来る限りリサンプルのレートを高く
し、複数のタイミングが1つのタイミングにリサンプル
されることがないようにしなければならない。このよう
なときに、パックのレートの有理数倍のテンポでリサン
プルを行うことで、上述の問題点を解決しつつ、同期ず
れを防ぐことが可能となる。
At the time of re-sampling, a plurality of timings are re-sampled to one timing, so that the order is wrong, an originally unintended performance is performed, and in the worst case, the MIDI standard is violated. The data may be arranged in such a way that it will be lost. In order to prevent such a situation, it is necessary to increase the resample rate as much as possible so that a plurality of timings are not resampled into one timing. In such a case, by performing the resampling at a tempo that is a rational number multiple of the pack rate, it is possible to prevent the synchronization deviation while solving the above problems.

【0026】第2、第3、第4実施例 図2ないし図4はそれぞれ第2ないし第4実施例を示す
もので、リサンプル時にタイムコードで同期を掛ける場
合の各実施例である。特に、リサンプルする時点で、オ
ーディオデータとMIDIデータが既に同期した状態で
揃っている場合に、リサンプルによって同期が外れてし
まうのを防ぐために、このように同期を掛けておくもの
である。逆に、リサンプルしたMIDIデータで音源を
鳴らしてオーディオ信号を新たに収録する場合には、図
1のようにタイムコード同期を掛けなくてもよい。
Second, Third, and Fourth Embodiments FIGS. 2 to 4 show the second to fourth embodiments, respectively, and show the respective embodiments in the case of synchronizing with a time code at the time of re-sampling. Particularly, at the time of re-sampling, if audio data and MIDI data are already in a synchronized state, synchronization is applied in this way in order to prevent loss of synchronization due to re-sampling. On the contrary, when the sound source is sounded by the resampled MIDI data and the audio signal is newly recorded, the time code synchronization need not be applied as shown in FIG.

【0027】図2に示す第2実施例においては、MID
I信号記録部3のMIDIシーケンサで用いられるSM
PTE(Society of Motion Picture and Television E
ngineers)タイムコードでMIDI信号再生部2と同期
を掛けた状態で、MIDI信号再生部2で再生したMI
DIデータを、MIDI信号記録部3でテンポマップを
一定にした状態でMIDIデータのリサンプリングを行
うことにより、不規則に変化するテンポマップを一定に
することができる。
In the second embodiment shown in FIG. 2, the MID
SM used in the MIDI sequencer of the I signal recording unit 3
PTE (Society of Motion Picture and Television E)
ngineers) The MI signal reproduced by the MIDI signal reproducing unit 2 while being synchronized with the MIDI signal reproducing unit 2 by the time code.
By resampling the DI data with the MIDI signal recording unit 3 keeping the tempo map constant, the irregularly changing tempo map can be made constant.

【0028】また、同様に図3に示す第3実施例におい
ては、MIDI信号再生部2のMIDIシーケンサで用
いられるSMPTEタイムコードでMIDI信号記録部
3と同期を掛けた状態で、MIDI信号再生部2で再生
したMIDIデータをMIDI信号記録部3でテンポマ
ップを一定にした状態でMIDIデータのリサンプリン
グを行うことにより、不規則に変化するテンポマップを
一定にすることができる。
Similarly, in the third embodiment shown in FIG. 3, the MIDI signal reproducing unit 2 is synchronized with the MIDI signal recording unit 3 by the SMPTE time code used in the MIDI sequencer of the MIDI signal reproducing unit 2. By re-sampling the MIDI data reproduced in 2 while the MIDI signal recording unit 3 keeps the tempo map constant, the irregularly changing tempo map can be made constant.

【0029】さらに、図4に示す第4実施例において
は、SMPTEタイムコードを発生するSMPTEタイ
ムコード発生器7を備え、このSMPTEタイムコード
発生器7から発生するSMPTEタイムコードに基づい
てMIDI信号再生部2とMIDI信号記録部3とを同
期を掛けた状態で、MIDI信号再生部2で再生したM
IDIデータを、MIDI信号記録部3でテンポマップ
を一定にした状態でMIDIデータのリサンプリングを
行うことにより、不規則に変化するテンポマップを一定
にすることができる。
Further, in the fourth embodiment shown in FIG. 4, an SMPTE time code generator 7 for generating an SMPTE time code is provided, and a MIDI signal is reproduced based on the SMPTE time code generated by the SMPTE time code generator 7. The M signal reproduced by the MIDI signal reproducing unit 2 in a state where the unit 2 and the MIDI signal recording unit 3 are synchronized.
By resampling the MIDI data of the IDI data while the tempo map is kept constant in the MIDI signal recording section 3, the tempo map that changes irregularly can be made constant.

【0030】上述した各実施例において、MIDI信号
再生部2のMIDIシーケンサで作成したスタンダード
MIDIファイル1は、ファイルの互換性を持ったシー
ケンサか、あるいはそのMIDIシーケンサで再生する
限り、必ず同一タイミングとなるので、作成者の意図通
りのタイミングで再生される。従って、MIDI信号再
生部2とMIDI信号記録部3の2台のMIDIシーケ
ンサを用い、全体にMIDIシーケンサで用いられるS
MPTEタイムコードで同期を掛けた状態で、一方のM
IDIシーケンサ(MIDI信号再生部2)で再生した
MIDIデータを、他方のMIDIシーケンサ(MID
I信号記録部3)でテンポマップを一定にした状態でM
IDIデータのリサンプリングを行うことにより、不規
則に変化するテンポマップを一定にすることができる。
In each of the above-described embodiments, the standard MIDI file 1 created by the MIDI sequencer of the MIDI signal reproducing section 2 always has the same timing as long as it is reproduced by a sequencer having file compatibility or the MIDI sequencer. Therefore, it is played back at the timing intended by the creator. Therefore, the two MIDI sequencers, the MIDI signal reproducing unit 2 and the MIDI signal recording unit 3, are used, and the S used in the MIDI sequencer is wholly used.
While synchronized with MPTE time code, one of the M
The MIDI data reproduced by the IDI sequencer (MIDI signal reproducing unit 2) is converted to the other MIDI sequencer (MID
With the tempo map fixed in the I signal recording section 3), M
By resampling the IDI data, the tempo map that changes irregularly can be made constant.

【0031】上述の内容は既存のMIDIシーケンサを
そのまま利用し、MIDI信号に変換した後にリサンプ
ルするものである。しかし、これでは編集プロセスのリ
サンプル工程で必ず2台のシーケンサ(パソコン)が必
要になる上、作業としても繁雑となる。そこで、この工
程をなくすために、サブコード変換時の時間軸へ自動展
開するソフトリサンプルも考えられる。これは、前述の
スタンダードMIDIファイルのTicks とテンポ情報を
基に、一度時間軸上に変換し、これを基にパックの時間
軸に変換するものである。すなわち、図5のソフトリサ
ンプルの例に示されるように、各MIDIイベントをそ
のテンポ及びイベントの発生時間間隔情報であるデルタ
タイムに基づいて一度時間軸上に変換し、さらに、パッ
クの時間軸に変換することにより、ソフトリサンプルに
よるサブコード変換時の時間軸への自動展開がなされ
る。なお、CDに限らず、DATやデジタルVTRのよ
うな他のデジタル記録媒体のサブコード領域にMIDI
信号を記録することも、もち論上述の方法にて可能であ
る。さらに、本実施例ではTickのレートをパックのレー
トと同一に設定したが、パックのレートの有理数倍にし
ても同様の効果が得られる。
The above-described contents are to use the existing MIDI sequencer as it is, convert it to a MIDI signal and then resample. However, this requires two sequencers (personal computers) in the re-sampling step of the editing process, and is also a complicated task. Therefore, in order to eliminate this step, a soft resample that automatically expands to the time axis at the time of subcode conversion can be considered. This is to convert once on the time axis based on the Ticks and tempo information of the standard MIDI file described above, and then convert to the time axis of the pack based on this. That is, as shown in the example of the soft resampling in FIG. 5, each MIDI event is once converted on the time axis based on its tempo and the delta time that is the time interval information of the event occurrence, and the time axis of the pack is further converted. By converting to, the automatic expansion to the time axis at the time of subcode conversion by soft resampling is performed. It should be noted that the MIDI code is not limited to the CD, but may be added to the subcode area of another digital recording medium such as a DAT or a digital VTR.
It is also possible to record the signal in the manner described above in the discussion. Further, although the Tick rate is set to be the same as the pack rate in the present embodiment, the same effect can be obtained even if the pack rate is rational multiple.

【0032】[0032]

【発明の効果】以上説明したように、請求項1に記載の
本発明によれば、MIDI信号再生手段によってMID
Iシーケンスを記録したファイルから再生されたMID
I信号を、MIDI信号記録手段により、あらかじめデ
ジタル記録媒体のサブコードの記録レートの有理数倍の
テンポでリサンプリングするようにしたので、デジタル
記録媒体のサブコードにMIDI信号を記録する際のデ
ータ変換を行い易くすることができるという効果を奏す
る。
As described above, according to the present invention as set forth in claim 1, the MID is reproduced by the MIDI signal reproducing means.
MID reproduced from the file recording the I sequence
Since the I signal is resampled by the MIDI signal recording means in advance at a tempo that is a rational multiple of the recording rate of the subcode of the digital recording medium, data conversion when recording the MIDI signal in the subcode of the digital recording medium is performed. This has the effect of facilitating the operation.

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

【図1】本発明の第1実施例に係るMIDI編集装置を
示す構成図である。
FIG. 1 is a configuration diagram showing a MIDI editing apparatus according to a first embodiment of the present invention.

【図2】本発明の第2実施例に係るMIDI編集装置を
示す構成図である。
FIG. 2 is a configuration diagram showing a MIDI editing apparatus according to a second embodiment of the present invention.

【図3】本発明の第3実施例に係るMIDI編集装置を
示す構成図である。
FIG. 3 is a configuration diagram showing a MIDI editing apparatus according to a third embodiment of the present invention.

【図4】本発明の第4実施例に係るMIDI編集装置を
示す構成図である。
FIG. 4 is a configuration diagram showing a MIDI editing apparatus according to a fourth embodiment of the present invention.

【図5】編集プロセスのリサンプル工程におけるソフト
リサンプルの例を示す説明図である。
FIG. 5 is an explanatory diagram showing an example of soft resampling in a resampling step of an editing process.

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

1 スタンダードMIDIファイル 2 MIDI信号再生部 3 MIDI信号記録部 4 スタンダードMIDIファイル変換部 5 サブコード変換部 6 CDカッティング装置 7 SMPTEタイムコード発生器 1 Standard MIDI File 2 MIDI Signal Playback Section 3 MIDI Signal Recording Section 4 Standard MIDI File Conversion Section 5 Subcode Conversion Section 6 CD Cutting Device 7 SMPTE Time Code Generator

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 MIDIシーケンスを記録したファイル
からMIDI信号を再生するMIDI信号再生手段と、
前記MIDI信号をCDのサブコードの記録レートの有
理数倍のテンポで再度サンプリングして記録するMID
I信号記録手段とを有するMIDI編集装置。
1. A MIDI signal reproducing means for reproducing a MIDI signal from a file in which a MIDI sequence is recorded,
MID to resample and record the MIDI signal at a tempo that is a rational number multiple of the recording rate of the CD subcode
A MIDI editing device having I signal recording means.
JP5160084A 1993-06-04 1993-06-04 MIDI editing device Expired - Lifetime JP2982563B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5160084A JP2982563B2 (en) 1993-06-04 1993-06-04 MIDI editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5160084A JP2982563B2 (en) 1993-06-04 1993-06-04 MIDI editing device

Publications (2)

Publication Number Publication Date
JPH06348259A true JPH06348259A (en) 1994-12-22
JP2982563B2 JP2982563B2 (en) 1999-11-22

Family

ID=15707524

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5160084A Expired - Lifetime JP2982563B2 (en) 1993-06-04 1993-06-04 MIDI editing device

Country Status (1)

Country Link
JP (1) JP2982563B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003006936A1 (en) * 2001-07-10 2003-01-23 Amusetec Co., Ltd. Method and apparatus for replaying midi with synchronization information

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003006936A1 (en) * 2001-07-10 2003-01-23 Amusetec Co., Ltd. Method and apparatus for replaying midi with synchronization information
US7470856B2 (en) 2001-07-10 2008-12-30 Amusetec Co., Ltd. Method and apparatus for reproducing MIDI music based on synchronization information

Also Published As

Publication number Publication date
JP2982563B2 (en) 1999-11-22

Similar Documents

Publication Publication Date Title
JP3245890B2 (en) Beat detection device and synchronization control device using the same
JP4403658B2 (en) Music data output device and music data output method
US7221852B2 (en) Motion picture playback apparatus and motion picture playback method
US7622664B2 (en) Performance control system, performance control apparatus, performance control method, program for implementing the method, and storage medium storing the program
JPS619883A (en) Device for generating synchronizing signal
US5621538A (en) Method for synchronizing computerized audio output with visual output
WO1999040566A1 (en) Method and apparatus for digital signal processing, method and apparatus for generating control data, and medium for recording program
WO2006043380A1 (en) Sound producing method, sound source circuit, electronic circuit using same, and electronic device
US5450597A (en) Method and apparatus for synchronizing midi data stored in sub-channel of CD-ROM disc main channel audio data
JP2982563B2 (en) MIDI editing device
JPH05297867A (en) Synchronous playing device
JP2797810B2 (en) Digital audio equipment
JP2006023748A (en) Moving image playback device and moving image playback method
JP3716812B2 (en) Movie playback apparatus and movie playback method
JPH0934477A (en) Karaoke device
JPH06325560A (en) Midi editorial system
JP2919484B2 (en) Synchronous playback control method for still image and audio
JP3804536B2 (en) Musical sound reproduction recording apparatus, recording apparatus and recording method
JP2003044043A (en) Synchronizing controller for midi data
JPS5814189A (en) Performance recording controller
JP3439708B2 (en) Method for recording and reproducing music PCM data recorded on a magnetic tape together with a time code on a random access recording medium
JPH09288484A (en) Recording and reproducing device and recording method of recording medium
JPH0533400B2 (en)
JP3407625B2 (en) Automatic performance apparatus, automatic performance method, and medium recording program
JP3412769B2 (en) Performance data processing method for electronic musical instruments

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990824

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

Free format text: PAYMENT UNTIL: 20080924

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20080924

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090924

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090924

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100924

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100924

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110924

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120924

Year of fee payment: 13