JPH07319462A - Radio equipment for transmitting midi data - Google Patents

Radio equipment for transmitting midi data

Info

Publication number
JPH07319462A
JPH07319462A JP6138280A JP13828094A JPH07319462A JP H07319462 A JPH07319462 A JP H07319462A JP 6138280 A JP6138280 A JP 6138280A JP 13828094 A JP13828094 A JP 13828094A JP H07319462 A JPH07319462 A JP H07319462A
Authority
JP
Japan
Prior art keywords
data
operation specification
transmission
reception
midi
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
Application number
JP6138280A
Other languages
Japanese (ja)
Inventor
Naoto Uchiumi
直人 内海
Kuninori Ouchi
邦則 大内
Kikurou Yamauchi
毅久郎 山内
Haruhiko Matsui
はるひこ 松井
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.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing Co 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 Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP6138280A priority Critical patent/JPH07319462A/en
Priority to US08/452,173 priority patent/US5670732A/en
Publication of JPH07319462A publication Critical patent/JPH07319462A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2240/00Data organisation or data communication aspects, specifically adapted for electrophonic musical tools or instruments
    • G10H2240/171Transmission of musical instrument data, control or status information; Transmission, remote access or control of music data for electrophonic musical instruments
    • G10H2240/201Physical layer or hardware aspects of transmission to or from an electrophonic musical instrument, e.g. voltage levels, bit streams, code words or symbols over a physical link connecting network nodes or instruments
    • G10H2240/211Wireless transmission, e.g. of music parameters or control data by radio, infrared or ultrasound
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2240/00Data organisation or data communication aspects, specifically adapted for electrophonic musical tools or instruments
    • G10H2240/171Transmission of musical instrument data, control or status information; Transmission, remote access or control of music data for electrophonic musical instruments
    • G10H2240/281Protocol or standard connector for transmission of analog or digital data to or from an electrophonic musical instrument
    • G10H2240/311MIDI transmission

Abstract

PURPOSE:To provide a radio equipment for transmitting MIDI data in which an operation specification at the time of supplying a power source can be initially set to the same operation specification as that before a power supply is turned off. CONSTITUTION:This device is a radio equipment for transmitting MIDI data having a radio means 18 which transmits and/or receives a radio signal modulated based on MIDI data, an unlock type switch 13 for setting an operation specification of the radio means 18, and a control section 11 setting the operation specification based on a switch signal of the unlock type switch 13 and controlling the radio means 18 according to the set operation specification, further the device is provided with a memory means 22 which is constituted so as to be electrically rewritable and stores operation specification data indicating the operation specification set by the control section 11 and a backup means 22 backing up the memory means 22, and the control section 11 controls the radio means 18 based on the up-to-date operation specification data stored in the memory means 22 at the time of supplying a power source.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ピッチ情報、ベロシテ
ィー情報、音色情報およびコントロール情報などの演奏
情報の伝達に用いられるMIDI(Musical Instrument
Digital Interface)信号を、キーボードやMIDIギ
ター等の演奏装置、音源装置およびシーケンサなどのM
IDI楽器の相互間で送受信するためのMIDIデータ
伝送用無線装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a MIDI (Musical Instrument) used for transmitting performance information such as pitch information, velocity information, tone color information and control information.
Digital Interface) signals are transmitted to keyboards, MIDI guitars and other performance devices, tone generators, sequencers, and other M
The present invention relates to a radio device for MIDI data transmission for transmitting and receiving between IDI musical instruments.

【0002】[0002]

【従来の技術】出願人は、この種のMIDIデータ伝送
用無線装置として、例えば、電子楽器本体としてのキー
ボードと、キーボードとは別体の音源装置との間で無線
信号を用いてMIDIデータを伝送するものを既に提案
している(特願平6−72463)。このMIDIデー
タ伝送用無線装置は、MIDI楽器に接続され、MID
Iデータに基づいて変調された無線信号を送受信する送
受信部(無線手段)と、送受信部の送受信チャンネルや
伝送制御モードなどの動作仕様を指定するためのアンロ
ック式スイッチと、アンロック式スイッチのスイッチ信
号に基づいて送受信部を制御する制御部と、送受信部の
電源投入時における初期動作仕様を設定するための初期
動作仕様データを記憶するROMとを備えている。
2. Description of the Related Art As a radio device for transmitting MIDI data of this type, the applicant has used a radio signal between a keyboard as an electronic musical instrument body and a sound source device separate from the keyboard to transmit MIDI data. We have already proposed what to transmit (Japanese Patent Application No. 6-72463). This MIDI data transmission wireless device is connected to a MIDI musical instrument, and
A transmission / reception unit (radio unit) for transmitting / receiving a radio signal modulated based on I data, an unlock switch for designating operation specifications such as a transmission / reception channel of the transmission / reception unit, a transmission control mode, and an unlock switch. A control unit that controls the transmission / reception unit based on the switch signal and a ROM that stores initial operation specification data for setting initial operation specifications when the power of the transmission / reception unit is turned on are provided.

【0003】この従来のMIDIデータ伝送用無線装置
では、電源投入時に、制御部が、送受信部の初期動作仕
様データをROMから読み出し、初期動作仕様データに
基づいて動作仕様を設定し、設定した動作仕様に従って
送受信部を制御する。つまり、従来のMIDIデータ伝
送用無線装置は、メーカーによって予め設定された使用
状態に初期設定されることになる。このため、ユーザー
は、電源投入後、接続されたMIDI楽器の使用状況に
応じて、アンロック式スイッチを操作することにより、
送受信チャンネル等の初期設定された動作仕様を、使い
易いように変更している。
In this conventional radio apparatus for transmitting MIDI data, when the power is turned on, the control section reads the initial operation specification data of the transmitting / receiving section from the ROM, sets the operation specification based on the initial operation specification data, and sets the operation. Control the transceiver according to the specifications. That is, the conventional MIDI data transmission wireless device is initially set to a use state preset by the manufacturer. For this reason, the user operates the unlock type switch according to the usage status of the connected MIDI musical instrument after the power is turned on.
The default operating specifications such as transmission / reception channels have been changed for ease of use.

【0004】この場合、初期動作仕様データをROMに
記憶させているのは、以下の理由による。すなわち、近
年の電子楽器の小型化に伴い、MIDIデータ伝送用無
線装置も小型化する必要があるため、ロータリースイッ
チ等のような大きなスイッチを使用することができず、
小型のプッシュスイッチや薄型のテンキースイッチ等の
アンロック式スイッチを使用する必要がある。ところ
が、アンロック式スイッチは、固定接点と可動接点の接
触によりそれ自体で記憶機能を有しているロータリース
イッチ等と異なり、それ自体では記憶機能を有していな
い。このため、CPUが、アンロック式スイッチを押し
た回数をカウントし、そのカウント値に応じて、初期設
定した動作仕様を変更するように構成している。この結
果、電源がオフになると、CPUが記憶していたカウン
ト値、つまり変更したチャンネル等の動作仕様データは
消去されてしまう。したがって、電源投入時における送
受信部の動作仕様を初期設定するために、初期動作仕様
データをROMに予め記憶させておく必要がある。
In this case, the initial operation specification data is stored in the ROM for the following reason. That is, with the recent miniaturization of electronic musical instruments, it is also necessary to miniaturize the radio device for MIDI data transmission, so that a large switch such as a rotary switch cannot be used.
It is necessary to use unlocked switches such as small push switches and thin numeric keypad switches. However, the unlock type switch does not have a memory function by itself, unlike a rotary switch or the like which has a memory function by itself due to contact between a fixed contact and a movable contact. Therefore, the CPU counts the number of times the unlock switch is pressed, and changes the initially set operation specification according to the count value. As a result, when the power is turned off, the count value stored in the CPU, that is, the operation specification data of the changed channel or the like is erased. Therefore, it is necessary to store the initial operation specification data in the ROM in advance in order to initialize the operation specifications of the transmitting / receiving unit when the power is turned on.

【0005】[0005]

【発明が解決しようとする課題】ところが、従来のMI
DIデータ伝送用無線装置では、一旦電源を切った後に
再度電源を投入すると、ユーザーがせっかく使い易い状
態に変更した送受信部の動作仕様が、ROMに記憶され
た初期動作仕様データに基づいた元の動作仕様、つま
り、メーカーによって予め設定された初期動作仕様に画
一的に設定されてしまう。このため、従来のMIDIデ
ータ伝送用装置には、電源を投入する毎に、アンロック
式スイッチにより送受信部の動作仕様をユーザーが使い
易いように変更しなければならないという点で改善の余
地があった。
However, the conventional MI
In the wireless device for DI data transmission, when the power is turned off and then turned on again, the operation specifications of the transmission / reception unit changed to a user-friendly state are based on the original operation specification data stored in the ROM. The operating specifications, that is, the initial operating specifications preset by the manufacturer, are uniformly set. Therefore, there is room for improvement in the conventional MIDI data transmission device in that the operating specifications of the transmission / reception unit must be changed by an unlock switch every time the power is turned on so that the user can use it easily. It was

