JP5104415B2 - Automatic performance device and program - Google Patents

Automatic performance device and program Download PDF

Info

Publication number
JP5104415B2
JP5104415B2 JP2008057667A JP2008057667A JP5104415B2 JP 5104415 B2 JP5104415 B2 JP 5104415B2 JP 2008057667 A JP2008057667 A JP 2008057667A JP 2008057667 A JP2008057667 A JP 2008057667A JP 5104415 B2 JP5104415 B2 JP 5104415B2
Authority
JP
Japan
Prior art keywords
information
pitch
note conversion
note
conversion
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
JP2008057667A
Other languages
Japanese (ja)
Other versions
JP2009216773A (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 JP2008057667A priority Critical patent/JP5104415B2/en
Publication of JP2009216773A publication Critical patent/JP2009216773A/en
Application granted granted Critical
Publication of JP5104415B2 publication Critical patent/JP5104415B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、自動伴奏機能を有するシーケンサ等の自動演奏装置及びプログラムに関する。特に、自動伴奏実行の際に、伴奏コード(和音)に基づいて自動演奏音のノート変換を行う自動演奏装置及びプログラムに関する。   The present invention relates to an automatic performance apparatus such as a sequencer having an automatic accompaniment function and a program. More particularly, the present invention relates to an automatic performance apparatus and program for performing note conversion of automatic performance sounds based on accompaniment chords (chords) when performing automatic accompaniment.

従来の自動演奏装置の中には、リズムパート、ベースパート及びコードパート等の一部の演奏パートについては、シーケンシャルな演奏データとは別途記憶された伴奏パターンデータ(自動伴奏データ)に基づいて自動伴奏を行うものが知られている。リズムパート以外のベースパート及びコードパートの伴奏パターンデータには、所定のノート変換ルールやノート変換テーブル等のノート変換方法を決めるパラメータとして、例えばCTAB(Channel Table)などと呼ばれる「コード変換情報」が複数のチャンネル毎にそれぞれ対応付けられている。自動演奏装置では、曲の進行に従って別途記憶されている和音進行データによりあるいはユーザにより適宜に指定される伴奏コード(和音)に基づき、それに適した音高(音名)の音に変換するノート変換処理を、前記コード変換情報に従うノート変換方法に従って行うようにしている。こうした自動演奏に関連する技術としては、例えば下記に示す特許文献1に記載されている発明がその一例である。
特開平8-248954号公報
In some conventional automatic performance devices, some performance parts such as rhythm parts, bass parts, and chord parts are automatically based on accompaniment pattern data (automatic accompaniment data) stored separately from sequential performance data. What performs accompaniment is known. In the accompaniment pattern data of the base part and chord part other than the rhythm part, “chord conversion information” called CTAB (Channel Table), for example, is used as a parameter for determining a note conversion method such as a predetermined note conversion rule or note conversion table. Each channel is associated with each other. In an automatic performance device, note conversion is performed to convert the sound into a tone (pitch name) suitable for it based on accompaniment chords (chords) appropriately specified by the chord progression data stored separately or according to the progress of the song. The processing is performed according to a note conversion method according to the chord conversion information. An example of a technique related to such automatic performance is the invention described in Patent Document 1 shown below.
JP-A-8-248954

ところで、上記したコード変換情報(CTAB)は、低音側と高音側それぞれについて音高の制限値を決める「Low limit」や「High limit」などのパラメータを予め含んでいる。前記制限値は、適用される音色やパート等のそれぞれにふさわしい音域で楽音を発音させるために楽音を発生すべき音域を制限する値であって、上記ノート変換処理においては該制限値に従う範囲内にある音高(音名)のいずれかへと音高変換させるのに用いられている。例えばコードに基づく変換後の音高が「Low limit(低音側の音高制限値)」より低くなる場合には、この「Low limit」より上の音高となるまで変換後の音高をオクターブずつ順次に上げていく一方で、コードに基づく変換後の音高が「High limit(高音側の音高制限値)」より高くなる場合には、この「High limit」より下の音高となるまで変換後の音高をオクターブずつ順次に下げていくことで音域制限内に収めるようにしている(こうしたオクターブ単位に音高を上下させる音高変換処理をオクターブ折り返しと呼ぶ)。具体的には図9(a)に示すように、「High limit」として例えば「A4」が定義されている場合にコードに基づく変換後の音高(音名)が「B4」であるとすると、当該音「B4」はさらにオクターブダウンされることによって「B3」へと音高変換されるようになっている(図中において矢印で示す)。   By the way, the chord conversion information (CTAB) described above includes parameters such as “Low limit” and “High limit” that determine the limit value of the pitch for each of the low tone side and the high tone side in advance. The limit value is a value that limits a range in which a musical tone should be generated in order to produce a musical tone in a range appropriate for the tone color or part to be applied. In the note conversion process, the limit value is within the range according to the limit value. It is used to convert the pitch to one of the pitches (pitch names). For example, if the pitch after conversion based on chords is lower than the “Low limit”, the converted pitch is octave-turned until the pitch exceeds the “Low limit”. On the other hand, if the pitch after conversion based on the chord becomes higher than “High limit”, the pitch will be lower than this “High limit”. The pitch after conversion is gradually lowered octave by step so that it falls within the range restriction (pitch conversion processing for raising and lowering the pitch in octave units is called octave wrapping). Specifically, as shown in FIG. 9A, when “A4” is defined as “High limit”, for example, if the pitch (pitch name) after conversion based on the chord is “B4” The pitch of the sound “B4” is further converted to “B3” by being octave-down (indicated by an arrow in the figure).

しかし、従来の装置においては、例えば同じ演奏タイミングでオクターブずれの楽音を同時に複数発音させる自動伴奏データを用いて同一の楽器パート(つまり同一音色)の自動伴奏を行う場合に、上記したような音域制限が行われた上で前記自動伴奏データをコードに基づき音高変換して楽音を発生させることに伴い問題が生ずることがある。具体的に説明すると、図9(a)に示すように、上のオクターブ用の音高変換後のデータが「C4,E4,G4,B4」となる一方で下のオクターブ用の音高変換後のデータが「C3,E3,G3,B3」となったと仮定すると、上のオクターブ用のデータのうち「B4」のみが高音側の制限値である「High limit」(A4)を超える。そのために、当該音「B4」のみがオクターブダウンされて「B3」とされる。これに伴い、上のオクターブ用のデータであるオクターブ折り返し後の「B3」と、下のオクターブ用のデータである「B3」とが同じ音高(音名)であって、しかもこれらが同じ演奏タイミングで重なりあうことになる。同一音色でのこのような同音重複は、フランジングなどと呼ばれるうなりなどの耳障りな楽音を生じさせる原因となるので非常に都合が悪い。このように、従来の装置では音域制限に伴う上記したオクターブ折り返しによる音高変換が行われることに伴って、同音重複により引き起こされる音のうなり(フランジング)等の不具合が生ずる場合があるので問題であった。   However, in the conventional apparatus, for example, when performing automatic accompaniment of the same instrument part (that is, the same timbre) using automatic accompaniment data that simultaneously generates a plurality of octave-shifted musical sounds at the same performance timing, A problem may occur when the automatic accompaniment data is pitch-converted based on the chord and the musical tone is generated after the restriction. More specifically, as shown in FIG. 9A, the data after the pitch conversion for the upper octave is “C4, E4, G4, B4”, while the pitch conversion for the lower octave is performed. Assuming that the data of “C3, E3, G3, B3” is “C4, E3, G3, B3”, only “B4” of the upper octave data exceeds the “High limit” (A4), which is the limit value on the high sound side. Therefore, only the sound “B4” is octave-down to “B3”. Accordingly, “B3” after octave wrapping, which is the data for the upper octave, and “B3”, which is the data for the lower octave, have the same pitch (pitch name), and these are the same performance. It will overlap at the timing. Such duplication of the same tone with the same timbre is very inconvenient because it causes annoying musical sounds such as beating called flanging. As described above, in the conventional apparatus, there is a case in which a problem such as sound fuzzing (flanging) caused by the duplicated sound may occur due to the above-described pitch conversion by octave folding accompanying the range restriction. Met.

本発明は上述の点に鑑みてなされたもので、コード(和音)に基づく自動演奏音のノート変換を行って楽音を発生する場合において、フランジング等の不具合を生じることなしに発生すべき楽音の音域を制限することのできるようにした自動演奏装置及びプログラムを提供することを目的とする。   The present invention has been made in view of the above points, and when a musical sound is generated by performing note conversion of an automatic performance sound based on a chord (chord), a musical sound that should be generated without causing problems such as flanging. It is an object of the present invention to provide an automatic performance apparatus and program capable of limiting the range of sound.

本発明に係る自動演奏装置は、複数のチャンネルに対応して複数の演奏パターンデータを記憶し、かつ、前記複数のチャンネル夫々に対応して該チャンネル毎のノート変換に関する情報を記憶する記憶手段であって、前記ノート変換に関する情報は、ノート変換後の音高情報をさらにオクターブシフトした音高情報の楽音を発生する処理又はノート変換後の音高情報の楽音を発生しない処理のいずれかを指示する指定情報を少なくとも含んでなるものと、和音情報を取得する取得手段と、前記記憶手段に記憶された前記複数の演奏パターンデータに対応付けられた前記ノート変換に関する情報を特定する特定手段と、前記取得した和音情報と前記特定したノート変換に関する情報とに基づいて、前記演奏パターンデータから順次に読み出される音高情報をノート変換するノート変換手段と、楽音を発生すべき音域を取得して、前記ノート変換後の音高情報が該取得した音域内であるか否かを判定する判定手段と、前記ノート変換後の音高情報が前記取得した音域内でない場合に、前記特定したノート変換に関する情報に含まれる前記指定情報に基づいて、前記ノート変換後の音高情報をさらにオクターブシフトした音高情報の楽音を発生する処理又は前記ノート変換後の音高情報の楽音を発生しない処理のいずれかを指示する指示手段と、演奏パターンデータに基づき楽音の発生を制御する楽音発生手段であって、該楽音発生手段は、前記指示手段による指示に応じ前記いずれかの処理を行うことにより、前記読み出した音高情報に対応する前記ノート変換後の音高情報が前記音域内にない楽音を前記音域内の音高で発生する又は前記ノート変換後の音高情報の楽音を発生しないよう制御するものとを具える。
Automatic performance device according to the present invention, corresponding to a plurality of channels and storing the plurality of performance pattern data, and a storage means for storing information about the note conversion for each said channel corresponding to said plurality of channels each The information related to note conversion indicates either a process for generating a musical tone of pitch information obtained by further octave shifting the pitch information after the note conversion or a process for generating no musical tone of the pitch information after the note conversion. Including at least designation information to be obtained, acquisition means for acquiring chord information, identification means for identifying information related to the note conversion associated with the plurality of performance pattern data stored in the storage means, Based on the acquired chord information and the information on the specified note conversion, the performance pattern data is sequentially read out. A note conversion means for converting the pitch information notes, and acquires the range to be generated a tone, and determining means for determining the pitch information after the note conversion is whether or not the range that the acquired, the If the pitch information after the note conversion is not within range that the acquired, on the basis of the designation information included in the information related to the identified note conversion, pitch information further octave shifts the pitch information after the note conversion and instruction means for instructing one of the process does not generate a tone processing or pitch information after the note conversion generates tone, a musical tone generating means for controlling the generation of the musical tone based on the performance pattern data, the tone generating means, said by performing said one of processing according to the instruction by the instruction means, the pitch information after the note conversion corresponding to the read pitch information is the sound Comprising the controls so as not to generate a musical tone of a tone not within the pitch information after that or the note conversion occurs at pitch in the range.

この発明によると、演奏パターンデータから順次に読み出される音高情報を和音情報とノート変換に関する情報とに基づいてノート変換を行うが、さらに該ノート変換後の音高情報が楽音を発生すべき音域内でない場合には、前記ノート変換後の音高情報をさらにオクターブシフトした音高情報の楽音を発生する処理又は前記ノート変換後の音高情報の楽音を発生しない処理のいずれかの処理を指示手段による指示に応じて選択的に実行する。前記指示手段は、ノート変換後の音高情報が前記音域内でない場合に、前記ノート変換に関する情報に含まれる指定情報に基づいて、前記ノート変換後の音高情報をさらにオクターブシフトした音高情報の楽音を発生する処理又は前記ノート変換後の音高情報の楽音を発生しない処理のいずれかを指示する。すなわち、ノート変換後の音高情報が楽音を発生すべき音域内でない場合には、楽音を発生しない処理が指示されているとノート変換後の音高情報楽音の発生を行わない。一方、オクターブシフトした音高情報の楽音を発生する処理が指示されている場合には、ノート変換後の音高情報をさらにノート変換してオクターブシフトした音高情報の楽音の発生を行う。このように、ノート変換後の音高情報が楽音を発生すべき音域を超えた場合の処理として、オクターブシフト処理以外に楽音を発生させない処理を指示できるようにしたことから、ユーザは発生される楽音にフランジング等の不具合を生じさせることなく音域を制限することが選択的にできるようになる。
According to the present invention, the pitch information sequentially read out from the performance pattern data is converted into notes based on the chord information and the information related to note conversion. Further, the pitch information after the note conversion is a sound that should generate a musical tone. If not within the range, instruct the processing of generating a musical tone of the pitch information obtained by further octave shifting the pitch information after the note conversion or processing not generating a musical tone of the pitch information after the note conversion It executes selectively according to the instruction by the means. The instruction means, when the pitch information after note conversion is not within the range, pitch information obtained by further octave shifting the pitch information after note conversion based on the designation information included in the information related to note conversion Or a process that does not generate a musical tone of the pitch information after the note conversion. That is, if the pitch information after note conversion is not in the range where the musical sound should be generated, if the processing not generating the musical tone is instructed , the musical tone of the pitch information after the note conversion is not generated. On the other hand, when an instruction to generate a musical tone of pitch information that has been octave shifted is instructed, the pitch information after the note conversion is further converted into a note to generate a musical tone of the pitch information that has been octave shifted. As described above, since the pitch information after the note conversion exceeds the range where the musical sound should be generated, the processing that does not generate the musical sound can be instructed other than the octave shift processing. It becomes possible to selectively limit the sound range without causing problems such as flanging in the musical sound.

本発明は、装置の発明として構成し、実施することができるのみならず、方法の発明として構成し実施することができる。また、本発明は、コンピュータまたはDSP等のプロセッサのプログラムの形態で実施することができるし、そのようなプログラムを記憶した記憶媒体の形態で実施することもできる。   The present invention can be constructed and implemented not only as a device invention but also as a method invention. Further, the present invention can be implemented in the form of a program of a processor such as a computer or a DSP, or can be implemented in the form of a storage medium storing such a program.

この発明によれば、取得した和音に基づく音高変換後の音高情報が楽音を発生すべき音域を超えた場合に、オクターブシフトによる音高変換をさらに行ってから楽音を発生させるか又は当該楽音を発生させないようにするかを指示に応じて実行するようにしたことから、ユーザは発生される楽音にフランジング等の不具合を生じさせることなく音域を制限することが選択的にできるようになる、という効果を得る。   According to this invention, when the pitch information after the pitch conversion based on the acquired chord exceeds the range where the musical tone should be generated, the musical tone is generated after the pitch conversion is further performed by the octave shift, or Since it is executed in response to an instruction whether or not to generate a musical sound, the user can selectively limit the sound range without causing problems such as flanging in the generated musical sound. The effect of becoming.

以下、この発明の実施の形態を添付図面に従って詳細に説明する。   Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

図1は、この発明に係る自動演奏装置を適用した電子楽器の全体構成の一実施例を示したハード構成ブロック図である。本実施例に示す電子楽器は、マイクロプロセッサユニット(CPU)1、リードオンリメモリ(ROM)2、ランダムアクセスメモリ(RAM)3からなるマイクロコンピュータによって制御される。なお、この実施例に示す電子楽器は、自動演奏用のチャンネルとして例えば16チャンネル分の同時発音が可能である。すなわち、16種類の演奏データを同時再生することが可能となっている。   FIG. 1 is a hardware configuration block diagram showing an embodiment of the overall configuration of an electronic musical instrument to which an automatic performance apparatus according to the present invention is applied. The electronic musical instrument shown in this embodiment is controlled by a microcomputer including a microprocessor unit (CPU) 1, a read only memory (ROM) 2, and a random access memory (RAM) 3. It should be noted that the electronic musical instrument shown in this embodiment can simultaneously generate sound for, for example, 16 channels as channels for automatic performance. That is, 16 types of performance data can be reproduced simultaneously.

CPU1は、この電子楽器全体の動作を制御するものである。このCPU1に対して、通信バス1D(例えばデータ及びアドレスバス)を介してROM2、RAM3、検出回路4,5、表示回路6、音源回路7、効果回路8、外部記憶装置9、MIDIインタフェース(I/F)10、通信インタフェース(I/F)11がそれぞれ接続されている。ROM2は、CPU1により実行あるいは参照される各種制御プログラムや各種データ等を格納する。例えば、ナンバ「01」〜「99」までが付された99個の自動伴奏用のスタイルデータ(後述する図2参照)、複数の「ノート変換テーブル(NTT:Note Transposition Table)」(後述する図3参照)や図示を省略した複数の「ノート変換ルール(NTR:Note Transposition Rule)」、さらにはその他の楽音に関する各種のパラメータやデータなどを記憶する。RAM3は、CPU1が所定のプログラムを実行する際に発生する各種データなどを一時的に記憶するワーキングメモリとして、あるいは現在実行中のプログラムやそれに関連するデータを一時的に記憶するメモリ等として使用される。RAM3の所定のアドレス領域がそれぞれの機能に割り当てられ、レジスタやフラグ、テーブル、メモリなどとして利用される。   The CPU 1 controls the operation of the entire electronic musical instrument. For this CPU 1, a ROM 2, RAM 3, detection circuits 4 and 5, display circuit 6, sound source circuit 7, effect circuit 8, external storage device 9, external storage device 9, MIDI interface (I) via a communication bus 1D (for example, a data and address bus). / F) 10 and a communication interface (I / F) 11 are connected to each other. The ROM 2 stores various control programs executed by or referred to by the CPU 1, various data, and the like. For example, 99 style accompaniment style data with numbers “01” to “99” (see FIG. 2 described later), a plurality of “Note Transposition Tables (NTT)” 3), a plurality of “Note Transposition Rules (NTR)” (not shown), and various parameters and data relating to other musical sounds. The RAM 3 is used as a working memory for temporarily storing various data generated when the CPU 1 executes a predetermined program, or as a memory for temporarily storing a currently executing program and related data. The A predetermined address area of the RAM 3 is assigned to each function and used as a register, flag, table, memory, or the like.

勿論、スタイルデータ以外の各種の自動演奏のデータ(例えば、ソングデータ、あるいはメロディシーケンスやコード(和音)シーケンスなど)が、ROM2及び/又はRAM3に記憶されるようになっていてよい。これらについては特に詳しく説明しないが、どのような種類の自動演奏においても、以下で説明する実施の形態に準じて、及び必要に応じて適宜変形した形態で、本発明を適用することができる。なお、和音演奏は、自動伴奏演奏と同時に、演奏操作子4Aをリアルタイムに押鍵操作して演奏入力するか、あるいは所望の和音シーケンス演奏を図示しないコード(和音)シーケンサに記憶しておき、これを再生読出しすることによって適宜行われるようにしてもよい。   Of course, various automatic performance data other than the style data (for example, song data, melody sequence, chord sequence, etc.) may be stored in the ROM 2 and / or the RAM 3. Although these will not be described in detail, the present invention can be applied to any type of automatic performance according to the embodiment described below and in a form appropriately modified as necessary. In the chord performance, simultaneously with the automatic accompaniment performance, the performance operator 4A is pressed in real time to input the performance, or the desired chord sequence performance is stored in a chord sequencer (not shown). May be performed as appropriate by reproducing and reading.

演奏操作子4Aは、楽音の音高を選択するための複数の鍵を備えた例えば鍵盤等のようなものであり、各鍵に対応してキースイッチを有しており、この演奏操作子4A(鍵盤等)は、ユーザの手弾きによるマニュアル演奏や自動伴奏演奏のためのコード指定(入力)に使用できるのは勿論のこと、自動伴奏用のスタイルデータや自動伴奏対象のセクション(例えばイントロ、メイン、フィルイン、エンディング)等を選択する手段、あるいは音色や効果等を設定する手段などとして使用することもできる。パネル操作子5Aは、自動伴奏用のスタイルデータを選択するスタイル選択スイッチ、自動伴奏対象のセクションを指定するセクション選択ボタン、さらには自動演奏の開始・停止を指示する「自動演奏開始/停止」スイッチ等の各種の操作子である。勿論、パネル操作子5Aは上記した以外にも、音高、音色、効果等を選択・設定・制御するための数値データ入力用のテンキーや文字データ入力用のキーボードなどの各種操作子を含んでいてもよい。検出回路5は、上記パネル操作子5Aの操作状態を検出し、その操作状態に応じたスイッチ情報等をデータ及びアドレスバス1Dを介してCPU1に出力する。   The performance operator 4A is, for example, a keyboard or the like having a plurality of keys for selecting the pitch of a musical tone, and has a key switch corresponding to each key. (Keyboard, etc.) can be used for manual performance by the user's hand-playing and chord designation (input) for automatic accompaniment performance, as well as automatic accompaniment style data and automatic accompaniment target sections (for example, intro, Main, fill-in, ending) or the like, or a means for setting a tone color or an effect can be used. The panel operator 5A includes a style selection switch for selecting style data for automatic accompaniment, a section selection button for designating a section to be automatically accompaniment, and an “automatic performance start / stop” switch for instructing start / stop of automatic performance. And the like. Of course, in addition to the above, the panel operator 5A includes various operators such as a numeric data input numeric keypad and a character data input keyboard for selecting, setting and controlling the pitch, timbre, effect, and the like. May be. The detection circuit 5 detects the operation state of the panel operation element 5A, and outputs switch information or the like corresponding to the operation state to the CPU 1 via the data and address bus 1D.

表示回路6は、例えば液晶表示パネル(LCD)やCRT等から構成されるディスプレイ6Aに、上記パネル操作子5Aの操作に応じた各種画面を表示するのは勿論のこと、ROM2やRAM3さらには外部記憶装置9に記憶されている各種データあるいはCPU1の制御状態などを表示する。ユーザはディスプレイ6Aに表示されるこれらの各種情報を参照することで、スタイルデータの選択や各種演奏パラメータの設定などを容易に行うことができる。   The display circuit 6 displays various screens according to the operation of the panel operation element 5A on the display 6A composed of, for example, a liquid crystal display panel (LCD), a CRT, or the like. Various data stored in the storage device 9 or the control state of the CPU 1 is displayed. By referring to these various types of information displayed on the display 6A, the user can easily select style data and set various performance parameters.

音源回路7は複数のチャンネル(この実施例では16チャンネル)で楽音信号の同時発生が可能であり、データ及びアドレスバス1Dを経由して与えられた、ユーザによる演奏操作子4Aの操作に応じて発生される演奏データ、あるいはスタイルデータに基づく演奏データを入力し、これらの演奏データに基づいて楽音信号を発生する。そして、16個の自動演奏用のチャンネル(例えばMIDIチャンネル)に対応し、同時に16種類の音色(パート)にて楽音の発生が可能である。音源回路7から発生された楽音信号は、効果回路8を介して効果付与されてアンプやスピーカなどを含むサウンドシステム8Aから発音される。この音源回路7と効果回路8とサウンドシステム8Aの構成には、従来のいかなる構成を用いてもよい。例えば、音源回路7はFM、PCM、物理モデル、フォルマント合成等の各種楽音合成方式のいずれを採用してもよく、また専用のハードウェアで構成してもよいし、CPU1によるソフトウェア処理で構成してもよい。   The tone generator circuit 7 can simultaneously generate musical tone signals on a plurality of channels (16 channels in this embodiment), and according to the operation of the performance operator 4A given by the user via the data and address bus 1D. The generated performance data or performance data based on the style data is input, and a musical sound signal is generated based on the performance data. And, it corresponds to 16 channels for automatic performance (for example, MIDI channel), and at the same time, it is possible to generate musical sounds with 16 kinds of timbres (parts). The musical sound signal generated from the sound source circuit 7 is given an effect through the effect circuit 8 and is generated from the sound system 8A including an amplifier, a speaker and the like. Any conventional configuration may be used for the sound source circuit 7, the effect circuit 8, and the sound system 8A. For example, the tone generator circuit 7 may employ any of various tone synthesis methods such as FM, PCM, physical model, formant synthesis, etc., or may be configured with dedicated hardware, or configured with software processing by the CPU 1. May be.

外部記憶装置9は、例えば自動伴奏用のスタイルデータ(図2参照)あるいは「ノート変換テーブル(NTT)」(図3参照)などの各種データや、CPU1が実行する各種制御プログラム等を記憶する。なお、上述したROM2に制御プログラムが記憶されていない場合、この外部記憶装置9(例えばハードディスク)に制御プログラムを記憶させておき、それをRAM3に読み込むことにより、ROM2に制御プログラムを記憶している場合と同様の動作をCPU1にさせることができる。このようにすると、制御プログラムの追加やバージョンアップ等が容易に行える。なお、外部記憶装置9はハードディスク(HD)に限られず、フレキシブルディスク(FD)、コンパクトディスク(CD‐ROM・CD‐RAM)、光磁気ディスク(MO)、あるいはDVD(Digital Versatile Disk)等の様々な形態の記憶媒体を利用する記憶装置であればどのようなものであってもよい。あるいは、フラッシュメモリなどの半導体メモリであってもよい。   The external storage device 9 stores various data such as automatic accompaniment style data (see FIG. 2) or “note conversion table (NTT)” (see FIG. 3), various control programs executed by the CPU 1, and the like. When no control program is stored in the ROM 2, the control program is stored in the ROM 2 by storing the control program in the external storage device 9 (for example, a hard disk) and reading it into the RAM 3. The CPU 1 can be operated in the same manner as in the case. In this way, control programs can be easily added and upgraded. The external storage device 9 is not limited to a hard disk (HD), but may be a flexible disk (FD), a compact disk (CD-ROM / CD-RAM), a magneto-optical disk (MO), or a DVD (Digital Versatile Disk). Any storage device that uses a storage medium of any form may be used. Alternatively, a semiconductor memory such as a flash memory may be used.

MIDIインタフェース(I/F)10は、外部接続された他のMIDI機器10A等からMIDI形式の演奏データ(MIDIデータ)を当該電子楽器へ入力したり、あるいは当該電子楽器からMIDIデータを他のMIDI機器10A等へ出力するためのインタフェースである。他のMIDI機器10Aは、ユーザによる操作に応じてMIDIデータを発生する機器であればよく、鍵盤型、ギター型、管楽器型、打楽器型、身振り型等どのようなタイプの操作子を具えた(若しくは、操作形態からなる)機器であってもよい。   The MIDI interface (I / F) 10 inputs performance data (MIDI data) in MIDI format from another externally connected MIDI device 10A or the like to the electronic musical instrument, or transmits MIDI data from the electronic musical instrument to other MIDI instruments. This is an interface for outputting to the device 10A or the like. The other MIDI device 10A may be any device that generates MIDI data in response to a user's operation, and includes any type of operator such as a keyboard type, a guitar type, a wind instrument type, a percussion instrument type, and a gesture type ( Alternatively, it may be a device).

通信インタフェース(I/F)11は、例えばLANやインターネット、電話回線等の有線あるいは無線の通信ネットワークXに接続されており、該通信ネットワークXを介してサーバコンピュータ11Aと接続され、当該サーバコンピュータ11Aから制御プログラムあるいは各種データなどを電子楽器側に取り込むためのインタフェースである。すなわち、ROM2や外部記憶装置9(例えば、ハードディスク)等に制御プログラムや各種データが記憶されていない場合には、サーバコンピュータ11Aから制御プログラムや各種データをダウンロードするために用いられる。こうした通信インタフェース11は、有線あるいは無線のものいずれかでなく双方を具えていてよい。   The communication interface (I / F) 11 is connected to a wired or wireless communication network X such as a LAN, the Internet, or a telephone line, and is connected to the server computer 11A via the communication network X, and the server computer 11A. This is an interface for taking control programs or various data from the electronic musical instrument side. That is, when the control program and various data are not stored in the ROM 2 or the external storage device 9 (for example, hard disk), it is used for downloading the control program and various data from the server computer 11A. Such a communication interface 11 may be both wired and wireless and may include both.

なお、本実施例に係る自動演奏装置を電子楽器に適用した場合、演奏操作子4Aは鍵盤楽器の形態に限らず、弦楽器や管楽器等どのようなタイプの形態でもよい。また、演奏操作子4Aやディスプレイ6Aあるいは音源回路7などを1つの装置本体に内蔵したものに限らず、それぞれが別々に構成され、通信インタフェースや各種ネットワーク等の通信手段を用いて各装置を接続するように構成されたものにも同様に適用できることはいうまでもない。
なお、本発明に係る自動演奏装置は上記したような電子楽器の形態に限らず、カラオケ装置やゲーム装置、あるいは携帯電話等の携帯型通信端末、自動演奏ピアノなど、どのような形態の電子楽器・機器に適用してもよい。また、パーソナルコンピュータとアプリケーションソフトウェアという構成であってもよい。
When the automatic performance apparatus according to the present embodiment is applied to an electronic musical instrument, the performance operator 4A is not limited to a keyboard musical instrument, and may be any type such as a stringed musical instrument or a wind instrument. In addition, the performance operator 4A, the display 6A, the tone generator circuit 7 and the like are not limited to those built in one apparatus body, but each is configured separately, and each apparatus is connected using communication means such as a communication interface or various networks. Needless to say, the present invention can be similarly applied to the structure configured as described above.
The automatic musical instrument according to the present invention is not limited to the electronic musical instrument as described above, but can be any electronic musical instrument such as a karaoke device, a game device, a portable communication terminal such as a cellular phone, and an automatic musical piano. -You may apply to equipment. Moreover, the structure of a personal computer and application software may be sufficient.

次に、上記した電子楽器において採用するスタイルデータについて、図2を用いて説明する。図2は、スタイルデータのデータ構成の一実施例を示す概念図である。図2(a)に示すように、スタイルデータ(ファイル)は、演奏スタイル(例えば、ポップス、ロック、ジャズ、ワルツなどのリズム種類に対応した伴奏スタイル)毎に設けられている。   Next, style data employed in the electronic musical instrument described above will be described with reference to FIG. FIG. 2 is a conceptual diagram showing an embodiment of the data structure of style data. As shown in FIG. 2A, style data (file) is provided for each performance style (for example, accompaniment styles corresponding to rhythm types such as pops, rock, jazz, and waltz).

図2(b)に示すように、1つのスタイルデータはヘッダチャンク、トラックチャンク及びCTAB群から構成される。ヘッダチャンクには、例えばデータ形式やスタイルデータ内のトラック数や時間情報の時間分解能などが記憶される。トラックチャンクは図2(c)に示すように、初期設定データである「Initial Setupのイベント群」と、各セクション(イントロ、メイン、フィルイン、エンディング)の伴奏パターンデータである「Source patternのイベント群とそのタイミング情報」とで構成されている。初期設定データは、各チャンネルの音色、演奏パート名、初期テンポなどのデータで構成される。イントロパターンデータは、イントロ演奏(イントロセクション)の伴奏パターンである。メインパターンデータは繰り返し演奏されるメインセクションの伴奏パターンであり、例えば1フレーズ分の演奏区間の短いデータである。図示を省略したが、フィルインパターンデータはフィルイン演奏(フィルインセクション)の伴奏パターンであり、またエンディングパターンデータはエンディング演奏(エンディングセクション)の伴奏パターンである。勿論、これら以外の伴奏セクションがあってもよいことは言うまでもない。また、これらの初期設定データとセクション毎の伴奏パターンデータのそれぞれには、メモリにおける各データの区切りを示すマーカデータを含む「マーカ」が付されている。この「マーカ」には、該「マーカ」に続いて記憶されている各データが初期設定データであるか、あるいはイントロ、メイン、フィルイン、エンディングなどのどのセクションであるかを示す種類情報などが含まれている。   As shown in FIG. 2B, one style data is composed of a header chunk, a track chunk, and a CTAB group. The header chunk stores, for example, the data format, the number of tracks in the style data, the time resolution of time information, and the like. As shown in FIG. 2C, the track chunk includes “Initial Setup event group” that is initial setting data and “Source pattern event group” that is accompaniment pattern data of each section (intro, main, fill-in, and ending). And timing information thereof. The initial setting data includes data such as the tone color of each channel, performance part name, and initial tempo. The intro pattern data is an accompaniment pattern of an intro performance (intro section). The main pattern data is an accompaniment pattern of a main section that is repeatedly played, for example, data having a short performance section for one phrase. Although not shown, the fill-in pattern data is an accompaniment pattern for a fill-in performance (fill-in section), and the ending pattern data is an accompaniment pattern for an ending performance (ending section). Of course, it goes without saying that there may be other accompaniment sections. Each of the initial setting data and the accompaniment pattern data for each section is provided with a “marker” including marker data indicating a delimiter of each data in the memory. This “marker” includes type information indicating whether each data stored subsequent to the “marker” is initial setting data or which section is intro, main, fill-in, ending, etc. It is.

