JPH07101346B2 - MIDI controller and MIDI system - Google Patents
MIDI controller and MIDI systemInfo
- Publication number
- JPH07101346B2 JPH07101346B2 JP2059446A JP5944690A JPH07101346B2 JP H07101346 B2 JPH07101346 B2 JP H07101346B2 JP 2059446 A JP2059446 A JP 2059446A JP 5944690 A JP5944690 A JP 5944690A JP H07101346 B2 JPH07101346 B2 JP H07101346B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- midi
- subcode
- note
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【発明の詳細な説明】 技術分野 本発明は、MIDI(Musiacal Intrument Digital Interfa
ce)機器を制御するMIDI制御装置及びこれを含むMIDIシ
ステムに関する。TECHNICAL FIELD The present invention relates to MIDI (Musiacal Intrument Digital Interfa
ce) A MIDI control device for controlling a device and a MIDI system including the same.
背景技術 シンセサイザや電子ピアノ等の楽器連結接続して情報の
交換を可能とすべくMIDI規格が定められている。BACKGROUND ART MIDI standards have been established to enable information exchange by connecting musical instruments such as synthesizers and electronic pianos.
かかるMIDI規格によるハードウェアを備え、音楽情報を
担うように定義された形式の楽器演奏制御信号たるMIDI
制御信号の送受信をなす機能を有する電子楽器をMIDI機
器と称する。MIDI, which is a musical instrument performance control signal of a format defined to carry music information, equipped with the hardware according to the MIDI standard.
An electronic musical instrument having a function of transmitting and receiving control signals is called a MIDI device.
ところで、CD(コンパクトディスク),CD−V(ビデ
オ),CDフォーマットデジタル音声を含むLD(レーザデ
ィスク)等のディスクやDAT等のテープには、サブコー
ドが記録されている。サブコードはP,Q,R,S,T,U,V,Wチ
ャンネルからなり、そのうち、P及びQチャンネルはデ
ィスクプレーヤの制御や表示の目的で使用されている。By the way, subcodes are recorded on disks such as CDs (compact disks), CD-Vs (videos), LDs (laser disks) including CD format digital audio, and tapes such as DATs. The subcode consists of P, Q, R, S, T, U, V and W channels, of which the P and Q channels are used for the purpose of controlling and displaying the disc player.
一方、R〜Wチャンネルはユーザーズビットと呼ばれる
空チャンネルになっており、グラフィック,音声,画像
等と種々応用が検討され、グラフィックフォーマットに
ついての規格が既に提案されている。On the other hand, the R to W channels are empty channels called user's bits, and various applications such as graphics, voice, and images have been studied, and a standard for a graphic format has already been proposed.
このユーザーズビットには、MIDIフォーマット信号を記
録することもでき、規格も既に提案されている。A MIDI format signal can be recorded in this user's bit, and a standard has already been proposed.
この場合には、ディスクプレーヤによって再生されたオ
ーディオ・ビデオ信号をAVシステムに供給してディスク
に記録されたプログラムを視聴する外、AVシステムに併
設した1もしくはそれ以上のMIDI機器に演奏プログラム
情報を供給することが可能となるので、電子楽器等を含
む臨場感あふれるAVシステムの構築や、教育用ソフトの
作成等への応用が種々検討されている。In this case, in addition to supplying the audio / video signal reproduced by the disc player to the AV system to watch the program recorded on the disc, the performance program information is provided to one or more MIDI devices installed in the AV system. Since it can be supplied, various applications such as the construction of an AV system with a realistic sensation including electronic musical instruments and the creation of educational software are being studied.
ところで、MIDI機器は、ディスクプレーヤから順次供給
されるMIDIフォーマット信号をシリアル信号に変換した
MIDI信号によって形成される楽器演奏プログラムに沿っ
て演奏をなすのであるが、ディスクプレーヤが楽器演奏
プログラムを供給しているときにトラックジャンプを伴
う動作等を受令した場合には引き続いて楽器演奏プログ
ラムの書き込み順に楽器演奏プログラムを読み出すこと
ができず、楽器演奏プログラムの連続性が断たれる。そ
の結果、MIDI機器の音源からの発音が止まらない等の不
具合を生じることがある。By the way, the MIDI device has converted the MIDI format signals sequentially supplied from the disc player into serial signals.
The performance is performed in accordance with the musical instrument playing program formed by the MIDI signal. However, if the disc player receives an operation accompanied by a track jump while supplying the musical instrument playing program, the musical instrument playing program continues. The musical instrument playing program cannot be read in the order of writing, and the continuity of the musical instrument playing program is broken. As a result, problems such as the sound from the sound source of the MIDI device may not stop may occur.
その理由を具体的に説明すると次の如くである。The reason will be described in detail below.
先ず、MIDI機器に供給されるMIDI制御信号は転送レート
31.25〔Kbaud〕のシリアルデータであり、8ビットのデ
ータと各1ビットのスータトビット及びストップビット
との計10ビットで1バイトのデータを構成している。First, the MIDI control signal supplied to the MIDI device is the transfer rate.
It is serial data of 31.25 [Kbaud], and a total of 10 bits, that is, 8-bit data, 1-bit start bit and 1-bit stop bit, constitutes 1-byte data.
また、送られるデータの種類やMIDIチャンネルの指定を
行なうための少なくとも1つのステータスバイトと、そ
のステータスによって導かれる1つ又は2つのデータバ
イトを組合せて音楽情報たるメッセージを形成する。従
って、1のメッセージは1〜3バイトで構成され、その
転送には320〜960〔μsec〕の転送時間を必要とする。
一連のメッセージにより楽器演奏プログラムが形成され
る。Also, a message as music information is formed by combining at least one status byte for designating the type of data to be sent and a MIDI channel and one or two data bytes guided by the status. Therefore, one message is composed of 1 to 3 bytes, and its transfer requires a transfer time of 320 to 960 [μsec].
A musical instrument playing program is formed by a series of messages.
かかるメッセージの一例としてチャンネル・ボイス・メ
ッセージの1つであるノート・オン・メッセージの構成
を第5図に示す。As an example of such a message, the structure of a note-on message, which is one of channel voice messages, is shown in FIG.
ステータスバイトのノート・オン・メッセージは、例え
ば、キーボードの鍵盤を押すという動作に対応する指令
でありキーボードの鍵盤を離すという動作に対応するノ
ート・オフ・メッセージとペアで使用される。これを第
6図(A)に示す。データバイト1のノート・ナンバー
は、88鍵ピアノの「中央のC」を中心として鍵盤に割り
当てられた128段階のうちいずれかを指定する。データ
バイト2のベロシティは、一般的に音の強弱の差をつけ
ることに利用される。ノート・オン・メッセージを受け
たMIDI機器は、指定された音階の音を指定された強度で
発生する。また、ノート・オフ・メッセージを受信する
ことによりMIDI機器は例えば、キーボードの鍵盤を離し
たことと同じように動作する。The note-on message of the status byte is, for example, a command corresponding to the operation of pressing the keyboard of the keyboard, and is used as a pair with the note-off message of the operation of releasing the keyboard of the keyboard. This is shown in FIG. 6 (A). The note number of data byte 1 designates one of 128 steps assigned to the keyboard centering on the "center C" of the 88-key piano. The velocity of the data byte 2 is generally used to make a difference in the strength of the sound. Upon receiving the note-on message, the MIDI device generates a sound of a specified scale with a specified intensity. By receiving the note-off message, the MIDI device operates in the same manner as, for example, releasing the keyboard of the keyboard.
ところで、第6図(B)に示されるように音源1にノー
ト・オン・メッセージを送出した後ノート・オフ・メッ
セージの送出前に、マニュアルサーチ,トラックサーチ
等のトラックジャンプの演奏状態が発生したり、プレー
ヤのトレースミスやノイズの混入があったりすると、時
間の経過と共に連続的に進行すべきMIDI信号による楽器
演奏プログラムは、部分的に欠落し或いはプログラムの
進行が停止する。その結果、音源1の如き、ノート・オ
フ・メッセージの欠落によって発音の止まらない不具合
が生じるのである。特に、音源が10種類あってそれらが
同時に重複して演奏されている場合にはかかる不具合が
生じた場合の対処が難しい。By the way, as shown in FIG. 6 (B), after a note-on message is sent to the sound source 1 and before a note-off message is sent, a track jump performance state such as a manual search or a track search occurs. If there is a trace error from the player or noise is mixed in, the musical instrument playing program based on the MIDI signal, which should proceed continuously with the passage of time, is partially lost or the program stops. As a result, a problem such as sound source 1 in which sound generation does not stop due to a missing note-off message occurs. In particular, when there are 10 sound sources and they are played simultaneously at the same time, it is difficult to deal with such a problem.
このような不具合はノート・オフ・メッセージの欠落に
よる場合だけに限らず、モジュレーションチャンネルプ
レッシャ、ピッチベンドホールド、ブレスコントロール
等のコントロール動作を停止しなければならない場合に
ついても同様である。Such a problem is not limited to the case where the note-off message is lost, and the same applies to the case where the control operation such as the modulation channel pressure, the pitch bend hold, and the breath control has to be stopped.
発明の概要 [発明の目的] 本発明の目的とするところはトラックジャンプの演奏状
態が発生したり、プレーヤのトレースミスやノイズの混
入があった場合における楽器演奏プログラムの欠落によ
る不具合の発生を抑制し得るMIDI制御装置及びこれを含
むMIDIシステムを提供することである。SUMMARY OF THE INVENTION [Object of the Invention] An object of the present invention is to suppress the occurrence of a defect due to a missing musical instrument playing program when a track jump performance state occurs, or when a player's trace error or noise is mixed. A possible MIDI control device and a MIDI system including the same.
[発明の構成] 本発明によるMIDI制御装置は、記録媒体演奏装置から供
給されるサブコード信号に含まれるMIDIフォーマット信
号に応じてMIDI機器に動作オン信号及び動作オフ信号を
供給するMIDI制御装置であり、サブコード信号を復号し
て動作オン信号及び動作オフ信号を含むMIDI信号を生成
するサブコードデコーダと、該サブコードデコーダが生
成した動作オン信号の内容をこれに対応する動作オフ信
号が前記サブコードデコーダから生成されるまで少なく
とも記憶する記憶手段と、サブコード信号の1サブコー
ドブロック毎にサブコードシンボル数を計数し1サブコ
ードブロック中のその計数値が所定値以外の値となった
とき記憶手段に記憶されている動作オン信号の内容に対
応する動作オフ信号をMIDI機器に供給する強制解除手段
とからなることを特徴としている。[Constitution of the Invention] A MIDI control device according to the present invention is a MIDI control device for supplying an operation ON signal and an operation OFF signal to a MIDI device in accordance with a MIDI format signal included in a subcode signal supplied from a recording medium playing device. Yes, a subcode decoder for decoding a subcode signal to generate a MIDI signal including an operation on signal and an operation off signal, and an operation off signal corresponding to the content of the operation on signal generated by the subcode decoder Storage means for storing at least until generated by the subcode decoder, and the number of subcode symbols is counted for each subcode block of the subcode signal, and the count value in one subcode block becomes a value other than a predetermined value. When the operation-off signal corresponding to the content of the operation-on signal stored in the storage means is supplied to the MIDI device, the forced release means is provided. It is characterized by that.
また、本発明によるMIDIシステムは記録媒体演奏手段か
ら供給されるサブコード信号から復号されたMIDIフォー
マット信号に応じてMIDI機器に動作オン信号及び動作オ
フ信号を供給するMIDI制御手段を含むMIDIシステムであ
り、サブコード信号を復合して動作オン信号及び動作オ
フ信号を含むMIDI信号を生成するサブコードデコーダ
と、サブコードデコーダが生成した動作オン信号の内容
をこれに対応する動作オフ信号がサブコードから生成さ
れるまで少なくとも記憶する記憶手段と、サブコード信
号の1サブコードブロック毎にサブコードシンボル数を
計数し1サブコードブロック中のその計数値が所定値以
外の値となったとき記憶手段に記憶されている動作オン
信号の内容に対応する動作オフ信号をMIDI機器に供給す
る強制解除手段とを含むことを特徴としている。The MIDI system according to the present invention is a MIDI system including a MIDI control means for supplying an operation ON signal and an operation OFF signal to a MIDI device in accordance with a MIDI format signal decoded from a subcode signal supplied from a recording medium playing means. Yes, there is a subcode decoder that combines the subcode signals to generate a MIDI signal including an operation on signal and an operation off signal, and an operation off signal that corresponds to the content of the operation on signal generated by the subcode decoder. Storage means for storing at least until the generation of the subcode signal, and the storage means when the number of subcode symbols is counted for each subcode block of the subcode signal and the count value in one subcode block becomes a value other than a predetermined value. And forcibly releasing the operation off signal corresponding to the content of the operation on signal stored in the MIDI device to the MIDI device. It has a feature.
実 施 例 以下、本発明の実施例につき添付図面を参照して詳細に
説明する。Examples Hereinafter, examples of the present invention will be described in detail with reference to the accompanying drawings.
第1図において、複数の曲が記録されているディスク1
は、スピンドルモータ2によって回転駆動される。ディ
スク1の回転に伴ってディスク1に記憶されている信号
がピックアップ3によって読み取られる。ピックアップ
3は、キャリッジモータ4によってディスク1の半径方
向に移動するキャリッジ(図示せず)に担持され、ピッ
クアップ3の情報読取点(情報読取用光スポット)がデ
ィスク1の半径方向において自在に位置決めされる。ま
た、スピンドルサーボ系,フォーカスサーボ系,トラッ
キングサーボ系,キャリッジサーボ系等の諸サーボ系が
設けられているが、既に良く知られていることなので図
示しない。In FIG. 1, a disc 1 on which a plurality of songs are recorded
Are driven to rotate by the spindle motor 2. The signal stored in the disc 1 is read by the pickup 3 as the disc 1 rotates. The pickup 3 is carried by a carriage (not shown) that moves in the radial direction of the disc 1 by a carriage motor 4, and an information reading point (information reading light spot) of the pickup 3 is freely positioned in the radial direction of the disc 1. It Further, various servo systems such as a spindle servo system, a focus servo system, a tracking servo system, and a carriage servo system are provided, but they are not shown because they are already well known.
スピンドルモータ2,キャリッジモータ4は、スピンドル
サーボ系,キャリッジサーボ系又は演奏部制御回路5に
よって駆動される。演奏部制御回路5は、ブレーキコン
トロール7からの指令に応じてスピンドルモータ2及び
キャリッジモータ4の駆動、上記図示せぬ諸サーボ系の
オンオフ制御,ジャンプ制御等を行なう構成となってい
る。The spindle motor 2 and the carriage motor 4 are driven by a spindle servo system, a carriage servo system or a performance section control circuit 5. The playing portion control circuit 5 is configured to drive the spindle motor 2 and the carriage motor 4 in accordance with a command from the brake control 7, on / off control of various servo systems (not shown), and jump control.
ピックアップ3から出力されるいわゆるRF(高周波)信
号は、RFアンプ8によって増幅されたのちEFM復調回路
9に供給される。EFM復調回路9は、RF信号をスライス
して得られるパルス信号のEFM復調処理を行なってPCMデ
ータすなわち時分割多重された左右両チャンネルのオー
ディオ情報を含むディジタルデータ及びサブコードを形
成する構成となっている。このEFM復調回路9から出力
されたオーディオ情報を含むディジタルデータは、ディ
インタリーブ・補間回路10に供給され、RAM11との協働
によりディジタルデータの並びが元に戻され、また誤り
訂正回路12との協働により誤りデータが補間される。デ
ィインタリーブ・補間回路10の出力データは、D/A(デ
ィジタル・アナログ)変換回路14に供給されて左右両チ
ャンネルのオーディオ信号となる。左右両チャンネルの
再生オーディオ信号は、LPF(ローパスフィルタ)15及
び16を介してオーディオ出力端子に供給される。A so-called RF (high frequency) signal output from the pickup 3 is amplified by the RF amplifier 8 and then supplied to the EFM demodulation circuit 9. The EFM demodulation circuit 9 is configured to perform EFM demodulation processing of a pulse signal obtained by slicing an RF signal to form PCM data, that is, digital data including time-division multiplexed left and right channel audio information and a subcode. ing. The digital data including the audio information output from the EFM demodulation circuit 9 is supplied to the deinterleave / interpolation circuit 10, the arrangement of the digital data is restored by the cooperation with the RAM 11, and the error correction circuit 12 is used. Error data is interpolated by cooperation. The output data of the deinterleave / interpolation circuit 10 is supplied to a D / A (digital / analog) conversion circuit 14 to become audio signals for both left and right channels. The reproduced audio signals of the left and right channels are supplied to the audio output terminals via LPFs (low pass filters) 15 and 16.
一方、ディインタリーブ・補間回路10から出力されたデ
ィジタル信号はディスプレーヤよりディジタルオーディ
オインターフェース規格にのっとった形式で出力され
る。サブコードのP,Qチャンネルデータはプレーヤコン
トローラ7に供給される。On the other hand, the digital signal output from the deinterleave / interpolation circuit 10 is output from the display device in a format conforming to the digital audio interface standard. The subcode P and Q channel data are supplied to the player controller 7.
プレーヤコントローラ7は、例えば、マイクロコンピュ
ータで構成されており、操作部18から供給されるキー操
作に応じた指令によりROM,RAM等に記憶されているデー
タ或いはプログラムに基づいて演算動作をなしたのち演
奏部制御回路5に対してプレイ,サーチ,ジャンプ等の
命令信号を供給する。The player controller 7 is composed of, for example, a microcomputer, and performs an arithmetic operation based on data or a program stored in ROM, RAM or the like according to a command supplied from the operation unit 18 according to a key operation. Command signals for play, search, jump, etc. are supplied to the performance section control circuit 5.
一方、ユーザーズビットであるサブコードのR,S,T,U,V,
Wチャンネルを含むサブコード信号はインタフェース17
を介してシリアル信号としてMIDI制御装置の受信復号回
路21に送出される。サブコード信号は、第2図に示すよ
うにサブコードフレームSF0,SF1,SF2,……SF97で1サブ
コードブロックを形成し、サブコードフレームSF0,SF1
はサブコード同期信号(S0,S1)からなり、サブコード
フレームSF2,……SF97はサブコードシンボル(P,Q,R,S,
T,U,V,Wチャンネル)からなる。このシンボルが24で1
つのデータフォーマット(1パック)を形成する。よっ
て、1サブコードブロックでは4パック分伝送される。
受信復号回路21の出力から得られるサブコードデータは
サブコード誤り訂正回路22に供給されてサブコード誤り
訂正が行なわれる。ここで、サブコードのR,S,T,U,V,W
チャンネルによるデータフォーマット構成例を第3図に
示す。第3図において、シンボル0ではデータの種類を
表わしている。例えば、モード→001,アイテム→001の
場合はTVグラフィックスのデータであることを示す。ま
た、例えばモード→011,アイテム→000としてMIDIデー
タを表わす。シンボル1はインストラクションモードに
なっており、1パック内のMIDIバイトの数値が記録され
る。シンボール4〜19のデータフィールドは、グラフィ
ックスデータやMIDIデータを担っている。シンボル20〜
23にはエラー訂正用のパリティコードが付加されてい
る。サブコード誤り訂正回路22はかかるパリティコード
を参照していわゆるシンドロール演算によりサブコード
誤りを検出しその誤り訂正をなすのである。この誤り訂
正回路22の動作については公知であるので詳細には説明
しない。誤り訂正されたサブコードはMIDIデコーダ23に
供給される。On the other hand, R, S, T, U, V of the subcode that is the user's bit
Subcode signal including W channel is interface 17
Is transmitted to the reception / decoding circuit 21 of the MIDI control device as a serial signal via. The sub-code signal forms one sub-code block in sub-code frames SF0, SF1, SF2, ... SF97 as shown in FIG. 2, and sub-code frames SF0, SF1
Consists of subcode synchronization signals (S0, S1), subcode frame SF2, ... SF97 is subcode symbol (P, Q, R, S,
T, U, V, W channels). This symbol is 1 in 24
One data format (1 pack) is formed. Therefore, one subcode block transmits 4 packs.
The subcode data obtained from the output of the reception / decoding circuit 21 is supplied to the subcode error correction circuit 22 to perform subcode error correction. Where R, S, T, U, V, W of subcode
FIG. 3 shows an example of the data format configuration by channel. In FIG. 3, symbol 0 represents the type of data. For example, the case of mode → 001 and item → 001 indicates that the data is TV graphics data. Also, for example, MIDI data is expressed as mode → 011, item → 000. Symbol 1 is in instruction mode, and the numerical value of the MIDI byte in one pack is recorded. The data fields of Symbols 4 to 19 carry graphics data and MIDI data. Symbol 20 ~
A parity code for error correction is added to 23. The subcode error correction circuit 22 refers to such a parity code to detect a subcode error by so-called sindroll operation and correct the error. The operation of the error correction circuit 22 is well known and will not be described in detail. The error-corrected subcode is supplied to the MIDI decoder 23.
MIDIデコーダ23は、サブコードのモード及びアイテムが
MIDIデータを示す場合に、これを取り込んでMIDI信号に
復号するサブコードデコーダである。得られたMIDI信号
はMIDIコントローラ24を介してMIDI機器26に供給され
る。The MIDI decoder 23 has subcode modes and items.
When showing MIDI data, it is a subcode decoder that takes in this and decodes it into a MIDI signal. The obtained MIDI signal is supplied to the MIDI device 26 via the MIDI controller 24.
MIDIコントローラ24はマイクロコンピュータ等で構成さ
れており、後述の如く供給されるMIDI信号がノート・オ
ン・メッセージ等の動作オン信号である場合にはそれを
外部RAM25に書き込み、供給されるMIDI信号がノート・
オフ・メッセージ等の動作オフ信号である場合にはそれ
対応する動作オン信号をRAM25から消去する。The MIDI controller 24 is composed of a microcomputer, etc., and when the MIDI signal supplied as described later is an operation ON signal such as a note on message, it is written in the external RAM 25 and the supplied MIDI signal is Note·
When it is an operation off signal such as an off message, the corresponding operation on signal is erased from the RAM 25.
また、サブコード誤り訂正回路22は、サブコード誤り検
出の際に1パック(24サブコードシンボル)中に3サブ
コードシンボル以上のサブコード誤りが検出されるとサ
ブコード誤り訂正が不能であるとして不正不能信号をMI
DIコントローラ24に対して出力するようになっている。
通常のサブコード誤り訂正動作においては1パック中に
2サブコードシンボルまでのサブコード誤りが検出され
た場合には訂正可能である。Further, the subcode error correction circuit 22 determines that the subcode error correction is impossible if three or more subcode errors are detected in one pack (24 subcode symbols) during subcode error detection. MI Unauthorized Signal
It is designed to output to the DI controller 24.
In a normal subcode error correction operation, when a subcode error of up to 2 subcode symbols is detected in one pack, it can be corrected.
なお、第1図において破線Aで囲んだ部分がディスクプ
レーヤであり、破線Bで囲んだ部分がMIDI制御装置を構
成している。ただし、これに限定されるものではなく、
例えば、インタフェース17はMIDI制御装置に含まれても
良いし、又は受信復調回路21及びサブコード誤り訂正回
路22がディスクプレーヤ側に含まれても良い。In FIG. 1, the part surrounded by the broken line A is a disc player, and the part surrounded by the broken line B constitutes a MIDI control device. However, it is not limited to this,
For example, the interface 17 may be included in the MIDI control device, or the reception demodulation circuit 21 and the subcode error correction circuit 22 may be included in the disc player side.
以上の構成におけるMIDIコントローラ24内のプロセッサ
(図示せず)の動作を説明する。The operation of the processor (not shown) in the MIDI controller 24 having the above configuration will be described.
MIDIコントローラ24内のプロセッサはメインルーチンと
してMIDIデコーダ23からMIDI信号が出力された場合には
それがノート・オン・メッセージを示す信号であるなら
ばそのノート・オン・メッセージの内容であるチャンネ
ル、ノートナンバー及びベロシティをRAM25に書き込
み、ノート・オフ・メッセージならば、そのノート・オ
フ・メッセージに対応するノート・オン・メッセージの
内容をRAM25から消去する。The processor in the MIDI controller 24, as a main routine, outputs a note-on message when a MIDI signal is output from the MIDI decoder 23. The number and velocity are written in RAM25, and if it is a note-off message, the content of the note-on message corresponding to the note-off message is deleted from RAM25.
このメインルーチンとは別にインタフェース17から供給
されるサブコード信号中のサブコードフレーム同期信号
毎に割込みルーチンを処理し、先ず、第4図に示すよう
にサブコードフレーム同期信号後のサブコード信号を読
み取り(ステップS1)、そのサブコードフレーム内がサ
ブコード同期信号か否かを判別する(ステップS2)。サ
ブコード同期信号ならば同期カウント値C1を1だけイン
クリメントし(ステップS3)、同期カウント値C1が2に
等しいか否かを判別する(ステップS4)。C1≠2なら
ば、本割込みルーチンを終了し次のサブコードフレーム
同期信号の供給までメインルーチンに戻る。Apart from this main routine, an interrupt routine is processed for each subcode frame synchronization signal in the subcode signal supplied from the interface 17, and first, as shown in FIG. 4, the subcode signal after the subcode frame synchronization signal is processed. It is read (step S1), and it is determined whether or not the subcode frame is a subcode synchronization signal (step S2). If it is a subcode synchronization signal, the synchronization count value C1 is incremented by 1 (step S3), and it is determined whether the synchronization count value C1 is equal to 2 (step S4). If C1 ≠ 2, this interrupt routine is terminated and the process returns to the main routine until the next subcode frame synchronization signal is supplied.
一方、サブコードフレーム同期信号後のサブコードフレ
ーム内がサブコードシンボルならばシンボルカウント値
C2を1だけインクリメントし(ステップS5)、シンボル
カウント値C2が96より大であるか否かを判別する(ステ
ップS6)。C2≦96ならば、本割込みルーチンを終了し次
のサブコードフレーム同期信号の供給までメイルーチン
に戻る。On the other hand, if the subcode frame after the subcode frame synchronization signal is a subcode symbol, the symbol count value
C2 is incremented by 1 (step S5), and it is determined whether the symbol count value C2 is larger than 96 (step S6). If C2 ≦ 96, this interrupt routine is terminated and the process returns to the may routine until the next subcode frame synchronization signal is supplied.
サブコード信号は上記したように、サブコード同期信号
からなる2つの連続するサブコードフレームSF0,SF1
と、サブコードシンボルからなる96のサブコードフレー
ムSF2,……SF97とを1サブコードブロクで形成する。よ
って、ステップS4においてC1=2ならば、サブコードブ
ロックの区切りとして2つのサブコード同期信号を得た
ので、ステップS5におけるシンボル計数によりシンボル
カウント値C2が96に等しいか否かを判別する(ステップ
S7)。C2=96の場合には供給されたサブコード信号は所
定数(98)のサブコードフレームを有しているので、同
期カウント値C1及びシンボルカウント値C2を各々リセッ
トして0に等しくする(ステップS8,S9)。As described above, the sub-code signal is composed of two consecutive sub-code frames SF0 and SF1 each including the sub-code synchronization signal.
, And 96 sub-code frames SF2, ..., SF97 consisting of sub-code symbols are formed by one sub-code block. Therefore, if C1 = 2 in step S4, two subcode synchronization signals have been obtained as the delimiters of the subcode block, so it is determined by the symbol counting in step S5 whether the symbol count value C2 is equal to 96 (step
S7). When C2 = 96, since the supplied subcode signal has a predetermined number (98) of subcode frames, the sync count value C1 and the symbol count value C2 are reset to be equal to 0 (step S8, S9).
しかしながら、C2≠96の場合には供給されたサブコード
信号が所定数のサブコードフレーム、すなわち96のサブ
コードシンボルを有していないのでサブコードエラー発
生とみなす。また、ステップS6において、C2>96の場合
には1サブコードブロック内においてシンボルカウント
値C2が96以上になることはありえないのでサブコードエ
ラー発生とみなす。However, if C2 ≠ 96, the supplied subcode signal does not have a predetermined number of subcode frames, that is, 96 subcode symbols, and therefore it is considered that a subcode error has occurred. If C2> 96 in step S6, the symbol count value C2 cannot exceed 96 in one subcode block, so it is considered that a subcode error has occurred.
このエラー発生時には、RAM25のノートオンマップにノ
ート・オン・メッセージが書き込まれているか否かを判
別する(ステップS11)。オート・オン・メッセージが
書き込まれている場合にはノート・オン・メッセージの
内容を読み出してそれに対応するノート・オフ・メッセ
ージを作成し(ステップS12)、作成したノート・オフ
・メッセージをMIDI信号としてMIDIコントローラ24内の
出力バッファに供給してMIDI機器26に対して出力させる
(ステップS13)。また、そのノート・オン・メッセー
ジの内容をRAM25のノートオンマップから消去する(ス
テップS14)。ステップS14の実行後、RAM25に他にノー
ト・オン・メッセージが書き込まれているか否かを判別
し(ステップS15)、他にノート・オン・メッセージが
書き込まれているならばステップS12に進んで上記の動
作を繰り返し、他にノート・オン・メッセージがないな
らばメインルーチンに戻る。ノート・オフ・メッセージ
がMIDI機器26に各々供給されることにより、対応するノ
ート・オン・メッセージにより生じた発音が停止する。
なお、ノート・オン・メッセージに対応するノート・オ
フ・メッセージとは、チャンネル、ノートナンバーを同
一としていることをいう。また、ノート・オフ・メッセ
ージは読み出したノート・オン・メッセージのチャンネ
ル、ノートナンバーにベロシティを所定値(例えば、00
H)にして加えて第5図に示した如く所定の形式にて作
成するか、ステータスバイトをノートオフイベント(8n
H)とし、それに読み出したノート・オン・メッセージ
のチャンネル、ノートナンバー及びベロシティを用いて
ノート・オフ・メッセージとしても良い。また、上記し
た実施例においては、エラー発生時には直ちにRAM25に
記憶された全てのノート・オン・メッセージに対応する
ノート・オン・メッセージを作成してMIDI機器26に供給
するが、エラー発生時にRAM25に記憶されたノート・オ
ン・メッセージが所定時間後も記憶されている場合にそ
のノート・オン・メッセージに対応するノート・オフ・
メッセージを作成して供給するようにしても良い。When this error occurs, it is determined whether or not a note-on message is written in the note-on map of RAM 25 (step S11). If an auto-on message has been written, the content of the note-on message is read out and a corresponding note-off message is created (step S12), and the created note-off message is used as a MIDI signal. The data is supplied to the output buffer in the MIDI controller 24 and output to the MIDI device 26 (step S13). Also, the content of the note-on message is deleted from the note-on map of RAM 25 (step S14). After executing step S14, it is determined whether or not another note-on message is written in the RAM 25 (step S15). If another note-on message is written, the process proceeds to step S12 and Repeat the above operation, and if there is no other note-on message, return to the main routine. By supplying each note-off message to the MIDI device 26, the sounding generated by the corresponding note-on message is stopped.
Note that the note-off message corresponding to the note-on message means that the channel and the note number are the same. In addition, note-off message has the velocity of the read note-on message channel and note number set to a specified value (for example, 00
H ) and create it in the specified format as shown in Fig. 5, or add the status byte to the note-off event (8n
H )), and the note-off message may be obtained by using the channel, note number and velocity of the note-on message read out from it. Further, in the above embodiment, when an error occurs, a note-on message corresponding to all the note-on messages stored in the RAM 25 is immediately created and supplied to the MIDI device 26. If the stored note-on message has been stored after the specified time, the note-off message corresponding to that note-on message will be stored.
A message may be created and supplied.
従って、ディスクプレーヤがトラックジャンプ,等の不
連続演奏状態になったり、トレースミスやノイズ混入を
起こし、正しいデータフォーマットでサブコード信号が
供給されなくなった場合にはノート・オン・メッセージ
に対応する楽器演奏プログラムからノート・オフ・メッ
セージが欠落したとして、そのノート・オフ・メッセー
ジを作成して強制的にMIDI機器に供給するようにしたの
で、音源の発音が止まらないという不具合を回避するこ
とができる。Therefore, if the disc player is in a discontinuous playing state such as a track jump, a trace error or noise is mixed in, and the subcode signal cannot be supplied in the correct data format, the instrument corresponding to the note-on message is generated. Even if the note-off message is missing from the performance program, the note-off message is created and forcibly supplied to the MIDI device, so the problem that the sound source does not stop sounding can be avoided. .
なお、上記した実施例においては、単一のMIDI機器がMI
DI制御装置に接続されているが、複数のMIDI機器を接続
することも可能であり、この場合も本発明を適用するこ
とができる。In the above example, a single MIDI device
Although connected to the DI control device, it is also possible to connect a plurality of MIDI devices, and the present invention can be applied to this case as well.
また、本発明は、ディスクプレーヤに限定されるもので
はなく、例えば、楽器演奏プログラムの記録された磁気
テープを演奏するテープデッキ等の記録媒体演奏装置の
サーチ、ポーズ、ストップ動作をなす際に使用すること
もできる。Further, the present invention is not limited to a disc player, and is used, for example, when performing search, pause and stop operations of a recording medium playing device such as a tape deck playing a magnetic tape on which a musical instrument playing program is played. You can also do it.
更に、ノート・オフ・メッセージの欠落に限らず、他の
モジュレーションチャンネルプレッシャ、ピッチベンド
ホールド、ブレスコントロール等のコントロール動作を
停止させるためのコントロールオフメッセージ等をリセ
ットする信号の欠落の場合についても本発明を適用する
ことができる。Furthermore, the present invention is not limited to the case where the note-off message is lost but the case where the signal for resetting the control-off message for stopping the control operation such as other modulation channel pressure, pitch bend hold, breath control, etc. is also lost. Can be applied.
発明の効果 以上説明したように、本発明によれば、記録媒体演奏装
置からのサブコード信号を復号してサブコードデコーダ
が生成したMIDI信号としての動作オン信号の内容をこに
対応する動作オフ信号がサブコードデコーダから生成さ
れるまで少なくとも記憶し、サブコード信号の1サブコ
ードブロック毎にサブコードシンボル数を計数し1サブ
コードブロック中のその計数値が所定値市街の値となっ
たとき記憶されている動作オン信号の内容に対応する動
作オフ信号をMIDI機器に供給するので、記録媒体演奏装
置のトラックジャンプ等の不連続演奏状態やトレースミ
スやノイズ混入を起こした場合においてMIDI機器からの
発音が止まらない等の不具合の発生が防止されるのであ
る。As described above, according to the present invention, the operation off signal corresponding to the content of the operation on signal as the MIDI signal generated by the subcode decoder by decoding the subcode signal from the recording medium playing device is described. When a signal is stored at least until it is generated by the subcode decoder, the number of subcode symbols is counted for each subcode block of the subcode signal, and the count value in one subcode block becomes a predetermined value city value. Since the operation OFF signal corresponding to the stored contents of the operation ON signal is supplied to the MIDI device, the MIDI device can be used when the recording medium playing device has a discontinuous playing condition such as a track jump or a trace error or noise is mixed. It is possible to prevent the occurrence of troubles such as the pronunciation of the sound not stopping.
第1図は本発明の実施例を示すブロック図、第2図はサ
ブコード信号の1サブコードブロックを示す図、第3図
はサブコードデータの構成例を説明するための図、第4
図はMIDIコントローラの制御動作を示すフローチャー
ト、第5図はMIDIメッセージの構成例を示す図、第6図
(A)及び(B)はノート・オン・メッセージ及びノー
ト・オフ・メッセージの発生タイミングを説明するため
の図である。 主要部分の符号の説明 7……ディスクコントローラ 22……サブコード誤り訂正回路 23……MIDIデコーダ 24……MIDIコントローラFIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing one subcode block of a subcode signal, FIG. 3 is a diagram for explaining a configuration example of subcode data, and FIG.
FIG. 5 is a flow chart showing the control operation of the MIDI controller, FIG. 5 is a diagram showing an example of the structure of a MIDI message, and FIGS. 6 (A) and 6 (B) are the timings at which note-on messages and note-off messages are generated. It is a figure for explaining. Explanation of main part code 7 …… Disk controller 22 …… Subcode error correction circuit 23 …… MIDI decoder 24 …… MIDI controller
Claims (2)
ド信号に含まれるMIDIフォーマット信号に応じてMIDI機
器に動作オン信号及び動作オフ信号を供給するMIDI制御
装置であって、前記サブコード信号を復号して前記動作
オン信号及び動作オフ信号を含むMIDI信号を生成するサ
ブコードデコーダと、前記サブコードデコーダが生成し
た前記動作オン信号の内容をこれに対応する動作オフ信
号が前記サブコードデコーダから生成されるまで少なく
とも記憶する記憶手段と、前記サーブコード信号の1サ
ブコードブロック毎にサブコードシンボル数を計数し前
記1サブコードブロック中のその計数値が所定値以外の
値となったとき前記記憶手段に記憶されている動作オン
信号の内容に対応する動作オフ信号を前記MIDI機器に供
給する強制解除手段とからなることを特徴とするMIDI制
御装置。1. A MIDI control device for supplying an operation ON signal and an operation OFF signal to a MIDI device according to a MIDI format signal included in a subcode signal supplied from a recording medium playing device, wherein the subcode signal is supplied to the MIDI device. A subcode decoder which decodes to generate a MIDI signal including the operation on signal and the operation off signal, and an operation off signal corresponding to the content of the operation on signal generated by the subcode decoder from the subcode decoder Storage means for storing at least until generation, and counting the number of subcode symbols for each subcode block of the serve code signal, and when the count value in the one subcode block becomes a value other than a predetermined value, A forced release means for supplying an operation off signal corresponding to the content of the operation on signal stored in the storage means to the MIDI device, MIDI controller characterized by comprising.
ド信号から復号されたMIDIフォーマット信号に応じてMI
DI機器に動作オン信号及び動作オフ信号を供給するMIDI
制御手段を含むMIDIシステムであって、前記サブコード
信号を復号して前記動作オン信号及び動作オフ信号を含
むMIDI信号を生成するサブコードデコーダと、前記サブ
コードデコーダが生成した前記動作オン信号の内容をこ
れに対応する動作オフ信号が前記サブコードデコーダか
ら生成されるまで少なくとも記憶する記憶手段と、前記
サブコード信号の1サブコードブロック毎にサブコード
シンボル数を計数し前記1サブコードブロック中のその
計数値が所定値以外の値となったとき前記記憶手段に記
憶されている動作オン信号の内容に対応する動作オフ信
号を前記MIDI機器に供給する強制解除手段とを含むこと
を特徴とするMIDIシステム。2. MI in response to a MIDI format signal decoded from a subcode signal supplied from a recording medium playing means.
MIDI that supplies operation on and off signals to DI devices
A MIDI system including control means, wherein a subcode decoder which decodes the subcode signal to generate a MIDI signal including the operation ON signal and the operation OFF signal, and the operation ON signal generated by the subcode decoder Storage means for storing at least the contents until the operation off signal corresponding thereto is generated from the sub-code decoder, and the number of sub-code symbols is counted for each sub-code block of the sub-code signal. And a forced release means for supplying an operation off signal corresponding to the content of the operation on signal stored in the storage means to the MIDI device when the count value of the other becomes a value other than a predetermined value. MIDI system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2059446A JPH07101346B2 (en) | 1990-03-09 | 1990-03-09 | MIDI controller and MIDI system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2059446A JPH07101346B2 (en) | 1990-03-09 | 1990-03-09 | MIDI controller and MIDI system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH03259298A JPH03259298A (en) | 1991-11-19 |
| JPH07101346B2 true JPH07101346B2 (en) | 1995-11-01 |
Family
ID=13113523
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2059446A Expired - Lifetime JPH07101346B2 (en) | 1990-03-09 | 1990-03-09 | MIDI controller and MIDI system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07101346B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH079749B2 (en) * | 1988-11-21 | 1995-02-01 | 日本ビクター株式会社 | MIDI signal demodulator |
| JPH02203485A (en) * | 1989-01-31 | 1990-08-13 | Pioneer Electron Corp | Playing device for information recording medium |
| JPH02208697A (en) * | 1989-02-08 | 1990-08-20 | Victor Co Of Japan Ltd | Midi signal malfunction preventing system and midi signal recording and reproducing device |
-
1990
- 1990-03-09 JP JP2059446A patent/JPH07101346B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH03259298A (en) | 1991-11-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0274382B1 (en) | Digital audio tape record/play-back system or recording/playing back character data together with digital audio data | |
| US5038660A (en) | Recording medium playing apparatus with program discontinuity response | |
| JPH079749B2 (en) | MIDI signal demodulator | |
| WO1985002707A1 (en) | Disk reproducing apparatus | |
| JPH02220271A (en) | Disk player | |
| US5056402A (en) | MIDI signal processor | |
| US5159143A (en) | Information recording medium player for controlling musical devices using a musical instrument digital interface (MIDI) format signal | |
| JPS62107473A (en) | Sub-code information taking-in method at the time of recording of pcm tape recorder | |
| US5142959A (en) | Midi control apparatus and midi system | |
| JP2857246B2 (en) | Digital audio signal recording device | |
| JP2513891B2 (en) | MIDI controller and MIDI system | |
| JPH07101346B2 (en) | MIDI controller and MIDI system | |
| US5303091A (en) | Digital audio tape recorder for recording character data with digital data | |
| JP3465265B2 (en) | Data playback device | |
| JPH03266284A (en) | Midi controller and midi system | |
| JPH0727367B2 (en) | MIDI controller and MIDI system | |
| JP2523364B2 (en) | Digital signal recording / reproducing device | |
| JP2523365B2 (en) | Digital signal recording / reproducing device | |
| JP2516063B2 (en) | MIDI signal recording / reproducing device | |
| JPH03209687A (en) | Midi controller and midi system | |
| JPH03286477A (en) | Error detecting method for sub code signal | |
| JP2621225B2 (en) | Digital audio tape recorder | |
| JPH03278378A (en) | Error detecting method for sub code | |
| JP2621227B2 (en) | Digital audio tape recorder | |
| JPH02201497A (en) | Digital signal recording and reproducing device |