JPH0239796B2 - - Google Patents

Info

Publication number
JPH0239796B2
JPH0239796B2 JP57061775A JP6177582A JPH0239796B2 JP H0239796 B2 JPH0239796 B2 JP H0239796B2 JP 57061775 A JP57061775 A JP 57061775A JP 6177582 A JP6177582 A JP 6177582A JP H0239796 B2 JPH0239796 B2 JP H0239796B2
Authority
JP
Japan
Prior art keywords
runaway
musical instrument
control
electronic musical
timer
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
Application number
JP57061775A
Other languages
Japanese (ja)
Other versions
JPS58179894A (en
Inventor
Masanobu Chibana
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.)
Yamaha Corp
Original Assignee
Yamaha Corp
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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP57061775A priority Critical patent/JPS58179894A/en
Publication of JPS58179894A publication Critical patent/JPS58179894A/en
Publication of JPH0239796B2 publication Critical patent/JPH0239796B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 この発明は、マイクロコンピユータあるいはマ
イクロプロセツサ等により動作が制御される電子
楽器において、制御が暴走したときに適切な処置
を施すようにしたことに関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an electronic musical instrument whose operation is controlled by a microcomputer, microprocessor, etc., so that appropriate measures can be taken when the control goes out of control.

マイクロコンピユータあるいはマイクロプロセ
ツサ等を用い、所定のプログラムに従つて動作が
制御されるタイプの電子楽器においては、外来パ
ルス(特に電源ラインを介して伝達されるもの)
あるいは奏者の身体に帯電している静電気による
パルスなどにより制御が暴走することがある。こ
れは、例えば、これらのノイズパルスによりプロ
グラムカウンタが暴走することによつてひき起さ
れる。従来は、そのような暴走が起つた場合、奏
者がその都度電源スイツチを操作して正常状態に
復帰させるようにしていた。しかし、復帰操作が
なされるまでは、無制御の各種音がスピーカから
出てしまい、好ましくなかつた。
In electronic musical instruments whose operations are controlled according to a predetermined program using a microcomputer or microprocessor, external pulses (particularly those transmitted via the power line)
Alternatively, control may go out of control due to pulses caused by static electricity that is charged on the player's body. This is caused, for example, by the program counter going out of control due to these noise pulses. Conventionally, when such an out-of-control situation occurred, the player had to operate the power switch each time to restore the normal state. However, until the return operation is performed, various uncontrolled sounds are emitted from the speaker, which is not desirable.

この発明は上述の点に鑑みてなされたもので、
制御が暴走したことを自動的に検知し、これにも
とづき無制御の楽音(または雑音)が発音される
ことを禁止すると共に制御を初期状態に自動的に
復帰させるようにした電子楽器を提供しようとす
るものである。
This invention was made in view of the above points,
To provide an electronic musical instrument that automatically detects runaway control, prohibits the generation of uncontrolled musical tones (or noise) based on this, and automatically returns control to its initial state. That is.

この発明に係る電子楽器は、該電子楽器がプロ
グラムに従つて正常に動作しているときに繰返し
出力される所定の信号が所定時間出力されないこ
とを検出することにより、上記電子楽器の制御が
暴走したことを検出する暴走検出手段と、上記暴
走検出手段により暴走が検出されたときに第1の
検出信号を発生し、上記暴走検出手段による暴走
検出状態が更に所定時間以上持続したときに第2
の検出信号を発生し、上記第1の検出信号にもと
づき楽音の発音を禁止し、上記第2の検出信号に
もとづき上記電子楽器を初期状態に戻す制御手段
とを具えたことを特徴とするものである。
In the electronic musical instrument according to the present invention, control of the electronic musical instrument becomes out of control by detecting that a predetermined signal that is repeatedly output when the electronic musical instrument is operating normally according to a program is not output for a predetermined period of time. a runaway detection means for detecting that the runaway has occurred; and a runaway detection means for generating a first detection signal when the runaway detection means detects the runaway, and a second detection signal when the runaway detection state by the runaway detection means continues for a predetermined period or more.
A control means for generating a detection signal, prohibiting the production of musical tones based on the first detection signal, and returning the electronic musical instrument to an initial state based on the second detection signal. It is.

この発明によれば、プログラムの暴走が検出さ
れたとき、第1の検出信号がまず発生され、その
後、暴走検出状態が更に所定時間以上持続したこ
とを条件に第2の検出信号が発生される。この第
1の検出信号にもとづき楽音の発音を禁止され、
第2の検出信号にもとづき電子楽器の制御が初期
状態に戻される。このように、暴走検出時におけ
る発音の禁止と初期状態へのリセツト処理との間
に時間遅れを設けたことがこの発明の特徴であ
る。これにより、暴走検出時において直ちに発音
禁止して不都合な音が出ることを即座に防止する
一方で、電子楽器の制御を初期状態に戻すことを
少し遅らせて、その間に暴走が解消されることを
待ち、もし暴走が解消されたならば、第2の検出
信号は発生しないようにして、制御を初期状態に
戻すことを回避することができるようにしてい
る。
According to this invention, when a program runaway is detected, the first detection signal is first generated, and then the second detection signal is generated on the condition that the runaway detection state continues for a predetermined period or longer. . Based on this first detection signal, the production of musical tones is prohibited,
Control of the electronic musical instrument is returned to the initial state based on the second detection signal. As described above, a feature of the present invention is that a time delay is provided between prohibition of sound generation upon detection of runaway and reset processing to the initial state. As a result, when a runaway is detected, the sound is immediately disabled to prevent the production of undesirable sounds, while at the same time it is possible to delay returning the control of the electronic musical instrument to its initial state for a while, allowing the runaway to be resolved. If the runaway is resolved, the second detection signal is not generated, thereby making it possible to avoid returning the control to the initial state.

このように、暴走が検出された場合であつて
も、制御を初期状態に戻すことをできるだけ回避
するようにすることは、RAM等の揮発性記憶装
置にそれまで書き込んだ音色情報やその他の演奏
情報を消失させないようにするために極めて有利
である。
In this way, even if a runaway is detected, it is important to avoid returning the control to its initial state as much as possible. This is extremely advantageous in order to prevent information from being lost.

以下添付図面を参照してこの発明の一実施例を
詳細に説明しよう。
Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

第1図において、マイクロコンピユータ制御型
の電子楽器が従来から具備している部分は、キー
スイツチ部10、トーンスイツチ部11、トーン
ジエネレータ部12、中央処理部(以下、CPU
と略称する)13、リードオンリーメモリ部(以
下、ROM部と略称する)14、ランダムアクセ
スメモリ部(以下、RAM部と略称する)15及
びサウンドシステム16である。キースイツチ部
10は鍵盤の各鍵に対応するキースイツチを含
み、トーンスイツチ部11はコンソールパネル上
の各種音色及び効果の選択操作子に対応するスイ
ツチ類を含む。ROM部14は制御プログラムを
予じめ記憶したプログラムROM及びその他必要
なデータを予じめ記憶したデータROMを含む。
CPU13による制御にもとづき、共通バス17
を介して各部10,11,12,14,15でデ
ータ及び命令が送受され、各部で所定の処理が
夫々なされ、最終的にキースイツチ部10及びト
ーンスイツチ部11での選択に対応した楽音信号
がトーンジエネレータ部12から発生される。
In FIG. 1, the conventional parts of a microcomputer-controlled electronic musical instrument include a key switch section 10, a tone switch section 11, a tone generator section 12, and a central processing section (hereinafter referred to as a CPU).
) 13 , a read-only memory section (hereinafter abbreviated as ROM section) 14 , a random access memory section (hereinafter abbreviated as RAM section) 15 , and a sound system 16 . The key switch section 10 includes key switches corresponding to each key on the keyboard, and the tone switch section 11 includes switches corresponding to various tone color and effect selection operators on the console panel. The ROM unit 14 includes a program ROM in which a control program is pre-stored and a data ROM in which other necessary data is pre-stored.
Based on the control by the CPU 13, the common bus 17
Data and commands are sent and received through each section 10, 11, 12, 14, and 15, and predetermined processing is performed at each section, and finally musical tone signals corresponding to the selections at the key switch section 10 and tone switch section 11 are generated. It is generated from the tone generator section 12.

トーンジエネレータ部12とサウンドシステム
16との間にゲート18が設けられると共にタイ
マ19が新たに設けられる。タイマ19は、
CPU13による制御にもとづきプログラムが実
行される過程において発生されるタイマリセツト
パルスRSTによつてリセツトされ、これにもと
づき所定のタイマ動作を開始する。ゲート18は
常時はオンしており、トーンジエネレータ部12
の出力楽音信号がサウンドシステム16に与えら
れることを許しているが、所定の条件の下で発せ
られるタイマ19の出力信号OFFによりオフと
され、トーンジエネレータ部12の出力楽音信号
がサウンドシステム16に与えられることを禁止
する。
A gate 18 is provided between the tone generator section 12 and the sound system 16, and a timer 19 is newly provided. Timer 19 is
It is reset by a timer reset pulse RST generated in the process of executing a program under the control of the CPU 13, and based on this, a predetermined timer operation is started. The gate 18 is always on, and the tone generator section 12
The output musical tone signal of the tone generator section 12 is allowed to be given to the sound system 16, but it is turned off by the output signal OFF of the timer 19 issued under predetermined conditions, and the output musical tone signal of the tone generator section 12 is allowed to be given to the sound system 16. prohibited from being given to

第2図はCPU13によつて実行される制御プ
ログラムの一例を示すもので、このプログラムの
メインルーチン21それ自体はこの発明の要旨で
はないので、概略のみが示されている。プログラ
ムは電源投入によつてスタートし、「イニシヤラ
イズ」と記したブロツク20ではRAM部15そ
の他各種回路を初期状態に設定する処理がなされ
る。メインルーチン21は大別して「キーイベン
ト検出」、「トーンイベント検出」、「自動リズムイ
ベント検出」の処理を行なうステツプを含む。
「キーイベント検出」はキースイツチ部10にお
けるキースイツチのオン・オフ変化を検出するも
のであり、オンまたはオフ変化が検出されたとき
「キーアサインメントルーチン」を実行する。「キ
ーアサインメントルーチン」は、複数の楽音発生
チヤンネルのいずれかにオンされたキースイツチ
に対応する楽音発生を割当てる処理及びキーオフ
処理を行なうものであり、この処理によつて各チ
ヤンネルに割当てられた鍵を示すキーコードとそ
の鍵のオン・オフを示すキーオン信号がRAM部
15に記憶される。「トーンイベント検出」はト
ーンスイツチ部11におけるスイツチのオン・オ
フ変化を検出するものであり、変化が検出された
とき「トーンデータ書込みルーチン」を実行す
る。「トーンデータ書込みルーチン」はオンされ
たトーンスイツチに関するトーンデータをROM
部14からRAM部15に書込み、オフされたト
ーンスイツチに関するトーンデータをRAM部1
5で消去する。「自動リズムイベント検出」は自
動リズムパターンの変化を検出し、この検出にも
とづき「自動リズムルーチン」で自動リズム音の
発音割当て及び割当て消去の処理を行なう。各イ
ベント検出処理においてイベント検出(変化検
出)がなされなかつたときは直ちに次のステツプ
に移行する。また、「キーアサインメントルーチ
ン」、「トーンデータ書込みルーチン」、「自動リズ
ムルーチン」において所定の処理を終了すると直
ちにメインルーチン21の所定のステツプに戻
る。
FIG. 2 shows an example of a control program executed by the CPU 13, and since the main routine 21 of this program itself is not the gist of the present invention, only an outline thereof is shown. The program starts when the power is turned on, and in block 20 labeled "Initialize", processing is performed to set the RAM section 15 and various other circuits to the initial state. The main routine 21 broadly includes steps for performing processing of "key event detection,""tone event detection," and "automatic rhythm event detection."
"Key event detection" is to detect an on/off change of a key switch in the key switch section 10, and when an on or off change is detected, a "key assignment routine" is executed. The "key assignment routine" is a process that assigns a musical tone generation corresponding to a key switch turned on to one of multiple musical tone generation channels and performs a key-off process, and through this process, the keys assigned to each channel are A key code indicating the key and a key-on signal indicating whether the key is on or off are stored in the RAM section 15. "Tone event detection" is to detect an on/off change of a switch in the tone switch section 11, and when a change is detected, a "tone data writing routine" is executed. "Tone data write routine" writes tone data related to the turned-on tone switch to ROM.
The tone data related to the turned-off tone switch is written from the RAM section 14 to the RAM section 15.
Delete with 5. The "automatic rhythm event detection" detects changes in the automatic rhythm pattern, and based on this detection, the "automatic rhythm routine" performs processing for assigning and deleting automatic rhythm tones. If no event detection (change detection) is performed in each event detection process, the process immediately moves to the next step. Immediately after completing the predetermined processing in the "key assignment routine", "tone data writing routine", and "automatic rhythm routine", the routine returns to the predetermined step of the main routine 21.

メインルーチン21の最後にタイマリセツトパ
ルスRSTを発生するためのステツプ22が設け
られている。このステツプ22は最後に限らず、
メインルーチン21のどの段階で設けてもよい。
プログラム進行がこのステツプ22に到達する
と、タイマリセツトパルスRSTが発生され、タ
イマ19(第1図)に供給される。ステツプ22
でパルスRSTを発生すると、プログラムは直ち
に次のステツプすなわちメインルーチン21の最
初のステツプに移行する。こうして、タイマリセ
ツトパルスRSTはメインルーチン21が1サイ
クル実行される毎に1パルスづつ発生される。
At the end of the main routine 21, a step 22 is provided for generating a timer reset pulse RST. This step 22 is not limited to the last step,
It may be provided at any stage of the main routine 21.
When the program progress reaches this step 22, a timer reset pulse RST is generated and supplied to the timer 19 (FIG. 1). Step 22
When the pulse RST is generated at , the program immediately moves to the next step, the first step of the main routine 21 . Thus, the timer reset pulse RST is generated one pulse each time the main routine 21 is executed one cycle.

タイマ19はリセツトパルスRSTによつてス
タート状態にリセツトされ、所定のタイマ動作を
開始する。この動作時間はメインルーチン21の
1サイクル分の実行時間よりも十分に長い時間に
設定されている。一例として、メインルーチン2
1の1サイクル分の実行に要する時間は3乃至
4ms程度であり、タイマ19の動作時間は数
10ms乃至数secに設定する。
The timer 19 is reset to the start state by the reset pulse RST and starts a predetermined timer operation. This operating time is set to be sufficiently longer than the execution time of one cycle of the main routine 21. As an example, main routine 2
The time required to execute one cycle of 1 is 3 to
The operating time of timer 19 is approximately 4ms.
Set to 10ms to several seconds.

プログラム制御が正常に実行されているとき
は、メインルーチン21がプログラムステツプ数
に応じた適宜の時間(3乃至4ms)で循環し、こ
れに応じてリセツトパルスRSTが頻繁に発生さ
れる。従つて、タイマ19はその動作時間が満了
する前に繰返しスタート状態にリセツトされ、出
力信号は生じない。この状態の一例が第3図のA
区間に示されている。
When the program control is normally executed, the main routine 21 is cycled at an appropriate time (3 to 4 ms) depending on the number of program steps, and the reset pulse RST is generated frequently accordingly. Therefore, timer 19 is repeatedly reset to the start condition before its operating time expires and no output signal is produced. An example of this state is A in Figure 3.
shown in the interval.

プログラム制御に暴走が生じると、プログラム
進行が乱れ、メインルーチン21の処理が正常に
は行なわれなくなる。その結果、タイマリセツト
パルスRSTが発生されなくなるか、または発生
されたとしてもその発生間隔が異常に長いものと
なる。従つて、タイマ19はその動作時間が満了
するまでタイマ動作を行ない、出力信号が発生さ
れる。この状態の一例が第3図のB区間に示され
ている。
If a runaway occurs in the program control, the program progress will be disturbed and the processing of the main routine 21 will not be performed normally. As a result, the timer reset pulse RST is not generated, or even if it is generated, the interval between occurrences becomes abnormally long. Therefore, the timer 19 performs the timer operation until its operating time expires, and an output signal is generated. An example of this state is shown in section B in FIG.

この実施例において、タイマ19は2種類の出
力信号OFF及びCPURSTを発生する。一方の出
力信号OFFは前述の通りゲート18をオフにす
るためのものであり、もう一方の出力信号
CPURSTはCPU13をリセツトし(一旦電源オ
フにし再び電源オンにするのと等価の状態にす
る)、プログラムを初期状態に復帰させるための
ものである。一例として、タイマ19は第3図の
B区間に示すような3つの動作時間T1,T2,T3
をもち、これらの動作時間T1〜T3に応じて所定
のタイミングで出力信号のOFF,CPURSTを出
力する。
In this embodiment, timer 19 generates two types of output signals: OFF and CPURST. One output signal OFF is for turning off the gate 18 as described above, and the other output signal OFF is for turning off the gate 18.
CPURST is used to reset the CPU 13 (to a state equivalent to turning off the power and then turning it on again) and return the program to its initial state. As an example, the timer 19 has three operating times T 1 , T 2 , T 3 as shown in section B in FIG.
The output signal OFF and CPURST are output at predetermined timings according to these operating times T 1 to T 3 .

タイマ19における第1の動作時間T1は、プ
ログラム制御の暴走を検知するために設定される
ものであり、リセツトパルスRSTによつてタイ
マ19がスタートしたときから次のリセツトパル
スRSTが発生されないままこの時間T1が満了し
た場合、暴走が起つたと見なす。この第1の動作
時間T1が満了すると同時に一方の出力信号OFF
が発生される(“1”となる)。第1の動作時間
T1の満了後なおもリセツトパルスRSTが発生さ
れないまま第2の動作時間T2が満了すると、も
う一方の出力信号CPURSTが発生される。第2
の動作時間T2の満了後なおもリセツトパルス
RSTが発生されないまま第3の動作時間T3が満
了すると、出力信号OFFが消滅される(“0”と
なる)。すなわち、タイマ出力信号OFFは第2及
び第3の動作時間T2,T3の間中発生し続け、ゲ
ート18をオフにする。これにより、一定時間
(T2+T3)の間、トーンジエネレータ部12の出
力楽音信号が禁止され、暴走によつて生じる出鱈
目な(制御されていない)楽音もしくは雑音の発
音が禁止される。もう一方のタイマ出力信号
CPURSTは第2の動作時間T2が満了したとき瞬
時的に生じるパルスであり、これによりCPU1
3がリセツトされる。このCPU13のリセツト
は電源オフと等価の処理である。すなわちタイマ
出力信号CPURSTによつて電源スイツチを一瞬
オフにしたのと同じ操作が自動的に行なわれ、こ
れにより暴走したプログラムが初期状態に自動復
帰され、正常状態に戻される。
The first operating time T1 in the timer 19 is set to detect runaway program control, and the timer 19 is started by the reset pulse RST until the next reset pulse RST is not generated. When this time T 1 expires, it is considered that a runaway has occurred. At the same time as this first operation time T1 expires, one output signal is turned off.
is generated (becomes “1”). First operating time
When the second operating time T2 expires without the reset pulse RST being generated after the expiration of T1 , the other output signal CPURST is generated. Second
Reset pulse still after expiration of operating time T 2
When the third operating time T3 expires without RST being generated, the output signal OFF disappears (becomes "0"). That is, the timer output signal OFF continues to be generated during the second and third operating times T 2 and T 3 to turn off the gate 18 . As a result, the output musical tone signal of the tone generator unit 12 is prohibited for a certain period of time (T 2 +T 3 ), and the generation of random (uncontrolled) musical tones or noises caused by runaway is prohibited. Other timer output signal
CPURST is a pulse that occurs instantaneously when the second operating time T2 expires, which causes CPU1
3 is reset. This resetting of the CPU 13 is equivalent to turning off the power. That is, the timer output signal CPURST automatically performs the same operation as turning off the power switch for a moment, thereby automatically returning the runaway program to its initial state and returning it to its normal state.

ゲートオフ用の信号OFFとCPUリセツト用の
信号CPURSTとの間に時間遅れT2を設けた理由
は、RAM部15の記憶内容をクリアしなければ
ならない事態をできるだけ避けるためである。す
なわち、CPU13がリセツトされると(電源オ
フされると)、RAM部15がクリアされ、それ
までにRAM部15に書込んだ音色情報その他演
奏情報がすべて消去されてしまい、奏者はその後
改めてこれらの情報を設定し直さねばならないと
いう面倒が起る。そこで、暴走を検知したとき
は、直ちに発音禁止して不都合な音が出ることを
早めに防止するが、CPU13のリセツトは直ち
に行なわずに次のタイマリセツトパルスRSTが
生じるのをもう少し(T2だけ)待ち、それでも
なおリセツトパルスRSTが生じなかつたときに
信号CPURSTを発生するようにしたのである。
従つて、第2の動作時間T2の最中にリセツトパ
ルスRSTがタイマ19に与えられた場合は、該
タイマ19がスタート状態に戻されてしまうこと
により、信号CPURSTは発生されない。これは
制御が一時的に暴走したが、偶然に正常状態に戻
つた場合であり、この場合は暴走中に生じるでた
らめな音の発音禁止だけが行なわれ、プログラム
のリセツトは行なわれない。尚、一例として、
T1は50ms、T2は1sec、T3は1sec程度に設定す
る。
The reason for providing the time delay T2 between the gate-off signal OFF and the CPU reset signal CPURST is to avoid as much as possible the situation in which the memory contents of the RAM section 15 must be cleared. In other words, when the CPU 13 is reset (the power is turned off), the RAM section 15 is cleared, and all the tone information and other performance information written to the RAM section 15 up to that point are erased, and the player can then read them again. The trouble of having to set the information again occurs. Therefore, when a runaway is detected, the sound is immediately disabled to prevent inconvenient sounds from being produced. However, the CPU 13 is not reset immediately, but the next timer reset pulse RST is delayed a little longer ( T2 only). ), and when the reset pulse RST still does not occur, the signal CPURST is generated.
Therefore, if the reset pulse RST is applied to the timer 19 during the second operating time T2 , the timer 19 is returned to the start state and the signal CPURST is not generated. This is a case where the control temporarily goes out of control, but returns to normal by chance. In this case, only the random sounds that occur during the runaway are prohibited, and the program is not reset. As an example,
Set T 1 to 50 ms, T 2 to 1 sec, and T 3 to about 1 sec.

以上説明したようにこの発明によれば、プログ
ラム制御が暴走したときに、制御されていない出
鱈目な音が発音されることが起らなくなると共
に、自動的にプログラム進行を初期状態に戻すこ
とにより暴走状態を自動的に解消することができ
るという優れた効果がある。しかも、この発明に
よれば、暴走検出時における発音の禁止と初期状
態へのリセツト処理との間に時間遅れを設け、暴
走検出時において直ちに発音禁止して不都合な音
が出ることを即座に防止する一方で、電子楽器の
制御を初期状態に戻すことを少し遅らせて、その
間に暴走が解消されることを待ち、もし暴走が解
消されたならば、制御を初期状態に戻すことを回
避することができるようにしているため、RAM
等の揮発性記憶装置にそれまで書き込んだ音色情
報やその他の演奏情報をできるだけ消失させない
ようにすることができる、という優れた効果を奏
する。
As explained above, according to the present invention, when the program control goes out of control, uncontrolled and random sounds are not produced, and the program progress is automatically returned to the initial state. It has the excellent effect of automatically resolving the situation. Moreover, according to the present invention, a time delay is provided between prohibition of sound generation when runaway is detected and reset processing to the initial state, so that when runaway is detected, sound generation is immediately inhibited to immediately prevent the production of inconvenient sounds. On the other hand, it is possible to delay returning the control of the electronic musical instrument to the initial state for a while, wait for the runaway to be resolved, and avoid returning the control to the initial state if the runaway is resolved. RAM
This has the excellent effect of preventing the timbre information and other performance information that have been previously written into volatile storage devices, such as the following, from being lost as much as possible.

すなわち、電子楽器の制御を初期状態に戻した
場合、RAM等の揮発性記憶装置にそれまで書き
込んだ音色情報やその他の演奏情報が消去されて
しまうことになり、そうすると、演奏者はその後
あらためてこれらの情報を設定しなおさねばなら
ないという面倒が起るが、この発明により、不都
合な音が出ることを即座に防止する一方で、制御
を初期状態に戻すことはできるだけ回避すること
ができるので、不都合な音が出ることを防止する
という利点を十分享受しつつしかも上記のような
面倒ができるだけ起らないようにすることができ
る、という優れた効果を奏する。
In other words, if the control of the electronic musical instrument is returned to its initial state, the tone information and other performance information previously written to volatile storage devices such as RAM will be erased, and the player will then have to read them again. However, with this invention, it is possible to immediately prevent inconvenient sounds from being produced, and to avoid returning the control to its initial state as much as possible, thereby eliminating inconveniences. This has the excellent effect of preventing the above-mentioned troubles as much as possible while fully enjoying the advantage of preventing noise from being produced.

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

第1図はこの発明に係る電子楽器の一実施例を
示すブロツク図、第2図は第1図のCPUによつ
て実行される制御プログラムの一例を示すフロー
チヤート、第3図は第1図におけるタイマの動作
例を説明するためのタイミングチヤート、であ
る。 12……トーンジエネレータ部、13……
CPU(中央処理部)、14……ROM部、15……
RAM部、16……サウンドシステム、18……
ゲート、19……タイマ、21……制御プログラ
ムのメインルーチン、22……タイマリセツトパ
ルス発生のためのプログラムステツプ。
FIG. 1 is a block diagram showing an embodiment of an electronic musical instrument according to the present invention, FIG. 2 is a flowchart showing an example of a control program executed by the CPU shown in FIG. 1, and FIG. 2 is a timing chart for explaining an example of the operation of a timer in FIG. 12...Tone generator section, 13...
CPU (central processing unit), 14...ROM section, 15...
RAM section, 16... Sound system, 18...
Gate, 19...Timer, 21...Main routine of control program, 22...Program step for generating timer reset pulse.

Claims (1)

【特許請求の範囲】 1 記憶装置に記憶されたプログラムにもとづき
動作が制御される電子楽器において、 上記電子楽器が上記プログラムに従つて正常に
動作しているときに繰返し出力される所定の信号
が所定時間出力されないことを検出することによ
り、上記電子楽器の制御が暴走したことを検出す
る暴走検出手段と、 上記暴走検出手段により暴走が検出されたとき
に第1の検出信号を発生し、上記暴走検出手段に
よる暴走検出状態が更に所定時間以上持続したと
きに第2の検出信号を発生し、上記第1の検出信
号にもとづき楽音の発音を禁止し、上記第2の検
出信号にもとづき上記電子楽器を初期状態に戻す
制御手段と を具えたことを特徴とする電子楽器。 2 上記第1の検出信号は、少なくとも上記暴走
検出手段による暴走検出状態が持続している間は
持続して楽音の発音を禁止するようにした特許請
求の範囲第1項記載の電子楽器。
[Claims] 1. In an electronic musical instrument whose operation is controlled based on a program stored in a storage device, a predetermined signal that is repeatedly output when the electronic musical instrument is operating normally according to the program. a runaway detection means for detecting that the control of the electronic musical instrument has gone out of control by detecting that the electronic musical instrument is not output for a predetermined period of time; When the state of runaway detection by the runaway detection means continues for a predetermined period or longer, a second detection signal is generated, the generation of musical tones is prohibited based on the first detection signal, and the generation of the musical tone is prohibited based on the second detection signal. An electronic musical instrument characterized by comprising a control means for returning the musical instrument to its initial state. 2. The electronic musical instrument according to claim 1, wherein the first detection signal continues to inhibit the production of musical tones at least while the runaway detection state by the runaway detection means continues.
JP57061775A 1982-04-15 1982-04-15 Electronic musical instrument Granted JPS58179894A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57061775A JPS58179894A (en) 1982-04-15 1982-04-15 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57061775A JPS58179894A (en) 1982-04-15 1982-04-15 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPS58179894A JPS58179894A (en) 1983-10-21
JPH0239796B2 true JPH0239796B2 (en) 1990-09-07

Family

ID=13180805

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57061775A Granted JPS58179894A (en) 1982-04-15 1982-04-15 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JPS58179894A (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU647631B2 (en) * 1991-06-26 1994-03-24 Kabushiki Kaisha Kawai Gakki Seisakusho A recording/reproducing method and device for an automatic performing piano
JP2733150B2 (en) * 1991-06-26 1998-03-30 株式会社河合楽器製作所 Automatic piano playing method and apparatus
JP2637324B2 (en) * 1991-11-13 1997-08-06 株式会社河合楽器製作所 Solenoid drive for automatic performance equipment
JP2677470B2 (en) * 1991-12-09 1997-11-17 株式会社河合楽器製作所 Automatic playing system
JP3006698B2 (en) * 1991-12-13 2000-02-07 株式会社河合楽器製作所 Automatic performance device
JPH05273981A (en) * 1992-03-26 1993-10-22 Kawai Musical Instr Mfg Co Ltd Electronic musical instrument
US5861567A (en) * 1996-03-05 1999-01-19 Yamaha Corporation Music computer saving abnormal tone generation by hangup
GB2534954B (en) 2015-07-21 2018-10-17 Ford Global Tech Llc Automated treatment process and apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5557956A (en) * 1978-10-25 1980-04-30 Nissan Motor Co Ltd Malfunction prevention unit of microcomputer
JPS55138154A (en) * 1979-04-16 1980-10-28 Hitachi Ltd Uncontrolled run detector of control circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5557956A (en) * 1978-10-25 1980-04-30 Nissan Motor Co Ltd Malfunction prevention unit of microcomputer
JPS55138154A (en) * 1979-04-16 1980-10-28 Hitachi Ltd Uncontrolled run detector of control circuit

Also Published As

Publication number Publication date
JPS58179894A (en) 1983-10-21

Similar Documents

Publication Publication Date Title
US5386081A (en) Automatic performance device capable of successive performance of plural music pieces
JPH0239796B2 (en)
US5959232A (en) Electronic musical instrument and a method of dynamic channel assignment for solo and non-solo tones
US4926738A (en) Electronic rhythm performing apparatus generating both manual and automatic rhythm tones
JPS6211356B2 (en)
JP3321955B2 (en) Keyboard device
JPS61175692A (en) Electronic musical instrument
JP2936872B2 (en) Music control device
JPS59838B2 (en) Initial touch response data generation circuit for electronic musical instruments
JPS6045829B2 (en) fail memory
JPS59201123A (en) Interruption processing system
JPH0418320B2 (en)
US4515058A (en) Adaptive tone generator assignment in a keyboard electronic musical instrument
JP3278857B2 (en) Musical tone generator
JP2526636B2 (en) Electronic musical instrument
JPH07121177A (en) Automatic accompaniment device
JP3646611B2 (en) Music generator
JPS6044673B2 (en) electronic musical instruments
JPS6290697A (en) Keying allotter for electronic musical apparatus
GB2158985A (en) Electronic musical instrument with automatic rhythm playing unit
CA1088352A (en) Dynamic one finger chording system
JPH0720862A (en) Automatic playing device
JPS6020758B2 (en) Electronic instrument key assigner
JPH04274489A (en) Power supply device of electronic musical instrument
JPS5827517B2 (en) Attenuated sound canceling device for electronic musical instruments