【0006】本発明は、かかる点に鑑みてなされたもの
であり、無線手段の電源投入時の動作仕様を電源がオフ
になる前と同じ動作仕様に初期設定することができるM
IDIデータの伝送用無線装置を提供することをその目
的としている。
The present invention has been made in view of the above points, and it is possible to initially set the operating specifications when the power of the wireless means is turned on to the same operating specifications as before the power is turned off.
It is an object of the present invention to provide a wireless device for transmitting IDI data.

【0007】[0007]

【課題を解決するための手段】上記目的を達成すべく請
求項1に係るMIDIデータ伝送用無線装置は、MID
I楽器に接続され、演奏情報を伝達するためのMIDI
データに基づいて変調された無線信号を送信および/ま
たは受信する無線手段と、無線手段の動作仕様を指定す
るためのアンロック式スイッチと、アンロック式スイッ
チのスイッチ信号に基づいて動作仕様を設定し、設定し
た動作仕様に従って無線手段を制御する制御部とを有す
るMIDIデータ伝送用無線装置であって、電気的に書
換可能に構成され、制御部により設定された動作仕様を
表す動作仕様データを記憶するメモリ手段と、メモリ手
段をバックアップするバックアップ手段とを備え、制御
部は、電源投入時に、メモリ手段に記憶された最新の動
作仕様データに基づいて、無線手段を制御するように構
成されていることを特徴とする。
In order to achieve the above object, a radio device for transmitting MIDI data according to claim 1 has a MID.
MIDI for transmitting performance information connected to the I instrument
A wireless means for transmitting and / or receiving a wireless signal modulated based on data, an unlocking switch for specifying an operating specification of the wireless means, and an operating specification set based on a switch signal of the unlocking switch A wireless device for MIDI data transmission having a control unit for controlling wireless means in accordance with the set operation specification, the operation specification data being electrically rewritable and representing the operation specification set by the control unit. The control unit is configured to control the wireless unit based on the latest operation specification data stored in the memory unit when the power is turned on, and the memory unit stores the memory unit and the backup unit that backs up the memory unit. It is characterized by being

【0008】請求項2に係るMIDIデータ伝送用無線
装置は、MIDI楽器に接続され、演奏情報を伝達する
ためのMIDIデータに基づいて変調された無線信号を
送信および/または受信する無線手段と、無線手段の動
作仕様を指定するためのアンロック式スイッチと、アン
ロック式スイッチのスイッチ信号に基づいて動作仕様を
設定し、設定した動作仕様に従って無線手段を制御する
制御部とを有するMIDIデータ伝送用無線装置であっ
て、電気的に書換可能に構成され、制御部により設定さ
れた動作仕様を表す動作仕様データを記憶する不揮発性
のメモリ手段を備え、制御部は、電源投入時に、メモリ
手段に記憶された最新の動作仕様データに基づいて、無
線手段を制御するように構成されていることを特徴とす
る。
According to a second aspect of the present invention, there is provided a radio device for transmitting MIDI data, which is connected to a MIDI musical instrument and which transmits and / or receives a radio signal modulated based on MIDI data for transmitting performance information. MIDI data transmission having an unlocking switch for designating an operating specification of the wireless means, and a control unit for setting the operating specification based on the switch signal of the unlocking switch and controlling the wireless means according to the set operating specification A wireless device for use in electronically rewritable, comprising non-volatile memory means for storing operation specification data indicating operation specifications set by the control section, and the control section is provided with the memory means when the power is turned on. It is configured to control the wireless means based on the latest operation specification data stored in.

【0009】請求項3に係るMIDIデータ伝送用無線
装置は、請求項1または2記載のMIDIデータ伝送用
無線装置において、無線手段の初期動作仕様データを記
憶する不揮発性の他のメモリ手段およびロック式スイッ
チの一方をさらに備え、制御部は、電源投入時に、メモ
リ手段に動作仕様データが記憶されていないときには、
不揮発性の他のメモリ手段およびロック式スイッチの一
方に記憶された初期動作仕様データに基づいて、無線手
段を制御するように構成されていることを特徴とする。
A radio device for transmitting MIDI data according to a third aspect is the radio device for transmitting MIDI data according to the first or second aspect, in which other non-volatile memory means for storing initial operation specification data of the radio means and a lock are provided. The control unit further includes one of the switch, and when the power supply is turned on, when the operation specification data is not stored in the memory means,
It is characterized in that the wireless means is controlled based on the initial operation specification data stored in one of the other non-volatile memory means and one of the lock switches.

【0010】[0010]

【作用】請求項1に係るMIDIデータ伝送用無線装置
によれば、電源投入後、ユーザーが、アンロック式スイ
ッチによって無線手段のチャンネルや伝送制御モード等
の動作仕様を設定すると、その設定された動作仕様を表
す動作仕様データは、バックアップされているメモリ手
段に記憶されるので、電源がオフになったときでも保持
されている。一方、再度電源が投入されると、制御部
は、メモリ手段が記憶している最新の動作仕様データに
基づいて無線手段を制御する。このため、無線手段の電
源投入時における使用状態つまり動作仕様を、電源をオ
フにする前と同じ動作仕様に初期設定することができる
ので、ユーザーは、電源投入後直ちに無線手段によるM
IDIデータの伝送を開始することができる。
According to the radio device for transmitting MIDI data according to the first aspect, after the power is turned on, when the user sets the operating specifications such as the channel of the radio means and the transmission control mode by the unlock type switch, the setting is made. Since the operation specification data indicating the operation specification is stored in the memory means that is backed up, it is retained even when the power is turned off. On the other hand, when the power is turned on again, the control unit controls the wireless means based on the latest operation specification data stored in the memory means. For this reason, the use state at the time of turning on the power of the wireless means, that is, the operation specification can be initialized to the same operation specification as before the power is turned off.
The transmission of IDI data can be started.

【0011】請求項2に係るMIDIデータ伝送用無線
装置によれば、請求項1に係るMIDIデータ伝送用無
線装置と同じようにして、電源投入時に、制御部は、不
揮発性のメモリ手段が記憶している最新の動作仕様デー
タに基づいて無線手段を制御する。このため、無線手段
の電源投入時における動作仕様を、電源をオフにする前
と同じ動作仕様に初期設定することができる。
According to the radio device for transmitting MIDI data according to claim 2, in the same manner as the radio device for transmitting MIDI data according to claim 1, when the power is turned on, the control unit stores the non-volatile memory means. The wireless means is controlled based on the latest operating specification data. Therefore, the operating specifications when the power of the wireless unit is turned on can be initialized to the same operating specifications as before the power was turned off.

【0012】請求項3に係るMIDIデータ伝送用無線
装置によれば、装置出荷後の最初に電源を投入した時に
は、メモリ手段に動作仕様データが記憶されていないの
で、制御部がROMまたはロック式スイッチに記憶され
た初期動作仕様データに基づいて無線手段を初期設定す
る。つまり、無線手段は、メーカーにより予め設定され
た動作仕様に初期設定される。一方、ユーザーがアンロ
ック式スイッチにより動作仕様を一旦設定すると、設定
された動作仕様を表す動作仕様データは、メモリ手段に
記憶される。したがって、一旦電源を切った後に再度電
源が投入されると、メモリ手段に動作仕様データが記憶
されているので、制御部は、メモリ手段が記憶している
最新の動作仕様データに基づいて、無線手段を制御す
る。このため、無線手段の電源投入時における動作仕様
を、電源をオフにする前と同じ動作仕様に初期設定する
ことができる。また、メモリ手段が故障した場合には、
メモリ手段に動作仕様データが記憶されていないため、
制御部は、ROMまたはロック式スイッチに記憶されて
いる初期動作仕様データに基づいて無線手段を初期設定
する。
According to the radio device for transmitting MIDI data of the third aspect, when the power is first turned on after the device is shipped, the operation specification data is not stored in the memory means, so that the control unit is the ROM or the lock type. The wireless means is initialized based on the initial operation specification data stored in the switch. That is, the wireless means is initially set to the operating specifications preset by the manufacturer. On the other hand, once the user sets the operating specifications by the unlock switch, the operating specification data representing the set operating specifications is stored in the memory means. Therefore, when the power is turned off and then turned on again, the operation specification data is stored in the memory means. Therefore, the control unit sets the wireless operation based on the latest operation specification data stored in the memory means. Control means. Therefore, the operating specifications when the power of the wireless unit is turned on can be initialized to the same operating specifications as before the power was turned off. If the memory means fails,
Since the operation specification data is not stored in the memory means,
The control section initializes the wireless means based on the initial operation specification data stored in the ROM or the lock switch.

【0013】[0013]

【実施例】以下、添付図面を参照して、本発明の実施例
に係るMIDIデータの伝送用無線装置について説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A radio apparatus for transmitting MIDI data according to an embodiment of the present invention will be described below with reference to the accompanying drawings.

【0014】図1は、本実施例に係るMIDIデータの
伝送用無線装置を適用したMIDI楽器システム1の構
成図である。同図に示すように、このMIDI楽器シス
テム1は、4台のキーボード(MIDI楽器)2a,2
b,2c,2d(以下、キーボードを区別しない場合に
は、「キーボード2」とする)で構成されている。各キ
ーボード2は、音源装置(MIDI楽器、図示せず)と
送受信装置(MIDIデータ伝送用無線装置)3を備え
ており、各送受信装置3には、無線信号の送受信のため
のアンテナ4が取り付けられている。
FIG. 1 is a block diagram of a MIDI musical instrument system 1 to which a radio device for transmitting MIDI data according to this embodiment is applied. As shown in the figure, this MIDI musical instrument system 1 includes four keyboards (MIDI musical instruments) 2a, 2
b, 2c, 2d (hereinafter, referred to as "keyboard 2" when the keyboards are not distinguished). Each keyboard 2 includes a sound source device (MIDI musical instrument, not shown) and a transmitting / receiving device (MIDI device for transmitting MIDI data) 3, and an antenna 4 for transmitting / receiving a wireless signal is attached to each transmitting / receiving device 3. Has been.

【0015】このMIDI楽器システム1では、各キー
ボード2は、他のキーボード2にMIDIデータに基づ
く無線信号を送信することにより、他のキーボード2の
発音を制御できるように構成されている。この結果、演
奏にアンサンブル効果を持たせたり、キーボード2毎に
異なる音色や音質を予め設定しておき、希望するキーボ
ード2にのみ発音させたりすることができるようになっ
ている。具体的には、同図に示すように、キーボード2
aが送信する無線信号の送信周波数をf1(Ch. 1)
に設定し、キーボード2b,2cが受信する無線信号の
受信周波数をf1(Ch. 1)に設定しておくことによ
り、キーボード2aでキー操作を行えば、キーボード2
aが、MIDIデータに基づいて変調した無線信号を送
信し、キーボード2b,2cが、この無線信号を受信す
ると共にMIDIデータに復調し、復調したMIDIデ
ータに基づいて発音を行う。また、上記設定状態から、
キーボード2dの送信周波数、およびキーボード2cの
受信周波数をそれぞれf2(Ch. 2)に設定すること
により、キーボード2aがキーボード2bを、および、
キーボード2dがキーボード2cをそれぞれ別個に発音
制御することもできる。
In this MIDI musical instrument system 1, each keyboard 2 is configured to control the sounding of the other keyboard 2 by transmitting a radio signal based on MIDI data to the other keyboard 2. As a result, it is possible to give an ensemble effect to the performance, or to preset different tone colors and sound qualities for each keyboard 2 so that only the desired keyboard 2 can sound. Specifically, as shown in FIG.
The transmission frequency of the radio signal transmitted by a is f1 (Ch. 1)
And the reception frequency of the radio signal received by the keyboards 2b and 2c is set to f1 (Ch. 1), the keyboard 2a can be operated by key operation.
a transmits a radio signal modulated based on MIDI data, and the keyboards 2b and 2c receive the radio signal and demodulate into MIDI data, and sound is generated based on the demodulated MIDI data. Also, from the above setting state,
By setting the transmission frequency of the keyboard 2d and the reception frequency of the keyboard 2c to f2 (Ch. 2) respectively, the keyboard 2a sets the keyboard 2b, and
The keyboard 2d can also control the pronunciation of the keyboard 2c separately.

【0016】前述した音源装置は、自身が内蔵されてい
るキーボード2の押鍵に対応した楽音や、他のキーボー
ド2から送信されるMIDIデータに対応した楽音を生
成する。送受信装置3は、送信モードまたは受信モード
のいずれか一方のモードに切り替え設定できるようにな
っており、送信モードでは、キーボード2から出力され
る、ノートオン信号やノートオフ信号などの演奏信号に
対応したMIDIデータで変調した無線信号を他のキー
ボード2に送信する一方、受信モードでは、他のキーボ
ード2から送信された無線信号を受信すると共に受信し
た無線信号からMIDIデータを復調する。
The sound source device described above generates a musical tone corresponding to a key depression of the keyboard 2 in which it is incorporated and a musical tone corresponding to MIDI data transmitted from another keyboard 2. The transmission / reception device 3 can be set to be switched to either the transmission mode or the reception mode, and in the transmission mode, it corresponds to a performance signal such as a note-on signal or a note-off signal output from the keyboard 2. While transmitting the radio signal modulated with the MIDI data to the other keyboard 2, in the reception mode, the radio signal transmitted from the other keyboard 2 is received and the MIDI data is demodulated from the received radio signal.

【0017】次に、図2に示す送受信装置3のブロック
図を参照して、送受信装置3の構成について説明する。
同図に示すように、送受信装置3は、CPU11、制御
データ記憶部12、スイッチ部13、MIDIデータ受
信部14、伝送データ一時記憶部15、制御信号出力部
16、送信データ出力部17、送受信部(無線手段)1
8、受信データ入力部19、MIDIデータ送信部2
0、アサイナ21、および設定記憶部22を備えてい
る。
Next, the configuration of the transmitting / receiving device 3 will be described with reference to the block diagram of the transmitting / receiving device 3 shown in FIG.
As shown in the figure, the transceiver 3 includes a CPU 11, a control data storage unit 12, a switch unit 13, a MIDI data reception unit 14, a transmission data temporary storage unit 15, a control signal output unit 16, a transmission data output unit 17, and a transmission / reception unit. Department (wireless means) 1
8, reception data input unit 19, MIDI data transmission unit 2
0, an assigner 21, and a setting storage unit 22.

【0018】CPU11は、送受信装置3のすべての動
作を制御するものであり、具体的には、スイッチ部13
のスイッチのオン/オフの検出、スイッチ部13によっ
て指定されている送受信部18の最初の電源投入時にお
ける各種動作仕様の初期動作仕様データ、および後述す
る設定記憶部22に記憶されている動作仕様データのそ
れぞれに基づいて実行する電源投入時における初期動作
仕様設定制御、キーボード2との間で送受されるMID
Iデータの送受信制御、一時記憶部15への書込みおよ
び読出し、MIDIデータのアサイナ21への書込みお
よびその消去、ならびに、送受信部18に対しての、送
受信切替制御、送受信チャンネル切替制御および送受信
データの伝送制御などを行う。
The CPU 11 controls all operations of the transmission / reception device 3, and specifically, the switch unit 13
ON / OFF detection of the switch, initial operation specification data of various operation specifications at the time of first power-on of the transmission / reception section 18 designated by the switch section 13, and operation specifications stored in a setting storage section 22 described later. Initial operation specification setting control at power-on executed based on each of the data, MID exchanged with the keyboard 2
I data transmission / reception control, writing / reading to / from the temporary storage unit 15, MIDI data writing / erasing to / from the assigner 21, and transmission / reception switching control, transmission / reception channel switching control, and transmission / reception data of the transmission / reception unit 18. Controls transmission.

【0019】制御データ記憶部12は、CPU11の動
作プログラムや、複数のチャンネルを有する送受信部1
8の各チャンネルナンバー毎の送信および受信のチャン
ネル制御データを記憶する。
The control data storage unit 12 includes an operation program for the CPU 11 and a transmission / reception unit 1 having a plurality of channels.
The transmission and reception channel control data for each channel number 8 are stored.

【0020】スイッチ部13は、後述する伝送制御モー
ド選択スイッチと、送受信部18の送受信チャンネル
(Ch.)を複数のチャンネルのいずれかに選択するアン
ロック式のプッシュスイッチであるチャンネルスイッチ
と、後述する初期設定スイッチ(ロック式スイッチ)
と、複数の送受信チャンネルから空きチャンネルを自動
的に検索するための空きチャンネル自動検索スイッチと
を備えている(いずれも図示せず)。
The switch section 13 includes a transmission control mode selection switch, which will be described later, a channel switch which is an unlock type push switch for selecting the transmission / reception channel (Ch.) Of the transmission / reception section 18 as one of a plurality of channels, and a later-described channel switch. Initial setting switch (lock type switch)
And a free channel automatic search switch for automatically searching for a free channel from a plurality of transmission / reception channels (all not shown).

【0021】伝送制御モード選択スイッチは、送信モー
ドスイッチ、受信モードスイッチ、自動切替モードスイ
ッチおよび演奏モードスイッチからなり、これらのスイ
ッチはすべてアンロック式のプッシュスイッチで構成さ
れている。送信モードスイッチおよび受信モードスイッ
チは、送受信装置3を、送信モード(送信状態)および
受信モード(受信状態)にそれぞれ設定するためのスイ
ッチであり、いずれかのスイッチがオンされているとき
に、送受信装置3はマニュアルモードとなる。自動切替
モードスイッチは、送受信装置3を、自動切替モードに
設定するためのスイッチであり、自動切替モードでは、
送受信装置3は、送信モードまたは受信モードに自動的
に切り替えられる。なお、上記送信モードスイッチおよ
び受信モードスイッチは、自動切替モードスイッチに優
先して適用されるようになっており、自動切替モードス
イッチのオン/オフ状態に拘らず、送信モードスイッチ
または受信モードスイッチがオンされると、送受信装置
3は、優先してマニュアルモードに設定され、送信モー
ドまたは受信モードになる。演奏モードスイッチは、送
受信部18をキーボード2から機能的に切り離して、キ
ーボード2を単独のMIDI楽器として動作させるとき
にオンされるスイッチであり、上記3つのスイッチに優
先して適用される。
The transmission control mode selection switch is composed of a transmission mode switch, a reception mode switch, an automatic switching mode switch and a performance mode switch, and these switches are all composed of unlock type push switches. The transmission mode switch and the reception mode switch are switches for setting the transmission / reception device 3 in the transmission mode (transmission state) and the reception mode (reception state), respectively, and when either switch is turned on, transmission / reception is performed. The device 3 is in the manual mode. The automatic switching mode switch is a switch for setting the transmission / reception device 3 in the automatic switching mode.
The transceiver 3 is automatically switched to the transmission mode or the reception mode. The transmission mode switch and the reception mode switch are applied in preference to the automatic changeover mode switch, and the transmission mode switch or the reception mode switch is irrespective of the ON / OFF state of the automatic changeover mode switch. When turned on, the transmission / reception device 3 is preferentially set to the manual mode, and becomes the transmission mode or the reception mode. The performance mode switch is a switch that is turned on when the transmitting / receiving unit 18 is functionally separated from the keyboard 2 and the keyboard 2 is operated as an independent MIDI musical instrument, and is applied in preference to the above three switches.

【0022】初期設定スイッチは、送受信チャンネル、
伝送制御モード、送信伝送速度および自動空きチャンネ
ル検索処理の実行等の送受信部18の初期動作仕様、す
なわち、電源投入時における各種動作仕様の初期設定を
行うためのスイッチであり、各動作仕様項目のそれぞれ
の設定数(例えば、チャンネルの数)の総和に等しい数
のディップスイッチにより構成されている。ユーザー
は、この初期設定スイッチを操作することにより、送受
信部18の上記初期動作仕様を、希望する動作仕様に指
定することができる。なお、後述する設定記憶部22の
バックアップ電池が故障したときなど設定記憶部22の
記憶内容が消去してしまった場合には、CPU11は、
設定記憶部22の記憶内容が失われていることを検出
し、初期設定スイッチにより指定された動作仕様に送受
信部18を初期設定する。
The initial setting switch is a transmission / reception channel,
It is a switch for performing initial setting of transmission control mode, transmission transmission speed, and initial operation specifications of the transmission / reception unit 18, such as execution of automatic free channel search processing, that is, various operation specifications when the power is turned on. The number of DIP switches is equal to the sum of the respective set numbers (for example, the number of channels). By operating this initial setting switch, the user can specify the above-mentioned initial operation specifications of the transmission / reception unit 18 as desired operation specifications. If the stored contents of the setting storage unit 22 are erased, such as when the backup battery of the setting storage unit 22 described later fails, the CPU 11
It is detected that the contents stored in the setting storage unit 22 are lost, and the transmission / reception unit 18 is initialized to the operation specification designated by the initialization switch.

【0023】MIDIデータ受信部14は、インターフ
ェース回路であって、キーボード2から出力されたシリ
アルデータのMIDIデータをパラレルのMIDIデー
タに変換する。
The MIDI data receiving section 14 is an interface circuit and converts the MIDI data of the serial data output from the keyboard 2 into parallel MIDI data.

【0024】伝送データ一時記憶部15は、いわゆるF
IFO(First-in First-out)メモリで構成されてお
り、送受信装置3が送信モードのときには、MIDIデ
ータ受信部14を介してキーボード2本体から出力され
たMIDIデータが、伝送データ一時記憶部15に順次
書き込まれる。書き込まれたMIDIデータは、CPU
11により書込み順に読み出され、送受信部18から無
線信号によって、他のキーボード2へ送信される。一
方、送受信装置3が受信モードのときには、送受信部1
8および受信データ入力部19を介して、他のキーボー
ド2から送信されたMIDIデータが、同じく伝送デー
タ一時記憶部15に順次書き込まれる。書き込まれたM
IDIデータは、CPU11により書込み順に読み出さ
れ、MIDIデータ送信部20からキーボード2へ出力
される。
The transmission data temporary storage unit 15 is a so-called F
When the transmitter / receiver 3 is in the transmission mode, the MIDI data output from the keyboard 2 main body via the MIDI data receiving unit 14 is a transmission data temporary storage unit 15 and is composed of an IFO (First-in First-Out) memory. Are sequentially written to. The written MIDI data is stored in the CPU
The data is read in the order of writing by 11 and is transmitted to the other keyboard 2 by a wireless signal from the transmitting / receiving unit 18. On the other hand, when the transceiver 3 is in the reception mode, the transceiver 1
The MIDI data transmitted from the other keyboard 2 is sequentially written into the transmission data temporary storage unit 15 via the data reception unit 8 and the reception data input unit 19. Written M
The IDI data is read by the CPU 11 in the order of writing and is output from the MIDI data transmitting unit 20 to the keyboard 2.

【0025】制御信号出力部16は、CPU11から出
力された、送受信制御信号、送信チャンネル制御信号、
および受信チャンネル制御信号を送受信部18に出力す
る。
The control signal output section 16 outputs a transmission / reception control signal, a transmission channel control signal,
And a reception channel control signal to the transmission / reception unit 18.

【0026】送信データ出力部17は、伝送データ一時
記憶部15から読み出されたMIDIデータに基づくパ
ラレルのMIDIデータを、シリアルのMIDIデータ
に変換する。
The transmission data output unit 17 converts parallel MIDI data based on the MIDI data read from the transmission data temporary storage unit 15 into serial MIDI data.

【0027】送受信部18は、特に限定されないが、F
M送受信機であって、無線信号を送信する送信部と、無
線信号を受信する受信部とを有し、送受信周波数が43
0MHz帯、送信出力が10mW、送受信チャンネルが
40チャンネルに構成されている。送信部は、送受信装
置3に入力されたMIDIデータに基づいて、高周波信
号を周波数変調して無線信号を生成すると共にアンテナ
4から出力する。受信部は、アンテナ4を介して他のキ
ーボード2から送信された無線信号を受信すると共に、
無線信号をMIDIデータに復調して受信データ入力部
19に出力する。
The transmitting / receiving unit 18 is not particularly limited, but may be F
An M transceiver, which has a transmitter for transmitting a radio signal and a receiver for receiving a radio signal, and has a transmission / reception frequency of 43
The 0 MHz band, the transmission output is 10 mW, and the transmission / reception channels are 40 channels. The transmission unit frequency-modulates the high frequency signal based on the MIDI data input to the transmission / reception device 3 to generate a radio signal and outputs the radio signal from the antenna 4. The receiving unit receives a wireless signal transmitted from another keyboard 2 via the antenna 4, and
The radio signal is demodulated into MIDI data and output to the reception data input unit 19.

【0028】受信データ入力部19は、送受信部18の
受信部から出力されるシリアルのMIDIデータをパラ
レルのMIDIデータに変換する。
The reception data input section 19 converts the serial MIDI data output from the reception section of the transmission / reception section 18 into parallel MIDI data.

【0029】MIDIデータ送信部20は、伝送データ
一時記憶部15から読み出されたMIDIデータに基づ
くパラレルのMIDIデータを、シリアルのMIDIデ
ータに変換し、キーボード2へ出力する。
The MIDI data transmission unit 20 converts parallel MIDI data based on the MIDI data read from the transmission data temporary storage unit 15 into serial MIDI data and outputs it to the keyboard 2.

【0030】アサイナ21は、メモリであって、MID
Iデータ受信部14および受信データ入力部19に入力
された、すべてのMIDIチャンネル毎のすべてのノー
トナンバーについて、オン/オフの状態を記憶する。
The assigner 21 is a memory and has a MID
The ON / OFF states of all the note numbers input to the I-data receiving section 14 and the received-data input section 19 for all MIDI channels are stored.

【0031】設定記憶部22は、RAMおよびこれをバ
ックアップするバックアップ電池から構成されており、
送受信装置3の電源がオフになっても、その書き込まれ
ているデータを保持している。この設定記憶部22は、
ユーザーがチャンネルスイッチや伝送制御モードスイッ
チを操作して動作仕様を設定したときに、CPUによっ
て、その動作仕様を表す動作仕様データが所定の番地に
書き込まれる。具体的には、CPU11は、伝送制御モ
ードスイッチなどにより動作仕様が変更されたときに、
各動作仕様に対するフラグ、例えば、後述する、自動切
替モードフラグおよび送受信フラグ等を内部レジスタに
セットすると共に、そのフラグがセットされたことを意
味するデータ「1」を、設定記憶部22の各動作仕様項
目毎に予め指定されている番地に書き込む。一方、CP
U11は、セットしたフラグをオフにすると、設定記憶
部22に既に書き込まれているデータ「1」をデータ
「0」に書き換える。つまり、設定記憶部22は、ユー
ザーが変更した後の動作仕様を表す最新の動作仕様デー
タを記憶する。
The setting storage unit 22 is composed of a RAM and a backup battery that backs up the RAM.
Even if the power of the transceiver 3 is turned off, the written data is retained. This setting storage unit 22
When the user operates the channel switch or the transmission control mode switch to set the operation specification, the CPU writes the operation specification data indicating the operation specification at a predetermined address. Specifically, when the operation specification is changed by the transmission control mode switch or the like, the CPU 11
A flag for each operation specification, for example, an automatic switching mode flag and a transmission / reception flag, which will be described later, is set in the internal register, and data "1" indicating that the flag is set is set in each operation of the setting storage unit 22. Write in the address specified in advance for each specification item. On the other hand, CP
When the flag that has been set is turned off, U11 rewrites the data "1" already written in the setting storage unit 22 into the data "0". That is, the setting storage unit 22 stores the latest operation specification data indicating the operation specification after the change by the user.

【0032】次に、送受信装置3の動作概要について、
前述した自動切替モードおよびマニュアルモードに分け
て説明する。
Next, regarding the operation outline of the transmitting / receiving apparatus 3,
The automatic switching mode and the manual mode described above will be described separately.

【0033】自動切替モードでは、通常、送受信装置3
は、送受信部18を受信モードに設定することにより、
MIDIデータ受信部14を介してのキーボード2から
のMIDIデータの入力、および、送受信部18を介し
ての他のキーボード2からのMIDIデータの入力のい
ずれも受付け可能な待機状態になっている。この待機状
態で、MIDIデータ受信部14を介してキーボード2
からMIDIデータが入力されると、送受信部18を自
動的に送信モードに設定し、入力したMIDIデータ
を、送信データ出力部17および送受信部18を介して
他のキーボード2に送信する。一方、送受信部18およ
び受信データ入力部19を介して、他のキーボード2か
らMIDIデータが入力されると、送受信部18を自動
的に受信モードに設定し、入力したMIDIデータをM
IDIデータ送信部20を介してキーボード2に出力す
る。
In the automatic switching mode, the transmitter / receiver 3 is normally used.
By setting the transmission / reception unit 18 to the reception mode,
Both the MIDI data input from the keyboard 2 via the MIDI data receiving section 14 and the MIDI data input from another keyboard 2 via the transmitting / receiving section 18 are in a standby state in which they can be received. In this standby state, the keyboard 2 is received via the MIDI data receiving unit 14.
When the MIDI data is input from, the transmission / reception unit 18 is automatically set to the transmission mode, and the input MIDI data is transmitted to another keyboard 2 via the transmission data output unit 17 and the transmission / reception unit 18. On the other hand, when MIDI data is input from another keyboard 2 via the transmission / reception unit 18 and the reception data input unit 19, the transmission / reception unit 18 is automatically set to the reception mode, and the input MIDI data is set to M
The data is output to the keyboard 2 via the IDI data transmission unit 20.

【0034】マニュアルモードでは、送信モードおよび
受信モードのいずれかが択一的に選択されている。つま
り、マニュアルモードにおいては、キーボード2を演奏
装置または音源装置のいずれかに固定して使用すること
ができる。送信モードスイッチがオンされているときに
は、送受信部18が送信モードに設定され、この後に、
MIDIデータ受信部14を介してキーボード2からM
IDIデータが出力されると、送信データ出力部17お
よび送受信部18を介して、他のキーボード2にMID
Iデータを送信する。一方、受信モードスイッチがオン
されているときには、送受信部18が受信モードに設定
され、この後に、送受信部18および受信データ入力部
19を介して、他のキーボード2からMIDIデータが
入力されると、入力したMIDIデータをMIDIデー
タ送信部20を介してキーボード2に出力する。
In the manual mode, either the transmission mode or the reception mode is alternatively selected. That is, in the manual mode, the keyboard 2 can be used by fixing it to either the performance device or the tone generator device. When the transmission mode switch is turned on, the transmission / reception unit 18 is set to the transmission mode, and thereafter,
From the keyboard 2 via the MIDI data receiving unit 14 to M
When the IDI data is output, the MID is sent to another keyboard 2 via the transmission data output unit 17 and the transmission / reception unit 18.
Send I data. On the other hand, when the reception mode switch is turned on, the transmission / reception unit 18 is set to the reception mode, and thereafter, MIDI data is input from another keyboard 2 via the transmission / reception unit 18 and the reception data input unit 19. , And outputs the input MIDI data to the keyboard 2 via the MIDI data transmission unit 20.

【0035】次に、図3〜6のフローチャートを参照し
て、送受信装置3の動作について具体的に説明する。な
お、以下に説明する処理は、特にことわりがない限り、
すべてCPU11によって行われる。また、これらの処
理には、次に掲げる種々のフラグが用いられる。これら
の左欄のフラグは、CPU11によってセットされてい
るときに、送受信装置3が、右欄の状態になっているこ
とをそれぞれ示すものである。 送受信フラグ:送信モード状態 自動切替モードフラグ:自動切替モード状態 切替可能フラグ:自動切替モードに移行した直後の状
態、または、自動切替モード時において、受信または送
信が一旦終了してから、次の送信または受信が開始され
るまでの間の待機状態
Next, the operation of the transmission / reception device 3 will be specifically described with reference to the flow charts of FIGS. In addition, unless otherwise specified, the processes described below are
All are performed by the CPU 11. Further, various flags listed below are used for these processes. These flags in the left column respectively indicate that the transmission / reception device 3 is in the state in the right column when set by the CPU 11. Transmission / reception flag: Transmission mode state Automatic switching mode flag: Automatic switching mode state Switchable flag: State immediately after shifting to automatic switching mode, or in the automatic switching mode, after reception or transmission is completed once, next transmission Or waiting state until reception starts

【0036】最初に、電源投入時の初期設定を行うイニ
シャルルーチンについて、図3を参照して説明する。電
源が投入されると、CPU11は、設定記憶部22に記
憶されている各モードフラグ(動作仕様データを意味す
る)を読み出す(ステップS1)。なお、動作仕様デー
タが記憶されていないとき、または一部しか記憶されて
いないときは、その一部を除く他の動作仕様データにつ
いては、初期設定スイッチにより指定されている初期動
作仕様データを読み出す。つまり、設定記憶部22に記
憶されている動作仕様データが、初期設定スイッチによ
り設定されている初期動作仕様データに優先して読み出
されることになる。次に、伝送制御モードを表す動作仕
様データが自動切替モードに指定されているか否かを判
別し(ステップS2)、自動切替モードに設定されてい
るときは、自動切替モード設定処理を行った(ステップ
S3)後にメインルーチンに進む。ステップS2におい
て自動切替モードに指定されていないと判別したとき
は、送信モードに指定されているか否かを判別する(ス
テップS4)。送信モード指定になっているときは送信
設定処理を行った(ステップS5)後にメインルーチン
に進み、送信モードに指定されていないときは、受信設
定処理を行った(ステップS6)後にメインルーチンに
進む。なお、ステップS1では、すべての動作仕様に対
する動作仕様データおよび初期動作仕様データを読み出
し、その後に、これらの動作仕様データに基づいて動作
仕様の設定処理を行っているが、本実施例においては、
モード設定およびチャンネル設定についてのみ代表して
説明する。
First, an initial routine for making initial settings when the power is turned on will be described with reference to FIG. When the power is turned on, the CPU 11 reads out each mode flag (meaning operation specification data) stored in the setting storage unit 22 (step S1). If the operation specification data is not stored, or if only part of it is stored, the initial operation specification data specified by the initial setting switch is read for other operation specification data except that part. . That is, the operation specification data stored in the setting storage unit 22 is read out prior to the initial operation specification data set by the initialization switch. Next, it is determined whether or not the operation specification data indicating the transmission control mode is designated as the automatic switching mode (step S2), and when the automatic switching mode is set, the automatic switching mode setting process is performed ( After step S3), the process proceeds to the main routine. When it is determined in step S2 that the automatic switching mode is not designated, it is determined whether or not the transmission mode is designated (step S4). When the transmission mode is designated, the transmission setting process is performed (step S5) and then the process proceeds to the main routine. When the transmission mode is not designated, the reception setting process is performed (step S6) and the process proceeds to the main routine. . In step S1, the operation specification data and the initial operation specification data for all the operation specifications are read out, and then the operation specification setting process is performed based on these operation specification data. However, in the present embodiment,
Only mode setting and channel setting will be described as a representative.

【0037】次に、自動切替モードの設定ルーチンにつ
いて、図4を参照して説明する。このルーチンは、動作
仕様データが、自動切替モードの設定を示していたとき
に送受信部18を自動切替モードに設定する処理であ
る。
Next, the automatic switching mode setting routine will be described with reference to FIG. This routine is a process for setting the transmission / reception unit 18 to the automatic switching mode when the operation specification data indicates the setting of the automatic switching mode.

【0038】最初に、動作仕様データにより指定された
チャンネルナンバーを読み出し(ステップS11)、こ
のチャンネルナンバーに対応する受信チャンネル制御デ
ータ(受信モード時における受信部の第1局部発振周波
数データ)を制御データ記憶部12から読み出す(ステ
ップS12)。次いで、読み出した受信チャンネル制御
データに基づく受信チャンネル制御信号を、制御信号出
力部16を介して送受信部18に出力する(ステップS
13)。このとき、受信データ入力部19は受信データ
の入力が可能な状態になっており、受信データ入力部1
9からの受信データ入力部受信割込み処理、つまり、受
信モードのときに、他のキーボード2から送受信部18
および受信データ入力部19を介してMIDIデータが
入力されたときに、そのMIDIデータを自動的にキー
ボード2に出力するための処理が許可される(ステップ
S14)。
First, the channel number designated by the operation specification data is read (step S11), and the receiving channel control data (first local oscillation frequency data of the receiving section in the receiving mode) corresponding to this channel number is set as the control data. The data is read from the storage unit 12 (step S12). Then, a reception channel control signal based on the read reception channel control data is output to the transmission / reception unit 18 via the control signal output unit 16 (step S
13). At this time, the reception data input unit 19 is in a state where the reception data can be input, and the reception data input unit 1
9. Received data input section from 9 reception interrupt processing, that is, from the other keyboard 2 to the transmission / reception section 18 in the reception mode.
When the MIDI data is input via the reception data input unit 19, the process for automatically outputting the MIDI data to the keyboard 2 is permitted (step S14).

【0039】また、このときには、MIDIデータ受信
部14もMIDIデータが受信可能な状態になってお
り、MIDIデータ受信部14からのMIDIデータ受
信部受信割込み処理、つまり、送信モードのときに、キ
ーボード2からMIDIデータ受信部14を介してMI
DIデータが入力されたときに、そのMIDIデータを
自動的に他のキーボード2に送信するための処理も許可
される(ステップS15)。
At this time, the MIDI data receiving section 14 is also in a state of being capable of receiving MIDI data, and the MIDI data receiving section reception interrupt processing from the MIDI data receiving section 14, that is, the keyboard in the transmission mode. 2 through the MIDI data receiving unit 14
When DI data is input, processing for automatically transmitting the MIDI data to another keyboard 2 is also permitted (step S15).

【0040】次いで、送受信フラグ(通常は既に受信モ
ードになっているが、電源をオフにする前に送信モード
になっていたときなどでは、送受信フラグがセットされ
ている。)をリセットして(ステップS16)送受信部
18を受信モードにすると共に、自動切替モードフラグ
のセット(ステップS17)、および、切替可能フラグ
のセット(ステップS18)を行う。以上により、この
自動切替モード設定ルーチンを終了して、メインルーチ
ンに戻る。なお、この場合において、各フラグのセット
またはリセットした結果を動作仕様データとして設定記
憶部22に書き込む。また、以下の処理についても、同
じように、各フラグのセットまたはリセットの際に動作
仕様データの書込みを行う。
Next, the transmission / reception flag (usually in the reception mode, but in the transmission mode before the power is turned off, the transmission / reception flag is set) is reset ( (Step S16) While setting the transmitting / receiving unit 18 to the receiving mode, the automatic switching mode flag is set (step S17) and the switchable flag is set (step S18). As a result, the automatic switching mode setting routine is ended and the process returns to the main routine. In this case, the result of setting or resetting each flag is written in the setting storage unit 22 as operation specification data. Further, in the following processing, similarly, the operation specification data is written when each flag is set or reset.

【0041】次に、送信設定処理および受信設定処理に
ついて、それぞれ図5(a),(b)を参照して説明す
る。
Next, the transmission setting process and the reception setting process will be described with reference to FIGS. 5 (a) and 5 (b), respectively.

【0042】最初に、送信設定処理は、前述したステッ
プS5で行われるものであって、動作仕様データが送信
モードの設定を示していたときに送受信装置3を送信モ
ードに設定する処理である。具体的には、自動切替モー
ドの設定を解除することによりマニュアルモードに設定
変更すると共に、CPU11の内部処理により送受信装
置3を送信モードに設定し、例えば、キーボード2から
のMIDIデータに基づく発音を他のキーボード2に行
わせるような場合に、送受信装置3を所定の状態に設定
する処理である。
First, the transmission setting process is performed in step S5 described above, and is a process of setting the transmission / reception device 3 to the transmission mode when the operation specification data indicates the setting of the transmission mode. Specifically, by canceling the setting of the automatic switching mode, the setting is changed to the manual mode, and the transmission / reception device 3 is set to the transmission mode by the internal processing of the CPU 11, and, for example, the sound output based on the MIDI data from the keyboard 2 This is a process of setting the transmission / reception device 3 in a predetermined state when it is performed by another keyboard 2.

【0043】この送信設定処理では、まず、動作仕様デ
ータが示しているチャンネルナンバーを読み出す(ステ
ップS21)と共に、対応する送信チャンネル制御デー
タを制御データ記憶部12から読み出し(ステップS2
2)、これに基づく送信チャンネル制御信号を送受信部
18に出力する(ステップS23)。その後、送受信フ
ラグをセットする(ステップS24)と共に、送受信制
御信号(プレス信号)を出力して(ステップS25)、
受信データ入力部19の受信を停止する(ステップS2
6)。この状態では、MIDIデータ受信部14の受信
のみが可能になっており、MIDIデータ受信部受信割
込みを許可する(ステップS27)。次いで、自動切替
モードフラグをリセットする(ステップS28)と共
に、切替可能フラグをリセットする(ステップS2
9)。以上により、この送信切替処理を終了する。
In this transmission setting process, first, the channel number indicated by the operation specification data is read (step S21), and the corresponding transmission channel control data is read from the control data storage unit 12 (step S2).
2) The transmission channel control signal based on this is output to the transmission / reception unit 18 (step S23). After that, the transmission / reception flag is set (step S24), and the transmission / reception control signal (press signal) is output (step S25).
The reception of the reception data input unit 19 is stopped (step S2).
6). In this state, only the MIDI data receiving unit 14 can receive, and the MIDI data receiving unit reception interrupt is permitted (step S27). Next, the automatic switching mode flag is reset (step S28) and the switchable flag is reset (step S2).
9). This completes the transmission switching process.

【0044】次に、受信設定処理について、図5(b)
を参照して説明する。この処理は、動作仕様データが送
信モードの設定を示しているときに送受信部18を送信
モードに設定する処理である。具体的には、自動切替モ
ードの設定を解除することによりマニュアルモードに設
定変更すると共に、CPU11の内部処理により送受信
部18を受信モードに設定する。この処理は、例えば、
キーボード2を音源装置として専用的に使用するような
場合、つまり、他のキーボード2からのMIDIデータ
に基づいてキーボード2を演奏させるように送受信装置
3を設定する場合に行われる。また、この処理は、前述
した送信設定処理とほぼ同じであり、異なるのは、送受
信部18を受信状態に設定するのではなく、送信状態に
設定するところにある。つまり、制御信号出力部16を
介して受信制御信号を出力するところが異なる。
Next, the reception setting process will be described with reference to FIG.
Will be described with reference to. This process is a process of setting the transmission / reception unit 18 to the transmission mode when the operation specification data indicates the setting of the transmission mode. Specifically, the setting of the automatic switching mode is canceled to change the setting to the manual mode, and the transmitting / receiving unit 18 is set to the receiving mode by the internal processing of the CPU 11. This process is, for example,
This is performed when the keyboard 2 is exclusively used as a sound source device, that is, when the transmitting / receiving device 3 is set to play the keyboard 2 based on MIDI data from another keyboard 2. Further, this processing is almost the same as the above-described transmission setting processing, and the difference is that the transmission / reception unit 18 is not set to the reception state but is set to the transmission state. That is, the difference is that the reception control signal is output via the control signal output unit 16.

【0045】この受信設定処理では、まず、動作仕様デ
ータが示しているチャンネルナンバーを読み出し(ステ
ップS31)、チャンネルナンバーに対応する受信チャ
ンネル制御データを、制御データ記憶部12から読み出
す(ステップS32)。次に、読み出した受信チャンネ
ル制御データに基づく受信チャンネル制御信号を、制御
信号出力部16を介して、送受信部18に出力する(ス
テップS33)。次いで、MIDIデータ受信部14の
受信を停止する(ステップS34)。この状態では、受
信データ入力部の受信のみが可能になっており、受信デ
ータ入力部受信割込みを許可する(ステップS35)。
次いで、自動切替モードフラグをリセットして(ステッ
プS36)マニュアルモードにすると共に、切替可能フ
ラグもリセットした(ステップS37)後、メインルー
チンに戻る。
In this reception setting process, first, the channel number indicated by the operation specification data is read (step S31), and the reception channel control data corresponding to the channel number is read from the control data storage unit 12 (step S32). Next, the reception channel control signal based on the read reception channel control data is output to the transmission / reception unit 18 via the control signal output unit 16 (step S33). Then, the reception of the MIDI data receiving unit 14 is stopped (step S34). In this state, only the reception data input section can receive, and the reception data input section reception interrupt is permitted (step S35).
Next, after resetting the automatic switching mode flag (step S36) to the manual mode and also resetting the switchable flag (step S37), the process returns to the main routine.

【0046】次に、図6に示すメインルーチンについて
説明する。メインルーチンは、常時、繰り返し行われる
ルーチンである。このルーチンでは、最初に、送受信フ
ラグがセットされているか否かを判別する(ステップS
41)。送受信フラグがセットされている場合、つま
り、送信モードスイッチがオンされた場合や、自動切替
モード時において送信モードになっている場合には、キ
ーボード2から送られてきたMIDIデータを他のキー
ボード2に送信する送信データ出力処理を行い(ステッ
プS42)、セットされていない場合、つまり、マニュ
アルモード時において、送信スイッチが押されていない
場合や、自動切替モード時において送信モードになって
いない場合には、他のキーボード2から送信されてきた
MIDIデータをキーボード2に出力するMIDIデー
タ出力処理を行う(ステップS43)。
Next, the main routine shown in FIG. 6 will be described. The main routine is a routine that is constantly and repeatedly performed. In this routine, first, it is determined whether or not the transmission / reception flag is set (step S
41). When the transmission / reception flag is set, that is, when the transmission mode switch is turned on or in the transmission mode in the automatic switching mode, the MIDI data transmitted from the keyboard 2 is transferred to another keyboard 2 If the transmission switch is not pressed in the manual mode, or if the transmission mode is not in the automatic switching mode, the transmission data output process for transmitting to the transmission data is performed (step S42). Performs MIDI data output processing of outputting the MIDI data transmitted from another keyboard 2 to the keyboard 2 (step S43).

【0047】両処理のいずれかを行った後に、自動切替
モードフラグがセットされているか否かを判別する(ス
テップS44)。自動切替モードフラグがセットされて
いる場合、すなわち、送受信装置3が自動切替モードに
なっている場合には、アサイナ書込み、つまり、処理キ
ーボード2側で、すべてのMIDIチャンネルについ
て、ノートオンしたキーのデータをアサイナ21に書き
込む処理(ステップS45)、および、アサイナ21内
のデータがすべて「0」か否かを判別するアサイナチェ
ック処理を行った(ステップS46)後、ステップS1
1に戻って、再びメインルーチンを繰り返す。上記ステ
ップS44において、自動切替モードフラグがセットさ
れていない場合、つまり、マニュアルモードになってい
る場合には、ステップS41に戻って、再びメインルー
チンを繰り返す。
After performing either of the two processes, it is determined whether or not the automatic switching mode flag is set (step S44). When the automatic switching mode flag is set, that is, when the transmission / reception device 3 is in the automatic switching mode, assigner writing, that is, the processing keyboard 2 side, of all the MIDI channels, After the process of writing data to the assigner 21 (step S45) and the assigner check process of determining whether all the data in the assigner 21 are "0" (step S46), step S1 is performed.
Return to 1 and repeat the main routine again. When the automatic switching mode flag is not set in step S44, that is, when the manual mode is set, the process returns to step S41 and the main routine is repeated again.

【0048】なお、CPU11は、スイッチ部13の伝
送制御モード選択スイッチやチャンネルスイッチ等の各
動作仕様項目に対応するスイッチ信号の入力の有無を監
視し、スイッチ信号の入力に基づいて、既に初期設定さ
れたチャンネル等の動作仕様を変更すると共に、変更さ
れた動作仕様を表す動作仕様データを設定記憶部22に
書き込む。この場合、変更された動作仕様項目に対応す
る動作仕様データが既に書き込まれているときは、特に
限定されないが、最新のデータに書き換える。なお、動
作仕様データの書込みを履歴データとして記録する場合
など、既に書き込まれている動作仕様データを保持して
おく必要があるときは、設定記憶部22の記憶領域を動
作仕様項目毎に予めグループ化しておき、変更された動
作仕様項目を表す動作仕様データを作成する毎に、既に
記憶されている番地とは異なる番地に書き込み、読出し
の際には、最後に書き込まれた動作仕様データを読み出
す。
The CPU 11 monitors whether or not a switch signal corresponding to each operation specification item such as the transmission control mode selection switch and the channel switch of the switch unit 13 is input, and based on the input of the switch signal, the initial setting has already been completed. The operation specification of the changed channel or the like is changed, and the operation specification data representing the changed operation specification is written in the setting storage unit 22. In this case, when the operation specification data corresponding to the changed operation specification item has already been written, it is rewritten to the latest data, although not particularly limited thereto. When it is necessary to retain the already written operation specification data, such as when recording the writing of operation specification data as history data, the storage area of the setting storage unit 22 is grouped in advance for each operation specification item. Each time the operation specification data representing the changed operation specification item is created, the operation specification data is written to an address different from the address already stored, and the last written operation specification data is read when reading. .

【0049】以上のように、本実施例によれば、ユーザ
ーは、送受信部18の電源投入時における動作仕様を、
電源をオフにする前と同じ動作仕様に初期設定すること
ができるので、ユーザーは、電源投入後直ちに送受信部
18によるMIDIデータの伝送を開始することができ
る。また、初期設定スイッチにより、初期設定時の動作
仕様、すなわち最初の電源投入時の動作仕様を、希望す
る設定に指定することもできる。
As described above, according to the present embodiment, the user sets the operation specifications when the power of the transmitting / receiving unit 18 is turned on,
Since the same operating specifications as before the power is turned off can be initialized, the user can start transmitting MIDI data by the transmitting / receiving unit 18 immediately after the power is turned on. Further, by using the initial setting switch, the operating specification at the time of initial setting, that is, the operating specification at the time of first turning on the power can be designated as desired setting.

【0050】また、本実施例においては、設定記録部2
2のメモリとして、RAMを用いた例について説明した
が、本発明は、これに限定されず、EEPROM(Elec
trically Erasable Programmable ROM)を使用してもよ
い。この場合には、バックアップ用電池を不要にするこ
とができる。さらに、設定スイッチは、ディップスイッ
チに限定されず、他のすべての小型のロック式スイッチ
を使用することができる。
In the present embodiment, the setting recording section 2
The example in which the RAM is used as the second memory has been described, but the present invention is not limited to this, and the EEPROM (Elec
trically Erasable Programmable ROM) may be used. In this case, the backup battery can be eliminated. Furthermore, the setting switch is not limited to a DIP switch, and all other small lock type switches can be used.

【0051】また、本発明は、キーボードやMIDIギ
ターなどの演奏装置、音源装置およびシーケンサなどの
すべてのMIDI楽器相互間での送受信に適用可能であ
る。さらに、無線装置には、赤外線などを使用した装置
も含まれる。
Further, the present invention can be applied to transmission and reception between all MIDI musical instruments such as a musical instrument such as a keyboard and a MIDI guitar, a tone generator and a sequencer. Further, the wireless device also includes a device using infrared rays or the like.

【0052】[0052]

【発明の効果】以上のように本発明のMIDIデータ伝
送用無線装置によれば、電源投入時に、制御部が、メモ
リ手段が記憶している最新の動作仕様データに基づいて
動作仕様を設定し、その設定した動作仕様に従って無線
手段を制御するので、無線手段の電源投入時における動
作仕様を、電源をオフにする前と同じ動作仕様に初期設
定することができる。このため、ユーザーは、電源投入
後直ちに無線手段によるMIDIデータの伝送を開始す
ることができる。
As described above, according to the radio apparatus for transmitting MIDI data of the present invention, when the power is turned on, the control unit sets the operation specification based on the latest operation specification data stored in the memory means. Since the wireless means is controlled in accordance with the set operation specification, the operation specification when the power of the wireless means is turned on can be initialized to the same operation specification as before the power is turned off. Therefore, the user can start transmitting MIDI data by wireless means immediately after the power is turned on.

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

【図1】本発明の実施例に係る送受信装置の構成図であ
る。
FIG. 1 is a configuration diagram of a transmission / reception device according to an embodiment of the present invention.

【図2】本発明の実施例に係る送受信装置のブロック図
である。
FIG. 2 is a block diagram of a transmission / reception device according to an embodiment of the present invention.

【図3】本発明の実施例に係る送受信装置の電源投入後
の初期設定のフローチャートである。
FIG. 3 is a flowchart of initial setting after power-on of the transmission / reception device according to the embodiment of the present invention.

【図4】自動切替モード設定処理のフローチャートであ
る。
FIG. 4 is a flowchart of an automatic switching mode setting process.

【図5】送信設定処理および受信設定処理のフローチャ
ートである。
FIG. 5 is a flowchart of a transmission setting process and a reception setting process.

【図6】メインルーチンのフローチャートである。FIG. 6 is a flowchart of a main routine.

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

2 キーボード 3 送受信装置 11 CPU 13 スイッチ部 18 送受信部 22 設定記憶部 2 keyboard 3 transmitter / receiver 11 CPU 13 switch unit 18 transmitter / receiver unit 22 setting storage unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 松井 はるひこ 静岡県浜松市寺島町200番地 株式会社河 合楽器製作所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Haruhiko Matsui 200 Terashima-cho, Hamamatsu City, Shizuoka Prefecture Kawai Musical Instrument Mfg. Co., Ltd.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 MIDI楽器に接続され、演奏情報を伝
達するためのMIDIデータに基づいて変調された無線
信号を送信および/または受信する無線手段と、当該無
線手段の動作仕様を指定するためのアンロック式スイッ
チと、当該アンロック式スイッチのスイッチ信号に基づ
いて前記動作仕様を設定し、当該設定した動作仕様に従
って前記無線手段を制御する制御部とを有するMIDI
データ伝送用無線装置であって、 電気的に書換可能に構成され、前記制御部により設定さ
れた動作仕様を表す動作仕様データを記憶するメモリ手
段と、 当該メモリ手段をバックアップするバックアップ手段と
を備え、 前記制御部は、電源投入時に、当該メモリ手段に記憶さ
れた最新の前記動作仕様データに基づいて、前記無線手
段を制御するように構成されていることを特徴とするM
IDIデータ伝送用無線装置。
1. A wireless means connected to a MIDI musical instrument for transmitting and / or receiving a wireless signal modulated based on MIDI data for transmitting performance information, and an operating specification for the wireless means. A MIDI including an unlocking switch and a control unit that sets the operation specification based on a switch signal of the unlocking switch and controls the wireless unit according to the set operation specification.
A wireless device for data transmission, comprising memory means configured to be electrically rewritable, storing operation specification data indicating operation specifications set by the control unit, and backup means for backing up the memory means. The control unit is configured to control the wireless unit based on the latest operation specification data stored in the memory unit when the power is turned on.
A wireless device for IDI data transmission.
【請求項2】 MIDI楽器に接続され、演奏情報を伝
達するためのMIDIデータに基づいて変調された無線
信号を送信および/または受信する無線手段と、当該無
線手段の動作仕様を指定するためのアンロック式スイッ
チと、当該アンロック式スイッチのスイッチ信号に基づ
いて前記動作仕様を設定し、当該設定した動作仕様に従
って前記無線手段を制御する制御部とを有するMIDI
データ伝送用無線装置であって、 電気的に書換可能に構成され、前記制御部により設定さ
れた前記動作仕様を表す動作仕様データを記憶する不揮
発性のメモリ手段を備え、 前記制御部は、電源投入時に、当該メモリ手段に記憶さ
れた最新の前記動作仕様データに基づいて、前記無線手
段を制御するように構成されていることを特徴とするM
IDIデータ伝送用無線装置。
2. Radio means for transmitting and / or receiving a radio signal which is connected to a MIDI musical instrument and is modulated based on MIDI data for transmitting performance information, and an operating specification of the radio means. A MIDI including an unlocking switch and a control unit that sets the operation specification based on a switch signal of the unlocking switch and controls the wireless unit according to the set operation specification.
A wireless device for data transmission, comprising a non-volatile memory means configured to be electrically rewritable and storing operation specification data representing the operation specification set by the control section, wherein the control section is a power source. When it is turned on, the wireless means is configured to be controlled based on the latest operation specification data stored in the memory means.
A wireless device for IDI data transmission.
【請求項3】 前記無線手段の初期動作仕様データを記
憶する不揮発性の他のメモリ手段およびロック式スイッ
チの一方をさらに備え、前記制御部は、電源投入時に、
前記メモリ手段に前記動作仕様データが記憶されていな
いときには、前記不揮発性の他のメモリ手段およびロッ
ク式スイッチの一方に記憶された初期動作仕様データに
基づいて、前記無線手段を制御するように構成されてい
ることを特徴とする請求項1または2記載のMIDIデ
ータ伝送用無線装置。
3. A non-volatile memory means for storing initial operation specification data of the wireless means, and one of a lock-type switch, further comprising:
When the operation specification data is not stored in the memory means, the wireless means is controlled based on the initial operation specification data stored in one of the other nonvolatile memory means and one of the lock switches. The wireless device for MIDI data transmission according to claim 1 or 2, wherein
JP6138280A 1994-05-26 1994-05-26 Radio equipment for transmitting midi data Pending JPH07319462A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP6138280A JPH07319462A (en) 1994-05-26 1994-05-26 Radio equipment for transmitting midi data
US08/452,173 US5670732A (en) 1994-05-26 1995-05-26 Midi data transmitter, receiver, transmitter/receiver, and midi data processor, including control blocks for various operating conditions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6138280A JPH07319462A (en) 1994-05-26 1994-05-26 Radio equipment for transmitting midi data

Publications (1)

Publication Number Publication Date
JPH07319462A true JPH07319462A (en) 1995-12-08

Family

ID=15218224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6138280A Pending JPH07319462A (en) 1994-05-26 1994-05-26 Radio equipment for transmitting midi data

Country Status (1)

Country Link
JP (1) JPH07319462A (en)

Similar Documents

Publication Publication Date Title
EP0974955B1 (en) Musical tone synthesizing apparatus and method
US5637822A (en) MIDI signal transmitter/receiver operating in transmitter and receiver modes for radio signals between MIDI instrument devices
US4413543A (en) Synchro start device for electronic musical instruments
US8373055B2 (en) Apparatus, method and computer program for switching musical tone output
US5414209A (en) Electronic musical instrument
JP3707300B2 (en) Expansion board for musical sound generator
JP3383108B2 (en) Electronic musical instrument
JPH07319462A (en) Radio equipment for transmitting midi data
US5410941A (en) Electronic musical instrument having an external memory device
JP2513000B2 (en) Electronic musical instrument
JPH07319461A (en) Radio equipment for transmitting midi data
US8222508B2 (en) Tone signal creating apparatus and method
JPH06259064A (en) Electronic musical instrument
JP3037866B2 (en) MIDI signal transceiver
JPH075878A (en) Automatic accompaniment device
JPH07261752A (en) Transmitter and receiver for midi signals
JPH0934455A (en) Electronic musical instrument
JPS63172196A (en) Electronic musical instrument
JP3149329B2 (en) Transmitter and receiver for MIDI data
JP3390590B2 (en) MIDI data transmission device
JPH0115878B2 (en)
JPH0764553A (en) Electronic musical instrument
JPH07261754A (en) Transmitter-receiver for midi signal
JPH07261755A (en) Transmitter-receiver for midi signals
JPS6037600A (en) Electronic musical instrument

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19991005