JPH0455517B2 - - Google Patents
Info
- Publication number
- JPH0455517B2 JPH0455517B2 JP60085982A JP8598285A JPH0455517B2 JP H0455517 B2 JPH0455517 B2 JP H0455517B2 JP 60085982 A JP60085982 A JP 60085982A JP 8598285 A JP8598285 A JP 8598285A JP H0455517 B2 JPH0455517 B2 JP H0455517B2
- Authority
- JP
- Japan
- Prior art keywords
- switch
- key
- data
- register
- performance
- 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
- 230000005540 biological transmission Effects 0.000 claims description 19
- 238000001514 detection method Methods 0.000 claims description 4
- 238000000034 method Methods 0.000 description 14
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 238000005286 illumination Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000033764 rhythmic process Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、演奏用操作子(鍵盤キー等)の操
作状態に対応した演奏情報を送出する機能を有す
る鍵盤楽器に係り、特に、該演奏情報の送出を制
御する演奏情報送出制御装置に関する。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a keyboard instrument having a function of transmitting performance information corresponding to the operating state of a performance operator (keyboard keys, etc.), and particularly relates to The present invention relates to a performance information transmission control device that controls the transmission of information.
近年、電子オルガン、デイジタルシンセサイザ
等の電子楽器において、MIDI(Musical
Instrument Digital Interface)が広く用いられ
つつある。MIDIとは、電子楽器本体やリズムボ
ツクス、自動演奏装置(シーケンサ)等に共通し
た規格の入出力端子をつけて演奏情報の受け渡し
をするようにし、かつ、受け渡しをする演奏情報
に互換性をもたせる。これにより、同じ製品なく
ても、また、同じメーカの製品でなくても、相互
に接続して同時演奏させたり、演奏を記憶させた
り、シンクロ演奏を行わせたりという操作が可能
になる。
In recent years, MIDI (Musical
Instrument Digital Interface) is becoming widely used. MIDI is a system that allows electronic musical instruments, rhythm boxes, automatic performance devices (sequencers), etc. to have input/output terminals of a common standard to exchange performance information, and to ensure that the performance information exchanged is compatible. . As a result, even if the products are not the same or made by the same manufacturer, it is possible to connect them to each other and have them perform simultaneously, store performances, and perform synchronized performances.
なお、このMIDIについては、例えば雑誌「楽
器商報」1984年7月号・第40頁〜第73頁に詳細に
記載されている。 Note that this MIDI is described in detail in, for example, the July 1984 issue of the magazine "Musical Instruments Shoho", pages 40 to 73.
上述したMIDI構成の電子楽器において、演奏
情報(MIDIデータ)の送出/送出停止を制御す
るオン/オフスイツチを設け、このスイツチの操
作に対応してMIDIデータのオン/オフ制御を行
なおうとした場合次の様な問題が発生する。
In the above-mentioned MIDI-configured electronic musical instrument, if an on/off switch is provided to control the transmission/stop of performance information (MIDI data), and an attempt is made to control the MIDI data on/off in response to the operation of this switch. The following problems occur.
すなわち、いま、電子楽器Aから電子楽器Bへ
MIDIデータを送出する場合を考える。電子楽器
Aのある鍵盤キー(以下、キーXとする)が押下
されると、電子楽器AからMIDIデータとして、
キーオンイベントを示すデータ、キーXの音高を
示すデータ、キーXの押下速度等のキータツチ強
度を示すデータが出力されて電子楽器Bへ供給さ
れる。電子楽器BはこのMIDIデータを受け、キ
ーXの音高と同じ音高の楽音を発生する。また、
電子楽器AのキーXが離鍵された場合は、電子楽
器AからMIDIデータとしてキーXの音高を示す
データおよびキーオフイベントを示すデータが出
力されて電子楽器Bへ供給される。電子楽器B
は、このMIDIデータを受け、キーXと同じ音高
の楽音の発生を終了する。 In other words, now from electronic musical instrument A to electronic musical instrument B.
Consider the case of sending MIDI data. When a certain keyboard key (hereinafter referred to as key
Data indicating a key-on event, data indicating the pitch of the key X, and data indicating the key touch intensity such as the pressing speed of the key X are output and supplied to the electronic musical instrument B. Electronic musical instrument B receives this MIDI data and generates a musical tone with the same pitch as the pitch of key X. Also,
When key X of electronic musical instrument A is released, electronic musical instrument A outputs data indicating the pitch of key X and data indicating a key-off event as MIDI data and supplies them to electronic musical instrument B. Electronic musical instrument B
receives this MIDI data and finishes generating musical tones of the same pitch as key X.
ところで、電子楽器AがキーXのキーオンに係
るMIDIデータを出力した後において、MIDIデ
ータ送出制御用のスイツチをオフとすると、以
後、MIDIデータの送出が停止され、この結果、
電子楽器Bにおいて発生しているキーXに対応す
る楽音が停止しなくなり、音が鳴りつぱなしにな
つてしまう。同様に、キーXをオンとした後にお
いてMIDIデータ送出制御用のスイツチをオンと
すると、キーXのキーオンに係るMIDIデータが
電子楽器Bへ送出されないので、電子楽器Bにお
いてキーXに対応する楽音が発生しないことにな
る。 By the way, if the switch for controlling MIDI data transmission is turned off after electronic musical instrument A has outputted MIDI data related to the key-on of key
The musical tone corresponding to key X generated in electronic musical instrument B no longer stops, and the sound continues to play. Similarly, if you turn on the MIDI data transmission control switch after turning on key X, the MIDI data related to the key-on of key will not occur.
なお、上記の問題は、鍵盤キーに限らず、ペタ
ルあるいはその他の操作子についても同様に生じ
る。 Note that the above problem occurs not only with keyboard keys but also with pedals or other operators.
この発明は上記の事情に鑑みてなされたもの
で、演奏情報送出制御用のスイツチが操作されて
も、直ちに演奏情報送出のオン/オフ制御を行う
のではなく、演奏用操作子の操作が終了するのを
待つて演奏情報送出のオン/オフ制御を行うよう
にしたものである。
This invention was made in view of the above circumstances, and even when the switch for controlling performance information transmission is operated, the performance information transmission is not immediately turned on/off, but the operation of the performance controls is terminated. The on/off control of performance information transmission is performed after waiting for the performance information to be transmitted.
なお、この発明によつて送出制御されるデータ
はMIDIデータに限らず、他の形式のデータでも
よい。また、この発明は、上述した演奏情報送出
制御をデータの送出/送出停止の双方に適用した
ものは勿論のこと、データの送出あるいは送出停
止のどちらか一方のみに適用したものをも含む。 Note that the data whose transmission is controlled by the present invention is not limited to MIDI data, but may be data in other formats. Furthermore, the present invention includes not only one in which the above-described performance information transmission control is applied to both data transmission and transmission stop, but also one in which it is applied only to either data transmission or transmission stop.
第1図はこの発明の一実施例による演奏情報送
出制御装置を適用したMIDI構成による電子楽器
を示すブロツク図である。この図において、符号
1は鍵盤であり、この鍵盤1の各キーの下部には
各々、キーのオン/オフおよびキータツチ強度検
出用のキースイツチが設けられている。このキー
スイツチは、例えば同図に符号Kにて示すよう
に、固定接点NC,NOおよびキーの動作と共に
移動する可動接点Cら構成されており、可動接点
Cが接点NCに当接している時キーオフが、接点
NOに当接した時キーオンが各々検出され、ま
た、可動接点Cが接点NCを離れた時点から接点
NOに当接するまでの時間により、キータツチ強
度が検出される。キースイツチ回路2は、、マイ
クロコンピユータ部3のCPU(中央処理装置)3
aの指示に従つて、鍵盤1の各キースイツチの出
力を逐次バスライン4へ出力する。サステインペ
ダル5は、電子楽器に設けられているサステイン
ペダルの操作に応じてオン/オフするスイツチで
あり、その出力はバスライン4へ供給される。な
お、サステインペダルとは、発生楽音をキーオフ
後も持続させるためのペダルである。MIDIデー
タ出力制御用スイツチ6は、例えばプツシユオ
ン/リリースオフ型の照光式スイツチであり、こ
のスイツチ6を1回押すと、照光ランプが点灯す
ると共に、MIDIデータ送出可能状態となり、更
に1回押すと、照光ランプが消灯すると共に、
MIDIデータ送出停止状態となる。スイツチユニ
ツト7は音色選択スイツチその他、各種のスイツ
チからなるもので、各スイツチの出力が各々バス
ライン4へ出力される。
FIG. 1 is a block diagram showing an electronic musical instrument with a MIDI configuration to which a performance information transmission control device according to an embodiment of the present invention is applied. In this figure, reference numeral 1 denotes a keyboard, and below each key of this keyboard 1, a key switch is provided for turning on/off the key and detecting the strength of the key touch. This key switch is made up of fixed contacts NC, NO and a movable contact C that moves with the operation of the key, as shown by the symbol K in the figure.When the movable contact C is in contact with the contact NC, the key is turned off. But the contact
Key-on is detected when it touches NO, and when movable contact C leaves contact NC, the contact
The strength of the key touch is detected by the time it takes for the key to touch NO. The key switch circuit 2 is a CPU (central processing unit) 3 of the microcomputer section 3.
According to the instruction a, the output of each key switch of the keyboard 1 is sequentially outputted to the bus line 4. The sustain pedal 5 is a switch that is turned on/off in accordance with the operation of a sustain pedal provided on the electronic musical instrument, and its output is supplied to the bus line 4. Note that the sustain pedal is a pedal for sustaining the generated musical tone even after the key is turned off. The MIDI data output control switch 6 is, for example, a push-on/release-off type illuminated switch. When the switch 6 is pressed once, the illuminated lamp lights up and the MIDI data can be sent. When the switch 6 is pressed once more, the illuminated lamp lights up and MIDI data can be sent. , as the illumination lamp goes out,
MIDI data transmission is stopped. The switch unit 7 consists of a tone color selection switch and other various switches, and the output of each switch is output to the bus line 4, respectively.
マイクロコンピユータ部3は、CPU3aと、
このCPU3aにおいて用いられるプログラムが
記憶されているROM3bとデータ記憶用の
RAM3cとから構成されており、RAM3c内
には、例えば第2図に示すような各レジスタが設
定されている。楽音組成物発生回路9は、バスラ
イン4を介して供給される演奏データに基づいて
楽音信号を形成し、サウンドシステム10へ出力
する。サウンドシステム10は、供給された楽音
信号を増幅した後、内部のスピーカから楽音とし
て発音する。MIDIインターフエイス回路11
は、バスライン4を介して供給される演奏データ
を、MIDIのデータ転送フオーマツトに則つた
MIDIデータとした後、MIDI・OUT端子12か
ら出力する。また、外部からMIDI・IN端子13
へ供給されたMIDIデータに対応する演奏データ
をバスライン4へ出力する。 The microcomputer section 3 includes a CPU 3a,
The ROM3b stores the programs used in this CPU3a and the ROM3b for data storage.
The RAM 3c includes registers such as those shown in FIG. 2, for example. The musical tone composition generating circuit 9 forms a musical tone signal based on the performance data supplied via the bus line 4 and outputs it to the sound system 10. The sound system 10 amplifies the supplied musical tone signal and then produces a musical tone from an internal speaker. MIDI interface circuit 11
transfers the performance data supplied via bus line 4 in accordance with the MIDI data transfer format.
After converting it into MIDI data, it is output from the MIDI/OUT terminal 12. Also, from the outside MIDI IN terminal 13
Performance data corresponding to the MIDI data supplied to the bus line 4 is output to the bus line 4.
次に、CPU3aの処理過程を第3図および第
4図に示すフローチヤートを参照して説明する。
まず、第3図に示すステツプS1は電源投入時に
行われる初期設定処理であり、例えばRAM3c
の各レジスタ(第2図参照)のクリア、楽音信号
発生回路9内の各部の初期設定等の処理が行われ
る。次にステツプS2は、キースキヤン・キー割
当て処理である。この処理へ進むと、CPU3a
は、まずキースイツチ回路2の各キースイツチを
順次走査して各キースイツチの状態を示すデータ
を順次取り込むとともに、取り込んだキースイツ
チの状態を示すデータと、RAM3c内のキース
イツチレジスタROに記憶されている各キースイ
ツチのうち上記取り込んだキースイツチに関する
今までのキースイツチの状態を示すデータとを比
較することにより、イベント(キー状態の変化)
検出を行う。そして、キーオンイベントが検出さ
れた時は、キースイツチレジスタRO内の当該キ
ースイツチに関する記憶を更新するとともに、
RAM3c内のチヤンネル割り当てレジスタR1
の各記憶スロツトR1−1,R1−2…R1−N
内のKONビツトを順次走査することにより空チ
ヤンネル(KONビツト〓0〓のチヤンネル)を
検出し、検出した空チヤンネルを示す記憶スロツ
トR1−K内に新たにオンとされたキーのキーコ
ードKC,KONビツト〓1〓およびキータツチ強
度を示すタツチデータTDを書込む。また、キー
オフイベントが検出された場合は、キースイツチ
レジスタRO内の当該キースイツチに関する記憶
を更新するとともに、チヤンネ割当てレジスタR
1内のキーオフとされたキーのキーコードKCが
書込まれている(割当てられている)記憶スロツ
トR1−n内のKONビツトを〓0〓とする。 Next, the processing process of the CPU 3a will be explained with reference to the flowcharts shown in FIGS. 3 and 4.
First, step S1 shown in FIG. 3 is an initial setting process performed when the power is turned on.
Processes such as clearing of each register (see FIG. 2) and initial setting of each part in the musical tone signal generation circuit 9 are performed. Next, step S2 is a key scan/key assignment process. When proceeding to this process, CPU3a
First, each key switch in the key switch circuit 2 is sequentially scanned to sequentially capture data indicating the state of each key switch, and the data indicating the state of each key switch and each key switch stored in the key switch register RO in the RAM 3c are Events (changes in key status) are detected by comparing the above-mentioned key switch information with the data showing the key switch status up to now.
Perform detection. When a key-on event is detected, the memory related to the key switch in the key switch register RO is updated, and
Channel allocation register R1 in RAM3c
Each memory slot R1-1, R1-2...R1-N
By sequentially scanning the KON bits in the memory slot R1-K, an empty channel (channel with KON bit = 0) is detected, and the key code KC of the newly turned on key is stored in the memory slot R1-K indicating the detected empty channel. Write the KON bit 1 and the touch data TD indicating the key touch strength. Additionally, if a key-off event is detected, the memory related to the key switch in the key switch register RO is updated, and the channel assignment register R is updated.
The KON bit in the memory slot R1-n in which the key code KC of the key turned off in 1 is written (allocated) is set to 0.
なお、チヤンネル割当てレジスタR1内の記憶
スロツトR1−1,R1−2…R1−Nは各々、
楽音信号発生回路9内のN個(Nはキーの数より
少ない)の楽音信号チヤンネルに対応している。
また、タツチデータTDの検出は次の様にして行
われる。すなわち、CPU3aはキースイツチの
可動接点Cが接点NCから離れた時点で、同キー
スイツチに対応するタイマレジスタに「0」をセ
ツトし、以後一定時間が経過する毎に、同タイマ
レジスタをインクリメントする。CPU3aが、
同キースイツチの可動接点Cが接点NOに当接し
たことを検知した時点における同タイマレジスタ
内のデータがタツチデータTDを示している。な
お、キースイツチとしては、上述の切換え型スイ
ツチに代えて、キーの押下に伴つて順次時間差を
もつてオンする2個のメーク型スイツチを用いる
こともできる。 Note that the storage slots R1-1, R1-2...R1-N in the channel allocation register R1 are each
This corresponds to N musical tone signal channels (N is less than the number of keys) in the musical tone signal generation circuit 9.
Further, touch data TD is detected in the following manner. That is, the CPU 3a sets the timer register corresponding to the key switch to "0" when the movable contact C of the key switch leaves the contact NC, and increments the timer register every time a certain period of time elapses thereafter. CPU3a is
The data in the timer register at the time when it is detected that the movable contact C of the key switch is in contact with the contact NO indicates the touch data TD. As the key switch, instead of the above-mentioned changeover type switch, two make type switches which are turned on sequentially with a time difference as the key is pressed may also be used.
次に、ステツプ3は、スイツチスキヤン・レジ
スタ書込み処理である。CPU3aがこのステツ
プS3へ進むと、まず、サステインペダルスイツ
チ5およびスイツチユニツト7内の各スイツチを
走査して各スイツチのオン/オフ状態を示すデー
タを順次取り込むとともに、取り込んだ各スイツ
チの状態を示すデータと、RAM3c内のスイツ
チレジスタR2に記憶されているスイツチのうち
上記取り込んだスイツチに関する今までのスイツ
チの状態を示すデータとを比較することにより、
イベント検出を行う。そして、スイツチオンイベ
ントが検出された時は、スイツチレジスタR2内
の、オンとされたスイツチに対応する記憶スロツ
トR2−1,R2−2…内に〓1〓を書込み、ま
た、スイツチオフイベントが検出された時は、オ
フとされたスイツチに対応する記憶スロツトR2
−1,R2−2…内に〓0〓を書込む。次に、ス
テツプS4はMIDIデータ出力制御用スイツチ処理
であり、CPU3aがこのステツプS4へ進むと、
まず、MIDIデータ出力制御用スイツチ6を走査
してそのオン/オフ状態を検出し、スイツチ6が
オンの場合は、まずRAM3c内のMIDIデータ
出力オン/オフレジスタR3(1ビツト)の内容
を反転し、次いで反転後のレジスタR3の内容が
〓1〓の時は出力オンフラグレジスタF1内に〓
1〓を書込み、また、反転後のレジスタR3の内
容が〓0〓の時は、出力オフフラグレジスタF2
内に〓1〓を書込む。次に、フラグレジスタF
1,F2のいずれかが〓1〓であるか否かをチエ
ツクし、いずれかが〓1〓の場合は第4図に示す
サブルーチンのステツプSB1へ進み、双方が〓0
〓の場合はステツプS5へ進む。また、スイツチ
6がオフの場合はレジスタR3の内容の反転を行
わないでフラグレジスタF1,F2のチエツクを
行いその結果に応じて上記と同様にサブルーチン
のステツプSB1またはステツプS5へ進む。ステツ
プSB1では、現在演奏中か否かの判断が行われ
る。すなわち、チヤンネル割当てレジスタR1の
各記憶スロツトR1−1,R1−2…内の各
KONビツトおよびスイツチレジスタR2の記憶
スロツトR2−1(サステインペダルスイツチ5
に対応する記憶スロツト)内のビツト信号が全て
〓0〓であるか否かをチエツクする。そして、上
記の各ビツト信号の内に〓0〓でないものがあつ
た場合、すなわち演奏中の場合は、何の処理もせ
ず、第3図のステツプS5へ進む。一方、各ビツ
ト信号が全て〓0〓の場合(演奏中でない場合)
は、ステツプSB2へ進む。ステツプSB2では、フ
ラグレジスタF1,F2のいずれに〓1〓が書込
まれているかを判断する。そして、フラグレジス
タF1に〓1〓が書込まれている場合は、ステツ
プSB3へ進み、また、フラグレジスタF2に〓1
〓が書込まれている場合は、ステツプSB4へ進
む。ステツプSB3では、RAM3C内のMIDIデー
タ出力フラグレジスタF3内に〓1〓が、またフ
ラグレジスタF1内に〓0〓が各々書込まれる。
また、ステツプSB4では、フラグレジスタF2,
F3に各々〓0〓が書込まれる。そして、ステツ
プS5へ進む。ステツプS5では、スイツチレジス
タR2の記憶スロツトR2−2,R2−3…の各
内容およびフラグレジスタF3の内容が各々、対
応するスイツチおよびスイツチ6へ出力される。
これにより、各スイツチに設けられている照光ラ
ンプが点灯または消灯される。 Next, step 3 is a switch scan register write process. When the CPU 3a proceeds to step S3, it first scans the sustain pedal switch 5 and each switch in the switch unit 7, sequentially captures data indicating the on/off status of each switch, and also indicates the captured status of each switch. By comparing the data with the data indicating the state of the previously imported switch among the switches stored in the switch register R2 in the RAM 3c,
Perform event detection. When a switch-on event is detected, 〓1〓 is written in memory slots R2-1, R2-2, etc. corresponding to the turned-on switch in switch register R2, and when a switch-off event is detected, When detected, memory slot R2 corresponding to the switch turned off
-1, R2-2...Write 〓0〓. Next, step S4 is a MIDI data output control switch process, and when the CPU 3a proceeds to step S4,
First, the MIDI data output control switch 6 is scanned to detect its on/off state, and if the switch 6 is on, the contents of the MIDI data output on/off register R3 (1 bit) in the RAM 3c are inverted. Then, when the content of register R3 after inversion is 〓1〓, 〓 is written in output on flag register F1.
1〓 is written, and when the contents of register R3 after inversion are 〓0〓, output off flag register F2 is written.
Write 〓1〓 inside. Next, flag register F
Check whether either 1 or F2 is 〓1〓, and if either is 〓1〓, proceed to step SB1 of the subroutine shown in Fig. 4, and both become 〓0〓.
If 〓, proceed to step S5. If the switch 6 is off, the flag registers F1 and F2 are checked without inverting the contents of the register R3, and depending on the result, the program proceeds to step SB1 or step S5 of the subroutine in the same manner as above. In step SB1, it is determined whether or not the music is currently being played. That is, each memory slot R1-1, R1-2, . . . of the channel allocation register R1
KON bit and switch register R2 memory slot R2-1 (sustain pedal switch 5
It is checked whether the bit signals in the memory slots corresponding to the memory slots are all 0. If any of the above-mentioned bit signals is not 0, that is, if the performance is in progress, no processing is performed and the process proceeds to step S5 in FIG. On the other hand, if each bit signal is all 0 (when not being played)
, proceed to step SB2. In step SB2, it is determined whether 〓1〓 is written in either flag register F1 or F2. If 〓1〓 is written in the flag register F1, the process advances to step SB3, and 〓1〓 is written in the flag register F2.
If 〓 is written, proceed to step SB4. At step SB3, 1 is written in the MIDI data output flag register F3 in the RAM 3C, and 0 is written in the flag register F1.
Also, in step SB4, flag register F2,
〓0〓 is written to F3. Then, proceed to step S5. In step S5, the contents of the storage slots R2-2, R2-3, . . . of the switch register R2 and the contents of the flag register F3 are output to the corresponding switch and switch 6, respectively.
As a result, the illumination lamp provided in each switch is turned on or off.
次に、ステツプS6はMIDIデータ作成出力処理
である。CPU3aがこのステツプS6へ進むと、
まずチヤンネル割当てレジスタR1の内容および
スイツチレジスタR2の内容に基づき、MIDIの
データフオーマツトに従つて演奏データを作成す
る。次いで、RAM3c内のフラグレジスタF3
をチエツクし、同フラグレジスタF3の内容が〓
1〓の場合は、作成した演奏データを楽音信号発
生回路9およびMIDIインターフエイス回路11
へ出力し、また、フラグレジスタF3の内容が〓
0〓の場合は、作成した演奏データを楽音信号発
生回路9のみへ出力する。そして、CPU3aの
処理はステツプS2へ戻り、以後ステツプS2,S3
…S6の処理を繰返えす。 Next, step S6 is MIDI data creation and output processing. When the CPU 3a advances to this step S6,
First, performance data is created in accordance with the MIDI data format based on the contents of the channel assignment register R1 and the contents of the switch register R2. Next, flag register F3 in RAM3c
Check the contents of the flag register F3.
In the case of 1〓, the created performance data is sent to the musical tone signal generation circuit 9 and the MIDI interface circuit 11.
Also, the contents of flag register F3 are
In the case of 0, the created performance data is output only to the musical tone signal generation circuit 9. Then, the processing of the CPU 3a returns to step S2, and thereafter steps S2 and S3 are executed.
...Repeat the process of S6.
このように、上記実施例においては、MIDIデ
ータ出力制御用スイツチ6が押された場合に、も
し演奏途中であればこの操作を受けつけず(フラ
グF3のセツトまたはリセツトを行わない)、演
奏が終了するのを待つて受けつける。この処理に
より、外部の電子楽器の音が鳴りつぱなしになる
等の問題を解決することができる。 In this way, in the above embodiment, when the MIDI data output control switch 6 is pressed, if the MIDI data output control switch 6 is in the middle of a performance, this operation is not accepted (the flag F3 is not set or reset), and the performance ends. Wait for it to happen and accept it. This processing makes it possible to solve problems such as the sound of an external electronic instrument continuing to play.
なお、上記実施例においては、フラグレジスタ
F33の内容が〓0〓の時、CPU3aが演奏デ
ータをMIDIインターフエイス回路11へ出力し
ないようになつているが、これに代えて、CPU
3aが演奏データをフラグレジスタF3の〓1
〓/〓0〓にかかわらずインターフエイス回路1
1へ出力すると共に、フラグレジスタF3の内容
も同時にインターフエイス回路11へ出力するよ
うにし、インターフエイス回路11がフラグレジ
スタF3の内容に基づいてMIDIデータの出力制
御を行うようにしてもよい。また、マイクロコン
ピユータ処理によらず、ハードウエアによつて構
成してもよい。また、第4図におけるステツプ
SB1の判断は、上記実施例に限るものではない。
少くとも押鍵中の鍵があるか否かを検出すればよ
い。また、上記実施例は発音割当て方式を用いて
いるが、この発明は発音割当て方式以外の方式電
子楽器にも勿論適用することができる。さらに、
この発明は楽音信号発生回路およびサウンドシス
テムを具えていない鍵盤部およびMIDIデータ出
力制御スイツチ6のみを有するキーボード装置や
ピアノ、電気ピアノ等、電子楽器以外の鍵盤楽器
にも適用可能である。この場合、ピアノ等の鍵盤
の各キーに対応してキースイツチを設けると共
に、各ペダルに対してペダルスイツチを設け、こ
れらの各スイツチのオン/オフ状態に基づいて
MIDIデータを作成する。そして、このMIDIデ
ータの出力の制御に上記実施例による構成を適用
する。 In the above embodiment, when the content of the flag register F33 is 0, the CPU 3a does not output performance data to the MIDI interface circuit 11.
3a stores the performance data as 〓1 of flag register F3.
Interface circuit 1 regardless of 〓/〓0〓
The contents of the flag register F3 may also be output to the interface circuit 11 at the same time as the contents of the flag register F3, and the interface circuit 11 may control the output of MIDI data based on the contents of the flag register F3. Moreover, it may be configured by hardware instead of microcomputer processing. Also, the steps in Figure 4
The judgment of SB1 is not limited to the above example.
At least it is sufficient to detect whether or not there is a key being pressed. Further, although the above embodiment uses the sound assignment method, the present invention can of course be applied to electronic musical instruments using methods other than the sound assignment method. moreover,
The present invention can also be applied to keyboard instruments other than electronic musical instruments, such as keyboard devices, pianos, and electric pianos that have only a keyboard section and a MIDI data output control switch 6 without a musical tone signal generation circuit or sound system. In this case, a key switch is provided for each key on a keyboard such as a piano, and a pedal switch is provided for each pedal, and the on/off status of each of these switches is
Create MIDI data. Then, the configuration according to the above embodiment is applied to control the output of this MIDI data.
以上説明したように、この発明によれば、演奏
情報を演奏操作に対応して正確に送出でき、従来
のように演奏情報送出先の外部の楽音発生装置
(電子楽器)において、音が鳴りつぱなしになる
等の問題が生じない効果がある。
As explained above, according to the present invention, performance information can be accurately sent out in response to performance operations, and unlike conventional musical sound generation devices (electronic musical instruments) to which performance information is sent, the sound is emitted repeatedly. This has the effect of preventing problems such as pausing.
第1図はこの発明の一実施例を適用した電子楽
器の構成を示すブロツク図、第2図は第1図にお
けるRAM3c内に設けられている主要なレジス
タを示す図、第3図、第4図は各々第1図におけ
るCPU3aの処理過程を示す図である。
1……鍵盤、3a……CPU、3b……ROM、
3c……RAM、5……サステインペダルスイツ
チ、6……MIDIデータ出力制御用スイツチ、1
1……MIDIインターフエイス回路。
FIG. 1 is a block diagram showing the configuration of an electronic musical instrument to which an embodiment of the present invention is applied, FIG. 2 is a diagram showing the main registers provided in the RAM 3c in FIG. 1, and FIGS. Each figure is a diagram showing the processing process of the CPU 3a in FIG. 1. 1...Keyboard, 3a...CPU, 3b...ROM,
3c...RAM, 5...Sustain pedal switch, 6...MIDI data output control switch, 1
1...MIDI interface circuit.
Claims (1)
状態に対応した演奏情報を送出する機能を備え
た演奏情報送出手段と、 (b) 前記演奏情報の送出のオン/オフ制御を行う
スイツチ手段と、 (c) 前記演奏用操作子が操作中であるか否かを検
出する検出手段と、 (d) 前記スイツチ手段が操作され、かつ、前記演
奏用操作子が操作中でないことを前記検出手段
が検出した場合に、前記演奏情報の送出または
送出停止を行う制御手段と、 を具備してなる演奏情報送出制御装置。[Scope of Claims] 1 (a) Performance information sending means having a function of sending out performance information corresponding to the operation state of a performance controller including at least a key; (b) Turning on/off of the transmission of the performance information; (c) detection means for detecting whether or not the performance controller is being operated; (d) the switch means is operated and the performance controller is operated. A performance information transmission control device comprising: control means for transmitting or stopping transmission of the performance information when the detection means detects that the performance information is not in progress.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60085982A JPS61245192A (en) | 1985-04-22 | 1985-04-22 | Performance information feed controller for keyed instrument |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60085982A JPS61245192A (en) | 1985-04-22 | 1985-04-22 | Performance information feed controller for keyed instrument |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61245192A JPS61245192A (en) | 1986-10-31 |
| JPH0455517B2 true JPH0455517B2 (en) | 1992-09-03 |
Family
ID=13873904
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60085982A Granted JPS61245192A (en) | 1985-04-22 | 1985-04-22 | Performance information feed controller for keyed instrument |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS61245192A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| 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 |
-
1985
- 1985-04-22 JP JP60085982A patent/JPS61245192A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61245192A (en) | 1986-10-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS61172192A (en) | Electronic musical instrument | |
| JPH0455517B2 (en) | ||
| JP3183385B2 (en) | Performance information input device for electronic musical instruments | |
| JP2522793Y2 (en) | Electronic musical instrument | |
| JP2548113B2 (en) | Electronic musical instrument | |
| JP2522794Y2 (en) | Electronic musical instrument | |
| JP2611467B2 (en) | Electronic keyboard instrument | |
| JPH03237495A (en) | Electronic musical instrument | |
| JP3169953B2 (en) | Sound source device | |
| JPH0683338A (en) | Electronic musical instrument | |
| JPH03213894A (en) | Electronic musical instrument | |
| JPH02199500A (en) | Electronic musical instrument | |
| JPH0432719Y2 (en) | ||
| JPS61175692A (en) | Electronic musical instrument | |
| JP3626863B2 (en) | Electronic musical instruments | |
| JP2903650B2 (en) | Display device | |
| JPH04166895A (en) | Electronic musical instrument | |
| JPS62195189U (en) | ||
| JP3026344B2 (en) | Electronics | |
| JPH087434Y2 (en) | Electronic musical instrument | |
| JP3561967B2 (en) | Electronic musical instrument system | |
| JP3670448B2 (en) | Electronic musical instrument and storage medium | |
| JPH08129379A (en) | Data setter of electronic musical instrument | |
| JP3112375B2 (en) | MIDI signal transmission control device | |
| JP3410134B2 (en) | Electronic musical instrument |