Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3883270B2 - Automatic performance device - Google Patents
[go: Go Back, main page]

JP3883270B2 - Automatic performance device - Google Patents

Automatic performance device Download PDF

Info

Publication number
JP3883270B2
JP3883270B2 JP30726497A JP30726497A JP3883270B2 JP 3883270 B2 JP3883270 B2 JP 3883270B2 JP 30726497 A JP30726497 A JP 30726497A JP 30726497 A JP30726497 A JP 30726497A JP 3883270 B2 JP3883270 B2 JP 3883270B2
Authority
JP
Japan
Prior art keywords
performance
control information
tone control
musical tone
repeat
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
Application number
JP30726497A
Other languages
Japanese (ja)
Other versions
JPH11143464A (en
Inventor
雅士 西川
浩之 横山
浩一 船田
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.)
Roland Corp
Original Assignee
Roland Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Roland Corp filed Critical Roland Corp
Priority to JP30726497A priority Critical patent/JP3883270B2/en
Publication of JPH11143464A publication Critical patent/JPH11143464A/en
Application granted granted Critical
Publication of JP3883270B2 publication Critical patent/JP3883270B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【0001】
【発明の属する技術分野】
本願発明は、曲の演奏位置に対応して楽音制御情報を含む演奏情報を音源側に逐次に送出する自動演奏装置に関するものである。
【0002】
【従来の技術】
演奏情報のうちの楽音制御情報とは、発音指示情報(ノートオン)や消音指示情報(ノートオフ)以外の情報であって、具体的には、発生される楽音の音量を制御する情報や音色を指示する情報、ピッチベンド情報、演奏テンポを制御するテンポ情報などである。
【0003】
自動演奏装置(シーケンサ)には、曲のある任意の区間を繰り返し演奏するリピート再生機能や、演奏している曲をある任意の点から他の任意の点にジャンプするスキップ再生機能が備えられている。図12はこのうちのスキップ再生機能で演奏した場合の音量制御について説明している。図12において、α、β、γはそれぞれ音量を制御するための楽音制御情報であり、具体的には例えば、
α:音量を「50」にする
β:音量を「20」にする
γ:音量を「80」にする
という音量制御の情報であるとする。この楽音制御情報を含む演奏情報が自動演奏装置から音源側に送出され、音源側において音量制御されつつ曲が自動演奏される。この自動演奏中において、曲の位置が順次に進んで行き、P(α)の位置に到達すると音量制御情報(以下、単に音量情報という)αが出力され、音源装置の音量値は以降「50」となる。また、P(β)の位置に到達すると音量情報βが出力され、音量値は以降「20」となる。音量情報γについても同様である。
【0004】
【発明が解決しようとする課題】
従来の自動演奏装置で上述のような演奏を行う場合には、次のような問題点がある。
(スキップ再生のケース)演奏が進み、曲の位置が位置Pに到達したときに位置Pにジャンプする場合において、位置Pから位置Pにジャンプする際に、もし音量情報に関して何もしなかったならば、ジャンプ後の位置P以降に発音される楽音の音量は、位置P(α)で受信した音量情報αによる音量値「50」のままである。しかし、本来であれば、位置Pでの音量値は「80」であるので、この本来の音量値と実際の音量とが食い違うことになる。従って、位置Pから位置Pにジャンプする際には、位置Pにおける本来の音量値「80」を表す音量情報を別途送るようにする。
【0005】
(ループ再生のケース)演奏が進み、曲の位置が位置Pに到達したときに位置Pにジャンプする場合において、位置Pから位置Pにジャンプする際に、もし音量情報に関して何もしなかったならば、ジャンプ後の位置P以降に発音される楽音の音量は、位置P(γ)で受信した制御情報γによる音量値「80」のままである。しかし、本来であれば、位置Pでの音量値は「50」であるので、この本来の音量値と実際の音量とが食い違うことになる。従って、位置Pから位置Pにジャンプする際には、位置Pにおける本来の音量値「50」を表す音量情報を別途送るようにする。
【0006】
このように、従来は、演奏位置が途中でジャンプしても制御値のつじつまが合うように、ジャンプした先における本来の制御値を表す楽音制御情報を別途送るようにしている。このように、従来では、上記のようなジャンプが起こるたびに楽音制御情報を送る処理をしているが、このような処理は例えば以下のようなときには無駄になってしまう。
(1)上記図12において、位置Pの制御値と位置Pの制御値が同じであるとき(音量情報γによる音量を「50」にする、など)。
(2)上記図12において、位置Pと位置Pとの間に、新たな楽音制御情報が存在しないとき(つまり、その区間において制御値の変化が無いとき)。
【0007】
このような場合においても楽音制御情報を出力すると、それを受け取って音量値などの変更をする例えば音源は、いくらかの時間を音量設定のために取られてしまう。上記の例では楽音制御情報が一種類の場合を述べているが、実際には楽音制御情報の種類が数種類あるいは十数種類となると、それらの設定にかかる時間は無視できないものとなってくる。また、複数パートを同時に扱う自動演奏装置では、さらに数種類〜十数種類の楽音制御情報がそれぞれパートの数だけ存在し、出力する楽音制御情報の数は多大なものとなる。
【0008】
また同様な問題点であるが、従来の自動演奏装置において、任意の位置から演奏を開始させることができるものがある。かかる自動演奏装置で演奏を開始するときには、まずその開始位置での制御値を指示する楽音制御情報を自動演奏装置側で検索して音源に送出し、音源側で制御値の設定を行うことにより、つじつまを合わせている。しかし、演奏を開始させる前に最後に音源に送出した楽音制御情報による制御値と、上記開始位置での制御値とが等しい場合には、演奏開始に際して改めて楽音制御情報を送る必要はない。そして、かかる無駄な楽音制御情報を送出した場合には上述同様な問題点が生じる。
【0009】
本発明は上述の問題点に鑑みてなされたものであり、無駄な楽音制御情報の送出を無くすことで、音源側装置の無駄な処理を無くせるようにすることを目的とする。
【0010】
【課題を解決するための手段および作用】
上述の課題を解決するために、本発明に係る自動演奏装置は、一つの形態として、曲の演奏位置に対応して楽音制御情報を含む演奏情報を音源側に逐次に送出する自動演奏装置であって、演奏位置を第1位置から第2位置にジャンプさせるジャンプ手段と、演奏位置以前における最後の楽音制御情報を該演奏情報から検索することによって検出する楽音制御情報検出手段と、該楽音制御情報検出手段により検出された該第1位置以前における最後の楽音制御情報と、該楽音制御情報検出手段により検出された該第2位置以前における最後の楽音制御情報とが等しいか否かを判定する判定手段と、該判定手段により両方の該楽音制御情報が等しくないと判定されたときには該第2位置へのジャンプ時に該音源側に該第2位置以前における最後の楽音制御情報を送出し、該判定手段により両方の該楽音制御情報が等しいと判定されたときには該第2位置へのジャンプ時に該音源側に該第2位置以前における最後の楽音制御情報を送出しないよう制御する制御手段とを備えたものである。この自動演奏装置によれば、ジャンプ手段によって演奏位置を第1位置から第2位置にジャンプさせる際、判定手段によって該第2位置へのジャンプ時に該第1位置以前における最後の楽音制御情報と該第2位置以前における最後の楽音制御情報とが等しいか否かを判定し、両方の該楽音制御情報が等しくないと判定されたときには、制御手段により該第2位置へのジャンプ時に音源側に該第2位置以前における最後の楽音制御情報情報を送出するが、該判定手段により両方の該楽音制御情報が等しいと判定されたときには、制御手段により該第2位置へのジャンプ時に該音源側に該第2位置以前における最後の楽音制御情報を送出しないよう制御するので、その場合には音源側は余計な処理を行わないでよいようになる。
【0011】
また本発明に係る自動演奏装置は、他の形態として、曲の演奏位置に対応して楽音制御情報を含む演奏情報を音源側に逐次に送出する自動演奏装置であって、音源側が予め保持している楽音制御情報を認識する認識手段と、曲の演奏を任意の開始位置から開始させる開始手段と、該演奏の開始位置以前における最後の楽音制御情報を該演奏情報から検索することによって検出する楽音制御情報検出手段と、該楽音制御情報検出手段により検出された該開始位置以前における最後の楽音制御情報と該認識手段で認識する楽音制御情報とが等しいか否かを判定する判定手段と、該判定手段により両方の該楽音制御情報が等しくないと判定されたときには該演奏開始時に該音源側に該開始位置以前における最後の楽音制御情報を送出し、該判定手段により両方の該楽音制御情報が等しいと判定されたときには該演奏開始時に該音源側に該開始位置以前における最後の楽音制御情報を送出しないよう制御する制御手段とを備えたものである。この自動演奏装置によれば、音源側が予め保持している曲演奏開始時に用いる演奏制御情報を認識する認識手段と、開始手段により曲の演奏を任意の開始位置から開始させる際に、判定手段により該演奏開始時に該開始位置以前における最後の楽音制御情報と該認識手段で認識する楽音制御情報とが等しいか否かを判定し、両方の該楽音制御情報が等しくないと判定されたときには、制御手段により該演奏開始時に音源側に該開始位置以前における最後の楽音制御情報を送出するが、該判定手段により両方の該楽音制御情報が等しいと判定されたときには、制御手段により該演奏開始時に該音源側に該開始位置以前における最後の楽音制御情報を送出しないよう制御するので、その場合には音源側は余計な処理を行わないでよいようになる。
なお、上記の楽音制御情報は、所定の数値によって構成されるものであり、判定手段は、両方の楽音制御情報の値の差が所定のしきい値以内である場合には、両方の楽音制御情報の値が等しいと判定し、それ以外の場合には、両方の楽音制御情報の値が等しくないと判定するように構成することができる。
【0012】
【0013】
なお、音源側が予め保持している楽音制御情報を認識する仕方としては種々あり、例えば次のものが挙げられる。演奏終了時に送出するデフォルト値を決めておき、曲の演奏終了時にはいつもこのデフォルト値を音源側に送出することにより、演奏開始時には音源がデフォルト値を保持していると認識できる。また、音源側に送出した楽音制御情報を記憶する記憶手段を設け、楽音制御情報を送出するごとにその楽音制御情報を、上記記憶手段に更新しつつ記憶することにより、この記憶手段に記憶された楽音制御情報を音源側が持つ楽音制御情報として認識できる。
【0014】
【発明の実施の形態】
以下、図面を参照して本発明の実施の形態を説明する。図1には本発明の一実施例としての自動演奏装置を含む演奏システムが示される。 図1において、自動演奏装置はCPU、RAM2、ROM3、テンポクロック源4、操作子群5、表示器6、音源7を含み構成される。また、音源7からの楽音信号を発音するサウンドシステムが増幅器8、スピーカ9により構成される。なお音源7は自動演奏装置と一体に組み込むほか、別体として設けてもよく、例えば通信回線を介して接続されるような遠隔場所に配置されるものであってもよい。
【0015】
各構成要素の機能は以下の通りである。
CPU1:ROM3上のプログラムに基づいて装置を制御する。
RAM2:演奏データ、CPU1の処理で用いられる各種変数、フラグなどが格納される。
テンポクロック源4:CPU1から指示されたテンポで、CPU1に対してテンポクロック割込みを発生させる。このテンポクロックは自動演奏の基本クロックとして使用され、4分音符を24等分したタイミングで発生される。
操作子群5:演奏開始、演奏停止を指示するための操作子、リピート演奏の区間とリピート演奏開始を指定するための操作子、演奏開始位置を指定するための操作子からなる。これらについては後に詳細に説明する。
表示器6:演奏中においては現在の演奏位置PCrを表示し、演奏停止中においては演奏開始位置を表示する。
音源7:CPU1から楽音情報を受信し、楽音情報中のノート情報に応じて、指定された音高で楽音を発音し、指定された音高の楽音を消音する。さらに、CPU1からの楽音制御情報(この実施例では音量情報)に応じて音源7の音量を設定し、以降の楽音をこの音量で発音する。
【0016】
図2にはパネル上の操作子群5の詳細な構成が示される。なお、表示器6には前に説明したとおり、現在の演奏位置または演奏開始位置が表示されるものである。各操作子の機能は以下の通りである。
演奏開始スイッチ51:指定された演奏開始位置から演奏を開始させる操作子である。
リピート演奏開始スイッチ52:指定したリピート区間のリピート演奏を開始させる操作子である。
演奏停止スイッチ53:演奏を停止させる操作子である。
リピート区間指定〔A/B〕スイッチ54、55:リピート演奏でない通常の演奏を行っている際に、その演奏曲の所望のタイミングで押下することによりそのタイミングに対応した曲の位置が位置P、位置Pとして記憶設定される。リピート演奏の際は、上記設定された位置Pと位置Pとにより定まる区間が繰り返し演奏される。
演奏開始位置指定〔−/+〕スイッチ56、57:演奏が停止しているときに押下することにより、表示器6に表示されている演奏開始位置を例えば1小節単位で、「+」スイッチ57により演奏の進行方向に、「−」スイッチ56により逆方向に逐次にそれぞれ変更することができる。
【0017】
図3にはRAM2に記憶される演奏データのフォーマットが示される。演奏データは、タイミングデータ、種別データ、ノート番号/音量値データからなる。各データの内容は以下のとおりである。
タイミングデータ:ノート情報あるいは音量情報を音源に送るタイミングであり、演奏データの先頭からのクロック数で示される。
種別データ:ノート情報(ノートオン情報/ノートオフ情報)または音量情報のいずれかである。
ノート番号/音量値データ:種別データがノート情報であればノート番号、種別データが音量情報であれば音量値を示す。
図4は演奏データの具体例を示すもので、種別は、〔Note ON〕がノートオン情報、〔Note OFF〕がノートオフ情報、〔Volume〕が音量情報である。なお、演奏データに付随して、曲の長さを表す曲長さLSE(単位はclock)を記憶する。
【0018】
以下、実施例装置の動作を図5〜図11のフローチャートを参照して説明する。図5〜図7はCPU1で実行されるメインルーチンのフローチャートである。以下、このメインルーチンを説明する。実施例装置が起動されると、まず初期設定が行われる(ステップS1)。この初期設定では、下記変数、フラグを初期化する。また、テンポクロック源4に所定のテンポを設定するとともに、音源7にデフォルトのためのデフォルト音量値VDfを設定する。
〔フラグ〕
演奏フラグFPy:通常の自動演奏中か否かを表示するフラグであり、演奏中は「on」で表示される。なお初期値は「off」である。リピート演奏フラグFRp:リピート演奏中か否かを表示するフラグであり、リピート演奏中は「on」で表示される。
【0019】
〔位置等の変数〕
現位置PCr:現在演奏している曲の位置であり、曲の先頭を0としたときのクロック数で表す。初期値は0である。
リピート開始位置PRS:リピート演奏の開始位置(clock)であり、初期値は「0」に設定される。
リピート終了位置PRE:リピート演奏の終了位置(clock)であり、初期値は曲長さLSEに設定される。
A位置P:リピート区間指定〔A〕スイッチ54で設定される曲の位置である。
B位置P:リピート区間指定〔B〕スイッチ55で設定される曲の位置である。
曲長さLSE:曲の長さであり、曲の末尾位置(clock)で示される。
シフト長LMs:曲の開始位置を〔−〕〔+〕スイッチ56、57を押すことで所定量ずつシフトする際のシフト長であり、この実施例ではl小節分のクロック数が設定される。
【0020】
〔音量の変数〕
現音量値VCr:現位置PCrでの音量値である。
リピート開始音量値VRS:リピート開始位置PRSにおける音量値であり、初期値はデフォルト音量値VDfに設定される。デフォルト音量値VDf
リピート終了音量値VRE:リピート終了位置PREにおける音量値であり、初期値はデフォルト音量値VDfに設定される。
A位置音量値V:A位置Pでの音量値である。
B位置音量値V:B位置PB での音量値である。
デフォルト音量値VDf:デフォルトのための音量値(所定音量値)
【0021】
初期設定が終わったら、パネル上の演奏開始スイッチ51が押されたか否かを調べ(ステップS2)、押されていれば、リピート演奏フラグFRpを「off」に設定して(ステップS3)、以降、通常の自動演奏状態に入る。一方、演奏開始スイッチ51が押されていなければ(ステップS2)、次にリピート演奏開始スイッチ52が押されているか否かを調べ(ステップS4)、押されていれば、リピート演奏フラグFRpを「on」に設定し、現位置PCrにリピート開始位置PRSを設定して、以降、リピート演奏状態に入る。
【0022】
演奏開始スイッチ51もリピート演奏開始スイッチ52も押されていなければ(ステップS2、S4)、自動演奏装置は演奏を行っていない状態にあり、この状態では、表示器6に表示された演奏開始位置を見つつ演奏開始位置指定〔−/+〕スイッチ56、57により演奏開始位置の変更設定が可能である。よって、まず演奏開始位置指定〔−〕スイッチ56が押されたかを調べ(ステップS6)、押されていれば、現位置PCr(=演奏開始位置)からシフト長LMsを引くことで(ステップS7)、演奏開始位置を演奏進行と逆方向にシフト長LMs(=1小節)分移動させる。演奏開始位置指定〔−〕スイッチ56が押されていない場合には(ステップS6)、さらに演奏開始位置指定〔+〕スイッチ57が押されたか否かを調べ(ステップS8)、押されていれば、現位置PCrにシフト長LMsを足すことで(ステップS9)、演奏開始位置を演奏進行方向にシフト長LMs(=1小節)分移動させる。そしてこれら移動後の現位置PCr(=演奏開始位置)を表示し(ステップS10)、ステップS2以降の処理を繰り返す。
【0023】
一方、演奏開始スイッチ51またはリピート演奏開始スイッチ52が押されていた場合には、ステップS11以降の処理を行って、通常の自動演奏またはリピート演奏を行う。まず、曲の現位置PCrから演奏を開始するにあたって、現位置PCrでの音量値(=現音量値VCr)を検出する音量値検出ルーチン(ステップS11)、その音量値の音量情報を送出する音量情報送出ルーチン1(ステップS12)を実行して、演奏フラグFPyを「on」にする(ステップS13)。これらのステップS11、S12については後に詳細に説明する。
【0024】
次に、リピート演奏フラグFRpの状態を見て、現在がリピート演奏中か通常の自動演奏中かを判断する(ステップS14)。リピート演奏フラグFRpが「on」すなわちリピート演奏中であれば、演奏停止スイッチ53が押されたか否かを監視し(ステップS24)、それが押されるまでリピート演奏状態を続ける。演奏停止スイッチ53が押されたときには、演奏フラグFPyを「off」にし(ステップS25)、発音中の音の消音処理を行い(ステップS26)、さらにデフォルト音量値VDfの音量情報を音源7に送出して、音源7をデフォルトの音量に設定して(ステップS27)、リピート演奏を終了し、ステップS2に戻る。
【0025】
リピート演奏フラグFRpが「off」すなわち通常の自動演奏中であれば(ステップS14)、通常の自動演奏が行われるとともに、リピート区間指定〔A/B〕スイッチ54、55を用いてこの自動演奏中においてリピート区間の設定が可能となる。つまり、リピート区間指定〔A/B〕スイッチ54、55が押されている否かを判断し(ステップS15、S18)、いずれもが押されていないときには、前述のステップS24以降を実行して自動演奏を行う。この場合、演奏停止スイッチ53が押されるまで、自動演奏状態が継続することはリピート演奏の場合と同じである。
【0026】
一方、リピート区間指定〔A/B〕スイッチ54、55のいずれかが押されていれば、リピート区間の設定・変更を行う。すなわち、まず、リピート区間指定〔A〕スイッチ54が押されたか否かを判断し(ステップS15)、押されたら、その押された時点での曲の現位置PCrを取得するとともに、前述の音量値検出ルーチンを実行してその現位置PCrに対応する現音量値VCrを取得し(ステップS16)、取得した現位置PCrをA位置Pに、現音量値VCrをA位置音量値Vにそれぞれ設定する(ステップS17)。また、リピート区間指定〔A〕スイッチ54が押されていなければ(ステップS15)、さらにリピート区間指定〔B〕スイッチ55が押されたか否かを判断し(ステップS18)、押されたら、その押された時点での曲の現位置PCrを取得するとともに、前述の音量値検出ルーチンを実行してその現位置PCrに対応する現音量値VCrを取得し(ステップS19)、取得した現位置PCrをB位置Pに、現音量値VCrをB位置音量値Vにそれぞれ設定する(ステップS20)。
【0027】
この後、A位置PとB位置Pの前後関係(大小関係)を調べ(ステップS21)。その結果に応じて、リピート区間の開始点と終了点に対応する各種変数の設定を行う。これは、リピート区間指定〔A〕スイッチ54とリピート区間指定〔B〕スイッチ55のいずれがリピート区間の開始と終了を設定するスイッチであるかは決められておらず、スイッチ54、55により設定されたA位置とB位置のうち、演奏進行方向の前側に設定された位置がリピート区間の開始位置、後側に設定された位置がリピート区間の終了位置となるからである。
【0028】
A位置PよりもB位置Pが大きければ、演奏進行に対してB位置PのほうがA位置Pよりも後側になるから、リピート開始位置PRSにA位置Pを設定し、リピート開始音量値VREにA位置音量値Vを設定し、リピート終了位置PREにB位置Pを設定し、リピート終了音量値VREにB位置音量値Vを設定する。一方、A位置PよりもB位置Pが小さければ、演奏進行に対してB位置PのほうがA位置Pによりも前側になるから、リピート開始位置PRSにB位置Pを設定し、リピート開始音量値VREにB位置音量値Vを設定し、リピート終了位置PREにA位置Pを設定し、リピート終了音量値VREにA位置音量値Vを設定する。このステップS21〜S23の処理により、いずれの場合もリピート開始位置PRSがリピート終了位置PREよりも前側という関係になる。これらのステップS21〜S23が終了したら、ステップS24以降に移行して自動演奏を行う。
【0029】
図8にはCPU1にて実行されるテンポクロック割込ルーチンのフローチャートが示される。このルーチンはテンポクロックにより定期的に発生する割込に応じて起動されるもので、通常の自動演奏またはリピート演奏を実行するためのものである。
【0030】
まず、演奏フラグFPyの状態を判断し(ステップS31)、演奏フラグFPyが「on」でなければ、リターンする。「on」であれば、通常の自動演奏中またはリピート演奏中であり、その場合には曲の現位置PCrを1つ(クロック単位)進める(ステップS32)。
【0031】
次いで、リピート演奏フラグFRpの状態を判断する(ステップS33)。リピート演奏フラグFRp=「on」すなわちリピート演奏中であれば、さらに曲の現位置PCrがリピート終了位置PREに到達したかを判断し(ステップS34)、到達していれば、リピート区間のリピート終了位置PREからリピート開始位置PRSにジャンプすべく、現位置PCrをリピート開始位置PRSに戻す処理「現位置PCr←リピート開始位置PRS」を行う(ステップS35)。この際、リピート終了位置PREで発音されていた音の消音を行い(ステップS36)、リピート開始位置PRSでのリピート開始音量値VREの音量情報を音源7に送出する音量情報送出ルーチン2を実行する。また、ステップS34の判断において曲の現位置PCrがリピート終了位置PREに到達していない場合には、上記のステップS35〜S37を飛び越してリピート演奏を継続する。
【0032】
図11にはこの音量情報送出ルーチン2のフローチャートが示される。まず、ジャンプ前のリピート終了位置PREにおけるリピート終了音量値VREが、ジャンプ後のリピート開始位置PRSにおけるリピート終了音量値VREと同じか否かを判断し(ステップS71)、同じでなければ、リピート開始位置PRSでのリピート開始音量値VREの音量情報を音源7に送る(ステップS72)。一方、同じであればこの送出処理を行わなず、よって、音源7はリピート開始音量値VREの音量情報を受信しないので、余分な処理を行わなくともよいようになる。
【0033】
一方、ステップS33の判断において、リピート演奏フラグFRpが「off 」であった場合には、通常の自動演奏を行っていることになる。この場合には、演奏中の曲の現位置PCrが曲の末尾PSEに到達したか否かを判断し(ステップS38)、到達していれば、演奏フラグFPyを「off」にして、以降このテンポクロック割込ルーチンが実行されないようにし(ステップS39)、発音中の音の消音を行い(ステップS40)、さらに、デフォルト音量値VDfの音量情報を音源7に送出して(ステップS41)、音源7をデフォルトの音量に設定し、リターンする。また、ステップS38の判断において、現位置PCrが曲の末尾PSEに到達してなければ、ステップS39〜S41を飛び越す。
【0034】
リピート演奏または通常の自動演奏においては、表示器6に曲の現位置PCrを表示するとともに(ステップS42)、その曲の現位置PCrに対応するタイミングで演奏データがあるかを判断し(ステップS43)、あれば、それをRAM2から読み出して(ステップS44)、ノート情報(ノートオン情報/ノートオフ情報)、あるいは音量情報として音源7に送出する(ステップS45)。
【0035】
図9には前述の音量値検出ルーチンのフローチャートが示される。この音量値検出ルーチンでは、メインルーチンのステップS11またはステップS16において音量値検出ルーチンが起動されると、曲の現在演奏中の現位置PCrでの音量値を検出し、検出した音量値を現音量値VCrとして返す処理を行う。まず、現音量値VCrに初期値としてデフォルト音量値VDfを設定する(ステップS51)。次いで、音量値検出処理のために演奏データを検索するための曲の位置cを示す変数を「0」に初期化する(ステップS52)。以降、この位置cをカウンタとして、変数c≧現位置PCrとなるまで演奏データの早読みを行う。
【0036】
すなわち、曲の位置cに対応するタイミングの演奏データがあるかを判断し(ステップS53)、あればそれを読み出し(ステップS54)、その読み出した演奏データの種別が音量値であれば、その音量情報の音量値を現音量値VCrに設定する(ステップS56)。演奏データがない場合には(ステップS53)、このステップS54〜S56は飛び越す。次いで、曲の位置cを1つ進め、曲の位置≧現位置PCrすなわち、現在演奏している現位置PCrまで、音量値検出処理が終了しているか否かを判断し(ステップS58)、いなければステップS53に戻り処理を繰り返し、いればメインルーチンにリターンする。
【0037】
図10にはメインルーチンのステップS11において起動される音量情報送出ルーチン1のフローチャートが示される。この音量情報送出ルーチン1では、デフォルト音量値VDfと曲の現位置PCrでの現音量値VCrとが等しいか否かを判断し(ステップS61)、等しくなければ、現音量値VCrの音量情報を音源7に送出し(ステップS62)。等しい場合、すなわちこの時点の音源7の音量が現音量値VCrになっている場合は、ステップS62を飛び越して、音量情報を送出しないようにする。この音量情報送出ルーチン1の処理により、曲が任意の演奏位置から開始された場合において、その開始位置における音量値(=現音量値VCr)が、デフォルト処理により既に音源7に設定されているデフォルト音量値VDfと等しい場合には、音量情報が音源7に送出されないので、曲の演奏開始時に音源7は余分な処理を行わなくて済む。
【0038】
本発明の実施にあたっては種々の変形形態が可能である。例えば、上述の実施例においては、楽音制御情報として特に音量情報の場合を説明したが、音量情報にかぎらず、楽音の音色を指示する情報、ピッチベンド情報、演奏テンポを制御するテンポ情報、ホールド制御(オン/オフの情報であり、楽音の発音を維持させたりその維持を止めたりする制御)の情報などであってもよい。また、楽音制御情報として音源の音量や音色などをデフォルト値に設定するリセット情報を含んでいてもよい。なお、リセット情報はデフォルト音量値やデフォルト音色番号などの具体的な情報を有していないので、このリセット情報を送出したときに音源側で設定される音量や音色などのデフォルト値を予め認識しておくとよい。
【0039】
また、リピート演奏において、リピート終了位置からリピート開始位置にジャンプする際に、リピート開始位置でのリピート開始音量値と、リピート終了位置でのリピート終了音量値とを比較して、等しければリピート開始位置でのリピート開始音量値の音量情報を送出しないようにしたが、本発明はこれに限られるものではなく、以下のようにしてもよい。リピート開始位置からリピート終了位置までの区間の一連の演奏データを読み出して、音量情報が見つからなければ、リピート区間において音量値に変化はないものとして、リピート開始音量値の音量情報を送出しないようにする。
【0040】
また、上述の実施例では、演奏を停止させたときにデフォルトのためのデフォルト音量値を表す音量情報を送出するようにしたが、本発明はこれに限られるものではなく、例えば以下のようにすることで、この音量情報を送出しないようにしてもよい。すなわち、演奏中において音量情報を音源に送る度に、その音量値を更新値としてCPU1側で記憶しておき、いつでも最後に音源7に送出した音量値を確認できるようにしておく。そして、演奏開始の際には、前述の実施例のデフォルト音量値に代えて、上記の「最後に送出した音量値」と、演奏開始位置での音量値とを比較し、等しければ演奏開始位置での音量値を音源7に送らないようにする。これにより、演奏開始の際に余計な情報を音源7に送らなくともすむ。
【0041】
なお、演奏中でないときにおいても音量情報を送出できる装置、例えば自動演奏装置とミキサーとが一体になった装置があるが、このような装置の場合は、自動演奏装置が演奏をしていなくとも、ミキサー部から発生する音量情報を音源部に送出することができる。このため、演奏中に送った音量情報のみを記憶、更新するだけでは音源側が保持している音量情報を認識するのに不十分である。このような装置の場合は、自動演奏装置およびその他の装置からなる一体の装置として音源部に送出した音量情報を記憶、更新すればよい。
【0042】
また、上述の実施例では、音源7に音量情報を送らない場合の判断基準として、例えばリピート終了音量値とリピート開始音量値とが等しい、というような表現をしたが、本発明の目的を達成するためには、両者の値が正確に一致している必要はなく、演奏位置のジャンプをしたときに聴取者に聴感上の大きな違和感を与えない範囲で、「大体等しい」ものであってもよい。具体的には、両音量値の差が所定のしきい値ε以内であれば「等しい」、そうでなければ「等しくない」という判断であってもよい。
【0043】
【発明の効果】
以上に説明したように、本発明によれば、無駄な楽音制御情報の送出を無くすことで、音源側での無駄な処理を無くせるようになる。
【図面の簡単な説明】
【図1】本発明に係る一実施例としての自動演奏装置を含む演奏システムを示す図である。
【図2】実施例装置におけるパネル上の操作子群を示す図である。
【図3】実施例装置における演奏データのフォーマットとその具体例を示す図である。
【図4】実施例装置における演奏データの具体例を示す図である。
【図5】実施例装置におけるメインルーチンを示すフローチャート(1/3)である。
【図6】実施例装置におけるメインルーチンを示すフローチャート(2/3)である。
【図7】実施例装置におけるメインルーチンを示すフローチャート(3/3)である。
【図8】実施例装置におけるテンポ割込みルーチンを示すフローチャートである。
【図9】実施例装置における音量値検出ルーチンを示すフローチャートである。
【図10】実施例装置における音量情報送出ルーチン1を示すフローチャートである。
【図11】実施例装置における音量情報送出ルーチン2を示すフローチャートである。
【図12】従来の自動演奏装置におけるスキップ再生を説明する図である。
【符号の説明】
1 CPU(中央処理装置)
2 RAM(ランダム・アクセス・メモリ)
3 ROM(リード・オンリー・メモリ)
4 テンポクロック源
5 操作子群
6 表示器
7 音源
8 増幅器
9 スピーカ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an automatic performance apparatus that sequentially transmits performance information including musical tone control information to a sound source side corresponding to the performance position of a song.
[0002]
[Prior art]
The musical tone control information in the performance information is information other than the sound generation instruction information (note-on) and the mute instruction information (note-off). Specifically, the information and tone color for controlling the volume of the generated musical sound. , Tempo information for controlling the performance tempo, and the like.
[0003]
The automatic performance device (sequencer) has a repeat playback function that repeatedly plays an arbitrary section of a song, and a skip playback function that jumps a song being played from one arbitrary point to another arbitrary point. Yes. FIG. 12 illustrates volume control when performing with the skip playback function. In FIG. 12, α, β, and γ are musical tone control information for controlling the volume, and specifically, for example,
α: Set the volume to “50”
β: Set the volume to “20”
γ: Set the volume to “80”
It is assumed that the volume control information. Performance information including this musical tone control information is sent from the automatic performance device to the sound source side, and the music is automatically played while the sound volume is controlled on the sound source side. During this automatic performance, the position of the song progresses sequentially, and when it reaches the position of P (α), volume control information (hereinafter simply referred to as volume information) α is output. " When the position P (β) is reached, the volume information β is output, and the volume value is “20” thereafter. The same applies to the volume information γ.
[0004]
[Problems to be solved by the invention]
When performing a performance as described above with a conventional automatic performance device, there are the following problems.
(Skip playback case) The performance progresses and the position of the song is at position P.APosition P whenBWhen jumping to position PAFrom position PBIf you did nothing with the volume information when jumping toBThe volume of the tone that is subsequently generated remains at the volume value “50” based on the volume information α received at the position P (α). However, originally, the position PBSince the sound volume value at “80” is “80”, the original sound volume value and the actual sound volume are different. Therefore, position PAFrom position PBWhen jumping to position PAThe volume information representing the original volume value “80” in is separately sent.
[0005]
(Loop playback case) The performance progresses and the position of the song is at position P.BPosition P whenAWhen jumping to position PBFrom position PAIf you did nothing with the volume information when jumping toAThe volume of the musical sound that is subsequently generated remains the volume value “80” based on the control information γ received at the position P (γ). However, originally, the position PASince the sound volume value at “50” is “50”, the original sound volume value and the actual sound volume are different. Therefore, position PBFrom position PAWhen jumping to position PAThe volume information representing the original volume value “50” in is separately sent.
[0006]
Thus, conventionally, musical tone control information representing the original control value at the jump destination is separately sent so that the control value matches even if the performance position jumps in the middle. As described above, conventionally, processing for sending musical tone control information is performed every time a jump as described above occurs, but such processing is wasted in the following cases, for example.
(1) In FIG.AControl value and position PBAre equal to each other (for example, the volume of the volume information γ is set to “50”).
(2) In FIG.AAnd position PBWhen there is no new musical tone control information between (i.e., when there is no change in the control value in that section).
[0007]
Even in such a case, if the tone control information is output, for example, a sound source that receives the tone control information and changes the volume value or the like takes some time for setting the volume. In the above example, there is described a case where there is only one type of musical sound control information. However, when there are actually several or a dozen types of musical tone control information, the time required for setting them cannot be ignored. In addition, in an automatic performance apparatus that handles a plurality of parts simultaneously, there are several to dozens of types of musical tone control information for each part, and the number of musical tone control information to be output becomes enormous.
[0008]
In addition, there is a similar problem, but there is a conventional automatic performance device that can start performance from an arbitrary position. When a performance is started by such an automatic performance device, first, musical tone control information for instructing a control value at the start position is searched for on the automatic performance device side and transmitted to the sound source, and the control value is set on the sound source side. , I'm matching it. However, if the control value based on the musical tone control information sent to the sound source last before starting the performance is equal to the control value at the start position, it is not necessary to send the musical tone control information again at the start of the performance. When such wasteful tone control information is transmitted, the same problem as described above occurs.
[0009]
The present invention has been made in view of the above-described problems, and an object of the present invention is to eliminate useless processing of a sound source side device by eliminating useless transmission of musical tone control information.
[0010]
[Means and Actions for Solving the Problems]
In order to solve the above-described problems, an automatic performance device according to the present invention is, as one form, an automatic performance device that sequentially sends performance information including musical tone control information corresponding to the performance position of a song to the sound source side. Jump means for jumping the performance position from the first position to the second position;The musical tone control information detecting means for detecting the last musical tone control information before the performance position by searching from the performance information, and detected by the musical tone control information detecting means.The first positionLast in the pastMusic control information and, Detected by the musical tone control information detecting meansThe second positionLast in the pastDetermining means for determining whether or not the musical sound control information is equal; and when the determination means determines that both of the musical sound control information are not equal, the second position on the sound source side when jumping to the second positionLast in the pastWhen musical tone control information is transmitted and it is determined by the determining means that both the musical tone control information are equal, the second position on the sound source side is jumped to the second position.Last in the pastAnd control means for controlling not to send the musical tone control information. According to the automatic performance device, when the performance position is jumped from the first position to the second position by the jump means, the first position is determined when the determination means jumps to the second position.Last in the pastMusical sound control information and the second positionLast in the pastIt is determined whether or not the musical tone control information is equal, and when it is determined that both of the musical tone control information are not equal, the second position on the sound source side when the control means jumps to the second position.Last in the pastMusical tone control information information is sent out, but when the determination means determines that both the musical tone control information are equal, the control means jumps to the second position and the second position on the sound source side.Last in the pastSince the control is performed so as not to send the musical tone control information, in this case, the sound source side does not need to perform extra processing.
[0011]
The automatic performance device according to the present invention, as another form, is an automatic performance device that sequentially sends performance information including musical tone control information corresponding to the performance position of a song to the sound source side, which is held in advance by the sound source side. Recognizing means for recognizing the musical tone control information, starting means for starting the performance of the song from an arbitrary starting position,The musical tone control information detecting means for detecting the last musical tone control information before the start position of the performance by searching from the performance information, and detected by the musical tone control information detecting means.The starting positionLast in the pastMusic control information and,Determining means for determining whether or not the musical tone control information recognized by the recognizing means is equal; and when the determining means determines that both of the musical tone control information are not equal, the start to the sound source side at the start of the performance positionLast in the pastWhen the musical tone control information is transmitted and it is determined by the determination means that both the musical tone control information are equal, the start position is placed on the sound source side at the start of the performance.Last in the pastAnd control means for controlling not to send the musical tone control information. According to this automatic performance device, the recognition means for recognizing the performance control information used at the start of the music performance held in advance by the sound source side, and the determination means when the performance of the music is started from an arbitrary start position by the start means. The start position at the start of the performanceLast in the pastIt is determined whether or not the musical tone control information is equal to the musical tone control information recognized by the recognition means, and when it is determined that both musical tone control information are not equal, the control means starts the start on the sound source side when the performance starts. positionLast in the pastMusical tone control information is sent out, but when it is judged by the judging means that both the musical tone control information are equal, the control means gives the start position to the sound source side at the start of the performance.Last in the pastSince the control is performed so as not to send the musical tone control information, in this case, the sound source side does not need to perform extra processing.
  Note that the above tone control information is constituted by a predetermined numerical value, and if the difference between the values of both the tone control information is within a predetermined threshold value, the determination means controls both tone controls. It can be configured that it is determined that the information values are equal, and in other cases, the values of both musical tone control information are not equal.
[0012]
[0013]
There are various ways of recognizing the musical tone control information held in advance on the sound source side, and examples thereof include the following. By determining a default value to be sent at the end of the performance and always sending this default value to the sound source side at the end of the music performance, it can be recognized that the sound source holds the default value at the start of the performance. Further, a storage means for storing the musical tone control information sent to the sound source side is provided, and every time the musical tone control information is sent, the musical tone control information is stored in the storage means by being updated and stored. Can be recognized as musical tone control information on the sound source side.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a performance system including an automatic performance apparatus as an embodiment of the present invention. In FIG. 1, the automatic performance device includes a CPU, a RAM 2, a ROM 3, a tempo clock source 4, an operator group 5, a display 6, and a sound source 7. In addition, a sound system that generates a musical tone signal from the sound source 7 includes an amplifier 8 and a speaker 9. The sound source 7 may be provided separately as an integral part of the automatic performance device, or may be provided at a remote location connected via a communication line, for example.
[0015]
The function of each component is as follows.
CPU1: The apparatus is controlled based on a program on the ROM3.
RAM2: Performance data, various variables used in the processing of the CPU1, flags, etc. are stored.
Tempo clock source 4: The CPU 1 generates a tempo clock interrupt at the tempo instructed by the CPU 1. This tempo clock is used as a basic clock for automatic performance, and is generated at a timing obtained by dividing a quarter note into 24 equal parts.
Operator group 5: It consists of an operator for instructing performance start and performance stop, an operator for designating a repeat performance section and repeat performance start, and an operator for designating a performance start position. These will be described in detail later.
Indicator 6: Current performance position P during performanceCrWhen the performance is stopped, the performance start position is displayed.
Sound source 7: Receives musical tone information from the CPU 1, sounds a musical tone at a designated pitch according to note information in the musical tone information, and mutes a musical tone at a designated pitch. Further, the volume of the sound source 7 is set in accordance with the tone control information from the CPU 1 (volume information in this embodiment), and the subsequent tone is pronounced at this volume.
[0016]
FIG. 2 shows a detailed configuration of the operator group 5 on the panel. As described above, the display 6 displays the current performance position or performance start position. The function of each operator is as follows.
Performance start switch 51: An operator for starting performance from a designated performance start position.
Repeat performance start switch 52: An operator for starting repeat performance of a specified repeat section.
Performance stop switch 53: an operator for stopping performance.
Repeat section designation [A / B] switches 54, 55: When a normal performance that is not a repeat performance is being performed, pressing the music piece at a desired timing causes the position of the music corresponding to that timing to be at position P.A, Position PBIs set as memory. When performing a repeat performance, the set position PAAnd position PBThe section determined by is repeatedly played.
Performance start position designation [-/ +] switches 56, 57: When the performance is stopped, the "+" switch 57 indicates the performance start position displayed on the display 6 in units of one measure, for example. By using the “−” switch 56, it is possible to sequentially change in the direction of performance.
[0017]
FIG. 3 shows a format of performance data stored in the RAM 2. The performance data includes timing data, type data, and note number / volume value data. The contents of each data are as follows.
Timing data: Timing at which note information or volume information is sent to the sound source, and is indicated by the number of clocks from the beginning of the performance data.
Type data: Note information (note-on information / note-off information) or volume information.
Note number / volume value data: indicates a note number if the type data is note information, and a volume value if the type data is volume information.
FIG. 4 shows a specific example of performance data. The types are [Note ON] for note-on information, [Note OFF] for note-off information, and [Volume] for volume information. Along with the performance data, the song length L representing the song lengthSE(Unit: clock) is stored.
[0018]
The operation of the embodiment apparatus will be described below with reference to the flowcharts of FIGS. 5 to 7 are flowcharts of a main routine executed by the CPU 1. Hereinafter, the main routine will be described. When the embodiment apparatus is activated, initial setting is first performed (step S1). In this initial setting, the following variables and flags are initialized. In addition, a predetermined tempo is set in the tempo clock source 4 and the default sound volume value V for the sound source 7 is set as a default.DfSet.
〔flag〕
Performance flag FPy: A flag indicating whether or not normal automatic performance is being performed, and is displayed as “on” during performance. The initial value is “off”. Repeat performance flag FRp: This flag indicates whether or not a repeat performance is being performed, and is displayed as “on” during a repeat performance.
[0019]
[Variables such as position]
Current position PCr: The position of the currently playing song, expressed as the number of clocks when the beginning of the song is 0. The initial value is 0.
Repeat start position PRS: Start position (clock) of repeat performance, and initial value is set to “0”.
Repeat end position PRE: Repeat play end position (clock), initial value is song length LSESet to
A position PA: Repeat section designation [A] The position of the song set by the switch 54.
B position PB: Repeat section designation [B] The position of the song set by the switch 55.
Song length LSE: The length of the song, which is indicated by the end position (clock) of the song.
Shift length LMs: The shift length when shifting the start position of the music piece by a predetermined amount by pressing the [-] [+] switches 56, 57. In this embodiment, the number of clocks for 1 bar is set.
[0020]
[Volume variable]
Current volume value VCr: Current position PCrThe volume value at.
Repeat start volume value VRS: Repeat start position PRSThe initial value is the default volume value VDfSet to Default volume value VDf
Repeat end volume value VRE: Repeat end position PREThe initial value is the default volume value VDfSet to
A position volume value VA: A position PAThe volume value at.
B position volume value VB: Volume value at the B position PB.
Default volume value VDf: Volume value for default (predetermined volume value)
[0021]
When the initial setting is completed, it is checked whether or not the performance start switch 51 on the panel is pressed (step S2). If it is pressed, the repeat performance flag F is checked.RpIs set to “off” (step S3), and then the normal automatic performance state is entered. On the other hand, if the performance start switch 51 has not been pressed (step S2), it is next checked whether or not the repeat performance start switch 52 has been pressed (step S4). If it has been pressed, the repeat performance flag F is checked.RpIs set to “on” and the current position PCrRepeat start position PRSAfter that, enter the repeat performance mode.
[0022]
If neither the performance start switch 51 nor the repeat performance start switch 52 is pressed (steps S2 and S4), the automatic performance device is not performing, and in this state, the performance start position displayed on the display 6 is displayed. The performance start position can be changed and set by the performance start position designation [-/ +] switches 56 and 57. Therefore, first, it is checked whether or not the performance start position designation [-] switch 56 has been pressed (step S6).CrShift length L from (= performance start position)Ms(Step S7), the performance start position is shifted in the direction opposite to the performance progression by the shift length L.MsMove by (= 1 measure). When the performance start position designation [-] switch 56 is not depressed (step S6), it is further checked whether or not the performance start position designation [+] switch 57 is depressed (step S8). , Current position PCrShift length LMs(Step S9), the performance start position shifts in the performance progression direction LMsMove by (= 1 measure). And the current position P after these movementsCr(= Performance start position) is displayed (step S10), and the processing after step S2 is repeated.
[0023]
On the other hand, if the performance start switch 51 or the repeat performance start switch 52 has been pressed, the processing after step S11 is performed to perform normal automatic performance or repeat performance. First, the current position P of the songCrWhen starting performance from the current position PCrVolume value at (= current volume value VCr) To detect a volume value detection routine (step S11) and a volume information transmission routine 1 (step S12) to transmit volume information of the volume value.PyIs set to “on” (step S13). These steps S11 and S12 will be described in detail later.
[0024]
Next, repeat performance flag FRpFrom this state, it is determined whether the current performance is a repeat performance or a normal automatic performance (step S14). Repeat performance flag FRpIs “on”, that is, during the repeat performance, it is monitored whether or not the performance stop switch 53 is depressed (step S24), and the repeat performance state is continued until it is depressed. When the performance stop switch 53 is pressed, the performance flag FPyIs set to “off” (step S25), the sound being silenced is processed (step S26), and the default volume value V is set.DfIs sent to the sound source 7, the sound source 7 is set to the default sound volume (step S27), the repeat performance is terminated, and the process returns to step S2.
[0025]
Repeat performance flag FRpIs “off”, that is, during normal automatic performance (step S14), normal automatic performance is performed, and repeat interval designation [A / B] switches 54 and 55 are used to indicate the repeat interval during this automatic performance. Setting is possible. That is, it is determined whether or not the repeat section designation [A / B] switches 54 and 55 are pressed (steps S15 and S18). If neither is pressed, the above-described steps S24 and subsequent steps are executed automatically. Perform. In this case, the automatic performance state continues until the performance stop switch 53 is pressed, as in the case of repeat performance.
[0026]
On the other hand, if one of the repeat section designation [A / B] switches 54 and 55 is pressed, the repeat section is set / changed. That is, first, it is determined whether or not the repeat section designation [A] switch 54 has been pressed (step S15), and if it has been pressed, the current position P of the song at the time of pressing.CrAnd the above-described volume value detection routine is executed to determine the current position PCrCurrent volume value V corresponding toCr(Step S16), and the acquired current position PCrA position PACurrent volume value VCrA position volume value VA(Step S17). If the repeat section designation [A] switch 54 is not depressed (step S15), it is further determined whether or not the repeat section designation [B] switch 55 is depressed (step S18). The current position P of the song at the timeCrAnd the above-described volume value detection routine is executed to determine the current position PCrCurrent volume value V corresponding toCr(Step S19), and the acquired current position PCrB position PBCurrent volume value VCrB position volume value VB(Step S20).
[0027]
After this, A position PAAnd B position PBIs examined (step S21). In accordance with the result, various variables corresponding to the start point and end point of the repeat section are set. It is not determined which one of the repeat section designation [A] switch 54 and the repeat section designation [B] switch 55 is a switch for setting the start and end of the repeat section, and is set by the switches 54 and 55. This is because, of the A and B positions, the position set on the front side in the performance progression direction is the start position of the repeat section, and the position set on the back side is the end position of the repeat section.
[0028]
A position PAB position P thanBIs large, the B position P with respect to the performance progressBIs A position PAThe repeat start position PRSA position PA, And repeat start volume value VREA position volume value VAAnd repeat end position PREB position PBTo set the repeat end volume value VREB position volume value VBSet. On the other hand, A position PAB position P thanBIs small, the B position P with respect to the performance progressBIs A position PAThe repeat start position PRSB position PB, And repeat start volume value VREB position volume value VBAnd repeat end position PREA position PATo set the repeat end volume value VREA position volume value VASet. In any case, the repeat start position P is determined by the processes of steps S21 to S23.RSIs the repeat end position PREIt becomes a relationship of the front side. When these steps S21 to S23 are completed, the process proceeds to step S24 and subsequent to perform an automatic performance.
[0029]
FIG. 8 shows a flowchart of a tempo clock interrupt routine executed by the CPU 1. This routine is started in response to an interrupt periodically generated by the tempo clock, and is for executing a normal automatic performance or repeat performance.
[0030]
First, the performance flag FPyIs determined (step S31), and the performance flag F is determined.PyIf is not "on", return. If it is “on”, it is during normal automatic performance or repeat performance, in which case the current position P of the songCrIs advanced by one (clock unit) (step S32).
[0031]
Next, repeat performance flag FRpIs determined (step S33). Repeat performance flag FRp= "On", that is, if a repeat performance is being performed, the current position P of the songCrIs the repeat end position PREIs reached (step S34). If it has been reached, the repeat end position P of the repeat section is reached.RERepeat start position PRSTo jump to the current position PCrRepeat start position PRSProcess to return to “current position PCr← Repeat start position PRSIs performed (step S35). At this time, repeat end position PREThe sound that was sounded in step 3 is muted (step S36), and the repeat start position PRSRepeat start volume value VREThe sound volume information sending routine 2 for sending the sound volume information to the sound source 7 is executed. Further, in the determination in step S34, the current position P of the songCrIs the repeat end position PREIf not, the repeat performance is continued by skipping steps S35 to S37.
[0032]
FIG. 11 shows a flowchart of the volume information transmission routine 2. First, repeat end position P before jumpRERepeat end volume value VREIs the repeat start position P after the jumpRSRepeat end volume value VRE(Step S71), if not, repeat start position PRSRepeat start volume value VREIs sent to the sound source 7 (step S72). On the other hand, if it is the same, this sending process is not performed, and therefore the sound source 7 does not repeat the sound volume VRETherefore, it is not necessary to perform extra processing.
[0033]
On the other hand, in the determination of step S33, the repeat performance flag FRpIs “off”, it means that a normal automatic performance is being performed. In this case, the current position P of the song being playedCrIs the end P of the songSEIs reached (step S38), and if it has been reached, the performance flag FPyIs set to “off” so that the tempo clock interruption routine is not executed thereafter (step S39), the sound being sounded is muted (step S40), and the default volume value V is set.DfIs sent to the sound source 7 (step S41), the sound source 7 is set to the default sound volume, and the process returns. In the determination in step S38, the current position PCrIs the end P of the songSEIf not reached, steps S39 to S41 are skipped.
[0034]
In repeat performance or normal automatic performance, the current position P of the song is displayed on the display 6.CrIs displayed (step S42), and the current position P of the song is displayed.CrIt is determined whether there is performance data at a timing corresponding to (step S43). (Step S45).
[0035]
FIG. 9 shows a flowchart of the above-described volume value detection routine. In this volume value detection routine, when the volume value detection routine is started in step S11 or step S16 of the main routine, the current position P of the music currently being played is detected.CrDetect the volume value at, and use the detected volume value as the current volume value VCrProcess to return as. First, the current volume value VCrDefault volume value V as initial valueDfIs set (step S51). Next, a variable indicating the position c of the music for searching performance data for the volume value detection process is initialized to “0” (step S52). Thereafter, using this position c as a counter, variable c ≧ current position PCrThe performance data is read quickly until
[0036]
That is, it is determined whether there is performance data at a timing corresponding to the position c of the song (step S53), and if it is read, it is read (step S54). If the type of the read performance data is a volume value, the volume The volume value of the information is the current volume value VCr(Step S56). If there is no performance data (step S53), steps S54 to S56 are skipped. Next, the position c of the song is advanced by one, and the position of the song ≧ current position PCrThat is, the current position P currently being playedCrIt is determined whether or not the sound volume value detection process has been completed (step S58), and if not, the process returns to step S53 to repeat the process, and if so, the process returns to the main routine.
[0037]
FIG. 10 shows a flowchart of the volume information sending routine 1 started in step S11 of the main routine. In this volume information transmission routine 1, the default volume value VDfAnd the current position P of the songCrCurrent volume value at VCrAre equal (step S61). If they are not equal, the current volume value VCrIs sent to the sound source 7 (step S62). If they are equal, that is, the volume of the sound source 7 at this time is the current volume value VCrIf so, step S62 is skipped so that the volume information is not transmitted. When the music is started from an arbitrary performance position by the processing of the volume information transmission routine 1, the volume value at the start position (= current volume value VCr) Is the default volume value V that has already been set for the sound source 7 by default processing.DfSince the volume information is not sent to the sound source 7, the sound source 7 does not need to perform extra processing when the performance of the music starts.
[0038]
Various modifications are possible in the practice of the present invention. For example, in the above-described embodiment, the case of the volume information is particularly described as the musical tone control information. However, not only the volume information but also information indicating the tone color of the musical tone, pitch bend information, tempo information controlling the performance tempo, hold control (Information that is on / off information and controls to maintain the tone generation or stop maintaining it). Further, the tone control information may include reset information for setting the volume and tone color of the sound source to default values. Note that the reset information does not have specific information such as the default volume value or default tone number, so the default values such as volume and tone set on the sound source side when this reset information is sent are recognized in advance. It is good to keep.
[0039]
In repeat performance, when jumping from the repeat end position to the repeat start position, the repeat start volume value at the repeat start position is compared with the repeat end volume value at the repeat end position. However, the present invention is not limited to this, and may be as follows. If a series of performance data from the repeat start position to the repeat end position is read and the volume information is not found, it is assumed that there is no change in the volume value in the repeat section, and the volume information of the repeat start volume value is not sent. To do.
[0040]
In the above-described embodiment, the volume information indicating the default volume value for the default is sent when the performance is stopped. However, the present invention is not limited to this, and for example, as follows: Thus, the volume information may not be transmitted. That is, every time the volume information is sent to the sound source during the performance, the volume value is stored on the CPU 1 side as an updated value so that the volume value finally sent to the sound source 7 can be confirmed at any time. Then, at the start of performance, instead of the default volume value of the above-described embodiment, the above-mentioned “last transmitted volume value” is compared with the volume value at the performance start position. The volume value at is not sent to the sound source 7. This eliminates the need to send extra information to the sound source 7 at the start of the performance.
[0041]
There are devices that can send volume information even when the performance is not being performed, for example, a device in which an automatic performance device and a mixer are integrated. In such a device, the automatic performance device may not perform. Volume information generated from the mixer unit can be sent to the sound source unit. For this reason, it is not sufficient to recognize the volume information held on the sound source side only by storing and updating only the volume information sent during the performance. In the case of such a device, the volume information sent to the sound source unit may be stored and updated as an integrated device composed of an automatic performance device and other devices.
[0042]
Further, in the above-described embodiment, as a criterion for not sending the volume information to the sound source 7, for example, the expression that the repeat end volume value and the repeat start volume value are equal is used, but the object of the present invention is achieved. In order to achieve this, the two values do not need to be exactly the same, and even if they are “approximately equal” as long as they do not give the listener a great sense of discomfort when the performance position jumps, Good. Specifically, the determination may be “equal” if the difference between both volume values is within a predetermined threshold ε, and “not equal” otherwise.
[0043]
【The invention's effect】
As described above, according to the present invention, useless processing on the sound source side can be eliminated by eliminating useless transmission of musical tone control information.
[Brief description of the drawings]
FIG. 1 is a diagram showing a performance system including an automatic performance device as one embodiment according to the present invention.
FIG. 2 is a diagram illustrating a group of operators on a panel in the embodiment device.
FIG. 3 is a diagram showing a format of performance data and a specific example thereof in the embodiment apparatus.
FIG. 4 is a diagram showing a specific example of performance data in the embodiment apparatus.
FIG. 5 is a flowchart (1/3) showing a main routine in the embodiment apparatus;
FIG. 6 is a flowchart (2/3) showing a main routine in the embodiment apparatus;
FIG. 7 is a flowchart (3/3) showing a main routine in the embodiment apparatus;
FIG. 8 is a flowchart showing a tempo interrupt routine in the embodiment apparatus.
FIG. 9 is a flowchart showing a volume value detection routine in the embodiment apparatus;
FIG. 10 is a flowchart showing a sound volume information transmission routine 1 in the embodiment apparatus.
FIG. 11 is a flowchart showing a volume information sending routine 2 in the embodiment apparatus;
FIG. 12 is a diagram for explaining skip reproduction in a conventional automatic performance device.
[Explanation of symbols]
1 CPU (Central Processing Unit)
2 RAM (Random Access Memory)
3 ROM (Read Only Memory)
4 Tempo clock source
5 controls
6 Display
7 Sound source
8 Amplifier
9 Speaker

Claims (3)

曲の演奏位置に対応して楽音制御情報を含む演奏情報を音源側に逐次に送出する自動演奏装置であって、
演奏位置を第1位置から第2位置にジャンプさせるジャンプ手段と、
演奏位置以前における最後の楽音制御情報を該演奏情報から検索することによって検出する楽音制御情報検出手段と、
該楽音制御情報検出手段により検出された該第1位置以前における最後の楽音制御情報と、該楽音制御情報検出手段により検出された該第2位置以前における最後の楽音制御情報とが等しいか否かを判定する判定手段と、
該判定手段により両方の該楽音制御情報が等しくないと判定されたときには該第2位置へのジャンプ時に該音源側に該第2位置以前における最後の楽音制御情報を送出し、該判定手段により両方の該楽音制御情報が等しいと判定されたときには該第2位置へのジャンプ時に該音源側に該第2位置以前における最後の楽音制御情報を送出しないよう制御する制御手段とを備えた自動演奏装置。
An automatic performance device that sequentially sends performance information including musical tone control information corresponding to the performance position of a song to the sound source side,
Jump means for jumping the performance position from the first position to the second position;
Musical tone control information detecting means for detecting the last musical tone control information before the performance position by searching from the performance information;
Whether the last musical tone control information before the first position detected by the musical tone control information detecting means is equal to the last musical tone control information before the second position detected by the musical tone control information detecting means . Determining means for determining
When it is determined by the determination means that the two tone control information are not equal, the last tone control information before the second position is sent to the sound source side at the time of jumping to the second position, and both are determined by the determination means. Control means for controlling not to send the last musical tone control information before the second position to the sound source side when jumping to the second position when the musical tone control information is determined to be equal .
曲の演奏位置に対応して楽音制御情報を含む演奏情報を音源側に逐次に送出する自動演奏装置であって、
音源側が予め保持している楽音制御情報を認識する認識手段と、
曲の演奏を任意の開始位置から開始させる開始手段と、
該演奏の開始位置以前における最後の楽音制御情報を該演奏情報から検索することによって検出する楽音制御情報検出手段と、
該楽音制御情報検出手段により検出された該開始位置以前における最後の楽音制御情報と該認識手段で認識する楽音制御情報とが等しいか否かを判定する判定手段と、
該判定手段により両方の該楽音制御情報が等しくないと判定されたときには該演奏開始時に該音源側に該開始位置以前における最後の楽音制御情報を送出し、該判定手段により両方の該楽音制御情報が等しいと判定されたときには該演奏開始時に該音源側に該開始位置以前における最後の楽音制御情報を送出しないよう制御する制御手段とを備えた自動演奏装置。
An automatic performance device that sequentially sends performance information including musical tone control information corresponding to the performance position of a song to the sound source side,
Recognizing means for recognizing musical tone control information held in advance by the sound source
Start means for starting the performance of the song from an arbitrary start position;
Musical tone control information detecting means for detecting the last musical tone control information before the start position of the performance by searching from the performance information;
And last tone control information at the starting position before the detection of the musical sound control information detecting means, determining means for determining whether the recognized tone control information by said recognition means is equal,
When it is determined by the determination means that the two tone control information is not equal, the last tone control information before the start position is sent to the sound source side at the start of the performance, and both the tone control information are transmitted by the determination means. An automatic performance apparatus comprising: control means for controlling not to send the last musical tone control information before the start position to the sound source side at the start of the performance when it is determined that they are equal.
前記楽音制御情報は、所定の数値によって構成されるものであり、前記判定手段は、前記両方の楽音制御情報の値の差が所定のしきい値以内である場合には、前記両方の楽音制御情報の値が等しいと判定し、それ以外の場合には、前記両方の楽音制御情報の値が等しくないと判定することを特徴とする請求項1又は2に記載の自動演奏装置。  The musical tone control information is constituted by a predetermined numerical value, and when the difference between the values of the two musical tone control information is within a predetermined threshold, the determination means controls both musical tone controls. 3. The automatic performance device according to claim 1, wherein it is determined that the values of the information are equal, and otherwise, it is determined that the values of the two tone control information are not equal.
JP30726497A 1997-11-10 1997-11-10 Automatic performance device Expired - Fee Related JP3883270B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30726497A JP3883270B2 (en) 1997-11-10 1997-11-10 Automatic performance device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30726497A JP3883270B2 (en) 1997-11-10 1997-11-10 Automatic performance device

Publications (2)

Publication Number Publication Date
JPH11143464A JPH11143464A (en) 1999-05-28
JP3883270B2 true JP3883270B2 (en) 2007-02-21

Family

ID=17967026

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30726497A Expired - Fee Related JP3883270B2 (en) 1997-11-10 1997-11-10 Automatic performance device

Country Status (1)

Country Link
JP (1) JP3883270B2 (en)

Also Published As

Publication number Publication date
JPH11143464A (en) 1999-05-28

Similar Documents

Publication Publication Date Title
JP2743680B2 (en) Automatic performance device
CN106128437B (en) Electronic musical instrument
US7314993B2 (en) Automatic performance apparatus and automatic performance program
JP3139923B2 (en) Automatic accompaniment device
JP3743024B2 (en) Performance practice device
JP3484719B2 (en) Performance guide device with voice input function and performance guide method
JP4134945B2 (en) Automatic performance device and program
JP3883270B2 (en) Automatic performance device
JP3267777B2 (en) Electronic musical instrument
JP3171759B2 (en) Automatic performance device
JP4214845B2 (en) Automatic arpeggio device and computer program applied to the device
JP2643277B2 (en) Automatic performance device
JP4056902B2 (en) Automatic performance apparatus and automatic performance method
JP2000221967A (en) Setting control device for electronic musical instrument or the like
JP5164401B2 (en) Automatic performance device and automatic performance program
JP3501254B2 (en) Electronic musical instrument
JP4241833B2 (en) Automatic performance device and program
JP2000315087A (en) Automatic accompaniment device
JP3853054B2 (en) Performance data update device for automatic performance device
JP3823945B2 (en) Performance guide apparatus with voice input function and performance guide method
JP2000056771A (en) Waveform playback device
JP2002162964A (en) Automatic performance device
JPH0895565A (en) Automatic player
JPH1124659A (en) Score display device
JP2006047646A (en) Automatic performance device

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040909

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040910

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060606

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060613

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060731

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20060731

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060804

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060829

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061023

TRDD Decision of grant or rejection written
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20061109

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20061114

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061114

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20101124

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111124

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121124

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131124

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees