JPH11219175A - Automatic music playing device - Google Patents

Automatic music playing device

Info

Publication number
JPH11219175A
JPH11219175A JP10032349A JP3234998A JPH11219175A JP H11219175 A JPH11219175 A JP H11219175A JP 10032349 A JP10032349 A JP 10032349A JP 3234998 A JP3234998 A JP 3234998A JP H11219175 A JPH11219175 A JP H11219175A
Authority
JP
Japan
Prior art keywords
music
performance
pedal
music data
event
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.)
Withdrawn
Application number
JP10032349A
Other languages
Japanese (ja)
Inventor
Akira Kawai
晃 河合
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 JP10032349A priority Critical patent/JPH11219175A/en
Publication of JPH11219175A publication Critical patent/JPH11219175A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PROBLEM TO BE SOLVED: To switch music during playing without becoming unnatural while playing on the basis of stored music data by constituting a music playing starting means in such a way as to stop playing at the time of detecting a pedal on event and to instruct reading of the following music data to start playing. SOLUTION: A music playing starting means 8 has a CPU 101, inputs a pedal on event detected by a pedal on event detecting means 2 and makes a music playing detecting means 7 detect whether music is played or not upon the input of the pedal on event of a sostenuto pedal. During playing, the music playing starting means 8 stops playing processing of a music playing sound generating means 4, clears former music data stored in a buffer, outputs the following music data stored in another buffer to the music playing sound generating means 4 to start playing, instructs a music data reading means 6 to read the following music and stores newly read music data in the cleared buffer.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、記憶された曲デー
タに基づき演奏を行う自動演奏装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic performance apparatus for performing a performance based on stored music data.

【0002】[0002]

【従来の技術】これまで電子楽器等には、演奏者の演奏
技術を補完するため、或いは単にデモ曲を演奏するため
に、予め記憶された(プリセットの場合と、事前にユー
ザ入力によるレコーディングで記憶されている場合など
がある)曲の自動演奏(メロディの演奏乃至伴奏)が行
われる機能を有するものがある。これらは複数記憶され
た曲の中から、パネル操作子等を用いて、曲目を選択
し、演奏(上記メロディの演奏乃至伴奏、以下同じ)を
行わせる。
2. Description of the Related Art Conventionally, electronic musical instruments and the like have been stored in advance (in the case of a preset or in advance by user input recording) in order to complement the performance technique of a player or simply to play a demo song. Some of them have a function of performing automatic performance (playing of a melody or accompaniment) of a tune (which may be stored). These are used to select a music piece from a plurality of stored music pieces by using a panel operator or the like, and to perform the performance (playing of the melody or accompaniment, hereinafter the same).

【0003】[0003]

【発明が解決しようとする課題】以上の自動演奏が行わ
れ、特に複数の曲目が連続的に演奏される際に、演奏途
中で曲目の切替が行われる場合、これまでに製品化され
たものでは、パネル操作子や鍵盤等によって切替の指示
を行う構成とするものが多い。しかし、演奏中にこれら
の構成で曲目の切替が行われると、その操作中は、鍵盤
から手を離すことになるため、演奏がとぎれてしまうこ
とがあった。
In the case where the above automatic performance is performed, and particularly when a plurality of music pieces are continuously played, when the music pieces are switched in the middle of the performance, the music pieces which have been commercialized so far are used. In many cases, the switching instruction is issued by a panel operator or a keyboard. However, if a music piece is switched in these configurations during a performance, the user may release his hand from the keyboard during the operation, so that the performance may be interrupted.

【0004】本発明は従来技術の以上のような問題に鑑
み創案されたもので、記憶された曲データに基づき演奏
を行いながら、不自然にならずに演奏中の曲の切替が行
える自動演奏装置を提供せんとするものである。
The present invention has been made in view of the above-described problems of the prior art, and has an automatic performance that can switch the music being played without causing unnaturalness while performing based on the stored music data. No device is provided.

【0005】[0005]

【課題を解決するための手段】そのため本発明の請求項
1に係る自動演奏装置の構成は、音響効果付加を含む各
種処理の指示用に備えられたペダルと、該ペダルのON
イベントを検出するペダルONイベント検出手段と、所
定の曲データ(プリセットの曲データ)を予め記憶して
おく及び/又は演奏される曲データ(リアルタイム入力
される曲データ)を記憶しておく曲データ記憶手段と、
該曲データに応じて曲の演奏を行う曲演奏音発生手段
と、前記曲データ記憶手段に記憶された曲データの演奏
順序、又は曲データの選択とその演奏順序を記憶する曲
順序記憶手段と、該曲順序記憶手段に記憶された演奏順
序に従って曲データを前記曲データ記憶手段から読み出
してバッファに一時的に記憶させ、そこに記憶された該
曲データを曲演奏音発生手段に出力する曲データ読み出
し手段と、前記ペダルONイベント検出手段で検出され
たペダルONイベントを入力し、それに基づき、曲デー
タ読み出し手段に次の曲データの読み出しを指示する曲
演奏スタート手段とを有することを基本的特徴としてい
る。即ち本構成では、演奏されている曲を次の曲に切替
えて、その演奏を開始させる構成である。そのためにパ
ネル操作子や鍵盤の操作による切替を行うものではな
く、鍵盤から手を離さずに切り替え操作を行えるように
するもので、ペダルONイベントを検出してそれがあっ
た時に、曲演奏スタート手段は、次の曲データの読み出
しを曲データ読み出し手段に指示して、それに基づく演
奏を曲演奏音発生手段に開始させるようにする構成であ
る。
According to a first aspect of the present invention, there is provided an automatic performance apparatus comprising: a pedal provided for instructing various kinds of processing including addition of a sound effect;
Pedal-on event detecting means for detecting an event, and music data storing predetermined music data (preset music data) in advance and / or storing music data to be played (music data input in real time) Storage means;
Music performance sound generating means for performing music according to the music data; music data storage means for storing music data stored in the music data storage means, or music data selection and music data order; The music data is read from the music data storage means in accordance with the performance order stored in the music order storage means, temporarily stored in a buffer, and the music data stored there is output to the music performance sound generation means. Basically, it has data reading means and music performance start means for inputting the pedal ON event detected by the pedal ON event detection means and instructing the music data reading means to read the next music data based on the pedal ON event. Features. That is, in the present configuration, the music being played is switched to the next music, and the performance is started. For this reason, switching is not performed by operating panel controls or keyboard operation, but it is possible to perform switching operation without releasing your hand from the keyboard. The means instructs the music data reading means to read the next music data, and causes the music performance sound generating means to start the performance based on the instruction.

