JPH10124196A - Memory device of electronic musical instrument - Google Patents

Memory device of electronic musical instrument

Info

Publication number
JPH10124196A
JPH10124196A JP8297875A JP29787596A JPH10124196A JP H10124196 A JPH10124196 A JP H10124196A JP 8297875 A JP8297875 A JP 8297875A JP 29787596 A JP29787596 A JP 29787596A JP H10124196 A JPH10124196 A JP H10124196A
Authority
JP
Japan
Prior art keywords
turned
data
musical instrument
storage means
electronic musical
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
JP8297875A
Other languages
Japanese (ja)
Inventor
Masahiko Masubuchi
昌彦 増淵
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 JP8297875A priority Critical patent/JPH10124196A/en
Publication of JPH10124196A publication Critical patent/JPH10124196A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To unnecessitate the re-setting of parameters, etc., before starting a performance and to obtain an electronic musical instrument being easy to treat, by backing-up the parameters, etc., in a non-volatile memory when a power switch is turned off and writing the parameters in RAM from the non- volatile memory when the power switch is turned on. SOLUTION: When the power switch 11 is turned off, data extended in a prescribed area of RAM 3 before a main power source is turned off is backed-up by a flash ROM 4 and, then, the main power source is turned off. When the power switch 11 is turned on, initialization setting is executed by following the turning-on of the main power source and data stored in the flash ROM 4 is extended in the prescribed area of RAM 3 and, then, the electronic musical instrument becomes a work state. Therefore, it is not required that a player re-sets the parameter before stating the performance and data extended in RAM 3 is writing-processed in the non-volatile memory before the power source is turned off. Then, the electronic musical instrument becomes the one easy to treat.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、電子楽器の電源ス
イッチがオフされる際に、電子楽器のRAM領域に展開
されている演奏データやパターンデータ等のデータを、
無電源でデータが保持可能なメモリ装置に自動的にバッ
クアップ可能な電子楽器のメモリ装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for storing data such as performance data and pattern data developed in a RAM area of an electronic musical instrument when a power switch of the electronic musical instrument is turned off.
The present invention relates to a memory device of an electronic musical instrument that can be automatically backed up to a memory device capable of holding data without power supply.

【0002】[0002]

【従来の技術】演奏データのバックアップ機能を有さな
い従来の電子楽器では、演奏を開始する前に演奏者が手
入力によって演奏データやパターンデータ等を設定する
必要があり、取り扱いが面倒であった。
2. Description of the Related Art In a conventional electronic musical instrument having no backup function of performance data, it is necessary for a player to manually set performance data, pattern data, and the like before starting a performance, which is troublesome to handle. Was.

【0003】また、メモリ装置付きの従来の電子楽器に
おいては、電源スイッチをオフする際には演奏者が事前
に手操作によりバックアップメモリに演奏データ等を記
憶させる処置を行い、電源スイッチをオンした際には、
手操作により該バックアップメモリよりデータを読み込
んで所定の領域に展開してから演奏を開始する必要があ
った。
In a conventional electronic musical instrument with a memory device, when a power switch is turned off, a player performs a procedure for storing performance data and the like in a backup memory by hand beforehand, and turns on the power switch. In some cases,
It was necessary to read the data from the backup memory by hand and develop the data in a predetermined area before starting the performance.

【0004】また、かかる従来のメモリ装置付きの電子
楽器に使用されているメモリは、例えばS−RAM等で
あり、電源スイッチがオフされた際に記憶されているデ
ータを保持するためにはバックアップ電源が必要であ
り、バックアップ電源として一次電池または二次電池が
併設されていた。
A memory used in such a conventional electronic musical instrument with a memory device is, for example, an S-RAM or the like, and a backup is required to hold data stored when a power switch is turned off. A power supply was required, and a primary battery or a secondary battery was provided as a backup power supply.

【0005】このため、電源スイッチをオフする際に
は、予め所要のデータをバックアップメモリに記憶させ
るための処置を行い、電源をオンした際にはバックアッ
プメモリのデータをRAMの所定の領域に展開させる
等、演奏者は様々な処置を行う必要があった。
For this reason, when the power switch is turned off, a process for storing necessary data in the backup memory is performed in advance, and when the power is turned on, the data in the backup memory is expanded in a predetermined area of the RAM. For example, the performer needed to take various measures.

【0006】このため、取り扱いが面倒であり、しか
も、バックアップされたデータを保持するためにはバッ
クアップ電源を必要とするため装置が高価になってしま
うという問題点があった。
Therefore, there is a problem that handling is troublesome, and a backup power supply is required to hold the backed up data, so that the apparatus becomes expensive.

【0007】また、長期間放置するとバックアップのた
めの副電池も放電してしまい、バックアップメモリに記
憶されているデータ等がすべて消失してしまうこともあ
った。従って、電子楽器の設計にあたってはバックアッ
プ電源の大きさや交換の容易性等を考慮する必要があ
り、構造上の制約も多く設計がしにくかった。
Further, if the battery is left for a long period of time, the sub-battery for backup is also discharged, and all data and the like stored in the backup memory may be lost. Therefore, when designing an electronic musical instrument, it is necessary to consider the size of the backup power supply, the ease of replacement, and the like, and there are many structural restrictions, making it difficult to design.

【0008】しかも、折角バックアップ機能を有してい
ても、電源スイッチのオフ時に自動的にバックアップを
行う機能を有さない従来の電子楽器では、不用意に電源
をオフしてしまうことにより、折角設定されている演奏
データやパターンデータが消失してしまうというトラブ
ルもあった。
In addition, the conventional electronic musical instrument which does not have a function of automatically backing up when the power switch is turned off, even if it has the angle backup function, turns off the power carelessly. There was also a problem that the set performance data and pattern data were lost.

【0009】このため、再度演奏を開始するにあたって
は、改めて演奏に必要な演奏データやパターンデータ等
を一つ一つ設定する必要があり、取り扱いが面倒なため
改善が求められていた。
Therefore, when the performance is started again, it is necessary to set performance data, pattern data, and the like necessary for the performance anew one by one, and handling is troublesome.

【0010】しかしながら、従来の電子楽器において
は、書込み可能な不揮発性メモリ(例えばフラッシュR
OM)を内蔵し、該メモリからデータを補充する方法は
提案されていなかった。
However, in a conventional electronic musical instrument, a writable nonvolatile memory (for example, a flash ROM) is used.
OM) and a method of supplementing data from the memory has not been proposed.

【0011】[0011]

【発明が解決しようとする課題】本発明は、かかる事情
に鑑みなされたものであり、電源スイッチをオフするた
めに該スイッチが押下されると、バッテリによるバック
アップを必要としない不揮発性メモリに所要のデータが
自動的にバックアップされる。
SUMMARY OF THE INVENTION The present invention has been made in view of such circumstances, and when a power switch is pressed to turn off the power switch, a non-volatile memory which does not require a battery backup is required. Data is automatically backed up.

【0012】また、電源スイッチがオンされると、主電
源が接続された後、初期化処理に引き続いて、前記不揮
発性のバックアップメモリに記憶されているデータがR
AMの所定の領域に自動的に読み込まれて展開される機
能を有する電子楽器のメモリ装置を提供することを課題
とする。
When the power switch is turned on, after the main power is connected, the data stored in the non-volatile backup memory is transferred to the R after the initialization process.
An object of the present invention is to provide a memory device of an electronic musical instrument having a function of being automatically read and developed in a predetermined area of an AM.

【0013】[0013]

【課題を解決するための手段】本発明は、演奏時に演奏
データやパターンデータ等を記憶しておくためのランダ
ムアクセスメモリからなる第1の記憶手段3と、電源ス
イッチ11がオフされる際に、前記第1の記憶手段3に
展開されている演奏データやパターンデータ等の所要の
データが転記されて記憶を保持する第2の記憶手段4
と、電源スイッチ11のオン/オフを検出する検出手段
21と、前記検出手段21が電源スイッチ11のオフさ
れたことを検出すると、第1の記憶手段3に記憶されて
いるデータを第2の記憶手段4に記憶させた後に、電源
制御部100を制御して主電源の回路をオフし、電源ス
イッチ11のオンを検出すると電源制御部100を制御
して主電源の回路をオンし、初期設定に引き続いて前記
第2の記憶手段4に記憶されているデータを前記第1の
記憶手段3の所定の領域に展開して記憶させる制御手段
22とを有して構成され、前記第2の記憶手段4は、無
電源で記憶内容を保持可能なように構成される。
According to the present invention, a first storage means 3 comprising a random access memory for storing performance data, pattern data, and the like during a performance, and when the power switch 11 is turned off. Required data such as performance data and pattern data developed in the first storage means 3 is transcribed and stored in the second storage means 4
Detecting means 21 for detecting on / off of the power switch 11, and detecting the data stored in the first storage means 3 to the second memory when the detecting means 21 detects that the power switch 11 is turned off. After being stored in the storage unit 4, the power supply control unit 100 is controlled to turn off the circuit of the main power supply, and when the power switch 11 is detected to be on, the power supply control unit 100 is controlled to turn on the circuit of the main power supply, and Control means 22 for expanding the data stored in the second storage means 4 in a predetermined area of the first storage means 3 and storing the data in the second storage means 4 subsequent to the setting; The storage means 4 is configured to be able to hold the stored contents without power supply.

【0014】前記第2の記憶手段4は、電気的に消去可
能なフラッシュROMであることを特徴とする。
The second storage means 4 is a flash ROM which can be erased electrically.

【0015】前記第2の記憶手段4は、ハードディスク
装置であることを特徴とする。
The second storage means 4 is a hard disk drive.

【0016】前記第2の記憶手段4は、フロッピーディ
スク装置であることを特徴とする。
The second storage means 4 is a floppy disk drive.

【0017】前記第2の記憶手段4は、光磁気ディスク
装置であることを特徴とする。
The second storage means 4 is a magneto-optical disk drive.

【0018】このように本発明に係る電子楽器のメモリ
装置には、書き込み可能な読み出し専用メモリであっ
て、かつ電気的に記憶内容の消去が可能であるフラッシ
ュROM、又はハードディスク装置、フロッピーディス
ク装置、光磁気ディスク装置等の外部記憶装置が使用さ
れる。
As described above, the memory device of the electronic musical instrument according to the present invention is a flash ROM, a hard disk device, or a floppy disk device which is a writable read-only memory and whose storage contents can be electrically erased. An external storage device such as a magneto-optical disk device is used.

【0019】フラッシュROMとも呼ばれるEEPRO
MまたはE2 ROMは、本来的にはプログラム可能なR
OMであり、記憶内容の消去や書換えが必要になった際
には、該メモリを電子楽器本体に取り付けられたままで
特定の装置を使用することなく、電気的な操作によって
容易に消去または書換えが可能なメモリ素子である。
EEPRO also called flash ROM
The M or E 2 ROM has an inherently programmable R
When the memory contents need to be erased or rewritten, the memory can be easily erased or rewritten by an electrical operation without using a specific device while the memory is attached to the main body of the electronic musical instrument. A possible memory device.

【0020】しかも、該フラッシュROMは記憶保持の
ための電源は必要としない。このため、本発明において
は、このフラッシュROMを第2の記憶手段4として使
用し、電源スイッチ11がオフされた際の第1の記憶手
段3の記憶内容のバックアップメモリとして使用する。
In addition, the flash ROM does not require a power supply for storing data. For this reason, in the present invention, this flash ROM is used as the second storage means 4, and is used as a backup memory of the storage contents of the first storage means 3 when the power switch 11 is turned off.

【0021】これにより、電源喪失の如何にかかわらず
プログラムやデータの記憶保持を可能とするものであ
る。
As a result, it is possible to store and retain programs and data regardless of power loss.

【0022】このため、本発明においては、電源スイッ
チ11がオフされると検出手段21がこれを検出して検
出結果を通知する信号を制御手段22に送る。制御手段
22はこの信号を受けて第1の記憶手段3に記憶されて
いる演奏データやパターンデータを読み出して、これを
第2の記憶手段4に書き込みバックアップした後、主電
源をオフする。
For this reason, in the present invention, when the power switch 11 is turned off, the detecting means 21 detects this and sends a signal notifying the detection result to the control means 22. The control means 22 receives this signal, reads out the performance data and pattern data stored in the first storage means 3, writes them in the second storage means 4 and backs them up, and then turns off the main power supply.

【0023】一方、電源スイッチ11がオンされると、
検出手段21が電源スイッチ11がオンされたことを検
出し、検出結果を制御手段22に通知する。制御手段2
2はこの信号を受けて初期設定に引き続いて第2の記憶
手段4に記憶されている演奏データやパターンデータを
第1の記憶手段3の所定の領域に展開して書き込み、演
奏準備が完了する。
On the other hand, when the power switch 11 is turned on,
The detecting means 21 detects that the power switch 11 is turned on, and notifies the control means 22 of the detection result. Control means 2
Receiving this signal, subsequent to the initial setting, the performance data and pattern data stored in the second storage means 4 are developed and written in a predetermined area of the first storage means 3, and the performance preparation is completed. .

【0024】これにより、電源オフ時には、常に演奏デ
ータやパターンデータ等の所定のデータがフラッシュR
OM4にバックアップされており、電源スイッチ11が
オンされると、フラッシュROM4に記憶されているデ
ータがRAM3の所定の領域に自動的に再設定されるこ
とになる。
Thus, when the power is turned off, predetermined data such as performance data and pattern data are always stored in the flash ROM.
When the power switch 11 is turned on, the data stored in the OM 4 is automatically reset to a predetermined area of the RAM 3 when the power switch 11 is turned on.

【0025】従って、不用意に電源スイッチ11をオフ
することにより演奏データを消してしまう心配はなく、
電源スイッチ11のオン時には所要のデータが自動的に
再設定されるので、従来の電子楽器のように電源オフ時
にはデータをバックアップし、演奏開始時には一つ一つ
演奏データ等を設定する必要はなく、扱いやすい電子楽
器となる。
Therefore, there is no fear that the performance data will be erased by inadvertently turning off the power switch 11.
Since necessary data is automatically reset when the power switch 11 is turned on, the data is backed up when the power is turned off unlike a conventional electronic musical instrument, and there is no need to set performance data or the like at the start of a performance. It becomes an easy-to-handle electronic musical instrument.

【0026】しかも、記憶装置として例えばフラッシュ
ROM等の不揮発性メモリを使用するので、メモリ装置
にバックアップ電源は必要なく、設計時にバッテリの大
きさや取付け位置等を考慮する必要はなく、設計が容易
となりコストも低価格となる。
Moreover, since a non-volatile memory such as a flash ROM is used as the storage device, a backup power supply is not required for the memory device, and it is not necessary to consider the size and the mounting position of the battery at the time of design, which facilitates the design. The cost is also low.

【0027】また、前記第2の記憶手段4として、ハー
ドディスク装置やフロッピーディスク装置を使用した場
合、リアクションは遅くなるが無電源で演奏データ等を
記憶できるうえ、演奏する楽曲等に応じてメディアを交
換する簡単な操作で様々な演奏データをセットできるの
で、融通性のある使いやすい電子楽器となる。
When a hard disk drive or a floppy disk drive is used as the second storage means 4, the reaction is slow but the performance data can be stored without power supply, and the media can be stored according to the music to be played. Since various performance data can be set by a simple operation for exchange, the electronic musical instrument is flexible and easy to use.

【0028】[0028]

【発明の実施の形態】図1は、本発明にかかるバックア
ップ機能を有する電子楽器の全体構成を説明する図であ
る。以下、図面を参照しながら本発明の実施例について
説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a diagram for explaining the overall configuration of an electronic musical instrument having a backup function according to the present invention. Hereinafter, embodiments of the present invention will be described with reference to the drawings.

【0029】CPU1は、ROM2のプログラムメモリ
部に記憶された制御プログラムに従って当該電子楽器の
各部を制御するとともに、ROM2上に設けられた音色
データ記憶部より所望の制御パラメータを読み取り音源
部8に送る。
The CPU 1 controls each section of the electronic musical instrument in accordance with a control program stored in a program memory section of the ROM 2, reads desired control parameters from a tone data storage section provided on the ROM 2, and sends the control parameters to the tone generator section 8. .

【0030】なお、該CPU1にはパネルスキャンの結
果が記憶されているイベントバッファを読み取り、電源
スイッチ11のオン/オフを検出して制御部22に送る
検出部21と、該検出部21の検出結果に基づいて第2
の記憶手段4としてのフラッシュROMへの書き込み
や、フラッシュROM4からの読み出しを行う制御部2
2が設けられている。
The CPU 1 reads an event buffer storing the result of the panel scan, detects ON / OFF of the power switch 11 and sends it to the control unit 22; Second based on the result
Control unit 2 for writing to and reading from flash ROM as storage means 4
2 are provided.

【0031】ROM2は、CPU1を動作させるプログ
ラムを格納したプログラムメモリ部の他に、音色データ
メモリ部を有している。この音色データメモリ部には、
楽音成分信号を形成するためのデータである周波数ナン
バ、波形ナンバ、エンベロープ波形ナンバ、モードデー
タ等が記憶されている。その他、種々の固定データも該
ROM2に格納されている。
The ROM 2 has a timbre data memory in addition to a program memory in which a program for operating the CPU 1 is stored. In this tone data memory section,
A frequency number, a waveform number, an envelope waveform number, mode data, and the like, which are data for forming a tone component signal, are stored. In addition, various fixed data are also stored in the ROM 2.

【0032】RAM3は、上述したCPU1を動作させ
るプログラムの他、CPU1の作業用領域、当該電子楽
器を制御するための各種レジスタ、カウンタ、フラグ等
が定義されている他、ROM2に記憶されている必要な
データが転送されて一時的に格納されるデータエリアを
有しており、音色データ、その他、種々の固定データを
記憶している。
The RAM 3 defines a program for operating the CPU 1, a work area for the CPU 1, various registers, counters, flags, and the like for controlling the electronic musical instrument, and is stored in the ROM 2. It has a data area in which necessary data is transferred and temporarily stored, and stores tone color data and various other fixed data.

【0033】なお、該RAM3に記憶されている操作パ
ネル7の各スイッチの設定状態に関するデータは、発音
の際その他必要に応じてCPU1により参照される。ま
た、鍵盤6のオン/オフ状態を記憶する押鍵マップ、ノ
ートオンカウンタも、このRAM3に設けられている。
The data relating to the setting states of the switches of the operation panel 7 stored in the RAM 3 is referred to by the CPU 1 when sound is generated and as necessary. Further, a key press map for storing the on / off state of the keyboard 6 and a note-on counter are also provided in the RAM 3.

【0034】フラッシュROM4は、プログラムの指示
によって消去でき、消去専用の機器を使用しなくても書
き換えが可能なROMであり、電子楽器本体内部に内蔵
されている。従って本実施例では演奏データやパターン
データ等をバックアップする第2の記憶手段4として不
揮発性のメモリとして該フラッシュROM4を使用して
いる。
The flash ROM 4 is an erasable ROM that can be erased according to a program instruction and can be rewritten without using a dedicated erasing device, and is built in the electronic musical instrument main body. Therefore, in this embodiment, the flash ROM 4 is used as a non-volatile memory as the second storage means 4 for backing up performance data, pattern data, and the like.

【0035】周辺装置5は、本発明の電子楽器に接続し
て使用される各種の装置であり、例えば表示装置、MI
DI装置、フロッピーディスク装置、ハードディスク装
置等の外部装置である。
The peripheral devices 5 are various devices used by being connected to the electronic musical instrument of the present invention.
External devices such as DI devices, floppy disk devices, and hard disk devices.

【0036】鍵盤6は発生すべき楽音を指定するために
使用されるものであり、複数のキーと、これらのキーの
押鍵・離鍵動作に連動して開閉するキースイッチとで構
成され、演奏者の押鍵・離鍵動作は図示しないタッチ検
出回路によって検出され、CPU1の制御のもとに検出
された信号は音源部8に供給される。
The keyboard 6 is used for designating a musical tone to be generated, and is composed of a plurality of keys and key switches which are opened and closed in conjunction with key press / release operations of these keys. Key press / key release operations of the player are detected by a touch detection circuit (not shown), and a signal detected under the control of the CPU 1 is supplied to the sound source unit 8.

【0037】なお、当該鍵盤6には各キーの押下の状態
を検知するためのキースキャン回路を含んでおり、鍵盤
6の押鍵又は離鍵により発生された演奏情報は一時RA
M3の所定のエリアに記憶され所要に応じてCPU1に
より読み出される。
The keyboard 6 includes a key scan circuit for detecting the pressed state of each key, and the performance information generated by depressing or releasing the keys on the keyboard 6 is temporarily stored in the RA.
It is stored in a predetermined area of M3 and read by the CPU 1 as required.

【0038】操作パネル7には、電源スイッチ11の
他、音色選択スイッチ、モード指定スイッチ、メロディ
選択スイッチ、リズム選択スイッチ等、該電子楽器を制
御する各種のスイッチや表示器が設けられている。
In addition to the power switch 11, the operation panel 7 is provided with various switches and indicators for controlling the electronic musical instrument, such as a tone selection switch, a mode designation switch, a melody selection switch, and a rhythm selection switch.

【0039】操作パネル7の各スイッチのセット/リセ
ット状態は、図示しないパネルスキャン回路によって検
出されるようになっており、この操作パネル7のパネル
スキャン回路で検出されたスイッチのセット状態に関す
るデータは制御部22の制御の下にRAM3に記憶され
る。
The set / reset state of each switch of the operation panel 7 is detected by a panel scan circuit (not shown). Data on the switch set state detected by the panel scan circuit of the operation panel 7 is It is stored in the RAM 3 under the control of the control unit 22.

【0040】音源部8は、CPU1から出力される信号
に対応する楽音波形データ及びエンベロープデータを図
示しない波形メモリから読み出し、読み出した楽音波形
データにエンベロープを付加して楽音信号として出力す
るものである。
The tone generator 8 reads out the tone waveform data and envelope data corresponding to the signal output from the CPU 1 from a waveform memory (not shown), adds an envelope to the read tone waveform data, and outputs it as a tone signal. .

【0041】D/A変換器9は、音源部8より送られた
デジタル信号をアナログ信号に変換するものであり、該
D/A変換器9でアナログ信号に変換された信号は図示
しない増幅器で所定の利得に増幅されてスピーカ10に
供給される。
The D / A converter 9 converts a digital signal sent from the tone generator 8 into an analog signal. The signal converted into an analog signal by the D / A converter 9 is converted by an amplifier (not shown). The signal is amplified to a predetermined gain and supplied to the speaker 10.

【0042】スピーカ10は、増幅器より送られた電気
信号としてのアナログ楽音信号を音響信号に変換するも
のである。つまり、発生された楽音信号に応じて楽音を
放音するものである。
The speaker 10 converts an analog tone signal as an electric signal sent from the amplifier into an acoustic signal. That is, a tone is emitted according to the generated tone signal.

【0043】電源スイッチ11は、電子楽器の電源のオ
ン/オフを指示するスイッチであり、例えばシーソース
イッチで構成される。また、リレー12は電源スイッチ
11のオン/オフに応じて楽器本体に接続されている主
電源電流のオン/オフを行うスイッチである。
The power switch 11 is a switch for instructing on / off of the power of the electronic musical instrument, and is constituted by, for example, a seesaw switch. The relay 12 is a switch for turning on / off a main power supply current connected to the musical instrument main body in accordance with on / off of the power switch 11.

【0044】電源制御部100は、電源スイッチ11の
スイッチング動作、即ち、オン/オフに応じてリレー1
2をオン/オフする信号を生成する回路であり、ロジッ
ク回路13およびトランジスタ14で構成される。
The power control unit 100 controls the switching operation of the power switch 11, that is, the relay 1 according to the on / off state.
2 is a circuit for generating a signal for turning on / off 2 and includes a logic circuit 13 and a transistor 14.

【0045】トランジスタ14は、半導体の界面現象を
使ってスイッチングの動作を行うデバイスであり、電源
スイッチ11のオン/オフに応じた”H”,”L”の信
号を生成しリレー12を制御するものである。
The transistor 14 is a device that performs a switching operation using an interface phenomenon of a semiconductor, generates “H” and “L” signals according to ON / OFF of the power switch 11, and controls the relay 12. Things.

【0046】図2は、かかる構成において電源スイッチ
11が操作された際に、電源制御部100のロジック回
路13の入力端子A,Bに入力される信号と主電源電流
を楽器本体に供給するリレー12のオン/オフの関係を
説明する図である。
FIG. 2 shows a relay for supplying the main power supply current and the signals input to the input terminals A and B of the logic circuit 13 of the power supply control unit 100 when the power switch 11 is operated in such a configuration. FIG. 12 is a diagram for explaining the on / off relationship of the reference numeral 12.

【0047】なお、図において”X”は、入力される信
号が”L”,”H”のいずれでもよいことを示してお
り、HiZはハイインピーダンスで主電源電流がオフさ
れていることを示している。
In the figure, "X" indicates that the input signal may be either "L" or "H", and HiZ indicates that the main power supply current is off with high impedance. ing.

【0048】電源スイッチ11がオンされると、ロジッ
ク回路13のA端子に入力される信号は”H”から”
L”に切り替わる。一方、ロジック回路13のA端子に
入力される信号が”L”の場合、ロジック回路13のB
端子に入力される信号は”L”,”H”何れの場合もC
端子から出力される信号は”L”である。
When the power switch 11 is turned on, the signal input to the A terminal of the logic circuit 13 changes from “H” to “H”.
L. On the other hand, when the signal input to the A terminal of the logic circuit 13 is “L”,
The signal input to the terminal is C in both cases of "L" and "H".
The signal output from the terminal is "L".

【0049】従って、C端子から出力された信号”L”
は、トランジスタ14で”H”に反転されて、リレー1
2のD端子に入力される。これにより、リレー12の主
電源の回路がオンされて楽器本体に主電流が供給され
る。
Therefore, the signal "L" output from the C terminal
Is inverted to “H” by the transistor 14 and the relay 1
2 is input to the D terminal. As a result, the main power supply circuit of the relay 12 is turned on, and the main current is supplied to the instrument main body.

【0050】一方、電源スイッチ11がオフされると、
オフされたことを示す信号”H”がCPU1に送られて
所定の処理(後述する)を行った後、該CPU1から出
力ポートを通じてロジック回路13の入力端子Bに信
号”H”が送られる。
On the other hand, when the power switch 11 is turned off,
After a signal “H” indicating that the switch has been turned off is sent to the CPU 1 to perform a predetermined process (described later), the signal “H” is sent from the CPU 1 to the input terminal B of the logic circuit 13 through an output port.

【0051】これにより、ロジック回路13の入力端子
A,Bのいずれにも信号”H”が入力されるので、ロジ
ック回路13の出力端子Cからは信号”H”が出力さ
れ、この信号がトランジスタ14で”L”に反転され
て、リレー12のD端子に入力される。
As a result, the signal “H” is input to both the input terminals A and B of the logic circuit 13, so that the signal “H” is output from the output terminal C of the logic circuit 13, and this signal is The signal is inverted to “L” at 14 and input to the D terminal of the relay 12.

【0052】これにより、リレー12がオフされるの
で、主電源回路もオフされて楽器本体への主電流の供給
はオフされる。
As a result, the relay 12 is turned off, so that the main power supply circuit is also turned off, and the supply of the main current to the musical instrument main body is turned off.

【0053】次に、上記説明にもとずく本発明の実施例
の動作について説明する。
Next, the operation of the embodiment of the present invention based on the above description will be described.

【0054】図1においてVccはコンセント等から供給
され直流変換された電源電圧であり、GNDはグランド
レベルであることを示している。なお、本説明において
はコンセントは既に接続されており、しかも電源制御部
100にはVcc及びGNDが接続されているので、該電
源制御部100には常に電源電流が供給されているもの
とする。
In FIG. 1, Vcc is a power supply voltage supplied from an outlet or the like and converted into DC, and GND indicates a ground level. In this description, it is assumed that the outlet is already connected, and Vcc and GND are connected to the power supply control unit 100, so that the power supply control unit 100 is always supplied with power supply current.

【0055】また、電源スイッチ11は例えばシーソス
イッチで構成されており、該電源スイッチ11がオンさ
れるとオフされるまで該オンの状態は維持され、オフさ
れると次ぎにオンされるまでオフの状態が維持されるも
のとする。
The power switch 11 is, for example, a seesaw switch. When the power switch 11 is turned on, the on state is maintained until the power switch 11 is turned off. When the power switch 11 is turned off, the power switch 11 is turned off until the next time the power switch 11 is turned on. Shall be maintained.

【0056】さらに、CPU1の割り込みポートは、信
号が”L”から”H”に切り替わった瞬間を捉えて割り
込みを行う立上がりエッジの割り込みポートであるもの
とする。また、リレー12は入力される信号が”H”の
時にオンされ、”L”の時にオフされるものとする。
Further, it is assumed that the interrupt port of the CPU 1 is a rising edge interrupt port that performs an interrupt at the moment when the signal switches from "L" to "H". The relay 12 is turned on when an input signal is “H”, and is turned off when the signal is “L”.

【0057】かかる構成において、電源スイッチ11が
オンされるとロジック回路13の端子Aに入力される信
号は”L”となり、該ロジック回路13より出力される
信号は”L”となるので、反転バッファ用トランジスタ
14の出力信号は”H”となり、リレー12はオンさ
れ、電子楽器本体200に電源電流が供給される。
In this configuration, when the power switch 11 is turned on, the signal input to the terminal A of the logic circuit 13 becomes "L" and the signal output from the logic circuit 13 becomes "L". The output signal of the buffer transistor 14 becomes “H”, the relay 12 is turned on, and the power current is supplied to the electronic musical instrument main body 200.

【0058】電子楽器本体200の電源がオンされる
と、CPU1の制御部22は、初期設定処理に引き続い
てフラッシュROM4にバックアップされているデータ
をRAM3の所定の領域に読み込み展開させる。続いて
出力ポートから出力される信号、即ち、ロジック回路1
3のB端子に入力される信号を”L”にする。
When the power of the electronic musical instrument main body 200 is turned on, the control section 22 of the CPU 1 reads the data backed up in the flash ROM 4 into a predetermined area of the RAM 3 and develops the data following the initialization processing. Subsequently, the signal output from the output port, that is, the logic circuit 1
The signal input to the B terminal 3 is set to “L”.

【0059】これにより、ロジック回路13のA端子に
入力される信号は”L”、A端子に入力される信号は”
L”であるので、ロジック回路13の出力信号は”L”
となり、電子楽器は通常の動作状態となる。
As a result, the signal input to the A terminal of the logic circuit 13 is “L”, and the signal input to the A terminal is “L”.
Therefore, the output signal of the logic circuit 13 is “L”.
, And the electronic musical instrument enters a normal operation state.

【0060】一方、電源スイッチ11がオフされるとロ
ジック回路13のA端子に入力される信号は”L”レベ
ルから”H”レベルへと移行する。すると、該”H”レ
ベルの信号が割込みポートを通じてCPU1に送られ
る。CPU1の検出部21がこの”H”レベルの信号を
検出すると、検出したことを制御部22に通知する。
On the other hand, when the power switch 11 is turned off, the signal input to the A terminal of the logic circuit 13 shifts from "L" level to "H" level. Then, the "H" level signal is sent to the CPU 1 through the interrupt port. When the detection unit 21 of the CPU 1 detects this “H” level signal, it notifies the control unit 22 of the detection.

【0061】これにより制御部22はバックアップ処理
ルーチンに移行する。即ち、RAM3の所定の領域に展
開されているデータを、フラッシュROM4に書き込
む。
Thus, the control section 22 shifts to a backup processing routine. That is, data developed in a predetermined area of the RAM 3 is written to the flash ROM 4.

【0062】書き込みが終了すると、制御部22は出力
ポートを通じて信号”H”をロジック回路13の端子B
に送る。この信号によりロジック回路13の端子Cの出
力は”L”から”H”に切り替わるので、反転バッファ
用トランジスタ14により出力信号は”L”に切り替わ
り、リレー12はオフされて、電子楽器本体200の電
源が断される。
When the writing is completed, the control unit 22 outputs the signal “H” to the terminal B of the logic circuit 13 through the output port.
Send to The output of the terminal C of the logic circuit 13 is switched from “L” to “H” by this signal, so that the output signal is switched to “L” by the inversion buffer transistor 14, the relay 12 is turned off, and the Power is turned off.

【0063】このように、本発明によれば、電源スイッ
チ11がオフされると、主電源がオフされる前にRAM
3の所定の領域に展開されているデータがフラッシュR
OM4にバックアップされた後に主電源がオフされる。
As described above, according to the present invention, when the power switch 11 is turned off, the RAM is turned off before the main power is turned off.
The data developed in the predetermined area of flash memory 3 is flash R
After being backed up by OM4, the main power is turned off.

【0064】また、電源スイッチ11がオンされると、
主電源のオンに引き続き初期設定が行われ、さらにフラ
ッシュROM4に記憶されているデータがRAM3の所
定の領域に展開された後、電子楽器は稼働状態となる。
When the power switch 11 is turned on,
After the main power is turned on, initialization is performed, and after the data stored in the flash ROM 4 is expanded in a predetermined area of the RAM 3, the electronic musical instrument is put into operation.

【0065】従って、演奏開始前に演奏者が改めてパラ
メータの設定を行ったり、電源をオフする前にRAM3
に展開されているデータを不揮発性のメモリに書き込む
処理を行う必要はなく、使いやすい電子楽器となる。
Therefore, before the performance is started, the player sets the parameters again, and before turning off the power, the RAM 3
It is not necessary to perform the process of writing the data expanded in the non-volatile memory, and the electronic musical instrument is easy to use.

【0066】図3は、本実施例の電子楽器の演奏データ
やパラメータ等のバックアップ及びバックアップされて
いるデータをRAM3の所定の領域に展開するタイミン
グを説明するタイミングチャートである。
FIG. 3 is a timing chart for explaining the backup of performance data and parameters of the electronic musical instrument of the present embodiment and the timing of developing the backup data in a predetermined area of the RAM 3.

【0067】図のように、電源スイッチ11がオンされ
ると、オンされたことを示す信号”H”がリレー12の
D端子に入力されて主電源がオンされる。主電源がオン
されると、CPU1の制御部22が電子楽器本体200
の初期設定を行う。
As shown, when the power switch 11 is turned on, a signal "H" indicating that the power switch 11 is turned on is input to the D terminal of the relay 12, and the main power is turned on. When the main power supply is turned on, the control unit 22 of the CPU 1
Make the initial settings for.

【0068】続いて、フラッシュメモリにバックアップ
されているデータをRAM12の所定の領域に読み込
み、ロジック回路13のB端子に入力される信号を”
L”レベルにする。これにより、電子楽器本体200は
通常の演奏可能状態になり待機する。
Subsequently, the data backed up in the flash memory is read into a predetermined area of the RAM 12, and the signal input to the B terminal of the logic circuit 13 is changed to "
The electronic musical instrument main body 200 enters a normal playable state and waits.

【0069】次ぎに、電源スイッチ11がオフされる
と、ロジック回路13のB端子に入力される信号が”
L”レベルから”H”レベルになり、該”H”レベルの
信号がCPU1の割り込みポートから電子楽器本体20
0に入力され、これにより、制御部22の制御がバック
アップ処理ルーチンに移行し、バックアップ処理が行わ
れる。
Next, when the power switch 11 is turned off, the signal input to the terminal B of the logic circuit 13 becomes "
From the L level to the “H” level, the “H” level signal is sent from the interrupt port of the CPU 1 to the electronic musical instrument main body 20.
0, whereby the control of the control unit 22 shifts to the backup processing routine, and the backup processing is performed.

【0070】バックアップ処理が終了すると、制御部2
2は出力ポートを通じてロジック回路13のB端子に”
H”レベルの信号を送る。これにより、C端子の出力
は”L”から”H”に切り替わり、トランジスタ14で
反転されて”L”信号がリレー12のD端子に入力され
てリレー12がオフされて、主電源が断となる。
When the backup processing is completed, the control unit 2
2 is connected to the B terminal of the logic circuit 13 through the output port.
The signal of the H level is sent, whereby the output of the C terminal is switched from “L” to “H”, inverted by the transistor 14, the “L” signal is input to the D terminal of the relay 12, and the relay 12 is turned off. Then, the main power supply is turned off.

【0071】このようにして、本発明の電子楽器は電源
スイッチ11がオフされると所要のデータがバックアッ
プされ、電源スイッチ11がオンされるとバックアップ
データが所定の領域に展開されて演奏が可能な状態にな
る。
As described above, in the electronic musical instrument of the present invention, when the power switch 11 is turned off, required data is backed up, and when the power switch 11 is turned on, the backup data is developed in a predetermined area and can be played. State.

【0072】以上、本発明の実施例は不揮発性メモリと
してフラッシュROMを用いた場合を例に説明したが、
本発明はこれに限定されるものではなく、例えばフロッ
ピーディスク装置やハードディスク装置等の外部記憶装
置に記憶させる場合等、その要旨を逸脱しない範囲で種
々様々な変形実施が可能なことは勿論である。
In the above, the embodiment of the present invention has been described by taking as an example the case where a flash ROM is used as a nonvolatile memory.
The present invention is not limited to this, and it goes without saying that various modifications can be made without departing from the gist of the present invention, for example, when the data is stored in an external storage device such as a floppy disk device or a hard disk device. .

【0073】また、本発明の適用可能分野も電子楽器に
限定されるものではなく、例えばゲームマシンでゲーム
を中断する際の記憶装置として、あるいはワープロのレ
ジューム機能として適用する等、様々な分野に適用可能
である。
The field of application of the present invention is not limited to electronic musical instruments. For example, the present invention can be applied to various fields such as a storage device for interrupting a game in a game machine or a resume function of a word processor. Applicable.

【0074】[0074]

【発明の効果】本発明によれば、電源スイッチをオフす
ると自動的に不揮発性メモリにパラメータ等のバックア
ップが行われ、電源スイッチがオンされると自動的に不
揮発性メモリからRAMの所定の領域にパラメータが書
き込まれるので、演奏開始前にパラメータ等の再設定の
必要はなく、簡単で扱い易い電子楽器が提供できる。
According to the present invention, when the power switch is turned off, the backup of parameters and the like is automatically performed in the nonvolatile memory, and when the power switch is turned on, a predetermined area of the RAM is automatically transferred from the nonvolatile memory. Since the parameters are written into the electronic musical instrument, there is no need to reset the parameters and the like before the performance starts, and an electronic musical instrument that is simple and easy to handle can be provided.

【0075】また、電源スイッチをオフする際に自動的
にバックアップされるので、誤ってデータを消去してし
まう心配はなく、格別の操作や煩雑な処理等に気を配る
必要はなく演奏に専念できる。
Since the data is automatically backed up when the power switch is turned off, there is no need to worry about erasing data by mistake, and there is no need to pay attention to special operations and complicated processing, and to concentrate on playing. it can.

【0076】さらに、本発明は不揮発性のメモリを使用
するため、バックアップ電源を必要とせず、安価で設計
の容易な電子楽器となる。
Further, since the present invention uses a non-volatile memory, it does not require a backup power supply and is an inexpensive and easily designed electronic musical instrument.

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

【図1】本発明に係る電子楽器の全体構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing the overall configuration of an electronic musical instrument according to the present invention.

【図2】本発明に係る電源制御部の動作とリレーの動作
の関係を説明する図である。
FIG. 2 is a diagram illustrating the relationship between the operation of a power control unit and the operation of a relay according to the present invention.

【図3】本発明における電源スイッチの操作と各端子の
動作、及びバックアップ処理復活処理の関係を説明する
タイミングチャートである。
FIG. 3 is a timing chart illustrating the relationship between the operation of a power switch, the operation of each terminal, and the backup processing restoration processing according to the present invention.

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

1 CPU 2 ROM 3 RAM(第1の記憶手段) 4 フラッシュROM(不揮発性メモリ)(第2の
記憶手段) 5 周辺装置 6 鍵盤 7 操作パネル 8 音源部 9 D/A変換器 10 スピーカ 11 電源スイッチ 12 リレー 13 ロジック回路 14 トランジスタ 21 検出部(検出手段) 22 制御部(制御手段) 100 電源制御部 200 電子楽器本体
Reference Signs List 1 CPU 2 ROM 3 RAM (first storage unit) 4 Flash ROM (non-volatile memory) (second storage unit) 5 Peripheral device 6 Keyboard 7 Operation panel 8 Sound source unit 9 D / A converter 10 Speaker 11 Power switch DESCRIPTION OF SYMBOLS 12 Relay 13 Logic circuit 14 Transistor 21 Detection part (detection means) 22 Control part (control means) 100 Power supply control part 200 Electronic musical instrument main body

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 演奏時に演奏データやパターンデータ等
を展開して記憶しておくためのランダムアクセスメモリ
からなる第1の記憶手段と、 電源スイッチがオフされる際に、前記第1の記憶手段に
展開されている演奏データやパターンデータ等の所要の
データが転記されて記憶を保持する第2の記憶手段と、 電源スイッチのオン/オフを検出する検出手段と、 前記検出手段が電源スイッチのオフを検出すると、第1
の記憶手段に記憶されているデータを第2の記憶手段に
記憶させた後に、電源制御部を制御して主電源の回路を
オフし、電源スイッチのオンを検出すると電源制御部を
制御して主電源の回路をオンし、初期設定に引き続いて
前記第2の記憶手段に記憶されているデータを前記第1
の記憶手段の所定の領域に展開して記憶させる制御手段
とを有し、 前記第2の記憶手段は、無電源で記憶内容が保持可能な
ことを特徴とする電子楽器のメモリ装置。
1. A first storage means comprising a random access memory for developing and storing performance data, pattern data, and the like during a performance, and the first storage means when a power switch is turned off. Required data, such as performance data and pattern data, which are transcribed in the memory, are transcribed and retain the memory, detection means for detecting on / off of a power switch; When off is detected, the first
After the data stored in the storage means is stored in the second storage means, the power supply control section is controlled to turn off the circuit of the main power supply. The circuit of the main power supply is turned on, and following the initial setting, the data stored in the second storage means is stored in the first storage unit.
Control means for developing and storing the data in a predetermined area of the storage means, wherein the second storage means can hold the stored content without power supply.
【請求項2】 前記第2の記憶手段は、電気的に消去可
能なフラッシュROMであることを特徴とする、請求項
1記載の電子楽器のメモリ装置。
2. The memory device for an electronic musical instrument according to claim 1, wherein said second storage means is an electrically erasable flash ROM.
【請求項3】 前記第2の記憶手段は、ハードディスク
装置であることを特徴とする、請求項1記載の電子楽器
のメモリ装置。
3. The memory device for an electronic musical instrument according to claim 1, wherein said second storage means is a hard disk device.
【請求項4】 前記第2の記憶手段は、フロッピーディ
スク装置であることを特徴とする、請求項1記載の電子
楽器のメモリ装置。
4. The memory device for an electronic musical instrument according to claim 1, wherein said second storage means is a floppy disk device.
【請求項5】 前記第2の記憶手段は、光磁気ディスク
装置であることを特徴とする、請求項1記載の電子楽器
のメモリ装置。
5. The memory device for an electronic musical instrument according to claim 1, wherein said second storage means is a magneto-optical disk device.
JP8297875A 1996-10-23 1996-10-23 Memory device of electronic musical instrument Pending JPH10124196A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8297875A JPH10124196A (en) 1996-10-23 1996-10-23 Memory device of electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8297875A JPH10124196A (en) 1996-10-23 1996-10-23 Memory device of electronic musical instrument

Publications (1)

Publication Number Publication Date
JPH10124196A true JPH10124196A (en) 1998-05-15

Family

ID=17852255

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8297875A Pending JPH10124196A (en) 1996-10-23 1996-10-23 Memory device of electronic musical instrument

Country Status (1)

Country Link
JP (1) JPH10124196A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008511029A (en) * 2004-08-26 2008-04-10 シュタメル ミュジカンラゲン ゲーエムベーハー Instrument amplifier, especially guitar amplifier
JP2013109407A (en) * 2011-11-17 2013-06-06 Nec Fielding Ltd Power control system, power control method, and computer program
EP3125232A1 (en) * 2015-07-29 2017-02-01 Roland Corporation Power control device of electronic musical instrument

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008511029A (en) * 2004-08-26 2008-04-10 シュタメル ミュジカンラゲン ゲーエムベーハー Instrument amplifier, especially guitar amplifier
JP2013109407A (en) * 2011-11-17 2013-06-06 Nec Fielding Ltd Power control system, power control method, and computer program
EP3125232A1 (en) * 2015-07-29 2017-02-01 Roland Corporation Power control device of electronic musical instrument

Similar Documents

Publication Publication Date Title
JP5701011B2 (en) Electronic musical instruments
JP2896716B2 (en) Automatic performance device
US4463646A (en) Power saving apparatus for electronic musical instrument
JPH10124196A (en) Memory device of electronic musical instrument
JP4479633B2 (en) Audio equipment setting device and program thereof
JP3979308B2 (en) Data processing apparatus and data processing program
JP2503622Y2 (en) Performance information storage device
JP2692400B2 (en) Power supply control device for electronic musical instruments
JP2000293169A (en) Musical sound generating device
JPH11219175A (en) Automatic music playing device
JP3525786B2 (en) Electronic musical instrument
JP2641851B2 (en) Automatic performance device
JP3513891B2 (en) Electronic musical instrument
JPH0749517Y2 (en) Automatic playing device
JPH07234673A (en) Electronic musical instrument
JP2864201B2 (en) Electronic musical instrument display
JP2002116755A (en) Method of controling electronic instrument, and storage medium therefor
JPH06195066A (en) Electronic musical instrument
JP3249630B2 (en) Automatic rhythm playing device
JPH0287197A (en) Electronic musical instrument
JPS5913668Y2 (en) Tone selection device for electronic musical instruments
JP2616752B2 (en) Automatic performance device
JPH1069275A (en) Electronic musical instrument
JPH04368994A (en) Display controller of electronic musical instrument
JPH1069276A (en) Lcd contrast controller for electronic musical instrument