JPH07234673A - Electronic musical instrument - Google Patents

Electronic musical instrument

Info

Publication number
JPH07234673A
JPH07234673A JP6046558A JP4655894A JPH07234673A JP H07234673 A JPH07234673 A JP H07234673A JP 6046558 A JP6046558 A JP 6046558A JP 4655894 A JP4655894 A JP 4655894A JP H07234673 A JPH07234673 A JP H07234673A
Authority
JP
Japan
Prior art keywords
power
turned
switch
musical instrument
power switch
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
JP6046558A
Other languages
Japanese (ja)
Inventor
Kazunari Inaba
一成 稲葉
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 JP6046558A priority Critical patent/JPH07234673A/en
Publication of JPH07234673A publication Critical patent/JPH07234673A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)
  • Direct Current Feeding And Distribution (AREA)

Abstract

PURPOSE:To obtain the electronic musical instrument which is not electronic musical instrument which is not powered OFF unless a specific time is elapsed even if the power switch is turned OFF by providing a power supply means which continues to supply electric power for a specific time after the power switch is turned OFF. CONSTITUTION:A CPU 1 receives a timer interruption signal from a timer 2 at a previously set period and starts a timer interruption processing. It is checked whether or not a timer value for delay stored in a specific area of a RAM 3 is 0 and when the timer value is 0, the processing ends, but when not, one is subtracted from the timer value for delay and the result is stored in the specific area of the RAM 3 again. Consequently, even if a user turns OFF the power switch 15 by mistake, the power source 18 is not turned OFF unless the timer for delay reaches 0, and the power source 18 is held ON continuously without a momentary break by putting the power switch 15 back to the ON state. Consequently, the loss of data and the generation of a noise can be prevented.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は電子楽器に関し、特に電
子楽器の電源の制御に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic musical instrument, and more particularly to controlling the power source of the electronic musical instrument.

【0002】[0002]

【従来の技術】従来の電子楽器においては、電源スイッ
チとしては通常の機械的スイッチが用いられており、電
源スイッチをオフにすると、即時に電源が切れる構成に
なっていた。
2. Description of the Related Art In a conventional electronic musical instrument, an ordinary mechanical switch is used as a power switch, and when the power switch is turned off, the power is immediately turned off.

【0003】[0003]

【発明が解決しようとする課題】上記したような従来の
電子楽器においては、例えば誤って電源スイッチに触れ
てしまった場合に即時に電源が切れ、設定した音色パラ
メータや各種セッティングデータが消滅してしまうとい
う問題点があった。また大音量で演奏中に誤って電源ス
イッチに触れ、電源が切れた場合には演奏が途切れるば
かりでなく、大きなノイズを発生し、アンプやPA(拡
声システム)装置を破壊する可能性があるという問題点
もあった。
In the conventional electronic musical instrument as described above, for example, when the power switch is accidentally touched, the power is immediately turned off and the set tone color parameters and various setting data are lost. There was a problem that it would end up. In addition, if the power switch is accidentally touched while playing at a high volume and the power is turned off, not only the performance will be interrupted, but also a large amount of noise will be generated, possibly damaging the amplifier or PA (loudspeaker system) device. There were also problems.

【0004】本発明の目的は、前記のような従来技術の
問題点を改良し、電源スイッチをオフにしても所定の時
間が経過しなければ電源が切れない電子楽器を提供する
ことを目的とする。
An object of the present invention is to improve the problems of the prior art as described above, and to provide an electronic musical instrument in which the power cannot be turned off until a predetermined time elapses even when the power switch is turned off. To do.

【0005】[0005]

【課題を解決するための手段】本発明は、電源スイッチ
のオフ後に所定時間電源を供給し続ける電源供給手段を
備えたことを特徴とし、また前記電源供給手段は例え
ば、電源制御手段からの制御により、電源スイッチとは
並列に電源のオン、オフが可能なスイッチ手段と、電源
スイッチのオフを検出する手段と、電源がオンになると
スイッチ手段をオンに制御し、電源スイッチのオフを検
出した場合には所定時間後にスイッチ手段をオフに制御
する電源制御手段とから成ることを特徴とする。
The present invention is characterized by comprising power supply means for continuously supplying power for a predetermined time after the power switch is turned off, and the power supply means is controlled by, for example, power supply control means. Thus, the switch means capable of turning the power on and off in parallel with the power switch, the means for detecting the off of the power switch, and the switch means being controlled to be on when the power is turned on, and the off of the power switch is detected. In some cases, the power supply control means controls the switch means to be turned off after a predetermined time.

【0006】[0006]

【作用】本発明はこのような手段により、誤って電源ス
イッチに触れ、スイッチがオフ状態になった場合でも所
定時間は電源が切れないので、その間に電源スイッチを
オンに戻せば電源断を回避でき、データの消失やノイズ
の発生を防止することができる。
According to the present invention, even if the power switch is erroneously touched by the above means and the switch is turned off, the power is not turned off for a predetermined time. Therefore, it is possible to prevent data loss and noise generation.

【0007】[0007]

【実施例】以下、本発明の一実施例を図面を参照して詳
細に説明する。図2は本発明を適用した電子楽器のハー
ドウェア構成を表すブロック図である。CPU1はキー
アサイン、発音制御など電子楽器全体の制御を行う。タ
イマ2は、CPU1から設定された任意の周期で割り込
み信号を発生する。RAM3には、音色パラメータ等の
パネル設定情報、楽器内の各種制御データあるいは入力
された自動演奏データ等が記憶される。ROM4には、
制御プログラム及びエンベロープ等のデータが格納され
ている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings. FIG. 2 is a block diagram showing a hardware configuration of an electronic musical instrument to which the present invention is applied. The CPU 1 controls the entire electronic musical instrument such as key assignment and sound generation control. The timer 2 generates an interrupt signal at an arbitrary cycle set by the CPU 1. The RAM 3 stores panel setting information such as tone color parameters, various control data in the musical instrument, or inputted automatic performance data. In ROM4,
Data such as control programs and envelopes are stored.

【0008】鍵盤9は、例えばそれぞれ2つのスイッチ
を備えた複数の鍵からなり、鍵盤スキャン回路10は鍵
盤の複数のスイッチをスキャンする回路からなる。トー
ンジェネレータ11は、例えば予め波形が記憶されてい
る波形メモリから、入力された演奏情報の音高に対応し
たアドレス間隔で波形情報を読み出し、デジタル楽音信
号を発生する回路である。D/A変換器12はデジタル
楽音信号をD/A変換し、アンプ13はスピーカ14を
駆動するために楽音信号を増幅する。バス17は電子楽
器内の各回路を接続している。
The keyboard 9 comprises a plurality of keys each having two switches, for example, and the keyboard scanning circuit 10 comprises a circuit for scanning a plurality of switches on the keyboard. The tone generator 11 is a circuit that reads out waveform information at an address interval corresponding to the pitch of the input performance information from a waveform memory in which waveforms are stored in advance, and generates a digital tone signal. The D / A converter 12 D / A converts the digital tone signal, and the amplifier 13 amplifies the tone signal to drive the speaker 14. The bus 17 connects each circuit in the electronic musical instrument.

【0009】パネル7は、操作スイッチ、ボリュームお
よび液晶あるいはLED等の表示器からなり、パネルイ
ンターフェース8はCPU1の制御によりパネルのスイ
ッチをスキャンする回路および表示器のドライブ回路か
ら成る。電源用電池18の出力は電源スイッチ15と電
源制御用リレー5の接点16との並列回路を介して電子
楽器内の各回路に供給されている。なお電源としてはA
Cアダプタ等を使用してもよい。また電源スイッチ15
のもう1つの接点は、電源スイッチの状態を検出するた
めにパネルを介してパネルインターフェース8に接続さ
れており、CPU1はパネルインターフェース8を介し
て電源スイッチ15の状態を読み取ることができる。ま
たCPU1はリレー制御回路6を介して電源用リレー5
を制御する。なおこの他にMIDIインターフェース回
路、フロッピディスクインターフェース回路、メモリカ
ードインターフェース回路等を必要に応じて設けてもよ
い。
The panel 7 is composed of operation switches, a volume and a display device such as a liquid crystal or LED, and the panel interface 8 is composed of a circuit for scanning the switch of the panel under the control of the CPU 1 and a drive circuit of the display device. The output of the power supply battery 18 is supplied to each circuit in the electronic musical instrument through a parallel circuit of the power switch 15 and the contact 16 of the power control relay 5. The power source is A
A C adapter or the like may be used. Power switch 15
The other contact of is connected to the panel interface 8 through the panel for detecting the state of the power switch, and the CPU 1 can read the state of the power switch 15 through the panel interface 8. The CPU 1 also uses the relay control circuit 6 to supply the power supply relay 5
To control. In addition to this, a MIDI interface circuit, a floppy disk interface circuit, a memory card interface circuit, etc. may be provided as necessary.

【0010】図3は、CPU1のメイン処理を示すフロ
ーチャートである。電子楽器の電源スイッチ15がオン
になると、ステップS10においては、CPU1はリレ
ー制御回路6を介して電源用リレー5をオンに制御す
る。ステップS11においては、RAM3内の所定のエ
リアに設定されている電源フラグをオンにセットする。
ステップS12においては、RAM3内の制御情報エリ
アの内容やトーンジェネレータ11内の制御メモリの内
容等の初期化処理を行う。
FIG. 3 is a flow chart showing the main processing of the CPU 1. When the power switch 15 of the electronic musical instrument is turned on, the CPU 1 controls the power relay 5 to be turned on via the relay control circuit 6 in step S10. In step S11, the power supply flag set in a predetermined area in RAM 3 is set to ON.
In step S12, initialization processing of the contents of the control information area in the RAM 3 and the contents of the control memory in the tone generator 11 is performed.

【0011】ステップS13においては、CPU1は鍵
盤スキャン回路10を駆動して鍵盤9のスイッチをスキ
ャンし、変化を検出すると、該変化内容に対応してキー
オン、キーオフ処理等の周知のイベント処理を行う。ス
テップS14においては、CPU1はパネルインターフ
ェース8を駆動してパネル7をスキャンし、変化を検出
すると、該変化内容に対応したイベント処理を行う。ス
テップS15においては、CPU1はパネル表示処理を
行い、現在の装置の状態等を表示する。ステップS16
においては、CPU1はトーンジェネレータ11への発
音データの設定、更新処理を行う。ステップS13から
ステップS16は通常の電子楽器における一般的な処理
である。ステップS17においては、電源制御処理が行
われる。この処理は、詳細は後述するが、電源スイッチ
のオフ後も所定時間電源を供給し続けるように電源用リ
レー5を制御するものである。
In step S13, the CPU 1 drives the keyboard scanning circuit 10 to scan the switches on the keyboard 9 and, when a change is detected, performs well-known event processing such as key-on and key-off processing according to the content of the change. . In step S14, the CPU 1 drives the panel interface 8 to scan the panel 7, and when detecting a change, performs an event process corresponding to the change content. In step S15, the CPU 1 performs a panel display process to display the current device status and the like. Step S16
In step 1, the CPU 1 sets the tone generation data for the tone generator 11 and updates the tone generation data. Steps S13 to S16 are general processing in a normal electronic musical instrument. In step S17, power supply control processing is performed. As will be described in detail later, this process controls the power supply relay 5 so that power is continuously supplied for a predetermined time even after the power switch is turned off.

【0012】図1は、図3のステップS17における電
源制御処理の詳細を示すフローチャートである。ステッ
プS20においては、電源スイッチがオフ状態であるか
否かが調べられる。この処理は、例えばCPU1がパネ
ルインターフェース8を介して電源スイッチ15の状態
を読み取ることによって行われる。ステップS20の判
定結果が否定の場合にはステップS25に移行し、電源
フラグをオンにセットして処理を終了するが、肯定の場
合にはステップS21に移行する。ステップS21にお
いては、RAMの所定エリアに記憶されている電源フラ
グがオンであるか否かが調べられ、オンである場合には
ステップS22に移行する。
FIG. 1 is a flow chart showing details of the power supply control process in step S17 of FIG. In step S20, it is checked whether or not the power switch is off. This processing is performed, for example, by the CPU 1 reading the state of the power switch 15 via the panel interface 8. If the determination result of step S20 is negative, the process proceeds to step S25, the power supply flag is set to ON and the process ends, but if the determination is affirmative, the process proceeds to step S21. In step S21, it is checked whether or not the power supply flag stored in the predetermined area of the RAM is on, and if it is on, the process proceeds to step S22.

【0013】ステップS22においては、電源フラグを
オフに設定し、ステップS23においては、やはりRA
Mの所定のエリアに設定されている遅延用タイマエリア
に所定値をセットする。この所定値は、例えば必要とす
る遅延時間(例えば数秒)をタイマ割り込み周期で除算
することにより決定される。ステップS21において、
電源フラグがオフであった場合にはステップS24に移
行し、ステップS24においては、タイマ値が0である
か否かが調べられ、0でなければ処理を終了するが、0
であった場合には、電源リレーをオフに制御し、電源を
切る。
In step S22, the power supply flag is set to OFF, and in step S23, RA is also set.
A predetermined value is set in the delay timer area set in the predetermined area of M. This predetermined value is determined, for example, by dividing the required delay time (for example, several seconds) by the timer interrupt period. In step S21,
If the power flag is off, the process proceeds to step S24. In step S24, it is checked whether the timer value is 0, and if it is not 0, the process ends, but 0
If it is, the power relay is turned off and the power is turned off.

【0014】図4は、タイマ割り込み処理の詳細を示す
フローチャートである。CPU1はタイマ2から予め設
定した周期でタイマ割り込み信号を受け、タイマ割り込
み処理が起動される。(このフローチャートでは本発明
に関係のある処理のみ示してある。)ステップS30に
おいては、RAMの所定のエリアに格納されている遅延
用タイマ値が0であるか否かが調べられ、0であれば処
理を終了するが、0でなければステップS31に移行す
る。ステップS31においては、遅延用タイマ値から1
を減算し、再びRAMの所定のエリアに格納する。
FIG. 4 is a flow chart showing details of the timer interrupt processing. The CPU 1 receives the timer interrupt signal from the timer 2 at a preset cycle, and the timer interrupt process is activated. (Only the processing relevant to the present invention is shown in this flowchart.) In step S30, it is checked whether or not the delay timer value stored in the predetermined area of the RAM is 0, and if it is 0, it is determined. If it is not 0, the process proceeds to step S31. In step S31, the delay timer value is set to 1
Is subtracted and stored again in a predetermined area of the RAM.

【0015】以上のような処理により、利用者が誤って
電源スイッチをオフにしても、遅延用タイマが0になる
までの所定時間は電源が切れず、その間に電源スイッチ
をオンに戻せば電源は瞬断せずに供給される。
By the above processing, even if the user accidentally turns off the power switch, the power is not turned off for a predetermined time until the delay timer reaches 0, and if the power switch is turned back on during that time, the power is turned off. Is supplied without interruption.

【0016】以上、実施例を説明したが、次のような変
形例も考えられる。電源供給を続ける時間は長すぎると
使用者が不安感を抱くので、例えば数秒程度の時間に設
定するが、この時間をパネルから任意に設定可能に構成
してもよい。また所定時間経過後においても、まだ発音
中のチャネルが存在する場合には、発音中のチャネルの
消音処理を行なってから電源を切るようにすれば、意識
せずに誤ってスイッチをオフにした場合でも消音するの
で、大きなノイズが発生することを防止できる。
Although the embodiment has been described above, the following modifications are also possible. The user feels uneasy when the power supply is continued for too long, so the time is set to, for example, about several seconds, but this time may be arbitrarily set from the panel. If there is still a sounding channel even after the lapse of a predetermined time, the power is turned off after mute the sounding channel, and the switch is accidentally turned off. Even in this case, the sound is muted, so that a large amount of noise can be prevented.

【0017】電源の制御手段はリレーを用いる例を示し
たが、トランジスタ等の電流制御素子を用いることも可
能である。また電源スイッチとしては2回路を有するス
イッチを用いる例を示したが、例えば図5に示すように
ダイオードを用いれば、1回路のスイッチでも構成可能
である。実施例においてはCPUを用いて制御する例を
開示したが、例えばコンデンサと抵抗による積分回路、
タイマ回路あるいはリトリガブルワンショットマルチバ
イブレータ回路等を用いることにより電源スイッチオフ
後も所定時間ハイ状態を維持する信号を生成し、該信号
によって電源制御用リレーを制御するように構成するこ
とも可能である。
Although an example in which a relay is used as the control means for the power supply is shown, it is also possible to use a current control element such as a transistor. Also, an example in which a switch having two circuits is used as the power switch is shown, but if a diode is used as shown in FIG. 5, for example, a switch of one circuit can be used. Although an example in which control is performed using a CPU is disclosed in the embodiment, for example, an integrating circuit including a capacitor and a resistor,
A timer circuit or a retriggerable one-shot multivibrator circuit can be used to generate a signal that maintains a high state for a predetermined time after the power switch is turned off, and the signal can be used to control a power control relay. is there.

【0018】[0018]

【発明の効果】以上述べたように、本発明の電子楽器に
よれば、誤って電源スイッチに触れ、スイッチがオフ状
態になった場合でも、所定時間は電源が切れないので、
その間に電源スイッチをオンに戻せば電源断を回避で
き、データの消失やノイズの発生を防止することができ
るという効果がある。
As described above, according to the electronic musical instrument of the present invention, even if the power switch is accidentally touched and the switch is turned off, the power cannot be turned off for a predetermined time.
If the power switch is turned back on during that time, it is possible to avoid power interruption, and it is possible to prevent data loss and noise generation.

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

【図1】電源制御処理の詳細を示すフローチャートであ
る。
FIG. 1 is a flowchart showing details of power supply control processing.

【図2】本発明の電子楽器のハードウェア構成を表すブ
ロック図である。
FIG. 2 is a block diagram showing a hardware configuration of an electronic musical instrument of the present invention.

【図3】CPU1のメイン処理を示すフローチャートで
ある。
FIG. 3 is a flowchart showing a main process of CPU 1.

【図4】タイマ割り込み処理を示すフローチャートであ
る。
FIG. 4 is a flowchart showing timer interrupt processing.

【図5】電源回路の要部の他の実施例を示す回路図であ
る。
FIG. 5 is a circuit diagram showing another embodiment of the main part of the power supply circuit.

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

1…CPU、2…タイマ、3…RAM、4…ROM、5
…電源用リレー、6…リレー制御回路、7…パネル、8
…パネルインターフェース、9…鍵盤、10…鍵盤スキ
ャン回路、11…トーンジェネレータ、12…D/A変
換器、13…アンプ、14…スピーカ、15…電源スイ
ッチ、16…電源用リレー接点、17…バス、18…電
1 ... CPU, 2 ... Timer, 3 ... RAM, 4 ... ROM, 5
… Power supply relay, 6… Relay control circuit, 7… Panel, 8
... Panel interface, 9 ... Keyboard, 10 ... Keyboard scan circuit, 11 ... Tone generator, 12 ... D / A converter, 13 ... Amplifier, 14 ... Speaker, 15 ... Power switch, 16 ... Power relay contact, 17 ... Bus , 18 ... Battery

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 電源スイッチのオフ後に所定時間電源を
供給し続ける電源供給手段を備えたことを特徴とする電
子楽器。
1. An electronic musical instrument comprising a power supply means for continuously supplying power for a predetermined time after the power switch is turned off.
【請求項2】 前記電源供給手段は、電源制御手段から
の制御により、電源スイッチとは並列に、電源のオン、
オフが可能なスイッチ手段と電源スイッチのオフを検出
する手段と、 電源がオンになるとスイッチ手段をオンに制御し、電源
スイッチのオフを検出した場合には、所定時間後にスイ
ッチ手段をオフに制御する電源制御手段とから成ること
を特徴とする請求項1に記載の電子楽器。
2. The power supply means is turned on in parallel with the power switch under the control of the power supply control means.
A switch means that can be turned off, a means that detects the turning off of the power switch, and a switch means that when the power is turned on, the switch means is turned on, and if the power switch is turned off, the switch means is turned off after a predetermined time. The electronic musical instrument according to claim 1, further comprising:
【請求項3】 前記スイッチ手段はリレー回路であり、
前記電源制御手段は、前記所定時間を任意に設定可能
な、タイマ割り込み回路を内蔵する蓄積プログラム型制
御装置であることを特徴とする請求項2に記載の電子楽
器。
3. The switch means is a relay circuit,
3. The electronic musical instrument according to claim 2, wherein the power supply control means is a storage program type control device having a built-in timer interrupt circuit capable of arbitrarily setting the predetermined time.
JP6046558A 1994-02-22 1994-02-22 Electronic musical instrument Pending JPH07234673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6046558A JPH07234673A (en) 1994-02-22 1994-02-22 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6046558A JPH07234673A (en) 1994-02-22 1994-02-22 Electronic musical instrument

Publications (1)

Publication Number Publication Date
JPH07234673A true JPH07234673A (en) 1995-09-05

Family

ID=12750662

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6046558A Pending JPH07234673A (en) 1994-02-22 1994-02-22 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JPH07234673A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110574100A (en) * 2017-03-07 2019-12-13 雅马哈株式会社 Electronic musical instrument

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110574100A (en) * 2017-03-07 2019-12-13 雅马哈株式会社 Electronic musical instrument

Similar Documents

Publication Publication Date Title
KR900011493A (en) Electronic Gaming Apparatus with the Ability to Generate Pseudo-Stereo Sounds
US7112738B2 (en) Electronic musical instrument
JPH07234673A (en) Electronic musical instrument
JPH1039869A (en) Electronic musical instrument
US20090037007A1 (en) Guidance report device, guidance report integrated circuit, guidance report method, and guidance report program
JP3055554B2 (en) Operation instruction device
JP3320009B2 (en) Karaoke equipment
JP3486304B2 (en) Liquid crystal display backlight device
KR100286316B1 (en) Melody generation apparatus and method for video system
JP3515007B2 (en) Karaoke device characterized by echo adjustment function of microphone input
JPH10124196A (en) Memory device of electronic musical instrument
JPH07234674A (en) Electronic musical instrument
KR0131216Y1 (en) Apparatus for reproducing a sound with timer
KR970004167B1 (en) Sustain padal type automatic setting method of electronic musical instruments
JPH07295562A (en) Electronic musical instrument
KR910001306Y1 (en) Automatic alarm circuit using the function of reservative recording
KR960002226A (en) Sleep method of sound equipment
JPH0744173A (en) Automatic rhythm tempo controller
JP3538873B2 (en) Automatic performance device
JP3182098B2 (en) Electronic musical instrument
JPH10132972A (en) Signal sound outputting clock
JPH10132971A (en) Signal sound outputting clock
JPH04368994A (en) Display controller of electronic musical instrument
WO2004075161A1 (en) Timbre setting device of electronic instrument
JPH1137462A (en) Combustion equipment