JPH02220290A - System and device for recording midi signal - Google Patents
System and device for recording midi signalInfo
- Publication number
- JPH02220290A JPH02220290A JP1042072A JP4207289A JPH02220290A JP H02220290 A JPH02220290 A JP H02220290A JP 1042072 A JP1042072 A JP 1042072A JP 4207289 A JP4207289 A JP 4207289A JP H02220290 A JPH02220290 A JP H02220290A
- Authority
- JP
- Japan
- Prior art keywords
- rhythm
- midi
- signal
- data
- clock
- 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.)
- Pending
Links
- 230000033764 rhythmic process Effects 0.000 claims abstract description 128
- 238000000034 method Methods 0.000 claims description 17
- 238000010586 diagram Methods 0.000 description 10
- 230000007423 decrease Effects 0.000 description 3
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 2
- SEQDDYPDSLOBDC-UHFFFAOYSA-N Temazepam Chemical compound N=1C(O)C(=O)N(C)C2=CC=C(Cl)C=C2C=1C1=CC=CC=C1 SEQDDYPDSLOBDC-UHFFFAOYSA-N 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Electrophonic Musical Instruments (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野〕
本発明はデジタル信号の記録方式及び装置に関し、特に
電子楽器を制御するためのMIDI信号記録方式及びM
IDI信号記録装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a digital signal recording method and device, and in particular to a MIDI signal recording method and a digital signal recording method for controlling an electronic musical instrument.
The present invention relates to an IDI signal recording device.
[従来の技術]
種々の電子楽器を所定のフォーマットに従ったデジタル
信号で駆動制御するものとしてMIDI規格がある。こ
のMIDI規格に従ってキーボード装置、電子楽器等が
既に実用化されており、単一のキーボード装置の操作に
より、多数の電子楽器を駆動しえるようになっている。[Prior Art] There is a MIDI standard for driving and controlling various electronic musical instruments using digital signals according to a predetermined format. Keyboard devices, electronic musical instruments, etc. have already been put into practical use in accordance with this MIDI standard, and it has become possible to drive a large number of electronic musical instruments by operating a single keyboard device.
又、本出願人はMIDI規格に基づく8ビツトのデータ
(以下MIDIワードという)を予め磁気テープに記録
しておき、これを再生することにより、キーボードの操
作なしに1又は複数の電子楽器を駆動するデジタル情報
記録及び記録再生方式を開発し特許出願している。これ
は特開昭82−146470号公報に示されているよう
に楽器の演奏に関するデジタル情報、すなわち音程、音
階及び音の長さ等の楽器制御情報をMIDIワードとし
てヘリカルスキャン方式の磁気記録再生装置にて予め記
録しておき、これを再生してスタートビットとストップ
ビットを付加して10ビツトのMIDI信号を各楽器に
与えて駆動するものである。Additionally, the applicant has previously recorded 8-bit data based on the MIDI standard (hereinafter referred to as MIDI words) on a magnetic tape, and by playing this data, it is possible to drive one or more electronic musical instruments without operating a keyboard. We have developed a digital information recording and recording/playback method and have applied for a patent. This is a helical scan type magnetic recording and reproducing device that uses MIDI words to store digital information related to the performance of musical instruments, that is, musical instrument control information such as pitch, scale, and length of notes, as shown in Japanese Patent Application Laid-open No. 82-146470. The MIDI signals are recorded in advance in a computer, played back, a start bit and a stop bit are added, and a 10-bit MIDI signal is applied to each musical instrument to drive it.
[発明が解決しようとする課題]
上記磁気記録再生装置を用いればスタートビットとスト
ップビットを含む計10ビットで構成されるMIDI信
号からスタートビットとストップビットを除いた8ビツ
トからなるMIDIワードをそのまま磁気テープに記録
、再生できるが、コンパクトディスクのサブコードにM
IDIワードを記録しておきコンパクトディスクプレー
ヤにて再生することができなかった。これは1つのMI
DIワードが8ビツトで構成されているのに対して、コ
ンパクトディスク(以下CDという)のサブコードの1
フレーム中、タイムコード等に用いられる2ビツトを除
いた部分はR,S・・・Wからなる6ビツトで構成され
ているので、MIDIワードをそのままCDのサブコー
ドチャンネルに記録することができないからである。ま
た、伝送レートも3,8008PS (バイトバーセカ
ンド)、すなわち28.800bpsであり、31 、
250bpsのMIDI信号をそのまま記録することは
できない。[Problems to be Solved by the Invention] If the magnetic recording/reproducing device described above is used, a MIDI word consisting of 8 bits excluding the start bit and stop bit from a MIDI signal consisting of a total of 10 bits including a start bit and a stop bit can be converted as is. It can be recorded and played back on magnetic tape, but the compact disc subcode is M.
IDI words could not be recorded and played back on a compact disc player. This is one MI
While the DI word consists of 8 bits, one of the subcodes of a compact disc (hereinafter referred to as CD)
Since the part of the frame excluding the 2 bits used for time code etc. consists of 6 bits consisting of R, S...W, it is not possible to record MIDI words as they are on the subcode channel of a CD. It is. Also, the transmission rate is 3,8008 PS (bytes per second), or 28.800 bps, 31,
It is not possible to record a 250 bps MIDI signal as is.
かかる問題を解決すべく本出願人は、本発明に先立って
CDのサブコードチャンネルにMIDI信号を記録して
おき、これをCDプレーヤで再生して元のMIDI信号
を作ることができるようにしたMIDIID後調装置を
開発し、特許出願(特願昭63−294407号)を行
っている。In order to solve this problem, the applicant recorded a MIDI signal in the subcode channel of a CD prior to the present invention, and made it possible to reproduce this signal on a CD player to create the original MIDI signal. We have developed a MIDIID post-tuning device and have filed a patent application (Japanese Patent Application No. 1983-294407).
このようにCDやDAT等のデジタル信号記録媒体に予
め記録したMIDI信号をデコードして電子楽器を駆動
することができるが、デジタル記録媒体の補助記録領域
に記録されたMIDI信号によってシンセサイザとリズ
ムマシンを自動演奏させる場合、再生時、ストップやサ
ーチ等の操作及び訂正不能なエラーの発生によって演奏
データとリズムとの周期がずれるという問題がある。す
なわち、MIDI信号に基づいて上記の如く演奏を行う
際、リズムスタート信号によってリズムマシンに予めプ
ログラムされたリズムパターンのシーケンスがスタート
し、以後はりズムクロック信号を受けてシーケンスが進
むが、MIDI規格は元来リアルタイムの演奏情報即ち
時間軸が連続していることを前提にしたものであるため
、曲の途中で早送り操作等をすると、再スタートする演
奏データの位置がリズムパターンの位置と合致しなくな
り、また通常の再生状態でもディスク上の傷などにより
リズムクロック信号が増減することによってもリズムと
の周期がずれる。場合があった。In this way, it is possible to drive an electronic musical instrument by decoding MIDI signals recorded in advance on a digital signal recording medium such as a CD or DAT, but it is possible to drive a synthesizer and a rhythm machine using MIDI signals recorded in the auxiliary recording area of the digital recording medium. When performing automatically, there is a problem that during playback, the period between the performance data and the rhythm may deviate due to operations such as stop or search and the occurrence of uncorrectable errors. In other words, when performing as described above based on MIDI signals, a rhythm start signal starts the rhythm pattern sequence pre-programmed into the rhythm machine, and the sequence proceeds in response to the rhythm clock signal, but the MIDI standard Since it is originally based on the premise that real-time performance information, that is, the time axis is continuous, if you perform fast-forward operations in the middle of a song, the position of the restarted performance data will not match the position of the rhythm pattern. Furthermore, even in normal playback conditions, the rhythm cycle may shift due to increases or decreases in the rhythm clock signal due to scratches on the disc or the like. There was a case.
従って、本発明はMIDI信号の再生時に演奏データと
リズムとの周期がずれることのないMIDI信号記録方
式及び装置を提供することを目的とする。Therefore, it is an object of the present invention to provide a MIDI signal recording method and apparatus that does not cause a period shift between performance data and rhythm when reproducing MIDI signals.
[課題を解決するための手段]
本発明は上記目的を達成するためになされたもので、デ
ジタル信号記録媒体にMIDI信号を記録する際に、リ
ズムパターンの繰返し周期毎にその先頭タイミングでリ
ズムストップ、リズムスタート及びリズムクロック信号
を順次連続して記録するMIDI信号記録方式を提供す
るものである。[Means for Solving the Problems] The present invention has been made to achieve the above object, and when recording a MIDI signal on a digital signal recording medium, a rhythm stop is performed at the beginning timing of each repetition period of a rhythm pattern. , a MIDI signal recording method for recording rhythm start and rhythm clock signals sequentially and continuously.
また、本発明は、リズムマシンから送出されるリズムス
タート信号に基づいてリズムクロック信号をカウントす
るカウント手段と、そのカウント値が設定値となった時
にリズムストップ信号、リズムスタート信号及びリズム
クロック信号を順次連続して生成すると共に前記設定値
を再設定する手段とを備え、前記生成されたリズム信号
をデジタル信号記録媒体に記録するMIDI信号記録装
置を提供するものである。The present invention also provides a counting means for counting rhythm clock signals based on a rhythm start signal sent from a rhythm machine, and a rhythm stop signal, a rhythm start signal, and a rhythm clock signal when the count value reaches a set value. The present invention provides a MIDI signal recording device that records the generated rhythm signal on a digital signal recording medium, and includes means for sequentially and continuously generating the rhythm signal and resetting the set value.
[作用]
本発明のMIDI信号記録再生方式及び装置は、上記の
方式を採用すると共に上記の構成を備えているので、デ
ジタル信号記録媒体をストップやサーチ等の操作により
一時中断させて再生する場合や訂正不能なエラー発生時
等において、任意の位置から再生してもリズムが正常に
演奏されるリズム信号が生成される。[Function] The MIDI signal recording/reproducing method and device of the present invention employs the above-mentioned method and has the above-mentioned configuration, so that when the digital signal recording medium is temporarily interrupted and played back by operations such as stop and search, A rhythm signal is generated that allows the rhythm to be played normally even if it is played back from any position, even when an uncorrectable error occurs.
[実施例]
まず、本発明の具体的実施例を説明する前に、CDのサ
ブコードチャンネル内へのMIDI信号の記録フォーマ
ットについて述べる。[Embodiments] First, before describing specific embodiments of the present invention, a recording format of a MIDI signal in a subcode channel of a CD will be described.
第6図はCDのサブコードチャンネルの1パツク分、す
なわちフレーム0からフレーム23までのデータの格納
状況を示す図である。各フレームについてRからWまで
の6ビツトのデータが格納されるようになっており、M
IDIデータはフレーム4からフレーム19までにわた
つ゛て格納されている。各フレームは6ビツト構成であ
り、格納されているMIDIデータはバイト、すなわち
8ビット単位である。1バイトのMIDIデータは例え
ばフレーム4のR−W 1.: a oで示される6ビ
ツトとフレーム5のR,SEa で示される2ビッ
トの計8ビットからなっている。以下同様にフレーム5
の残りのT−Wに4ビツトのboとフレーム6のR〜U
に4ビツトのb の組合せにより1バイトのデータが
構成されるという態様で、フレーム4からフレーム19
までの16フレームにわたって12バイトのMIDIデ
ータが格納されている。FIG. 6 is a diagram showing the storage status of data for one pack of subcode channels of a CD, that is, from frame 0 to frame 23. Six bits of data from R to W are stored for each frame, and M
The IDI data is stored from frame 4 to frame 19. Each frame has a 6-bit structure, and the stored MIDI data is in units of bytes, or 8 bits. One byte of MIDI data is, for example, frame 4 R-W 1. : Consists of a total of 8 bits: 6 bits indicated by ao and 2 bits indicated by R and SEa of frame 5. Similarly, frame 5
4-bit bo and R to U of frame 6 in the remaining T-W of
frame 4 to frame 19 in such a manner that 1 byte of data is constructed by a combination of 4 bits b.
12 bytes of MIDI data are stored over 16 frames.
第5図は最終的に送り出すべきMIDIデータの1バイ
ト分の信号波形図であり、8ビツトのMIDIデータの
先頭に論理Oのスタートビットと末尾に論理1のストッ
プビットが加えられている。FIG. 5 is a signal waveform diagram of one byte of MIDI data to be finally sent out, and a logical 0 start bit is added to the beginning of the 8-bit MIDI data, and a logical 1 stop bit is added to the end.
第6図は送り出されるべき1パツク中のMIDIデータ
の構成を示している。第6図中のao’o”o等は第6
図のサブコード内のデータとの対応を示すものである。FIG. 6 shows the structure of MIDI data in one pack to be sent out. ao'o"o etc. in Figure 6 are the 6th
This shows the correspondence with the data in the subcode in the figure.
ここでMIDI規格について簡単に説明すると、MID
Iデータは1秒当り3125バイトの速度で送信される
。又第4図のサブコードは24フレームからなる1パツ
クを示しているが、CDからは1秒当り300パツクが
再生されるので、MIDIデータは6ビツト×16フレ
ーム×300バツク−28800bpsで再生される。To briefly explain the MIDI standard here, MID
I data is sent at a rate of 3125 bytes per second. Also, the subcode in Figure 4 shows one pack consisting of 24 frames, but since 300 packs are played from a CD per second, the MIDI data is played back at 6 bits x 16 frames x 300 backs - 28,800 bps. Ru.
これをバイト単位で表すと28800bps/ 8−3
8008PS (バイトバーセカンド)となりMID
Iデータの31258PSを上回ってしまう。従って全
てのバックについて1バック当り12バイトのMIDI
データを格納しておくことはMIDI規格上規格上戸い
。そこで、その対策として300パツクで3125バイ
トとなるように予めCDのサブコードに記録するときに
工夫しておくことが必要である。例えば300パツクを
12パツク毎に25分割し、各12パツクのグループ毎
にMIDIデータが最大11バイト入っているものを5
パツク、MIDIデータが最大10バイト入っているも
のを7バツクとすれば、このグループのMIDIバイト
の総計は最大125バイトとなり、300パック全体で
3125バイト以下とすることができる。Expressing this in bytes, it is 28,800bps/8-3
8008PS (bite bar second) and MID
This exceeds the I data's 31,258 PS. Therefore, 12 bytes of MIDI per back for all backs.
Storing data is standard according to the MIDI standard. Therefore, as a countermeasure for this, it is necessary to devise measures in advance when recording the subcode of the CD so that 300 packs are 3125 bytes. For example, divide 300 packs into 25 packs of 12 packs, and each group of 12 packs contains up to 11 bytes of MIDI data.
If we assume that there are 7 packs containing up to 10 bytes of MIDI data, the total MIDI bytes of this group will be 125 bytes at most, and the total of 300 packs can be 3125 bytes or less.
しかし、MIDIデータの多くはノートオンコマンドと
ノートオフコマンドであり、これらは各々3バイトから
なっているので3の倍数の12バイトを基準に考えた方
がよい。そこで上記各グループにおいていくつかのバッ
クには12バイトを入れ、残りのバックには11バイト
以下のデータを入れて全体として125バイト以下とな
るようにすることが好ましい。However, most of the MIDI data is note-on commands and note-off commands, each of which consists of 3 bytes, so it is better to consider 12 bytes, which is a multiple of 3, as the standard. Therefore, in each group, it is preferable to put 12 bytes into some of the backs and put 11 bytes or less of data into the remaining backs so that the total size is 125 bytes or less.
ところで、CDのサブコードにMIDIデータを入れる
CD−MIDIは、通常MIDIを用いてシンセサイザ
とリズムマシンを自動演奏させる場合、各種MIDIデ
ータと共にリズムクロックデータをディスクに記録し、
リズムスタートコマンドFA(16進数(以下同じ))
でリズムマシンが予めプログラムしているリズムパター
ンのシーケンスがスタートシ、以後はタイミングクロッ
クコマンドF8を受けてシーケンスが進むようになされ
ているが、曲の途中で早送り操作等をすると再スタート
する位置がリズムパターンの位置と合致しなくなり、ま
た通常の再生状態でもディスク上の傷などによりタイミ
ングクロックが増減する場合もあり、演奏データとリズ
ムとの同期がずれることになる。By the way, CD-MIDI, which stores MIDI data in subcodes of a CD, usually records rhythm clock data on a disc along with various MIDI data when automatically playing a synthesizer and rhythm machine using MIDI.
Rhythm start command FA (hexadecimal number (same below))
The rhythm pattern sequence pre-programmed by the rhythm machine starts at the beginning, and from then on the sequence advances in response to the timing clock command F8. However, if you perform fast-forward operations in the middle of the song, the restart position may change. It no longer matches the position of the rhythm pattern, and even under normal playback conditions, the timing clock may increase or decrease due to scratches on the disc, resulting in a loss of synchronization between the performance data and the rhythm.
すなわち、第1図は本発明の前提技術となる処理前のM
IDIデータ(同図(a))と本発明方式(同図(b)
)を説明する処理後のMIDIデータを時間経過に対し
て示すもので、図中、記号は(1) 903C40;
C4音のノートオンコマンド(2) 3CGo ;ラ
ンニングステータスによりステータスを省略したC4音
のノ
ートオフコマンド
(3)FA ;リズムスタートコマンド(4)F8
;タイミングクロックコマンド(5)FC、リズ
ムストップコマンド
(6) PG 4803 ;システムエクスクル−シブ
コマ・・・P7 、ド
(7) 903E40 ; D 4音のノートオンコマ
ンドをそれぞれ示し、同図(a)において例えば4ハ拍
子で2小節繰返すリズムパターンでは、MIDI規格で
は4分音符−の間に24回のタイミングクロックF8が
送出されることになっているので、その繰返し周期間に
24×4拍子×2小節−192回のタイミングクロック
が送出されることになる。That is, FIG. 1 shows M before processing, which is the basic technology of the present invention.
IDI data ((a) in the same figure) and the method of the present invention ((b) in the same figure)
) is shown over time after processing to explain MIDI data. In the figure, the symbols are (1) 903C40;
Note-on command for C4 note (2) 3CGo; Note-off command for C4 note with status omitted due to running status (3) FA; Rhythm start command (4) F8
; Timing clock command (5) FC, Rhythm stop command (6) PG 4803 ; System exclusive frame...P7, C (7) 903E40 ; D Indicates the note-on command for each of the four notes, as shown in Figure (a) For example, in a rhythm pattern that repeats 2 bars in 4 C time, the MIDI standard requires that timing clock F8 be sent 24 times between quarter notes, so 24 x 4 beats x 2 bars - 192 timing clocks will be transmitted.
しかしながら、演奏途中で前述した如く早送り、停止、
エラー等により演奏データが中断して再スタートする場
合またはディスク上の傷などによりタイミングクロック
が増減する場合には演奏データとリズムとの同期がずれ
ることになり、好ましくない。However, as mentioned above, during the performance, there are fast forwards, stops,
If the performance data is interrupted and restarted due to an error or the like, or if the timing clock increases or decreases due to scratches on the disc, the synchronization between the performance data and the rhythm will be lost, which is undesirable.
従って、本発明はデジタル信号記録媒体の補助信号記録
領域にMIDI信号を記録する際に、リズムパターンの
繰返し周期毎にその先頭タイミングでリズムストップ、
リズムスタート及びリズムクロック信号を順次連続して
記録することにより、演奏途中で中断し再スタートして
もリズムパターンの繰返し周期の頭で正確にリズムマシ
ンをスタートさせることができ、またMIDI信号が欠
落してもリズムの同期関係を回復させることができるM
IDI信号記録方式を採用する。Therefore, when recording a MIDI signal in the auxiliary signal recording area of a digital signal recording medium, the present invention provides a rhythm stop and a rhythm stop at the beginning timing of each rhythm pattern repetition period.
By recording the rhythm start and rhythm clock signals sequentially and continuously, the rhythm machine can be started accurately at the beginning of the rhythm pattern repeat cycle even if the performance is interrupted and restarted, and it is possible to prevent MIDI signals from being missed. M that can restore rhythm synchronization even if
Adopts IDI signal recording method.
即ち、第1図(b)の(5)に示す如く、本発明方式に
おいては、リズム繰返し周期Tの先頭にリズムストップ
コマンドFC,リズムスタートコマンドFA及びタイミ
ングクロックコマンドF8を順次記録する。That is, as shown in (5) of FIG. 1(b), in the method of the present invention, a rhythm stop command FC, a rhythm start command FA, and a timing clock command F8 are sequentially recorded at the beginning of the rhythm repetition period T.
第2図は上述した本発明のMIDI信号記録方式を採用
したMIDI信号記録装置の一実施例を示すブロック図
である。図中、1と2はパーソナルコンピュータとこれ
に組込まれたMIDI制御装置で、このMIDI制御装
置2によりシンセサイザ3とリズムマシン4を自動演奏
させるようになされ、またシンセサイザ3は生演奏によ
る演奏データをパーソナルコンピュータ1に記録するよ
うになされ、さらにリズムマシン4は予め所望のリズム
パターンをプログラムしておき、必要なタイミングでス
タート・ストップボタン41を操作することにより起動
及び停止されるようになされており、これらの演奏情報
はMIDIケーブル21.22.31.42を通してリ
ズム信号形成装置5に与えられる。FIG. 2 is a block diagram showing an embodiment of a MIDI signal recording device employing the above-mentioned MIDI signal recording method of the present invention. In the figure, reference numerals 1 and 2 indicate a personal computer and a MIDI control device incorporated therein. The MIDI control device 2 causes a synthesizer 3 and a rhythm machine 4 to perform automatically, and the synthesizer 3 receives performance data from live performance. The rhythm machine 4 is configured to record on the personal computer 1, and furthermore, the rhythm machine 4 is configured to have a desired rhythm pattern programmed in advance and to be started and stopped by operating a start/stop button 41 at the required timing. , these performance information are given to the rhythm signal forming device 5 through MIDI cables 21, 22, 31, and 42.
リズム信号形成装置5は、通常のマイクロコンピュータ
システムにより構成され、前記ケーブル42を介して受
信された3125バイト/秒のシリアルデータをパラレ
ル変換(S→P)シてRAM52の受信バッファに一時
保存すると共に、送信すべきMIDIデータをパラレル
シリアル変換(P−8)して送出するデータ変換部51
、時間基準としてのクロックを発生するCTC(カウン
タタイマサーキット)53、キーボード55のキー人力
を受けたり表示器56を駆動したりするためのインター
フェースであるPIO(パラレルインアウト)54、制
御プログラムを格納しているROM57及びCPU59
を備えている。このリズム信号形成装置5は第3図に示
すフローチャートに従って動作し、出力されるMIDI
データは、エンコーダ6により第4図に示されるCD−
MIDI記録フォーマットに従って8ビツトから6ビツ
トへのビット変換がなされると共にリズムパターンの繰
返し周期毎にその先頭タイミングでリズムストップ、リ
ズムスタート及びタイミングクロックの各コマンドが連
続してマスターディスクとなるCD7上に記録される。The rhythm signal forming device 5 is constituted by a normal microcomputer system, converts the 3125 bytes/second serial data received via the cable 42 into parallel (S→P), and temporarily stores it in the reception buffer of the RAM 52. At the same time, a data converter 51 converts the MIDI data to be transmitted from parallel to serial (P-8) and sends it out.
, a CTC (counter timer circuit) 53 that generates a clock as a time standard, a PIO (parallel in/out) 54 that is an interface for receiving human input from keys on a keyboard 55 and driving a display 56, and storing a control program. ROM57 and CPU59
It is equipped with This rhythm signal forming device 5 operates according to the flowchart shown in FIG.
The encoder 6 transfers the data to the CD-ROM shown in FIG.
Bit conversion is performed from 8 bits to 6 bits according to the MIDI recording format, and the rhythm stop, rhythm start, and timing clock commands are sequentially sent at the beginning timing of each repetition period of the rhythm pattern on the CD 7, which serves as the master disk. recorded.
第3図は上記リズム信号形成装置5の動作フローチャー
トを示すものである。即ち、先ず、パワーオンまたはリ
セット等でプログラムがスタートすると、各デバイスの
初期化を行うと共にリズムスタートフラグを0にする。FIG. 3 shows an operation flowchart of the rhythm signal forming device 5. As shown in FIG. That is, first, when the program is started by power-on or reset, each device is initialized and the rhythm start flag is set to 0.
そしてキーボード55上のクロック設定スイッチを操作
してリズムパターンの繰返し周期、例えば4ハ拍子で2
小節繰返すリズムパターンではリズムクロックF8の設
定数を192と設定しこれをRAM52に記憶する。こ
の状態で入力されるMIDIデータを1バイト受信する
とそのデータは受信バッファに移されるので、そのデー
タを読みリズムマシン4がスタートしていない時はリズ
ムスタートフラグが0になっているからデータをそのま
まMIDI出力として送出する。Then, operate the clock setting switch on the keyboard 55 to set the repetition rate of the rhythm pattern, for example, 2 times in 4 C time.
In the rhythm pattern that repeats bars, the number of rhythm clocks F8 is set to 192 and this is stored in the RAM 52. When one byte of input MIDI data is received in this state, that data is moved to the reception buffer, so if you read that data and the rhythm machine 4 has not started, the rhythm start flag is 0, so the data is transferred as is. Send as MIDI output.
リズムマシン4がスタートすると、リズムスタートデー
タFAが得られるのでリズムスタートフラグを1にセッ
トし、その後リズムクロックデータF8を受信するとR
AM52にストアされた設定値をデクリメントしリズム
クロックデータF8を送出する。ここで、前記設定値で
ある192回デクリメントすると、そのカウント値は0
となるのでリズムストップFC,リズムスタートFA及
びリズムクロックF8の各コマンドを順次連続して送出
すると共にカウント値を再設定する。このような処理に
よりリズムスタート後は2小節毎に小節の頭にリズムス
トップFC,リズムスタートFA及びリズムクロックF
8が1組になって挿入されることになる。なお、前記リ
ズムスタートフラグを1にセットした後、リズムマシン
4をストップ操作すると、MIDI入力にリズムストッ
プデータFCが受信されるのでリズムスタートフラグを
0にリセットし、その後リズムクロックデータF8を受
信しても前述したリズムコマンドは生成しなくなる。リ
ズムマシン4のストップ操作がなされた場合はリズムス
トップデータFCが受信されるのでこれに基づいてリズ
ムスタートフラグをクリアしカウント値を再設定する必
要がある。When the rhythm machine 4 starts, the rhythm start data FA is obtained, so the rhythm start flag is set to 1, and then when the rhythm clock data F8 is received, the R
The set value stored in AM52 is decremented and rhythm clock data F8 is sent out. Here, when the set value is decremented 192 times, the count value becomes 0.
Therefore, the commands Rhythm Stop FC, Rhythm Start FA, and Rhythm Clock F8 are successively sent out in sequence, and the count value is reset. With this process, after the rhythm start, the rhythm stop FC, rhythm start FA, and rhythm clock F are displayed at the beginning of every two measures.
8 will be inserted as a set. Note that when the rhythm machine 4 is stopped after setting the rhythm start flag to 1, the rhythm stop data FC is received at the MIDI input, so the rhythm start flag is reset to 0, and then the rhythm clock data F8 is received. However, the above-mentioned rhythm command will no longer be generated. When the rhythm machine 4 is stopped, rhythm stop data FC is received, and it is necessary to clear the rhythm start flag and reset the count value based on this data.
なお、第1図(a) 、 (b)は上述した処理を示す
もので、リズム信号形成装置5に入力されるMIDIデ
ータ(同図(a))とリズム信号形成装置5により処理
されて送出されるMIDIデータ(同図(b))を時間
経過に対して示したものである。Note that FIGS. 1(a) and 1(b) show the above-mentioned processing, in which the MIDI data input to the rhythm signal forming device 5 (FIG. 1(a)) and the MIDI data processed by the rhythm signal forming device 5 and sent out. The MIDI data ((b) in the same figure) is shown over time.
従って、上記実施例によれば、CDサブコードから再生
されたMIDIID−より、市販のシンセサイザ及びリ
ズムマシンを自動演奏させるとき、CDプレーヤを任意
の位置から再生スタートしても小節の頭またはリズムパ
ターンの最小繰返し周期の頭で正確にリズムマシンをス
タートさせることができ、またCDの傷などによりMI
DIID−欠落してもリズムの同期関係が回復できる。Therefore, according to the above-mentioned embodiment, when a commercially available synthesizer and rhythm machine are made to automatically play from MIDIID- reproduced from a CD subcode, even if the CD player starts playing from an arbitrary position, it is possible to reach the beginning of a measure or the rhythm pattern. The rhythm machine can be started accurately at the beginning of the minimum repetition cycle of
DIID- Rhythm synchronization can be restored even if it is lost.
また本発明方式に従ってリズム信号を記録しておけば、
CDプレーヤ(デコーダ)側でスタート信号(FA)間
のクロック数を演奏することにより、リズムの拍数(何
拍目であるか)及び小節の頭のタイミングを表示させる
ことが出来るので、楽器の練習などに便利である。Furthermore, if the rhythm signal is recorded according to the method of the present invention,
By playing the clock number between the start signals (FA) on the CD player (decoder) side, it is possible to display the rhythm beat number (what beat it is) and the timing of the beginning of the measure, so the instrument Convenient for practice, etc.
[発明の効果]
以上詳細に説明したことから明らかなように、本発明の
MIDI信号記録方式及び装置ではデジタル信号記録媒
体にMIDIID−記録する際に、リズムパターンの繰
返し周期毎にその先頭タイミングでリズムストップ、リ
ズムスタート及びリズムクロック信号を順次連続して記
録するので、シンセサイザやリズムマシンを自動演奏さ
せる際、プレーヤを任意の位置から再生スタートしても
リズムノ°クターンの繰返し周期の先頭タイミングでリ
ズムマシンを正確にスタートさせることができ、またデ
ジタル信号記録媒体上の傷などによりMIDIID−欠
落してもリズムの同期関係を回復できる。[Effects of the Invention] As is clear from the detailed explanation above, in the MIDI signal recording method and device of the present invention, when MIDI-recording is performed on a digital signal recording medium, the MIDI signal is recorded at the beginning timing of each rhythm pattern repetition period. Rhythm stop, rhythm start, and rhythm clock signals are recorded sequentially and continuously, so when automatically playing a synthesizer or rhythm machine, even if you start playback from an arbitrary position, the rhythm will start at the beginning of the rhythm nocturne repetition cycle. The machine can be started accurately, and even if the MIDI ID is lost due to a scratch on the digital signal recording medium, the rhythm synchronization relationship can be restored.
第1図は本発明の前提技術となる処理前と本発明方式に
基づく処理後のMIDIデータ(リズム信号の生成)を
時間経過に対して示した説明図、第2図は本発明のMI
DI信号記録装置の一実施例を示すブロック図、第3図
は第2図のリズム信号形成装置5部を構成するマイクロ
コンピュータの処理を示すフローチャート、第4図はC
DのサブコードのR−Wチャンネルの1パック分を示す
図、第5図は送出すべきMIDIID−1バイト分の波
形図、第6図は第4図の1バイトのサブコード内のMI
DIデータを12バイトのMIDIID−し、第5図の
波形図に従ったものとした図である。
4・・・リズムマシン、5・・・リズム信号形成装置、
7・・・CD0
第3
第
図
図
第
図FIG. 1 is an explanatory diagram showing MIDI data (rhythm signal generation) before processing, which is the basic technology of the present invention, and after processing based on the method of the present invention (rhythm signal generation) over time.
A block diagram showing an embodiment of the DI signal recording device, FIG. 3 is a flowchart showing the processing of the microcomputer that constitutes the rhythm signal forming device 5 section of FIG. 2, and FIG.
A diagram showing one pack of the R-W channel of the D subcode, Figure 5 is a waveform diagram of 1 byte of MIDI ID to be sent, and Figure 6 is a diagram showing the MIDI ID in the 1 byte subcode of Figure 4.
5 is a diagram in which DI data is converted into 12-byte MIDI ID-, and it follows the waveform diagram of FIG. 5. FIG. 4... Rhythm machine, 5... Rhythm signal forming device,
7...CD0 3rd figure figure figure figure
Claims (2)
際に、リズムパターンの繰返し周期毎にその先頭タイミ
ングでリズムストップ、リズムスタート及びリズムクロ
ック信号を順次連続して記録するMIDI信号記録方式
。(1) When recording MIDI signals on a digital signal recording medium, a MIDI signal recording method in which rhythm stop, rhythm start, and rhythm clock signals are sequentially and continuously recorded at the leading timing of each rhythm pattern repetition cycle.
に基づいてリズムクロック信号をカウントするカウント
手段と、そのカウント値が設定値となった時にリズムス
トップ信号、リズムスタート信号及びリズムクロック信
号を順次連続して生成すると共に前記設定値を再設定す
る手段とを備え、前記生成されたリズム信号をデジタル
信号記録媒体に記録するMIDI信号記録装置。(2) Counting means that counts rhythm clock signals based on the rhythm start signal sent from the rhythm machine, and when the count value reaches a set value, sequentially outputs the rhythm stop signal, rhythm start signal, and rhythm clock signal. a MIDI signal recording device for recording the generated rhythm signal on a digital signal recording medium, comprising means for generating the rhythm signal and resetting the set value.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1042072A JPH02220290A (en) | 1989-02-22 | 1989-02-22 | System and device for recording midi signal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1042072A JPH02220290A (en) | 1989-02-22 | 1989-02-22 | System and device for recording midi signal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02220290A true JPH02220290A (en) | 1990-09-03 |
Family
ID=12625866
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1042072A Pending JPH02220290A (en) | 1989-02-22 | 1989-02-22 | System and device for recording midi signal |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02220290A (en) |
-
1989
- 1989-02-22 JP JP1042072A patent/JPH02220290A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4942551A (en) | Method and apparatus for storing MIDI information in subcode packs | |
| KR0138333B1 (en) | IC memory card for recording audio data, audio data recording and reproducing apparatus using IC memory card | |
| JPH079749B2 (en) | MIDI signal demodulator | |
| JPS6035373A (en) | Data compression and restoration system | |
| WO1985002707A1 (en) | Disk reproducing apparatus | |
| KR100196586B1 (en) | Digital signal processing circuit | |
| US5056402A (en) | MIDI signal processor | |
| US4487101A (en) | Digital solid state recording of signals characterizing the playing of a musical instrument | |
| US5142959A (en) | Midi control apparatus and midi system | |
| JPH03203867A (en) | Digital signal processing circuit | |
| KR0138329B1 (en) | Interface method and apparatus in digital signal process system | |
| JP2516063B2 (en) | MIDI signal recording / reproducing device | |
| JP2523364B2 (en) | Digital signal recording / reproducing device | |
| JPH05217339A (en) | Data playback device | |
| JPH0738107B2 (en) | MIDI signal recording / reproducing system and device | |
| KR0171907B1 (en) | Data regenerating circuit of dat system | |
| JP2621226B2 (en) | Digital audio tape recorder | |
| JP2523362B2 (en) | MIDI signal recording / reproducing device | |
| KR940001053Y1 (en) | Frame Number Detection Circuit of Data Backup Device | |
| JPH0550067B2 (en) | ||
| JP2621225B2 (en) | Digital audio tape recorder | |
| JP2576953B2 (en) | Disk playback device | |
| JPH03259298A (en) | Midi controller and midi system | |
| JPS60239982A (en) | Multiple sound recording device | |
| JPH02201497A (en) | Digital signal recording and reproducing device |