各セクションのパターンデータは、図2(d)に示すように、イベントデータ(Source patternのイベント群)とデルタタイムデータ(タイミング情報)とが演奏順に並べられたシーケンスデータである。イベントデータはその内容によって複数種類に分けられるが、ここでは主に、ノートオン、ノートオフ、プログラムチェンジ、ボリューム、エフェクトなどの自動演奏を指示するデータである。例えばノートイベントは、ノートオン/オフと「1」〜「16」のチャンネル番号、ノートナンバ及びベロシティなどで構成される。他のイベントデータの場合も、そのイベントを示すデータやチャンネル番号などで構成される。デルタタイムデータは、イベントとイベントとの間の時間を示すデータである。   As shown in FIG. 2D, the pattern data of each section is sequence data in which event data (source pattern event group) and delta time data (timing information) are arranged in the order of performance. Event data can be divided into a plurality of types depending on the content, but here, it is mainly data for instructing automatic performance such as note-on, note-off, program change, volume, and effect. For example, the note event includes note on / off, channel numbers “1” to “16”, note number, velocity, and the like. Other event data is also composed of data indicating the event, channel number, and the like. The delta time data is data indicating the time between events.

CTAB群は、図2(e)に示すように、各セクション(イントロ、メイン、フィルイン、エンディング)毎に、「1」〜「16」のチャンネルに対応するだけの複数のCTAB(Channel Table)から構成される。「1」〜「16」のチャンネルに対応する各CTABに設定される情報はノート変換に関する情報であって、図2(f)に示すように、チャンネルナンバ(Channel#)、ソースコードルート(Source Chord Root)、ソースコードタイプ(Source Chord Type)、NTRスプリットポイントの下限(LS:Lower Split point)及び上限(US:Upper Split point)、NTR情報及びNTT情報、ノートリミットの下限(Low Limit)及び上限(High Limit)、パート情報、その他の情報等である。これらの情報の具体的な設定例については後述する(後述する図5又は図8参照)。   As shown in Fig. 2 (e), the CTAB group consists of multiple CTABs (Channel Tables) corresponding to the channels "1" to "16" for each section (intro, main, fill-in, ending). Composed. The information set in each CTAB corresponding to the channels “1” to “16” is information relating to note conversion. As shown in FIG. 2 (f), the channel number (Channel #), the source code route (Source Chord Root), source code type (Source Chord Type), NTR split point lower limit (LS: Lower Split point) and upper limit (US: Upper Split point), NTR information and NTT information, note limit lower limit (Low Limit) and The upper limit (High Limit), part information, and other information. A specific setting example of these pieces of information will be described later (see FIG. 5 or FIG. 8 described later).

チャンネルナンバはMIDIチャンネルに対応する「1」〜「16」のいずれかのナンバであり、1つのセクション内の複数のCTABにおいて、各チャンネルナンバは全て異なる固定ナンバで定義される。ソースコードルートは、そのチャンネルのシーケンスデータ(伴奏パターンデータ)がどのコードルート(和音の根音)で作成されたかを示すものであって、デフォルト値は例えば「C」である。ソースコードタイプは、そのチャンネルのシーケンスデータ(伴奏パターンデータ)がどのコードタイプ(和音の種類)で作成されたかを示すものであって、デフォルト値は例えばメジャー7th(maj7)である。従来知られているように、これらのソースコードルート及びソースコードタイプに基づいて、シーケンスデータがどのようなコードルート、コードタイプで作成されている場合であっても、そのシーケンスデータをCメジャー7thの音(ノート変換を行うときの基準の音)に変換することができるようになっている。   The channel number is one of “1” to “16” corresponding to the MIDI channel, and each channel number is defined by a different fixed number in a plurality of CTABs in one section. The source chord root indicates which chord root (chord root) the sequence data (accompaniment pattern data) of the channel is created, and the default value is, for example, “C”. The source chord type indicates which chord type (chord type) the sequence data (accompaniment pattern data) of the channel is created, and the default value is, for example, major 7th (maj7). As is known in the art, based on these source code roots and source code types, the sequence data is generated in C major 7th, regardless of the code root and code type created by the sequence data. Sound (reference sound for note conversion) can be converted.

NTRスプリットポイントの下限及び上限(分割情報)は、複数の音高範囲(これをゾーンと呼ぶ)を定義するためのものであって、音高(音名)により定義されている。前記ゾーンの境目とする音高をNTRスプリットポイントと呼び、ここでは下限と上限の2つのNTRスプリットポイントを定義することによって、該電子楽器において発音可能な全ての音高範囲(例えば、C-2〜G8)を最大3つのゾーン(zone1〜zone3)に分けることができるようにしている。勿論、より多くのゾーンに分けるように、NTRスプリットポイント(分割情報)を定義することができるようになっていてもよい。詳しくは後述するが(後述する図7参照)、前記ゾーン(zone1〜zone3)は、自動演奏時においてノート変換によってノートナンバを変換する際に、変換前のノートナンバに応じて適用すべきノート変換方法を異ならせて適用するために、ノート変換前のノートナンバ(具体的にはノートナンバに応じた音高)を所定の複数の音高範囲のいずれかに分類するために用いられるものである。   The lower limit and upper limit (division information) of the NTR split point are for defining a plurality of pitch ranges (called zones), and are defined by pitches (pitch names). The pitch at the boundary of the zone is called an NTR split point, and here, by defining two lower and upper NTR split points, all pitch ranges that can be produced by the electronic musical instrument (for example, C-2 ~ G8) can be divided into up to three zones (zone1 ~ zone3). Of course, NTR split points (dividing information) may be defined so as to be divided into more zones. Although details will be described later (see FIG. 7 described later), the zone (zone1 to zone3) is a note conversion to be applied according to the note number before conversion when converting the note number by note conversion during automatic performance. In order to apply different methods, it is used to classify note numbers before note conversion (specifically, pitches corresponding to note numbers) into any of a plurality of predetermined pitch ranges. .

NTR情報は、複数の公知のノート変換ルール(例えば、「Root Transposition Rule」,「Root Fixed Rule」,「その他のRule」など)の中から、どのルールを用いてノート変換を行うのかを指定する情報である。NTT情報は、複数のノート変換テーブルの中から、どのテーブルを用いてノート変換を行うのかを指定する情報である。このNTR情報及びNTT情報に従って指定されるノート変換ルールとノート変換テーブルとの組み合わせに応じて、複数の異なるタイプのノート変換方法の中から1つのノート変換方法(変換態様)が決まる。ノートリミットの下限及び上限はノート変換によってノートナンバを変換した場合に、変換後のノートナンバの範囲がある音域内に収まるように、その音域の下限(Low Limit)及び上限(High Limit)を規定するものである。ここに示す実施例においては、各チャンネルのCTABに、NTR情報及びNTT情報(さらにはノートリミットの下限及び上限)が複数のゾーン(zone)毎に含まれている。つまり、1つのチャンネルに対して、異なる設定でのノート変換を行い得る複数の「コード変換情報」が対応付けられている。   The NTR information specifies which rule is used for note conversion from a plurality of known note conversion rules (for example, “Root Transposition Rule”, “Root Fixed Rule”, “Other Rule”, etc.). Information. NTT information is information that specifies which table is used for note conversion from among a plurality of note conversion tables. One note conversion method (conversion mode) is determined from a plurality of different types of note conversion methods according to the combination of the note conversion rule and the note conversion table specified according to the NTR information and the NTT information. The lower limit and upper limit of the note limit are specified so that when the note number is converted by note conversion, the range of the converted note number falls within a certain range. To do. In the embodiment shown here, CTR of each channel includes NTR information and NTT information (and lower and upper limits of note limits) for each of a plurality of zones. That is, a plurality of “code conversion information” capable of performing note conversion with different settings is associated with one channel.

図2(g)に示すように、各ゾーン(zone1〜zone3)において楽音を発生すべき音域を制限する音域の下限(Low Limit)及び音域の上限(High Limit)の各々のパラメータは、「制限値情報」と「オクターブシフト又は無発音の指定情報」とを含んでなる。「制限値情報」は既に説明したように、適用される音色やパート等のそれぞれにふさわしい音域で楽音を発音させるために、使用する音域の下限又は上限を音高(例えばMIDIノートナンバ等)により指定するパラメータである。ノート変換処理時には、該制限値に従う範囲内にある音高(音名)のいずれかに音高が変換される。「オクターブシフト又は無発音の指定情報」は、上記制限値情報に基づく音域の下限を下回る又は上限を上回る音高のデータが生成された場合(本実施例ではコードに基づくノート変換後のデータの音高が上記制限値情報に基づく音域の下限を下回る又は上限を上回る場合)に、該データの処理態様を指定するパラメータである。前記指定情報はデータの処理態様として、「オクターブシフト」又は「無発音」のいずれかを指定する。「オクターブシフト」を指定している場合には、下限を下回る音高についてはオクターブアップし、上限を上回る音高についてはオクターブダウンさせることにより音高変換(オクターブ折り返し)を行い、該音高変換後のデータに基づき楽音を発生する。他方、「無発音」を指定している場合には、オクターブシフトによる音高変換(オクターブ折り返し)を行うことなく、音高変換後のデータに基づく楽音発生を行わない。詳しくは後述する。   As shown in FIG. 2 (g), the parameters of the lower limit (Low Limit) and upper limit (High Limit) of the range that limit the range in which the musical sound should be generated in each zone (zone1 to zone3) are “limit”. "Value information" and "octave shift or non-sounding designation information". As described above, the “limit value information” is used to set the lower or upper limit of the range to be used according to the pitch (eg MIDI note number) in order to produce a musical sound in the range appropriate for the tone or part to be applied. It is a parameter to specify. During the note conversion process, the pitch is converted into one of the pitches (pitch names) within the range according to the limit value. The “octave shift or non-sounding designation information” is used when data having a pitch lower than the upper limit or higher than the upper limit based on the limit value information is generated (in this embodiment, the data after note conversion based on chords is generated). When the pitch is lower than the lower limit or higher than the upper limit of the range based on the limit value information), this is a parameter that specifies the processing mode of the data. The designation information designates “octave shift” or “no sound” as a data processing mode. When “octave shift” is specified, the pitch is converted by octave-up for pitches below the lower limit and octave-down for pitches above the upper limit. A musical tone is generated based on the later data. On the other hand, when “no sound” is designated, tone conversion by octave shift (octave return) is not performed, and tone generation based on the data after pitch conversion is not performed. Details will be described later.

ここで、上記NTT情報に従って指定されるノート変換テーブルの一実施例を図3に示す。図3(a)に示すように、NTT(ノート変換テーブル)は「ベース(Bass)」、「コード(Chord)」、「メロディ(Melody)」の3種類のいずれかに分類されている。こうしたNTTの種類は、上記したゾーン(zone)の数に対応するだけのものが用意されているとよいが、これに限られるものではない。ここでは上記3つのゾーン(zone1〜zone3)に対応する3種類のNTTが予め用意されている例を示している。上記3種類の各NTTはそれぞれ、図3(b)に示すような属性が「コード音」のノート変換テーブル、図3(c)に示すような属性が「スケール音」のノート変換テーブル、図3(d)に示すような属性が「ノンスケール音」のノート変換テーブルを含む。公知のように、各NTTには属性に応じたインデックスが付されており、テーブル内容としては、和音の種類毎に応じてノートナンバのシフトデータ(0,-1,-2,…)を記憶している。   Here, FIG. 3 shows an example of the note conversion table specified in accordance with the NTT information. As shown in FIG. 3A, NTT (note conversion table) is classified into one of three types: “bass”, “chord”, and “melody”. As for the kind of NTT, it is desirable to prepare only the number corresponding to the number of zones described above, but it is not limited to this. Here, an example is shown in which three types of NTT corresponding to the above three zones (zone 1 to zone 3) are prepared in advance. Each of the above three types of NTT has a note conversion table whose attribute is “chord sound” as shown in FIG. 3B, a note conversion table whose attribute is “scale sound” as shown in FIG. The attribute conversion table shown in FIG. 3D includes a “non-scale sound” note conversion table. As is well known, each NTT has an index according to the attribute, and the table contents store shift data (0, -1, -2, ...) of note numbers according to the type of chord. is doing.

また、伴奏パターンデータのノートナンバを、和音に対応させて上記属性のいずれかに分類するための分類テーブル(Applicable Scale Table)が従来知られている。公知であるが、この分類テーブルの一例を図4に示す。この分類テーブルも「ベース(Bass)」、「コード(Chord)」、「メロディ(Melody)」の3種類のいずれかに分類されていて、それぞれ各和音の種類(Maj,Maj6,Maj7,…)に対して各音名(C,C♯,D,D♯,…)が「コード音(c)」、「スケール音(s)」及び「ノンスケール音(n)」の何れかの属性を有するかを分類したものである。自動伴奏時には、伴奏パターンデータから読み出したノートナンバにより分類テーブルを参照して、このノートナンバを和音の種類に応じてコード音、スケール音及び非スケール音の何れかに分類する。そして、この分類に対応するそれぞれのノート変換テーブルを参照してノート変換が行われる。   Further, a classification table (Applicable Scale Table) for classifying the note numbers of accompaniment pattern data into any of the above attributes corresponding to chords is conventionally known. Although well known, an example of this classification table is shown in FIG. This classification table is also categorized into one of three types: “Bass”, “Chord”, “Melody”, and each chord type (Maj, Maj6, Maj7, etc.) Each note name (C, C #, D, D #, ...) has one of the attributes "chord sound (c)", "scale sound (s)", and "non-scale sound (n)" It is classified whether it has. At the time of automatic accompaniment, the note number is classified by the note number read from the accompaniment pattern data into one of chord sound, scale sound and non-scale sound according to the type of chord. And note conversion is performed with reference to each note conversion table corresponding to this classification.

図2の説明に戻って、パート情報はどの演奏パートに関するデータであるかを示すパートナンバ等であり、スタイルのアウトプットパートに対応する。例えば、パートナンバが「1,2」である場合にはリズムパート1,2に、「3」である場合にはベースパートに、「4,5」である場合にはコードパート1,2に、「6,7」である場合にはフレーズメロディパート1,2に対応する。勿論、演奏パート(アウトプットパート)はこれに限らない。その他の情報としては、例えば現在押鍵中のコードルート及びコードタイプが特定の種類である場合に、そのチャンネルの発音を行うように設定するための所謂「チャンネルスイッチ」(例えば、「0」である場合に当該チャンネルの発音を行わないものと機器設定する)等がある。   Returning to the description of FIG. 2, the part information is a part number indicating which performance part the data relates to, and corresponds to the output part of the style. For example, if the part number is “1, 2”, it will be in the rhythm parts 1 and 2, if it is “3”, it will be in the bass part, and if it is “4, 5”, it will be in the chord parts 1 and 2. , "6, 7" corresponds to phrase melody parts 1 and 2. Of course, the performance part (output part) is not limited to this. Other information includes, for example, a so-called “channel switch” (for example, “0”) for setting the sound generation of the channel when the currently pressed chord root and chord type are of a specific type. In some cases, the device is set not to sound the channel).

ここで、各チャンネルのCTABに設定されるノート変換に関する情報について、具体的な設定例を図5に示す。図5は、CTABに設定されるデータ内容の具体例を説明するための概念図である。この実施例では特殊な音色「Mega Guitar音色」を用いる場合に、図5(b)に示すようにして2分割した各音高範囲において、「C-2」〜「B5」までの低音側のゾーン(zone2)を通常の楽器音色でコードパートの楽音を発生する範囲、「C6」〜「G8」までの高音側のゾーン(zone3)を効果音(奏法依存音色)を発生する範囲としたい場合の設定例について説明する。なお、便宜的に、チャンネルナンバはMIDIチャンネル「1」、ソースコードルートはデフォルト値「C」、ソースコードタイプはデフォルト値メジャー7th(maj7)とした。   Here, a specific setting example is shown in FIG. 5 for information relating to note conversion set in the CTAB of each channel. FIG. 5 is a conceptual diagram for explaining a specific example of data contents set in CTAB. In this embodiment, when a special tone “Mega Guitar tone” is used, in the pitch ranges divided into two as shown in FIG. 5 (b), the bass side from “C-2” to “B5” When you want to set the zone (zone2) as the range for generating the chord part's musical tone with normal instrument sounds, and the zone (zone3) as the high-frequency zone (zone3) from "C6" to "G8" An example of setting will be described. For convenience, the channel number is MIDI channel “1”, the source code root is the default value “C”, and the source code type is the default value major 7th (maj7).

図5(b)に示すようにして、音高範囲を「zone2」と「zone3」とに2分割する場合、NTRスプリットポイントの下限に「C-2」、NTRスプリットポイントの上限に「C6」をそれぞれ設定する。この場合、NTRスプリットポイントの下限に当該電子楽器で発音可能な音高範囲のうち最低音である「C-2」を設定することで、音高範囲を2分割している。ここではzone1を使用しないものとして、zone1に関してNTR情報,NTT情報、ノートリミットの下限(Llim)及び上限(Hlim)についてそれぞれ「ignored(無視)」と設定する。範囲「zone2」に関しては、通常の楽器音色でコードパートの楽音を発生する範囲としたいことから、ノート変換を行う設定とする。すなわち、NTR情報に「Root Transposition Rule」を、NTT情報に「Chord」を設定する。なお、ここではノートリミットの下限及び上限に「C-2」,「C6」(つまりzone2全体)を設定してある。他方、範囲「zone3」に関しては、効果音(奏法依存音色)を発生する範囲としたいことから、ノート変換をしない設定とする。すなわち、NTR情報に「Root Fixed Rule」を、NTT情報に「Bypass(NTTを参照しない)」を設定する。   As shown in Fig. 5 (b), when dividing the pitch range into “zone2” and “zone3”, the lower limit of the NTR split point is “C-2”, and the upper limit of the NTR split point is “C6”. Set each. In this case, the pitch range is divided into two by setting “C-2”, which is the lowest tone of the pitch range that can be produced by the electronic musical instrument, as the lower limit of the NTR split point. Here, assuming that zone 1 is not used, NTR information, NTT information, the lower limit (Llim) and the upper limit (Hlim) of the note limit are set to “ignored” for zone 1. The range “zone 2” is set to perform note conversion because it is a range in which a musical tone of a chord part is generated with a normal instrument tone. That is, “Root Transposition Rule” is set in the NTR information, and “Chord” is set in the NTT information. Here, “C-2” and “C6” (that is, the entire zone 2) are set as the lower and upper limits of the note limit. On the other hand, the range “zone3” is set not to perform note conversion because it is desired to be a range in which a sound effect (performance style-dependent timbre) is generated. That is, “Root Fixed Rule” is set in the NTR information, and “Bypass (Do not refer to NTT)” is set in the NTT information.

次に、本実施例に示す電子楽器において、伴奏パターンデータと入力されたコードとに応じて、音高を変換しながら自動伴奏を実行する処理について、図6及び図7を用いて説明する。図6は、「メイン処理」の一実施例を示すフローチャートである。当該処理はCPU1によって実行される処理であって、電子楽器本体の電源オンに応じて開始され、電子楽器本体の電源オフに応じて終了される。   Next, a process for performing automatic accompaniment while converting the pitch in accordance with the accompaniment pattern data and the input chord in the electronic musical instrument shown in the present embodiment will be described with reference to FIGS. FIG. 6 is a flowchart illustrating an example of “main processing”. This process is a process executed by the CPU 1 and starts when the electronic musical instrument main body is turned on, and ends when the electronic musical instrument main body is turned off.

ステップS1は、初期設定を実行する。初期設定としては、レジスタのクリアや電源オン時における現状の設定状態の初期設定などがある。具体的には、自動伴奏を行うことが可能な状態であるか否かを表す伴奏中フラグを「FALSE(偽:自動伴奏できない状態)」に設定する、あるいはデフォルトのデータとして予め指定されている伴奏パターンデータやセクションを利用できるように機器設定するなどである。ステップS2は、ユーザの手弾きによる演奏操作に応じて発生されたあるいは外部機器から取得した演奏情報(MIDIデータ)に応じて、楽音生成する。ステップS3は、ユーザによるスタイル選択スイッチ等の操作に応じて該当のスタイルデータ(ファイル)を読み込み、RAM3等に一時記憶し演奏に反映させるよう準備する。ステップS4は、伴奏中フラグが「TRUE(正:自動伴奏可能な状態)」であるか否かを判定する。   Step S1 executes initial setting. Initial settings include clearing registers and initial setting of the current setting state when the power is turned on. Specifically, the accompaniment flag indicating whether or not automatic accompaniment is possible is set to “FALSE (false: automatic accompaniment is not possible)” or designated as default data in advance. For example, device settings are made so that accompaniment pattern data and sections can be used. In step S2, a musical tone is generated according to performance information (MIDI data) generated in response to a performance operation by a user's hand-playing or acquired from an external device. In step S3, the corresponding style data (file) is read in response to the user's operation of the style selection switch, etc., and is prepared to be temporarily stored in the RAM 3 and reflected in the performance. In step S4, it is determined whether or not the accompaniment flag is “TRUE (correct: automatic accompaniment possible state)”.

伴奏中フラグが「TRUE」でないと判定された場合には(ステップS4のno)、自動伴奏開始操作(ユーザによる自動演奏開始/停止スイッチ等の操作)がなされたか否かを判定する(ステップS5)。自動伴奏開始操作がなされていないと判定した場合には(ステップS5のno)、自動伴奏を演奏に反映する必要がないので特に自動伴奏に関する処理(後述する割り込み処理)の実行を許可することなしに、ステップS2の処理に戻る。一方、自動伴奏開始操作がなされたと判定した場合には(ステップS5のyes)、演奏対象のセクションを「イントロA」に初期設定すると共に(ステップS6)、前記ユーザが指定したスタイルデータにおける該セクション「IntroA」の先頭位置に演奏位置を初期セットする(ステップS7)。ステップS8は、前記ユーザが指定したスタイルデータにおけるトラックチャンク内の「Initial Setup」に従う設定を行う。ステップS9は、伴奏中フラグを「TRUE」にセットする。ステップS10は、自動伴奏を実現する「割り込み処理」による該「メイン処理」へのタイマ割り込み実行を許可する。これらステップS6〜ステップS10までの一連の処理は、自動伴奏処理を行うための準備処理である。   If it is determined that the accompaniment flag is not “TRUE” (no in step S4), it is determined whether or not an automatic accompaniment start operation (operation of an automatic performance start / stop switch or the like by the user) has been performed (step S5). ). If it is determined that the automatic accompaniment start operation has not been performed (no in step S5), it is not necessary to reflect the automatic accompaniment in the performance, so that execution of processing relating to automatic accompaniment (interrupt processing described later) is not particularly permitted. Then, the process returns to step S2. On the other hand, if it is determined that the automatic accompaniment start operation has been performed (yes in step S5), the performance target section is initialized to “Intro A” (step S6), and the section in the style data designated by the user is set. The performance position is initially set at the head position of “IntroA” (step S7). In step S8, setting is performed according to “Initial Setup” in the track chunk in the style data designated by the user. In step S9, the accompaniment flag is set to “TRUE”. In step S10, the timer interrupt execution to the “main process” by the “interrupt process” for realizing the automatic accompaniment is permitted. A series of processes from step S6 to step S10 is a preparation process for performing an automatic accompaniment process.

上記ステップS4において、伴奏中フラグが「TRUE」であると判定された場合には(ステップS4のno)、自動伴奏停止操作(ユーザによる自動演奏開始/停止スイッチ等の操作)がなされたか否かを判定する(ステップS11)。自動伴奏停止操作がなされたと判定した場合には(ステップS11のyes)、伴奏中フラグを「FALSE」にセットし(ステップS12)、「割り込み処理」による該「メイン処理」へのタイマ割り込み実行を禁止する(ステップS13)。一方、自動伴奏停止操作がなされていないと判定した場合には(ステップS11のno)、タイマ割り込みを許可した状態を維持したままで、ユーザによるスタイル選択に応じて指定されたスタイルデータをROM2等から読み出してバッファに保持する(ステップS14)。そして、ユーザによるセクション指定に応じて、さらに指定されたセクションの伴奏パターンデータのみを次の演奏対象としてバッファに保持する(ステップS15)。上記ステップS13又はステップS15の処理終了後は共に、ステップS2の処理に戻る。   If it is determined in step S4 that the accompaniment flag is "TRUE" (no in step S4), whether or not an automatic accompaniment stop operation (operation of an automatic performance start / stop switch or the like by the user) has been performed. Is determined (step S11). When it is determined that the automatic accompaniment stop operation has been performed (Yes in step S11), the accompaniment flag is set to “FALSE” (step S12), and the timer interrupt execution to the “main process” is performed by the “interrupt process”. It is prohibited (step S13). On the other hand, if it is determined that the automatic accompaniment stop operation has not been performed (no in step S11), the style data specified according to the style selection by the user is stored in the ROM 2 or the like while maintaining the timer interrupt enabled state. Is read out and held in the buffer (step S14). Then, in accordance with the section designation by the user, only the accompaniment pattern data of the designated section is held in the buffer as the next performance target (step S15). After the process of step S13 or step S15 is completed, the process returns to step S2.

次に、自動伴奏を実現する「割り込み処理」について、図7を用いて説明する。図7は、「割り込み処理」の一実施例を示すフローチャートである。当該処理は、「メイン処理」におけるタイマ割り込み許可(図6のステップS10)に応じて、前記「メイン処理」の実行中であっても優先的に処理される。   Next, “interrupt processing” for realizing automatic accompaniment will be described with reference to FIG. FIG. 7 is a flowchart showing an example of “interrupt processing”. The process is preferentially processed even during execution of the “main process” in accordance with the timer interrupt permission (step S10 in FIG. 6) in the “main process”.

ステップS21は、ユーザによるコード鍵域の演奏操作に応じて(あるいは別途記憶されている和音進行データ等に応じて)、出力する伴奏のコード(詳しくはコードタイプとルート(根音))を決定する。ステップS22は、指定されたデータのトラックチャンクを参照して、「Source patternのイベント群とそのタイミング情報」において、現在の演奏位置に対応するイベントがあるか否かを判定する。現在の演奏位置に対応するイベントがあると判定した場合には(ステップS22のyes)、セクション指定とノートイベント内に定義されているチャンネル番号とにより「CTAB」を特定する(ステップS23)。一方、現在の演奏位置に対応するイベントがないと判定した場合には(ステップS22のno)、自動伴奏の停止処理がなされたか否かを判定する(ステップS37)。自動伴奏の停止処理がなされたと判定した場合には(ステップS37のyes)、それ以上自動伴奏を続ける必要がないために、当該処理を終了する。自動伴奏の停止処理がなされていないと判定した場合には(ステップS37のno)、ステップS22の処理に戻って本処理を続ける。   In step S21, an accompaniment chord to be output (specifically, chord type and root (root tone)) is determined according to the performance operation of the chord key range by the user (or according to chord progression data stored separately). To do. The step S22 refers to the track chunk of the designated data, and determines whether or not there is an event corresponding to the current performance position in the “source pattern event group and its timing information”. If it is determined that there is an event corresponding to the current performance position (step S22: yes), “CTAB” is specified by the section designation and the channel number defined in the note event (step S23). On the other hand, if it is determined that there is no event corresponding to the current performance position (no in step S22), it is determined whether automatic accompaniment stop processing has been performed (step S37). If it is determined that the automatic accompaniment stop processing has been performed (yes in step S37), the automatic accompaniment need not be continued any more, and thus the processing is terminated. If it is determined that the automatic accompaniment stop process has not been performed (no in step S37), the process returns to the process in step S22 to continue the present process.

ステップS24は、指定されたデータのトラックチャンクの「Source patternのイベント群とそのタイミング情報」において、現在の演奏位置に対応するイベントが「ノートイベント」であるか否かを判定する。「ノートイベント」でないと判定した場合には(ステップS24のno)、ステップS36の処理に移る。「ノートイベント」であると判定した場合には(ステップS24のyes)、ノートイベントのノートナンバと「CTAB」のNTRスプリットポイントの下限「LS」と上限「US」とを比較し、当該ノート(ノートナンバに応じた音高)が属する所定の音高範囲であるゾーン(zone)を決定する(ステップS25)。そして、ノートイベントのノートナンバと「CTAB」のソースコード情報(Source Chord RootとSource Chord Type)とを元に、図4に示した「分類テーブル(Applicable Scale Table)」のうち前記決定したゾーン(zone)のNTT情報に対応したテーブルを参照し、コード音(c)、スケール音(s)及びノンスケール音(n)の何れかにノートの属性を決定し(ステップS26)、前記決定したゾーン(zone)に対応する「CTAB」のNTT情報と前記決定したノートの属性とから、ノート変換処理の際に用いるべき「NTT」を決定する(ステップS27)。   In step S24, it is determined whether or not the event corresponding to the current performance position is the “note event” in the “source pattern event group and its timing information” of the track chunk of the designated data. If it is determined that it is not a “note event” (No in step S24), the process proceeds to step S36. If it is determined that it is a “note event” (yes in step S24), the note number of the note event is compared with the lower limit “LS” of the NTR split point of “CTAB” and the upper limit “US”, and the note ( A zone which is a predetermined pitch range to which the pitch according to the note number) belongs is determined (step S25). Based on the note number of the note event and the source code information (Source Chord Root and Source Chord Type) of “CTAB”, the determined zone (Applicable Scale Table) shown in FIG. Referring to the table corresponding to the NTT information of zone), the note attribute is determined as one of chord sound (c), scale sound (s) and non-scale sound (n) (step S26), and the determined zone From the NTT information of “CTAB” corresponding to (zone) and the determined note attributes, “NTT” to be used in the note conversion process is determined (step S27).

ステップS28は、ゾーン(zone)に対応する「CTAB」内のNTR情報に応じて異なるタイプのノート変換処理をそれぞれ実行するよう、NTR情報毎に処理を振り分ける。   In step S28, the process is distributed for each NTR information so that different types of note conversion processes are executed in accordance with the NTR information in the "CTAB" corresponding to the zone.

ここで、NTR情報が「Root Transposition Rule」と設定されている場合には、該当するノート変換ルール「Root Transposition Rule」に則り、またコードタイプとルートとでNTTを参照しながら、ノート変換処理を実行する(ステップS29)。NTR情報が「Root Fixed Rule」と設定されている場合には、該当するノート変換ルール「Root Fixed Rule」に則り、コードタイプとルートとでNTTを参照しながら、ノート変換処理を実行する(ステップS30)。NTR情報が「Root Transposition Rule」及び「Root Fixed Rule」以外の「その他のRule」(例えば、単純なオクターブシフトなど)と設定されている場合には、該当するノート変換ルール「その他のRule」に則りノート変換処理を実行する(ステップS31)。この場合には、NTTを参照しないでよい。こうした各変換ルール(NTR)や変換テーブル(NTT)に従ってのノート変換処理は公知のどのような方法のものであってもよいことから、ここでの説明を省略する。   Here, when the NTR information is set as “Root Transposition Rule”, note conversion processing is performed according to the corresponding note conversion rule “Root Transposition Rule” and referring to NTT by the chord type and root. Execute (Step S29). If the NTR information is set as “Root Fixed Rule”, note conversion processing is executed while referring to NTT by code type and root according to the corresponding note conversion rule “Root Fixed Rule” (step S30). If the NTR information is set to “Other Rule” other than “Root Transposition Rule” and “Root Fixed Rule” (for example, simple octave shift), the corresponding note conversion rule “Other Rule” The note conversion process is executed according to the rules (step S31). In this case, NTT need not be referred to. Since the note conversion processing according to each conversion rule (NTR) or conversion table (NTT) may be any known method, description thereof is omitted here.

ステップS32は、上記ノート変換処理によるノート変換後の音高が前記決定したゾーン(zone)に対応する「CTAB」の音域の下限(Low Limit)又は音域の上限(High Limit)の各制限値(図2(g)参照)を超えるか否か、つまり下限の制限値が指定されている場合には該下限値を下回るか否か、上限の制限値が指定されている場合には該上限値を上回るか否かをそれぞれ判定する。ノート変換後の音高が制限値を超える、つまり下限値を下回るか上限値を上回るかしている場合には(ステップS32のyes)、前記「CTAB」の音域の下限(Low Limit)又は音域の上限(High Limit)の指定情報が「オクターブシフト」と設定されているか否かを判定する(ステップS33)。指定情報が「オクターブシフト」と設定されていると判定した場合には(ステップS33のyes)、上記ノート変換処理によるノート変換後の音高をさらにオクターブシフトする(ステップS34)。この際には、下限値を下回る場合にオクターブアップを行い、上限値を上回る場合にオクターブダウンを行うが、上記ノート変換処理によるノート変換後の音高が前記制限値に基づく音域内に収まるまで、前記オクターブシフトを1乃至複数回実行する。具体的には図9(a)に示すように、「High limit」が例えば「A4」に定義されている場合において、コードに基づく変換後の音高が「B4」であるとすると、当該音「B4」はさらにオクターブダウンされることによって「B3」へと音高変換される(図中において矢印で示す)。ただし、図9(a)に示した例は従来例と同様であって、発生される楽音に音のうなり(フランジング)等の不具合が生ずる。   In step S32, each of the limit values of the lower limit (Low Limit) or the upper limit (High Limit) of the tone range of “CTAB” corresponding to the determined zone (zone) is the pitch after note conversion by the note conversion process ( 2 (see FIG. 2 (g)), that is, when a lower limit value is specified, whether the lower limit value is exceeded, or when an upper limit value is specified, the upper limit value. It is determined whether or not each exceeds. If the pitch after note conversion exceeds the limit value, that is, falls below the lower limit value or exceeds the upper limit value (yes in step S32), the lower limit (Low Limit) or the pitch range of the “CTAB” It is determined whether or not the designation information of the upper limit (High Limit) is set to “octave shift” (step S33). If it is determined that the designation information is set to “octave shift” (yes in step S33), the pitch after note conversion by the note conversion process is further shifted octave (step S34). In this case, octave up is performed when the lower limit value is exceeded, and octave down is performed when the upper limit value is exceeded, but the pitch after note conversion by the note conversion process is within the range based on the limit value. The octave shift is executed one or more times. Specifically, as shown in FIG. 9A, when “High limit” is defined as “A4”, for example, if the pitch after conversion based on the chord is “B4”, the sound The pitch of “B4” is further converted to “B3” by being octave-down (indicated by an arrow in the figure). However, the example shown in FIG. 9 (a) is the same as the conventional example, and problems such as sound beat (flanging) occur in the generated musical sound.

一方、指定情報が「オクターブシフト」と設定されていないと判定した場合には(ステップS33のno)、上記ノート変換処理の対象とされた当該ノートを発音しないように処理する(ステップS35)。勿論、当該ノートを発音しないように処理する方法としては、音源回路7に当該ノート(イベント)を送らない、当該ノートを無視するよう機器設定する、あるいは当該ノートに関するデータを削除すると共に前後する他のノートに関するデータを更新する等、どのような方法であってもよい。ステップS36は、「CTAB」内のPart情報で指定された音源のチャンネルを指定して、音源回路7にイベントを送る。イベントを送られた音源回路7は、チャンネル毎にイベントをマージして楽音生成に反映させる。その後、ステップS22の処理に戻る。ただし、発音しないように処理されたノートについては音源回路7にイベントを送らない。その場合には図9(b)に示すように、「High limit」が例えば「A4」に定義されている場合において、コードに基づく変換後の音高が「B4」であるとすると、当該音「B4」はさらにオクターブダウンされることなく、単に発音がなされないだけである(図中において×印で示す)。このように、音高変換することによって同音重複が生じた場合にそれぞれが異なるオクターブラインのうちのいずれか1音を発音せずに単音発音とすることになるが、これは音楽的に自然な音の遷移であるので問題ない。また、発生される楽音に音のうなり(フランジング)等の不具合が生ずることもない。   On the other hand, if it is determined that the designation information is not set to “octave shift” (no in step S33), the note that is the subject of the note conversion process is processed so as not to sound (step S35). Of course, as a method of processing so as not to sound the note, the note (event) is not sent to the sound source circuit 7, the device is set to ignore the note, or data related to the note is deleted and moved back and forth. Any method may be used, such as updating the data related to the notebook. In step S 36, the sound source channel designated by the part information in “CTAB” is designated, and an event is sent to the sound source circuit 7. The tone generator circuit 7 to which the event has been sent merges the event for each channel and reflects it in the musical tone generation. Thereafter, the process returns to step S22. However, no event is sent to the tone generator circuit 7 for a note that has been processed so as not to sound. In this case, as shown in FIG. 9B, when “High limit” is defined as “A4”, for example, if the pitch after conversion based on the chord is “B4”, the sound “B4” is not further octave-down and is simply not pronounced (indicated by a cross in the figure). In this way, when the same sound overlap occurs due to the pitch conversion, any one of the different octabrines is not sounded but is made a single sound, which is musically natural. There is no problem because it is a transition of sound. In addition, the generated musical sound does not suffer from problems such as sound beats (flanging).

以上のように、本実施の形態によれば、1つのチャンネルに対して複数の異なるノート変換に関する情報を所定の音高範囲毎に対応付けておき、自動伴奏時においてノート情報を予め決められた複数の音高範囲に分類し、該音高範囲毎に対応付けられているノート変換に関する情報に従ってノート変換処理を行うようにした。これにより、コードに基づいて自動演奏音のノート変換を行う際には、1つのチャンネルにおいて複数の異なるタイプ(変換態様)のノート変換を行うことができ、効果音(奏法依存音色)を含む特殊な音色であっても1つのチャンネルで制御することができるので、チャンネルを無駄に使用することがない。また、ユーザは楽器音色用の伴奏パターンデータと効果音用の伴奏パターンデータとを別データとして用意する必要がないことからデータ作成が容易になる、という利点もある。   As described above, according to the present embodiment, information related to a plurality of different note conversions is associated with one channel for each predetermined pitch range, and note information is determined in advance during automatic accompaniment. It is classified into a plurality of pitch ranges, and note conversion processing is performed in accordance with information relating to note conversion associated with each pitch range. Thereby, when performing note conversion of an automatic performance sound based on a chord, a plurality of different types (conversion modes) of note conversion can be performed in one channel, and special effects including sound effects (performance style-dependent timbres) are included. Even a simple timbre can be controlled by one channel, so the channel is not wasted. In addition, the user does not have to prepare the accompaniment pattern data for musical instrument tone color and the accompaniment pattern data for sound effects as separate data, so there is an advantage that data creation is facilitated.

また、ノート変換後の音高が所定の制限値に基づく音域を外れる場合に、該ノートについてさらにオクターブシフト(オクターブ折り返し)により音高変換を行うかあるいは当該ノートを無発音とするかを、複数の異なるノート変換に関する情報に従って選択的に実行できるようにした。これにより、発生させる楽音の音域をフランジングを引き起こすことなしに制限する、あるいはあえてフランジングを引き起こしてでも音域を制限することが複数の音高範囲それぞれで異ならせることができ、さらに各音域の上限と下限とで異なる処理を指定することができるので、ユーザは自身の意図に応じてより多彩な音楽的表現を実現する自動伴奏データを作成することが容易にできるようになる。   In addition, when the pitch after note conversion is out of the range based on a predetermined limit value, whether or not the note is further converted by octave shift (octave wrapping) or the note is not sounded is plural. Enabled to selectively run according to the information about different note conversions. As a result, it is possible to limit the range of the musical sound to be generated without causing flanging, or to restrict the range even if flanging is caused, and to make the pitch range different for each of the plurality of pitch ranges. Since different processing can be specified for the upper limit and the lower limit, the user can easily create automatic accompaniment data that realizes more various musical expressions according to his / her intention.

なお、上述した実施例においては、通常の楽器音色に加えて効果音(奏法依存音色)等を含む特殊な音色(Mega Guitar音色)を用いた場合について説明したがこれに限らない。通常の音色における自動演奏においても、上記説明した実施の形態に準じて、及び必要に応じて適宜変形した形態で、本発明を適用することができる。例えば通常の音色のみからなるピアノ音色において、低音域をベースパート、中間音域をコードパート、高音域をフレーズメロディの楽音を発生させる場合などにも、本発明を適用することができる。こうした場合における、各チャンネルのCTABに設定されるノート変換に関する情報について、具体的な設定例を図8に示す。図8(a)に示す実施例は通常の楽器音色「ピアノ音色」を用いる場合に、図8(b)に示すようにして3分割した各音高範囲において、「C-2」〜「F♯2」までの低音側のゾーン(zone1)をベースパートの楽音を発生する範囲、「F♯2」〜「C4」までのゾーン(zone2)をコードパートの楽音を発生する範囲、「C4」〜「G8」までの高音側のゾーン(zone3)をフレーズメロディを発生する範囲とした場合の設定例である。   In the above-described embodiment, a case where a special tone color (Mega Guitar tone color) including a sound effect (performance style dependent tone color) or the like is used in addition to a normal musical instrument tone color has been described. The present invention can also be applied to an automatic performance in a normal tone color according to the above-described embodiment and in a form appropriately modified as necessary. For example, in the case of a piano timbre composed of only normal timbres, the present invention can also be applied to a case where a bass part is generated in the low range, a chord part in the intermediate range, and a phrase melody in the high range. FIG. 8 shows a specific setting example for information regarding note conversion set in the CTAB of each channel in such a case. In the embodiment shown in FIG. 8A, when a normal instrument tone “piano tone” is used, “C-2” to “F” in each pitch range divided into three as shown in FIG. 8B. The bass side zone (zone1) up to ♯2 is the range where bass part musical sounds are generated, the zone from zone F2 to C4 (zone2) where the chord part musical sounds are generated, C4 This is a setting example in the case where the high-tone zone (zone3) up to “G8” is set as a range for generating a phrase melody.

また、図示を省略したが、上述した特殊な音色(Mega Guitar音色)を用いる場合において、ゾーン(zone1)をベースパートとユニゾンで動作する低音のフレーズメロディを発生する範囲、ゾーン(zone2)をベースパートの楽音を発生する範囲、ゾーン(zone3)を効果音(奏法依存音色)を発生する範囲とするように、該当するチャンネルのCTABに設定することもできることは言うまでもない。すなわち、何らかのコードを基準として作成されたオリジナルの自動演奏データ(上記した伴奏パターンデータやフレーズメロディデータなど)に基づいて楽音を発生させる際に、コード進行に応じてノート変換を行うものであればどのような形態のものであっても、上記説明した実施の形態に準じて、及び必要に応じて適宜変形した形態で、本発明を適用することができる。さらに、NTRスプリットポイント(分割情報)を適宜に変更して、低音域,中音域、高音域、さらにはそれら以外のより細かな多数の音域毎にノート変換に係る情報をそれぞれ対応付けることで、より多くのさまざまな音色や用途に本発明を適用することができる。
なお、ユーザはCTAB(NTR情報,NTT情報,ノートリミットの下限及び上限)の値を任意に設定することができてよい。ユーザによりCTABの値が任意に入力された場合、この入力値がスタイルデータに予め設定済みであるCTABの値に優先して処理されることは言うまでもない。
Although not shown in the figure, when using the special tone (Mega Guitar tone) described above, the zone (zone1) is based on the zone (zone2) that generates the bass phrase melody that operates in the base part and unison. It goes without saying that the CTAB of the corresponding channel can also be set so that the range in which the musical sound of the part is generated and the zone (zone 3) are in the range in which the sound effect (performance style-dependent timbre) is generated. That is, when generating a musical tone based on original automatic performance data (accompaniment pattern data, phrase melody data, etc.) created based on some chord, note conversion is performed according to the chord progression. Regardless of the form, the present invention can be applied in accordance with the embodiment described above and in a form appropriately modified as necessary. Furthermore, by changing the NTR split point (divided information) as appropriate, the information related to note conversion is associated with each of the bass, middle, treble, and many other finer ranges. The present invention can be applied to many different timbres and uses.
Note that the user may arbitrarily set the value of CTAB (NTR information, NTT information, lower limit and upper limit of note limit). Needless to say, when the CTAB value is arbitrarily input by the user, the input value is processed in preference to the CTAB value set in the style data in advance.

この発明に係る自動演奏装置を適用した電子楽器の全体構成の一実施例を示したハード構成ブロック図である。1 is a block diagram of a hardware configuration showing an embodiment of an overall configuration of an electronic musical instrument to which an automatic performance device according to the present invention is applied. スタイルデータのデータ構成の一実施例を示す概念図である。It is a conceptual diagram which shows one Example of the data structure of style data. ノート変換テーブルの一実施例を示す概念図である。It is a conceptual diagram which shows one Example of a note conversion table. 分類テーブルの一実施例を示すフローチャートである。It is a flowchart which shows one Example of a classification table. CTABに設定されるデータ内容の具体例を説明するための概念図である。It is a conceptual diagram for demonstrating the specific example of the data content set to CTAB. メイン処理の一実施例を示すフローチャートである。It is a flowchart which shows one Example of a main process. 割り込み処理の一実施例を示すフローチャートである。It is a flowchart which shows one Example of an interruption process. CTABに設定されるデータ内容の別の具体例を説明するための概念図である。It is a conceptual diagram for demonstrating another specific example of the data content set to CTAB. 音高が上限の制限値を超えた場合に行われる処理を説明するための図である。It is a figure for demonstrating the process performed when a pitch exceeds the upper limit limit value.

符号の説明Explanation of symbols

1…CPU、2…ROM、3…RAM、4,5…検出回路、4A…演奏操作子、5A…パネル操作子、6…表示回路、6A…ディスプレイ、7…音源回路、8…効果回路、8A…サウンドシステム、9…外部記憶装置、10…MIDIインタフェース、10A…MIDI機器、11…通信インタフェース、11A…サーバ装置、X…通信ネットワーク、1D…通信バス DESCRIPTION OF SYMBOLS 1 ... CPU, 2 ... ROM, 3 ... RAM, 4,5 ... Detection circuit, 4A ... Performance operator, 5A ... Panel operator, 6 ... Display circuit, 6A ... Display, 7 ... Sound source circuit, 8 ... Effect circuit, 8A ... Sound system, 9 ... External storage device, 10 ... MIDI interface, 10A ... MIDI device, 11 ... Communication interface, 11A ... Server device, X ... Communication network, 1D ... Communication bus

Claims (4)

複数のチャンネルに対応して複数の演奏パターンデータを記憶し、かつ、前記複数のチャンネル夫々に対応して該チャンネル毎のノート変換に関する情報を記憶する記憶手段であって、前記ノート変換に関する情報は、ノート変換後の音高情報をさらにオクターブシフトした音高情報の楽音を発生する処理又はノート変換後の音高情報の楽音を発生しない処理のいずれかを指示する指定情報を少なくとも含んでなるものと、
和音情報を取得する取得手段と、
前記記憶手段に記憶された前記複数の演奏パターンデータに対応付けられた前記ノート変換に関する情報を特定する特定手段と、
前記取得した和音情報と前記特定したノート変換に関する情報とに基づいて、前記演奏パターンデータから順次に読み出される音高情報をノート変換するノート変換手段と、
楽音を発生すべき音域を取得して、前記ノート変換後の音高情報が該取得した音域内であるか否かを判定する判定手段と、
前記ノート変換後の音高情報が前記取得した音域内でない場合に、前記特定したノート変換に関する情報に含まれる前記指定情報に基づいて、前記ノート変換後の音高情報をさらにオクターブシフトした音高情報の楽音を発生する処理又は前記ノート変換後の音高情報の楽音を発生しない処理のいずれかを指示する指示手段と、
演奏パターンデータに基づき楽音の発生を制御する楽音発生手段であって、該楽音発生手段は、前記指示手段による指示に応じ前記いずれかの処理を行うことにより、前記読み出した音高情報に対応する前記ノート変換後の音高情報が前記音域内にない楽音を前記音域内の音高で発生する又は前記ノート変換後の音高情報の楽音を発生しないよう制御するものと
を具えた自動演奏装置。
Storage means for storing a plurality of performance pattern data corresponding to a plurality of channels, and storing information relating to note conversion for each of the plurality of channels , wherein the information relating to note conversion is , Including at least designation information for instructing either a process for generating a musical tone of pitch information obtained by further octave shifting the pitch information after note conversion or a process for not generating a musical tone of pitch information after note conversion When,
Acquisition means for acquiring chord information;
Specifying means for specifying information relating to the note conversion associated with the plurality of performance pattern data stored in the storage means;
Note conversion means for note-converting pitch information sequentially read out from the performance pattern data based on the acquired chord information and the specified note conversion information;
A determination means for acquiring a range in which a musical sound is to be generated, and determining whether the pitch information after the note conversion is within the acquired range;
If the pitch information after the note conversion is not within range that the acquired, on the basis of the designation information included in the information related to the identified note conversion, pitch was further octave shifts the pitch information after the note conversion and instructing means for instructing either a process which does not generate a tone processing or pitch information after the note conversion generates tone information,
Musical tone generating means for controlling the generation of musical sounds based on performance pattern data, the musical sound generating means corresponding to the read pitch information by performing any one of the processes according to an instruction from the instruction means Automatic musical performance comprising controlling a musical tone whose pitch information after note conversion is not within the range to be generated at a pitch within the range or not generating musical tone of the pitch information after the note conversion. apparatus.
前記記憶手段は、チャンネル毎のノート変換に関する情報を複数の音高範囲毎にそれぞれ記憶してなり、
請求項1に記載の自動演奏装置は、
所定の演奏パターンデータから順次に読み出される音高情報が属する音高範囲を前記複数の音高範囲のいずれかに決定する決定手段をさらに具え、
前記特定手段は、前記決定した音高範囲に基づき、前記所定の演奏パターンデータに対応付けられたチャンネルにおけるノート変換に関する情報を特定し、
前記ノート変換手段は、前記所定の演奏パターンデータから順次に読み出された音高情報をノート変換する際に、前記特定したいずれかのノート変換に関する情報に基づいて行うことを特徴とする。
The storage means stores information related to note conversion for each channel for each of a plurality of pitch ranges,
The automatic performance device according to claim 1 is:
Determining means for determining any one of the plurality of pitch ranges as a pitch range to which pitch information sequentially read out from predetermined performance pattern data belongs ;
The specifying means specifies information related to note conversion in a channel associated with the predetermined performance pattern data based on the determined pitch range ,
The note conversion means, a tone pitch information successively read out from the predetermined performance pattern data when note conversion, and performing based on the information about any of the note conversion described above specified.
前記記憶手段は、楽音を発生すべき音域を決定する情報と、前記ノート変換後の音高情報をさらにオクターブシフトした音高情報の楽音を発生する処理又はノート変換後の音高情報の楽音を発生しない処理のいずれかを指示する指定情報とを、複数の音高範囲毎にそれぞれ記憶してなることを特徴とする請求項2に記載の自動演奏装置。 The storage means includes information for determining a musical range in which a musical sound should be generated, and processing for generating a musical tone of pitch information obtained by further octave shifting the pitch information after note conversion or musical tone of pitch information after note conversion. 3. The automatic performance apparatus according to claim 2, wherein designation information for instructing any of the processes that do not occur is stored for each of a plurality of pitch ranges. コンピュータに、
複数のチャンネルに対応して複数の演奏パターンデータを記憶し、かつ、前記複数のチャンネル夫々に対応して該チャンネル毎のノート変換に関する情報を所定の記憶手段に記憶する手順であって、前記ノート変換に関する情報は、ノート変換後の音高情報をさらにオクターブシフトした音高情報の楽音を発生する処理又はノート変換後の音高情報の楽音を発生しない処理のいずれかを指示する指定情報を少なくとも含んでなるものと、
和音情報を取得する手順と、
前記記憶手段に記憶された前記複数の演奏パターンデータに対応付けられた前記ノート変換に関する情報を特定する手順と、
前記取得した和音情報と前記特定したノート変換に関する情報とに基づいて、前記演奏パターンデータから順次に読み出される音高情報をノート変換する手順と、
楽音を発生すべき音域を取得して、前記ノート変換後の音高情報が該取得した音域内であるか否かを判定する手順と、
前記ノート変換後の音高情報が前記取得した音域内でない場合に、前記特定したノート変換に関する情報に含まれる前記指定情報に基づいて、前記ノート変換後の音高情報をさらにオクターブシフトした音高情報の楽音を発生する処理又は前記ノート変換後の音高情報の楽音を発生しない処理のいずれかを指示する手順と、
演奏パターンデータに基づき楽音の発生を制御する際に、前記指示に応じた前記いずれかの処理を行うことにより、前記読み出した音高情報に対応する前記ノート変換後の音高情報が前記音域内にない楽音を前記音域内の音高で発生する又は前記ノート変換後の音高情報の楽音を発生しないよう制御する手順と
を実行させるためのプログラム。
On the computer,
A procedure for storing a plurality of performance pattern data corresponding to a plurality of channels and storing information relating to note conversion for each channel in a predetermined storage means corresponding to each of the plurality of channels. The information related to the conversion includes at least designation information indicating either a process for generating a musical tone of pitch information obtained by further octave shifting the pitch information after note conversion or a process for generating no musical tone of the pitch information after note conversion. Including
To get chord information,
A procedure for identifying information relating to the note conversion associated with the plurality of performance pattern data stored in the storage means;
Based on the acquired chord information and the information related to the specified note conversion, a procedure for note conversion of pitch information sequentially read from the performance pattern data;
A procedure for acquiring a range in which a musical sound should be generated and determining whether the pitch information after the note conversion is within the acquired range;
If the pitch information after the note conversion is not within range that the acquired, on the basis of the designation information included in the information related to the identified note conversion, pitch was further octave shifts the pitch information after the note conversion a step of instructing one of the process does not generate a tone processing or pitch information after the note conversion generates tone information,
In controlling the generation of the musical tone based on the performance pattern data, before Symbol wherein by performing any of the processing corresponding to the instruction, the pitch information after the note conversion corresponding to the read pitch information is the sound A program for executing a procedure for controlling a musical tone that is not within a range to be generated at a pitch within the range or not to generate a musical tone of pitch information after the note conversion .
JP2008057667A 2008-03-07 2008-03-07 Automatic performance device and program Expired - Fee Related JP5104415B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008057667A JP5104415B2 (en) 2008-03-07 2008-03-07 Automatic performance device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008057667A JP5104415B2 (en) 2008-03-07 2008-03-07 Automatic performance device and program

Publications (2)

Publication Number Publication Date
JP2009216773A JP2009216773A (en) 2009-09-24
JP5104415B2 true JP5104415B2 (en) 2012-12-19

Family

ID=41188745

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008057667A Expired - Fee Related JP5104415B2 (en) 2008-03-07 2008-03-07 Automatic performance device and program

Country Status (1)

Country Link
JP (1) JP5104415B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001051681A (en) * 2000-01-01 2001-02-23 Yamaha Corp Automatic accompaniment information generator
JP4035715B2 (en) * 2002-08-05 2008-01-23 カシオ計算機株式会社 Accompaniment generation apparatus and accompaniment generation program
JP3906997B2 (en) * 2002-09-04 2007-04-18 ヤマハ株式会社 Performance assist device, input sound conversion device and program thereof
JP3928529B2 (en) * 2002-09-25 2007-06-13 ヤマハ株式会社 Electronic musical instruments

Also Published As

Publication number Publication date
JP2009216773A (en) 2009-09-24

Similar Documents

Publication Publication Date Title
JP5724231B2 (en) Electronic music apparatus and program
JP2009156914A (en) Automatic accompaniment device and program
JP4614307B2 (en) Performance data processing apparatus and program
JP4670686B2 (en) Code display device and program
JP5104414B2 (en) Automatic performance device and program
JP5104415B2 (en) Automatic performance device and program
JP2001022354A (en) Arpeggio generator and its recording medium
JP3632536B2 (en) Part selection device
JP4748027B2 (en) Automatic accompaniment apparatus and program
JP4239706B2 (en) Automatic performance device and program
JP3632487B2 (en) Chord detection device for electronic musical instruments
JP4003625B2 (en) Performance control apparatus and performance control program
JP3654227B2 (en) Music data editing apparatus and program
JP3823951B2 (en) Performance information creation and display device and recording medium therefor
JP3873880B2 (en) Performance assist device and performance assist program
JP3933070B2 (en) Arpeggio generator and program
JP3738634B2 (en) Automatic accompaniment device and recording medium
JP2003271142A (en) Device and method for displaying and editing way of playing
JP3752940B2 (en) Automatic composition method, automatic composition device and recording medium
JP4900233B2 (en) Automatic performance device
JPH10254448A (en) Automatic accompaniment device and medium recorded with automatic accompaniment control program
JP4129794B2 (en) Program for realizing automatic accompaniment generation apparatus and automatic accompaniment generation method
JP5104293B2 (en) Automatic performance device
JP2001272978A (en) Information correcting device and medium with recorded program for correcting information
JP4218566B2 (en) Musical sound control device and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110119

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111005

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120110

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120305

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120904

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120917

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20151012

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees