JPH10254438A - Warning device for forgetting of turning off power and its method and storage medium - Google Patents

Warning device for forgetting of turning off power and its method and storage medium

Info

Publication number
JPH10254438A
JPH10254438A JP10014983A JP1498398A JPH10254438A JP H10254438 A JPH10254438 A JP H10254438A JP 10014983 A JP10014983 A JP 10014983A JP 1498398 A JP1498398 A JP 1498398A JP H10254438 A JPH10254438 A JP H10254438A
Authority
JP
Japan
Prior art keywords
warning
music
power
switch
generating
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.)
Granted
Application number
JP10014983A
Other languages
Japanese (ja)
Other versions
JP3358524B2 (en
Inventor
Hideaki Shimatani
秀明 島谷
Masahiko Kawai
雅彦 川合
Akira Totsuka
昭 戸塚
Shigehiko Mizuno
成彦 水野
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 JP01498398A priority Critical patent/JP3358524B2/en
Publication of JPH10254438A publication Critical patent/JPH10254438A/en
Application granted granted Critical
Publication of JP3358524B2 publication Critical patent/JP3358524B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PROBLEM TO BE SOLVED: To surely make an operator recognize the forgetting of the turning off of a power switch when a switch or the like are not operated for a prescribed time or more. SOLUTION: The device detects that a switch or the like are not operated for a prescribed time or more and a prescribed music for warning the forgetting of the turning off a power is produced in accordance with the detection. When it is detected that moreover, there are not operations of the switch or the like for a prescribed time or more after the warning music is produced, it is favorable to produce a warning music in a mode different from that of the warning music of the last time. In the case of producing warning musics after a second time on, it is favorable to shorten an interval for producing musics. In the case of producing warning musics for warning the forgetting of the turning off of the power, it is favorable that a warning music is produced in a setting state different from the setting of prescribed parameters set before the warning music is produced and the setting is made to be returned to the setting state of the prescribed parameters set before the warning music is produced in accordance with the completion of producing of the warning music.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、電子楽器などの
電気又は電子機器に対するスイッチ等による操作が一定
時間以上ないときに所定のメロディを演奏して電源の停
止を促す電源切り忘れ警告装装置及び方法並びに記憶媒
体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power-off warning device and a method for playing a predetermined melody and prompting the user to stop the power supply when an operation of a switch or the like on an electric or electronic device such as an electronic musical instrument is not performed for a predetermined time or more. And a storage medium.

【0002】[0002]

【従来の技術】最近の電子楽器等の電気又は電子機器の
中には、電源スイッチの切り忘れを防止するために、一
定時間内に各種スイッチや鍵盤等の操作子に操作者から
の何らかの操作が加えられなかった場合に自動的に電力
の供給を停止させるオートパワーオフ機能を備えたもの
がある。
2. Description of the Related Art In recent years, some electric or electronic devices such as electronic musical instruments require an operator to operate various switches or keyboards within a certain period of time in order to prevent forgetting to turn off a power switch. Some devices have an auto power-off function that automatically stops supplying power when the power is not added.

【0003】[0003]

【発明が解決しようとする課題】このオートパワーオフ
機能は、ソフトウェア制御により電源のオフが可能なソ
フト電源スイッチを採用したものに限られる。従って、
電力の供給をハード的な電源スイッチで行うタイプの装
置にはオートパワーオフ機能を適用できないという問題
がある。なお、ハード的な電源スイッチ自体をオフさせ
る機構を備えた装置もあるが、この場合にはハード的構
成が複雑で高価となるため採用することができない。そ
こで、ハード的な電源スイッチを備えた装置の場合に
は、一定時間内に各種スイッチ等が操作されなかった時
に、『ピピッ』というような警告音を発し、操作者に電
源スイッチの切り忘れを知らせるというものがある。し
かしながら、通常の警告音だけでは、操作者が聞き逃す
恐れがあり、あまり効果的でないという問題を有してい
た。また、音量自体が小さく設定されている場合には、
警告音自体も小さく発せられるため、警告音としての意
味をなさないという問題もある。
The auto power-off function is limited to the one using a soft power switch that can be turned off by software control. Therefore,
There is a problem that an auto power-off function cannot be applied to a device of a type in which power is supplied by a hardware power switch. Some devices have a hardware-like mechanism for turning off the power switch itself. However, in this case, the hardware configuration is complicated and expensive, and thus cannot be adopted. Therefore, in the case of a device having a hardware power switch, when various switches are not operated within a certain period of time, a warning sound such as "beep" is sounded to inform the operator that the power switch has been forgotten to be turned off. There is something. However, there is a problem that the operator may miss the sound only with the normal warning sound, which is not very effective. Also, if the volume itself is set low,
There is also a problem that since the warning sound itself is emitted at a low volume, it does not make sense as the warning sound.

【0004】この発明は上述の点に鑑みてなされたもの
であり、スイッチ等が所定時間以上操作されなかった時
に、電源スイッチの切り忘れを操作者に確実に認識させ
ることのできる電源切り忘れ警告装置及び方法並びに記
憶媒体を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned circumstances, and has a power-off warning device and a power-off warning device that can surely recognize an operator's forgetting to turn off a power switch when a switch or the like has not been operated for a predetermined time or more. It is an object to provide a method as well as a storage medium.

【0005】[0005]

【課題を解決するための手段】この発明に係る電源切り
忘れ警告装置は、スイッチ等の操作が所定時間以上無い
ことを検出し、その検出に応じて電源切り忘れ警告のた
めの音楽を発生するものである。このように警告音とし
て所定の音楽を発生することによって、電源を切り忘れ
ていることを操作者に確実に認識させることができる。
A power-off warning device according to the present invention detects that no operation of a switch or the like has been performed for a predetermined time or more, and generates music for power-off warning in response to the detection. is there. By generating predetermined music as a warning sound in this way, it is possible to make the operator surely recognize that he has forgotten to turn off the power.

【0006】なお、前記電源切り忘れ警告のための音楽
を発生した後にさらに前記スイッチ等の操作が所定時間
以上無いことを検出した場合には、前回の音楽とは異な
る態様の音楽を発生するようにしてもよい。切り忘れ警
告のための音楽を前回とは異なる態様で発生することに
よって、操作者により確実に切り忘れを認識させること
ができる。なお、この異なる態様は、音楽の演奏パート
数、演奏時間、音量及びテンポの少なくとも1つを異な
らせることによって実現するようにしてよい。
[0006] If it is detected that the switch or the like has not been operated for a predetermined time after the music for warning of turning off the power is generated, music in a mode different from the previous music is generated. You may. By generating the music for warning of turning off in a manner different from the last time, it is possible to make the operator surely recognize the turning off. Note that this different aspect may be realized by making at least one of the number of music performance parts, the performance time, the volume, and the tempo different.

【0007】また、前記電源切り忘れ警告のための音楽
を発生した後にさらに前記スイッチ等の操作が前記所定
時間よりも短い所定時間の間に無いことを検出した場合
に、電源切り忘れ警告のための音楽を再び発生するよう
にしてもよい。これにより、スイッチ等の無操作時間が
長い場合には、警告音楽が繰り返し発生されるのみなら
ず、該警告音楽の発生時間間隔が前回よりも短くなり
(つまり徐々に短くなる時間間隔で警告音楽が繰り返さ
れる)、緊迫感が徐々に高まるので、操作者に対して電
源切り忘れをより確実に認識させることができる。この
場合、繰り返される各警告音楽の態様を、上記のように
前回とは異なる態様としてもよい。そうすれば、操作者
に対して電源切り忘れをより一層確実に認識させること
ができる。
[0007] When it is detected that no operation of the switch or the like has been performed for a predetermined time shorter than the predetermined time after generating the music for warning of power-off warning, music for warning of power-off warning is also provided. May be generated again. Accordingly, when the time period during which the switch or the like is not operated is long, not only the warning music is repeatedly generated, but also the time interval at which the warning music is generated becomes shorter than the previous time (that is, the warning music is gradually reduced at the time interval). Is repeated), so that the sense of urgency gradually increases, so that the operator can more reliably recognize that the user has forgotten to turn off the power. In this case, the mode of each repeated warning music may be different from the previous mode as described above. Then, it is possible to make the operator more surely recognize that the user has forgotten to turn off the power.

【0008】また、前記電源切り忘れ警告のための音楽
を発生する際に、その警告音楽発生前の所定パラメータ
の設定状態とは異なる設定状態にて該警告音楽を発生さ
せ、その警告音楽発生終了に応じて前記警告音楽発生前
の所定パラメータの設定状態に戻すようにしてもよい。
すなわち、警告音楽を独自のパラメータで発音した後
は、元の設定状態に戻すことによって、直ちに元の設定
状態で引き続き操作することが可能となる。
Further, when music for the power-off warning is generated, the warning music is generated in a setting state different from the setting state of the predetermined parameter before the generation of the warning music. Accordingly, the setting of the predetermined parameter before the generation of the warning music may be returned.
In other words, after the warning music is generated with its own parameters, by returning to the original setting state, it is possible to immediately continue the operation in the original setting state.

【0009】この発明は、装置発明として構成し、実施
することができるのみならず、方法発明として構成し、
実施することができる。また、この発明は、コンピュー
タプログラムの形態で実施することができるし、そのよ
うなコンピュータプログラムを記憶した記録媒体の形態
で実施することもできる。すなわち、この発明に係る方
法は、スイッチ等の操作手段を具備する電気又は電子機
器において電源切り忘れを警告するための方法であっ
て、前記スイッチ等の操作が所定時間以上無いことを検
出するステップと、その検出に応じて電源切り忘れ警告
のための音楽を発生するステップとを具えたものであ
る。前記電源切り忘れ警告のための音楽を発生した後に
さらに前記スイッチ等の操作が所定時間以上無いことを
検出した場合には、前回の音楽とは異なる態様の音楽を
発生するステップを更に具えてもよい。
The present invention can be constructed and implemented not only as a device invention, but also as a method invention.
Can be implemented. Further, the present invention can be implemented in the form of a computer program, and can also be implemented in the form of a recording medium storing such a computer program. That is, the method according to the present invention is a method for warning that the user has forgotten to turn off the power in an electric or electronic device including operation means such as a switch, and detecting that the operation of the switch or the like has not been performed for a predetermined time or more. Generating a music for warning to forget to turn off the power supply according to the detection. If it is further detected that the operation of the switch or the like has not been performed for a predetermined period of time after generating the music for warning of turning off the power, a step of generating music in a mode different from the previous music may be further provided. .

【0010】また、この発明に係る記憶媒体は、スイッ
チ等の操作手段を具備する電気又は電子機器において電
源切り忘れを警告するための処理のプログラムを記憶し
てなる機械読み取り可能な記憶媒体であって、このプロ
グラムは、前記スイッチ等の操作が所定時間以上無いこ
とを検出するための処理を行う手順と、その検出に応じ
て電源切り忘れ警告のための音楽を発生するための処理
を行う手順とを具えているものである。この記憶媒体に
記憶したプログラムを電気又は電子機器に内臓したコン
ピュータによって読み取り実行することによって、上述
と同様の電源切り忘れ時の警告音楽発生機能を実現する
ことができる。前記プログラムは、前記電源切り忘れ警
告のための音楽を発生した後にさらに前記スイッチ等の
操作が所定時間以上無いことを検出した場合には、前回
の音楽とは異なる態様の音楽を発生する手順を更に具え
ていてもよい。
A storage medium according to the present invention is a machine-readable storage medium storing a processing program for warning that the user has forgotten to turn off the power in an electric or electronic device having an operation means such as a switch. The program includes a procedure for performing a process for detecting that the operation of the switch or the like has not been performed for a predetermined time or more, and a procedure for performing a process for generating music for warning of a power-off warning according to the detection. It is equipped. By reading and executing the program stored in the storage medium by a computer built in an electric or electronic device, the same function of generating a music for warning when the power is forgotten to be turned off can be realized. If the program further detects that the switch or the like has not been operated for a predetermined time or more after generating the music for warning of turning off the power, the program further includes a step of generating music in a mode different from the previous music. You may have.

【0011】[0011]

【発明の実施の形態】以下、この発明の実施の形態を添
付図面に従って詳細に説明する。図2は、この発明に係
る電源切り忘れ警告装置を内蔵した自動演奏機能付の電
子楽器の全体構成を示すブロック図である。マイクロプ
ロセッサユニット(CPU)21はこの電子楽器全体の
動作を制御するものである。このCPU21に対して、
データ及びアドレスバス2Mを介して各種のデバイスが
接続される。CPU21はROM22及びRAM23内
の各種プログラムや各種データ、及び外部記憶装置から
取り込まれた楽音制御情報(MIDIデータ)に基づい
て全体の動作を制御する。この実施の形態では、外部記
憶装置として、フロッピーディスクドライブ24、ハー
ドディスクドライブ25、CD−ROMドライブ26な
どを例に説明するが、これ以外の光磁気ディスク(M
O)ドライブ、PDドライブなどを用いてもよい。ま
た、通信インターフェイス27を介して通信ネットワー
ク28上のサーバコンピュータ29などから楽音制御情
報などの各種情報などを取り込んでもよいし、MIDI
インターフェイス2Aを介して他のMIDI機器2Bな
どからMIDIデータなどを取り込んでもよい。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. FIG. 2 is a block diagram showing the overall configuration of an electronic musical instrument with an automatic performance function incorporating the power-off warning device according to the present invention. A microprocessor unit (CPU) 21 controls the operation of the electronic musical instrument as a whole. For this CPU 21,
Various devices are connected via the data and address bus 2M. The CPU 21 controls the entire operation based on various programs and various data in the ROM 22 and the RAM 23, and musical tone control information (MIDI data) fetched from an external storage device. In this embodiment, a floppy disk drive 24, a hard disk drive 25, a CD-ROM drive 26, etc. will be described as an example of the external storage device.
O) A drive, a PD drive, or the like may be used. Also, various information such as tone control information may be fetched from a server computer 29 or the like on the communication network 28 via the communication interface 27, or MIDI.
MIDI data or the like may be fetched from another MIDI device 2B or the like via the interface 2A.

【0012】CPU21は、このような外部記憶装置か
ら取り込まれたMIDIデータや鍵盤2Cの押鍵操作に
基づいて生成したMIDIデータを音源回路2Jに供給
する。なお、外部に接続された音源回路を用いて発音処
理を行うようにしてもよい。ROM22はCPU21の
各種プログラム(システムプログラムや動作プログラム
など)や各種データを格納するものであり、リードオン
リーメモリ(ROM)で構成されている。RAM23
は、CPU21がプログラムを実行する際に発生する各
種データを一時的に記憶するものであり、ランダムアク
セスメモリ(RAM)の所定のアドレス領域がそれぞれ
割り当てられ、バッファ、フラグ、テーブル等として利
用される。
The CPU 21 supplies the MIDI data fetched from the external storage device or the MIDI data generated based on the key pressing operation of the keyboard 2C to the tone generator 2J. Note that the tone generation process may be performed using a sound source circuit connected to the outside. The ROM 22 stores various programs (such as a system program and an operation program) of the CPU 21 and various data, and is configured by a read-only memory (ROM). RAM 23
Is for temporarily storing various data generated when the CPU 21 executes a program, and is assigned a predetermined address area of a random access memory (RAM), and is used as a buffer, a flag, a table, and the like. .

【0013】また、ハードディスク装置25などの外部
記憶装置に前記動作プログラムを記憶するようにしても
よい。また、前記ROM22に動作プログラムを記憶せ
ずに、ハードディスク装置25などの外部記憶装置にこ
れらの動作プログラムを記憶しておき、それをRAM2
3に読み込むことにより、ROM22に動作プログラム
を記憶したときと同様の動作をCPU21に行わせるよ
うにしてもよい。このようにすると、動作プログラムの
追加やバージョンアップ等が容易に行える。着脱自在な
外部記憶媒体の1つとして、CD−ROMを使用しても
よい。このCD−ROMには、自動演奏データやコード
進行データや楽音波形データや映像データなどの各種デ
ータ及び任意の動作プログラムを記憶していてもよい。
CD−ROMに記憶されている動作プログラムや各種デ
ータは、CD−ROMドライブ26によって、読み出さ
れ、ハードディスク装置25に転送記憶させることがで
きる。これにより、動作プログラムの新規のインストー
ルやバージョンアップを容易に行うことができる。
Further, the operation program may be stored in an external storage device such as the hard disk device 25. Also, without storing the operation programs in the ROM 22, these operation programs are stored in an external storage device such as the hard disk device 25, and are stored in the RAM 2.
3, the CPU 21 may perform the same operation as when the operation program is stored in the ROM 22. By doing so, it is possible to easily add an operation program or upgrade the version. A CD-ROM may be used as one of the removable external storage media. The CD-ROM may store various data such as automatic performance data, chord progression data, musical sound waveform data, and video data, and an arbitrary operation program.
The operation programs and various data stored in the CD-ROM can be read out by the CD-ROM drive 26 and transferred to and stored in the hard disk device 25. This makes it possible to easily perform new installation and version upgrade of the operation program.

【0014】なお、通信インターフェイス27をデータ
及びアドレスバス2Mに接続し、この通信インターフェ
イス27を介してLAN(ローカルエリアネットワー
ク)やインターネット、電話回線などの種々の通信ネッ
トワーク28上に接続可能とし、他のサーバコンピュー
タ29との間でデータのやりとりを行うようにしてもよ
い。これにより、ハードディスク装置25内に動作プロ
グラムや各種データが記憶されていないような場合に
は、サーバコンピュータ29からその動作プログラムや
各種データをダウンロードすることができる。この場
合、クライアントとなる楽音生成装置である自動演奏装
置から、通信インターフェイス27及び通信ネットワー
ク28を介してサーバコンピュータ29に動作プログラ
ムや各種データのダウンロードを要求するコマンドを送
信する。サーバコンピュータ29は、このコマンドに応
じて、所定の動作プログラムやデータを、通信ネットワ
ーク28を介して自動演奏装置に送信する。自動演奏装
置では、通信インターフェイス27を介してこれらの動
作プログラムやデータを受信して、ハードディスク装置
25にこれらのプログラムやデータを蓄積する。これに
よって、動作プログラム及び各種データのダウンロード
が完了する。
The communication interface 27 is connected to a data and address bus 2M, and can be connected to various communication networks 28 such as a LAN (local area network), the Internet, and a telephone line via the communication interface 27. May be exchanged with the server computer 29. Thus, when the operation program and various data are not stored in the hard disk device 25, the operation program and various data can be downloaded from the server computer 29. In this case, a command for requesting downloading of an operation program and various data is transmitted from the automatic performance device, which is a musical sound generation device serving as a client, to the server computer 29 via the communication interface 27 and the communication network 28. The server computer 29 transmits predetermined operation programs and data to the automatic performance device via the communication network 28 in response to the command. The automatic performance device receives these operation programs and data via the communication interface 27 and stores these programs and data in the hard disk device 25. Thus, the download of the operation program and various data is completed.

【0015】鍵盤2Cは発音すべき楽音の音高を選択す
るための複数の鍵を備えており、各鍵に対応したキース
イッチを有しており、また必要に応じて押圧力検出装置
等のタッチ検出手段を有している。鍵盤2Cは音楽演奏
のための基本的な操作子であり、これ以外の演奏操作子
でもよいことはいうまでもない。押鍵検出回路2Dは発
生すべき楽音の音高を指定する鍵盤2Cのそれぞれの鍵
に対応して設けられたキースイッチ回路を含むものであ
る。この押鍵検出回路2Dは鍵盤2Cの離鍵状態から押
鍵状態への変化を検出してキーオンイベントを出力し、
押鍵状態から離鍵状態への変化を検出してキーオフイベ
ントを出力すると共にそれぞれのキーオンイベント及び
キーオフイベントに関する鍵の音高を示すノートナンバ
を出力する。押鍵検出回路2Dはこの他にも鍵押し下げ
時の押鍵操作速度や押圧力等を判別してベロシティデー
タやアフタタッチデータを出力する。
The keyboard 2C is provided with a plurality of keys for selecting the pitch of a musical tone to be produced, and has key switches corresponding to the respective keys. It has touch detection means. The keyboard 2C is a basic operator for music performance, and it goes without saying that other keyboard operators may be used. The key press detection circuit 2D includes a key switch circuit provided corresponding to each key of the keyboard 2C for designating the pitch of a musical tone to be generated. The key press detection circuit 2D detects a change in the key 2C from the key release state to the key press state, and outputs a key-on event.
A key-off event is output by detecting a change from a key-depressed state to a key-released state, and a note number indicating a key pitch of each key-on event and key-off event is output. In addition, the key press detection circuit 2D discriminates a key press operation speed, a key press force, and the like when a key is pressed, and outputs velocity data and after touch data.

【0016】スイッチ検出回路2Fは各種スイッチ2E
上の各スイッチ群に対応して設けられており、これらの
各スイッチ群の操作状態に応じたスイッチイベントをデ
ータ及びアドレスバス2Mを介してCPU21に出力す
る。各種スイッチ2Eは、電源スイッチ、自動演奏スタ
ート/ストップスイッチ、一時停止(ポーズ)スイッ
チ、音色、音量、効果等を選択、設定、制御するための
各種のハード的なスイッチ(メカ的スイッチ)を含むも
のである。表示回路2HはCPU21の制御状態、設定
データの内容等の各種の情報をディスプレイ2Gに表示
するものである。ディスプレイ2Gは液晶表示パネル
(LCD)等から構成され、表示回路2Hによってその
表示動作を制御される。
The switch detection circuit 2F includes various switches 2E
It is provided corresponding to each of the above switch groups, and outputs a switch event corresponding to the operation state of each of these switch groups to the CPU 21 via the data and address bus 2M. The various switches 2E include a power switch, an automatic performance start / stop switch, a pause (pause) switch, and various hardware switches (mechanical switches) for selecting, setting, and controlling the tone, volume, effect, and the like. It is a thing. The display circuit 2H displays various information such as the control state of the CPU 21 and the contents of the setting data on the display 2G. The display 2G is composed of a liquid crystal display panel (LCD) or the like, and its display operation is controlled by the display circuit 2H.

【0017】音源回路2Jは、複数のチャンネルで楽音
信号の同時発生が可能であり、CPU21から与えられ
た楽音制御情報(ノートオン、ノートオフ、ベロシテ
ィ、ピッチ、音色番号等のMIDIデータ)を入力し、
これらのデータに基づいた楽音信号を発生する。音源回
路2Jにおいて複数チャンネルで楽音信号を同時に発音
させる構成としては、1つの回路を時分割で使用するこ
とによって複数の発音チャンネルを形成するようなもの
や、1つの発音チャンネルが1つの回路で構成されるよ
うな形式のものであってもよい。また、音源回路2Jに
おける楽音信号発生方式はいかなるものを用いてもよ
い。例えば、発生すべき楽音の音高に対応して変化する
アドレスデータに応じて波形メモリに記憶した楽音波形
サンプル値データを順次読み出すメモリ読み出し方式
(波形メモリ方式)、又は上記アドレスデータを位相角
パラメータデータとして所定の周波数変調演算を実行し
て楽音波形サンプル値データを求めるFM方式、あるい
は上記アドレスデータを位相角パラメータデータとして
所定の振幅変調演算を実行して楽音波形サンプル値デー
タを求めるAM方式等の公知の方式を適宜採用してもよ
い。また、これらの方式以外にも、自然楽器の発音原理
を模したアルゴリズムにより楽音波形を合成する物理モ
デル方式、基本波に複数の高調波を加算することで楽音
波形を合成する高調波合成方式、特定のスペクトル分布
を有するフォルマント波形を用いて楽音波形を合成する
フォルマント合成方式、VCO、VCF及びVCAを用
いたアナログシンセサイザ方式等を採用してもよい。ま
た、専用のハードウェアを用いて音源回路を構成するも
のに限らず、DSPとマイクロプログラムを用いて音源
回路を構成するようにしてもよいし、CPUとソフトウ
ェアのプログラムで音源回路を構成するようにしてもよ
い。
The tone generator 2J can generate tone signals simultaneously on a plurality of channels, and inputs tone control information (MIDI data such as note-on, note-off, velocity, pitch, tone number, etc.) given from the CPU 21. And
A tone signal is generated based on these data. In the tone generator circuit 2J, a tone signal can be simultaneously generated on a plurality of channels by using one circuit in a time-division manner to form a plurality of tone channels, or one tone channel is constituted by one circuit. It may be of the type as described below. Also, any tone signal generation method in the tone generator circuit 2J may be used. For example, a memory reading method (waveform memory method) for sequentially reading out tone waveform sample value data stored in a waveform memory in accordance with address data that changes in accordance with a pitch of a musical tone to be generated, or a phase angle parameter An FM method for executing a predetermined frequency modulation operation as data to obtain tone waveform sample value data, or an AM method for executing a predetermined amplitude modulation operation using the address data as phase angle parameter data to obtain tone waveform sample value data, or the like. May be appropriately adopted. In addition to these methods, a physical model method that synthesizes a musical sound waveform by an algorithm that simulates the sounding principle of a natural musical instrument, a harmonic synthesis method that synthesizes a musical sound waveform by adding a plurality of harmonics to a fundamental wave, A formant synthesis method of synthesizing a musical tone waveform using a formant waveform having a specific spectral distribution, an analog synthesizer method using VCO, VCF, and VCA may be employed. In addition, the tone generator circuit is not limited to the one that uses the dedicated hardware, and the tone generator circuit may be configured using a DSP and a microprogram. Alternatively, the tone generator circuit may be configured using a CPU and a software program. It may be.

【0018】タイマ2Nは時間間隔を計数したり、自動
伴奏のテンポを設定したりするためのテンポクロックパ
ルスや所定の機能を有効に動作させるためのクロックパ
ルスを発生する。この実施の形態では、タイマ2NがC
PU21に対して電源切り忘れ警告装置の動作用のクロ
ックパルスとして1秒間毎にタイマインタラプト信号を
出力する。効果回路2Kは音源回路2Jからの楽音信号
に種々の効果を付与し、効果の付与された楽音信号をサ
ウンドシステム2Lに出力する。効果回路2Kによって
効果の付与された楽音信号は、アンプ及びスピーカから
なるサウンドシステム2Lを介して発音される。
The timer 2N generates a tempo clock pulse for counting a time interval, setting a tempo of automatic accompaniment, and a clock pulse for effectively operating a predetermined function. In this embodiment, the timer 2N is set to C
A timer interrupt signal is output to the PU 21 every second as a clock pulse for operating the power-off warning device. The effect circuit 2K gives various effects to the tone signal from the tone generator 2J, and outputs the tone signal with the effect to the sound system 2L. The tone signal to which the effect is given by the effect circuit 2K is generated through a sound system 2L including an amplifier and a speaker.

【0019】次に、鍵盤2Cの鍵や各種スイッチ2Eの
中で電源スイッチ以外のスイッチが操作された場合にそ
のイベントに対応して行われる鍵盤・スイッチ(電源以
外)処理の一例を図3のフローチャートを用いて説明す
る。鍵盤2Cの鍵や各種スイッチ2Eの中で電源スイッ
チ以外のスイッチが操作されると、その操作に対応した
イベントが発生するので、そのイベントに対応した機能
を実行する。例えば、キーオンイベントの場合には、そ
れに対応して音を発音したり、キーオフイベントの場合
にはそれに対応した音を消音したり、自動演奏スタート
/ストップスイッチが操作された場合にはそれに応じて
自動演奏処理をスタートしたりストップしたり、一時停
止(ポーズ)スイッチが操作された場合には自動演奏処
理を一時的に停止したり、音色、音量、効果を選択、設
定、制御するための各種のスイッチが操作された場合に
はそれに対応した機能を実行する。そして、鍵盤2Cや
各種スイッチ2Eが操作されていない時間を計時するタ
イマカウンタの値を『0』にクリアする。また、鍵盤2
Cや各種スイッチ2Eが操作されなくなってから今まで
何回警告したかを示す警告回数カウンタの値も『0』に
クリアし、リターンする。これによって、鍵盤2Cや各
種スイッチ2Eが操作される度にタイマカウンタと警告
回数カウンタの値は『0』にクリアされる。
Next, an example of keyboard / switch (other than power supply) processing performed in response to an event when a switch other than the power switch among the keys of the keyboard 2C and the various switches 2E is operated is shown in FIG. This will be described with reference to a flowchart. When a switch other than the power switch among the keys of the keyboard 2C and the various switches 2E is operated, an event corresponding to the operation occurs, and a function corresponding to the event is executed. For example, in the case of a key-on event, a sound is generated correspondingly, in the case of a key-off event, the corresponding sound is muted, or when an automatic performance start / stop switch is operated, the corresponding sound is generated. Starts and stops the automatic performance processing, temporarily stops the automatic performance processing when the pause (pause) switch is operated, and selects, sets, and controls the tone, volume, and effect. When the switch is operated, the corresponding function is executed. Then, the value of the timer counter that measures the time during which the keyboard 2C and various switches 2E are not operated is cleared to “0”. In addition, keyboard 2
The value of the number-of-warnings counter indicating how many times the warning has been issued since the C and various switches 2E are no longer operated is also cleared to "0", and the routine returns. As a result, each time the keyboard 2C or various switches 2E are operated, the values of the timer counter and the warning counter are cleared to "0".

【0020】図4はタイマ2Nからの動作クロック(周
期約1秒)に同期して実行されるタイマ割り込み処理の
一例を示す図である。このタイマ割り込み処理では、ま
ずステップ41で所定時間を計時するためのタイムカウ
ンタ値をインクリメントする。そして、ステップ42及
びステップ43で警告回数カウンタの値を判定し、その
判定結果に応じた処理にそれぞれ分岐する。警告回数カ
ウンタ値が“0”の場合にはステップ44に進み、
“1”の場合はステップ49に進み、“1”よりも大き
い値の場合はステップ4Fに進む。ステップ44では、
タイマカウンタ値が所定値T1に等しいかどうかを判定
し、等しい場合にはステップ45〜ステップ48の処理
を行い、タイマカウンタ値が所定値T1よりも小さい場
合にはリターンする。ステップ45では、音量を現在の
設定音量よりも所定音量値VOL1だけ大きい値に設定
する。ステップ46では、警告メロディの第1区間のメ
ロディパートの再生だけを開始する。この再生開始によ
って、図5の警告演奏処理が実行され、警告メロディが
発生するようになる。ステップ47でタイマカウンタ値
を『0』にクリアする。そして、ステップ48で警告回
数カウンタ値をインクリメントする。すなわち、この時
点で警告回数カウンタ値は“1”になる。
FIG. 4 is a diagram showing an example of a timer interrupt process executed in synchronization with the operation clock (period of about 1 second) from the timer 2N. In this timer interrupt processing, first, at step 41, a time counter value for measuring a predetermined time is incremented. Then, in steps 42 and 43, the value of the number-of-warnings counter is determined, and the process branches to processing according to the determination result. If the number-of-warnings counter value is "0", the process proceeds to step 44,
If the value is "1", the process proceeds to step 49, and if the value is larger than "1", the process proceeds to step 4F. In step 44,
It is determined whether or not the timer counter value is equal to the predetermined value T1. If the timer counter value is equal, the processing of steps 45 to 48 is performed. If the timer counter value is smaller than the predetermined value T1, the process returns. In step 45, the volume is set to a value that is higher than the current set volume by a predetermined volume value VOL1. In step 46, only the reproduction of the melody part in the first section of the warning melody is started. By the start of the reproduction, the warning performance processing of FIG. 5 is executed, and a warning melody is generated. At step 47, the timer counter value is cleared to "0". Then, in step 48, the value of the number-of-warnings counter is incremented. That is, at this point, the warning counter value becomes "1".

【0021】ステップ49〜ステップ4Eの処理は、警
告回数カウンタ値が“1”の場合に行われる処理であ
る。すなわち、前述のステップ45〜ステップ48の処
理が行われて、警告メロディが発生した後において、電
源スイッチがオフされることなく、かつ鍵盤や電源スイ
ッチ以外のスイッチが操作されなかった場合に行われる
ものである。まず、ステップ49ではタイマカウンタ値
が所定値T2に等しいかどうかを判定し、等しい場合に
はステップ4A〜ステップ4Eの処理を行い、タイマカ
ウンタ値が所定値T2よりも小さい場合にはリターンす
る。ここで、所定値T2はステップ44の判定で使用さ
れる所定値T1よりも小さな値である。これによって、
前回の警告メロディの発音を開始した時間よりも短い時
間で警告メロディが発生するようになる。ステップ4A
では、音量を現在の設定音量よりも所定音量値VOL2
だけ大きい値に設定する。ここで、所定音量値VOL2
はステップ45の所定音量値VOL1よりも大きい値で
ある。これによって、前回の警告メロディの音量に操作
者が気付かなかった場合でも、今回は大きな音量で警告
メロディが発生するようになるので、操作者に電源の切
り忘れを確実に認識させることが可能となる。ステップ
4Bでは、警告演奏のテンポを現在の設定テンポ値より
も所定テンポ値TP1だけ速い値に設定する。警告メロ
ディのテンポが前回のものよりも速くなることによっ
て、操作者への注意をより確実に喚起することができ
る。ステップ4Cでは、警告メロディの第1及び第2区
間のメロディパート及びリズムパートの2パート分の再
生を開始する。このように前回は警告メロディの発生よ
りも長い区間に渡り、メロディパートとリズムパートの
音を発生することによって、より確実に電源の切り忘れ
を認識させることができる。この再生開始によって、図
5の警告演奏処理が実行される。ステップ4Dでは、タ
イマカウンタ値を『0』にクリアする。そして、ステッ
プ4Eで警告回数カウンタ値をインクリメントする。す
なわち、この時点で警告回数カウンタ値は“2”にな
る。
Steps 49 to 4E are performed when the number-of-warnings counter value is "1". That is, after the processing of steps 45 to 48 described above is performed and the warning melody is generated, the processing is performed when the power switch is not turned off and no switches other than the keyboard and the power switch are operated. Things. First, in step 49, it is determined whether or not the timer counter value is equal to the predetermined value T2. If the timer counter value is equal, the processing of steps 4A to 4E is performed. If the timer counter value is smaller than the predetermined value T2, the process returns. Here, the predetermined value T2 is a value smaller than the predetermined value T1 used in the determination of step 44. by this,
The warning melody is generated in a shorter time than the time when the sounding of the previous warning melody was started. Step 4A
Then, the volume is set to a predetermined volume value VOL2 higher than the current set volume.
And set it to a larger value. Here, the predetermined volume value VOL2
Is a value larger than the predetermined volume value VOL1 of step 45. Thus, even if the operator does not notice the volume of the previous warning melody, a warning melody is generated at a large volume this time, so that the operator can be surely recognized to forget to turn off the power. . In step 4B, the tempo of the warning performance is set to a value faster by a predetermined tempo value TP1 than the current set tempo value. When the tempo of the warning melody is faster than that of the previous melody, attention to the operator can be more surely called. In step 4C, reproduction of two parts of the melody part and the rhythm part in the first and second sections of the warning melody is started. As described above, the sounds of the melody part and the rhythm part are generated over a section longer than the generation of the warning melody in the previous time, so that it is possible to more reliably recognize that the power has been forgotten to be turned off. By starting the reproduction, the warning performance processing of FIG. 5 is executed. In step 4D, the timer counter value is cleared to "0". Then, in step 4E, the number-of-warnings counter value is incremented. That is, at this time, the warning number counter value becomes “2”.

【0022】ステップ4F〜ステップ4Kの処理は、警
告回数カウンタ値が“2”以上の場合に行われる処理で
ある。すわなち、前述のステップ4A〜ステップ4Eの
処理が行われて、鍵盤やスイッチ類が操作されなかった
場合に行われるものである。まず、ステップ4Fではタ
イマカウンタ値が所定値T3に等しいかどうかを判定
し、等しい場合にはステップ4G〜ステップ4Kの処理
を行い、タイマカウンタ値が所定値T3よりも小さい場
合にはリターンする。ここで、所定値T3はステップ4
9の判定で使用される所定値T2よりも小さな値であ
る。これによって、前回の警告メロディの発音開始時間
よりも短い周期で警告メロディが発生するようになる。
ステップ4Gでは、音量を設定可能な音量の最大値Vm
axに設定する。ステップ4Hでは、警告演奏のテンポ
を現在の設定テンポ値よりも所定テンポ値TP2だけテ
ンポが早くなるような値に設定する。ここで、所定テン
ポ値TP2はステップ4Bで使用される所定テンポ値T
P1よりもテンポを速くする値である。ステップ4Jで
は、警告メロディの全区間に渡って、メロディパート、
リズムパート及びコード・ベースパートの全てのパート
の再生を開始する。このように、テンポも速く音量も最
大で演奏区間も長く、全演奏パートの警告メロディが発
生するので、確実に操作者に電源の切り忘れを認識させ
ることができる。この再生開始によって、図5の警告演
奏処理が実行される。ステップ4Kでは、タイマカウン
タ値を『0』にクリアする。なお、ここではステップ4
8やステップ4Eのような警告回数カウンタ値のインク
リメントを行わないが、行ってもよいことはいうまでも
ない。
The processes of steps 4F to 4K are performed when the number-of-warnings counter value is "2" or more. That is, the processing in steps 4A to 4E described above is performed, and the processing is performed when a keyboard or switches are not operated. First, in step 4F, it is determined whether or not the timer counter value is equal to a predetermined value T3. If the timer counter value is equal, steps 4G to 4K are performed. If the timer counter value is smaller than the predetermined value T3, the process returns. Here, the predetermined value T3 is set in step 4
The value is smaller than the predetermined value T2 used in the determination of No. 9. As a result, the warning melody is generated in a cycle shorter than the sounding start time of the previous warning melody.
In step 4G, the maximum value Vm of the volume that can be set
Set to ax. In step 4H, the tempo of the warning performance is set to a value such that the tempo is faster by a predetermined tempo value TP2 than the current set tempo value. Here, the predetermined tempo value TP2 is the predetermined tempo value T used in step 4B.
This is a value that makes the tempo faster than P1. In step 4J, the melody part,
Start playback of all parts of the rhythm part and the chord base part. In this way, the tempo is fast, the volume is maximum, the performance section is long, and the warning melody is generated for all the performance parts, so that the operator can be surely recognized to forget to turn off the power. By starting the reproduction, the warning performance processing of FIG. 5 is executed. In step 4K, the timer counter value is cleared to "0". Here, step 4
Although the increment of the number-of-warnings counter value as in step 8 and step 4E is not performed, it goes without saying that it may be performed.

【0023】図5は図4のステップ46、ステップ4C
又はステップ4Jの処理によって、警告演奏開始イベン
トが発生した場合に実行される警告演奏処理の一例を示
す図である。この警告演奏処理では、ステップ51で指
定された演奏パート、演奏区間の自動演奏データの再生
を行う。すなわち、ステップ46の警告演奏開始イベン
トの場合はメロディパートについて第1区間の自動演奏
データについてだけ再生する。ステップ4Cの場合はメ
ロディパート及びリズムパートの2パートについて第1
及び第2区間の自動演奏データについてだけ再生する。
ステップ4Jの場合は全パートについて全区間に渡る自
動演奏データについて再生する。ステップ52では、所
定の自動演奏データの再生が終了したかどうかを判定
し、再生処理が終了するまでステップ51の自動演奏デ
ータの再生処理を行い、再生処理が終了した場合にはス
テップ53で音量を元の設定値に戻し、ステップ54で
テンポを元の設定値に戻す。すなわち、図4の各ステッ
プで設定された音量やテンポの値を元の設定値に戻す処
理を行う。これによって、警告演奏が終了した時点で引
き続き電子楽器等を操作する場合に前回の設定値を有効
に引き継ぐことができる。
FIG. 5 shows steps 46 and 4C of FIG.
FIG. 11 is a diagram illustrating an example of a warning performance process executed when a warning performance start event occurs by the process of step 4J. In this warning performance processing, the automatic performance data of the performance part and performance section designated in step 51 is reproduced. That is, in the case of the warning performance start event in step 46, the melody part is reproduced only for the automatic performance data in the first section. In the case of step 4C, the first of two parts, the melody part and the rhythm part
And only the automatic performance data of the second section is reproduced.
In the case of step 4J, the automatic performance data for all the parts is reproduced for all the sections. In step 52, it is determined whether or not the reproduction of the predetermined automatic performance data has been completed. The reproduction processing of the automatic performance data in step 51 is performed until the reproduction processing is completed. Is returned to the original set value, and in step 54, the tempo is returned to the original set value. That is, a process of returning the values of the volume and the tempo set in each step of FIG. 4 to the original set values is performed. As a result, when the electronic musical instrument or the like is to be operated continuously after the end of the warning performance, the previous set value can be effectively taken over.

【0024】次に、この実施の形態に係る電源切り忘れ
警告装置の動作を図1の概念図を用いて説明する。図1
において、横軸は時間を示し、左端の付近では鍵盤2C
上の鍵や各種スイッチ2Eが操作されている様子を矢印
で示す。図では、4種類のキーイベント又はスイッチイ
ベントが発生している。そして、最後のイベントが発生
してから何らイベントが発生しない場合を示している。
まず、最後のイベントの時点で、タイマカウンタ値及び
警告回数カウンタ値は“0”にクリアされるので、時間
の経過と共に、図4のタイマ割り込み処理のステップ4
1によってタイマカウント値がインクリメントされる。
このとき、警告回数カウンタ値は“0”なので、ステッ
プ42を経由してステップ44の判定が行われる。この
時点ではステップ44の判定結果はNOなので、ステッ
プ41、ステップ42及びステップ44の処理が繰り返
し実行される。そして、タイマカウンタ値が所定値T1
になった時点でステップ45及びステップ46の処理に
よって、図1に示すように警告演奏の第1区間のメロデ
ィパートだけについて音量少し大きめの音で普通のテン
ポで再生処理が行われる。そして、ステップ47及びス
テップ48でタイマカウンタ値が“0”にクリアされ、
警告カウンタ値は“1”に設定される。
Next, the operation of the power-off warning device according to this embodiment will be described with reference to the conceptual diagram of FIG. FIG.
, The horizontal axis indicates time, and the keyboard 2C near the left end
The operation of the upper key and various switches 2E is indicated by arrows. In the figure, four types of key events or switch events have occurred. Then, a case is shown in which no event has occurred since the last event occurred.
First, at the time of the last event, the timer counter value and the number-of-warnings counter value are cleared to "0".
The timer count value is incremented by one.
At this time, since the number-of-warnings counter value is “0”, the determination in step 44 is performed via step 42. At this time, since the determination result of step 44 is NO, the processing of step 41, step 42, and step 44 is repeatedly executed. Then, the timer counter value becomes a predetermined value T1.
At this point, by the processing of steps 45 and 46, as shown in FIG. 1, only the melody part of the first section of the warning performance is reproduced at a normal tempo with a slightly higher volume sound. Then, in steps 47 and 48, the timer counter value is cleared to "0",
The warning counter value is set to "1".

【0025】そして、今度はタイマカウンタ値が所定値
T2になるまで、ステップ41〜ステップ43及びステ
ップ49の処理が繰り返し実行される。そして、タイマ
カウンタ値が所定値T2になった時点でステップ4A、
ステップ4B及びステップ4Cの処理によって、図1に
示すように警告演奏の第1及び第2区間のメロディパー
ト及びリズムパートについて音量がかなり大きめでテン
ポも少し速めの再生処理が行われる。そして、ステップ
4D及びステップ4Eでタイマカウンタ値が“0”にク
リアされ、警告カウンタ値は“2”に設定される。そし
て、今度はタイマカウンタ値が所定値T3になるまで、
ステップ41〜ステップ43及びステップ4Fの処理が
繰り返し実行される。そして、タイマカウンタ値が所定
値T3になった時点でステップ4G及びステップ4Hの
処理によって、図1に示すように警告演奏の全区間(第
1、第2及び第3区間)の全パート(メロディパート、
リズムパート及びコード・ベースパート)について最大
音量でテンポもかなり速めの再生処理が行われる。そし
て、ステップ4Kでタイマカウンタ値が“0”にクリア
される。そして、これ以降はタイマタウンタ値が所定値
T3になった時点で警告演奏を全区間、全パートについ
て繰り返し再生するようになる。これによって、操作者
に電源スイッチがオフになっていないことを確実に知ら
せることができる。
Then, the processes of steps 41 to 43 and step 49 are repeatedly executed until the timer counter value reaches the predetermined value T2. Then, when the timer counter value reaches the predetermined value T2, step 4A,
By the processing of steps 4B and 4C, as shown in FIG. 1, the melody part and the rhythm part of the first and second sections of the warning performance are reproduced with a considerably high volume and a slightly high tempo. Then, in steps 4D and 4E, the timer counter value is cleared to "0", and the warning counter value is set to "2". Then, until the timer counter value reaches the predetermined value T3,
Steps 41 to 43 and step 4F are repeatedly executed. Then, when the timer counter value reaches the predetermined value T3, the processing of steps 4G and 4H causes all parts (melody) of all sections (first, second and third sections) of the warning performance as shown in FIG. part,
For the rhythm part and the chord base part), the reproduction process is performed at the maximum volume and at a considerably higher tempo. Then, in step 4K, the timer counter value is cleared to "0". Thereafter, when the timer value reaches the predetermined value T3, the warning performance is repeated for all sections and all parts. Thus, it is possible to reliably notify the operator that the power switch is not turned off.

【0026】なお、上述の実施の形態では、警告音楽と
して自動演奏データを再生する場合について説明した
が、音楽の波形データ自体を記憶しておき、それを再生
するようにしてもよい。また、警告音楽をデモンストレ
ーションや演奏練習等に用いるデータ等と共用してもよ
よい。上述の実施の形態では、音量、テンポ、演奏パー
ト数、演奏区間数、演奏時間間隔が繰り返し毎に変化す
る場合を例に説明したが、これらが全て同時に変化する
ものに限らず、いずれか1又は任意の複数の組み合わせ
が変化するものであってもよい。また、繰り返し毎に警
告音楽の曲が変化するようにしてもよい。また、警告音
楽に代えて音声を発音させてもよい。また、警告音楽と
音声とを適宜組み合わせてもよい。
In the above-described embodiment, the case where the automatic performance data is reproduced as the warning music has been described. However, the waveform data of the music itself may be stored and reproduced. Further, the warning music may be shared with data used for demonstration, performance practice, and the like. In the above-described embodiment, the case where the volume, the tempo, the number of performance parts, the number of performance sections, and the performance time interval change at each repetition has been described as an example. Alternatively, any combination may be changed. Also, the tune of the warning music may be changed each time it is repeated. Further, a sound may be generated instead of the warning music. Further, the warning music and the voice may be appropriately combined.

【0027】上述の実施の形態では、電子楽器を例に説
明したが、これに限らず、カラオケ装置(例えばハンデ
ィタイプのもの)など、その他適宜の電気又は電子機器
にも適用可能である。また、パソコンとアプリケーショ
ンソフトウェアとの組み合わせによって構成される電子
楽器などにも適用できる。このアプリケーションソフト
ウェアは磁気ディスク、光ディスク、半導体メモリ等の
記憶媒体に記憶させ、パソコンに供給するようにしても
よいし、ネットワークを介して供給するようにしてもよ
い。また、この発明に係るプログラムを記憶した記憶媒
体は、取外し可能なものに限らず、所要の電気又は電子
機器内に組み込まれたものであってもよい。なお、電子
楽器の場合でも、実施の形態のような鍵盤楽器に限ら
ず、弦楽器タイプ、管楽器タイプ、打楽器タイプ等の形
態でもよい。また、音源装置、自動演奏装置等を内蔵し
た電子楽器に限らず、それぞれが別々の装置で構成さ
れ、MIDIや各種ネットワーク等の通信手段を用いて
各装置を接続するものであってもよい。また、自動演奏
ピアノに適用してもよいことはいうまでもない。上述の
実施の形態では、演奏データのフォーマットなどについ
ては言及していないが、演奏データのフォーマットは、
演奏イベントの発生時刻を1つ前のイベントからの時間
で表した『イベント+相対時間(デルタタイム)』、演
奏イベントの発生時刻を曲や小節内における絶対時間で
表した『イベント+絶対時間』、音符の音高と符長ある
いは休符と休符長で演奏データを表した『音高(休符)
+符長』、又は演奏の最小分解能毎にメモリの領域を確
保し、演奏イベントの発生する時刻に対応するメモリ領
域に演奏イベントを記憶したいわゆる『ベタ方式』等、
いかなる形式で構成してもよいことはいうまでもない。
In the above-described embodiment, an electronic musical instrument has been described as an example. However, the present invention is not limited to this, and can be applied to other appropriate electric or electronic equipment such as a karaoke apparatus (for example, a handy type). Further, the present invention can also be applied to an electronic musical instrument configured by a combination of a personal computer and application software. This application software may be stored in a storage medium such as a magnetic disk, an optical disk, or a semiconductor memory and supplied to a personal computer, or may be supplied via a network. Further, the storage medium storing the program according to the present invention is not limited to a removable medium, but may be a built-in one in required electric or electronic equipment. In the case of an electronic musical instrument, the present invention is not limited to the keyboard instrument as in the embodiment, but may be a stringed instrument type, a wind instrument type, a percussion instrument type, or the like. Further, the present invention is not limited to an electronic musical instrument having a built-in sound source device, automatic performance device, and the like, but may be configured as separate devices and connected to each other using communication means such as MIDI or various networks. It goes without saying that the present invention may be applied to an automatic performance piano. In the above embodiment, the performance data format and the like are not mentioned, but the performance data format is
"Event + relative time (delta time)", which represents the performance event occurrence time as the time from the previous event, "event + absolute time", which represents the performance event occurrence time as the absolute time in a song or bar , "Pitch (rest)", which represents performance data in note pitch and note length or rest and rest length
+ Note length "or a so-called" solid system "in which a memory area is secured for each minimum resolution of performance and the performance event is stored in a memory area corresponding to the time when the performance event occurs.
It goes without saying that it may be configured in any form.

【0028】自動演奏のテンポを制御する方法として
は、処理の周期(すなわちテンポクロックの周期)を変
更するものや、テンポクロックの周期はそのままでデル
タタイムなどのようなタイミングデータの値を修正する
ものや、1回の処理においてタイミングデータをカウン
トする値を変更するものなど、種々の方法を用いてもよ
いことはいうまでもない。また、自動演奏データは、複
数のチャンネルのデータが混在した形式であってもよい
し、各チャンネルのデータがトラック毎に分かれている
ような形式であってもよい。
As a method of controlling the tempo of the automatic performance, a method of changing a processing cycle (namely, a cycle of a tempo clock) or a method of correcting a timing data value such as a delta time while keeping the tempo clock cycle unchanged. It goes without saying that various methods may be used, such as a method for changing the value for counting the timing data in one process. The automatic performance data may have a format in which data of a plurality of channels are mixed, or may have a format in which data of each channel is divided for each track.

【0029】[0029]

【発明の効果】以上の通り、この発明によれば、スイッ
チ等の操作子が所定時間以上操作されなかった時に、所
定の警告音楽を自動的に発生することにより、電源スイ
ッチの切り忘れを操作者に確実に認識させることができ
る、という優れた効果を奏する。また、電源スイッチの
切り忘れ状態の時間的経過に応じて警告音楽の発生態様
を異ならせることにより、より一層、電源スイッチの切
り忘れを操作者に確実に認識させることができるように
なる、という優れた効果を奏する。
As described above, according to the present invention, when an operator such as a switch is not operated for a predetermined time or more, a predetermined warning music is automatically generated, so that the operator can forget to turn off the power switch. An excellent effect of being able to be surely recognized. In addition, by making the generation mode of the warning music different according to the time lapse of the power switch forgotten state, the operator can more reliably recognize the power switch forgotten state. It works.

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

【図1】 この発明に係る電源切り忘れ警告装置及び方
法に従う処理の動作例を示す図。
FIG. 1 is a diagram showing an operation example of processing according to a power-off forgetting warning device and method according to the present invention.

【図2】 この発明に係る電源切り忘れ警告装置又は記
憶媒体を内蔵した自動演奏機能付の電子楽器の全体構成
の一例を示すブロック図。
FIG. 2 is a block diagram showing an example of the entire configuration of an electronic musical instrument with an automatic performance function incorporating a power-off warning device or a storage medium according to the present invention.

【図3】 鍵盤の鍵や各種スイッチの中で電源スイッチ
以外のスイッチが操作された場合にそのイベントに対応
して行われる鍵盤・スイッチ(電源以外)処理の一例を
示すフローチャート図。
FIG. 3 is a flowchart illustrating an example of keyboard / switch (other than power) processing performed in response to an event when a switch other than a power switch is operated among keys of a keyboard and various switches other than a power switch.

【図4】 タイマ2Nからの動作クロック(周期約1
秒)に同期して実行されるタイマ割り込み処理の一例を
示すフローチャート図。
FIG. 4 shows an operation clock (period approximately 1) from a timer 2N.
FIG. 9 is a flowchart illustrating an example of a timer interrupt process executed in synchronization with (second).

【図5】 電源切り忘れ時に実行される警告演奏処理の
一例を示すフローチャート図。
FIG. 5 is a flowchart showing an example of a warning performance process executed when the power is turned off.

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

21…CPU、22…ROM、23…RAM、24…F
DD、25…HDD、26…CD−ROM、27…通信
インターフェイス、28…通信ネットワーク、29…サ
ーバコンピュータ、2A…MIDIインターフェイス、
2B…他のMIDI器機、2C…鍵盤、2D…押鍵検出
回路、2E…各種スイッチ、2F…スイッチ検出回路、
2G…ディスプレイ、2H…表示回路、2J…音源回
路、2K…効果回路、2L…サウンドシステム、2M…
データ及びアドレスバス、2N…タイマ。
21 CPU, 22 ROM, 23 RAM, 24 F
DD, 25 HDD, 26 CD-ROM, 27 communication interface, 28 communication network, 29 server computer, 2A MIDI interface,
2B: other MIDI equipment, 2C: keyboard, 2D: key press detection circuit, 2E: various switches, 2F: switch detection circuit,
2G display, 2H display circuit, 2J sound source circuit, 2K effect circuit, 2L sound system, 2M
Data and address bus, 2N ... timer.

フロントページの続き (72)発明者 水野 成彦 静岡県浜松市中沢町10番1号 ヤマハ株式 会社内Continued on the front page (72) Inventor Shizuhiko Mizuno 10-1 Nakazawacho, Hamamatsu-shi, Shizuoka Yamaha Corporation

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 スイッチ等の操作が所定時間以上無いこ
とを検出し、その検出に応じて電源切り忘れ警告のため
の音楽を発生することを特徴とする電源切り忘れ警告装
置。
1. A power failure warning device which detects that no operation of a switch or the like has been performed for a predetermined time or more, and generates music for power failure warning in response to the detection.
【請求項2】 前記電源切り忘れ警告のための音楽を発
生した後にさらに前記スイッチ等の操作が所定時間以上
無いことを検出した場合には、前回の音楽とは異なる態
様の音楽を発生することを特徴とする請求項1に記載の
電源切り忘れ警告装置。
2. If it is detected that the operation of the switch or the like has not been performed for a predetermined time or more after generating the music for warning of turning off the power, a music having a mode different from the previous music is generated. The warning device for forgetting to power off according to claim 1.
【請求項3】 前記音楽の演奏パート数、演奏時間、音
量及びテンポの少なくとも1つを異ならせることによっ
て、異なる態様の音楽を発生する請求項2に記載の電源
切り忘れ警告装置。
3. The power-off warning device according to claim 2, wherein different types of music are generated by changing at least one of the number of played parts, the playing time, the volume, and the tempo of the music.
【請求項4】 前記電源切り忘れ警告のための音楽を発
生した後にさらに前記スイッチ等の操作が前記所定時間
よりも短い所定時間の間に無いことを検出した場合に、
電源切り忘れ警告のための音楽を再び発生することを特
徴とする請求項1乃至3のいずれかに記載の電源切り忘
れ警告装置。
4. When it is detected that no operation of the switch or the like has been performed for a predetermined time shorter than the predetermined time after generating music for warning of turning off the power,
The power-off warning device according to any one of claims 1 to 3, wherein music for power-off warning is generated again.
【請求項5】 前記電源切り忘れ警告のための音楽を発
生する際に、その警告音楽発生前の所定パラメータの設
定状態とは異なる設定状態にて該警告音楽を発生させ、
その警告音楽発生終了に応じて前記警告音楽発生前の所
定パラメータの設定状態に戻すことを特徴とする請求項
1に記載の電源切り忘れ警告装置。
5. When generating music for warning to forget to turn off the power, generating the warning music in a setting state different from a setting state of a predetermined parameter before the generation of the warning music;
2. The power-on-forgetting warning device according to claim 1, wherein the setting of the predetermined parameter before the generation of the warning music is restored in response to the end of the generation of the warning music.
【請求項6】 スイッチ等の操作手段を具備する電気又
は電子機器において電源切り忘れを警告するための方法
であって、 前記スイッチ等の操作が所定時間以上無いことを検出す
るステップと、 その検出に応じて電源切り忘れ警告のための音楽を発生
するステップとを具えた方法。
6. A method for warning of forgetting to turn off a power supply in an electric or electronic device provided with an operation means such as a switch, comprising: a step of detecting that the operation of the switch or the like has not been performed for a predetermined time or more; Generating music for a power-off warning in response.
【請求項7】 前記電源切り忘れ警告のための音楽を発
生した後にさらに前記スイッチ等の操作が所定時間以上
無いことを検出した場合には、前回の音楽とは異なる態
様の音楽を発生するステップを更に具えた請求項6に記
載の方法。
7. If it is detected that the switch or the like has not been operated for a predetermined time or more after the music for warning of turning off the power is generated, a step of generating music in a mode different from the previous music is performed. The method of claim 6, further comprising:
【請求項8】 スイッチ等の操作手段を具備する電気又
は電子機器において電源切り忘れを警告するための処理
のプログラムを記憶してなる機械読み取り可能な記憶媒
体であって、このプログラムは、 前記スイッチ等の操作が所定時間以上無いことを検出す
るための処理を行う手順と、 その検出に応じて電源切り忘れ警告のための音楽を発生
するための処理を行う手順とを具えていることを特徴と
する記憶媒体。
8. A machine-readable storage medium storing a processing program for warning that the user has forgotten to turn off the power in an electric or electronic device having an operation means such as a switch. Characterized by comprising a procedure for performing a process for detecting that the user has not performed the operation for a predetermined time or more, and a procedure for performing a process for generating music for warning to forget to turn off the power in accordance with the detection. Storage medium.
【請求項9】 前記プログラムは、前記電源切り忘れ警
告のための音楽を発生した後にさらに前記スイッチ等の
操作が所定時間以上無いことを検出した場合には、前回
の音楽とは異なる態様の音楽を発生する手順を更に具え
ている請求項8に記載の記憶媒体。
9. The program according to claim 1, further comprising: generating a music for warning of turning off the power, further detecting that the operation of the switch or the like has not been performed for a predetermined time or more, and playing music having a mode different from the previous music. 9. The storage medium of claim 8, further comprising the step of generating.
JP01498398A 1997-01-09 1998-01-09 Power-off warning device and method, and storage medium Expired - Lifetime JP3358524B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01498398A JP3358524B2 (en) 1997-01-09 1998-01-09 Power-off warning device and method, and storage medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP1335797 1997-01-09
JP9-13357 1997-01-09
JP01498398A JP3358524B2 (en) 1997-01-09 1998-01-09 Power-off warning device and method, and storage medium

Publications (2)

Publication Number Publication Date
JPH10254438A true JPH10254438A (en) 1998-09-25
JP3358524B2 JP3358524B2 (en) 2002-12-24

Family

ID=26349138

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01498398A Expired - Lifetime JP3358524B2 (en) 1997-01-09 1998-01-09 Power-off warning device and method, and storage medium

Country Status (1)

Country Link
JP (1) JP3358524B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014145686A (en) * 2013-01-29 2014-08-14 Kyocera Corp Power margin determination device, power margin notification system, and power margin notification method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014145686A (en) * 2013-01-29 2014-08-14 Kyocera Corp Power margin determination device, power margin notification system, and power margin notification method

Also Published As

Publication number Publication date
JP3358524B2 (en) 2002-12-24

Similar Documents

Publication Publication Date Title
JP2002023747A (en) Automatic musical composition method and device therefor and recording medium
JP3707300B2 (en) Expansion board for musical sound generator
JP3533972B2 (en) Electronic musical instrument setting control device
JP3212872B2 (en) Electronic musical instrument
US10805475B2 (en) Resonance sound signal generation device, resonance sound signal generation method, non-transitory computer readable medium storing resonance sound signal generation program and electronic musical apparatus
US6169243B1 (en) Automatic performance apparatus with quick start by accelerated loading of setting data
JP3358524B2 (en) Power-off warning device and method, and storage medium
JP3293521B2 (en) Sounding timing control device
JP3632536B2 (en) Part selection device
JP3536709B2 (en) Additional sound generator
JP3397071B2 (en) Automatic performance device
JPH0566776A (en) Automatic orchestration device
JP3933070B2 (en) Arpeggio generator and program
JP3580077B2 (en) Electronic musical instrument
JPH0542475Y2 (en)
JP3394688B2 (en) Automatic performance device and electronic musical instrument provided with the automatic performance device
US6548748B2 (en) Electronic musical instrument with mute control
JPH10198371A (en) Electronic instrument
JPH10171475A (en) Karaoke (accompaniment to recorded music) device
JPH10254444A (en) Displaying device and recording medium in which program or data concerning relevant device are recorded.
JP2004078096A (en) Automatic playing device with display function
JP3649117B2 (en) Musical sound reproducing apparatus and method, and storage medium
JPH1097250A (en) Musical tone generator
JPH0772869A (en) Tuning support system of electronic musical instrument
JPH10282960A (en) Display device and input device for pitch bend data

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071011

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081011

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091011

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101011

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101011

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111011

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111011

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121011

Year of fee payment: 10