JP3407489B2 - Automatic performance device - Google Patents

Automatic performance device

Info

Publication number
JP3407489B2
JP3407489B2 JP20642795A JP20642795A JP3407489B2 JP 3407489 B2 JP3407489 B2 JP 3407489B2 JP 20642795 A JP20642795 A JP 20642795A JP 20642795 A JP20642795 A JP 20642795A JP 3407489 B2 JP3407489 B2 JP 3407489B2
Authority
JP
Japan
Prior art keywords
data
chord
performance
accompaniment
key
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
JP20642795A
Other languages
Japanese (ja)
Other versions
JPH0934463A (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.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP20642795A priority Critical patent/JP3407489B2/en
Publication of JPH0934463A publication Critical patent/JPH0934463A/en
Application granted granted Critical
Publication of JP3407489B2 publication Critical patent/JP3407489B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】この発明は、予め記憶された
演奏パターンデータに基づいて操作者の操作に合わせた
演奏を行う自動演奏装置に関する。 【0002】 【従来の技術】従来の自動演奏装置の中には、コードパ
ート及びベースパート(以下「コードベースパート」と
いう)などの伴奏パートに関して、曲の進行に従って順
番に記憶された和音進行データやユーザによって逐次指
定される和音データに基づき、別途記憶されているシー
ケンシャルな伴奏パターンデータを、その和音進行デー
タや和音データの和音に適した音に変換(ノート変換)
して自動伴奏を行うものがあった。 【0003】 【発明が解決しようとする課題】従来の自動演奏装置の
ように、一部の伴奏パートを自動伴奏によって補うタイ
プのものは、伴奏パターンデータを指定するパターン番
号を変更するだけで簡単に曲のアレンジを変更したり、
また、和音進行データや和音データを変更するだけで多
彩なコードワークを実現でき、初心者でも容易に取り扱
うことができるという利点がある。ところが、このよう
な自動伴奏装置は所定の伴奏パターンデータに従った演
奏しか行えないため、曲の途中で伴奏パターンを微妙に
変化させたりすることができなかった。そこで、曲の途
中で伴奏パターンを微妙に変化させるために、従来は自
動伴奏装置で作成された伴奏データすなわちシーケンシ
ャルな伴奏データを一旦記憶しておき、そのシーケンシ
ャルな伴奏データの一部分すなわち音符データを緻密に
エディットすることによって、伴奏に微妙な変化を与え
るようにしていた。しかしながら、このようにして一旦
作成されたシーケンシャルな伴奏データに関して、和音
の進行状態を変化させたり、伴奏パターンを変化させる
ためには、シーケンシャルな伴奏データを構成する音符
データ自体を逐次エディットするという作業を行わなけ
ればならず、音楽的に高度な知識と多大の労力が必要で
あり、初心者にとっては極めて困難な作業であった。 【0004】この発明は、シーケンシャルな演奏データ
の一部分をユーザの指定する和音に従って変化させるこ
とのできる自動演奏装置を提供することを目的とする。 【0005】 【0006】【課題を解決するための手段】 この発明に係る自動演
奏装置は、伴奏に関するパターンデータを記憶するパタ
ーン記憶手段と、再生演奏のための和音を指定する和音
指定手段と、前記パターン記憶手段に記憶されている前
記パターンデータを前記和音指定手段によって指定され
た第1の和音に基づいて読み出し、一連の演奏データを
作成する演奏データ作成手段と、この演奏データ作成手
段によって作成された前記演奏データを記憶する演奏デ
ータ記憶手段と、この演奏データ記憶手段に記憶されて
いる前記一連の演奏データに基づいて和音進行を検出す
る和音検出手段と、この和音検出手段によって検出され
た和音進行と前記和音指定手段によって指定された第2
和音とに基づいて前記演奏データを変換する変換手段
とを具備し、前記演奏データ記憶手段は前記変換手段に
よって変換された演奏データを記憶することを特徴とす
ものである。 【0007】この発明において、演奏データ供給手段や
演奏データ記憶手段はシーケンシャルな演奏データを順
次供給するので、和音検出手段は順次供給される演奏デ
ータに基づいて、和音を抽出し、その演奏データ全体に
おける和音進行を検出する。一方、和音指定手段は、ユ
ーザなどの操作に対応した和音を供給する。変換手段は
この和音検出手段によって検出された和音進行と、和音
指定手段によって指定された指定和音に基づいて前記演
奏データを変換、すなわち、演奏データの音高を変換す
る。これによって、シーケンシャルな演奏データの一部
分を変更したい場合に、従来のようにその演奏データを
構成する音符データ自体を逐次エディットしなくてもよ
くなり、ユーザは単純に和音の指定を行うだけで、演奏
データを容易に変更することができるようになる。 【0008】 【発明の実施の形態】以下、添付図面を参照してこの発
明の実施の形態を詳細に説明する。図1はこの発明に係
る自動演奏装置を適用した電子楽器の実施の形態を示す
ハード構成ブロック図である。この実施の形態において
は、マイクロプロセッサユニット(CPU)1、プログ
ラムメモリ(ROM)2、ワーキングメモリ(RAM)
3を含むマイクロコンピュータの制御の下に各種の処理
が実行されるようになっている。この実施の形態では1
つのCPU1によって自動伴奏処理等を行う電子楽器を
例に説明する。CPU1はこの電子楽器全体の動作を制
御するものである。このCPU1に対して、データ及び
アドレスバス16を介してプログラムメモリ2、ワーキ
ングメモリ3、演奏メモリ(RAM)4、伴奏パターン
メモリ(ROM)5、押鍵検出回路6、スイッチ検出回
路7、表示回路8及び音源回路9が接続されている。 【0009】プログラムメモリ2はCPU1のシステム
関連のプログラム、ノート変換テーブル、各種のパラメ
ータやデータなどを記憶しているものであり、リードオ
ンリメモリ(ROM)で構成されている。ワーキングメ
モリ3はCPU1がプログラムを実行する際に発生する
各種のデータを一時的に記憶するものであり、ランダム
アクセスメモリ(RAM)の所定のアドレス領域がそれ
ぞれ割り当てられ、レジスタやフラグ等として利用され
る。 【0010】演奏メモリ4はユーザが自由に使用するこ
とのできるユーザメモリ領域であり、ランダムアクセス
メモリ(RAM)の所定のアドレス領域が割り当てられ
ている。従って、ユーザはそこに新たに作成した演奏デ
ータなどを記憶することができる。なお、演奏メモリ4
はRAM以外のハードディスク装置やフロッピーディス
クドライブなどを用いた他の記憶装置であってもよい。
伴奏パターンメモリ5は演奏スタイル(例えば、ポップ
ス、ロック、ジャズ、ワルツなど)毎に設けられたコー
ドベースパート及びドラムパートに関する伴奏パターン
データを記憶しているものであり、リードオンリメモリ
(ROM)で構成されている。 【0011】伴奏パターンデータは、ヘッダ部とシーケ
ンスデータ部から構成される。ヘッダ部にはスタイルの
名称などが記憶されている。シーケンスデータ部は初期
設定データと各セクション(メイン、フィルイン、イン
トロ及びエンディング)のパターンデータとで構成され
ている。初期設定データは各チャンネルの音色、演奏パ
ート名、初期テンポなどのデータで構成される。メイン
パターンデータは繰り返し演奏されるメインの伴奏パタ
ーンである。フィルインパターンデータはフィルイン演
奏時の伴奏パターンである。イントロパターンデータは
イントロ演奏時の伴奏パターンである。エンディングパ
ターンデータはエンディング演奏時の伴奏パターンであ
る。 【0012】各セクションのパターンデータは、マーカ
ー、デルタタイムデータ及びイベントデータから構成さ
れる。マーカーはセクションとセクションの区切りを示
すものであり、メイン、フィルイン、イントロ及びエン
ディングなどのセクションの種類を示すデータである。
デルタタイムデータはイベントとイベントとの間の時間
を示すデータである。イベントデータは、ノートオン/
オフ、ピッチベンド、ボリューム制御などのようなイベ
ントの種類を示すデータと、そのイベントに関するデー
タ(例えばノートナンバやベロシティなど)とで構成さ
れている。このデルタタイムデータとイベントデータは
対で記憶され、同じタイミングのイベントを示す場合に
はデルタタイムデータは『0』となる。 【0013】鍵盤10は発音すべき楽音の音高を選択す
るための複数の鍵を備えており、各鍵に対応したキース
イッチを有しており、また必要に応じて押圧力検出装置
等のタッチ検出手段を有している。鍵盤10は音楽演奏
のための基本的な操作子であり、これ以外の演奏操作子
でもよいことはいうまでもない。押鍵検出回路6は発生
すべき楽音の音高を指定する鍵盤10のそれぞれの鍵に
対応して設けられたキースイッチ回路を含むものであ
る。この押鍵検出回路6は鍵盤10の離鍵状態から押鍵
状態への変化を検出してキーオンイベントを出力し、押
鍵状態から離鍵状態への変化を検出してキーオフイベン
トを出力すると共にそれぞれのキーオンイベント及びキ
ーオフイベントに関する鍵の音高を示すノートナンバを
出力する。押鍵検出回路6はこの他にも鍵押し下げ時の
押鍵操作速度や押圧力等を判別してベロシティデータや
アフタタッチデータを出力する。 【0014】スイッチ検出回路7は図示していないパネ
ル上に設けられたスイッチ群11に対応して設けられて
おり、スイッチ群11の操作状況に応じたスイッチオン
イベントを出力する。スイッチ群11としては、例えば
スタイル選択スイッチ、ソング選択スイッチ、動作モー
ド選択スイッチ、録音スイッチ、クリアスイッチ、スタ
ート/ストップスイッチなどが設けられている。この他
にも、伴奏パートを選択するためのパート選択スイッチ
や伴奏セクション(イントロ、フィルイン、メイン、エ
ンディング)を選択するためのセクション選択スイッ
チ、発生すべき楽音の音色、音量、音高、効果等を選
択、設定、制御するための各種の操作子を有するが、こ
こでは実施の形態の説明に必要なものだけについて説明
する。 【0015】スタイル選択スイッチ及びソング選択スイ
ッチは、例えば『0』から『9』の数字や『+』『−』
の記号が付されており、これらのスイッチを操作して所
望のスタイル番号やソング番号を入力することによっ
て、いずれか1つのスタイルやソングを選択するもので
ある。このスタイル選択スイッチやソング選択スイッチ
によって選択されたスタイル名やソング番号はLCD1
2上に表示される。 【0016】動作モード選択スイッチは、例えば『MO
DE』の文字が付されており、操作される毎に動作モー
ド番号を『0』、『1』、『2』の順番で巡回させて所
望の動作モードを選択するものである。ここで、動作モ
ード番号の『0』は、伴奏パターンメモリ5に記憶され
ている各パートの伴奏パターンデータをユーザによって
逐次指定される和音データに適した音に変換して演奏す
る通常の自動伴奏モードのことを示す。動作モード番号
の『1』は、演奏メモリ4に記憶されているシーケンシ
ャルな伴奏データからコード進行データを検出し、検出
されたコード進行データとユーザによって逐次指定され
る和音データとに基づいてその伴奏データをノート変換
して演奏するコード進行変更モードのことを示す。動作
モード番号の『2』は、演奏メモリ4に記憶されている
シーケンシャルな伴奏データに基づいた伴奏を行う通常
のシーケンス伴奏モードのことを示す。 【0017】録音スイッチは、例えば『REC』の文字
が付されており、ソング選択スイッチによって選択され
ているソング番号の伴奏データとしてシーケンシャル録
音するか、しないかの録音モードを切り換えるものであ
る。クリアスイッチは、例えば『クリア』の文字が付さ
れており、操作される毎に選択中のソング番号に対応す
る伴奏データを演奏メモリ4から消去するものである。
スタート/ストップスイッチは、例えば『スタート/ス
トップ』の文字が付されており、操作される毎に自動伴
奏のスタート又はストップを制御するものである。 【0018】表示回路8は図示していないパネル上に設
けられたLCD12の表示内容を制御するものである。
音源回路9は複数の時分割発音チャンネルで楽音信号の
同時発生が可能であり、データ及びアドレスバス16を
経由して与えられた演奏データ(MIDI規格に準拠し
たデータ)を入力し、この演奏データに基づき楽音信号
を発生する。音源回路9における楽音信号発生方式はい
かなるものを用いてもよい。例えば、発生すべき楽音の
音高に対応して変化するアドレスデータに応じて波形メ
モリに記憶した楽音波形サンプル値データを順次読み出
すメモリ読み出し方式、又は上記アドレスデータを位相
角パラメータデータとして所定の周波数変調演算を実行
して楽音波形サンプル値データを求めるFM方式、ある
いは上記アドレスデータを位相角パラメータデータとし
て所定の振幅変調演算を実行して楽音波形サンプル値デ
ータを求めるAM方式等の公知の方式を適宜採用しても
よい。 【0019】音源回路9から発生される楽音信号はアン
プ及びスピーカから構成されるサウンドシステム13を
介して発音される。タイマ14は時間間隔を計数した
り、自動伴奏のテンポを設定したりするためのテンポク
ロックパルスを発生するものであり、このテンポクロッ
クパルスの周波数はスイッチ群11の中のテンポスイッ
チ(図示していない)によって調整される。タイマ14
からのテンポクロックパルスはCPU1に対してインタ
ラプト命令として与えられ、CPU1はインタラプト処
理により自動伴奏の各種処理を実行する。この実施の形
態においてはテンポクロックパルスは4分音符につき9
6回発生されるものとする。 【0020】次に、CPU1によって実行される電子楽
器の処理の一例を図2から図5のフローチャートに基づ
いて説明する。図2及び図3は、マイクロコンピュータ
が処理するメインルーチンの一例を示す図である。この
メインルーチンはつぎのようなステップで順番に実行さ
れる。 ステップ20:まず、電源が投入されると、CPU1は
プログラムメモリ2に格納されている所定の制御プログ
ラムに応じた初期設定処理を行う。この初期設定処理で
は、例えばワーキングメモリ3内の各種レジスタやフラ
グ等を初期値に設定する。 【0021】ステップ21:スイッチ検出回路7をスキ
ャンし、スイッチ群11の中のスタイル選択スイッチの
操作(オン)によるオンイベント有りかどうかを判定
し、オンイベント有り(YES)の場合はステップ22
に進み、イベント無し(NO)の場合はステップ23に
ジャンプする。 ステップ22:前記ステップ21でYESと判定された
ということは、操作者がLCD12に表示されるスタイ
ル名を見ながらスタイル選択スイッチを操作して所望の
スタイル番号を選択したことを意味するので、その選択
されたスタイル番号をスタイルナンバレジスタSTYL
に格納する。 【0022】ステップ23:スイッチ検出回路7をスキ
ャンし、スイッチ群11の中のソング選択スイッチの操
作(オン)によるオンイベント有りかどうかを判定し、
オンイベント有り(YES)の場合はステップ24に進
み、イベント無し(NO)の場合はステップ25にジャ
ンプする。 ステップ24:前記ステップ23でYESと判定された
ということは、操作者がLCD12に表示されるソング
番号を見ながらソング選択スイッチを操作して所望のソ
ング番号を選択したことを意味するので、その選択され
たソング番号をソングナンバレジスタSNGに格納す
る。 【0023】ステップ25:スイッチ検出回路7をスキ
ャンし、スイッチ群11の中の動作モード選択スイッチ
の操作(オン)によるオンイベント有りかどうかを判定
し、オンイベント有り(YES)の場合はステップ26
に進み、イベント無し(NO)の場合はステップ27に
ジャンプする。 ステップ26:前記ステップ25でYESと判定された
ということは、操作者が動作モード選択スイッチを操作
して所望の動作モード番号を選択したことを意味するの
で、その選択された動作モード番号を動作モードナンバ
レジスタMODに格納する。 【0024】ステップ27:スイッチ検出回路7をスキ
ャンし、スイッチ群11の中の録音スイッチの操作(オ
ン)によるオンイベント有りかどうかを判定し、オンイ
ベント有り(YES)の場合はステップ28に進み、イ
ベント無し(NO)の場合はステップ29にジャンプす
る。 ステップ28:前記ステップ27でYESと判定された
ということは、操作者が録音スイッチを操作してその録
音モードを切り換えたことを意味するので、録音モード
フラグRECの内容を反転する。 【0025】ステップ29:スイッチ検出回路7をスキ
ャンし、スイッチ群11の中のクリアスイッチの操作
(オン)によるオンイベント有りかどうかを判定し、オ
ンイベント有り(YES)の場合はステップ30に進
み、イベント無し(NO)の場合は図3のステップ31
にジャンプする。 ステップ30:前記ステップ29でYESと判定された
ということは、操作者がクリアスイッチを操作して現在
選択中のソング番号に対応する演奏データを演奏メモリ
4から消去することを意味するので、ソングナンバレジ
スタSNGに格納されているソング番号に対応する範囲
をクリア、すなわち演奏メモリのソング番号に対応する
メモリ領域を解放する。 【0026】ステップ31:スイッチ検出回路7をスキ
ャンし、スイッチ群11の中のスタート/ストップスイ
ッチの操作(オン)によるオンイベント有りかどうかを
判定し、オンイベント有り(YES)の場合はステップ
32以下に進み、イベント無し(NO)の場合はステッ
プ3Cにジャンプする。 ステップ32:走行状態フラグRUNを反転する。すな
わち、スタート/ストップスイッチが操作された時点で
走行状態ソラグRUNが『1』であった場合には、それ
を『0』にリセットし、『0』であった場合には『1』
を立てる。この実施の形態では、スタート/ストップス
イッチが操作される毎に自動演奏を開始したり停止した
りするようになっている。 ステップ33:前記ステップ32の反転処理の結果、走
行状態フラグRUNが『1』かどうかを判定し、『1』
(YES)の場合はステップ34に進み、『0』の場合
はステップ39に進む。 【0027】前記ステップ33で走行状態フラグRUN
が『1』だと判定されたので、演奏を開始するために現
在の動作モードに対応した処理をステップ34〜ステッ
プ38で行う。 ステップ34:動作モードナンバレジスタMODが
『0』かどうかを判定し、『0』(YES)の場合はス
テップ36に進み、『1』又は『2』の場合はステップ
35進む。 ステップ35:動作モードナンバレジスタMODが
『2』かどうかを判定し、『2』(YES)の場合はス
テップ37に進み、『1』の場合はステップ38進む。 ステップ36:前記ステップ34で現在の動作モードが
『0』だと判定されたので、ここでは通常の自動伴奏を
行うための種々の初期設定を行う。 ステップ37:前記ステップ35で現在の動作モードが
『2』だと判定されたので、ここでは通常のシーケンス
伴奏を行うための種々の初期設定を行う。 ステップ38:前記ステップ35で現在の動作モードが
『1』だと判定されたので、ここではソングナンバレジ
スタSNGすなわちその格納値であるソング番号の伴奏
データを演奏メモリ4から読み出して、その伴奏データ
のコード進行を検出する。そして、検出されたコード進
行データをワーキングメモリ3の所定のメモリ領域に書
き込む。このコード進行検出の方法は周知の和音検出方
法によって行うので、ここではその詳細な説明は省略す
る。 【0028】前記ステップ33で走行状態フラグRUN
が『0』だと判定されたので、演奏を停止するための処
理をステップ39〜3Bで行う。 ステップ39:動作モードナンバレジスタMODが
『0』かどうかを判定し、『0』(YES)の場合はス
テップ36に進み、『1』又は『2』の場合はステップ
35進む。 ステップ3A:前記ステップ39で現在の動作モードが
『0』だと判定されたので、ここでは通常の自動伴奏を
停止するための処理を行う。 ステップ3B:前記ステップ39で現在の動作モードが
『1』又は『2』だと判定されたので、ここでは演奏メ
モリ4に記憶されているシーケンシャルな伴奏データに
基づいたシーケンス伴奏を停止するための処理を行う。 【0029】ステップ3C:押鍵検出回路6をスキャン
して鍵盤10の操作によるキーイベントが発生したどう
かを判定し、キーイベント有り(YES)の場合はステ
ップ3Dに進み、キーイベント無し(NO)の場合はス
テップ3Eにジャンプする。 ステップ3D:前記ステップ3Cでキーイベント有り
(YES)と判定されたので、そのキーイベントに対応
した図4のキーイベント処理を行う。 ステップ3E:その他のイベントに対する処理などを行
い、リターンする。 【0030】図4は図3のステップ3Dのキーイベント
処理の詳細を示す図である。このキーイベント処理は次
のようなステップで順番に実行される。 ステップ40:操作された鍵盤10の操作場所が左鍵域
かどうか、すなわち押鍵に対応するノートナンバが所定
のスプリットポイントよりも小さいか否かを判定し、小
さい(YES)場合は左鍵域の操作なのでステップ42
に進み、大きい(NO)場合は右鍵域の操作なのでステ
ップ41に進む。すなわち、この実施の形態では、鍵盤
10を所定の鍵を境に右鍵域と左鍵域に分割し、右鍵域
の演奏操作によるキーイベントはメロディ演奏とみな
し、左鍵域の演奏操作によるキーイベントは和音演奏と
みなして処理している。 【0031】ステップ41:操作された箇所が鍵盤10
の右鍵域である(NO)と前記ステップ40で判定され
たので、そのキーイベントに対応したキーオン/オフ処
理を行い、図3のステップ3Eに進む。すなわち、キー
イベントがキーオンイベントの場合には発音処理を行
い、キーオフイベントの場合には消音処理を行う。 ステップ42:操作された箇所が鍵盤10の左鍵域であ
る(YES)と前記ステップ40で判定されたので、こ
こでは動作モードナンバレジスタMODが『2』かどう
かを判定し、『2』(YES)の場合はステップ46に
進み、『0』又は『1』(NO)の場合はステップ43
進む。 【0032】ステップ43:前記ステップ42で現在の
動作モードが『0』又は『1』だと判定されたので、こ
こではそのキーイベントに基づいた和音(コード)検出
処理を行う。例えば、複数のキーオンイベントによって
得られるキーコードを音の低い順にソートし(並び替
え)、そのソートした結果に応じて和音を検出する。な
お、このとき押鍵省略形の和音も検出する。さらに、キ
ーオンイベントの数が2個又は1個の場合には、前に検
出された和音に基づいて和音タイプを検出してもよい。
これ以外の和音検出法を用いてよいことはいうまでもな
い。 ステップ44:前記ステップ43の和音検出処理によっ
て和音(コード)が成立したかどうか、すなわち和音を
検出することができたかどうかを判定し、和音(コー
ド)が成立(YES)した場合は次のステップ45に進
み、和音(コード)不成立(NO)の場合は図3のステ
ップ3Eに進む。すなわち、キーオンイベントの数が少
なかったり、キーコードの組み合わせに対応する和音構
成が存在しなかったりして和音を検出できない場合が存
在するからである。 ステップ45:前記ステップ43で検出された和音(コ
ード)の根音を根音レジスタRTに格納し、同じく検出
された和音(コード)のタイプをタイプレジスタTPに
格納し、図3のステップ3Eに進む。 【0033】ステップ46:前記ステップ42で現在の
動作モードが『2』だと判定されたので、ここではその
キーイベントに基づいたキーオン/オフ処理を行う。す
なわち、和音に関する押鍵が行われている場合には、そ
の和音が発音処理される。 ステップ47:録音モードフラグRECが『1』かどう
かを判定し、『1』(YES)の場合はステップ48に
進み、『0』(NO)の場合は図3のステップ3Eに進
む。 ステップ48:前記ステップ47で現在の録音モードが
『1』すなわちソング選択スイッチによって選択された
ソング番号の演奏データのコードベースパートとして、
そのキーオン/オフデータを演奏メモリ4に記憶する。
すなわち、この実施の形態では、動作モードが『2』の
演奏メモリ4のシーケンシャルな伴奏データに基づいた
自動伴奏中に新たな押鍵(キーイベント)が発生した場
合には、そのキーイベントのデータを優先して順次演奏
メモリ4に記憶し、データの書換えを行うようにしてい
る。 【0034】図5は4分音符当たり96回のタイマ割り
込みで実行される割り込み処理の一例を示す図である。
この割り込み処理は次のようなステップで順番に実行さ
れる。 ステップ50:走行状態フラグRUNが『1』かどうか
を判定し、『1』(YES)の場合はステップ51に進
み、『0』の場合はリターンする。 ステップ51:前記ステップ50で走行状態だと判定さ
れたので、ここでは、動作モードナンバレジスタMOD
が『0』かどうかを判定し、『0』(YES)の場合は
ステップ52に進み、『1』又は『2』の場合はステッ
プ54に進む。 【0035】ステップ52:前記ステップ51で動作モ
ード『0』の通常の自動伴奏だと判定されたので、ここ
では、スタイルナンバレジスタSTYLに格納されてい
るスタイル番号及びタイミングクロックに応じてドラム
パートのデータを伴奏パターンメモリ5から読み出して
再生する。すなわち、スタイル番号に対応したドラムパ
ートのデータをクロックタイミングに応じて順次読み出
して再生する。 ステップ53:スタイルナンバレジスタSTYLに格納
されているスタイル番号及びタイミングクロックに応じ
てベースコードパートのデータを伴奏パターンメモリ5
から順次読み出し、読み出されたデータを根音レジスタ
RT及びタイプレジスタTPの格納値に基づいてノート
変換して再生する。 【0036】ステップ54:前記ステップ51で動作モ
ード『1』又は『2』のシーケンス伴奏だと判定された
ので、ここでは、タイミングクロックに応じて演奏メモ
リ4のソングナンバレジスタSNGの格納値(ソング番
号)に対応するドラムパートから順次伴奏データを読み
出して再生する。 ステップ55:タイミングクロックに応じて演奏メモリ
4のソングナンバレジスタSNGの格納値(ソング番
号)に対応するコードベースパートから順次伴奏データ
を読み出す。 【0037】ステップ56:動作モードナンバレジスタ
MODが『1』かどうかを判定し、『1』(YES)の
場合はステップ57に進み、『2』の場合はステップ5
9に進む。 ステップ57:前記ステップ56で動作モードが『1』
(YES)だと判定されたので、ここでは、前記ステッ
プ38の処理によって検出された検出コード進行データ
からタイミングクロックに対応する和音(コード)を読
み出し、その和音(コード)の根音をソース根音レジス
タSRTに格納し、その和音(コード)のタイプをソー
スタイプレジスタSTPに格納する。 【0038】ステップ58:前記ステップ55によって
読み出されたコードベースパートのノートナンバをソー
ス根音レジスタSRT、ソースタイプレジスタSTP及
びタイプレジスタTPに応じてノート変換し、変換され
たデータを再生する。なお、ソース根音レジスタSR
T、ソースタイプレジスタSTP及びタイプレジスタT
Pに基づいたノート変換の方法については、本願の出願
人が先に出願した特開平6−337677号公報に記載
されているので、ここではその詳細説明は省略する。 ステップ59:前記ステップ56で動作モードが『2』
(YES)だと判定されたので、ここでは、演奏メモリ
4からシーケンシャルな伴奏データを順次読み出して通
常のシーケンス伴奏を行うために、ステップ55で読み
出されたデータを単に再生するだけの処理を行い、ステ
ップ5Cに進む。 【0039】ステップ5A:録音モードフラグRECが
『1』かどうかを判定し、『1』(YES)の場合はス
テップ5Bに進み、『0』(NO)の場合はステップ5
Cに進む。 ステップ5B:前記ステップ5Aで現在の録音モードが
『1』だと判定されたので、ここでは、ソング選択スイ
ッチによって選択されたソング番号SNGの演奏データ
として、ドラムパート、コードベースパートの再生デー
タ(ステップ53又はステップ58の処理によって再生
された演奏データ)をそれぞれ演奏メモリ4に記憶す
る。すなわち、この実施の形態では、動作モードが
『0』又は『1』の場合の再生データを演奏メモリ4に
シーケンシャルな伴奏データとして新たに録音してい
る。 ステップ5C:次の割り込み処理に備えてタイミングカ
ウンタを進め、リターンする。 【0040】なお、上述の実施の形態では音源回路及び
自動演奏装置を内蔵した電子楽器について説明したが、
自動演奏処理を行うシーケンサモジュールと、音源回路
からなる音源モジュールとがそれぞれ別々に構成され、
各モジュール間のデータの授受を周知のMIDI規格で
行うように構成されたものにも同様に適用できることは
言うまでもない。また、上述の実施の形態では、ステッ
プ48のようにキーイベントの発生に応じてリアルタイ
ムに録音したり、ステップ5Bのように割り込みタイミ
ングでリアルタイムに録音する場合について説明した
が、ノンリアルに録音してもよい。 【0041】 【発明の効果】この発明によれば、シーケンシャルな演
奏データの一部分をユーザの指定する和音に従って容易
に変化させることができるという効果がある。
DETAILED DESCRIPTION OF THE INVENTION [0001] BACKGROUND OF THE INVENTION The present invention relates to a pre-stored
Adjusted to the operator's operation based on the performance pattern data
The present invention relates to an automatic performance device for performing a performance. [0002] 2. Description of the Related Art Some conventional automatic performance devices include a code path.
And base parts (hereinafter referred to as “code base parts”).
) Etc. in the order of the song
Chord progression data stored in the
Based on the specified chord data
The sequential accompaniment pattern data is
To the sound suitable for chords of chords and chord data (note conversion)
Some perform automatic accompaniment. [0003] SUMMARY OF THE INVENTION Conventional automatic performance devices
Tie to supplement some accompaniment parts with automatic accompaniment
Is the pattern number that specifies the accompaniment pattern data.
You can easily change the arrangement of songs just by changing the number,
Also, changing the chord progression data or chord data is not enough.
Various code work can be realized, and even beginners can handle easily
There is an advantage that can be. However, like this
Automatic accompaniment devices perform in accordance with predetermined accompaniment pattern data.
Because you can only play, the accompaniment pattern is delicate in the middle of the song
I couldn't change it. So, in the middle of the song
To change the accompaniment pattern in
Accompaniment data created by the dynamic accompaniment device,
The accompaniment data is stored once, and the sequence
Part of the original accompaniment data, that is, note data
Editing can give subtle changes to the accompaniment
I was trying. However, once in this way
Chords for the created sequential accompaniment data
Change the progress of the music or change the accompaniment pattern
The notes that make up the sequential accompaniment data
You have to do the work of editing the data itself
Requires a high degree of musical knowledge and great effort
It was a very difficult task for beginners. [0004] The present invention provides sequential performance data.
Can be changed according to the chord specified by the user.
It is an object of the present invention to provide an automatic performance device capable of performing the following. [0005] [0006][Means for Solving the Problems] thisAutomatic performance according to the invention
The playing device has a pattern for storing pattern data related to accompaniment.
Chords for specifying chords for playback performance
Designating means and before being stored in the pattern storage means
The chord designating meansSpecified by
FirstBased on chords, read a series of performance data
Means for creating performance data to be created;
Performance data for storing the performance data created by the step
Data storage means and the performance data storage means.
The chord progression based on the series of performance data
Chord detection means, and the chord detection means
Chord progression specified by the chord designation meansSecond
ofConversion means for converting the performance data based on chords
WithThe performance data storage means is provided to the conversion means.
Therefore, the converted performance data is stored.
ToThings. In the present invention, the performance data supply means,
The performance data storage means stores sequential performance data in order.
The chord detection means supplies the performance data sequentially
Chords are extracted based on the performance data
The chord progression is detected. On the other hand, the chord designating means
Provides chords corresponding to user operations. Conversion means
The chord progression detected by the chord detection means and the chord
The performance based on the specified chord specified by the specifying means.
Convert performance data, that is, convert the pitch of performance data
You. As a result, part of the sequential performance data
If you want to change the minutes,
You do not need to edit the note data itself
And the user simply specifies the chord,
Data can be easily changed. [0008] BRIEF DESCRIPTION OF THE DRAWINGS FIG.
The embodiments described above will be described in detail. FIG. 1 relates to the present invention.
1 shows an embodiment of an electronic musical instrument to which an automatic performance device is applied.
It is a hardware block diagram. In this embodiment
Is a microprocessor unit (CPU) 1, a program
RAM memory (ROM) 2, working memory (RAM)
Various processes under the control of the microcomputer including
Is to be executed. In this embodiment, 1
Electronic musical instrument that performs automatic accompaniment processing etc.
An example is described. The CPU 1 controls the operation of the entire electronic musical instrument.
Control. For this CPU 1, data and
Program memory 2 and work memory via address bus 16
Memory 3, performance memory (RAM) 4, accompaniment pattern
Memory (ROM) 5, key press detection circuit 6, switch detection time
The path 7, the display circuit 8, and the sound source circuit 9 are connected. The program memory 2 is a system of the CPU 1
Related programs, note conversion tables, various parameters
Data and data.
It is composed of a temporary memory (ROM). Working method
Memory 3 occurs when CPU 1 executes a program
Various types of data are temporarily stored, and random
The specified address area of the access memory (RAM) is
Respectively, and used as registers, flags, etc.
You. The performance memory 4 can be used freely by the user.
User memory area for random access
A predetermined address area of a memory (RAM) is allocated.
ing. Therefore, the user can create a newly created performance
Data can be stored. The performance memory 4
Is a hard disk device other than RAM or a floppy disk
Another storage device using a hard disk drive or the like may be used.
The accompaniment pattern memory 5 stores performance styles (for example, pop
Music, rock, jazz, waltz, etc.)
Accompaniment patterns for bass and drum parts
It stores data and is read-only memory
(ROM). [0011] The accompaniment pattern data includes a header and a sequence.
It consists of a sense data section. The style of the header is
The name and the like are stored. Sequence data part is initial
Setting data and each section (main, fill-in, in
Toro and ending) pattern data
ing. Initial setting data includes the tone and performance parameters of each channel.
It is composed of data such as the port name and initial tempo. Maine
The pattern data is the main accompaniment pattern that is played repeatedly.
It is. Fill-in pattern data is filled-in performance
This is an accompaniment pattern when playing. Intro pattern data
This is the accompaniment pattern for the intro performance. Ending par
Turn data is the accompaniment pattern for the ending performance.
You. The pattern data of each section includes a marker.
-, Delta time data and event data
It is. Markers indicate sections and section breaks
The main, fill-in, intro and en
This is data indicating the type of section such as reading.
Delta time data is the time between events
Is the data indicating Event data is stored in Note On /
Events such as off, pitch bend, volume control, etc.
Data indicating the type of event, and data
(For example, note number and velocity)
Have been. This delta time data and event data
If they are stored in pairs and indicate events of the same timing
Means that the delta time data is "0". The keyboard 10 selects the pitch of a musical tone to be pronounced.
Key for each key.
Switch and, if necessary, a pressure detector
And the like. Keyboard 10 plays music
The basic controls for playing, and other performance controls
Needless to say, this is fine. Key press detection circuit 6 is generated
To each key of the keyboard 10 which specifies the pitch of the musical tone to be played
It includes a key switch circuit provided correspondingly.
You. The key press detection circuit 6 detects a key press from the key release state of the keyboard 10.
Detects a change to the state, outputs a key-on event, and
A key-off event is detected by detecting a change from the key state to the key release state.
Output, and each key-on event and key
-A note number indicating the pitch of the key for the off event
Output. The key press detection circuit 6 also has a
Velocity data and key pressure
Output after touch data. The switch detection circuit 7 is a panel (not shown).
Provided corresponding to the switch group 11 provided on the
Switch on according to the operation status of switch group 11
Output an event. As the switch group 11, for example,
Style select switch, song select switch, operation mode
Mode selection switch, recording switch, clear switch,
A start / stop switch is provided. Other
Also, a part selection switch for selecting the accompaniment part
And accompaniment sections (intro, fill-in, main, d
Section selection switch for selecting
Select the tone, volume, pitch, effect, etc.
It has various controls for selecting, setting, and controlling.
Here, only what is necessary for the description of the embodiment will be described.
I do. Style selection switch and song selection switch
Switches are, for example, numbers from "0" to "9", "+", "-"
Symbol is attached, and these switches are operated to
Enter the desired style number or song number.
To select one style or song
is there. This style select switch or song select switch
The style name and song number selected by
2 is displayed above. The operation mode selection switch is, for example, “MO
DE ”is attached, and the operation mode is
The numbers are circulated in the order of "0", "1", "2".
A desired operation mode is selected. Here, the operation mode
The code number “0” is stored in the accompaniment pattern memory 5.
The accompaniment pattern data for each part
Convert to a sound suitable for sequentially specified chord data and play
Indicates a normal automatic accompaniment mode. Operation mode number
"1" is the sequence number stored in the performance memory 4.
Detect chord progression data from special accompaniment data
Chord progression data and the
Note conversion of the accompaniment data based on the chord data
This indicates the chord progress change mode in which the performance is changed. motion
The mode number "2" is stored in the performance memory 4.
Normally performing accompaniment based on sequential accompaniment data
Indicates the sequence accompaniment mode. The recording switch is, for example, a character "REC"
Are selected by the song selection switch.
Sequential recording as accompaniment data for the current song number
This switches the recording mode between sound and non-sound.
You. The clear switch has, for example, the letters "clear"
The song number corresponding to the selected song number is
The accompaniment data is deleted from the performance memory 4.
The start / stop switch is, for example, “start / stop
The word `` Top '' is attached and automatically
It controls the start or stop of playing. The display circuit 8 is provided on a panel (not shown).
This is for controlling the display contents of the LCD 12 which is turned off.
The tone generator circuit 9 generates a tone signal using a plurality of
Simultaneous occurrence is possible, and the data and address bus 16
Performance data (via MIDI standards)
Data), and a tone signal based on the performance data
Occurs. Tone signal generation method in the tone generator 9
Any suitable one may be used. For example, the music
The waveform data is changed according to the address data that changes according to the pitch.
Read the tone waveform sample value data stored in the memory sequentially
Memory read method or the above address data
Performs predetermined frequency modulation operation as angular parameter data
FM method for finding musical tone waveform sample value data
Or the above address data is used as phase angle parameter data.
To perform a predetermined amplitude modulation operation
Even if a well-known method such as the AM method for
Good. The tone signal generated from the tone generator 9 is
Sound system 13 composed of a
Pronounced through. Timer 14 counts time interval
To set the tempo for automatic accompaniment.
A lock pulse is generated and this tempo clock
The frequency of the pulse is the tempo switch in switch group 11.
(Not shown). Timer 14
Tempo clock pulse from the
Provided as an interrupt instruction.
Various processes of automatic accompaniment are executed according to the reason. The form of this implementation
Clock pulse is 9 per quarter note
It shall be generated six times. Next, an electronic music program executed by the CPU 1 will be described.
One example of the processing of the container is based on the flowcharts of FIGS.
Will be described. 2 and 3 show microcomputers
FIG. 4 is a diagram showing an example of a main routine that is processed. this
The main routine is executed sequentially in the following steps.
It is. Step 20: First, when the power is turned on, the CPU 1
A predetermined control program stored in the program memory 2
Perform the initial setting process according to the ram. In this initialization process
Is, for example, various registers and flags in the working memory 3.
To the initial values. Step 21: Scan the switch detection circuit 7
The style selection switch in the switch group 11
Determines whether there is an ON event due to operation (ON)
If there is an on-event (YES), step 22
Proceed to step 23 if no event (NO)
Jump. Step 22: YES is determined in the step 21
This means that the operator can change the style displayed on the LCD 12.
Operate the style selection switch while watching the
It means that you have selected a style number, so select it
Style number register STYL
To be stored. Step 23: Scan the switch detection circuit 7
Operation of the song selection switch in the switch group 11.
Judge whether there is an ON event by the work (ON),
If there is an ON event (YES), proceed to step 24
If no event (NO), go to step 25
Pump. Step 24: YES is determined in the above step 23
This means that the operator can display the song displayed on the LCD 12
While watching the number, operate the song select switch to
Means that you have selected a
Stored song number in the song number register SNG
You. Step 25: Scan the switch detection circuit 7
Operation mode selection switch in switch group 11
Determines if there is an ON event due to the operation (ON)
If there is an ON event (YES), step 26
Proceed to step 27 if there is no event (NO)
Jump. Step 26: YES is determined in the step 25
That means the operator operates the operation mode selection switch
Means that the desired operation mode number has been selected.
The selected operation mode number.
It is stored in the register MOD. Step 27: Scan the switch detection circuit 7
Operation of the recording switch in the switch group 11 (e.g.
) To determine if there is an on event.
If there is a vent (YES), proceed to step 28,
If no vent (NO), jump to step 29
You. Step 28: YES is determined in the step 27
This means that the operator operates the recording switch and
Since it means that the sound mode has been switched, the recording mode
Invert the contents of the flag REC. Step 29: Scan the switch detection circuit 7
Operation of clear switch in switch group 11
(ON) to determine if there is an ON event, and
If there is an event (YES), proceed to step 30
In the case of no event (NO), step 31 in FIG.
Jump to Step 30: YES is determined in the step 29.
That means that the operator operates the clear switch and
The performance data corresponding to the selected song number is stored in the performance memory.
4 means delete from song number
Range corresponding to the song number stored in the star SNG
Clear, that is, corresponding to the song number in the performance memory
Free up memory space. Step 31: Scan the switch detection circuit 7
Start / stop switch in switch group 11
Whether or not there is an ON event by operating the switch (ON).
Judge, if there is an ON event (YES), step
32 or less, and if there is no event (NO),
Jump to step 3C. Step 32: The running state flag RUN is inverted. sand
That is, when the start / stop switch is operated
If the running state Sorag RUN is "1", it
Is reset to “0”, and if it is “0”, “1”
Stand up. In this embodiment, the start / stop
Automatic performance starts and stops every time the switch is operated
It is supposed to be. Step 33: As a result of the reversal process of step 32,
It is determined whether or not the line status flag RUN is “1”, and “1”
If (YES), proceed to step 34, if "0"
Goes to step 39. In step 33, the running state flag RUN is set.
Is determined to be "1", so the current
The processing corresponding to the current operation mode is performed in steps 34 to
Step 38 is performed. Step 34: The operation mode number register MOD is
It is determined whether it is “0”, and if “0” (YES),
Proceed to step 36, if "1" or "2", step
Go 35. Step 35: The operation mode number register MOD is
It is determined whether it is “2”, and if “2” (YES),
Proceed to step 37, and if "1", proceed to step. Step 36: In step 34, the current operation mode is
Since it was determined to be "0", here the normal automatic accompaniment
Various initial settings are made. Step 37: If the current operation mode is
Since it was determined to be "2", here the normal sequence
Various initial settings for performing accompaniment are made. Step 38: In the step 35, the current operation mode is
Since it was determined to be "1", here the song number register
Star SNG, that is, the accompaniment of the stored song number
The data is read from the performance memory 4 and the accompaniment data
To detect the chord progression. And the detected code base
Write row data to a predetermined memory area of the working memory 3.
Get in. This chord progression detection method is a well-known chord detection method.
Detailed description is omitted here.
You. In step 33, the running state flag RUN is set.
Is determined to be "0", the processing for stopping the performance
The processing is performed in steps 39 to 3B. Step 39: The operation mode number register MOD is
It is determined whether it is “0”, and if “0” (YES),
Proceed to step 36, if "1" or "2", step
Go 35. Step 3A: In step 39, the current operation mode is
Since it was determined to be "0", here the normal automatic accompaniment
Perform processing to stop. Step 3B: In step 39, the current operation mode is
Since it was determined to be "1" or "2", the performance
To sequential accompaniment data stored in Mori 4
A process for stopping sequence based accompaniment is performed. Step 3C: Scan key press detection circuit 6
The key event caused by the operation of the keyboard 10
And if there is a key event (YES),
Proceed to step 3D, and if there is no key event (NO),
Jump to Step 3E. Step 3D: There is a key event in step 3C
(YES), corresponding to the key event
The key event processing shown in FIG. 4 is performed. Step 3E: Perform processing for other events
Yes, return. FIG. 4 is a key event of step 3D of FIG.
It is a figure showing the details of processing. This key event processing is
Are executed in order in steps such as Step 40: The operated place of the operated keyboard 10 is the left key range
Whether the note number corresponding to the key press is predetermined
Judge whether it is smaller than the split point of
If yes (YES), the operation is in the left key range, so step 42
If it is larger (NO), the operation is in the right key range, so
Proceed to step 41. That is, in this embodiment, the keyboard
10 is divided into a right key area and a left key area with a predetermined key as a boundary.
Key event by playing operation is regarded as melody performance
The key event by playing the left key range is a chord performance
Treated as deemed. Step 41: The operated part is the keyboard 10
(NO) is determined in the step 40
Therefore, the key on / off processing corresponding to the key event
The process proceeds to step 3E in FIG. That is, the key
If the event is a key-on event, perform sound processing.
In the case of a key-off event, a mute process is performed. Step 42: The operated portion is the left key range of the keyboard 10.
(YES) in step 40,
Here, whether the operation mode number register MOD is "2"
And if "2" (YES), go to step 46.
Proceed to step 43 if “0” or “1” (NO)
move on. Step 43: At the step 42, the current
Since the operation mode was determined to be “0” or “1”,
Here, chord detection based on the key event
Perform processing. For example, multiple key-on events
Sort the resulting keycodes in ascending order of sound (sort
E), a chord is detected according to the sorted result. What
At this time, a chord having a key depression abbreviation is also detected. In addition,
-If the number of on-events is two or one,
The chord type may be detected based on the outputted chord.
It goes without saying that other chord detection methods may be used.
No. Step 44: The chord detection process of step 43 is performed.
Whether a chord (chord) has been established
It is determined whether or not the chord can be detected, and the chord (cord)
Is satisfied (YES), the flow advances to the next step 45.
If the chord (chord) is not established (NO), the step of FIG.
Proceed to Step 3E. That is, the number of key-on events is small.
Or chord structures corresponding to key code combinations
May not be able to detect chords
Because there is. Step 45: The chord detected in step 43
Is stored in the root register RT and detected in the same way.
Type of chord (chord) is stored in type register TP
Then, the process proceeds to step 3E in FIG. Step 46: At the step 42, the current
Since the operation mode was determined to be "2",
Performs key on / off processing based on key events. You
That is, if a chord is pressed,
Is produced. Step 47: Whether the recording mode flag REC is "1"
Is determined, and if “1” (YES), the process proceeds to step S48.
Proceeds to “0” (NO), and proceeds to step 3E in FIG.
No. Step 48: In step 47, the current recording mode is
"1", selected by the song selection switch
As the chord base part of the performance data of the song number,
The key on / off data is stored in the performance memory 4.
That is, in this embodiment, the operation mode is “2”.
Based on the sequential accompaniment data in the performance memory 4
When a new key press (key event) occurs during automatic accompaniment
If the key event data is
It is stored in the memory 4 and data is rewritten
You. FIG. 5 shows 96 timer divisions per quarter note.
FIG. 9 is a diagram illustrating an example of an interrupt process executed in the process.
This interrupt processing is executed in the following steps in order.
It is. Step 50: Whether the running state flag RUN is "1"
Is determined, and if “1” (YES), the flow proceeds to step 51.
If "0", return. Step 51: It is determined in step 50 that the vehicle is in the running state.
Therefore, here, the operation mode number register MOD
Is "0", and if "0" (YES),
Proceed to step 52, and if "1" or "2",
Proceed to step 54. Step 52: The operation mode in step 51
Since it was determined that this was a normal automatic accompaniment for mode "0",
Is stored in the style number register STYL.
Drum according to style number and timing clock
Read the part data from the accompaniment pattern memory 5
Reproduce. That is, the drum pattern corresponding to the style number
Data is read out sequentially according to the clock timing
And play. Step 53: Store in style number register STYL
According to the style number and timing clock
Pattern data in the base chord part
And read the data sequentially from the root register
Note based on RT and value stored in type register TP
Convert and play. Step 54: The operation mode in the step 51
Determined to be a sequence accompaniment for mode "1" or "2"
So here, the performance notes according to the timing clock
The value stored in the song number register SNG (song number
) From the drum part corresponding to
Put out and play. Step 55: Performance memory according to the timing clock
4 stored in the song number register SNG (song number
Accompaniment data in order from the chord base part corresponding to
Is read. Step 56: Operation mode number register
It is determined whether the MOD is “1” or not and “1” (YES)
If yes, go to step 57; if "2", go to step 5
Go to 9. Step 57: The operation mode is "1" in step 56
(YES), so here, the step
Code progress data detected by the process of step 38
Read the chord (chord) corresponding to the timing clock from
Source, chord (chord) root source
The chord (chord) type
Stored in the type register STP. Step 58: By the above step 55
Saw the note number of the read chord base part
Root register SRT, source type register STP and
Note conversion is performed according to the
Play back the data. Note that the source root register SR
T, source type register STP and type register T
For the method of note conversion based on P,
It is described in Japanese Patent Application Laid-Open No.
The detailed description is omitted here. Step 59: The operation mode is "2" in step 56.
(YES), so here the performance memory
4 to sequentially read the sequential accompaniment data
In order to perform the usual sequence accompaniment, the
Performs processing that simply reproduces the output data, and
Proceed to Step 5C. Step 5A: Recording Mode Flag REC
It is determined whether it is “1”, and if “1” (YES),
Proceed to step 5B, and if “0” (NO), step 5
Go to C. Step 5B: In step 5A, the current recording mode is
Since it was determined to be “1”, here the song selection switch
Performance data of the song number SNG selected by the switch
The playback data of the drum part and chord base part
(Reproduced by the processing of step 53 or step 58)
Stored in the performance memory 4 respectively.
You. That is, in this embodiment, the operation mode is
The playback data for "0" or "1" is stored in the performance memory 4.
Newly recorded as sequential accompaniment data
You. Step 5C: Timing preparation for the next interrupt processing
Advance the counter and return. In the above embodiment, the sound source circuit and
I explained about an electronic musical instrument with a built-in automatic performance device,
Sequencer module for automatic performance processing and tone generator circuit
And the sound source module consisting of
The exchange of data between modules is based on the well-known MIDI standard
What is equally applicable to what is configured to do
Needless to say. In the above embodiment, the step
As shown in step 48, real-time
Recording, or interrupt timing as in step 5B.
Recording in real time
However, it may be recorded in a non-real way. [0041] According to the present invention, a sequential performance
Easy to play a part of performance data according to chord specified by user
There is an effect that can be changed to.

【図面の簡単な説明】 【図1】 この発明に係る自動演奏装置を適用した電子
楽器の実施の形態を示すハード構成ブロック図である。 【図2】 マイクロコンピュータが処理するメインルー
チンの一例の前半部分を示す図である。 【図3】 マイクロコンピュータが処理するメインルー
チンの一例の後半部分を示す図である。 【図4】 図3のメインルーチンにおけるキーイベント
処理の詳細を示す図である。 【図5】 4分音符当たり96回のタイマ割り込みで実
行される割り込み処理の一例を示す図である。 【符号の説明】 1…CPU、2…プログラムメモリ、3…ワーキングメ
モリ、4…演奏メモリ、5…伴奏パターンメモリ、6…
押鍵検出回路、7…スイッチ検出回路、8…表示回路、
9…音源回路、10…鍵盤、11…スイッチ群、12…
LCD、13…サウンドシステム、14…タイマ、16
…データ及びアドレスバス
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a hardware block diagram showing an embodiment of an electronic musical instrument to which an automatic performance device according to the present invention is applied. FIG. 2 is a diagram illustrating a first half of an example of a main routine processed by a microcomputer. FIG. 3 is a diagram illustrating a latter half of an example of a main routine processed by the microcomputer. FIG. 4 is a diagram showing details of a key event process in the main routine of FIG. 3; FIG. 5 is a diagram illustrating an example of interrupt processing executed by 96 timer interrupts per quarter note; [Description of Signs] 1 ... CPU, 2 ... Program Memory, 3 ... Working Memory, 4 ... Performance Memory, 5 ... Accompaniment Pattern Memory, 6 ...
Key press detection circuit, 7: switch detection circuit, 8: display circuit,
9 ... tone generator circuit, 10 ... keyboard, 11 ... switch group, 12 ...
LCD, 13: Sound system, 14: Timer, 16
... Data and address bus

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G10H 1/00 - 7/00 Continuation of front page (58) Field surveyed (Int.Cl. 7 , DB name) G10H 1/00-7/00

Claims (1)

(57)【特許請求の範囲】 【請求項1】 伴奏に関するパターンデータを記憶する
パターン記憶手段と、 再生演奏のための和音を指定する和音指定手段と、 前記パターン記憶手段に記憶されている前記パターンデ
ータを前記和音指定手段によって指定された第1の和音
に基づいて読み出し、一連の演奏データを作成する演奏
データ作成手段と、 この演奏データ作成手段によって作成された前記演奏デ
ータを記憶する演奏データ記憶手段と、 この演奏データ記憶手段に記憶されている前記一連の演
奏データに基づいて和音進行を検出する和音検出手段
と、 この和音検出手段によって検出された和音進行と前記和
音指定手段によって指定された第2の和音とに基づいて
前記演奏データを変換する変換手段とを具備し、前記演
奏データ記憶手段は前記変換手段によって変換された演
奏データを記憶することを特徴とする自動演奏装置。
(57) [Claims 1] Pattern storage means for storing pattern data relating to accompaniment, chord specification means for specifying a chord for reproduction performance, and said pattern storage means being stored in said pattern storage means. Performance data creation means for reading pattern data based on the first chord specified by the chord designation means and creating a series of performance data; and performance data for storing the performance data created by the performance data creation means Storage means; chord detection means for detecting chord progression based on the series of performance data stored in the performance data storage means; chord progression detected by the chord detection means and designated by the chord designation means. and the second based on the chord; and a converting means for converting the music data, the Starring
The performance data storage means stores the performance converted by the conversion means.
An automatic performance device for storing performance data .
JP20642795A 1995-07-20 1995-07-20 Automatic performance device Expired - Fee Related JP3407489B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20642795A JP3407489B2 (en) 1995-07-20 1995-07-20 Automatic performance device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20642795A JP3407489B2 (en) 1995-07-20 1995-07-20 Automatic performance device

Publications (2)

Publication Number Publication Date
JPH0934463A JPH0934463A (en) 1997-02-07
JP3407489B2 true JP3407489B2 (en) 2003-05-19

Family

ID=16523206

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20642795A Expired - Fee Related JP3407489B2 (en) 1995-07-20 1995-07-20 Automatic performance device

Country Status (1)

Country Link
JP (1) JP3407489B2 (en)

Also Published As

Publication number Publication date
JPH0934463A (en) 1997-02-07

Similar Documents

Publication Publication Date Title
EP0720142B1 (en) Automatic performance device
JPH0631978B2 (en) Automatic musical instrument accompaniment device
JP2631722B2 (en) Automatic performance device
JP3407489B2 (en) Automatic performance device
JP3398554B2 (en) Automatic arpeggio playing device
JP2768233B2 (en) Electronic musical instrument
JPH09244647A (en) Electronic musical instrument
JP3509116B2 (en) Electronic musical instrument
JP3024338B2 (en) Automatic performance device
JP3296182B2 (en) Automatic accompaniment device
JP2660462B2 (en) Automatic performance device
JPH0631977B2 (en) Electronic musical instrument
JP2536272B2 (en) Electronic musical instrument
JP3669335B2 (en) Automatic performance device
JPH0618398Y2 (en) Electronic musical instrument with automatic playing device
JP2556040B2 (en) Automatic playing device
JP3398983B2 (en) Automatic accompaniment device
JP2943560B2 (en) Automatic performance device
JPH07121177A (en) Automatic accompaniment device
JP3120487B2 (en) Electronic musical instrument with automatic accompaniment function
JP3324318B2 (en) Automatic performance device
JP3279170B2 (en) Automatic accompaniment device
JP3158918B2 (en) Automatic accompaniment device
JP2947150B2 (en) Automatic performance device
JPH06337677A (en) Automatic accompaniment device

Legal Events

Date Code Title Description
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 (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090314

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090314

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100314

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110314

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110314

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120314

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees