JP2005222052A5 - - Google Patents

Download PDF

Info

Publication number
JP2005222052A5
JP2005222052A5 JP2005027549A JP2005027549A JP2005222052A5 JP 2005222052 A5 JP2005222052 A5 JP 2005222052A5 JP 2005027549 A JP2005027549 A JP 2005027549A JP 2005027549 A JP2005027549 A JP 2005027549A JP 2005222052 A5 JP2005222052 A5 JP 2005222052A5
Authority
JP
Japan
Prior art keywords
pitch
automatic accompaniment
chord
information
note
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.)
Granted
Application number
JP2005027549A
Other languages
Japanese (ja)
Other versions
JP2005222052A (en
JP4942938B2 (en
Filing date
Publication date
Priority claimed from ITBO20040057 external-priority patent/ITBO20040057A1/en
Application filed filed Critical
Publication of JP2005222052A publication Critical patent/JP2005222052A/en
Publication of JP2005222052A5 publication Critical patent/JP2005222052A5/ja
Application granted granted Critical
Publication of JP4942938B2 publication Critical patent/JP4942938B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

自動伴奏装置Automatic accompaniment device

本発明は、自動伴奏パターンをコード情報に応じて変更し自動伴奏を行う自動伴奏装置に関する。   The present invention relates to an automatic accompaniment apparatus that performs automatic accompaniment by changing an automatic accompaniment pattern according to chord information.

従来、自動伴奏装置には、複数パートからなる自動伴奏パターンを記憶し、鍵盤等から指示されたコード情報に従って変更(オルタレーション)して出力する機能、すなわち指示されたコードに従って伴奏パターンの一部の音符の音高を上げる、または下げるなどして出力する機能を備えたものが知られている。   Conventionally, an automatic accompaniment device stores an automatic accompaniment pattern consisting of a plurality of parts, and changes (alternates) according to chord information instructed from a keyboard or the like, that is, a part of an accompaniment pattern according to the instructed chord There is known one having a function of outputting by raising or lowering the pitch of the note.

特開平11−219182号公報(特許文献1)には、音楽的な役割に応じたオルタレーションの仕方で自動伴奏を行うことができる自動伴奏装置が開示されている。例えば、イントロやエンディングのような部分では、旋律を主体とした伴奏が形成されているので、指定されたコード情報のルート情報だけに応じて全体的に音高をシフトする。このオルタレーションの仕方をオブリガートタイプと呼んでいる。一方、楽曲のメイン部分については、コード情報の変化に応じて伴奏の音域が大きく変化しないように、シフト量が少なくなるようなオルタレーションを行っている。このオルタレーションの仕方をコードタイプと呼んでいる。
特開平11−219182号公報
Japanese Patent Laid-Open No. 11-219182 (Patent Document 1) discloses an automatic accompaniment apparatus that can perform automatic accompaniment in an alternation manner according to a musical role. For example, in parts such as intros and endings, an accompaniment mainly composed of melody is formed, so that the pitch is shifted as a whole only in accordance with route information of designated chord information. This way of alternation is called obligato type. On the other hand, with respect to the main part of the music piece, the alternation is performed so that the shift amount is reduced so that the accompaniment range does not change greatly according to the change of the chord information. This alternation method is called a chord type.
JP-A-11-219182

しかしながら、特許文献1に開示された自動伴奏装置において、コードタイプによるオルタレーションを行う場合、伴奏パターンを構成する音符情報の音高が指定されたコード情報により特定されるコード構成音である場合には、他のコード構成音へ変更され、音高が跳躍するという問題点があった。また、コード構成音でない音高は、コード構成音ではない他の音高に変更され、やはり音高が大きく変動し音楽的に好ましくない伴奏パターンに変化してしまうことがあった。   However, in the automatic accompaniment device disclosed in Patent Document 1, when performing the chord type alteration, the pitch of the note information constituting the accompaniment pattern is a chord constituent sound specified by the designated chord information. However, there was a problem that the pitch jumped to another chord component. In addition, the pitch that is not a chord constituent sound is changed to another pitch that is not a chord constituent sound, and the pitch may be greatly changed, resulting in a musically undesirable accompaniment pattern.

本発明はかかる問題点を解決するためになされたものであり、自動伴奏パターンを構成する音符の音高を音楽的に適切に変更することができる自動伴奏装置を提供することを目的とする。   The present invention has been made to solve such problems, and an object of the present invention is to provide an automatic accompaniment apparatus that can change musically the pitches of notes constituting an automatic accompaniment pattern.

上述の課題を解決するために、請求項1に記載の自動伴奏装置は、ルート情報とコード種類情報とを有するコード情報を入力する入力手段と、複数の音符情報により構成される自動伴奏パターンを複数記憶する記憶手段と、その記憶手段に記憶された複数の自動伴奏パターンのうちから任意の自動伴奏パターンを選択する選択手段と、その選択手段により選択された自動伴奏パターンを前記記憶手段から読出し前記入力手段により入力されたコード情報に基づいて自動伴奏を行う自動伴奏手段とを備えたものであって、前記記憶手段に記憶された自動伴奏パターンを構成する音符情報が示す音名が、前記入力手段に入力されたコード情報によって特定されるコードの構成音の音名のいずれかに一致する場合は、前記音符情報が示す音高を変更せず、前記入力手段に入力されたコード情報によって特定されるコードの構成音のいずれにも一致しない場合は、その音高を、前記入力手段により入力されたコード情報が有するルート情報に基づいて変更する音高変更手段備え、前記自動伴奏手段は、前記音高変更手段により形成された音高に基づいて自動伴奏を行うものである。 In order to solve the above-described problem, an automatic accompaniment apparatus according to claim 1 is provided with an input means for inputting chord information having route information and chord type information, and an automatic accompaniment pattern composed of a plurality of note information. A plurality of storage means for storing, a selection means for selecting an arbitrary automatic accompaniment pattern from a plurality of automatic accompaniment patterns stored in the storage means, and an automatic accompaniment pattern selected by the selection means is read from the storage means Automatic accompaniment means for performing automatic accompaniment based on the chord information input by the input means, wherein the note name indicated by the note information constituting the automatic accompaniment pattern stored in the storage means is the The pitch indicated by the note information is changed when it matches any of the pitch names of the chords specified by the chord information input to the input means. If it does not match any of the constituent sounds of the chord specified by the chord information input to the input means, the pitch is changed based on the route information included in the chord information input by the input means. It includes a pitch changing means for the automatic accompaniment means is for performing an automatic accompaniment based on the pitch, which is formed by the pitch changing means.

請求項2記載の自動伴奏装置は、ルート情報とコード種類情報とを有するコード情報を入力する入力手段と、複数の音符情報により構成される自動伴奏パターンを複数記憶する記憶手段と、その記憶手段に記憶された複数の自動伴奏パターンのうちから任意の自動伴奏パターンを選択する選択手段と、その選択手段により選択された自動伴奏パターンを前記記憶手段から読出し前記入力手段により入力されたコード情報に基づいて自動伴奏を行う自動伴奏手段とを備えたものであって、前記記憶手段に記憶された自動伴奏パターンを構成する音符情報が示す音高が、その音符情報に割り当てられたコードの構成音である場合は、前記入力手段に入力されたコード情報により特定されるコードを構成する複数の音高の音名と前記自動伴奏を構成する音符情報が示す音高の音名との音高差を検出する検出手段と、その検出手段により検出された複数の音高の音名と前記記憶手段に記憶された自動伴奏パターンを構成する音符情報が示す音高の音名との音高差のうち最も小さい音高差の音名に対応する音高に、前記音符情報が示す音高を変更する音高変更手段とを備え、前記自動伴奏手段は、前記音高変更手段により形成された音高に基づいて自動伴奏を行うものである。   The automatic accompaniment apparatus according to claim 2 is an input means for inputting chord information having route information and chord type information, a storage means for storing a plurality of automatic accompaniment patterns composed of a plurality of note information, and the storage means. Selecting means for selecting an arbitrary automatic accompaniment pattern from among a plurality of automatic accompaniment patterns stored in the memory, and reading out the automatic accompaniment pattern selected by the selection means from the storage means to the chord information input by the input means And automatic accompaniment means for performing automatic accompaniment based on the pitches indicated by the note information constituting the automatic accompaniment pattern stored in the storage means. If it is, it constitutes the automatic accompaniment and the pitch names of a plurality of pitches constituting the chord specified by the chord information inputted to the input means Detecting means for detecting a pitch difference from a pitch name indicated by note information, a plurality of pitch names detected by the detecting means, and an automatic accompaniment pattern stored in the storage means Pitch changing means for changing the pitch indicated by the note information to the pitch corresponding to the pitch name having the smallest pitch difference among the pitch differences between the pitch names indicated by the note information, and The automatic accompaniment means performs automatic accompaniment based on the pitch formed by the pitch changing means.

請求項3記載の自動伴奏装置は、前記音高変更手段により変更された音高が、現在発音中であるか検出する検出手段と、その検出手段により前記音高変更手段により変更された音高が発音中であると検出された場合は、前記入力手段により入力されたコードを構成する複数の音高の音名のうち、前記記憶手段に記憶された自動伴奏パターンを構成する音符情報が示す音高の音名との音高差が次に小さい音名に対応する音高に変更する第2の音高変更手段を備えている。 The automatic accompaniment apparatus according to claim 3, wherein a detecting means for detecting whether the pitch changed by the pitch changing means is currently sounding, and a sound changed by the pitch changing means by the detecting means. When it is detected that the pitch is being pronounced, note information constituting the automatic accompaniment pattern stored in the storage means is stored among the pitch names of the pitches constituting the chord inputted by the input means. and a second pitch change means for changing the pitch corresponding to the next smallest pitch name pitch difference between the pitch of the pitch names shown.

請求項1記載の自動伴奏装置によれば、記憶手段に記憶された自動伴奏パターンを構成する音符情報が示す音名が、入力手段に入力されたコード情報によって特定されるコードの構成音の音名のいずれかに一致する場合は、音符情報が示す音高を変更せず、前記入力手段に入力されたコード情報によって特定されるコードの構成音のいずれにも一致しない場合は、その音高を、前記入力手段により入力されたコード情報が有するルート情報に基づいて変更する音高変更手段備えているので、鍵盤等により新たなコードが指定された場合に、自動伴奏パターンの音高が大きく変更されることがなく、音高の変動が少なくなるので自動伴奏パターンを構成する音符の音高を音楽的に適切に変更することができるという効果がある。 According to the automatic accompaniment apparatus according to claim 1, the note name indicated by the note information constituting the automatic accompaniment pattern stored in the storage means is the sound of the constituent sound of the chord specified by the chord information input to the input means. If it matches any of the names, the pitch indicated by the note information is not changed, and if it does not match any of the constituent sounds of the chord specified by the chord information input to the input means, the pitch the so code information entered is provided with a pitch changing means for changing, based on the route information with by the input unit, when a new code is specified by the keyboard or the like, the pitch of the automatic accompaniment pattern There is an effect that the pitch of the notes constituting the automatic accompaniment pattern can be appropriately changed musically because the pitch is not greatly changed and the fluctuation in pitch is reduced.

請求項2記載の自動伴奏装置によれば、記憶手段に記憶された自動伴奏パターンを構成する音符情報が示す音高が、その音符情報に割り当てられたコードの構成音である場合は、入力手段に入力されたコード情報により特定されるコードを構成する複数の音高の音名と自動伴奏を構成する音符情報が示す音高の音名との音高差を検出する検出手段と、その検出手段により検出された複数の音高の音名と前記記憶手段に記憶された自動伴奏パターンを構成する音符情報が示す音高の音名との音高差のうち最も小さい音高差の音名に対応する音高に、音符情報が示す音高を変更する音高変更手段とを備えているので、自動伴奏パターンの音符は、鍵盤等により新たなコードが指定された場合に、自動伴奏パターンの音高が鍵盤等により指定されたコードの構成音のうち、最も音高差が小さい音高に変更され、音高の変動が少なくなるので自動伴奏パターンを構成する音符の音高を音楽的に適切に変更することができるという効果がある。   According to the automatic accompaniment apparatus according to claim 2, when the pitch indicated by the note information constituting the automatic accompaniment pattern stored in the storage means is a constituent sound of a chord assigned to the note information, the input means Detecting means for detecting a pitch difference between a pitch name of a plurality of pitches constituting a chord specified by the chord information input to and a pitch name indicated by note information constituting an automatic accompaniment, and detection thereof The pitch name with the smallest pitch difference among the pitch differences between the pitch names detected by the means and the pitch names indicated by the note information constituting the automatic accompaniment pattern stored in the storage means Is provided with a pitch changing means for changing the pitch indicated by the note information, so that the notes of the automatic accompaniment pattern are automatically generated when a new chord is specified by the keyboard or the like. Is specified by the keyboard etc. The pitch of the notes that make up the automatic accompaniment pattern can be changed in a musically appropriate manner because the pitch difference is changed to the smallest pitch among the constituent sounds of the keyboard and fluctuations in pitch are reduced. effective.

請求項3記載の自動伴奏装置によれば、請求項3記載の自動伴奏装置の奏する効果に加え、音高変更手段により変更された音高が、現在発音中であるか検出する検出手段と、その検出手段により前記音高変更手段により変更された音高が発音中であると検出された場合は、入力手段により入力されたコードを構成する複数の音高の音名のうち、記憶手段に記憶された自動伴奏パターンを構成する音符情報が示す音高の音名との音高差が次に小さい音名に対応する音高に変更する第2の音高変更手段を備えているので、鍵盤等により新たなコードが指定された場合に、自動伴奏パターンの音高が大きく変更されることがなく、さらに同じ音高が連続することがないので、自動伴奏に変化を付与することができるという効果がある。 According to the automatic accompaniment apparatus according to claim 3, in addition to the effect produced by the automatic accompaniment apparatus according to claim 3, the detection means for detecting whether the pitch changed by the pitch change means is currently sounding; When the detection means detects that the pitch changed by the pitch change means is sounding, the storage means among the pitch names of the plurality of pitches constituting the chord input by the input means And a second pitch changing means for changing the pitch to the pitch corresponding to the next smallest pitch with respect to the pitch of the pitch indicated by the note information constituting the automatic accompaniment pattern. Therefore, when a new chord is specified on the keyboard etc., the pitch of the automatic accompaniment pattern will not change significantly, and the same pitch will not continue, so change the automatic accompaniment. There is an effect that can be.

以下、本発明の好ましい実施形態について、添付図面を参照して説明する。図1は、本発明の一実施形態である自動伴奏装置1の外観を示した平面図である。自動伴奏装置1は、鍵盤5と、各種スイッチなどの操作子6と、表示器11とを筐体の外部に露出して有し、筐体内部に、処理ユニット3と、メモリユニット7とを備えている。自動伴奏装置1により形成された楽音は、図示しない出力端子から出力され、スピーカ2に送られる。   Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. FIG. 1 is a plan view showing an appearance of an automatic accompaniment apparatus 1 according to an embodiment of the present invention. The automatic accompaniment apparatus 1 has a keyboard 5, an operator 6 such as various switches, and a display 11 exposed outside the casing, and a processing unit 3 and a memory unit 7 inside the casing. I have. The musical sound formed by the automatic accompaniment apparatus 1 is output from an output terminal (not shown) and sent to the speaker 2.

処理ユニット3には、音源4と、CPU(中央演算処理装置)10が搭載され、メモリユニット7には、複数の自動伴奏パターン(伴奏シーケンス)を記憶するROM8(リード・オンリ・メモリ)と、その複数の自動伴奏パターンのうち操作子6を使用者が操作することにより選択された自動伴奏パターンがROM8から読み出されて記憶されるRAM9(ランダム・アクセス・メモリ)とが搭載される。鍵盤5は、演奏を行う演奏操作子であって、メロディを演奏するための鍵域(メロディ鍵域)と、コードを指定するための鍵域(コード鍵域)とが備えられている。   The processing unit 3 is equipped with a sound source 4 and a CPU (Central Processing Unit) 10, and the memory unit 7 has a ROM 8 (read-only memory) for storing a plurality of automatic accompaniment patterns (accompaniment sequences), A RAM 9 (random access memory) in which an automatic accompaniment pattern selected by operating the operator 6 among the plurality of automatic accompaniment patterns is read from the ROM 8 and stored is mounted. The keyboard 5 is a performance operator for performing a performance, and includes a key range for playing a melody (melody key range) and a key range for specifying a chord (code key range).

自動伴奏装置1の操作パネルには、操作子6と表示器11とが備えられている。操作子6として、演奏のテンポを設定するテンポ設定スイッチや、自動伴奏パターンを選択する伴奏パターン選択スイッチや、自動演奏の開始または停止を指示するスタート・ストップスイッチ等が備えられている。   The operation panel of the automatic accompaniment apparatus 1 is provided with an operator 6 and a display 11. As the operation element 6, a tempo setting switch for setting the tempo of performance, an accompaniment pattern selection switch for selecting an automatic accompaniment pattern, a start / stop switch for instructing start or stop of automatic performance, and the like are provided.

テンポ設定スイッチは、自動伴奏のテンポを設定する操作子で、伴奏パターン選択スイッチにより選択された伴奏パターンには、予め所定のテンポ値が設定されており、このテンポ設定スイッチを操作しない場合には、その予め設定されているテンポで演奏され、テンポ設定スイッチが操作された場合は、そのテンポ値が変更される。   The tempo setting switch is an operator that sets the tempo of the automatic accompaniment. The accompaniment pattern selected by the accompaniment pattern selection switch is preset with a predetermined tempo value. When this tempo setting switch is not operated, When the performance is performed at the preset tempo and the tempo setting switch is operated, the tempo value is changed.

伴奏パターン選択スイッチは、自動伴奏のパターンを選択するスイッチである。ロック、ジャズ、ポップス、クラシックなどのジャンルに対応して、それらのジャンルに適合した伴奏情報がROM8に記憶され、この伴奏パターン選択スイッチにより、いずれかを選択し、自動的に伴奏を演奏させることができる。   The accompaniment pattern selection switch is a switch for selecting an automatic accompaniment pattern. Accompaniment information suitable for genres such as rock, jazz, pop, and classical music is stored in the ROM 8, and one of these accompaniment pattern selection switches is used to automatically play the accompaniment. Can do.

スタート・ストップスイッチは、自動伴奏を開始または停止するように指示するスイッチである。自動伴奏の停止中に、スタート・ストップスイッチが操作された場合には、自動伴奏が開始され、自動伴奏が実行されている時に、スタート・ストップスイッチが操作された場合には、自動伴奏が停止される。なお、自動伴奏装置1には、これらの操作子の他に、図示しないが、フィルインやイントロ、エンディングなどのディビジョンを指定するスイッチや、各パートの音色を設定するスイッチや音量を調整するボリュームなどが備えられているが、本発明の要旨ではないのでその説明を省略する。   The start / stop switch is a switch for instructing to start or stop the automatic accompaniment. If the start / stop switch is operated while the automatic accompaniment is stopped, the automatic accompaniment starts. If the start / stop switch is operated while the automatic accompaniment is being executed, the automatic accompaniment is stopped. Is done. In addition to these operators, the automatic accompaniment apparatus 1 includes a switch for designating divisions such as fill-in, intro, and ending, a switch for setting the tone of each part, and a volume for adjusting the volume, although not shown. However, since it is not the gist of the present invention, the description thereof is omitted.

表示器11は、LCDなどにより構成されるもので、伴奏パターン選択スイッチにより選択された伴奏パターン名や、設定されているテンポの値が数値で表示される。   The display 11 is composed of an LCD or the like, and displays the accompaniment pattern name selected by the accompaniment pattern selection switch and the set tempo value as numerical values.

次に、図2を参照して自動伴奏装置1の電気的構成について説明する。図2は、自動伴奏装置1の電気的構成を示したブロック図である。自動伴奏装置1は、CPU10と、そのCPU10により実行される制御プログラムや複数の自動伴奏パターン等を記憶したROM8と、CPU10が制御プログラムを実行する際の作業用のメモリエリア等を提供するRAM9と、演奏を行うための鍵盤5と、各種パラメータを設定したり自動伴奏装置1に指示を行う操作子6と、その操作子6により設定されたパラメータなどを表示する表示器11と、CPU10により送信された演奏情報に対応した楽音信号を生成する音源4とを備え、これらはバスラインにより相互に接続されている。また、音源4の出力は、アンプ12に入力され、アンプ12は、スピーカ2を駆動する。   Next, the electrical configuration of the automatic accompaniment apparatus 1 will be described with reference to FIG. FIG. 2 is a block diagram showing an electrical configuration of the automatic accompaniment apparatus 1. The automatic accompaniment apparatus 1 includes a CPU 10, a ROM 8 that stores a control program executed by the CPU 10, a plurality of automatic accompaniment patterns, and the like, and a RAM 9 that provides a working memory area when the CPU 10 executes the control program. A keyboard 5 for performing performance, an operator 6 for setting various parameters and instructing the automatic accompaniment apparatus 1, a display 11 for displaying parameters set by the operator 6, and transmission by the CPU 10. And a sound source 4 for generating a musical sound signal corresponding to the performance information, which are connected to each other by a bus line. The output of the sound source 4 is input to the amplifier 12, and the amplifier 12 drives the speaker 2.

ROM8には、図3,4,6,7に示すフローチャートの処理を行う制御プログラムや、図5に示す伴奏パターンなどが記憶されている。伴奏パターンは、ロック、ジャズ、ポップス、クラシックなどのジャンル毎に分けられ、さらに各ジャンル毎の伴奏パターンは、イントロ、メイン1、フィルイン1、メイン2、フィルイン2、エンディングと言ったディビジョン毎に記憶されている。   The ROM 8 stores a control program for performing the processing of the flowcharts shown in FIGS. 3, 4, 6, and 7, an accompaniment pattern shown in FIG. Accompaniment patterns are divided into genres such as rock, jazz, pop, and classic, and accompaniment patterns for each genre are stored for each division such as intro, main 1, fill-in 1, main 2, fill-in 2, and ending. Has been.

RAM9には、上述の通り、使用者により選択された自動伴奏パターンを記憶する自動伴奏パターンメモリ9aと、自動伴奏の処理により自動伴奏パターンを構成する音符の音高を変換する際に、その音符と押鍵により指示されたコードの各構成音との音程を検出し、その音程が小さい音高から順に構成音を並べたコード構成音リストを記憶するコード構成音リストメモリ9bと、自動伴奏パターンの音符の音高と、その音符の音高が変換された音高とを示す変換情報を記憶する変換情報テーブルメモリ9cとを有する。   As described above, the RAM 9 stores the automatic accompaniment pattern memory 9a that stores the automatic accompaniment pattern selected by the user, and the note that is used when the pitch of the notes constituting the automatic accompaniment pattern is converted by the automatic accompaniment process. And a chord constituent sound list memory 9b for storing a chord constituent sound list in which the constituent sounds are arranged in order from the lowest pitch, and an automatic accompaniment pattern. And a conversion information table memory 9c for storing conversion information indicating the pitch of the note and the pitch obtained by converting the pitch of the note.

この変換情報テーブルメモリ9cには、使用者が押鍵によりコードを指定し、自動伴奏パターンを構成する音符のノートオンが読み出されて、指定されたコードに応じてノートオンが音源へ送出された際に、その自動伴奏パターンの音符の音高が、いずれの音高へ変換されて音源へ送出されたかを示す変換情報を記憶し、その音高に対応するノートオフが自動伴奏パターンから読み出された際に消去される。   In the conversion information table memory 9c, the user designates a chord by pressing the key, the note-on of the notes constituting the automatic accompaniment pattern is read, and the note-on is sent to the sound source according to the designated chord. When this is done, conversion information indicating the pitch of the notes of the automatic accompaniment pattern that have been converted and sent to the sound source is stored, and the note-off corresponding to that pitch is read from the automatic accompaniment pattern. It is erased when it is issued.

CPU10は、メロディ鍵域において鍵が操作されたことを検出した場合は、その操作に対応する発音開始、または発音停止などの演奏情報を音源4に送信する。一方、コード鍵域において鍵が操作されたことを検出した場合は、その操作によりコードが確定されたか否かを判断する。コードが確定されない場合には、何も行わず、コードが確定された場合には、そのコードのルート情報(ルート)とコード種類情報(コードタイプ)とを求める。そのルート情報とコード種類情報とに基づいて、RAM9の伴奏パターンメモリ9aから読出した伴奏パターンを処理し、その処理を行った演奏情報を音源4に送信する。   When the CPU 10 detects that a key has been operated in the melody key area, the CPU 10 transmits performance information such as sound generation start or sound generation stop corresponding to the operation to the sound source 4. On the other hand, when it is detected that the key has been operated in the code key area, it is determined whether or not the code has been confirmed by the operation. If the code is not confirmed, nothing is done. If the code is confirmed, route information (root) and code type information (code type) of the code are obtained. Based on the route information and chord type information, the accompaniment pattern read from the accompaniment pattern memory 9a of the RAM 9 is processed, and the performance information that has been processed is transmitted to the sound source 4.

次に、図3および図4を参照して、CPU10がROM8に記憶された制御プログラムに従って実行する処理について説明する。図3は、メイン処理を示すフローチャートであって、自動伴奏装置1の電源が投入されてから遮断されるまで実行される処理である。   Next, processing executed by the CPU 10 according to the control program stored in the ROM 8 will be described with reference to FIGS. FIG. 3 is a flowchart showing the main process, which is executed until the automatic accompaniment apparatus 1 is turned on and then shut off.

まず、初期化処理を行う(S1)。この初期化処理としては、自動伴奏を行うための時刻を0に設定したり、表示器7に所定の初期画面を表示する処理などを行う。次に、押鍵イベントが発生したか否かを判断する(S2)。ここでは、メロディ鍵域についての処理は、説明を簡単にするため省略し、コード鍵域において押鍵または離鍵があったか否かを判断する。   First, initialization processing is performed (S1). As the initialization process, a time for performing automatic accompaniment is set to 0, or a process of displaying a predetermined initial screen on the display 7 is performed. Next, it is determined whether or not a key pressing event has occurred (S2). Here, the processing for the melody key range is omitted for the sake of simplicity, and it is determined whether or not there is a key depression or key release in the chord key range.

押鍵イベントが発生していない場合は(S2:No)、S5の処理へ進み、押鍵イベントが発生した場合は(S2:Yes)、押鍵の変化によりコードが確定されたか否かを判断する(S3)。このコードの確定とは、例えば、鍵が一つだけしか押下されなかった場合は、コードは確定せず、2つ以上押された場合であって、その押鍵によりコードのルートとタイプとを特定することができる場合を、コードが確定したという。   If no key-pressing event has occurred (S2: No), the process proceeds to S5. If a key-pressing event has occurred (S2: Yes), it is determined whether or not a code has been confirmed by a key-pressing change. (S3). For example, when only one key is pressed, the code is not fixed, and when two or more keys are pressed, the code root and type are determined by pressing the key. When it can be identified, the code is confirmed.

コードが確定しない場合は(S3:No)、S5の処理へ進み、コードが確定された場合は(S3:Yes)、コードのルートとタイプとを求める(S4)。なお、複数の押鍵からコードのルートとタイプを求める方法については、各種の方法が公知である。求められたコードのルートとタイプとは、RAM9の所定の記憶領域に記憶する。なお、コードを構成する複数のコード構成音は、コードの種類毎にROM8に記憶されており、コードが確定してコード構成音に基づいて処理を行う場合は、ROM8を参照してコード構成音を取得する。   If the code is not fixed (S3: No), the process proceeds to S5. If the code is fixed (S3: Yes), the route and type of the code are obtained (S4). Various methods are known for obtaining the route and type of a code from a plurality of key presses. The obtained code route and type are stored in a predetermined storage area of the RAM 9. A plurality of chord constituent sounds constituting the chord are stored in the ROM 8 for each type of chord. When the chord is determined and processing is performed based on the chord constituent sounds, the chord constituent sounds are referred to the ROM 8. To get.

次に、クロックイベントが発生したか否かを判断する(S5)。このクロックイベントは、CPU10に図示しないタイマが設けられ、自動伴奏が開始されると、ティックの時間間隔で、タイマがCPU10に指示するイベントである。このティックとは、テンポ値に対応する時間間隔であり、テンポ値により特定される1拍の時間長さを所定の値(例えば、120)で除算した時間である。例えば、テンポ値が120であれば、1拍の長さは、500msecであり、これを120で除算すると1ティックは、4.17msecとなる。   Next, it is determined whether or not a clock event has occurred (S5). This clock event is an event that the CPU 10 is provided with a timer (not shown) and the timer instructs the CPU 10 at time intervals of ticks when automatic accompaniment is started. The tick is a time interval corresponding to the tempo value, and is a time obtained by dividing the time length of one beat specified by the tempo value by a predetermined value (for example, 120). For example, if the tempo value is 120, the length of one beat is 500 msec, and when this is divided by 120, one tick is 4.17 msec.

このクロックイベントが発生した場合は(S5:Yes)、後述するクロックイベント処理を実行する。クロックイベントが発生していない場合(S5:No)およびクロックイベント処理を終了した場合は、次に操作パネルの操作子が操作されたか否かを判断する(S8)。操作子が操作された場合は(S7:Yes)、後述する操作子処理を行う。操作子が、操作されていない場合(S7:No)および操作子処理を終了した場合は、S2の処理に戻る。   When this clock event occurs (S5: Yes), a clock event process described later is executed. When the clock event has not occurred (S5: No) and when the clock event processing has been completed, it is next determined whether or not the operator on the operation panel has been operated (S8). When the operator is operated (S7: Yes), the operator process described later is performed. When the operation element is not operated (S7: No) and when the operation element process is terminated, the process returns to S2.

次に、図4を参照して、操作子処理について説明する。図4は、操作子処理を示すフローチャートである。まず、テンポ設定ツマミが操作されてテンポ値が変更されたか否かを判断する(S11)。テンポ値が変更された場合は(S11:Yes)、変更されたテンポ値に応じてティックの値を算出し、算出された時間間隔でタイマがCPU10に指示を行うように、タイマを設定する(S12:テンポ変更処理)。   Next, the operator process will be described with reference to FIG. FIG. 4 is a flowchart showing the operator processing. First, it is determined whether or not the tempo value has been changed by operating the tempo setting knob (S11). When the tempo value is changed (S11: Yes), the tick value is calculated according to the changed tempo value, and the timer is set so that the timer instructs the CPU 10 at the calculated time interval ( S12: Tempo change process).

テンポ変更処理を終了した場合、またはテンポ値が変更されていない場合(S11:No)は、次に、伴奏パターン選択スイッチが操作されて、伴奏パターンが変更されたか否かを判断する(S13)。   If the tempo change process has been completed or if the tempo value has not been changed (S11: No), it is next determined whether or not the accompaniment pattern has been changed by operating the accompaniment pattern selection switch (S13). .

伴奏パターンが変更された場合は(S13:Yes)、変更された伴奏パターンにより自動伴奏が行われるように設定するとともに、変更された伴奏パターンに設定されているテンポ値に応じてティックの値を算出し、算出された時間間隔でタイマがCPU10に指示を行うように、タイマを設定する(S14:パターン変更処理)。   When the accompaniment pattern is changed (S13: Yes), the automatic accompaniment is set to be performed with the changed accompaniment pattern, and the tick value is set according to the tempo value set in the changed accompaniment pattern. The timer is set so that the timer instructs the CPU 10 at the calculated time interval (S14: pattern change process).

パターン変更処理を終了した場合、または伴奏パターンが変更されていない場合(S13:No)は、次に、スタート・ストップスイッチが操作されたか否かを判断する(S15)。スタート・ストップスイッチが操作された場合は(S15:Yes)、自動伴奏を停止している時は、自動伴奏を開始するようにタイマの計時を開始し、自動伴奏を行っている時は、自動伴奏を停止するようにタイマの計時を停止する(S16:スタート・ストップ変更処理)。スタート・ストップ変更処理を終了した場合、またはスタート・ストップスイッチが操作されていない場合は(S15:No)、この操作子処理を終了してメイン処理へ戻る。   If the pattern change process is completed or if the accompaniment pattern has not been changed (S13: No), it is next determined whether or not the start / stop switch has been operated (S15). When the start / stop switch is operated (S15: Yes), when automatic accompaniment is stopped, the timer starts to start automatic accompaniment, and when automatic accompaniment is performed, automatic The timer count is stopped so as to stop the accompaniment (S16: start / stop change process). When the start / stop change process is completed, or when the start / stop switch is not operated (S15: No), the operation process is terminated and the process returns to the main process.

次に図5を参照してROM8に記憶されている伴奏パターンのデータについて説明する。図5は、伴奏パターンを構成するデータの一例を示している。伴奏パターンは、演奏が行われる順に、時間(dt)に対応してイベントであるMIDIメッセージが記憶されている。時間は、つぎのMIDIメッセージが音源4に送られるまでの時間であり、この時間の単位は、ティックである。   Next, accompaniment pattern data stored in the ROM 8 will be described with reference to FIG. FIG. 5 shows an example of data constituting the accompaniment pattern. The accompaniment pattern stores MIDI messages that are events corresponding to time (dt) in the order of performance. The time is the time until the next MIDI message is sent to the sound source 4, and the unit of this time is a tick.

MIDIメッセージは、MIDI規格により定められた通信される情報で、音色などを設定するプログラムチェンジや、音量などを設定するコントロールチェンジや、発音の開始を指示するノートオンなどが規定されている。MIDIメッセージは、チャネル番号により、複数の演奏パートをそれぞれ制御することができる。   The MIDI message is information to be communicated defined by the MIDI standard, and defines a program change for setting a tone color, a control change for setting a volume, a note-on for instructing the start of sound generation, and the like. The MIDI message can control a plurality of performance parts by the channel number.

図5に示された例では、第1番目のデータは、時間が0に設定され、MIDIメッセージとしてプログラムチェンジが記憶されている。従って、演奏の開始と同時に、このプログラムチェンジにが、音源4に送られる。音源4は、このプログラムチェンジを受信すると、プログラムチェンジにより指定されるパートの音色をプログラムチェンジにより指定される音色に設定する。   In the example shown in FIG. 5, the first data is set to time 0, and a program change is stored as a MIDI message. Accordingly, the program change is sent to the sound source 4 simultaneously with the start of the performance. When receiving the program change, the sound source 4 sets the tone color of the part designated by the program change to the tone color designated by the program change.

第2番目のデータは、時間が0に設定され、MIDIメッセージとして、コントロールチェンジが記憶されている。第1番目のデータの時間が0に設定されているので、このコントロールチェンジも、演奏の開始と同時に音源4に送られる。音源4は、このコントロールチェンジを受信すると、コントロールチェンジにより指定されるパートの音量などを設定する。   In the second data, the time is set to 0, and a control change is stored as a MIDI message. Since the time of the first data is set to 0, this control change is also sent to the sound source 4 simultaneously with the start of the performance. When the sound source 4 receives this control change, it sets the volume of the part specified by the control change.

第3番目のデータは、時間が0に設定され、コード(C:Cメジャーのコードを表す)のルートと種類を示すデータが記憶されている。第2番目のデータの時間が0に設定されているが、このコードを示すデータは、記憶されている伴奏パターンのコードのルートと種類を示し、押鍵により指定されたコード情報に従って伴奏音の音高を決定する際に使用されるものであって、音源4に送られるものではない。また、このコードは、通常の楽譜に記載される場合と同様に、次に指定されるまでの間のノートオンに対して有効である。言い替えれば、このコードは、次にコードが指定されるまでの間のノートオンに割り当てられることになる。   In the third data, the time is set to 0, and data indicating the route and type of the code (representing the code of C: C major) is stored. Although the time of the second data is set to 0, the data indicating this chord indicates the route and type of the chord of the stored accompaniment pattern, and the accompaniment sound is recorded according to the chord information specified by the key depression. It is used when determining the pitch and is not sent to the sound source 4. In addition, this code is effective for note-on until the next designation as in the case where it is described in a normal musical score. In other words, this chord is assigned to note-on until the next chord is specified.

第4番目のデータは、時間が120に設定され、MIDIメッセージとして、ノートオン(E:音名を表す)が記憶されている。第3番目のデータの時間が0に設定されているので、このノートオンも演奏の開始と同時に読出される。このノートオンの音高であるノートナンバは、鍵盤5により指定されるコードに応じてオルタレーションが行われ、音源4に送られる。音源4は、このノートオンを受信すると、ノートオンにより指定されるパートにおいて、ノートオンにより指定される音高の楽音をノートオンにより指定されるベロシティ(押鍵速度)に応じた音量で発音する。   In the fourth data, time is set to 120, and note-on (E: represents pitch name) is stored as a MIDI message. Since the time of the third data is set to 0, this note-on is also read simultaneously with the start of the performance. The note number, which is the note-on pitch, is altered according to the chord designated by the keyboard 5 and sent to the sound source 4. Upon receipt of this note-on, the sound source 4 generates a musical tone having a pitch designated by the note-on in a part designated by the note-on at a volume corresponding to the velocity (key-pressing speed) designated by the note-on. .

第5番目のデータは、時間が60に設定され、MIDIメッセージとして、ノートオン(F)が記憶されている。第4番目のデータの時間が120に設定されているので、第3番目のデータのノートオンが音源4に送られてから、120ティック後に、この第4番目のノートオンがオルタレーションされて音源4に送られる。   In the fifth data, the time is set to 60, and note-on (F) is stored as a MIDI message. Since the time of the fourth data is set to 120, after the note-on of the third data is sent to the sound source 4, the fourth note-on is altered 120 seconds after being sent to the sound source. Sent to 4.

第6番目のデータは、時間が2に設定され、MIDIメッセージとして、ノートオフ(E)が記憶されている。第5番目のデータの時間が60に設定されているので、第4番目のデータのノートオンが音源4に送られてから60ティック後に読出される。ノートオンが音源4に送られた際に、いずれの音高をいずれの音高に変更して音源4へ送られたかを示す変更情報がRAM9の変更情報テーブルメモリ9cに記憶されている。ノートオフが読出された場合には、RAM9に記憶されている変更情報から対応する音高の変更情報を読出して、ノートオフのノートナンバを変更し、音源4に送られる。ノートオフが送られると、変更情報テーブルメモリ9cに記憶された該当する変更情報が消去される。   In the sixth data, the time is set to 2, and note-off (E) is stored as a MIDI message. Since the time of the fifth data is set to 60, the note-on of the fourth data is read out 60 ticks after being sent to the sound source 4. When the note-on is sent to the sound source 4, change information indicating which pitch is changed to which pitch and sent to the sound source 4 is stored in the change information table memory 9 c of the RAM 9. When note-off is read, the corresponding pitch change information is read from the change information stored in the RAM 9, the note-off note number is changed, and sent to the sound source 4. When note-off is sent, the corresponding change information stored in the change information table memory 9c is deleted.

音源4は、ノートオフを受信すると、ノートオフにより指定されるパートにおいて、ノートオフにより指定される音高の楽音をノートオフにより指定されるベロシティ(離鍵速度)に応じた速さで減衰させる。以下、同様に、伴奏パターンは、記憶されている。   When the sound source 4 receives the note-off, the sound source 4 attenuates the musical tone having the pitch specified by the note-off at a speed corresponding to the velocity (key-release speed) specified by the note-off in the part specified by the note-off. . Hereinafter, similarly, accompaniment patterns are stored.

次に、図6を参照してクロックイベントについて説明する。図6は、ティック時間間隔により起動されるクロックイベント処理を示すフローチャートである。   Next, the clock event will be described with reference to FIG. FIG. 6 is a flowchart showing clock event processing activated at tick time intervals.

まず、時間を表す変数tを1減じる(S21)。この変数tは、伴奏パターンに順次記憶されたイベントを時間経過に従って実行するためのもので、一つのイベントが実行されると、その次に実行されるイベントまでの時間が設定され、変数tが0になれば、そのイベントを実行するようになされたものである。   First, the variable t representing time is decremented by 1 (S21). This variable t is for executing the events sequentially stored in the accompaniment pattern according to the passage of time. When one event is executed, the time until the next event to be executed is set. If it becomes 0, the event is executed.

次に、時間の変数tが、0または、負の値であるか否かを判断する(S22)。時間の変数tが、正の値である場合は(S22:No)、このクロックイベント処理を終了してメイン処理へ戻る。時間の変数tが0または負の値である場合は(S22:Yes)、イベントであるMIDIメッセージを読み出し(S23)、そのMIDIメッセージがノートオンまたはノートオフを示すノート情報か否かを判断する(S24)。ノート情報である場合は(S24:Yes)、後述するノート情報処理を行う(S25)。   Next, it is determined whether or not the time variable t is 0 or a negative value (S22). If the time variable t is a positive value (S22: No), the clock event process is terminated and the process returns to the main process. When the time variable t is 0 or a negative value (S22: Yes), the event MIDI message is read (S23), and it is determined whether or not the MIDI message is note information indicating note-on or note-off. (S24). If it is note information (S24: Yes), note information processing described later is performed (S25).

ノート情報処理を行った後、その処理されたノート情報または、S24の判断処理で、ノート情報ではないと判断したMIDIメッセージを音源4へ送信し(S26)、次のイベントの時間dtを時間変数tに加算し(S27)、S22の処理へ戻る。   After performing the note information processing, the processed note information or the MIDI message determined not to be the note information in the determination processing in S24 is transmitted to the sound source 4 (S26), and the time dt of the next event is set as a time variable. t is added (S27), and the process returns to S22.

次に、図7を参照して、この自動伴奏装置1におけるノート情報処理について説明する。図7は、ノート情報処理を示すフローチャートであり、ここでは説明を簡単にするため、ノート情報がノートオンである場合について説明する。ノート情報がノートオフである場合には、そのノートオフに対応するノートオンの音高をRAM9の変換情報テーブルメモリ9cに記憶された変換情報テーブルを参照し、そのノートオンにより発音が開始された楽音を消音するように制御するものである。   Next, note information processing in the automatic accompaniment apparatus 1 will be described with reference to FIG. FIG. 7 is a flowchart showing note information processing. Here, for simplicity of explanation, a case where note information is note-on will be described. When the note information is note-off, the note-on pitch corresponding to the note-off is referred to the conversion information table stored in the conversion information table memory 9c of the RAM 9, and sound generation is started by the note-on. It controls to mute the musical sound.

ノートオンの処理は、まず、ノートオンの音高を示す値であるノートナンバを12で割った剰余を求め、その剰余を新たなノートナンバとする。すなわち、最も低いオクターブに含まれるノートナンバである0から11の値に丸める(S31)。このことにより、ノートナンバに対応する音名に変換される。なお、MIDI規格では、ノートナンバ0が音名C,ノートナンバ1が音名C#(以下同様)というように規定されている。   In the note-on process, first, a remainder obtained by dividing a note number that is a value indicating the note-on pitch by 12 is obtained, and the remainder is set as a new note number. That is, it is rounded to a value from 0 to 11 which is a note number included in the lowest octave (S31). As a result, the note name corresponding to the note number is converted. In the MIDI standard, note number 0 is specified as pitch name C and note number 1 is specified as pitch name C # (hereinafter the same).

次に、この丸められた音高が、ベーシックノートか否かを判断する(S32)。ベーシックノートとは、このノートに割り当てられているコードの構成音である。例えば、コードが、Cであれば、C,E,Gがベーシックノートであり、コードがCmであれば、C,E♭、Gがベーシックノートである。割り当てられているコードは、図5において、ノートオンの直前に指定されているコードであり、例えば第4番目のデータであるノートオン(E)および第5番目のデータであるノートオン(F)に割り当てられているコードは、第3行目のコード(C)である。よって、ノートオン(E)は、ベーシックノートであり、第5番面のデータであるノートオン(F)は、ベーシックノートではない。   Next, it is determined whether or not the rounded pitch is a basic note (S32). A basic note is a constituent sound of a chord assigned to this note. For example, if the chord is C, C, E, and G are basic notes, and if the chord is Cm, C, E ♭, and G are basic notes. In FIG. 5, the assigned code is a code designated immediately before note-on, for example, note-on (E) as the fourth data and note-on (F) as the fifth data. The code assigned to is the code (C) on the third line. Therefore, note-on (E) is a basic note, and note-on (F), which is data on the fifth page, is not a basic note.

ノートオンのノートナンバが、コード構成音である場合には(S32:Yes)、押鍵により指示されたコードの種類に応じてオルタレーションを行う(S33)。このオルタレーションとは、伴奏パターンに記憶されているコードの種類と、押鍵により指示されたコードの種類が異なる場合に、押鍵により指示されたコードの種類に適合するように変換するものである。例えば、伴奏パターンとして、メジャーコードが指定され、押鍵によりマイナーのコードが指定された場合は、第3音を半音下げるという変換を行うものである。より具体的には、伴奏パターンのノートオンがEであってCメジャーのコードが割り当てられている場合に、押鍵により、ルートの音高にかかわらずマイナーのコードが指定された場合には、E♭に変換される。なお、ノートオンが、CまたはGの場合には、変換されない。   When the note number of note-on is a chord constituent sound (S32: Yes), an alternation is performed according to the type of chord instructed by the key depression (S33). This alteration is a conversion to match the chord type specified by the key press when the chord type stored in the accompaniment pattern is different from the chord type specified by the key press. is there. For example, when a major chord is designated as an accompaniment pattern and a minor chord is designated by pressing a key, conversion is performed to lower the third tone by a semitone. More specifically, if the accompaniment pattern note-on is E and a C major chord is assigned, and a key is pressed to specify a minor chord regardless of the root pitch, E converted to ♭. In addition, when note-on is C or G, it is not converted.

次に、S33により処理されたノートと、押鍵により指示されたコードの複数の構成音毎に音高に対応する音名との音高差を算出して音高が近い(音高差が小さい)ものから順に並べたコード構成音リストを作成し、そのコード構成音リストの先頭の音高を指定する(S34)。したがって、S33により処理されたノートがコードの構成音のいずれかに一致する場合は、その一致する音高が先頭の音高として指定される。   Next, the pitch difference between the note processed in S33 and the pitch name corresponding to the pitch is calculated for each of a plurality of constituent sounds of the chord designated by the key depression, and the pitches are close (the pitch difference is A chord constituent sound list arranged in order from the smallest one is created, and the top pitch of the chord constituent sound list is designated (S34). Accordingly, if the note processed in S33 matches any of the chord constituent sounds, the matching pitch is designated as the leading pitch.

このS34の処理において作成されたコード構成音リストは、RAM9のコード構成音リストメモリ9bに記憶される。なお、ここでいう音高差とは、単純なノートナンバの差ではなく、オクターブを構成する12音がリング状に配置されているとして、そのリング上の2音の音高差である。例えば、ノートナンバが1と5との差は、単純に引き算をして、4であるが、ノートナンバが1と11との差は、1に12を加算して13とし、11との差である2が、音高差である。   The chord constituent sound list created in the process of S34 is stored in the chord constituent sound list memory 9b of the RAM 9. Note that the pitch difference here is not a simple note number difference, but a pitch difference between two sounds on the ring, assuming that twelve sounds constituting the octave are arranged in a ring shape. For example, the difference between the note number 1 and 5 is simply subtracted to 4, but the difference between the note number 1 and 11 is 13 by adding 12 to 1 and the difference from 11. 2 is the pitch difference.

次に、その指定された音高が、ノートナンバ50より小さい場合は、12を加算してオクターブ高い音高とする(S35)。次に、S35の処理を終えた音高が、変換情報テーブルを参照し、現在発音中の音高のいずれかの音高と同一の音名か否かを判断する(S36)。現在発音中の音高の音名と同一でなければ(S36:No)、伴奏パターンや音色に応じた好ましい音高範囲となるよう適宜オクターブ変更を行い(S53)その音高のノートオンを音源4へ送出する(S48)。   Next, when the designated pitch is smaller than the note number 50, 12 is added to obtain a pitch that is octave higher (S35). Next, it is determined whether or not the pitch for which the processing of S35 has been completed is the same pitch name as any of the pitches currently being sounded with reference to the conversion information table (S36). If it is not the same as the pitch name of the currently sounding pitch (S36: No), the octave is appropriately changed so as to be within a preferable pitch range according to the accompaniment pattern and tone (S53). 4 (S48).

一方、S36の判断処理において、現在発音中の音高と同一の音名であると判断された場合は(S36:Yes)、現在発音中の音高と、同じオクターブであるか否かを判断する(S37)。現在発音中の音高と同じオクターブではない場合は(S37:No)、次にその発音中の音高が、伴奏パターンに記憶されている元の音高の音名と同じ音名に基づいて生成されたものであるか否かを判断し(S41)伴奏パターンに記憶されている音高の音名と同じ音名から生成された場合は(S41:Yes)、音色に応じてオクターブ調整を行い(S53)、その音高のノートオンを音源4に送出する。   On the other hand, in the determination process of S36, when it is determined that the pitch is the same as the pitch that is currently sounding (S36: Yes), it is determined whether the pitch that is currently sounding is the same octave. (S37). If it is not the same octave as the currently sounding pitch (S37: No), then the pitch being sounded is based on the same pitch name as the original pitch stored in the accompaniment pattern. It is determined whether or not it is generated (S41). If it is generated from the same pitch name as the pitch name stored in the accompaniment pattern (S41: Yes), octave adjustment is performed according to the tone. (S53), and the note-on of the pitch is sent to the sound source 4.

S37の処理において、その指定された音高が、現在発音中の音高と同じオクターブである場合(S37:Yes)、またはS41の判断処理において、その音高が伴奏パターンに記憶されている音高の音名と同じ音名に基づくものではない場合(S41:No)は、次に、その指定された音高が、S34の処理において作成されたコード構成音リストの最後の音高であるか否かを判断する(S38)。   In the process of S37, if the designated pitch is the same octave as the pitch that is currently sounding (S37: Yes), or in the determination process of S41, the pitch is stored in the accompaniment pattern. If the pitch name is not based on the same pitch name as the high pitch name (S41: No), then the specified pitch is the last pitch in the chord constituent pitch list created in the process of S34. Whether or not (S38).

その指定された音高が、コード構成音リストの最後の音高ではない場合は(S38:No)、順にリストされている音高のうち、現在指定されている音高の次にリストされている音高を指定し(S39)、S35の処理へ戻る。   When the designated pitch is not the last pitch in the chord constituent tone list (S38: No), it is listed next to the currently designated pitch among the pitches listed in order. Is specified (S39), and the process returns to S35.

S38の処理において、指定された音高が、コード構成音リストの最後の音高の場合は(S38:Yes)、コード構成音リストの最初に記憶されている音高の音名(最も伴奏パターンの音名に近い音高)を、今回発音する音名に決定し(S40)、音色などに応じてオクターブ調整を行う(S45)。次に、オクターブ調整を行った音高が、現在発音中であるか否かを判断し(S46)、発音中である場合は(S46:Yes)その発音中の楽音の停止を指示するノートオフを音源4に送出し(S47)、発音中でない場合は(S46:No)は、S47の処理をスキップして、その音高に対応するノートオンを音源4に送出する(S48)。   In the process of S38, if the specified pitch is the last pitch of the chord constituent sound list (S38: Yes), the pitch name (most accompaniment pattern) stored at the beginning of the chord constituent sound list Is determined as a note name to be generated this time (S40), and an octave adjustment is performed according to the tone color (S45). Next, it is determined whether or not the pitch for which the octave adjustment has been performed is currently sounding (S46). If the sound is being sounded (S46: Yes), a note-off instruction is given to stop the musical sound being sounded. Is transmitted to the sound source 4 (S47), and if not sounding (S46: No), the processing of S47 is skipped and the note-on corresponding to the pitch is transmitted to the sound source 4 (S48).

一方、S32の処理において、ノートオンの音高が、コード構成音ではない場合は(S32:No)、押鍵により指示されたコードの構成音の音名(オクターブを無視する)と一致するか否かを判断する(S51)。一致する場合は(S51:Yes)、S45の処理へ進み、一致しない場合は(S51:No)、押鍵により指示されたコードのルートに従って、トランスポーズを行う。例えば、そのノートオンに割り当てられているコードのルートがCであり、押鍵により指示されているコードのルートがFであれば、完全4度高い音高へトランスポーズし、S53の処理へ進み、オクターブ調整が行われた後、その音高のノートオンが音源4に送出される(S48)。このことにより、音源4は、ノートオンにより指定される音高の楽音の発生を開始する。なお、このS48の処理では、自動伴奏パターンに記憶されている音高が、いずれの音高に変換されたかという変換情報をRAM9の変換情報テーブル9cに記憶する処理も行う。   On the other hand, in the process of S32, if the note-on pitch is not a chord constituent sound (S32: No), does it match the pitch name of the constituent sound of the chord designated by the key depression (ignoring the octave)? It is determined whether or not (S51). If they match (S51: Yes), the process proceeds to S45. If they do not match (S51: No), transpose is performed according to the route of the code indicated by the key depression. For example, if the root of the chord assigned to the note-on is C and the root of the chord designated by the key depression is F, the transposition is performed to a pitch that is four times higher, and the process proceeds to S53. After the octave adjustment is performed, the note-on of that pitch is sent to the sound source 4 (S48). As a result, the sound source 4 starts to generate a musical tone having a pitch designated by note-on. In the process of S48, a process of storing in the conversion information table 9c of the RAM 9 conversion information indicating to which pitch the pitch stored in the automatic accompaniment pattern has been converted is also performed.

以上、実施形態について説明したように、伴奏パターンを構成する音符の音高が鍵盤5により指定されたコードの構成音のいずれかに一致する場合は、そのままの音高で発音を行い、鍵盤5により指定されたコードの構成音ではない場合は、所定の変換を行うようにしたので、少なくとも伴奏パターンを構成する音符の音高が鍵盤5で指定された音高に一致する場合には、鍵盤で指定される音高で発音されるので、鍵盤5により指定されるコードにより伴奏音の音高が大きく飛躍しないようにすることができる。   As described above, in the case where the pitch of the notes constituting the accompaniment pattern matches any one of the constituent sounds of the chord designated by the keyboard 5, the sound is generated with the pitch as it is, and the keyboard 5 If the note does not constitute the chord specified by, the predetermined conversion is performed. Therefore, if at least the pitch of the notes constituting the accompaniment pattern matches the pitch specified by the keyboard 5, the keyboard Therefore, the pitch of the accompaniment sound can be prevented from greatly jumping due to the chord specified by the keyboard 5.

また、伴奏パターンを構成する音符の音高が、その音高に割り当てられているコードの構成音である場合は、鍵盤5により指定されたコードの各構成音の音名との音高差に基づいてコード構成音リストが作成され、まず、最も音高が近い音高に変換される。従って、伴奏パターンに記憶された音符の音高が大きく変更されることがない。   If the pitch of the notes constituting the accompaniment pattern is a constituent sound of a chord assigned to that pitch, the pitch difference from the pitch name of each constituent sound of the chord designated by the keyboard 5 is Based on this, a chord constituent sound list is created, and is first converted to the closest pitch. Therefore, the pitches of the notes stored in the accompaniment pattern are not greatly changed.

また、最も音高が近い音高が、すでに発音中であれば、コード構成音リストの中から順次音高が選択されるので、大きく音高が飛躍することがないとともに、変化のある伴奏を形成することができる。   In addition, if the closest pitch is already sounding, the pitch is selected from the chord component list, so that the pitch does not jump greatly and the accompaniment varies. Can be formed.

なお、請求項1記載の音高変更手段は、図7記載のフローチャートのS34の処理およびS51の処理が該当する。請求項2記載の検出手段は、図7記載のフローチャートのS34の処理が該当し、音高変更手段は、S34、S36およびS53の処理が該当する。   Note that the pitch changing means described in claim 1 corresponds to the process of S34 and the process of S51 in the flowchart shown in FIG. The detecting means according to claim 2 corresponds to the process of S34 in the flowchart shown in FIG. 7, and the pitch changing means corresponds to the processes of S34, S36 and S53.

また、請求項3記載の第2の音高変更手段は、S36、S39およびS53の処理が該当する。   The second pitch changing means according to claim 3 corresponds to the processes of S36, S39 and S53.

以上、実施例に基づき本発明を説明したが、本発明は上記実施例に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内で種々の改良変形が可能であることは容易に推察できるものである。
例えば、上記実施形態では、指示されるコード情報は、鍵盤5により入力されるものとしたが、予め演奏の進行に対応するコード情報(コード進行)を記憶し、演奏の進行に従ってコード情報を読み出して、そのコード情報を入力するものとしてもよい。
The present invention has been described above based on the embodiments. However, the present invention is not limited to the above embodiments, and various modifications can be easily made without departing from the spirit of the present invention. It can be guessed.
For example, in the above embodiment, instructed chord information is input from the keyboard 5, but chord information (chord progression) corresponding to the progress of the performance is stored in advance, and the chord information is read according to the progress of the performance. The code information may be input.

また、上記実施形態では、制御プログラムを実行することによりCPU10が、各種のオルタレーションテーブルを参照し、伴奏パターンから読み出された音符の音高を変更するようにしたが、制御プログラムのみにより条件を判断して、音高を変更するようにしてもよい。   In the above embodiment, by executing the control program, the CPU 10 changes the pitches of the notes read from the accompaniment pattern by referring to various alteration tables. And the pitch may be changed.

また、上記実施形態の図7に示すフローチャートの処理では、まず、S32の処理において、S31の処理において丸められた音高が、ベーシックノートか否かを判断し、ベーシックノートである場合と、ベーシックノートではない場合とに応じた処理を行っているが、まず、丸められた音高が、鍵盤5により指定されたコードの構成音の音名に一致するか否かを判断し、指定されたコードの構成音である場合と、指定されたコードの構成音ではない場合とに応じた処理を行うようにしてもよい。   In the process of the flowchart shown in FIG. 7 of the above embodiment, first, in the process of S32, it is determined whether or not the pitch rounded in the process of S31 is a basic note. Processing is performed depending on whether it is not a note, but first, it is determined whether or not the rounded pitch matches the pitch name of the constituent sound of the chord designated by the keyboard 5. You may make it perform the process according to the case where it is the structure sound of a chord, and the case where it is not the structure sound of the designated chord.

また、上記実施形態では、自動伴奏パターンには、伴奏パターンに割り当てられているコードを示すコード情報が記憶されているものとしたが、伴奏パターンは、所定の調(例えばCメジャー)で記憶されているものとしてもよい。   In the above embodiment, the automatic accompaniment pattern stores chord information indicating the chord assigned to the accompaniment pattern. However, the accompaniment pattern is stored in a predetermined key (for example, C major). It is good as it is.

また、上記実施形態では、記憶されている複数の自動伴奏パターンの中から、使用者が自動伴奏パターンを選択する操作子6を操作することにより選択された自動伴奏パターンが選択されるものとしたが、使用者が鍵盤5などにより指示したコードのルートの音高や、そのコードの種類に応じて、自動伴奏パターンを選択するようにしてもよい。   Moreover, in the said embodiment, the automatic accompaniment pattern selected by the user operating the operation element 6 which selects an automatic accompaniment pattern from the some memorize | stored automatic accompaniment patterns shall be selected. However, the automatic accompaniment pattern may be selected according to the pitch of the root of the chord designated by the user using the keyboard 5 or the like and the type of the chord.

本発明の自動伴奏装置の電気的構成を示したブロック図である。It is the block diagram which showed the electrical structure of the automatic accompaniment apparatus of this invention. 自動伴奏装置の電気的構成を示したブロック図である。It is the block diagram which showed the electrical structure of the automatic accompaniment apparatus. メイン処理を示すフローチャートである。It is a flowchart which shows a main process. 操作子処理を示すフローチャートである。It is a flowchart which shows an operation element process. 伴奏パターンの一例を示す図である。It is a figure which shows an example of an accompaniment pattern. クロックイベント処理を示すフローチャートである。It is a flowchart which shows a clock event process. ノートオン処理を示すフローチャートである。It is a flowchart which shows a note-on process.

符号の説明Explanation of symbols

1 自動伴奏装置
4 音源
5 鍵盤(入力手段)
6 伴奏パターン選択スイッチ(選択手段)
8 ROM(記憶手段)
9 RAM
10 CPU
1 Automatic accompaniment device 4 Sound source 5 Keyboard (input means)
6 Accompaniment pattern selection switch (selection means)
8 ROM (storage means)
9 RAM
10 CPU

Claims (3)

ルート情報とコード種類情報とを有するコード情報を入力する入力手段と、複数の音符情報により構成される自動伴奏パターンを複数記憶する記憶手段と、その記憶手段に記憶された複数の自動伴奏パターンのうちから任意の自動伴奏パターンを選択する選択手段と、その選択手段により選択された自動伴奏パターンを前記記憶手段から読出し前記入力手段により入力されたコード情報に基づいて自動伴奏を行う自動伴奏手段とを備えた自動伴奏装置において、
前記記憶手段に記憶された自動伴奏パターンを構成する音符情報が示す音名が、前記入力手段に入力されたコード情報によって特定されるコードの構成音の音名のいずれかに一致する場合は、前記音符情報が示す音高を変更せず、前記入力手段に入力されたコード情報によって特定されるコードの構成音のいずれにも一致しない場合は、その音高を、前記入力手段により入力されたコード情報が有するルート情報に基づいて変更する音高変更手段備え、
前記自動伴奏手段は、前記音高変更手段により形成された音高に基づいて自動伴奏を行うこと特徴とする自動伴奏装置。
Input means for inputting chord information having route information and chord type information, storage means for storing a plurality of automatic accompaniment patterns composed of a plurality of note information, and a plurality of automatic accompaniment patterns stored in the storage means Selecting means for selecting any automatic accompaniment pattern from among them, automatic accompaniment means for reading out the automatic accompaniment pattern selected by the selecting means from the storage means and performing automatic accompaniment based on the chord information input by the input means; In an automatic accompaniment device with
When the pitch name indicated by the note information constituting the automatic accompaniment pattern stored in the storage means matches any of the pitch names of the chords specified by the chord information input to the input means, If the pitch indicated by the note information does not change and does not match any of the constituent sounds of the chord specified by the chord information input to the input means, the pitch is input by the input means Pitch change means to change based on the route information that the chord information has,
The automatic accompaniment means, an automatic accompaniment apparatus and performs an automatic accompaniment based on the pitch, which is formed by the pitch changing means.
ルート情報とコード種類情報とを有するコード情報を入力する入力手段と、複数の音符情報により構成される自動伴奏パターンを複数記憶する記憶手段と、その記憶手段に記憶された複数の自動伴奏パターンのうちから任意の自動伴奏パターンを選択する選択手段と、その選択手段により選択された自動伴奏パターンを前記記憶手段から読出し前記入力手段により入力されたコード情報に基づいて自動伴奏を行う自動伴奏手段とを備えた自動伴奏装置において、
前記記憶手段に記憶された自動伴奏パターンを構成する音符情報が示す音高が、その音符情報に割り当てられたコードの構成音である場合は、前記入力手段に入力されたコード情報により特定されるコードを構成する複数の音高の音名と前記自動伴奏を構成する音符情報が示す音高の音名との音高差を検出する検出手段と、
その検出手段により検出された複数の音高の音名と前記記憶手段に記憶された自動伴奏パターンを構成する音符情報が示す音高の音名との音高差のうち最も小さい音高差の音名に対応する音高に、前記音符情報が示す音高を変更する音高変更手段とを備え、前記自動伴奏手段は、前記音高変更手段により形成された音高に基づいて自動伴奏を行うこと特徴とする自動伴奏装置。
Input means for inputting chord information having route information and chord type information, storage means for storing a plurality of automatic accompaniment patterns composed of a plurality of note information, and a plurality of automatic accompaniment patterns stored in the storage means Selecting means for selecting any automatic accompaniment pattern from among them, automatic accompaniment means for reading out the automatic accompaniment pattern selected by the selecting means from the storage means and performing automatic accompaniment based on the chord information input by the input means; In an automatic accompaniment device with
When the pitch indicated by the note information constituting the automatic accompaniment pattern stored in the storage means is a constituent sound of a chord assigned to the note information, it is specified by the chord information input to the input means Detecting means for detecting a pitch difference between a pitch name of a plurality of pitches constituting a chord and a pitch name indicated by note information constituting the automatic accompaniment;
The smallest pitch difference among pitch differences between the pitch names detected by the detecting means and the pitch names indicated by the note information constituting the automatic accompaniment pattern stored in the storage means. Pitch change means for changing the pitch indicated by the note information to the pitch corresponding to the pitch name, and the automatic accompaniment means performs automatic accompaniment based on the pitch formed by the pitch change means. automatic accompaniment apparatus, which comprises carrying out.
前記音高変更手段により変更された音高が、現在発音中であるか検出する検出手段と、
その検出手段により前記音高変更手段により変更された音高が発音中であると検出された場合は、前記入力手段により入力されたコードを構成する複数の音高の音名のうち、前記記憶手段に記憶された自動伴奏パターンを構成する音符情報が示す音高の音名との音高差が次に小さい音名に対応する音高に変更する第2の音高変更手段を備えていることを特徴とする請求項2記載の自動伴奏装置。
Detecting means for detecting whether the pitch changed by the pitch changing means is currently sounding;
When it is detected by the detecting means that the pitch changed by the pitch changing means is sounding, among the pitch names of a plurality of pitches constituting the chord input by the input means, the storage Second pitch changing means for changing the pitch difference from the pitch name indicated by the note information constituting the automatic accompaniment pattern stored in the means to a pitch corresponding to the next lowest pitch name. The automatic accompaniment apparatus according to claim 2, wherein:
JP2005027549A 2004-02-06 2005-02-03 Automatic accompaniment device Expired - Fee Related JP4942938B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
ITBO2004A000057 2004-02-06
ITBO20040057 ITBO20040057A1 (en) 2004-02-06 2004-02-06 METHOD FOR ADAPTING THE SHADES OF A SEQUENCE OF MUSICAL NOTES

Publications (3)

Publication Number Publication Date
JP2005222052A JP2005222052A (en) 2005-08-18
JP2005222052A5 true JP2005222052A5 (en) 2008-03-06
JP4942938B2 JP4942938B2 (en) 2012-05-30

Family

ID=34997674

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005027549A Expired - Fee Related JP4942938B2 (en) 2004-02-06 2005-02-03 Automatic accompaniment device

Country Status (2)

Country Link
JP (1) JP4942938B2 (en)
IT (1) ITBO20040057A1 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2879948B2 (en) * 1990-06-08 1999-04-05 ヤマハ 株式会社 Audio processing device
IT1247269B (en) * 1991-03-01 1994-12-12 Roland Europ Spa AUTOMATIC ACCOMPANIMENT DEVICE FOR ELECTRONIC MUSICAL INSTRUMENTS.
JPH05188961A (en) * 1992-01-16 1993-07-30 Roland Corp Automatic accompaniment device
JP2650591B2 (en) * 1992-11-24 1997-09-03 ヤマハ株式会社 Automatic accompaniment device
JP2956924B2 (en) * 1993-10-29 1999-10-04 株式会社河合楽器製作所 Automatic accompaniment device for electronic musical instruments
JP3455050B2 (en) * 1997-02-03 2003-10-06 株式会社河合楽器製作所 Automatic accompaniment device
JP3978277B2 (en) * 1998-01-30 2007-09-19 ローランド株式会社 Automatic accompaniment device

Similar Documents

Publication Publication Date Title
JP5574474B2 (en) Electronic musical instrument having ad-lib performance function and program for ad-lib performance function
JP5041015B2 (en) Electronic musical instrument and musical sound generation program
JP3724376B2 (en) Musical score display control apparatus and method, and storage medium
JPH03192299A (en) Automatic accompaniment device
JP4376169B2 (en) Automatic accompaniment device
JP2636640B2 (en) Automatic accompaniment device
JP4670686B2 (en) Code display device and program
JP4556852B2 (en) Electronic musical instruments and computer programs applied to electronic musical instruments
JP4942938B2 (en) Automatic accompaniment device
JP2006227247A (en) Karaoke machine and singing evaluation process program for karaoke playing
JP2010117419A (en) Electronic musical instrument
JP4748027B2 (en) Automatic accompaniment apparatus and program
JP2005222052A5 (en)
JP6790362B2 (en) Electronic acoustic device
US20230035440A1 (en) Electronic device, electronic musical instrument, and method therefor
JP5692275B2 (en) Electronic musical instruments
WO2022201945A1 (en) Automatic performance device, electronic musical instrument, performance system, automatic performance method, and program
JP4175364B2 (en) Arpeggio sound generator and computer-readable medium having recorded program for controlling arpeggio sound
JP5164401B2 (en) Automatic performance device and automatic performance program
JP3933070B2 (en) Arpeggio generator and program
JP4470895B2 (en) Code display device and program
JP3933154B2 (en) Electronic musical instruments
JP3577852B2 (en) Automatic performance device
JP2023088608A (en) Automatic playing device, method for automatic playing, program, and electronic musical instrument
JP2022151485A (en) Automatic performance device, electronic musical instrument, performance system, automatic performance method and program