JP3424818B2 - Music data communication device - Google Patents
Music data communication deviceInfo
- Publication number
- JP3424818B2 JP3424818B2 JP2000208941A JP2000208941A JP3424818B2 JP 3424818 B2 JP3424818 B2 JP 3424818B2 JP 2000208941 A JP2000208941 A JP 2000208941A JP 2000208941 A JP2000208941 A JP 2000208941A JP 3424818 B2 JP3424818 B2 JP 3424818B2
- Authority
- JP
- Japan
- Prior art keywords
- midi
- frame
- preamble
- data
- music data
- 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)
- Small-Scale Networks (AREA)
- Reverberation, Karaoke And Other Acoustics (AREA)
Description
【0001】[0001]
【産業上の利用分野】この発明は、MIDIデータ等の
効果的な伝送を可能としたマルチアクセス型LANに関
する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-access LAN capable of effectively transmitting MIDI data and the like.
【0002】[0002]
【従来の技術】マルチアクセス型バスを用いたLAN方
式として、CSMA(Carrier Sense Mu
ltiple Access )方式が知られている。こ
の方式は、キャリアセンスを行って、データ送信に先立
ってバス上の信号の有無を確認してから送信を行うもの
である。このCSMA方式の改良として、自局がフレー
ムを送信中に衝突が発生したか否かを検査し、送信側で
送信の正否を判定するようにしたCSMA/CD(CS
MA with Collision Detectio
n)方式がある。CSMA/CDのLANとしてよく知
られているのが、Ethernet (登録商標)であ
る。これらの方式で用いられるキャリア検出/衝突検出
の方式は、使用するフレームの形式には依存せず、また
符号化方式にも(それが一定の条件の範囲内であれば)
依存しない。2. Description of the Related Art CSMA (Carrier Sense Mu) is used as a LAN system using a multi-access bus.
The single access system is known. In this method, carrier sense is performed to check the presence or absence of a signal on the bus before data transmission, and then transmission is performed. As an improvement of the CSMA method, the CSMA / CD (CS) is configured such that the own station inspects whether a collision has occurred during frame transmission, and the transmission side determines whether the transmission is correct.
MA with Collision Detection
n) method is available. A well-known CSMA / CD LAN is Ethernet (registered trademark). The carrier detection / collision detection method used in these methods does not depend on the format of the frame used, and also the encoding method (if it is within a certain condition).
Do not depend.
【0003】[0003]
【発明が解決しようとする課題】この様なバス型LAN
システムにおいて、例えばMIDIデータを流そうとす
ると、MIDIメッセージを、そのシステムで用いられ
ているフレーム形式に従ってそのフレームのデータ部に
格納して伝送することが必要になる。しかしこれでは、
ソフトウェアでゲートウェイを作ることになり、送受信
アダプタ回路が複雑,高価になってしまう。この発明は
この様な事情を考慮してなされたもので、異なるプロト
コルのデータを混在させることを可能としたマルチアク
セス型LANを提供することを目的とする。A bus type LAN like this
For example, if MIDI data is to be sent in the system, it is necessary to store the MIDI message in the data part of the frame according to the frame format used in the system for transmission. But with this,
Since the gateway is made by software, the transmission / reception adapter circuit becomes complicated and expensive. The present invention has been made in consideration of such circumstances, and an object thereof is to provide a multi-access LAN capable of mixing data of different protocols.
【0004】[0004]
【課題を解決するための手段】 本発明の1観点によれ
ば、音楽データ通信装置は、音楽データをフレーム化し
て音楽データフレームにするフレーム化手段と、前記音
楽データフレームに、そのフレーム形式を示すプロトコ
ルとしてプリアンブルを付加する付加手段と、前記プリ
アンブルを付加された音楽データフレームを通信ネット
ワークに送信する送信手段とを有する。According to one aspect of the present invention, a music data communication apparatus includes a framing unit that frames music data into a music data frame, and a frame format for the music data frame. It has an addition means for adding a preamble as the protocol shown, and a transmission means for transmitting the music data frame to which the preamble is added to a communication network.
【0005】また、本発明の他の観点によれば、音楽デ
ータ通信装置は、MIDIデータをワード単位でフレー
ム化してMIDIデータフレームにするフレーム化手段
と、前記MIDIデータフレームに、そのフレーム形式
を示すプロトコルとしてプリアンブルを付加する付加手
段と、前記プリアンブルを付加されたMIDIデータフ
レームをイーサネット(登録商標)を用いたネットワー
クに送信する送信手段とを有する。Further, according to another aspect of the present invention, a music data communication apparatus includes a framing means for framing MIDI data in word units to form a MIDI data frame, and a frame format for the MIDI data frame. The protocol includes an adding unit for adding a preamble as a protocol, and a transmitting unit for transmitting the MIDI data frame to which the preamble is added to a network using Ethernet (registered trademark).
【0006】[0006]
【作用】この発明によれば、連続信号や非同期信号をフ
レーム化して、フレーム内のデータのプロトコルを識別
するプリアンブルを付加して送信することで、同じバス
上に全く異なるプロトコル(信号の符号化方式/物理フ
レーム形式)のデータを混在させる。この方式によれ
ば、例えばMIDIデータをEthernet上に流す
場合も、受信アダプタの回路構成は非常に簡単である。
送信アダプタ側も、フレーム化や衝突検出/再送の制御
には高速処理を要するだけで回路構成は簡単である。M
IDIメッセージ単位で処理する場合にも、この処理は
MIDIレート(1バイト当たり320μs)での処理
が可能であり、高速処理を必要としない。According to the present invention, a continuous signal or an asynchronous signal is framed, and a preamble for identifying the protocol of the data in the frame is added and transmitted, so that a completely different protocol (signal coding) is provided on the same bus. Method / physical frame format) data is mixed. According to this method, the circuit configuration of the reception adapter is very simple even when MIDI data is sent on the Ethernet, for example.
Also on the transmission adapter side, the circuit configuration is simple because only high-speed processing is required for framing and collision detection / retransmission control. M
Even when processing is performed in IDI message units, this processing can be performed at the MIDI rate (320 μs per byte) and does not require high speed processing.
【0007】[0007]
【実施例】以下、図面を参照しながらこの発明の実施例
を説明する。図1は、この発明の一実施例に係るバス型
LANの要部構成である。ここでは、CSMA/CD方
式のプロトコルとして一般的なEthernet を用
いており、図1はそのバスを用いてMIDIデータの授
受を行う送信アダプタ、受信アダプタの部分の具体構成
を示している。図示のように、送信側MIDI楽器1が
MIDIケーブル2を介し、送信アダプタ3を介してバ
ス上のトランシーバ4に接続され、受信側MIDI楽器
5がMIDIケーブル6を介し、受信アダプタ7を介し
て同じバス上のトランシーバ8に接続されている。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a main configuration of a bus LAN according to an embodiment of the present invention. Here, general Ethernet is used as a CSMA / CD protocol, and FIG. 1 shows a specific configuration of a transmitting adapter and a receiving adapter for transmitting and receiving MIDI data using the bus. As shown, the MIDI instrument 1 on the transmitting side is connected to the transceiver 4 on the bus via the MIDI cable 2 and the transmitting adapter 3, and the MIDI instrument 5 on the receiving side is connected via the MIDI cable 6 and the receiving adapter 7. It is connected to the transceiver 8 on the same bus.
【0008】送信アダプタ3は、MIDI楽器1から非
同期に発生するMIDIデータをパラレルデータに変換
するシリアル/パラレル変換器31、変換されたデータ
を一旦FIFOバッファ32に格納した後、再度シリア
ルデータに変換するパラレル/シリアル変換器33、こ
の変換器33の出力を符号化してバスに送り出す変調器
34、およびキャリアセンス/バックオフ制御回路35
を有する。シリアル/パラレル変換器31およびFIF
Oバッファ32は、MIDIデータをワード単位でフレ
ーム化するために設けられている。キャリアセンス/バ
ックオフ制御回路35は、トランシーバ4から得られる
受信信号および衝突検出信号により、送信開始タイミン
グの制御を行うものである。The transmitting adapter 3 serially / parallel converter 31 converts MIDI data asynchronously generated from the MIDI musical instrument 1 into parallel data, temporarily stores the converted data in the FIFO buffer 32, and then converts it into serial data again. Parallel / serial converter 33, a modulator 34 that encodes the output of the converter 33 and sends it to the bus, and a carrier sense / backoff control circuit 35.
Have. Serial / parallel converter 31 and FIF
The O buffer 32 is provided to frame MIDI data in word units. The carrier sense / back-off control circuit 35 controls the transmission start timing based on the reception signal and the collision detection signal obtained from the transceiver 4.
【0009】受信アダプタ7は、MIDI楽器1、送信
アダプタ3を介して送信されたバス上に乗せられたデー
タを受信して復調する復調回路71、フレーム長カウン
タ72、およびこのフレーム長カウンタ72により制御
されてフレーム毎に復調されたデータをMIDI楽器5
に出力するゲート回路73を有する。The receiving adapter 7 includes a demodulation circuit 71 for receiving and demodulating the data placed on the bus transmitted via the MIDI musical instrument 1 and the transmitting adapter 3, a frame length counter 72, and the frame length counter 72. MIDI musical instrument 5 which is controlled and demodulated for each frame
It has a gate circuit 73 for outputting to.
【0010】図2はこの実施例において用いられるフレ
ーム形式である。図2(a) は、CSMA/CD方式の
プロトコルとして一般的なEthernet のフレー
ム形式である。信号速度は10MHz、符号化方式は位
相変調方式であるバイフェーズ符号化(マンチェスタ符
号化)である。プリアンブルPAのビットパターンは、
図2(a)に示すように、31個の10とそれに続く1
個の11である。プリアンブルPAに続くDA/SA
は、送信先/送信元アドレスであり、Lengthはデ
ータDataの長さを表す。データDataの最後に
は、エラーチェック用コードCRCが付いている。この
コードCRCにより、受信側で異常フレームを除去でき
るようになっている。FIG. 2 shows the frame format used in this embodiment. FIG. 2A shows an Ethernet frame format which is a general CSMA / CD protocol. The signal speed is 10 MHz, and the encoding method is bi-phase encoding (Manchester encoding) which is a phase modulation method. The bit pattern of the preamble PA is
As shown in FIG. 2A, 31 10's followed by 1 '
11 of the pieces. DA / SA following the preamble PA
Is a destination / source address, and Length represents the length of data Data. An error check code CRC is attached to the end of the data Data. This code CRC allows the receiving side to remove the abnormal frame.
【0011】これに対して、MIDI楽器1、5間でや
り取りするMIDIデータ用フレーム形式は、図2
(b)に示すようになっている。プリアンブルPAのビ
ットパターンは、図2(b)に示すように、31個の0
1とそれに続く1個の00である。通常のフレームのプ
リアンブルとは符号反転しただけの関係になっている
が、プリアンブルとしての動作には何等支障はない。プ
リアンブルPAの後に、1ビットずつのスタートビット
StartとストップビットStopの間に8ビットの
データビットD0 ,D1 ,…,D7 が挟まれた3
1.25Kbps で10ビット分の調歩式同期信号で
あるMIDIデータ(バス上で3200ビット)が続
く。MIDI信号1ビット分は32μsであり、320
ビット分同一のデータが伝送されることになる。On the other hand, the MIDI data frame format exchanged between the MIDI musical instruments 1 and 5 is as shown in FIG.
It is as shown in (b). The bit pattern of the preamble PA has 31 0's as shown in FIG.
1 followed by 00. The sign of the preamble of the normal frame is inverted, but the operation of the preamble does not cause any problem. After the preamble PA, 8-bit data bits D0, D1, ..., D7 are sandwiched between a start bit Start and a stop bit Stop, which are one bit at a time. 3
MIDI data (3200 bits on the bus), which is a start-stop synchronization signal for 10 bits, follows at 1.25 Kbps. One bit of MIDI signal is 32 μs, and 320
The same data will be transmitted for each bit.
【0012】MIDIデータの伝送の動作を次に説明す
る。MIDI楽器1から送信アダプタ3のMIDI/I
Nコネクタより入力されたMIDI信号は、シリアル/
パラレル変換器31を介してワード単位でFIFOバッ
ファ32に格納される。キャリアセンス/バックオフ制
御回路35はキャリアセンスを行っており、ここからの
指示によってFIFOバッファ32から1ワード分の信
号が取り出されてパラレル/シリアル変換器33により
シリアルデータに変換された後、変調器34により符号
化されて、プリアンブル付きで送信される。衝突が検出
されなければ、キャリアセンス/バックオフ制御回路3
5からの指示により、FIFOバッファ32から1ワー
ド分のデータが破棄される。衝突が検出された場合に
は、キャリアセンス/バックオフ制御回路35からの指
示によって適当な時間バックオフされ、再送信される。The operation of transmitting MIDI data will be described below. MIDI / I from MIDI musical instrument 1 to transmitting adapter 3
The MIDI signal input from the N connector is serial /
The data is stored in the FIFO buffer 32 word by word via the parallel converter 31. The carrier sense / back-off control circuit 35 carries out carrier sense, and a signal for one word is taken out from the FIFO buffer 32 by an instruction from this and converted into serial data by the parallel / serial converter 33, and then modulated. It is encoded by the device 34 and transmitted with a preamble. If no collision is detected, the carrier sense / backoff control circuit 3
According to the instruction from 5, the one-word data is discarded from the FIFO buffer 32. When a collision is detected, the carrier sense / backoff control circuit 35 gives an instruction to backoff for an appropriate time and retransmit.
【0013】受信アダプタ7では、MIDIフレーム用
のプリアンブルを持ったフレームだけを処理する。即
ち、復調回路71は、MIDIフレーム用プリアンブル
でバイフェーズ信号の位相同期を取り、それに続くバイ
フェーズ信号を復号して、MIDI/OUTコネクタか
ら出力する。この時フレーム長カウンタ72は受信され
たフレーム長を検出しており、例えば衝突等によりMI
DIフレーム長が短かすぎる場合(即ち320μsに満
たない場合)、ゲート回路73を制御してMIDI/O
UTに出す信号を320μsになるまで強制的に0ホー
ルドする。これにより、受信側でフレーミングエラーを
起こすような信号の出力が防止される。The receiving adapter 7 processes only a frame having a MIDI frame preamble. That is, the demodulation circuit 71 synchronizes the phase of the biphase signal with the MIDI frame preamble, decodes the subsequent biphase signal, and outputs the biphase signal from the MIDI / OUT connector. At this time, the frame length counter 72 is detecting the received frame length.
When the DI frame length is too short (that is, less than 320 μs), the gate circuit 73 is controlled to control the MIDI / O.
The signal output to the UT is forcibly held to 0 until it reaches 320 μs. This prevents the output of a signal that causes a framing error on the receiving side.
【0014】なおMIDI信号送信側の符号化方式とし
て、周波数変調であるf/2f方式(即ち、0は基本
波、1はその2倍の周波数の波を用いる方式)を用いた
とすると、プリアンブルをより効果的に使うことができ
る。即ちf/2f方式の場合、プリアンブルの最後でビ
ット境界の位相合わせを行う必要がないので、CSMA
フレームに対しては、000…0001というプリアン
ブルを用い、MIDIフレームに対しては、111…1
111というプリアンブルを用いることができる。この
様なプリアンブル形式を用いると、MIDIフレームで
はプリアンブルがアイドル期間との区別がなくなり、M
IDIフレーム受信側はプリアンブルを意識することな
く、復号化した1をそのままMIDI/OUTに出力す
ればよい。またMIDI送信側は、MIDI/IN信号
を遅延させて、スタートビットの前の1の状態を符号化
して送信すれば、結果的にプリアンブルを送信したこと
になる。Assuming that the f / 2f system, which is frequency modulation, is used as the encoding system on the MIDI signal transmitting side (that is, 0 is a fundamental wave, 1 is a wave having a frequency twice that), the preamble is used. It can be used more effectively. That is, in the case of the f / 2f method, it is not necessary to perform the phase alignment of the bit boundary at the end of the preamble.
The preamble of 000 ... 0001 is used for frames, and 111 ... 1 for MIDI frames.
A preamble of 111 can be used. When such a preamble format is used, in the MIDI frame, the preamble is no longer distinguished from the idle period, and M
The IDI frame receiving side may output the decoded 1 as it is to MIDI / OUT without paying attention to the preamble. If the MIDI transmitting side delays the MIDI / IN signal and encodes and transmits the state of 1 before the start bit, it means that the preamble is transmitted.
【0015】実施例では、非同期信号としてのMIDI
信号を他の局のCSMAフレームと異なるフレーム形式
で混在させる場合を説明したが、この発明はこれに限ら
れるものではなく、既存の例えばEthernet バ
ス上で連続信号を変調して伝送する場合も有効である。In the embodiment, MIDI as an asynchronous signal is used.
The case where the signals are mixed with the CSMA frame of another station in a different frame format has been described, but the present invention is not limited to this and is also effective when modulating and transmitting a continuous signal on an existing Ethernet bus, for example. Is.
【0016】[0016]
【発明の効果】以上説明したようにこの発明によれば、
簡単な送受信アダプタの追加により、異なるプロトコル
に従うデータを混在させて伝送することを可能としたマ
ルチアクセス型のLANを提供することができる。As described above, according to the present invention,
By adding a simple transmission / reception adapter, it is possible to provide a multi-access LAN capable of transmitting data according to different protocols in a mixed manner.
【図1】 この発明の一実施例に係るLANのMIDI
データ送受信部構成を示す図である。FIG. 1 is a diagram showing a MIDI of LAN according to an embodiment of the present invention.
It is a figure which shows the data transmission / reception part structure.
【図2】 同実施例の二つのフレーム形式を示す図であ
る。FIG. 2 is a diagram showing two frame formats of the embodiment.
1,5…MIDI楽器、2,6…MIDIケーブル、3
…送信アダプタ、4,8…トランシーバ、7…受信アダ
プタ、31…シリアル/パラレル変換器、32…FIF
Oバッファ、33…パラレル/シリアル変換器、34…
変調器、35…キャリアセンス/バックオフ制御回路、
71…復調回路、72…フレーム長カウンタ、73…ゲ
ート回路。1,5 ... MIDI musical instruments, 2, 6 ... MIDI cables, 3
... Transmission adapter, 4,8 ... Transceiver, 7 ... Reception adapter, 31 ... Serial / parallel converter, 32 ... FIF
O buffer, 33 ... Parallel / serial converter, 34 ...
Modulator, 35 ... Carrier sense / back-off control circuit,
71 ... Demodulation circuit, 72 ... Frame length counter, 73 ... Gate circuit.
Claims (2)
フレームにするフレーム化手段と、 前記音楽データフレームに、そのフレーム形式を示すプ
ロトコルとしてプリアンブルを付加する付加手段と、 前記プリアンブルを付加された音楽データフレームを通
信ネットワークに送信する送信手段とを有する音楽デー
タ通信装置。1. A framing means for framing music data into a music data frame, an adding means for adding a preamble to the music data frame as a protocol indicating the frame format, and the music data to which the preamble is added. A music data communication device having a transmission means for transmitting a frame to a communication network.
化してMIDIデータフレームにするフレーム化手段
と、 前記MIDIデータフレームに、そのフレーム形式を示
すプロトコルとしてプリアンブルを付加する付加手段
と、 前記プリアンブルを付加されたMIDIデータフレーム
をイーサネット(登録商標)を用いたネットワークに送
信する送信手段とを有する音楽データ通信装置。2. A framing unit for framing MIDI data in word units to form a MIDI data frame, an adding unit for adding a preamble to the MIDI data frame as a protocol indicating the frame format, and the preamble for adding the preamble. And a transmission means for transmitting the MIDI data frame to a network using Ethernet (registered trademark).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000208941A JP3424818B2 (en) | 2000-07-10 | 2000-07-10 | Music data communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000208941A JP3424818B2 (en) | 2000-07-10 | 2000-07-10 | Music data communication device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP35127692A Division JP3227850B2 (en) | 1992-12-07 | 1992-12-07 | Multi-access type LAN |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001191382A Division JP3603818B2 (en) | 2001-06-25 | 2001-06-25 | Music data communication device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2001067071A JP2001067071A (en) | 2001-03-16 |
JP3424818B2 true JP3424818B2 (en) | 2003-07-07 |
Family
ID=18705433
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000208941A Expired - Lifetime JP3424818B2 (en) | 2000-07-10 | 2000-07-10 | Music data communication device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3424818B2 (en) |
-
2000
- 2000-07-10 JP JP2000208941A patent/JP3424818B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2001067071A (en) | 2001-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3227850B2 (en) | Multi-access type LAN | |
EP0859495A2 (en) | High speed multimedia data network | |
WO2000052873A3 (en) | Data retransmission method in a voice-over-data communication system | |
KR19990087280A (en) | Circuits and methods for transmitting voice and data signals over wireless communication channels | |
JPH0685823A (en) | Method and apparatus for transmission of data on serial link | |
JP3424818B2 (en) | Music data communication device | |
JP3603818B2 (en) | Music data communication device | |
JPH05252165A (en) | Satellite communication equipment | |
JP3166952B2 (en) | Encoding / decoding device | |
US4255813A (en) | Dicode transmission system | |
JP2581238Y2 (en) | Data transmission equipment | |
EP1036458B1 (en) | A communications protocol | |
KR970007256B1 (en) | Packet data switching method in the digital mobile control office | |
JPS61206339A (en) | Interface speed converting system | |
JPS62179249A (en) | Data transmission equipment | |
JP2714624B2 (en) | Data transmission equipment | |
JPH05103037A (en) | Data transfer system | |
JPH0568071A (en) | Data transmission system | |
KR20000013895A (en) | Data transmission method using manchester code and apparatus thereof | |
JPS60194642A (en) | Data transmission method | |
JPH0417579B2 (en) | ||
JPS5863248A (en) | Loop type data transmitting system | |
JPH06232876A (en) | Data transmitting system | |
KR980007632A (en) | Program Guide Information Printing Method in Digital DBS System | |
JPS60117846A (en) | Data transmission system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20010731 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313532 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090502 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100502 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110502 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130502 Year of fee payment: 10 |
|
EXPY | Cancellation because of completion of term | ||
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130502 Year of fee payment: 10 |