JP2004039166A - Recording device and electronic musical instrument - Google Patents
Recording device and electronic musical instrument Download PDFInfo
- Publication number
- JP2004039166A JP2004039166A JP2002197362A JP2002197362A JP2004039166A JP 2004039166 A JP2004039166 A JP 2004039166A JP 2002197362 A JP2002197362 A JP 2002197362A JP 2002197362 A JP2002197362 A JP 2002197362A JP 2004039166 A JP2004039166 A JP 2004039166A
- Authority
- JP
- Japan
- Prior art keywords
- recording
- data
- instruction
- audio data
- 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
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Electrophonic Musical Instruments (AREA)
Abstract
【課題】大容量メモリ(ハードディスク等)を必要とせず、データ記録のキャンセルを行うことにより、記憶手段(CD−R/RW等)の記録領域を有効活用することを課題とする。
【解決手段】データをバッファリングするためのバッファと、バッファを介してデータを記録するための記憶手段と、データの記録を指示するための記録指示手段と、データの記録をキャンセル指示するためのキャンセル指示手段とを有する記録装置が提供される。記録指示されてからバッファに最初の所定量のデータがバッファリングされるまでの間に、キャンセル指示されるとバッファリングしたデータを記憶手段に記録せず、キャンセル指示されなければバッファリングしたデータを記憶手段に記録する。
【選択図】 図4An object of the present invention is to effectively utilize a recording area of a storage unit (CD-R / RW or the like) by canceling data recording without requiring a large-capacity memory (a hard disk or the like).
A buffer for buffering data, a storage unit for recording data via the buffer, a recording instruction unit for instructing data recording, and a recording instruction unit for instructing data recording cancellation. A recording device having a cancel instruction means is provided. In the period from when the recording instruction is issued to when the first predetermined amount of data is buffered in the buffer, if the cancel instruction is issued, the buffered data is not recorded in the storage means. Record in storage means.
[Selection diagram] Fig. 4
Description
【0001】
【発明の属する技術分野】
本発明は、記録装置及び電子楽器に関し、特にデータを記録するための記録装置及び電子楽器に関する。
【0002】
【従来の技術】
パーソナルコンピュータ等を用いることにより、CD−R/RW(記憶手段)にオーディオデータを記録することができる。この際、一旦、オーディオデータを大容量のハードディスク(大容量メモリ)に記録し、その後、ハードディスクからCD−R/RWにオーディオデータを記録する。この場合、大容量のハードディスクが必要になるので、コストが高くなってしまう。
【0003】
【発明が解決しようとする課題】
電子楽器において、リアルタイムで演奏したオーディオデータをCD−R/RWに記録したいとの要求がある。しかし、電子楽器にハードディスクを搭載すると、高価になってしまう。また、演奏に失敗したとしても、リアルタイムで記録されたオーディオデータをCD−R/RWから消去することはできないか又は困難である。
【0004】
本発明の目的は、大容量メモリ(ハードディスク等)を必要とせず、データ記録のキャンセルを行うことにより、記憶手段(CD−R/RW等)の記録領域を有効活用することができる記録装置及び電子楽器を提供することである。
【0005】
【課題を解決するための手段】
本発明の一観点によれば、データをバッファリングするためのバッファと、前記バッファを介してデータを記録するための記憶手段と、データの記録を指示するための記録指示手段と、データの記録をキャンセル指示するためのキャンセル指示手段と、前記記録指示手段により記録指示されてから前記バッファに最初の所定量のデータがバッファリングされるまでの間に、前記キャンセル指示手段によりキャンセル指示されると前記バッファリングしたデータを前記記憶手段に記録せず、前記キャンセル指示手段によりキャンセル指示されなければ前記バッファリングしたデータを前記記憶手段に記録する記録制御手段とを有する記録装置が提供される。
【0006】
本発明の他の観点によれば、演奏者が演奏操作するための鍵盤と、データをバッファリングするためのバッファと、前記バッファを介してデータを記録するための記憶手段と、データの記録を指示するための記録指示手段と、データの記録をキャンセル指示するためのキャンセル指示手段と、前記記録指示手段により記録指示されてから前記バッファに最初の所定量のデータがバッファリングされるまでの間に、前記キャンセル指示手段によりキャンセル指示されると前記バッファリングしたデータを前記記憶手段に記録せず、前記キャンセル指示手段によりキャンセル指示されなければ前記バッファリングしたデータを前記記憶手段に記録する記録制御手段とを有する電子楽器が提供される。
【0007】
データの記録を指示してから最初の所定量のデータがバッファにバッファリングされるまでの間は、データ記録をキャンセルすることができる。例えば、リアルタイムで録音する際、録音に失敗したときには録音をキャンセルすることができ、記憶手段(CD−R/RW等)の記録領域を無駄にせず、有効活用できる。また、所定量のデータをバッファリングするための小容量のバッファを用意すればよく、ハードディスク等の大容量メモリを必要としないので、コストを安価にできる。
【0008】
【発明の実施の形態】
図1は、本発明の実施形態による電子楽器のハードウエア構成を示すブロック図である。バス101には、CPU103、ROM105、RAM106、外部記憶装置107、鍵盤119、音源108、DSP(Digital Signal Processor)110、シリアル−パラレルコンバータ(SPC)113、パラレル−シリアルコンバータ(PSC)114が接続される。CPU103には、外部インターフェース102、並びに操作パネル及び表示器104が接続される。音源108には、波形ROM109が接続される。
【0009】
鍵盤119は、複数の白鍵及び黒鍵を有する。CPU103は、鍵盤119上の押鍵操作又は離鍵操作に応じて、ノートオンイベント又はノートオフイベントを入力する。外部インターフェース102は、例えばMIDI(musical instrument digital interface)インターフェースであり、外部装置(例えば電子楽器)に対してMIDIデータを入出力する。CPU103は、外部インターフェース102を介してノートオンイベント等を含むMIDIデータを入力することができる。
【0010】
波形ROM109は、複数の楽音波形(音色データ)を記憶する。音源108は、CPU103から楽音パラメータを入力し、波形ROM109から楽音波形を読み出して楽音信号S11を生成し、DSP110へ出力する。上記の楽音パラメータは、鍵盤119及び/又は外部インターフェース102のノートオンイベント及びノートオフイベント、並びに操作パネル104の操作情報等である。
【0011】
外部入力端子111は、マイク入力端子又はラインイン端子であり、アナログ形式のオーディオデータ(音声データを含む)を入力する。外部入力端子111は、マイク又は他の電子楽器等からオーディオデータを入力することができる。アナログ−デジタルコンバータ(ADC)112は、外部入力端子111を介して入力されるオーディオデータを、アナログ形式からデジタル形式に変換し、DSP110へオーディオデータS12を出力する。
【0012】
外部記憶装置107は、例えばCD−R又はCD−RWであり、オーディオデータを記録することができる。CD−Rは、1度データを記録した後はそのデータを書き換えることができない記録媒体であり、一度記録したデータを消去することができない。CD−RWは、データ書き換えが可能である記録媒体であるが、データ消去する際には消去開始位置から最後までのすべてのデータが削除される。すなわち、任意の部分的な消去を行うことはできない。ユーザは、外部記憶装置107にリアルタイム録音することができる。例えば、鍵盤119で演奏したオーディオデータを記録したり、外部入力端子111を介して入力されるオーディオデータを記録したり、外部インターフェース102を介して入力されるMIDIデータ等に応じたオーディオデータを記録することができる。例えば、CD−DA(digital audio)の形式でオーディオデータを外部記憶装置107に記録する。
【0013】
図2は、操作パネル及び表示器104を示す。録音選択スイッチ227を押すと、液晶表示器(LCD)231には録音元の選択画面が表示され、「演奏」、「マイク」及び「演奏及びマイク」を選択可能であることが表示される。スイッチ201は、「演奏」を選択するためのスイッチであり、鍵盤119の鍵盤操作及び外部インターフェース102の入力に応じたオーディオデータを録音することができる。ユーザがスイッチ201を押すと、図1のCPU103は、DSP110に制御信号S1=1,S2=0を出力する。スイッチ202は、「マイク」を選択するためのスイッチであり、外部入力端子111を介して入力されるオーディオデータを録音することができる。ユーザがスイッチ202を押すと、図1のCPU103は、DSP110に制御信号S1=0,S2=1を出力する。スイッチ203は、「演奏及びマイク」を選択するためのスイッチであり、上記の「演奏」のオーディオデータ及び上記の「マイク」のオーディオデータの両者を加算したオーディオデータを録音することができる。ユーザがスイッチ203を押すと、図1のCPU103は、DSP110に制御信号S1=1,S2=1を出力する。
【0014】
録音スイッチ222は、外部記憶装置107への録音を開始指示するためのスイッチである。録音発光ダイオード(LED)212は、録音中のときに点灯する。停止スイッチ224は、録音を停止するためのスイッチである。再生スイッチ223は、外部記憶装置107に録音されたオーディオデータを再生するためのスイッチである。再生LED213は、再生中のときに点灯する。複数回の録音を行うことにより、複数曲のオーディオデータが記録される。選曲マイナススイッチ225は、1曲前のオーディオデータを選択するためのスイッチである。選曲プラススイッチ226は、1曲後のオーディオデータを選択するためのスイッチである。キャンセルスイッチ221は、開始指示した録音をキャンセルするためのスイッチであり、最初の所定期間であればキャンセルが可能である。キャンセルLED211は、キャンセル可能な期間に点滅する。ユーザは、キャンセルLED211が点滅しているときのみキャンセルできる。以下、録音スイッチ222が押されたときの録音方法を説明する。
【0015】
図1において、DSP110は、乗算器121,122及び加算器123,124を有する。乗算器121は、オーディオデータS11及び制御信号S1を乗算し、オーディオデータS13を出力する。乗算器122は、オーディオデータS12及び制御信号S2を乗算し、オーディオデータS14を出力する。加算器123は、オーディオデータS13及びオーディオデータS14を加算し、オーディオデータS15を出力する。オーディオデータS15が録音対象のデータである。図2の「演奏」スイッチ201が押されると、オーディオデータS11がオーディオデータS15になる。図2の「マイク」スイッチ202が押されると、オーディオデータS12がオーディオデータS15になる。図2の「演奏及びマイク」スイッチ203が押されると、オーディオデータS11及びS12の加算値がオーディオデータS15になる。SPC113は、オーディオデータS15をシリアル形式からパラレル形式に変換する。CPU103は、そのパラレル形式のオーディオデータを、RAM106内のバッファを介して外部記憶装置107に記録する。
【0016】
次に、図2の再生スイッチ223が押されたときの再生方法を説明する。CPU103は、外部記憶装置107からパラレル形式のオーディオデータを読み出し、RAM106内のバッファを介してPSC114へ出力する。PSC114は、オーディオデータをパラレル形式からシリアル形式に変換し、オーディオデータS17を出力する。
【0017】
次に、電子楽器の発音処理を説明する。加算器124は、オーディオデータS11及びオーディオデータS12を加算し、オーディオデータS16を出力する。加算器115は、オーディオデータS16及びオーディオデータS17を加算し、オーディオデータS18をデジタル−アナログコンバータ(DAC)116へ出力する。DAC116は、オーディオデータをデジタル形式からアナログ形式に変換し、アンプ117へ出力する。アンプ117は、オーディオデータを増幅し、スピーカ118に出力する。スピーカ118からは楽音が発音される。
【0018】
ROM105は、コンピュータプログラムを記憶する。CPU103は、ROM105内のコンピュータプログラムに応じて、上記の処理を行う。具体的には、後に説明する図5〜図9の処理等を行う。RAM106は、バッファ、フラグ、レジスタ等のCPU103のワークエリアを有する。CPU103は、DSP110の信号に応じて、後に説明する図7の割り込み処理を行うことができる。
【0019】
図3は、図1のRAM106内のバッファを介して外部記憶装置107にオーディオデータを記録する方法を示す。時刻t1において、図2の録音スイッチ222が押されると、入力されるオーディオデータはRAM106内のバッファに順次バッファリングされる。次に、所定時間経過後の時刻t3後では、バッファ内のオーディオデータを外部記憶装置107に順次記録する。時刻t3後も、入力されるオーディオデータはバッファに順次バッファリングされる。なお、バッファは、FIFO(先入れ先出し法)になっており、バッファの最終アドレスの後は最初のアドレスに続くようにデータが記憶される。すなわち、バッファは、少なくとも時刻t1からt3までの間のデータのデータ量を記憶するだけの容量を持つものであればよい。図2のキャンセルLED211は、時刻t1からt3までの間(例えば、30〜60秒)は点滅しており、キャンセル可能であることを示し、時刻t3経過後は消灯し、キャンセル不能であることを示す。図2の停止スイッチ224が押されると、バッファ内に残っているオーディオデータをすべて外部記憶装置107に書き込み、録音処理を終了する。
【0020】
図4(A)は、図2のキャンセルスイッチ221が押されたときの処理を示す図である。時刻t1において、録音スイッチ222が押されると、入力されるオーディオデータはRAM106内のバッファに順次バッファリングされる。時刻t1からt3までの間がキャンセル可能である。時刻t2において、キャンセルスイッチ221が押されると、入力オーディオデータのバッファリングを終了し、バッファ内のオーディオデータ401をキャンセルする。その結果、時刻t3になっても、外部記憶装置107にはオーディオデータ401が記録されない。ユーザは、時刻t1からt3までの間にキャンセルスイッチを押せば、外部記憶装置107への記録をキャンセルすることができる。
【0021】
図4(B)は、図2の停止スイッチ224が押されたときの処理を示す図である。時刻t1において、録音スイッチ222が押されると、入力オーディオデータはRAM106内のバッファに順次バッファリングされる。次に、時刻t2において、停止スイッチ224が押されると、入力オーディオデータのバッファリングを終了し、録音を停止する。その後、時刻t3になると、バッファ内のオーディオデータ401は外部記憶装置107に記録される。ユーザは、録音スイッチ222を押してから停止スイッチ224を押すまでの間のオーディオデータ401を外部記憶装置107に記録することができる。
【0022】
以上のように、録音スイッチ222を押すことによりデータ記録指示されてからバッファに最初の所定量のデータがバッファリングされるまでの間に、キャンセルスイッチ221を押すことによりキャンセル指示されるとバッファリングしたデータを外部記憶装置107に記録せず、キャンセルスイッチ221によりキャンセル指示されなければバッファリングしたデータを外部記憶装置107に記録する。具体的には、録音スイッチ222を押してから停止スイッチ224を押すまでの間にバッファリングしたデータを外部記憶装置107に記録する。キャンセルLED211は、録音スイッチ222が押されてからバッファに最初の所定量のデータがバッファリングされるまでの間、データ記録をキャンセル可能であることを表示するための点滅を行う。
【0023】
図5は、電子楽器が行うメインルーチンの処理を示すフローチャートである。電子楽器の電源がオンになると、以下の処理を行う。ステップS501では、バッファ及びフラグ等の初期設定を行う。次に、ステップS502では、操作パネル104(図1)上のスイッチ(操作子)の操作に応じた処理を行う。この処理の詳細は、後に図6〜図9を参照しながら説明する。次に、ステップS503では、鍵盤処理を行う。鍵盤処理は、鍵盤119の操作に応じて、押鍵情報(キーオンイベント)及び離鍵情報(キーオフイベント)を含むキー情報を検出し、発音又は消音処理を行う。次に、ステップS504では、表示器104の表示処理、及び外部インターフェース102の入出力処理等のその他の処理を行う。その後、ステップS502へ戻り、上記の処理を繰り返す。
【0024】
図6は、録音スイッチ222が押され、録音スイッチイベントが発生したときの処理を示すフローチャートである。ステップS601では、録音中又は再生中であるか否かをチェックする。録音中又は再生中であれば処理を終了し、そうでなければステップS602へ進む。ステップS602では、録音中であることを示す録音フラグをセットする。次に、ステップS603では、キャンセルLED211を点滅し、キャンセル可能期間であることをユーザに知らせる。次に、ステップS604では、録音LED212を点灯し、録音中であることをユーザに知らせる。次に、ステップS605では、RAM106内のバッファのアドレスを初期化する。その後、処理を終了する。
【0025】
図7は、電子楽器の割り込み処理を示すフローチャートである。この処理は、DSP110の信号により定期的に行われる割り込み処理である。ステップS701では、録音フラグをチェックし、録音中か否かを判断する。録音中であればステップS702へ進み、録音中でなければ処理を終了する。ステップS702では、入力オーディオデータを取り込み、現在のバッファのアドレス(位置)に書き込む。次に、ステップS703では、バッファ内のオーディオデータ量が所定量であるか否かをチェックする。所定量であればステップS704へ進み、所定量でなければステップS706へ進む。ステップS704では、キャンセルLED211を消灯し、キャンセル不能であることをユーザに知らせる。次に、ステップS705では、バッファ内のオーディオデータを外部記憶装置107に書き込み開始指示する。次に、ステップS706では、バッファのアドレス(位置)を次に進める。その後、処理を終了する。
【0026】
図8は、キャンセルスイッチ221が押され、キャンセルスイッチイベントが発生したときの処理を示すフローチャートである。ステップS801では、キャンセルLED211が点滅中か否かをチェックする。点滅中であればステップS802へ進み、消灯していればキャンセル不能であるので処理を終了する。ステップS802では、録音フラグをクリアし、録音を停止する。次に、ステップS803では、キャンセルLED211を消灯する。次に、ステップS804では、録音LED222を消灯する。その後、処理を終了する。
【0027】
図9は、停止スイッチ224が押され、停止スイッチイベントが発生したときの処理を示すフローチャートである。ステップS901では、録音フラグをチェックし、録音中か否かをチェックする。録音中であればステップS902へ進み、録音中でなければ処理を終了する。ステップS902では、録音フラグをクリアし、録音を停止する。ステップS903では、バッファ内のオーディオデータを外部記憶装置107に書き込み、すべてのデータを書き込み終わるまで待機する。次に、ステップS904では、キャンセルLED211を消灯する。次に、ステップS905では、録音LED212を消灯する。その後、処理を終了する。
【0028】
以上のように、録音スイッチ222を押すことによりデータ記録指示されてからバッファに最初の所定量のデータがバッファリングされるまでの間に、キャンセルスイッチ221を押すことによりキャンセル指示されるとバッファリングしたデータを外部記憶装置107に記録しない。一方、上記の間にキャンセルスイッチ221によりキャンセル指示されなければ、録音スイッチ222を押してから停止スイッチ224を押すまでの間にバッファリングしたデータを外部記憶装置107に記録する。
【0029】
例えば、鍵盤演奏のリアルタイム録音を行う場合、演奏に失敗すると録音をキャンセルしたいことがある。特に、演奏開始間もない期間に失敗すると、もう一度録音をやり直したいことが多い。仮に入力オーディオデータを外部記憶装置(CD−R等)に直ちに記録してしまうと、その記録したデータを消去することができないか又は困難である。本実施形態によれば、データの記録を指示してから最初の所定量のデータがバッファにバッファリングされるまでの間は、データ記録をキャンセルすることができる。これにより、リアルタイム録音の際、録音に失敗したとしても録音をキャンセルすることができ、外部記憶装置(CD−R等)の記録領域を無駄にせず、有効活用できる。また、所定量のデータをバッファリングするための小容量のバッファを用意すればよく、ハードディスク等の大容量メモリを必要としないので、コストを安価にできる。
【0030】
なお、外部記憶装置107は、CD−R/RWに限定されず、DVD、MO等の他の光ディスクにも適用することができる。光ディスクは、CD−R/RW、DVD(DVD−R等を含む)、MO等を含み、これらは同じ性質を有し、データ消去に制限がある。また、外部記憶装置107は、CD−R/RWのように、シーケンシャルアクセスによりデータを記録開始位置から順番に記録するものに適用できる。特に、外部記憶装置107は、CD−Rのように、1度データを記録した後はそのデータを書き換えることができないものの場合に大きな効果がある。
【0031】
上記では電子楽器の場合を例に説明したが、電子楽器に限定されない。例えば、カラオケ装置に適用することもできる。すなわち、自動演奏データ及び/又はマイク入力の歌手の歌声を外部記憶装置107に記録することができる。また、オーディオデータを記録する場合を例に説明したが、オーディオデータ以外のデータを記録してもよい。例えば、MIDIデータ又は画像データ等を記録してもよい。
【0032】
なお、上記実施形態は、何れも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、またはその主要な特徴から逸脱することなく、様々な形で実施することができる。
【0033】
【発明の効果】
以上説明したように、データの記録を指示してから最初の所定量のデータがバッファにバッファリングされるまでの間は、データ記録をキャンセルすることができる。例えば、リアルタイムで録音する際、録音に失敗したときには録音をキャンセルすることができ、記憶手段(CD−R/RW等)の記録領域を無駄にせず、有効活用できる。また、所定量のデータをバッファリングするための小容量のバッファを用意すればよく、ハードディスク等の大容量メモリを必要としないので、コストを安価にできる。
【図面の簡単な説明】
【図1】本発明の実施形態による電子楽器のハードウエア構成を示すブロック図である。
【図2】操作パネル及び表示器を示す図である。
【図3】バッファを介して外部記憶装置にオーディオデータを記録する方法を示す図である。
【図4】図4(A)はキャンセルスイッチが押されたときの処理を示す図であり、図4(B)は停止スイッチが押されたときの処理を示す図である。
【図5】電子楽器が行うメインルーチンの処理を示すフローチャートである。
【図6】録音スイッチが押され、録音スイッチイベントが発生したときの処理を示すフローチャートである。
【図7】電子楽器の割り込み処理を示すフローチャートである。
【図8】キャンセルスイッチが押され、キャンセルスイッチイベントが発生したときの処理を示すフローチャートである。
【図9】停止スイッチが押され、停止スイッチイベントが発生したときの処理を示すフローチャートである。
【符号の説明】
101 バス
102 外部インファーフェース
103 CPU
104 操作パネル及び表示器
105 ROM
106 RAM
107 外部記憶装置
108 音源
109 波形ROM
110 DSP
111 外部入力端子
112 アナログ−デジタルコンバータ
113 シリアル−パラレルコンバータ
114 パラレル−シリアルコンバータ
115 加算器
116 デジタル−アナログコンバータ
117 アンプ
118 スピーカ
119 鍵盤
121,122 乗算器
123,124 加算器
201 「演奏」選択スイッチ
202 「マイク」選択スイッチ
203 「演奏及びマイク」選択スイッチ
211 キャンセルLED
212 録音LED
213 再生LED
221 キャンセルスイッチ
222 録音スイッチ
223 再生スイッチ
224 停止スイッチ
225 選曲マイナススイッチ
226 選曲プラススイッチ
227 録音選択スイッチ
231 液晶表示器[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a recording device and an electronic musical instrument, and more particularly to a recording device and an electronic musical instrument for recording data.
[0002]
[Prior art]
By using a personal computer or the like, audio data can be recorded on a CD-R / RW (storage means). At this time, the audio data is temporarily recorded on a large-capacity hard disk (large-capacity memory), and then the audio data is recorded from the hard disk to a CD-R / RW. In this case, a large-capacity hard disk is required, which increases the cost.
[0003]
[Problems to be solved by the invention]
In electronic musical instruments, there is a demand for recording audio data played in real time on a CD-R / RW. However, if a hard disk is mounted on an electronic musical instrument, it becomes expensive. Also, even if the performance fails, it is impossible or difficult to delete the audio data recorded in real time from the CD-R / RW.
[0004]
An object of the present invention is to provide a recording apparatus which does not require a large-capacity memory (such as a hard disk) and cancels data recording so that a recording area of a storage unit (such as a CD-R / RW) can be effectively used. To provide electronic musical instruments.
[0005]
[Means for Solving the Problems]
According to one aspect of the present invention, a buffer for buffering data, storage means for recording data via the buffer, recording instruction means for instructing data recording, and data recording Cancel instructing means for instructing canceling, and when a cancel instruction is issued by the cancel instructing means from when the recording instruction is issued by the recording instructing means to when the first predetermined amount of data is buffered in the buffer. There is provided a recording apparatus comprising: a recording control unit that does not record the buffered data in the storage unit and records the buffered data in the storage unit unless a cancel instruction is issued by the cancel instruction unit.
[0006]
According to another aspect of the present invention, a keyboard for a player to perform a performance operation, a buffer for buffering data, storage means for recording data via the buffer, and recording of data. Recording instructing means for instructing, cancel instructing means for instructing to cancel data recording, and a period from when the recording is instructed by the recording instructing means until the first predetermined amount of data is buffered in the buffer. A recording control unit that does not record the buffered data in the storage unit when the cancel instruction is issued by the cancel instruction unit, and records the buffered data in the storage unit unless the cancel instruction is issued by the cancel instruction unit. Electronic musical instrument comprising:
[0007]
Data recording can be canceled during the period from when data recording is instructed to when the first predetermined amount of data is buffered in the buffer. For example, when recording in real time, if the recording fails, the recording can be canceled, and the recording area of the storage means (CD-R / RW or the like) can be effectively used without wasting. Also, a small-capacity buffer for buffering a predetermined amount of data may be prepared, and a large-capacity memory such as a hard disk is not required, so that the cost can be reduced.
[0008]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 1 is a block diagram showing a hardware configuration of the electronic musical instrument according to the embodiment of the present invention. To the
[0009]
The
[0010]
The
[0011]
The
[0012]
The
[0013]
FIG. 2 shows the operation panel and the
[0014]
The
[0015]
1, the
[0016]
Next, a reproduction method when the
[0017]
Next, the sound generation processing of the electronic musical instrument will be described. The
[0018]
The
[0019]
FIG. 3 shows a method of recording audio data in the
[0020]
FIG. 4A is a diagram showing processing when the cancel
[0021]
FIG. 4B is a diagram showing processing when the
[0022]
As described above, between the time when the data recording is instructed by pressing the
[0023]
FIG. 5 is a flowchart showing the processing of the main routine performed by the electronic musical instrument. When the power of the electronic musical instrument is turned on, the following processing is performed. In step S501, initial settings such as a buffer and a flag are performed. Next, in step S502, a process corresponding to an operation of a switch (operator) on the operation panel 104 (FIG. 1) is performed. Details of this processing will be described later with reference to FIGS. Next, in step S503, keyboard processing is performed. The keyboard processing detects key information including key depression information (key-on event) and key release information (key-off event) according to the operation of the
[0024]
FIG. 6 is a flowchart showing processing when the
[0025]
FIG. 7 is a flowchart showing the interrupt processing of the electronic musical instrument. This process is an interrupt process that is periodically performed by a signal from the
[0026]
FIG. 8 is a flowchart showing processing when the cancel
[0027]
FIG. 9 is a flowchart illustrating a process when the
[0028]
As described above, between the time when the data recording is instructed by pressing the
[0029]
For example, when performing real-time recording of a keyboard performance, if the performance fails, the user may want to cancel the recording. In particular, if the music fails immediately after the start of the performance, the user often wants to start recording again. If the input audio data is immediately recorded on an external storage device (such as a CD-R), the recorded data cannot be deleted or is difficult. According to the present embodiment, data recording can be canceled from when the data recording is instructed until the first predetermined amount of data is buffered in the buffer. As a result, at the time of real-time recording, even if the recording fails, the recording can be canceled, and the recording area of the external storage device (CD-R or the like) can be effectively used without wasting. Also, a small-capacity buffer for buffering a predetermined amount of data may be prepared, and a large-capacity memory such as a hard disk is not required, so that the cost can be reduced.
[0030]
Note that the
[0031]
Although the case of the electronic musical instrument has been described above as an example, the present invention is not limited to the electronic musical instrument. For example, the present invention can be applied to a karaoke apparatus. That is, the automatic performance data and / or the singing voice of the microphone-input singer can be recorded in the
[0032]
It should be noted that each of the above-described embodiments is merely an example of a concrete example in carrying out the present invention, and the technical scope of the present invention should not be interpreted in a limited manner. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features.
[0033]
【The invention's effect】
As described above, the data recording can be canceled from when the data recording is instructed until the first predetermined amount of data is buffered in the buffer. For example, when recording in real time, if the recording fails, the recording can be canceled, and the recording area of the storage means (CD-R / RW or the like) can be effectively used without wasting. Also, a small-capacity buffer for buffering a predetermined amount of data may be prepared, and a large-capacity memory such as a hard disk is not required, so that the cost can be reduced.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a hardware configuration of an electronic musical instrument according to an embodiment of the present invention.
FIG. 2 is a diagram showing an operation panel and a display.
FIG. 3 is a diagram illustrating a method of recording audio data in an external storage device via a buffer.
FIG. 4A is a diagram illustrating a process when a cancel switch is pressed, and FIG. 4B is a diagram illustrating a process when a stop switch is pressed.
FIG. 5 is a flowchart illustrating a process of a main routine performed by the electronic musical instrument.
FIG. 6 is a flowchart illustrating processing when a recording switch is pressed and a recording switch event occurs.
FIG. 7 is a flowchart showing interrupt processing of the electronic musical instrument.
FIG. 8 is a flowchart illustrating processing when a cancel switch is pressed and a cancel switch event occurs.
FIG. 9 is a flowchart illustrating processing when a stop switch is pressed and a stop switch event occurs.
[Explanation of symbols]
101
104 operation panel and display 105 ROM
106 RAM
107
110 DSP
111
212 Recording LED
213 Playback LED
221 Cancel
Claims (22)
前記バッファを介してデータを記録するための記憶手段と、
データの記録を指示するための記録指示手段と、
データの記録をキャンセル指示するためのキャンセル指示手段と、
前記記録指示手段により記録指示されてから前記バッファに最初の所定量のデータがバッファリングされるまでの間に、前記キャンセル指示手段によりキャンセル指示されると前記バッファリングしたデータを前記記憶手段に記録せず、前記キャンセル指示手段によりキャンセル指示されなければ前記バッファリングしたデータを前記記憶手段に記録する記録制御手段と
を有する記録装置。A buffer for buffering data,
Storage means for recording data via the buffer,
Recording instruction means for instructing data recording;
Cancel instruction means for instructing to cancel data recording;
When a cancel instruction is given by the cancel instruction means between the time when the recording instruction is given by the recording instruction means and the time when the first predetermined amount of data is buffered in the buffer, the buffered data is recorded in the storage means. A recording control unit that records the buffered data in the storage unit if the cancel instruction is not issued by the cancel instruction unit.
前記記録制御手段は、前記記録指示手段により記録指示されてから前記停止指示手段により停止指示されるまでの間にバッファリングしたデータを前記記憶手段に記録する請求項1記載の記録装置。Furthermore, it has a stop instruction means for instructing to stop recording data,
2. The recording apparatus according to claim 1, wherein the recording control means records the buffered data in the storage means from when the recording instruction is issued by the recording instruction means to when the stop instruction is issued.
データをバッファリングするためのバッファと、
前記バッファを介してデータを記録するための記憶手段と、
データの記録を指示するための記録指示手段と、
データの記録をキャンセル指示するためのキャンセル指示手段と、
前記記録指示手段により記録指示されてから前記バッファに最初の所定量のデータがバッファリングされるまでの間に、前記キャンセル指示手段によりキャンセル指示されると前記バッファリングしたデータを前記記憶手段に記録せず、前記キャンセル指示手段によりキャンセル指示されなければ前記バッファリングしたデータを前記記憶手段に記録する記録制御手段と
を有する電子楽器。A keyboard for performing by the performer,
A buffer for buffering data,
Storage means for recording data via the buffer,
Recording instruction means for instructing data recording;
Cancel instruction means for instructing to cancel data recording;
When a cancel instruction is given by the cancel instruction means between the time when the recording instruction is given by the recording instruction means and the time when the first predetermined amount of data is buffered in the buffer, the buffered data is recorded in the storage means. An electronic musical instrument having recording control means for recording the buffered data in the storage means unless the cancel instruction is given by the cancel instruction means.
前記記録制御手段は、前記オーディオデータを前記記憶手段に記録する請求項10記載の電子楽器。A sound source that generates audio data in accordance with the operation of the keyboard;
The electronic musical instrument according to claim 10, wherein the recording control unit records the audio data in the storage unit.
前記音源が生成するオーディオデータ又は前記外部入力端子から入力されるオーディオデータのいずれかを少なくとも選択可能な選択手段とを有し、
前記記録制御手段は、前記選択手段により選択されたオーディオデータを前記記憶手段に記録する請求項12記載の電子楽器。Furthermore, an external input terminal for inputting audio data from outside,
Selecting means for selecting at least one of audio data generated by the sound source or audio data input from the external input terminal,
13. The electronic musical instrument according to claim 12, wherein the recording control unit records the audio data selected by the selection unit in the storage unit.
前記音源が生成するオーディオデータ、前記外部入力端子から入力されるオーディオデータ、及びそれら両者を加算したオーディオデータのうちのいずれか1つを選択可能な選択手段とを有し、
前記記録制御手段は、前記選択手段により選択されたオーディオデータを前記記憶手段に記録する請求項12記載の電子楽器。Furthermore, an external input terminal for inputting audio data from outside,
Selecting means for selecting any one of audio data generated by the sound source, audio data input from the external input terminal, and audio data obtained by adding both of them;
13. The electronic musical instrument according to claim 12, wherein the recording control unit records the audio data selected by the selection unit in the storage unit.
前記記録制御手段は、前記外部入力端子から入力されるオーディオデータを前記記憶手段に記録する請求項10記載の電子楽器。Furthermore, it has an external input terminal for inputting audio data from outside,
The electronic musical instrument according to claim 10, wherein the recording control unit records audio data input from the external input terminal in the storage unit.
前記記録制御手段は、前記記録指示手段により記録指示されてから前記停止指示手段により停止指示されるまでの間にバッファリングしたデータを前記記憶手段に記録する請求項10記載の電子楽器。Furthermore, it has a stop instruction means for instructing to stop recording data,
The electronic musical instrument according to claim 10, wherein the recording control unit records the buffered data in the storage unit after the recording instruction is given by the recording instruction unit until the stop instruction is given by the stop instruction unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002197362A JP2004039166A (en) | 2002-07-05 | 2002-07-05 | Recording device and electronic musical instrument |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002197362A JP2004039166A (en) | 2002-07-05 | 2002-07-05 | Recording device and electronic musical instrument |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2004039166A true JP2004039166A (en) | 2004-02-05 |
Family
ID=31705155
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002197362A Pending JP2004039166A (en) | 2002-07-05 | 2002-07-05 | Recording device and electronic musical instrument |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2004039166A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007018561A (en) * | 2005-07-05 | 2007-01-25 | Canon Inc | Data recording apparatus and control method of the apparatus |
| CN116508391A (en) * | 2020-10-22 | 2023-07-28 | 上海诺基亚贝尔股份有限公司 | Failed to cancel the record |
-
2002
- 2002-07-05 JP JP2002197362A patent/JP2004039166A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007018561A (en) * | 2005-07-05 | 2007-01-25 | Canon Inc | Data recording apparatus and control method of the apparatus |
| CN116508391A (en) * | 2020-10-22 | 2023-07-28 | 上海诺基亚贝尔股份有限公司 | Failed to cancel the record |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3835324B2 (en) | Music playback device | |
| JP2013050530A (en) | Recording and reproducing device, and program | |
| JP2001195054A (en) | Musical instrument | |
| JP4321476B2 (en) | Electronic musical instruments | |
| JP2006106641A (en) | Electronic musical device | |
| JP2004039166A (en) | Recording device and electronic musical instrument | |
| JP4107212B2 (en) | Music playback device | |
| JP3539188B2 (en) | MIDI data processing device | |
| US6201177B1 (en) | Music apparatus with automatic pitch arrangement for performance mode | |
| JP5838563B2 (en) | Electronic musical instruments and programs | |
| JP4255871B2 (en) | Electronic musical instrument display device | |
| JP2004039142A (en) | Data playback device and electronic musical instrument | |
| JP4737403B2 (en) | Electronic music apparatus, server apparatus, and computer program respectively applied to both apparatuses | |
| JPH11219175A (en) | Automatic performance device | |
| JP3879684B2 (en) | Song data conversion apparatus and song data conversion program | |
| JP4515382B2 (en) | Recorder | |
| JP4315116B2 (en) | Electronic music equipment | |
| JP2548723Y2 (en) | Music playback device | |
| JP5200384B2 (en) | Electronic musical instruments and programs | |
| JP4094441B2 (en) | Electronic musical instruments | |
| JP3970114B2 (en) | Electronic musical instrument, automatic accompaniment method, computer program, and computer-readable recording medium | |
| JP2007322544A (en) | Music reproducing device | |
| JP2024151503A (en) | Electronic device, electronic musical instrument, control method and program | |
| JP3758041B2 (en) | Musical sound control data generator | |
| KR100652902B1 (en) | Electronic music equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050221 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20061120 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20061128 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20070403 |