【0006】また請求項2の自動演奏装置の構成は、音
響効果付加を含む各種処理の指示用に備えられたペダル
と、該ペダルのONイベントを検出するペダルONイベ
ント検出手段と、所定の曲データを予め記憶しておく及
び/又は演奏される曲データを記憶しておく曲データ記
憶手段と、該曲データに応じて曲の演奏を行う曲演奏音
発生手段と、前記曲データ記憶手段に記憶された曲デー
タの演奏順序、又は曲データの選択とその演奏順序を記
憶する曲順序記憶手段と、該曲順序記憶手段に記憶され
た演奏順序に従って先に演奏される曲データと次に演奏
される曲データを前記曲データ記憶手段から読み出して
夫々バッファに一時的に記憶させ、そこに記憶された該
曲データを演奏順序に従って曲演奏音発生手段に出力す
る曲データ読み出し手段と、曲演奏音発生手段で曲の演
奏が行われていることを検知する演奏検知手段と、前記
ペダルONイベント検出手段で検出されたペダルONイ
ベントを入力すると共に、該ペダルONイベントの入力
があった時に演奏検知手段に曲の演奏が行われているか
否かを検知させ、演奏が行われている時に、前記曲演奏
音発生手段による曲の演奏処理をストップさせると共
に、先のバッファ内に記憶されている従前の曲データを
クリアさせ、且つ別のバッファに記憶されている次の曲
データを曲演奏音発生手段に出力してその演奏を開始さ
せ、曲データ読み出し手段に更に次の曲データの読み出
しを指示して従前の曲データのクリアがなされたバッフ
ァに新たに読み出された曲データを記憶させる曲演奏ス
タート手段とを有することを特徴としている。即ち本構
成では、曲の演奏の最中に次の曲への切替を行って瞬時
にその演奏を開始させる構成であり、そのために演奏中
の曲のあること検知させ、曲の切替を行う際にその曲の
演奏を中止させると共にその曲データをクリアさせ、別
のバッファに記憶されている次の曲データに基づく演奏
を開始させ、クリアの行われた従前のバッファに新たな
曲データの記憶を行わせるようにする構成である。
According to a second aspect of the present invention, there is provided an automatic performance apparatus comprising: a pedal provided for instructing various kinds of processing including sound effect addition; pedal ON event detecting means for detecting an ON event of the pedal; Music data storage means for storing data in advance and / or music data to be played; music performance sound generating means for performing music according to the music data; Music order storage means for storing the performance order of the stored music data, or selection of the music data and the performance order, music data to be played first in accordance with the performance order stored in the music order storage means, and the next performance Song data read out from the song data storage means and temporarily stored in a buffer, and the song data stored therein is output to the song performance sound generating means in accordance with the playing order. Means, a performance detection means for detecting that a music performance is being performed by the music performance sound generation means, a pedal ON event detected by the pedal ON event detection means, and an input of the pedal ON event. When the performance is detected, the performance detection means detects whether or not the music is being played. And clears the previous music data stored in the buffer, and outputs the next music data stored in another buffer to the music performance sound generation means to start the performance. Song performance start means for instructing the reading of song data and storing the newly read song data in a buffer in which the previous song data has been cleared. There. That is, in the present configuration, the music is switched to the next music while the music is being played, and the performance is started immediately. Therefore, when the music being played is detected, the music is switched. To stop the performance of the song, clear the song data, start the performance based on the next song data stored in another buffer, and store the new song data in the cleared buffer. Is performed.

【0007】これらの請求項の自動演奏装置で使用され
るペダルは、使用頻度の最も少ないペダル、特にソステ
ヌートペダルとすると良い。該ペダルは、踏んだ時に押
さえていた鍵盤の音のみ余韻を与え、該ペダルを踏み込
んだ後に押した鍵盤の音にはそのような効果が付与され
ないようにするものであり、使用頻度が最も少ないの
で、それを有効利用しようとするものである。特にデモ
曲等の再生では、以上のような音響効果を新たに付与す
る必要はないので、曲切替用に使用しても問題はなく、
その際の切り替えがスムーズに行えるようになる。
[0007] The pedal used in the automatic performance device of these claims is preferably a pedal that is used least frequently, especially a sostenuto pedal. The pedal applies only the sound of the key pressed when the pedal is depressed, and prevents such an effect from being applied to the sound of the key pressed after depressing the pedal, and is used least frequently. So, we try to use it effectively. In particular, when playing demo songs, it is not necessary to add the above sound effects, so there is no problem using them for song switching.
Switching at that time can be performed smoothly.

【0008】これらの自動演奏装置の構成において、前
記曲順序記憶手段に記憶される曲データの演奏順序、又
は曲データの選択とその演奏順序を外部から設定できる
ようにすると、演奏者の好みに応じて曲の演奏順序、又
は選曲と曲の演奏順序を決定でき、特に演奏中に曲の切
り替えを行う場合に、選曲とその切り替えタイミングに
よっては、演奏者のオリジナリティが発揮できるように
なる。
In the configuration of these automatic performance devices, if the performance order of the music data stored in the music order storage means, or the selection of the music data and the performance order can be set from the outside, it is possible to meet the preference of the player. The music playing order or the music selection and the music playing order can be determined accordingly, and when the music is switched during the performance, the originality of the player can be exhibited depending on the music selection and the switching timing.

【0009】[0009]

【発明の実施の形態】以下本発明の一実施形態を添付図
面に基づき説明する。図1は本発明の請求項2に係る自
動演奏装置が用いられた電子ピアノの一実施形態構成を
示す構成説明図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is an explanatory diagram showing the configuration of an embodiment of an electronic piano using an automatic performance device according to claim 2 of the present invention.

【0010】図1に示された構成では、バス100上
に、CPU101、RAM102、ROM103、鍵盤
インターフェース104aを介してつながる鍵盤部10
4,パネルインターフェース105aを介してつながり
パネルスイッチによる操作のできるパネル操作部10
5、ペダルインターフェース106aを介してつながり
後述するペダル1の操作を行えるペダル操作部106、
楽音生成回路107が各接続されており、該バス100
を通じてこれらのデバイスに各種命令やデータの受け渡
しがなされる。また楽音生成回路107には、発生せし
められた楽音をアナログ信号に変換するD/A変換回路
107aと、それを増幅する増幅器107b及び外部に
発音せしめるスピーカ等の再生装置107cが電気的に
接続されている。
In the configuration shown in FIG. 1, a keyboard unit 10 connected to a bus 100 via a CPU 101, a RAM 102, a ROM 103, and a keyboard interface 104a.
4, a panel operation unit 10 which can be operated via a panel switch connected via the panel interface 105a
5. a pedal operation unit 106 which is connected via the pedal interface 106a and can operate the pedal 1 described later;
Each of the tone generation circuits 107 is connected to the bus 100.
Various commands and data are transferred to these devices through the communication. Also, a D / A conversion circuit 107a for converting the generated musical sound into an analog signal, an amplifier 107b for amplifying the analog signal, and a reproducing device 107c such as a speaker for generating an external sound are electrically connected to the musical sound generating circuit 107. ing.

【0011】図2は、本発明により構成される自動演奏
装置の機能ブロック図であり、ペダル1と、ペダルON
イベント検出手段2と、曲データ記憶手段3と、曲演奏
音発生手段4と、曲順序記憶手段5と、曲データ読み出
し手段6と、演奏検知手段7と、曲演奏スタート手段8
とを有している。
FIG. 2 is a functional block diagram of an automatic performance device constructed according to the present invention.
Event detection means 2, music data storage means 3, music performance sound generation means 4, music order storage means 5, music data reading means 6, performance detection means 7, music performance start means 8,
And

【0012】上記ペダル1は、ペダル操作部106の構
成の一部であり、演奏者がそれを踏み込むことで、音響
効果付加を含む各種処理の指示を与えるもので、本構成
では、ダンパーペダル、ソステーヌペダル及びソフトペ
ダルの3つで構成されている。
The pedal 1 is a part of the configuration of the pedal operation section 106, and when a player steps on the pedal, gives instructions for various processes including the addition of a sound effect. It is composed of three parts: a sostaine pedal and a soft pedal.

【0013】上記ペダルONイベント検出手段2は、同
じくペダル操作部106の構成の一部であるセンサであ
り、演奏者が前記ペダル1を踏み込んだ際、該ペダル1
のONイベントを検出する構成である。
The pedal ON event detecting means 2 is a sensor which is also a part of the configuration of the pedal operating section 106. When a player depresses the pedal 1, the pedal 1
This is a configuration for detecting the ON event.

【0014】上記曲データ記憶手段3は、リアルタイム
入力される曲データを記憶しておくRAM102の所定
の記憶領域と、曲データをプリセットしておくROM1
03で構成されている。
The music data storage means 3 has a predetermined storage area of the RAM 102 for storing music data inputted in real time, and a ROM 1 for presetting music data.
03.

【0015】上記曲演奏音発生手段4は、D/A変換回
路107a、増幅器107b及び再生装置107cを有
している楽音生成回路107で構成されており、ここに
入力されてくる曲データに応じて曲の演奏を行う。それ
と共に、演奏中であることを示すフラグをRAM102
にセットする。
The music performance sound generation means 4 comprises a music sound generation circuit 107 having a D / A conversion circuit 107a, an amplifier 107b, and a reproduction device 107c. Perform the song. At the same time, a flag indicating that the music is being played is stored in the RAM 102.
Set to.

【0016】上記曲順序記憶手段5は、RAM102の
所定の記憶領域で構成されており、曲データ記憶手段3
に記憶された曲データの選択とその演奏順序を記憶する
ことができる。またパネル操作部105のパネルスイッ
チにより外部からその順序を変更したり、選曲ができ、
それが該曲順序記憶手段5に記憶できるようになってい
る。
The music order storage means 5 comprises a predetermined storage area of the RAM 102, and the music data storage means 3
The selection of the music data stored and the order of the performance can be stored. In addition, the order can be changed or music can be selected from the outside by a panel switch of the panel operation unit 105.
This can be stored in the music order storage means 5.

【0017】上記曲データ読み出し手段6は、バッファ
を構成するRAM102の所定の記憶領域と、CPU1
01で構成されており、該曲順序記憶手段5に記憶され
た演奏順序に従って先に演奏される曲データと次に演奏
される曲データを前記曲データ記憶手段3から読み出し
て夫々上記バッファに一時的に記憶させ、そこに記憶さ
れた該曲データを演奏順序に従って曲演奏音発生手段4
に出力する機能を有している。
The music data reading means 6 includes a predetermined storage area of the RAM 102 forming a buffer,
The music data to be played first and the music data to be played next are read out from the music data storage means 3 in accordance with the performance order stored in the music order storage means 5 and temporarily stored in the buffer. And the music data stored therein is stored in the music performance sound generating means 4 in accordance with the performance order.
Output function.

【0018】上記演奏検知手段7は、CPU101で構
成され、前記曲演奏音発生手段4が演奏中である場合
に、RAM102にセットされた演奏中であることを示
すフラグを検出して、曲の演奏が行われていることを検
知する機能を有している。その他、前記D/A変換回路
107aからの信号を入力するレベル変換器(図示な
し)と該レベル変換器からの信号を入力するCPU10
1とを有する機器構成として、曲演奏音発生手段4から
出力がある場合に、それを検知することができるような
構成にしても良い。
The performance detecting means 7 comprises a CPU 101. When the music performance sound generating means 4 is performing, the performance detecting means 7 detects a flag set in the RAM 102 indicating that the performance is being performed, and It has a function of detecting that a performance is being performed. In addition, a level converter (not shown) for inputting a signal from the D / A conversion circuit 107a and a CPU 10 for inputting a signal from the level converter
1 may be configured to be able to detect when there is an output from the music performance sound generating means 4.

【0019】上記曲演奏スタート手段8は、CPU10
1を有する構成からなり、前記ペダルONイベント検出
手段2で検出されたペダルONイベントを入力すると共
に、ソステヌートペダルのペダルONイベントの入力が
あった時に演奏検知手段7に曲の演奏が行われているか
否かを検知させ、演奏が行われている時に、前記曲演奏
音発生手段4による曲の演奏処理をストップさせると共
に、先のバッファ内に記憶されている従前の曲データを
クリアさせ、且つ別のバッファに記憶されている次の曲
データを曲演奏音発生手段4に出力してその演奏を開始
させ、曲データ読み出し手段6に更に次の曲データの読
み出しを指示して従前の曲データのクリアがなされたバ
ッファに新たに読み出された曲データを記憶させる機能
を有している。
The music performance start means 8 includes a CPU 10
1, the pedal ON event detected by the pedal ON event detecting means 2 is input, and when the pedal ON event of the sostenuto pedal is input, the musical performance is performed by the performance detecting means 7. The performance of the music performed by the music performance sound generation means 4 is stopped when the music is being played, and the previous music data stored in the previous buffer is cleared; and The next music data stored in another buffer is output to the music performance sound generating means 4 to start the performance, and the music data reading means 6 is further instructed to read the next music data, and the previous music data is read. Has a function of storing the newly read music data in the buffer in which is cleared.

【0020】図3は、上記電子ピアノの構成の全体の処
理フローを示すフローチャートである。電源ONで、最
初にステップS1において上記CPU101やRAM1
02等の初期化がなされる。ステップS2において、パ
ネル操作部105におけるパネルイベントの検出とそれ
に基づく各処理が実行されるパネルイベント処理がなさ
れる。更にステップS3において、ペダルイベントの検
出とそれに基づく各処理が実行されるペダルイベント処
理が行われる。更にステップS4において、キーイベン
トの検出とそれに基づく各処理が実行される鍵盤イベン
ト処理が行われる。該処理が終了すると、ステップS2
のパネルイベント処理に戻り、ループにより以上の処理
を繰り返す。
FIG. 3 is a flowchart showing the entire processing flow of the configuration of the electronic piano. When the power is turned on, first in step S1, the CPU 101 or the RAM 1
Initialization such as 02 is performed. In step S2, panel event processing is performed in which panel event detection is performed by the panel operation unit 105 and processing based on the panel event is performed. Further, in step S3, pedal event processing for detecting a pedal event and executing various processing based on the detection is performed. Further, in step S4, a keyboard event process for detecting a key event and executing processes based on the key event is performed. When the processing is completed, a step S2
Then, the process returns to the panel event process described above, and the above process is repeated by a loop.

【0021】図4は、図3のペダルイベント処理(ステ
ップS3)の詳細を示している。ステップS3のペダル
イベント処理では、ペダル情報をt(msec)毎に読
み込んで実行される。それ故、ステップS30におい
て、t(msec)が経過したか否かがチェックされ
る。その時間が経過していなければ、ペダルイベント処
理はパスされる。逆に時間が経過していれば、ステップ
S31において、ダンパーペダル、ソフトペダル及びソ
ステヌートペダルのペダルポートにおけるONイベント
の読み込みが行われ、RAM102のバッファにNEW
データとして書き込みが行われる。ステップS32にお
いて、ダンパーペダル処理が実行される。ステップS3
3において、ソフトペダル処理が実行される。ステップ
S34において、ソステヌートペダル処理が実行され
る。ステップS35において、ペダルポートデータを保
存する処理がなされる(上記RAMバッファにオールド
データとして書き込まれる)。
FIG. 4 shows details of the pedal event process (step S3) of FIG. In the pedal event process of step S3, the pedal information is read and executed every t (msec). Therefore, in step S30, it is checked whether t (msec) has elapsed. If the time has not elapsed, the pedal event processing is passed. On the other hand, if the time has elapsed, in step S31, ON events are read from the pedal ports of the damper pedal, the soft pedal, and the sostenuto pedal, and the NEW of the NEW is stored in the buffer of the RAM 102.
Writing is performed as data. In step S32, a damper pedal process is performed. Step S3
At 3, a soft pedal process is executed. In step S34, a sostenuto pedal process is performed. In step S35, processing for saving pedal port data is performed (written in the RAM buffer as old data).

【0022】図5は、図4のダンパーペダル処理(ステ
ップS32)の詳細を示している。ステップS320
で、RAMバッファに記憶されたONイベントデータが
新しいものであるか古いものであるかの比較に基づき、
ONイベントの検出処理がなされる。該処理でONイベ
ントデータが新しいものであると判断された場合(ON
イベントがあった場合)は、次のステップS321で、
ダンパーONフラグがセットされる。もしONイベント
データが古いものであると判断された場合(ONイベン
トがなかった場合)は、ダンパーONフラグのセットは
パスされる。ステップS322において、OFFイベン
トの検出処理がなされる。該処理でOFFイベントデー
タが新しいものであると判断された場合(OFFイベン
トがあった場合)は、次のステップS323で、ダンパ
ーONフラグがリセットされ、更にステップS324で
キーオフ(鍵盤におけるキーオフ)で発音している音を
OFFにする。即ちダンパーONされた状態で離鍵して
もその音はずっと残っているので、ダンパーをOFFし
た時にキーオフでその音を消去しなければならない。更
にもしOFFイベントデータが古いものであると判断さ
れた場合(OFFイベントがなかった場合)は、ダンパ
ーONフラグのリセットはパスされる。
FIG. 5 shows details of the damper pedal process (step S32) of FIG. Step S320
Then, based on a comparison of whether the ON event data stored in the RAM buffer is new or old,
An ON event detection process is performed. When the ON event data is determined to be new in the processing (ON
If there is an event), in the next step S321,
The damper ON flag is set. If it is determined that the ON event data is old (there is no ON event), the setting of the damper ON flag is passed. In step S322, an OFF event detection process is performed. If it is determined in this processing that the OFF event data is new (if there is an OFF event), the damper ON flag is reset in the next step S323, and the key is turned off (key off on the keyboard) in step S324. Turn off the sound that is sounding. That is, even if the key is released while the damper is ON, the sound remains forever, so when the damper is turned OFF, the sound must be erased by key-off. If it is determined that the OFF event data is old (there is no OFF event), the reset of the damper ON flag is passed.

【0023】図6は、図4のソフトペダル処理(ステッ
プS33)の詳細を示している。ステップS330で、
RAMバッファに記憶されたONイベントデータが新し
いものであるか古いものであるかの比較に基づき、ON
イベントの検出処理がなされる。該処理でONイベント
データが新しいものであると判断された場合(ONイベ
ントがあった場合)は、次のステップS331で、ソフ
トONフラグがセットされる。もしONイベントデータ
が古いものであると判断された場合(ONイベントがな
かった場合)は、ソフトONフラグのセットはパスされ
る。ステップS332において、OFFイベントの検出
処理がなされる。該処理でOFFイベントデータが新し
いものであると判断された場合(OFFイベントがあっ
た場合)は、次のステップS333で、ソフトONフラ
グがリセットされる。もしOFFイベントデータが古い
ものであると判断された場合(OFFイベントがなかっ
た場合)は、ソフトONフラグのリセットはパスされ
る。
FIG. 6 shows details of the soft pedal processing (step S33) of FIG. In step S330,
Based on a comparison of whether the ON event data stored in the RAM buffer is new or old,
Event detection processing is performed. If it is determined in the processing that the ON event data is new (if there is an ON event), the soft ON flag is set in the next step S331. If it is determined that the ON event data is old (there is no ON event), the setting of the soft ON flag is passed. In step S332, an OFF event detection process is performed. If it is determined in the processing that the OFF event data is new (if there is an OFF event), the soft ON flag is reset in the next step S333. If it is determined that the OFF event data is old (there is no OFF event), the reset of the soft ON flag is passed.

【0024】図7は、図4のソステヌートペダル処理
(ステップS34)の詳細を示している。ステップS3
40で、RAMバッファに記憶されたONイベントデー
タが新しいものであるか古いものであるかの比較に基づ
き、ONイベントの検出処理がなされる。該処理でON
イベントデータが新しいものであると判断された場合
(ONイベントがあった場合)は、次のステップS34
1で、ソステヌートONフラグがセットされる。ソステ
ヌートONフラグがセットされた後、ステップS342
で、曲演奏スタート手段8は、デモ曲(プリセットされ
た曲だけでなく、演奏者が演奏して録音した曲を含む)
の演奏中か否かを演奏検知手段7により検知させる(演
奏中であることを示すフラグの検出)。演奏中であれ
ば、ステップS343で、曲演奏スタート手段8は、曲
演奏音発生手段4によるその曲の演奏処理をストップさ
せ、RAMバッファに記憶されている演奏のストップさ
れた曲データをクリアさせ、ステップS344で、別の
バッファに記憶されている次の曲データを曲演奏音発生
手段4に出力する。そしてステップS345で、新しい
曲データに基づく演奏を開始させる。この時、曲演奏ス
タート手段8は、曲データ読み出し手段6に更に次の曲
データの読み出しを指示し、クリアがなされたバッファ
に新たに読み出された曲データを記憶させる。更にステ
ップS342で、曲が演奏中でなければ、ステップS3
43以下の処理がパスされる。他方、前記ステップS3
40で、もしONイベントデータが古いものであると判
断された場合(ONイベントがなかった場合)は、ステ
ップS346に移行し、OFFイベントの検出処理がな
される。該処理でOFFイベントデータが新しいもので
あると判断された場合(OFFイベントがあった場合)
は、次のステップS347で、ソステヌートONフラグ
がリセットされ、更にステップS348でキーオフ(鍵
盤におけるキーオフ)で発音している音をOFFにす
る。即ちソステヌートONされた状態で離鍵してもその
音はずっと残っているので、ソステヌートペダルオフし
た時にキーオフでその音を消去しなければならない。更
にもしOFFイベントデータが古いものであると判断さ
れた場合(OFFイベントがなかった場合)は、ソステ
ヌートONフラグのリセットはパスされる。
FIG. 7 shows details of the sostenuto pedal processing (step S34) of FIG. Step S3
At 40, ON event detection processing is performed based on a comparison of whether the ON event data stored in the RAM buffer is new or old. ON in the process
If it is determined that the event data is new (if there is an ON event), the next step S34
At 1, the sostenuto ON flag is set. After the sostenuto ON flag is set, step S342
The song performance start means 8 includes a demo song (including not only preset songs but also songs recorded by the performer).
Is detected by the performance detecting means 7 (detection of a flag indicating that the performance is being performed). If the performance is being performed, in step S343, the music performance start means 8 stops the performance processing of the music by the music performance sound generation means 4, and clears the stopped music data stored in the RAM buffer. In step S344, the next music data stored in another buffer is output to the music performance sound generating means 4. Then, in step S345, the performance based on the new music data is started. At this time, the music performance start means 8 further instructs the music data reading means 6 to read the next music data, and stores the newly read music data in the cleared buffer. If it is determined in step S342 that the music is not being played, step S3
The following 43 processes are passed. On the other hand, step S3
If it is determined in step 40 that the ON event data is old (there is no ON event), the process proceeds to step S346, where OFF event detection processing is performed. When it is determined that the OFF event data is new in the processing (when there is an OFF event)
In the next step S347, the sostenuto ON flag is reset, and further, in step S348, the sound produced by key-off (key-off on the keyboard) is turned off. That is, even if a key is released while the sostenuto is on, the sound remains forever, so that when the sostenuto pedal is turned off, the sound must be erased by key-off. Further, if the OFF event data is determined to be old (there is no OFF event), the reset of the sostenuto ON flag is passed.

【0025】以上のソステヌート処理が終了した場合、
前記図4のペダルイベント処理のステップS35のペダ
ルポートデータを保存する処理がなされ、更に図3のス
テップS4の鍵盤イベント処理が実行され、該処理の終
了で、ステップS2のパネルイベント処理に戻り、ルー
プにより以上の処理を繰り返すことになる。
When the above sostenuto processing is completed,
A process of storing pedal port data in step S35 of the pedal event process of FIG. 4 is performed, and a keyboard event process of step S4 of FIG. 3 is executed. Upon completion of the process, the process returns to the panel event process of step S2. The above processing is repeated by a loop.

【0026】以上の構成では、演奏中の曲のあること検
知させ、曲の切替を行う際にその曲の演奏を中止させる
と共にその曲データをクリアさせ、別のバッファに記憶
されている次の曲データに基づく演奏を開始させている
ので、曲の演奏の最中に次の曲への切替を行って瞬時に
その演奏を開始させることが可能である。またその切替
の際に使用されるペダルは、使用頻度の最も少ないソス
テヌートペダルとしているので、デモ曲等の再生では、
ソステヌートペダルに特有の音響効果を新たに付与する
必要はなく、曲切替用に使用した場合、その切替がスム
ーズに行えるようになる。
With the above arrangement, the presence of a music being played is detected, and when the music is switched, the performance of that music is stopped and the music data is cleared, and the next music data stored in another buffer is cleared. Since the performance based on the music data is started, it is possible to switch to the next music during the performance of the music and start the performance instantly. In addition, the pedal used for switching is the sostenuto pedal that is used least frequently, so when playing demo songs etc.,
There is no need to add a new sound effect unique to the sostenuto pedal, and when used for music switching, the switching can be performed smoothly.

【0027】これまで説明してきた構成は、電子ピアノ
に適用された本発明の実施形態構成であるが、これに限
定されるものではなく、消音式ピアノの構成等に、以上
の実施形態構成と同様な構成を装備させることもでき
る。更にキーボードとペダルの構成をパソコン等につな
げることができれば、該パソコンを用いたデスクトップ
ミュージック構成でも、同様な自動演奏装置の構成を装
備させることができる。更にこれらの構成は、1つの装
置の構成として一体としなければならないものではな
く、各機能を別体の構成として、或いは複数の機能群毎
に一体の構成にまとめて、複数の装置構成としてまとめ
あげ、これらをMIDIなどでつなげた構成としても良
い。
The configuration described so far is the configuration of the embodiment of the present invention applied to an electronic piano, but is not limited to this. A similar configuration can be provided. Furthermore, if the configuration of the keyboard and the pedal can be connected to a personal computer or the like, a desktop music configuration using the personal computer can be provided with the same configuration of the automatic performance device. Further, these configurations do not have to be integrated as a single device configuration, but each function is integrated as a separate configuration or integrated into a plurality of function groups, and is integrated into a plurality of device configurations. These may be connected by MIDI or the like.

【0028】[0028]

【発明の効果】以上詳述した本発明の自動演奏装置によ
れば、演奏されている曲を次の曲に切替える場合に、パ
ネル操作子や鍵盤の操作による切替を行わずに、ペダル
ONイベントを検出してそれがあった時に、曲演奏スタ
ート手段は、次の曲データの読み出しを曲データ読み出
し手段に指示して、それに基づく演奏を曲演奏音発生手
段に開始させるようにしているため、鍵盤から手を離さ
ずに切り替え操作が行えるようになり、演奏がとぎれて
しまうことがなく、自然な感じで演奏中の曲の切替がで
きるようになる。また請求項2の構成によれば、演奏中
の曲の検知を行わせ、曲の切替を行う際にその曲の演奏
を中止させると共にその曲データをクリアさせ、別のバ
ッファに記憶されている次の曲データに基づく演奏を開
始させ、クリアの行われた従前のバッファに新たな曲デ
ータの記憶を行わせるようにしているため、曲の演奏の
最中に次の曲への切替を行って瞬時にその演奏を開始さ
せることができるようになる。本自動演奏装置で使用さ
れるペダルは、使用頻度の最も少ないペダル、特にソス
テヌートペダルとすると良い。特にデモ曲等の再生で
は、ソステヌートペダル本来の音響効果を付与する必要
はないので、曲切替用に使用しても問題はなく、その際
の切り替えがスムーズに行えるようになる。更に、これ
らの自動演奏装置の構成において、前記曲順序記憶手段
に記憶される曲データの演奏順序、又は曲データの選択
とその演奏順序を外部から設定できるようにすると、演
奏者の好みに応じて曲の演奏順序、又は選曲と曲の演奏
順序を決定でき、特に演奏中に曲の切り替えを行う場合
に、選曲とその切り替えタイミングによっては、演奏者
のオリジナリティが発揮できるようになる。
According to the automatic performance device of the present invention described in detail above, when switching the music being played to the next music, the pedal ON event can be performed without switching by operating the panel controls or the keyboard. The song performance start means instructs the music data read means to read the next music data when the music data is detected and causes the music performance sound generation means to start the performance based on the data. The switching operation can be performed without releasing the hand from the keyboard, and the music being played can be switched with a natural feeling without interruption of the performance. According to the configuration of the second aspect, the music being played is detected, and when the music is switched, the performance of the music is stopped and the music data is cleared, and the music data is stored in another buffer. Since the performance based on the next song data is started, and the new buffer data is stored in the old buffer that has been cleared, switching to the next song is performed during the performance of the song. To start the performance instantly. The pedal used in the present automatic performance device is preferably a pedal that is used least frequently, particularly a sostenuto pedal. In particular, in the reproduction of a demo song or the like, since it is not necessary to add the original sound effect of the sostenuto pedal, there is no problem even if it is used for song switching, and the switching at that time can be performed smoothly. Furthermore, in the configuration of these automatic performance devices, if the performance order of the music data stored in the music order storage means or the selection of the music data and the performance order can be set from the outside, it is possible to meet the preference of the player. In this manner, the order in which the music is played or the music selection and the music playing order can be determined. In particular, when the music is switched during the performance, the originality of the player can be exhibited depending on the music selection and the switching timing.

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

【図1】請求項2に係る自動演奏装置が用いられた電子
ピアノの一実施形態構成を示す構成説明図である。
FIG. 1 is an explanatory diagram showing an embodiment of an electronic piano using an automatic performance device according to claim 2;

【図2】本発明により構成される自動演奏装置の機能ブ
ロック図である。
FIG. 2 is a functional block diagram of an automatic performance device configured according to the present invention.

【図3】上記電子ピアノの全体の処理フローを示すフロ
ーチャートである。
FIG. 3 is a flowchart showing an overall processing flow of the electronic piano.

【図4】ペダルイベント処理の詳細を示すフローチャー
トである。
FIG. 4 is a flowchart showing details of a pedal event process.

【図5】ダンパーペダル処理の詳細を示すフローチャー
トである。
FIG. 5 is a flowchart showing details of a damper pedal process.

【図6】ソフトペダル処理の詳細を示すフローチャート
である。
FIG. 6 is a flowchart showing details of a soft pedal process.

【図7】ソステヌートペダル処理の詳細を示すフローチ
ャートである。
FIG. 7 is a flowchart showing details of a sostenuto pedal process.

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

1 ペダル 2 ペダルONイベント検出手段 3 曲データ記憶手段 4 曲演奏音発生手段 5 曲順序記憶手段 6 曲データ読み出し手段 7 演奏検知手段 8 曲演奏スタート手段 100 バス 101 CPU 102 RAM 103 ROM 104 鍵盤部 104a 鍵盤インターフェース 105 パネル操作部 105a パネルインターフェース 106 ペダル操作部 106a ペダルインターフェース 107 楽音生成回路 107a D/A変換回路 107b 増幅器 107c 再生装置 Reference Signs List 1 pedal 2 pedal ON event detection means 3 music data storage means 4 music performance sound generation means 5 music sequence storage means 6 music data read means 7 music performance detection means 8 music performance start means 100 bus 101 CPU 102 RAM 103 ROM 104 keyboard 104a Keyboard interface 105 Panel operation unit 105a Panel interface 106 Pedal operation unit 106a Pedal interface 107 Musical sound generation circuit 107a D / A conversion circuit 107b Amplifier 107c Playback device

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 音響効果付加を含む各種処理の指示用に
備えられたペダルと、該ペダルのONイベントを検出す
るペダルONイベント検出手段と、所定の曲データを予
め記憶しておく及び/又は演奏される曲データを記憶し
ておく曲データ記憶手段と、該曲データに応じて曲の演
奏を行う曲演奏音発生手段と、前記曲データ記憶手段に
記憶された曲データの演奏順序、又は曲データの選択と
その演奏順序を記憶する曲順序記憶手段と、該曲順序記
憶手段に記憶された演奏順序に従って曲データを前記曲
データ記憶手段から読み出してバッファに一時的に記憶
させ、そこに記憶された該曲データを曲演奏音発生手段
に出力する曲データ読み出し手段と、前記ペダルONイ
ベント検出手段で検出されたペダルONイベントを入力
し、それに基づき、曲データ読み出し手段に次の曲デー
タの読み出しを指示する曲演奏スタート手段とを有する
ことを特徴とする自動演奏装置。
1. A pedal provided for instructing various kinds of processing including sound effect addition, pedal ON event detecting means for detecting an ON event of the pedal, and predetermined music data stored in advance and / or Music data storage means for storing music data to be played, music performance sound generating means for performing music in accordance with the music data, and a performance order of the music data stored in the music data storage means, or Song order storage means for storing song data selection and its playing order; song data is read from the song data storing means in accordance with the playing order stored in the song order storing means and temporarily stored in a buffer; Music data reading means for outputting the stored music data to music performance sound generating means, and a pedal ON event detected by the pedal ON event detecting means, and An automatic performance device comprising: a music performance reading means for instructing the music data reading means to read the next music data.
【請求項2】 音響効果付加を含む各種処理の指示用に
備えられたペダルと、該ペダルのONイベントを検出す
るペダルONイベント検出手段と、所定の曲データを予
め記憶しておく及び/又は演奏される曲データを記憶し
ておく曲データ記憶手段と、該曲データに応じて曲の演
奏を行う曲演奏音発生手段と、前記曲データ記憶手段に
記憶された曲データの演奏順序、又は曲データの選択と
その演奏順序を記憶する曲順序記憶手段と、該曲順序記
憶手段に記憶された演奏順序に従って先に演奏される曲
データと次に演奏される曲データを前記曲データ記憶手
段から読み出して夫々バッファに一時的に記憶させ、そ
こに記憶された該曲データを演奏順序に従って曲演奏音
発生手段に出力する曲データ読み出し手段と、曲演奏音
発生手段で曲の演奏が行われていることを検知する演奏
検知手段と、前記ペダルONイベント検出手段で検出さ
れたペダルONイベントを入力すると共に、該ペダルO
Nイベントの入力があった時に演奏検知手段に曲の演奏
が行われているか否かを検知させ、演奏が行われている
時に、前記曲演奏音発生手段による曲の演奏処理をスト
ップさせると共に、先のバッファ内に記憶されている従
前の曲データをクリアさせ、且つ別のバッファに記憶さ
れている次の曲データを曲演奏音発生手段に出力してそ
の演奏を開始させ、曲データ読み出し手段に更に次の曲
データの読み出しを指示して従前の曲データのクリアが
なされたバッファに新たに読み出された曲データを記憶
させる曲演奏スタート手段とを有することを特徴とする
自動演奏装置。
2. A pedal provided for instructing various kinds of processing including sound effect addition, pedal ON event detecting means for detecting an ON event of the pedal, and predetermined music data stored and / or stored in advance. Music data storage means for storing music data to be played, music performance sound generating means for performing music in accordance with the music data, and a performance order of the music data stored in the music data storage means, or Song order storage means for storing song data selection and its order of performance; song data to be played first and song data to be played next in accordance with the performance order stored in the song order storage means; Song data read means for temporarily storing the song data stored in the buffer, and outputting the song data stored therein to the song performance sound generating means in accordance with the order of performance. And a pedal ON event detected by the pedal ON event detecting means.
When the N event has been input, the performance detecting means detects whether or not the music is being played, and when the performance is being performed, the performance processing of the music by the music performance sound generating means is stopped. The music data reading means clears the previous music data stored in the previous buffer, and outputs the next music data stored in another buffer to the music performance sound generation means to start the performance. And a music performance start means for instructing the reading of the next music data and storing the newly read music data in a buffer in which the previous music data has been cleared.
【請求項3】 請求項1乃至2記載の自動演奏装置にお
いて、前記ペダルが使用頻度の最も少ないペダルである
ことを特徴とする請求項1乃至2記載の自動演奏装置。
3. The automatic performance apparatus according to claim 1, wherein said pedal is the least frequently used pedal.
【請求項4】 請求項3記載の自動演奏装置において、
前記ペダルがソステヌートペダルであることを特徴とす
る請求項3記載の自動演奏装置。
4. The automatic performance device according to claim 3, wherein
The automatic performance device according to claim 3, wherein the pedal is a sostenuto pedal.
【請求項5】 請求項1乃至4記載の自動演奏装置にお
いて、前記曲順序記憶手段に記憶される曲データの演奏
順序、又は曲データの選択とその演奏順序を外部から設
定できることを特徴とする請求項1乃至4記載の自動演
奏装置。
5. The automatic performance device according to claim 1, wherein the performance order of the music data stored in said music order storage means, or the selection of the music data and the performance order can be set from outside. The automatic performance device according to claim 1.
JP10032349A 1998-01-30 1998-01-30 Automatic music playing device Withdrawn JPH11219175A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10032349A JPH11219175A (en) 1998-01-30 1998-01-30 Automatic music playing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10032349A JPH11219175A (en) 1998-01-30 1998-01-30 Automatic music playing device

Publications (1)

Publication Number Publication Date
JPH11219175A true JPH11219175A (en) 1999-08-10

Family

ID=12356495

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10032349A Withdrawn JPH11219175A (en) 1998-01-30 1998-01-30 Automatic music playing device

Country Status (1)

Country Link
JP (1) JPH11219175A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002169596A (en) * 2000-08-23 2002-06-14 Nintendo Co Ltd Method and system for pre-fetching audio signal
WO2006082809A1 (en) * 2005-02-03 2006-08-10 Sony Corporation Sound reproducing device, sound reproducing method, and sound reproducing program
JP2006239397A (en) * 2005-02-03 2006-09-14 Sony Corp Sound reproducer, sound reproduction method and sound reproduction processing program
JP2006239398A (en) * 2005-02-03 2006-09-14 Sony Corp Sound reproducer, sound reproduction method and sound reproduction processing program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002169596A (en) * 2000-08-23 2002-06-14 Nintendo Co Ltd Method and system for pre-fetching audio signal
WO2006082809A1 (en) * 2005-02-03 2006-08-10 Sony Corporation Sound reproducing device, sound reproducing method, and sound reproducing program
JP2006239397A (en) * 2005-02-03 2006-09-14 Sony Corp Sound reproducer, sound reproduction method and sound reproduction processing program
JP2006239398A (en) * 2005-02-03 2006-09-14 Sony Corp Sound reproducer, sound reproduction method and sound reproduction processing program
US8000822B2 (en) 2005-02-03 2011-08-16 Sony Corporation Audio reproducing apparatus, audio reproducing method, and audio reproducing processing program

Similar Documents

Publication Publication Date Title
JP2602458B2 (en) Automatic performance device
JP4608718B2 (en) Musical instrument
JPH05108065A (en) Automatic performance device
JP2001075565A (en) Electronic musical instrument
JP2896716B2 (en) Automatic performance device
JP3358292B2 (en) Electronic musical instrument
JP2006106641A (en) Electronic musical device
JPH05188956A (en) Electronic musical instrument with automatic playing function
JPH11219175A (en) Automatic music playing device
JPH06332449A (en) Singing voice reproducing device for electronic musical instrument
JP2587737B2 (en) Automatic accompaniment device
JP3933583B2 (en) Electronic musical instruments
JP2007147711A (en) Electronic musical instrument and computer program applied to electronic musical instrument
JP4094441B2 (en) Electronic musical instruments
JP3682691B2 (en) Electronic music apparatus having musical tone information assigning operator
JP2641851B2 (en) Automatic performance device
JPH10288987A (en) Electronic musical instrument and musical sound control data generating device
JP2586227B2 (en) Electronic musical instrument
JP3758041B2 (en) Musical sound control data generator
JP3375220B2 (en) Electronic musical instrument
JP2005284076A (en) Electronic musical instrument
JP4246869B2 (en) Audio waveform signal playback control device
JP4835433B2 (en) Performance pattern playback device and computer program therefor
JP3760938B2 (en) Performance information conversion device, performance information conversion method, and recording medium recording performance information conversion control program
JPH05289662A (en) Automatic effect selecting device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050405