JP4062202B2 - Musical sound generator and musical sound generation processing program - Google Patents
Musical sound generator and musical sound generation processing program Download PDFInfo
- Publication number
- JP4062202B2 JP4062202B2 JP2003278281A JP2003278281A JP4062202B2 JP 4062202 B2 JP4062202 B2 JP 4062202B2 JP 2003278281 A JP2003278281 A JP 2003278281A JP 2003278281 A JP2003278281 A JP 2003278281A JP 4062202 B2 JP4062202 B2 JP 4062202B2
- Authority
- JP
- Japan
- Prior art keywords
- external media
- input
- information
- external
- media information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Electrophonic Musical Instruments (AREA)
Description
本発明は、楽音発生装置および楽音発生処理のプログラムに関し、特に、外部記録媒体に記録されている楽音情報、画像情報又はその他の情報と演奏データとを合成して楽音を発生する楽音発生装置および楽音発生処理のプログラムに関するものである。 The present invention relates to a musical tone generator and a program for musical tone generation processing, and in particular, a musical tone generator that generates musical tone by synthesizing musical tone information, image information or other information recorded on an external recording medium and performance data, and The present invention relates to a musical sound generation processing program.
電子鍵盤楽器のように演奏手段として鍵盤を具備した楽音発生装置の中には、自動演奏機能を持ったものが多い。ユーザは、曲メモリなどの内部記憶媒体にあらかじめ格納されている自動演奏データによって、鍵盤でメロディパートを演奏しながらコードパートやリズムパートを同期させて演奏することができる。また、拍手の音、街中の雑踏の音、波の音などの効果音からなるオーディオデータと自動演奏データとが記録されている特別仕様の専用CDを用いて、オーディオデータの再生および自動演奏データに基づく自動演奏を同時に行う自動演奏装置の提案がある。 Many musical tone generators equipped with a keyboard as a playing means like an electronic keyboard instrument have an automatic performance function. The user can perform the chord part and the rhythm part in synchronism while playing the melody part on the keyboard using automatic performance data stored in advance in an internal storage medium such as a song memory. In addition, audio data playback and automatic performance data using specially-designed dedicated CDs in which audio data consisting of sound effects such as applause, street hustle and wave sounds, and automatic performance data are recorded. There is a proposal of an automatic performance device that simultaneously performs automatic performance based on.
この提案によれば、CDのデジタルデータの単位である1フレームにおいて、1シンボル(8ビット)のサブコードにおけるユーザビット(6ビット)の領域にMIDIメッセージからなる自動演奏データを記録し、24シンボルのオーディオデータの領域に複数パートの楽音情報や効果音の情報を記録する。CDの再生時には、サブコードの自動演奏データを読み出して自動演奏を行い、自動演奏中に所定のタイミングで同期をとりながらオーディオ領域に記録されているパート曲もしくは効果音を再生することができる(特許文献1参照)。
ところが従来の楽音発生装置においては、市販されている一般的なCDの楽音情報の再生と同時進行で演奏をしたいというユーザの要求を叶えることができなかった。この対策として、鍵盤の演奏データとCDの再生データとを曲メモリなどの内部記憶媒体に録音して、録音後に再生するという方法が考えられる。しかしながら、CDに記録されている楽音情報の波形データのデータ量は多すぎて、それを録音するためには大容量の曲メモリを必要するため、汎用の電子鍵盤楽器などの楽音発生装置で実現することは事実上不可能に近い。楽音情報だけでなく、DVDなどのディスクに記録されたアニメーションデータなどの画像情報の再生と同時進行で演奏をしたいというユーザの要求もあるが、画像情報の波形データのデータ量は膨大であるため、それを記録して演奏データに同期して再生することは、汎用の楽音発生装置では実現することは極めて困難である。
本発明は、楽音情報、画像情報、又はその他の情報が記録されている一般的な外部記録媒体の再生と同時進行で、演奏をしたいというユーザの要求を可能にする楽音発生装置および楽音発生処理のプログラムを提供することを目的とする。
However, in the conventional musical tone generator, it has been impossible to fulfill the user's request to play a musical performance simultaneously with the reproduction of general musical tone information of a commercially available CD. As a countermeasure, it is conceivable to record keyboard performance data and CD playback data in an internal storage medium such as a song memory and play back after recording. However, since the volume of the waveform data of the musical sound information recorded on the CD is too large and a large-capacity music memory is required to record it, it is realized with a musical sound generator such as a general-purpose electronic keyboard instrument. It is virtually impossible to do. Although there is a user's request to play not only musical sound information but also image information such as animation data recorded on a disk such as a DVD at the same time, the amount of waveform data of image information is enormous. Recording this and reproducing it in synchronization with the performance data is extremely difficult to achieve with a general-purpose musical sound generator.
The present invention relates to a tone generator and a tone generation process that enable a user's request to play a musical performance at the same time as reproduction of a general external recording medium in which musical tone information, image information, or other information is recorded. The purpose is to provide a program.
請求項1に記載の楽音発生装置は、音源に対して楽音の発生を指示するためのイベントデータを入力させる第1の入力手段と、接続された外部記憶媒体に記憶されている情報の内容を検索するための外部メディア情報を入力する第2の入力手段と、録音モードに設定する録音モード設定手段と、再生モードに設定する再生モード設定手段と、録音モードが設定されている場合に、前記第1の入力手段にイベントデータが入力されたか否か判別する判別手段と、この判別手段によりイベントデータが入力されたと判別された場合は、当該イベント及びその入力タイミングを記憶手段に記憶するイベント録音手段と、前記判別手段によりイベントデータが入力されていないと判別された場合に、前記接続された外部記憶媒体の再生が開始されたか否かを検出する検出手段と、この検出手段により再生の開始が検出された場合は、前記第2の入力手段から入力される外部メディア情報及び当該再生開始タイミングを前記記憶手段に記憶させる外部メディア録音手段と、再生モードが設定されている場合に、前記記憶手段に記憶されたイベントデータを対応する入力タイミングに基づいて読み出して前記音源に送出するとともに、前記記憶された外部メディア情報を対応する再生開始タイミングに基づいて読み出し、この読み出された外部メディア情報に基づいて前記接続された外部記憶媒体から情報を検索して再生する再生手段と、を備えた構成になっている。 According to another aspect of the present invention, there is provided a musical sound generating apparatus comprising: first input means for inputting event data for instructing a sound source to generate musical sound; and information stored in a connected external storage medium. When the second input means for inputting external media information for searching, the recording mode setting means for setting the recording mode, the playback mode setting means for setting the playback mode, and the recording mode are set, A determination unit that determines whether or not event data is input to the first input unit, and an event recording that stores the event and its input timing in the storage unit when the determination unit determines that the event data has been input. And whether or not the connected external storage medium is started when it is determined by the determination means that the event data has not been input. Detecting means for detecting whether or not the start of reproduction is detected by the detecting means, and external media recording for storing the external media information inputted from the second input means and the reproduction start timing in the storage means And when the reproduction mode is set, the event data stored in the storage means is read out based on the corresponding input timing and sent to the sound source, and the stored external media information is correspondingly reproduced. And a reproducing unit that reads out based on the start timing and retrieves and reproduces information from the connected external storage medium based on the read-out external media information .
この場合において、請求項2に記載したように、前記録音モード設定手段は、録音モードに設定したときに、前記接続された外部記録媒体に記憶されている外部メディア情報を前記記憶手段に記憶し、前記再生モード設定手段は、再生モードに設定したときに、前記前記接続された外部記録媒体に記憶されている外部メディア情報と前記記憶手段に記憶された外部メディア情報とが一致するか否か判別し、一致していない場合はエラー表示を行うように構成してもよい。
In this case, as described in
請求項3に記載の楽音発生処理のプログラムは、音源に対して楽音の発生を指示するためのイベントデータを入力する第1の入力手段と、接続された外部記憶媒体に記憶されている情報の内容を検索するための外部メディア情報が入力される第2の入力手段と、を有する楽音発生装置に適用されるコンピュータに、録音モードに設定する録音モード設定ステップと、再生モードに設定する再生モード設定ステップと、録音モードが設定されている場合に、前記第1の入力手段にイベントデータが入力されたか否か判別するステップと、このイベントデータが入力されたと判別された場合は、当該イベント及びその入力タイミングを記憶手段に記憶するイベント録音ステップと、前記イベントデータが入力されていないと判別された場合に、前記接続された外部記憶媒体の再生が開始されたか否かを検出する検出ステップと、再生の開始が検出された場合は、前記第2の入力手段から入力される外部メディア情報及び当該再生開始タイミングを前記記憶手段に記憶させる外部メディア録音ステップと、再生モードが設定されている場合に、前記記憶手段に記憶されたイベントデータを対応する入力タイミングに基づいて読み出して前記音源に送出するとともに、前記記憶された外部メディア情報を対応する再生開始タイミングに基づいて読み出し、この読み出された外部メディア情報に基づいて前記接続された外部記憶媒体から情報を検索して再生する再生ステップと、を実行させるような構成になっている。 According to a third aspect of the present invention, there is provided a program for generating musical sounds, the first input means for inputting event data for instructing the sound source to generate musical sounds, and the information stored in the connected external storage medium. A recording mode setting step for setting a recording mode in a computer applied to a musical sound generating apparatus, and a playback mode for setting the playback mode; A setting step; a step of determining whether or not event data has been input to the first input means when the recording mode is set; and a step of determining whether or not the event data has been input; An event recording step for storing the input timing in the storage means, and when it is determined that the event data is not input, A detection step for detecting whether or not playback of the connected external storage medium has started, and if the start of playback is detected, the external media information input from the second input means and the playback start timing are When the external media recording step to be stored in the storage means and the playback mode are set, the event data stored in the storage means is read out based on the corresponding input timing and sent to the sound source, and the storage A reproduction step of reading out the read external media information based on the corresponding playback start timing, searching for information from the connected external storage medium based on the read external media information, and playing back the information. It is the composition.
本発明の楽音発生装置又は楽音発生処理のプログラムは、外部記録媒体に記録されている情報の代わりに、その情報を検索するための外部メディア情報を演奏データとともに記録することによって、楽音情報、画像情報、又はその他の情報が記録されている一般的な外部記録媒体の再生と同時進行で、演奏をしたいというユーザの要求を可能にするという効果が得られる。 The musical sound generating apparatus or musical sound generating processing program of the present invention records musical information, images by recording external media information for searching for the information together with performance data instead of the information recorded on the external recording medium. As a result, it is possible to obtain an effect of enabling a user to desire to perform at the same time as reproduction of a general external recording medium in which information or other information is recorded.
以下、本発明による楽音発生装置の第1ないし第3の実施形態について、電子鍵盤楽器を例に採って説明する。
図1は、第1の実施形態における電子鍵盤楽器の構成を示すブロック図である。図1において、CPU1は、システムバス2を介して、プログラムROM3、ワークRAM4、曲メモリ5、表示部6、鍵盤7、スイッチ部8、音源部9、CD再生装置10に接続され、これら各部との間でコマンドおよびデータの授受を行って、この装置全体を制御する。また、音源部9およびCD再生装置10には、サウンドシステム11が接続されている。サウンドシステム11は、音源部9から出力される楽音の波形データおよびCD再生装置10から出力されるCD情報の波形データをアナログ信号に変換するD/A変換回路、そのアナログ信号の楽音波形を増幅する増幅回路、およびスピーカ(いずれも図示せず)などで構成されている。
Hereinafter, the first to third embodiments of the musical sound generating apparatus according to the present invention will be described by taking an electronic keyboard instrument as an example.
FIG. 1 is a block diagram showing the configuration of the electronic keyboard instrument in the first embodiment. In FIG. 1, a
プログラムROM3には、CPU1によって実行される楽音発生処理のプログラム、およびそのプログラムの起動時の初期データが格納されている。ワークRAM4は、CPU1によって処理されるデータを一時的にストアするワークエリアであり、例えば、レジストレーション処理における音色、エフェクト、リズムなどの情報を記録する登録エリア、および、登録エリアに記憶された情報を演奏の際に設定する設定エリアなどがある。そのほか、各種のレジスタやフラグなどがワークRAM4に設けられている。曲メモリ5には、鍵盤7の操作による演奏データおよびCD再生装置10などから得られるデータが記憶される。その記憶されるデータについては後述する。表示部6は、この装置の状態や操作の手順を示すメッセージ、CD再生装置10から得られる画像データ、例えば、楽譜データ、歌詞データ、アニメーションデータなどが表示される。
The
鍵盤7は、任意の鍵の押鍵操作や離鍵操作に応じてその鍵の鍵番号に対応する音高データおよび押鍵の強さに応じたベロシティデータからなるイベントデータ、並びに、イベント間の時間を示すタイムデータからなる演奏データをCPU1に入力する。スイッチ部8は、図には示さないが、サウンドシステム11から発音する楽音の音色を設定する音色スイッチ、音色を含む楽音発生の複数種類の条件を一括して設定するレジストレーションスイッチ、録音スイッチ、再生スイッチ、モード切替スイッチなどで構成されている。音源部9は、各種の音色に応じた波形データを格納する波形メモリ又はDSP(図示せず)を内蔵し、CPU1の発音コマンドおよび演奏データに基づいて、楽音の波形データを発生してサウンドシステム11に出力する。
The keyboard 7 includes event data composed of pitch data corresponding to the key number of the key and velocity data corresponding to the strength of the key in response to a key pressing operation or a key releasing operation of an arbitrary key, and between events. Performance data consisting of time data indicating time is input to the
CD再生装置10は、楽音情報が記録された外部メディアである一般的なCD、又はデータの圧縮率が高いMP3(MPEG―1 Audio Layer 3)の楽音情報が記録されたCD、又はファイル形式の情報が記録されたCD−ROMを再生する。このため、CD再生装置10の内部には、CDやCD−ROMを駆動するための、ターンテーブル、スピンドルモータ、光ピックアップ、サーボ回路、信号処理回路などからなるCDドライバ101、CDやCD−ROMに記録された情報を波形データに変換するCD−ROM/MP3デコーダ102、CDやCD−ROMである外部メディアに記録された情報およびその情報の内容を検索するための外部メディア情報(CDの場合は、TOC;Table Of Contens)を処理するCD−DSP103、CPU1との間のインターフェースをとるCD−I/F104がある。
The
図2は、図1の曲メモリ5に記憶される曲データの構成を示す図である。図2(1)に示すように、曲データはヘッダデータとタイムおよびイベントからなる演奏データで構成される。このヘッダデータは、設定されているモード(これについては後述する)および再生されるCDの情報に応じて異なるデータ構成になっている。
図2(2)は、一般的なCDのヘッダデータの内容であり、音色設定およびエフェクト設定からなる本体設定情報のデータと、同期再生のCDトラックナンバおよびCD総演奏時間からなる外部メディア情報とで構成されている。
図2(3)は、MP3の楽音情報が記録されたCDのヘッダデータの内容であり、音色設定およびエフェクト設定からなる本体設定情報のデータは図2(2)と同じであるが、外部メディア情報は同期再生のCD内のMP3ファイル名になっている。
図2(4)は、音色設定およびエフェクト設定からなる本体設定情報のデータのみでヘッダデータが構成されている。ただし、演奏データの中にCD内のWAVファイル名が挿入されている。これは、鍵盤7の演奏の途中においてCDの外部メディア情報であるWAVファイル名を曲メモリ5に記録した状態を示している。
FIG. 2 is a diagram showing a configuration of song data stored in the
FIG. 2 (2) shows the contents of general CD header data, including main body setting information data including tone color settings and effect settings, external media information including synchronized playback CD track number and total CD performance time. It consists of
FIG. 2 (3) shows the contents of the header data of the CD on which the MP3 musical tone information is recorded. The data of the main body setting information consisting of tone color settings and effect settings is the same as that of FIG. The information is the MP3 file name in the synchronized playback CD.
In FIG. 2 (4), the header data is composed only of the data of the main body setting information including the timbre setting and the effect setting. However, the WAV file name in the CD is inserted in the performance data. This shows a state in which the WAV file name, which is the external media information of the CD, is recorded in the
次に、第1の実施形態における楽音発生処理の動作について、図3ないし図11に示すCPU1の動作フローチャートに基づいて説明する。
図3は、メインフローチャートであり、所定のイニシャライズ(ステップSA1)の後、スイッチ部8の操作を検出するスイッチ処理(ステップSA2)、鍵盤7の操作を検出する鍵盤処理(ステップSA3)、鍵盤7の操作による演奏データなどを曲メモリ5に記録する録音処理(ステップSA4)、曲メモリ5に記録した内容を再生する再生処理(ステップSA5)、その他の処理(ステップSA6)を繰り返し実行する。
Next, the operation of the tone generation process in the first embodiment will be described based on the operation flowchart of the
FIG. 3 is a main flowchart. After predetermined initialization (step SA1), switch processing (step SA2) for detecting the operation of the
図4は、図3のメインフローチャートにおけるステップSA2のスイッチ処理のフローチャートである。このフローチャートでは、各スイッチの操作状態を検出する。すなわち、レジストレーションスイッチ処理(ステップSB1)、録音スイッチ処理(ステップSB2)、再生スイッチ処理(ステップSB3)、モード切替スイッチ処理(ステップSB4)、その他のスイッチ処理(ステップSB5)を実行する。 FIG. 4 is a flowchart of the switch process in step SA2 in the main flowchart of FIG. In this flowchart, the operation state of each switch is detected. That is, registration switch processing (step SB1), recording switch processing (step SB2), playback switch processing (step SB3), mode switch processing (step SB4), and other switch processing (step SB5) are executed.
図5は、図4のスイッチ処理におけるステップSB4のモード切替スイッチ処理のフローチャートである。まず、モード切替スイッチが操作されたか否かを判別する(ステップSC1)。操作されない場合にはこのフローチャートを終了するが、このスイッチが操作されたときは、スイッチ操作によって曲メモリ5のヘッダに記録する内容を判別する。すなわち、本体設定情報および外部メディア情報を記録する設定か否かを判別し(ステップSC2)、この設定である場合には、モードフラグMFを0にセットする(ステップSC3)。本体設定情報のみを記録する設定であるか否かを判別し(ステップSC4)、この設定である場合には、MFを1にセットする(ステップSC5)。外部メディア情報のみを記録する設定であるか否かを判別し(ステップSC6)、この設定である場合にはMFを2に設定する(ステップSC7)。MFをいずれかの値にセットした後は、図4のスイッチ処理に戻る。
FIG. 5 is a flowchart of the mode changeover switch process of step SB4 in the switch process of FIG. First, it is determined whether or not the mode switch has been operated (step SC1). If the switch is not operated, this flowchart is terminated. When this switch is operated, the contents recorded in the header of the
図6は、図4のスイッチ処理におけるステップSB1のレジストレーションスイッチ処理のフローチャートである。このフローチャートにおいては、記録操作であるか又は読出操作であるかによって処理が分岐する。記録操作の場合にはワークRAM4の登録エリアにレジストレーションの内容を登録し、読出操作の場合にはワークRAM4の登録エリアの内容を設定エリアに転送して、音色、エフェクト、リズムなどの発音条件を設定する。
FIG. 6 is a flowchart of the registration switch process of step SB1 in the switch process of FIG. In this flowchart, the process branches depending on whether the operation is a recording operation or a reading operation. In the case of a recording operation, the contents of registration are registered in the registration area of the
まず、楽音発生の記録操作であるか否かを判別し(ステップSD1)、記録操作である場合には、MFの値に応じて処理が分岐する。すなわち、MFが0であるか否かを判別し(ステップSD2)、MFが0である場合には、現在の本体設定状態をワークRAM4の登録エリアにストアする(ステップSD3)。次に、外部メディア(この場合は、CD又はCD−ROM)があるか否かを判別し(ステップSD4)、外部メディアがある場合には、外部メディア情報であるトラックナンバ又はファイル名を登録エリアにストアする(ステップSD5)。なお、外部メディアがない場合には、表示部6にエラー表示をしてもよい。
First, it is determined whether or not the recording operation is a musical sound generation (step SD1). That is, it is determined whether or not MF is 0 (step SD2). If MF is 0, the current main body setting state is stored in the registration area of work RAM 4 (step SD3). Next, it is determined whether or not there is an external medium (in this case, a CD or a CD-ROM) (step SD4). If there is an external medium, a track number or file name which is external media information is registered in the registration area. (Step SD5). If there is no external media, an error may be displayed on the
ステップSD2においてMFが0でない場合には、MFが1であるか否かを判別する(ステップSD6)。MFが1である場合には、本体設定状態を登録エリアにストアする(ステップSD7)。MFが1でもない場合にはMFは2にセットされているので、外部メディアがあるか否かを判別する(ステップSD8)。外部メディアがある場合には、外部メディア情報であるトラックナンバ又はファイル名を登録エリアにストアする(ステップSD9)。外部メディアがない場合には、ワークRAM4の登録エリアから読み出して設定エリアにストアすべきデータが何もない状態になるので、表示部6にエラー表示をして(ステップSD10)、図4のスイッチ処理に戻る。
If MF is not 0 in step SD2, it is determined whether or not MF is 1 (step SD6). When MF is 1, the main body setting state is stored in the registration area (step SD7). If the MF is not 1, the MF is set to 2, so it is determined whether there is an external medium (step SD8). If there is an external medium, the track number or file name as external media information is stored in the registration area (step SD9). When there is no external medium, there is no data to be read from the registration area of the
ワークRAM4にデータが記録された後は、読出操作がされたか否かを判別し(ステップSD11)、読出操作がされたときは、MFが0又は1であるか否かを判別する(ステップSD12)。MFが0又は1である場合には、登録エリアに記録されているデータに基づき本体設定をする(ステップSD13)。また、外部メディア情報であるトラックナンバ又はファイル名が登録されているか否かを判別し(ステップSD)、登録されている場合には、その外部メディア情報をワークRAM4の設定エリアにストアする(ステップSD15)。ステップSD12においてMFが2である場合には、外部メディア情報をワークRAM4の設定エリアにストアする(ステップSD15)。外部メディア情報を設定エリアにストアした後、又は、ステップSD11において読出操作でない場合、若しくは、ステップSD14において外部メディア情報が登録エリアに記録されていない場合には、図4のスイッチ処理のフローチャートに戻る。
After data is recorded in the
図7は、図4のスイッチ処理におけるステップSB2の録音スイッチ処理のフローチャートである。まず、録音スイッチが操作されたか否かを判別し(ステップSE1)、このスイッチが操作されない場合には、このフローチャートを終了する。このスイッチが操作されたときは、MFが0であるか否かを判別し(ステップSE2)、MFが0である場合には、音色やエフェクト情報を曲メモリ5のヘッダにストアする(ステップSE3)。次に、外部メディアがあるか否かを判別し(ステップSE4)、外部メディアがある場合には、外部メディア情報であるトラックナンバ又はファイル名をヘッダにストアする(ステップSE5)。次に、外部メディアの再生を開始する(ステップSE6)。ステップSE4において、外部メディアがない場合には、表示部6にエラー表示をしてもよい。
FIG. 7 is a flowchart of the recording switch process of step SB2 in the switch process of FIG. First, it is determined whether or not the recording switch has been operated (step SE1). If this switch has not been operated, this flowchart is terminated. When this switch is operated, it is determined whether or not MF is 0 (step SE2). If MF is 0, timbre and effect information are stored in the header of the song memory 5 (step SE3). ). Next, it is determined whether or not there is an external medium (step SE4). If there is an external medium, the track number or file name as external media information is stored in the header (step SE5). Next, playback of the external media is started (step SE6). In step SE4, when there is no external medium, an error may be displayed on the
ステップSE2においてMFが0でない場合には、MFが1であるか否かを判別する(ステップSE7)。MFが1である場合には、音色やエフェクト情報をヘッダにストアする(ステップSE8)。MFが1でもない場合にはMFは2にセットされているので、外部メディアがあるか否かを判別する(ステップSE9)。外部メディアがある場合には、外部メディア情報であるトラックナンバ又はファイル名をヘッダにストアする(ステップSE10)。次に、外部メディアの再生を開始する(ステップSE6)。ステップSE9において、外部メディアがない場合には、録音すべきデータがないので表示部6にエラー表示をして(ステップSE11)、図4のスイッチ処理に戻る。次に、録音フラグRFを1にセットし、再生フラグPFを0にリセットする(ステップSE12)。そして、アドレスポインタを曲データの先頭に移動して(ステップSE13)、レジスタtを0にクリアする(ステップSE14)。次に、タイマインタラプト禁止を解除する(ステップSE15)。そして、図4のスイッチ処理に戻る。 If MF is not 0 in step SE2, it is determined whether or not MF is 1 (step SE7). If MF is 1, the timbre and effect information are stored in the header (step SE8). If the MF is not 1, the MF is set to 2, so it is determined whether there is an external medium (step SE9). If there is an external medium, the track number or file name as external media information is stored in the header (step SE10). Next, playback of the external media is started (step SE6). If there is no external media in step SE9, there is no data to be recorded, so an error is displayed on the display unit 6 (step SE11), and the process returns to the switch process in FIG. Next, the recording flag RF is set to 1, and the reproduction flag PF is reset to 0 (step SE12). Then, the address pointer is moved to the beginning of the music data (step SE13), and the register t is cleared to 0 (step SE14). Next, the timer interrupt prohibition is canceled (step SE15). And it returns to the switch process of FIG.
図8は、図4のスイッチ処理におけるステップSB3の再生スイッチ処理のフローチャートである。まず、再生スイッチが操作されたか否かを判別し(ステップSF1)、このスイッチが操作されない場合には、このフローチャートを終了する。このスイッチが操作されたときは、録音フラグRFを0にリセットし、再生フラグPFを1にセットする(ステップSF2)。次に、曲メモリのヘッダにある音色やエフェクタを設定する(ステップSF3)。この後、現在の外部メディア情報を読み込み(ステップSF4)、読み込まれた情報とヘッダの情報とが一致するか否かを判別する(ステップSF5)。 FIG. 8 is a flowchart of the regeneration switch process of step SB3 in the switch process of FIG. First, it is determined whether or not the regeneration switch has been operated (step SF1). If this switch has not been operated, this flowchart is terminated. When this switch is operated, the recording flag RF is reset to 0, and the reproduction flag PF is set to 1 (step SF2). Next, the tone color and effector in the header of the song memory are set (step SF3). Thereafter, the current external media information is read (step SF4), and it is determined whether or not the read information matches the header information (step SF5).
読み込まれた情報とヘッダの情報とが一致する場合には、ヘッダに記憶されている外部メディア情報に基づき外部メディアの再生を開始する(ステップSF6)。一方、読み込まれた情報とヘッダの情報とが異なる場合には、表示部6に一定時間だけエラー表示をする(ステップSF7)。外部メディアの再生を開始した後、又は、エラー表示をした後は、曲データの先頭アドレスを指定する(ステップSF8)。そして、アドレスに基づき読み出されたタイムをレジスタTにストアし(ステップSF9)、レジスタtを0にクリアする(ステップSF10)。そして、タイマインタラプトの禁止を解除して(ステップSF11)、図4のスイッチ処理に戻る。
If the read information matches the header information, the external media playback is started based on the external media information stored in the header (step SF6). On the other hand, if the read information and the header information are different, an error is displayed on the
図9は、図3のメインフローチャートにおけるステップSA3の鍵盤処理のフローチャートである。鍵盤7を走査して(ステップSG1)、鍵変化があるか否かを判別する(ステップSG2)。鍵変化がない場合にはメインフローチャートに戻るが、オフからオンへの鍵変化があったとき、すなわち、押鍵がされたときは、その鍵番号とベロシティを検出する(ステップSG3)。一方、オンからオフへの鍵変化があったとき、すなわち、離鍵がされたときは、その鍵番号を検出する(ステップSG4)。ステップSG3における鍵番号およびベロシティの検出、又は、ステップSG4における鍵番号の検出の後は、鍵変化に対応したイベントを作成する(ステップSG5)。次に、演奏開始から鍵変化までの経過時間をレジスタTにストアする(ステップSG6)。また、作成したイベントをバッファにストアするとともに(ステップSG7)、そのイベントを音源部9へ送出する(ステップSG8)。そして、図3のメインフローチャートに戻る。 FIG. 9 is a flowchart of the keyboard process in step SA3 in the main flowchart of FIG. The keyboard 7 is scanned (step SG1) to determine whether there is a key change (step SG2). If there is no key change, the process returns to the main flowchart, but when there is a key change from off to on, that is, when a key is pressed, the key number and velocity are detected (step SG3). On the other hand, when the key is changed from on to off, that is, when the key is released, the key number is detected (step SG4). After detecting the key number and velocity in step SG3 or detecting the key number in step SG4, an event corresponding to the key change is created (step SG5). Next, the elapsed time from the performance start to the key change is stored in the register T (step SG6). The created event is stored in the buffer (step SG7), and the event is sent to the sound source unit 9 (step SG8). Then, the process returns to the main flowchart of FIG.
図10は、図3のメインフローチャートにおけるステップSA4の録音処理のフローチャートである。まず、録音フラグRFが1であるか否かを判別し(ステップSH1)、RFが1である場合には、タイマインタラプトの最小単位時間が経過したか否かを判別する(ステップSH2)。RFが0である場合、又は、最小単位時間が経過していない場合には、このフローチャートを終了する。最小単位時間が経過したときは、tの値をインクリメントする(ステップSH3)。 FIG. 10 is a flowchart of the recording process in step SA4 in the main flowchart of FIG. First, it is determined whether or not the recording flag RF is 1 (step SH1). If RF is 1, it is determined whether or not the minimum unit time of the timer interrupt has elapsed (step SH2). When RF is 0, or when the minimum unit time has not elapsed, this flowchart is ended. When the minimum unit time has elapsed, the value of t is incremented (step SH3).
次に、バッファにイベントがあるか否かを判別し(ステップSH4)、イベントがある場合には、アドレスの示すエリアにtの値をストアする(ステップSH5)。次に、アドレスを歩進し(ステップSH6)、アドレスの示すエリアにイベントをストアする(ステップSH7)。そして、バッファをクリアする(ステップSH8)。ステップSH4において、バッファにイベントがない場合には、外部メディアの再生が開始されたか否かを判別し(ステップSH9)、外部メディアの再生が開始されたときは、アドレスの示すエリアにtの値をストアする(ステップSH10)。次に、アドレスを歩進し(ステップSH11)、アドレスの示すエリアに外部メディア情報をストアする(ステップSH12)。 Next, it is determined whether or not there is an event in the buffer (step SH4). If there is an event, the value of t is stored in the area indicated by the address (step SH5). Next, the address is incremented (step SH6), and the event is stored in the area indicated by the address (step SH7). Then, the buffer is cleared (step SH8). In step SH4, if there is no event in the buffer, it is determined whether or not external media playback has started (step SH9). When external media playback has started, the value of t is displayed in the area indicated by the address. Is stored (step SH10). Next, the address is incremented (step SH11), and external media information is stored in the area indicated by the address (step SH12).
ステップSH8においてバッファをクリアした後、又は、ステップSH12において外部メディア情報をストアした後は、アドレスを歩進する(ステップSH13)。このとき、歩進したアドレスが最終アドレスを超えたか否かを判別する(ステップSH14)。歩進したアドレスが最終アドレスを超えた場合には、録音できるエリアがないので、RFを0にリセットし、外部メディアの再生を停止する(ステップSH15)。そして、タイマインタラプトを禁止して(ステップSH16)、図3のメインフローチャートに戻る。ステップSH14において、歩進したアドレスが最終アドレスを超えない場合、又は、ステップSH9において、外部メディアの再生が開始されていない場合には、図3のメインフローチャートに戻る。 After clearing the buffer in step SH8 or storing the external media information in step SH12, the address is incremented (step SH13). At this time, it is determined whether or not the stepped address exceeds the final address (step SH14). If the stepped address exceeds the final address, there is no recording area, so RF is reset to 0 and playback of the external media is stopped (step SH15). Then, the timer interrupt is prohibited (step SH16), and the process returns to the main flowchart of FIG. If the stepped address does not exceed the final address in step SH14, or if the reproduction of the external media is not started in step SH9, the process returns to the main flowchart in FIG.
図11は、図3のメインフローチャートにおけるステップSA5の再生処理のフローチャートである。まず、再生フラグPFが1であるか否かを判別し(ステップSJ1)、PFが1である場合には、タイマインタラプトの最小単位時間が経過したか否かを判別する(ステップSJ2)。最小単位時間が経過したときは、tの値をインクリメントする(ステップSJ3)。そして、tにストアされた時間がTにストアされた時間に達したか否かを判別する(ステップSJ4)。すなわち、再生のタイミングに達したか否かを判別する。tにストアされた時間がTにストアされた時間に達していない場合、又は、ステップSJ1においてRFが0である場合、若しくは、ステップSJ2において最小単位時間が経過していない場合には、このフローチャートを終了する。 FIG. 11 is a flowchart of the reproduction process in step SA5 in the main flowchart of FIG. First, it is determined whether or not the reproduction flag PF is 1 (step SJ1). If PF is 1, it is determined whether or not the minimum unit time of the timer interrupt has elapsed (step SJ2). When the minimum unit time has elapsed, the value of t is incremented (step SJ3). Then, it is determined whether or not the time stored in t has reached the time stored in T (step SJ4). That is, it is determined whether or not the reproduction timing has been reached. If the time stored in t does not reach the time stored in T, or if RF is 0 in step SJ1, or if the minimum unit time has not elapsed in step SJ2, this flowchart Exit.
ステップSJ4においてtの時間がTの時間に達したときは、アドレスを歩進する(ステップSJ5)。このとき、歩進したアドレスが最終アドレスを超えたか否かを判別する(ステップSJ6)。歩進したアドレスが最終アドレスを超えていない場合には、アドレスに基づきデータを読み出す(ステップSJ7)。そして、読み出されたデータが何であるかを判別する(ステップSJ8)。読み出されたデータがタイムである場合には、Tにストアする(ステップSJ9)。そして、図3のメインフローチャートに戻る。 When the time t reaches the time T in step SJ4, the address is incremented (step SJ5). At this time, it is determined whether or not the stepped address exceeds the final address (step SJ6). If the stepped address does not exceed the final address, data is read based on the address (step SJ7). Then, it is determined what the read data is (step SJ8). If the read data is time, it is stored in T (step SJ9). Then, the process returns to the main flowchart of FIG.
読み出されたデータがイベントである場合には、そのイベントを音源部9へ送出する(ステップSJ10)。読み出されたデータが外部メディア情報である場合には、記憶されている情報に基づき外部メディアの再生を開始する(ステップSJ11)。イベントを音源部9へ送出した後、又は、外部メディアの再生を開始した後は、ステップSJ5に移行して、アドレスを歩進して、歩進したアドレスが最終アドレスを超えたか否かを判別する(ステップSJ6)。歩進したアドレスが最終アドレスを超えていない場合には、データ読み出しを続行する。一方、歩進したアドレスが最終アドレスを超えた場合には、PFを0にリセットし(ステップSJ12)、タイマインタラプトを禁止する(ステップSJ13)。そして、図3のメインフローチャートに戻る。 If the read data is an event, the event is sent to the sound source unit 9 (step SJ10). If the read data is external media information, playback of the external media is started based on the stored information (step SJ11). After sending the event to the sound source unit 9 or starting the reproduction of the external media, the process proceeds to step SJ5, and the address is incremented to determine whether the incremented address exceeds the final address. (Step SJ6). If the stepped address does not exceed the final address, data reading is continued. On the other hand, when the stepped address exceeds the final address, the PF is reset to 0 (step SJ12), and the timer interrupt is prohibited (step SJ13). Then, the process returns to the main flowchart of FIG.
以上のように、この第1の実施形態によれば、CPU1は、CDやCD−ROMなどの外部メディアに記録されている外部メディア情報を曲メモリ5のヘッダに記憶して、曲メモリ5の曲エリアに記憶された演奏データであるイベントを読み出して音源部9に供給し、音源部9によって生成される楽音の波形データと、ヘッダに記憶された外部メディア情報に基づいて外部メディアに記録されている情報とを同期させて合成する。したがって、楽音情報が記録されている一般的な外部メディアの再生と同時進行で、演奏をしたいというユーザの要求を可能にする。
As described above, according to the first embodiment, the
この場合において、図8の再生スイッチ処理におけるステップSF5およびステップSF6に示したように、CD再生装置10によって読み込まれた外部メディア情報と、ヘッダに記憶された外部メディア情報とが一致する場合に、ヘッダに記憶された外部メディア情報に基づいて外部メディアの再生を開始する。したがって、演奏データの録音時にヘッダに記憶した外部メディア情報に対応する外部メディアと、再生時にCD再生装置10に着装された外部メディアとが異なる場合には、ヘッダに記憶された外部メディア情報に基づいて外部メディアの再生を行わないので、誤って異なる外部メディアが再生されるのを事前に防止できる。
In this case, as shown in steps SF5 and SF6 in the playback switch process of FIG. 8, when the external media information read by the
なお、上記第1の実施形態においては、CD再生装置10によって読み込まれた外部メディア情報と、ヘッダに記憶された外部メディア情報とが一致するか否かは、図2(2)に示したように、CDのトラックナンバおよびCDの総演奏時間が一致するか否か、又は、図2(3)に示したように、MP3のファイル名が一致するか否かによって外部メディアの同一性を判断する構成にしたが、これ以外の情報によっても外部メディアの同一性を判断することができる。例えば、総ファイル数、同期して合成するファイル名の有無あるいはファイルサイズ、MP3のTag情報のようにファイル内のヘッダ情報、ファイルのフォルダ名あるいはフォルダナンバ、作成日時情報、若しくはファイルのフォーマット情報、又は、これらの中の2つ以上の組み合わせによっても、外部メディアの同一性を判断することができる。
In the first embodiment, whether the external media information read by the
次に、第2の実施形態について説明する。上記第1の実施形態においては、CDやCD−ROMなどのディスクからなる外部メディアに記録された楽音情報を、外部メディア情報に基づいて再生して、演奏データと同期させて合成する構成について説明したが、第2の実施形態においては、フラッシュメモリなどの半導体メモリを内蔵したメモリカードに記録されている楽音情報を演奏データと同期させて合成する。メモリカードの記憶容量は、数メガバイトから数百メガバイトであるので、例えば、MP3のように圧縮された楽音情報を記録できる。すなわち、この第2の実施形態においては、図1のCD再生装置10に代えて、システムバス2に接続可能なインターフェースを有するメモリカード読取装置を備えた構成になる。
Next, a second embodiment will be described. In the first embodiment, a description will be given of a configuration in which musical tone information recorded on an external medium composed of a disc such as a CD or CD-ROM is reproduced based on the external medium information and synthesized in synchronism with performance data. However, in the second embodiment, the musical tone information recorded on the memory card incorporating the semiconductor memory such as the flash memory is synthesized in synchronism with the performance data. Since the storage capacity of the memory card is several megabytes to several hundred megabytes, it is possible to record musical tone information compressed like MP3, for example. That is, in the second embodiment, a memory card reading device having an interface connectable to the
以上のように、この第2の実施形態によれば、CPU1は、メモリカードなどの半導体メモリからなる外部メディアに記録されている外部メディア情報を曲メモリ5のヘッダに記憶して、曲メモリ5の曲エリアに記憶された演奏データであるイベントを読み出して音源部9に供給し、音源部9によって生成される楽音の波形データと、ヘッダに記憶された外部メディア情報に基づいて外部メディアである半導体メモリに記録されている情報とを同期させて合成する。したがって、第1の実施形態と同様に、楽音情報が記録されている一般的な外部メディアの再生と同時進行で、演奏をしたいというユーザの要求を可能にする。
As described above, according to the second embodiment, the
次に、第3の実施形態について説明する。上記第1および第2の実施形態においては、電子鍵盤楽器内に装着された外部メディアを再生して、演奏データと同期させて合成する構成にしたが、外部メディアに記録された楽音情報および外部メディア情報が入力できるならば、必ずしも電子鍵盤楽器内に外部メディアを装着させる必要はない。この第3の実施形態においては、インターネットなどのネットワークを介して接続した外部のサーバから、外部メディアに記録された情報および外部メディア情報を受信する。すなわち、この第3の実施形態においては、図1のCD再生装置10に代えて、ネットワークにアクセスできる通信インターフェースを備えた構成になる。
Next, a third embodiment will be described. In the first and second embodiments, the external media mounted in the electronic keyboard instrument is reproduced and synthesized in synchronism with the performance data. However, the musical sound information recorded on the external media and the external media If media information can be input, it is not always necessary to mount external media in the electronic keyboard instrument. In the third embodiment, information recorded on external media and external media information are received from an external server connected via a network such as the Internet. That is, in the third embodiment, a communication interface capable of accessing the network is provided instead of the
以上のように、この第3の実施形態によれば、CPU1は、ネットワークを介して接続した外部のサーバに記録されている外部メディア情報をダウンロードして曲メモリ5のヘッダに記憶し、曲メモリ5の曲エリアに記憶された演奏データであるイベントを読み出して音源部9に供給し、音源部9によって生成される楽音の波形データと、ヘッダに記憶された外部メディア情報に基づいて、外部のサーバに記録されている楽音情報の波形データやファイルとを同期させて合成する。したがって、第1の実施形態と同様に、楽音情報が記録されている一般的な外部メディアの再生と同時進行で、演奏をしたいというユーザの要求を可能にする。
As described above, according to the third embodiment, the
外部のサーバに記録されている外部メディア情報を得る場合には、サーバからダウンロードする外部メディア情報と、ヘッダに記憶された外部メディア情報とが一致するか否かは、httpのアドレスやhttpのアドレス内のファイル名が一致することによっても外部メディアの同一性を判断することができる。 When obtaining external media information recorded in an external server, whether or not the external media information downloaded from the server matches the external media information stored in the header is determined based on the http address or http address. The identity of the external media can also be determined by matching the file names in the files.
上記第1ないし第3の実施形態において、鍵盤7の操作に応じて入力された演奏データとを同期させて合成する外部メディアの楽音情報としては、スタンダードMIDIファイルの曲データやレッスン用の曲データでもよい。 In the first to third embodiments, the music data of the external media to be synthesized in synchronism with the performance data input in accordance with the operation of the keyboard 7 includes music data of a standard MIDI file and music data for lessons. But you can.
なお、上記第1ないし第3の実施形態においては、鍵盤7の操作に応じて入力された演奏データと、外部メディアに記録された楽音情報とを同期させて合成する構成について説明したが、それ以外のイベントデータと外部メディアに記録された楽音情報とを同期させて合成することも可能である。例えば、スタンダードMIDIファイル(SMF)などの曲データ、レッスン用の曲データ、音色やリズムなどDSPにおける設定データ、MP3、WAV、WMA、AIFなどの圧縮サウンドデータ、又は、自動演奏のレッスンシーケンスの設定データと、外部メディアに記録された楽音情報とを同期させて合成することも可能である。 In the first to third embodiments, the configuration has been described in which the performance data input in response to the operation of the keyboard 7 and the musical tone information recorded on the external medium are synthesized in synchronism. It is also possible to synthesize the event data other than the above and the musical tone information recorded on the external medium in synchronization. For example, music data such as standard MIDI files (SMF), music data for lessons, setting data in DSP such as tone and rhythm, compressed sound data such as MP3, WAV, WMA, AIF, or automatic performance lesson sequence settings It is also possible to synthesize data and musical tone information recorded on an external medium in synchronization.
また、上記第1ないし第3の実施形態においては、外部メディアに記録されている楽音情報と演奏データとを同期させて合成する場合について説明したが、演奏データとを同期させて合成する情報は楽音情報に限定されない。例えば、ビデオカメラによって撮像された画像データ、アニメーションデータ、楽譜データ、歌詞データでもよいし、テキストデータでもよい。 In the first to third embodiments, the case where the musical sound information recorded on the external medium and the performance data are combined in synchronism is described. However, the information to be combined with the performance data in synchronism is described. It is not limited to music information. For example, image data captured by a video camera, animation data, musical score data, lyrics data, or text data may be used.
なおまた、第1の実施形態においては、電子鍵盤楽器内でプログラムROM3にあらかじめ格納された楽音発生処理のプログラムをCPU1が実行する装置の発明について説明したが、外部メディアであるCD−ROM又は第2の実施形態で説明した半導体メモリから書き込み可能なメモリに楽音発生処理のプログラムをインストールして、CPU1が実行する構成も可能である。あるいは、第3の実施形態で説明したように、インターネットなどのネットワークにアクセスできる通信インターフェースを備えることによって、外部のサーバからダウンロードして、書き込み可能なメモリに楽音発生処理のプログラムをインストールして、CPU1が実行する構成も可能である。この場合には、プログラムの発明を実現できる。
In the first embodiment, the invention of an apparatus in which the
すなわち、その楽音発生処理のプログラムは、楽音の波形データを生成するためのイベントデータを入力する第1のステップと、外部記録媒体に記録されている情報およびその情報の内容を検索するための外部メディア情報を入力する第2のステップと、第1のステップによって得られるイベントデータおよび前記第2のステップによって得られる外部メディア情報を所定の記憶手段に記憶する第3のステップと、記憶手段に記憶されたイベントデータを読み出して所定の音源によって生成される楽音の波形データと記憶手段に記憶された外部メディア情報に基づいて第2の入力手段から得られる外部記録媒体に記録されている情報とを同期させて合成する第4のステップとを実行する。 That is, the musical sound generation processing program includes a first step of inputting event data for generating musical waveform data, an external for searching for information recorded on the external recording medium and the content of the information. A second step of inputting media information; a third step of storing event data obtained by the first step and external media information obtained by the second step in a predetermined storage means; and storage in the storage means Waveform data of musical sound generated by a predetermined sound source by reading the event data and information recorded on the external recording medium obtained from the second input means based on the external media information stored in the storage means And a fourth step of synthesizing in synchronism.
この場合において、第4のステップは、記憶手段に記憶された外部メディア情報と第2のステップによって得られる現在の外部記録媒体に記録された外部メディア情報とが一致する場合に音源によって生成される楽音の波形データと当該外部記録媒体に記録された情報とを同期させて合成する。また、第1のステップは、操作に応じて所定の演奏手段から出力される演奏データをイベントデータとして入力する。 In this case, the fourth step is generated by the sound source when the external media information stored in the storage means matches the external media information recorded on the current external recording medium obtained by the second step. The musical tone waveform data and the information recorded on the external recording medium are synthesized in synchronism. In the first step, performance data output from predetermined performance means in response to an operation is input as event data.
1 CPU
2 システムバス
3 プログラムROM
4 ワークRAM
5 曲メモリ
6 表示部
7 鍵盤
8 スイッチ部
9 音源部
10 CD再生装置
11 サウンドシステム
101 CDドライバ
102 CD−ROM/MP3デコーダ
103 CD−DSP
104 CD−I/F
1 CPU
2
4 Work RAM
5
104 CD-I / F
Claims (3)
接続された外部記憶媒体に記憶されている情報の内容を検索するための外部メディア情報を入力する第2の入力手段と、
録音モードに設定する録音モード設定手段と、
再生モードに設定する再生モード設定手段と、
録音モードが設定されている場合に、前記第1の入力手段にイベントデータが入力されたか否か判別する判別手段と、
この判別手段によりイベントデータが入力されたと判別された場合は、当該イベント及びその入力タイミングを記憶手段に記憶するイベント録音手段と、
前記判別手段によりイベントデータが入力されていないと判別された場合に、前記接続された外部記憶媒体の再生が開始されたか否かを検出する検出手段と、
この検出手段により再生の開始が検出された場合は、前記第2の入力手段から入力される外部メディア情報及び当該再生開始タイミングを前記記憶手段に記憶させる外部メディア録音手段と、
再生モードが設定されている場合に、前記記憶手段に記憶されたイベントデータを対応する入力タイミングに基づいて読み出して前記音源に送出するとともに、前記記憶された外部メディア情報を対応する再生開始タイミングに基づいて読み出し、この読み出された外部メディア情報に基づいて前記接続された外部記憶媒体から情報を検索して再生する再生手段と、
を備えたことを特徴とする楽音発生装置。 First input means for inputting event data for instructing the sound source to generate music;
A second input means for inputting external media information for searching the contents of information stored in the connected external storage medium;
Recording mode setting means for setting the recording mode;
Playback mode setting means for setting the playback mode;
A discriminating means for discriminating whether or not event data is inputted to the first input means when a recording mode is set;
If it is determined that the event data is input by the determination means, the event recording means for storing the event and its input timing in the storage means,
Detecting means for detecting whether or not reproduction of the connected external storage medium is started when it is determined by the determining means that event data has not been input;
When the start of reproduction is detected by the detection means, external media recording means for storing the external media information inputted from the second input means and the reproduction start timing in the storage means;
When the playback mode is set, the event data stored in the storage means is read based on the corresponding input timing and sent to the sound source, and the stored external media information is set to the corresponding playback start timing. Reproducing means for retrieving information based on the read external media information and retrieving information from the connected external storage medium based on the read external media information;
A musical tone generator characterized by comprising:
前記再生モード設定手段は、再生モードに設定したときに、前記前記接続された外部記録媒体に記憶されている外部メディア情報と前記記憶手段に記憶された外部メディア情報とが一致するか否か判別し、一致していない場合はエラー表示を行う
ことを特徴とする請求項1記載の楽音発生装置。 The recording mode setting means stores external media information stored in the connected external recording medium in the storage means when the recording mode is set,
The reproduction mode setting means determines whether or not the external media information stored in the connected external recording medium matches the external media information stored in the storage means when the reproduction mode is set. The musical tone generator according to claim 1, wherein an error display is displayed if they do not match .
録音モードに設定する録音モード設定ステップと、Recording mode setting step to set to recording mode,
再生モードに設定する再生モード設定ステップと、A playback mode setting step for setting the playback mode;
録音モードが設定されている場合に、前記第1の入力手段にイベントデータが入力されたか否か判別するステップと、Determining whether or not event data is input to the first input means when a recording mode is set; and
このイベントデータが入力されたと判別された場合は、当該イベント及びその入力タイミングを記憶手段に記憶するイベント録音ステップと、If it is determined that this event data has been input, an event recording step for storing the event and its input timing in a storage means;
前記イベントデータが入力されていないと判別された場合に、前記接続された外部記憶媒体の再生が開始されたか否かを検出する検出ステップと、A detection step of detecting whether or not playback of the connected external storage medium is started when it is determined that the event data is not input;
再生の開始が検出された場合は、前記第2の入力手段から入力される外部メディア情報及び当該再生開始タイミングを前記記憶手段に記憶させる外部メディア録音ステップと、When the start of playback is detected, external media recording step for storing the external media information input from the second input means and the playback start timing in the storage means;
再生モードが設定されている場合に、前記記憶手段に記憶されたイベントデータを対応する入力タイミングに基づいて読み出して前記音源に送出するとともに、前記記憶された外部メディア情報を対応する再生開始タイミングに基づいて読み出し、この読み出された外部メディア情報に基づいて前記接続された外部記憶媒体から情報を検索して再生する再生ステップと、When the playback mode is set, the event data stored in the storage means is read based on the corresponding input timing and sent to the sound source, and the stored external media information is set to the corresponding playback start timing. A reproduction step of retrieving information based on the read external media information and retrieving and reproducing information from the connected external storage medium based on the read external media information;
を実行させる楽音発生処理のプログラム。A program for generating music.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003278281A JP4062202B2 (en) | 2003-07-23 | 2003-07-23 | Musical sound generator and musical sound generation processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003278281A JP4062202B2 (en) | 2003-07-23 | 2003-07-23 | Musical sound generator and musical sound generation processing program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005043709A JP2005043709A (en) | 2005-02-17 |
JP4062202B2 true JP4062202B2 (en) | 2008-03-19 |
Family
ID=34264741
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003278281A Expired - Fee Related JP4062202B2 (en) | 2003-07-23 | 2003-07-23 | Musical sound generator and musical sound generation processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4062202B2 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4534926B2 (en) * | 2005-09-26 | 2010-09-01 | ヤマハ株式会社 | Image display apparatus and program |
JP2007133058A (en) * | 2005-11-09 | 2007-05-31 | Kawai Musical Instr Mfg Co Ltd | Electronic musical instrument |
JP4858174B2 (en) * | 2007-01-09 | 2012-01-18 | ヤマハ株式会社 | Electronic musical instruments and programs |
JP4924040B2 (en) * | 2007-01-09 | 2012-04-25 | ヤマハ株式会社 | Electronic musical instruments and programs |
JP7169530B2 (en) * | 2018-03-26 | 2022-11-11 | カシオ計算機株式会社 | Recording/playback device, control method and control program for recording/playback device, and electronic musical instrument |
CN110428798B (en) * | 2019-08-02 | 2021-08-10 | 湖南国声声学科技股份有限公司深圳分公司 | Method for synchronizing voice and accompaniment, Bluetooth device, terminal and storage medium |
-
2003
- 2003-07-23 JP JP2003278281A patent/JP4062202B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2005043709A (en) | 2005-02-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1189231B1 (en) | Recording Medium for Karaoke | |
US4614144A (en) | Music card system | |
JP3068226B2 (en) | Back chorus synthesizer | |
JP2538668Y2 (en) | Music playback device with message function | |
US5138925A (en) | Apparatus for playing auto-play data in synchronism with audio data stored in a compact disc | |
US5857171A (en) | Karaoke apparatus using frequency of actual singing voice to synthesize harmony voice from stored voice information | |
JP2917834B2 (en) | Karaoke equipment | |
KR0135839B1 (en) | Video music accompaniment recording medium and reproducing apparatus | |
US5955693A (en) | Karaoke apparatus modifying live singing voice by model voice | |
US5827990A (en) | Karaoke apparatus applying effect sound to background video | |
JPH0784587A (en) | Display control unit | |
JP4062202B2 (en) | Musical sound generator and musical sound generation processing program | |
KR100610573B1 (en) | Automatic music performing apparatus and computer readable media recording automatic music performance processing program | |
JP2000029472A (en) | Karaoke machine | |
JP2569384B2 (en) | Electronic musical instrument | |
JP2853258B2 (en) | Karaoke equipment | |
JPH086582A (en) | Accompaniment data format having word-display control information and picture-song accompanying device suitable for data format thereof | |
JPH09127965A (en) | Karaoke device | |
JPH11202877A (en) | Automatic playing device | |
JPH06202676A (en) | Karaoke contrller | |
JPH02247870A (en) | Accompaniment music reproducing device | |
KR100233645B1 (en) | A function control method of karaoke | |
JP2956852B2 (en) | Karaoke device with scoring function | |
JP2897614B2 (en) | Karaoke equipment | |
JPH1031493A (en) | Music reproducing system, and music recording and reproducing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20060208 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060320 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20060405 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070725 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070807 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070913 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20071204 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20071217 |
|
R150 | Certificate of patent (=grant) or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110111 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110111 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120111 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130111 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130111 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |