JP2015125389A - Electric musical instrument, program, and method for selecting sound generation pitch - Google Patents

Electric musical instrument, program, and method for selecting sound generation pitch Download PDF

Info

Publication number
JP2015125389A
JP2015125389A JP2013271487A JP2013271487A JP2015125389A JP 2015125389 A JP2015125389 A JP 2015125389A JP 2013271487 A JP2013271487 A JP 2013271487A JP 2013271487 A JP2013271487 A JP 2013271487A JP 2015125389 A JP2015125389 A JP 2015125389A
Authority
JP
Japan
Prior art keywords
pitch
key
sound
sound generation
partial
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.)
Pending
Application number
JP2013271487A
Other languages
Japanese (ja)
Inventor
直希 安良岡
Naoki Yasuraoka
直希 安良岡
智子 奥村
Tomoko Okumura
智子 奥村
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 JP2013271487A priority Critical patent/JP2015125389A/en
Publication of JP2015125389A publication Critical patent/JP2015125389A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PROBLEM TO BE SOLVED: To more flexibly determine a sound generation pitch of each part in accordance with player's intention of performance operation.SOLUTION: When assigning a sound pitch of an operation part, among a plurality of operation parts corresponding to sound pitches respectively, in which sound generation instruction has been operated, a plurality of sound generation parts in accordance with a predetermined rule (S18), an electric musical instrument sets a plurality of partial sound ranges in sound ranges corresponding to the plurality of operation parts, and performs the changeover of the rule used for the assignment, depending on which operation part having which partial sound range out of the plurality of partial ranges has been applied with sound generation start operation (A13).

Description

この発明は、電子楽器、プログラム及び発音音高選択方法に関する。   The present invention relates to an electronic musical instrument, a program, and a pronunciation pitch selection method.

従来から、電子楽器において、押鍵されたノートに、押鍵数に応じた規則で所定数のパートを割り当て、各ノートを、そのノートに割り当てたパートの音色で発音させる電子楽器が知られている。この電子楽器によれば、押鍵数によらず、常に所定数のパートを発音させることができる。
このような電子楽器については、例えば特許文献1に記載がある。
2. Description of the Related Art Conventionally, in electronic musical instruments, electronic musical instruments have been known in which a predetermined number of parts are assigned to a depressed key according to a rule corresponding to the number of depressed keys, and each note is pronounced with the tone of the part assigned to that note. Yes. According to this electronic musical instrument, a predetermined number of parts can always be sounded regardless of the number of key presses.
Such an electronic musical instrument is described in Patent Document 1, for example.

また、電子楽器において、押鍵されている音高の中から予め定めたルールに従って発音すべき音高を選択するアサイナを複数設け、各アサイナが選択した音高を、そのアサイナと対応する音色で発音させることも知られている。
そして、この複数のアサイナを用いることにより、例えば1のアサイナに低音側の音高を選択させ、他のアサイナに高音側の音高を選択させるようにルールを定めておけば、自動的に低音側と高音側の音(例えば伴奏とメロディ)を異なる音色で弾き分けることができる。
このような電子楽器については、例えば特許文献2に記載がある。
In addition, in an electronic musical instrument, there are provided a plurality of assigners for selecting pitches to be pronounced from predetermined pitches according to a predetermined rule, and the pitches selected by each assigner are represented by a tone corresponding to the assigner. It is also known to be pronounced.
Then, by using this plurality of assigners, for example, if a rule is set so that one assigner selects the lower pitch and the other assigners select the higher pitch, the bass is automatically set. The high-side and high-side sounds (for example, accompaniment and melody) can be played with different tones.
Such an electronic musical instrument is described in Patent Document 2, for example.

またこれらの他、鍵盤の鍵域を2つに分け、押鍵操作のされた鍵域により、異なるパートの音色を発音させるようにした「スプリット」の機能を備えた電子楽器も知られている。   In addition to these, there is also known an electronic musical instrument having a “split” function in which the key range of the keyboard is divided into two parts and the timbres of different parts are generated by the key range where the key is pressed. .

特開2010−79179号公報JP 2010-79179 A 特許第2565069号公報Japanese Patent No. 2565069

ところで、従来のスプリット機能は、単に押鍵位置が属する鍵域と対応する音色で発音するのみであるので、使える音色が限られ、演奏が単調になるという問題があった。
また、特許文献1に記載の電子楽器においては、どのパートをどの押鍵に割り当てるかは、押鍵の位置によらず、押鍵数に応じて決まるため、楽曲中での各パートの位置づけを変化させながら演奏するといった柔軟な演奏は難しいという問題があった。
By the way, since the conventional split function simply generates a sound with a timbre corresponding to the key range to which the key depression position belongs, there is a problem that the usable timbre is limited and the performance becomes monotonous.
In addition, in the electronic musical instrument described in Patent Document 1, which part is assigned to which key press is determined according to the number of key presses regardless of the key press position. There was a problem that flexible performance such as playing while changing was difficult.

また、特許文献2に記載の電子楽器においては、各アサイナに設定する音高選択のルールを工夫することにより、ある程度このような問題を回避可能である。しかし、ルールの設定にはルール毎の特性に関する知識が必要であり、行おうとする演奏の内容に合わせてその都度適切なルールを設定することは難しいという問題があった。
なお、このような問題は、電子楽器が鍵盤楽器でない場合であっても、同様に生じ得るものである。
Moreover, in the electronic musical instrument described in Patent Document 2, such a problem can be avoided to some extent by devising a pitch selection rule set for each assigner. However, the rule setting requires knowledge about the characteristics of each rule, and there is a problem that it is difficult to set an appropriate rule each time according to the content of the performance to be performed.
Such a problem can occur similarly even when the electronic musical instrument is not a keyboard musical instrument.

この発明は、このような事情に鑑みてなされたものであり、それぞれ音高と対応する複数の操作部における発音指示操作に応じて複数のパートで発音を行う場合において、各パートの発音音高を、演奏者の演奏操作の意図に沿ってより柔軟に決定できるようにすることを目的とする。   The present invention has been made in view of such circumstances, and in the case where sound generation is performed with a plurality of parts in response to sound generation instruction operations at a plurality of operation units corresponding to the respective pitches, Is to be able to determine more flexibly in accordance with the intention of the performer's performance operation.

上記の目的を達成するため、この発明の電子楽器は、それぞれ音高と対応する複数の操作部のうち発音指示操作がなされている操作部の音高に、複数の発音パートを予め定められた規則に従って割り当てる割当手段と、上記複数の操作部と対応する音域中に複数の部分音域を設定する部分音域設定手段と、上記複数の部分音域のうちどの部分音域の操作部において発音開始操作がなされたかに応じて、上記割り当てに用いる規則を切り替える切替手段とを設けたものである。   In order to achieve the above object, in the electronic musical instrument of the present invention, a plurality of pronunciation parts are predetermined for the pitches of the operation units where the sound generation instruction operation is performed among the plurality of operation units corresponding to the pitches. The assigning means assigned according to the rules, the partial range setting means for setting a plurality of partial ranges in the range corresponding to the plurality of operation units, and the sound generation start operation in any partial range operation unit among the plurality of partial ranges Switching means for switching the rule used for the assignment according to the above.

このような電子楽器において、上記切替手段が、上記複数の操作部のいずれにも上記発音指示操作がなされていない状態で上記複数の操作部のいずれかに上記発音開始操作がなされた場合に、その発音開始操作がなされた操作部の音高を含む部分音域と対応する規則を、上記割り当てに用いる規則として選択し、その選択をその後のあるタイミングまで有効とするようにするとよい。   In such an electronic musical instrument, when the switching means performs the sound generation start operation on any of the plurality of operation units in a state where the sound generation instruction operation is not performed on any of the plurality of operation units, A rule corresponding to a partial range including the pitch of the operation unit on which the sound generation start operation is performed may be selected as a rule used for the assignment, and the selection may be valid until a certain timing thereafter.

さらに、上記あるタイミングを、上記複数の操作部のいずれにも上記発音指示操作がなされていない状態となるタイミングとするとよい。
あるいは、上記あるタイミングを、上記複数の操作部のいずれかに発音停止操作がなされた後、上記複数の操作部のいずれかに新たに上記発音開始操作がなされるタイミングとするとよい。
また、上記の各電子装置において、上記規則が、上記操作部に対する上記発音停止操作に応じて上記発音パートの割り当てをやり直すか否かの情報を含むとよい。
この発明は、装置として実現する他、プログラム、方法、システム、その他任意の形態で実現することができる。
Furthermore, the certain timing may be a timing at which the sound generation instruction operation is not performed on any of the plurality of operation units.
Alternatively, the certain timing may be set as a timing at which the sound generation start operation is newly performed on any of the plurality of operation units after the sound generation stop operation is performed on any of the plurality of operation units.
In each of the electronic devices, the rule may include information on whether or not to reassign the sounding part in response to the sounding stop operation on the operation unit.
The present invention can be implemented as an apparatus, a program, a method, a system, or any other form.

以上のようなこの発明の電子楽器、プログラム及び発音音高選択方法によれば、それぞれ音高と対応する複数の操作部における発音指示操作に応じて複数のパートで発音を行う場合において、各パートの発音音高を、演奏者の演奏操作の意図に沿ってより柔軟に決定できるようにすることができる。   According to the electronic musical instrument, the program, and the pronunciation pitch selection method of the present invention as described above, in the case where sound is generated in a plurality of parts in response to the sound generation instruction operation in the plurality of operation sections respectively corresponding to the pitch, Can be determined more flexibly according to the intention of the player's performance operation.

本発明の第1実施形態である電子楽器のハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the electronic musical instrument which is 1st Embodiment of this invention. 図1に示した電子楽器における、アサイナを用いた発音制御に関連する機能の機能ブロック図である。FIG. 2 is a functional block diagram of functions related to sound generation control using an assigner in the electronic musical instrument shown in FIG. 1. 図1に示した電子楽器が用いる押鍵リストの例を示す図である。It is a figure which shows the example of the key press list | wrist used with the electronic musical instrument shown in FIG. アサイナに設定する、発音音高選択規則の例を示す図である。It is a figure which shows the example of the pronunciation pitch selection rule set to an assigner. 図1に示した電子楽器においてCPUが実行する処理を示すフローチャートである。It is a flowchart which shows the process which CPU performs in the electronic musical instrument shown in FIG. 第1実施形態における、ユーザが行う演奏操作と、それに応じて各アサイナが選択する発音音高との関係を示す図である。It is a figure which shows the relationship between the performance operation which a user performs in 1st Embodiment, and the pronunciation pitch which each assigner selects according to it. その別の例を示す図である。It is a figure which shows the other example. 第1実施形態の比較例における、図6と対応する関係を示す図である。It is a figure which shows the relationship corresponding to FIG. 6 in the comparative example of 1st Embodiment. 第2の実施形態における発音音高選択規則の例を示す図である。It is a figure which shows the example of the pronunciation pitch selection rule in 2nd Embodiment. 第2の実施形態の電子楽器においてCPUが実行する処理を示す、図5と対応するフローチャートである。6 is a flowchart corresponding to FIG. 5, showing processing executed by a CPU in the electronic musical instrument of the second embodiment. 第2実施形態における、ユーザが行う演奏操作と、それに応じて各アサイナが選択する発音音高との関係を示す図である。It is a figure which shows the relationship between the performance operation which a user performs in 2nd Embodiment, and the pronunciation pitch which each assigner selects according to it. 複数の発音パートの割り当て規則の別の例を示す図である。It is a figure which shows another example of the allocation rule of a several pronunciation part.

以下、この発明を実施するための形態を図面に基づいて具体的に説明する。
〔第1実施形態:図1乃至図7〕
図1は、本発明の第1実施形態である電子楽器のハードウェア構成を示すブロック図である。
図1に示すように、電子楽器10は、CPU11、ROM12、RAM13、記憶装置14、通信インタフェース(I/F)15、検出回路16、表示回路17、音源回路18を備え、これらをシステムバス19により接続している。また、電子楽器10は、CPU11に接続するタイマ21、検出回路16に接続する演奏操作子22及び設定操作子23、表示回路17に接続するディスプレイ24、音源回路18に接続するDAC(デジタルアナログ変換回路)25及びサウンドシステム26も備える。
Hereinafter, embodiments for carrying out the present invention will be specifically described with reference to the drawings.
[First Embodiment: FIGS. 1 to 7]
FIG. 1 is a block diagram showing a hardware configuration of an electronic musical instrument according to the first embodiment of the present invention.
As shown in FIG. 1, the electronic musical instrument 10 includes a CPU 11, a ROM 12, a RAM 13, a storage device 14, a communication interface (I / F) 15, a detection circuit 16, a display circuit 17, and a sound source circuit 18. Connected by. The electronic musical instrument 10 includes a timer 21 connected to the CPU 11, a performance operator 22 and setting operator 23 connected to the detection circuit 16, a display 24 connected to the display circuit 17, and a DAC (digital / analog conversion) connected to the tone generator circuit 18. Circuit) 25 and a sound system 26.

そして、CPU11が、RAM13をワークエリアとしてROM12又は記憶装置14に記憶された所要のプログラムを実行することにより、電子楽器10全体を制御し、演奏操作の検出、演奏操作子の操作状態に応じた発音音高の選択、その選択に従った発音の制御等の各種機能を実現する。CPU11に接続されるタイマ21は、基本クロック信号、割り込み処理タイミング等をCPU11に供給する。
なお、ROM12には、上記のプログラムの他、音色に対応する波形データや自動演奏データ、自動伴奏データ(伴奏スタイルデータ)などの各種データファイル、各種パラメータ及び各種テーブル等も記憶する。
Then, the CPU 11 controls the entire electronic musical instrument 10 by executing a required program stored in the ROM 12 or the storage device 14 using the RAM 13 as a work area, thereby detecting the performance operation and responding to the operation state of the performance operator. Various functions such as selection of pronunciation pitch and control of pronunciation according to the selection are realized. A timer 21 connected to the CPU 11 supplies a basic clock signal, interrupt processing timing, and the like to the CPU 11.
In addition to the above programs, the ROM 12 also stores various data files such as waveform data corresponding to timbre, automatic performance data, automatic accompaniment data (accompaniment style data), various parameters, various tables, and the like.

RAM13は、フラグ、レジスタ、各種パラメータ等を記憶するCPU11のワークエリアの他、再生バッファ等のバッファ領域としても用いる。
記憶装置14は、ハードディスク、半導体メモリ等の記録媒体とその駆動装置の組み合わせの少なくとも1つで構成される。
通信I/F15は、サーバ、音響機器、外部コントローラ等の外部装置と通信を行うためのインタフェースであり、有線、無線を問わず、任意の規格の通信手段を用いて構成することができる。例えば、USB(Universal Serial Bus)やMIDI(Musical Instrument Digital Interface)_I/Fを用いることが考えられる。
The RAM 13 is used as a buffer area such as a reproduction buffer in addition to the work area of the CPU 11 that stores flags, registers, various parameters, and the like.
The storage device 14 is composed of at least one of a combination of a recording medium such as a hard disk or a semiconductor memory and a driving device thereof.
The communication I / F 15 is an interface for communicating with an external device such as a server, an audio device, an external controller, and the like, and can be configured using communication means of any standard regardless of wired or wireless. For example, it is possible to use USB (Universal Serial Bus) or MIDI (Musical Instrument Digital Interface) _I / F.

検出回路16は、演奏操作子22及び設定操作子23をシステムバス19に接続するためのインタフェースである。
演奏操作子22は、検出回路16に接続され、ユーザの演奏操作に従い、演奏情報(演奏データ)を供給する。演奏操作子22は、ユーザの演奏操作を受け付けるための、それぞれ音高と対応する複数の操作部を備える。そして、該ユーザの操作部に対する操作開始タイミング及び終了タイミングを、それぞれユーザが操作した操作部に対応する音高の情報を含むキーオンデータ及びキーオフデータとして、検出回路16を通じてCPU11に供給する。また、演奏操作子22は、ユーザの演奏操作に応じてベロシティ値等の各種パラメータを供給することも可能である。なお、本実施例では、鍵盤型の演奏操作子22を備え、上記各操作部が鍵であるとして説明するが、これに限るものではない。
The detection circuit 16 is an interface for connecting the performance operator 22 and the setting operator 23 to the system bus 19.
The performance operator 22 is connected to the detection circuit 16 and supplies performance information (performance data) according to a user's performance operation. The performance operator 22 includes a plurality of operation units each corresponding to a pitch for receiving a user's performance operation. Then, the operation start timing and end timing for the operation unit of the user are supplied to the CPU 11 through the detection circuit 16 as key-on data and key-off data including pitch information corresponding to the operation unit operated by the user. The performance operator 22 can also supply various parameters such as a velocity value in accordance with a user's performance operation. In the present embodiment, the description will be made assuming that the keyboard-type performance operation element 22 is provided and each operation unit is a key. However, the present invention is not limited to this.

また、設定操作子23は、例えば、ボタン、スライダ、ロータリーエンコーダ、文字入力用キーボード、マウス等、ユーザの入力に応じた信号を出力できるものならどのようなものでもよい。また、設定操作子23は、ディスプレイ24上に表示されるGUI(Graphical User Interface)に対する操作を行うためのポインティングデバイスや、ディスプレイ24に積層したタッチパネルでもよい。
いずれにせよ、ユーザは、設定操作子23を用いて、各種入力及び設定、選択をすることができる。
The setting operator 23 may be any device that can output a signal corresponding to a user input, such as a button, a slider, a rotary encoder, a character input keyboard, and a mouse. The setting operator 23 may be a pointing device for performing an operation on a GUI (Graphical User Interface) displayed on the display 24 or a touch panel stacked on the display 24.
In any case, the user can perform various inputs, settings, and selections using the setting operator 23.

表示回路17は、ディスプレイ24をシステムバス19に接続するためのインタフェースである。
ディスプレイ24は、電子楽器10の設定のための各種情報や、電子楽器10の動作状態等を表示するための表示手段であり、例えば液晶表示装置や発光ダイオード(LED)等により構成することができる。
The display circuit 17 is an interface for connecting the display 24 to the system bus 19.
The display 24 is a display means for displaying various information for setting the electronic musical instrument 10, an operation state of the electronic musical instrument 10, and the like, and can be configured by, for example, a liquid crystal display device, a light emitting diode (LED), or the like. .

音源回路18は、CPU11からの発音指示に応じて、複数の発音ch(チャンネル)でそれぞれ楽音信号(デジタル波形データ)を生成する機能を備える。CPU11からの発音指示には、音色、音高、音量等の指定が含まれる。CPU11は、演奏操作子22の演奏操作を検出した場合に、アサイナの機能により、押鍵中の鍵の音高から、各アサイナと対応する発音を行わせる音高を選択し、その選択に従った発音を音源回路18に指示する。その詳細については後述する。   The tone generator circuit 18 has a function of generating musical tone signals (digital waveform data) using a plurality of tone generation channels (channels) in response to a tone generation instruction from the CPU 11. The sound generation instruction from the CPU 11 includes designation of tone color, pitch, volume, and the like. When the CPU 11 detects the performance operation of the performance operator 22, the assigner function selects the pitches for sounding corresponding to the assigners from the pitches of the keys being pressed, and follows the selection. The tone generator circuit 18 is instructed to generate the sound. Details thereof will be described later.

なお、音源回路18は、記憶装置14、ROM12又はRAM13等に記録された波形データ、オーディオデータ、自動伴奏データ、自動演奏データ又は、通信I/F15に接続された外部機器等から供給される演奏信号、MIDI信号、フレーズ波形データ等に応じて楽音信号を生成することも可能である。また、音源回路18は、生成した楽音信号に各種音楽的効果を付加する機能も備える。   The sound source circuit 18 is a waveform data, audio data, automatic accompaniment data, automatic performance data recorded in the storage device 14, ROM 12 or RAM 13, etc., or a performance supplied from an external device connected to the communication I / F 15 or the like. It is also possible to generate a musical sound signal according to a signal, MIDI signal, phrase waveform data, and the like. The tone generator circuit 18 also has a function of adding various musical effects to the generated musical sound signal.

そして、音源回路18は、生成した楽音信号をDAC25に出力する。DAC25はこの楽音信号をアナログ音響信号に変換し、DAC25に接続されているサウンドシステム26に供給する。サウンドシステム26は、アンプ、スピーカを含む発音手段であり、DAC25から供給されるアナログ音響信号を、発音出力する。DAC25及びサウンドシステム26は、電子楽器10の外部にあってもよい。
以上の電子楽器10において、特徴的な点は、演奏操作子22が演奏操作を受け付け可能な音域に設定した部分音域に関係するアサイナの動作制御である。そこで、次にアサイナの動作制御についてより具体的に説明する。
The tone generator circuit 18 outputs the generated musical sound signal to the DAC 25. The DAC 25 converts the musical sound signal into an analog acoustic signal and supplies it to the sound system 26 connected to the DAC 25. The sound system 26 is sound generation means including an amplifier and a speaker, and outputs an analog sound signal supplied from the DAC 25. The DAC 25 and the sound system 26 may be outside the electronic musical instrument 10.
In the electronic musical instrument 10 described above, a characteristic point is the operation control of the assigner related to the partial range set as the range in which the performance operator 22 can accept the performance operation. Therefore, the operation control of the assigner will be described more specifically.

図2に、電子楽器10における、アサイナを用いた発音制御に関連する機能の機能ブロック図を示す。
図2に示すように、電子楽器10は、発音指示受付部31、操作状態検出部32、割当制御部33、部分音域設定部34、選択規則切替部35、楽音生成部36、出力部37を備える。これらのうち、発音指示受付部31の機能は演奏操作子22及び検出回路16により実現され、楽音生成部36の機能は音源回路18により実現され、出力部37の機能はサウンドシステム26により実現される。他の各部の機能はCPU11により実現される。
FIG. 2 is a functional block diagram of functions related to sound generation control using the assigner in the electronic musical instrument 10.
As shown in FIG. 2, the electronic musical instrument 10 includes a sound generation instruction reception unit 31, an operation state detection unit 32, an assignment control unit 33, a partial range setting unit 34, a selection rule switching unit 35, a musical sound generation unit 36, and an output unit 37. Prepare. Among these, the function of the sound generation instruction receiving unit 31 is realized by the performance operator 22 and the detection circuit 16, the function of the musical tone generation unit 36 is realized by the sound source circuit 18, and the function of the output unit 37 is realized by the sound system 26. The The functions of other units are realized by the CPU 11.

そして、発音指示受付部31は、ユーザによる発音指示操作を受け付ける機能を備える。例えば、演奏操作子22である鍵盤がいずれかの鍵の押鍵操作(発音開始操作)を受け付けると、発音指示受付部31はこれを検出し、操作状態検出部32に対し、押鍵操作があったこと及び押鍵された鍵の音高であるノートナンバを示す操作信号であるキーオンデータを送信する。離鍵操作(発音停止操作)を受け付けた場合には、同様に離鍵操作があったこと及びその鍵のノートナンバを示すキーオフデータを送信する。   The sound generation instruction receiving unit 31 has a function of receiving a sound generation instruction operation by the user. For example, when the keyboard as the performance operator 22 receives a key pressing operation (pronunciation start operation) of any key, the sound generation instruction receiving unit 31 detects this, and the operation state detecting unit 32 performs the key pressing operation. Key-on data, which is an operation signal indicating that there is a note and the note number that is the pitch of the pressed key, is transmitted. When a key release operation (pronunciation stop operation) is accepted, similarly, key-off data indicating that there has been a key release operation and the note number of the key is transmitted.

なお、以下の説明において、押鍵のように発音開始を指示するための操作を「キーオン操作」、離鍵のように発音停止を指示するための操作を「キーオフ操作」と呼ぶことにする。また、キーオン操作からキーオフ操作までの状態を、「操作中」と呼ぶことにする。鍵盤の鍵で言えば、「押鍵中」がこれに該当する。ただし、発音開始の指示があった場合でも、必ずしも実際に発音が開始されるとは限らない。一定の音高について発音を行わない設定を可能としたり、同時発音数に制限を設けたりすることがあり得るためである。また、「操作中」の状態は、発音開始が指示されてから発音停止が指示されるまでの状態であるから、発音の継続が指示されている状態であるという意味で、発音指示操作がなされている状態であると考えることができる。   In the following description, an operation for instructing the start of sound generation such as a key press is referred to as a “key-on operation”, and an operation for instructing a stop of sound generation such as a key release is referred to as a “key-off operation”. A state from the key-on operation to the key-off operation is referred to as “in operation”. Speaking of the keys on the keyboard, “Now pressing” corresponds to this. However, even when a sounding start instruction is given, sounding is not always started. This is because it is possible to make a setting that does not generate sound for a certain pitch, or to limit the number of simultaneous sounds. In addition, since the “in operation” state is a state from the start of sound generation until the sound stop is instructed, the sound generation instruction operation is performed in the meaning that the continuation of sound generation is instructed. Can be thought of as being.

操作状態検出部32は、発音指示受付部31から送信される操作信号に基づき、現在の演奏操作子22の操作状態(ここでは鍵盤なので押鍵状態)を示すデータを作成する。より具体的には、操作中の(鍵の)音高を示す押鍵リストを作成する。   Based on the operation signal transmitted from the sound generation instruction receiving unit 31, the operation state detection unit 32 creates data indicating the current operation state of the performance operator 22 (here, the key is pressed because it is a keyboard). More specifically, a key-press list that indicates the pitch of the key being operated is created.

ここで、図3に、操作状態検出部32が作成する押鍵リストの時系列的な変化の例を示す。
図3において、「時刻」は、押鍵リストの作成時刻を示す。カッコ内の数字は、操作状態検出部32がキーオン操作又はキーオフ操作を検出(キーオンデータ又はキーオフデータを受信)する度に1ずつ増加する、時間の経過を示す変数である。
Here, FIG. 3 shows an example of a time-series change of the key press list created by the operation state detection unit 32.
In FIG. 3, “Time” indicates the creation time of the key press list. The numbers in parentheses are variables indicating the passage of time, which increases by one each time the operation state detection unit 32 detects a key-on operation or key-off operation (receives key-on data or key-off data).

なお、人が演奏を行う場合には、同時に複数の鍵の操作を行ったつもりでも、寸分違わず同じタイミングでその操作を行うことは困難である。そこで、複数の操作のタイミング差が同時操作とみなせる程度の所定閾値(例えば15〜30ミリ秒程度)以内であれば、それらの操作は同時に行われたものとみなして取り扱うことが望ましい。ここではこの取り扱いをするとして説明する。ある鍵のキーオン操作と別の鍵のキーオフ操作が同時に行われることもあり得る。   When a person performs, even if he intends to operate a plurality of keys at the same time, it is difficult to perform the operation at the same timing without any difference. Therefore, if the timing difference between a plurality of operations is within a predetermined threshold (for example, about 15 to 30 milliseconds) that can be regarded as simultaneous operations, it is desirable to treat those operations as being performed at the same time. Here, explanation will be made assuming that this is handled. A key-on operation for one key and a key-off operation for another key may be performed simultaneously.

「検出操作」は、操作状態検出部32が検出した操作を示す。アンダーバーの前が操作の音高を、アンダーバーの後ろが、その操作がキーオン(on)であるかキーオフ(off)であるかを示す。
「押鍵リスト」は、各時点で操作中の鍵の音高のリストである。この押鍵リストは、例えば、検出したキーオン操作の音高をリストに追加し、キーオフ操作の音高をリストから削除することにより、更新することができる。
“Detection operation” indicates an operation detected by the operation state detection unit 32. The pitch before the underbar indicates the pitch of the operation, and after the underbar indicates whether the operation is key-on (on) or key-off (off).
The “key press list” is a list of pitches of keys being operated at each time point. This key press list can be updated, for example, by adding the detected key-on operation pitch to the list and deleting the key-off operation pitch from the list.

なお、図3には、押鍵リストの内容を時系列的に示したが、操作状態検出部32は、最新の押鍵リストのみ保持していればよく、過去の押鍵リストを保持することは必須ではない。しかし、過去の押鍵リストの履歴をある程度の期間保持しておき、操作の履歴に基づきアサイナASによる音高選択を制御できるようにすることも妨げられない。   Although the contents of the key press list are shown in FIG. 3 in time series, the operation state detection unit 32 only needs to hold the latest key press list, and holds the past key press list. Is not required. However, it is not impeded that the history of the past key press list is retained for a certain period of time and the pitch selection by the assigner AS can be controlled based on the history of operation.

図2の説明に戻ると、操作状態検出部32はさらに、キーオンデータを受信した場合には、作成した押鍵リストを割当制御部33に供給し、発音する音高の選択を行わせる。具体的な供給先は、割当制御部33が備える第1アサイナAS−1から第nアサイナAS−nまでのn個のアサイナのうち、機能が有効になっているアサイナである。
さらに、操作状態検出部32は、キーオフデータを受信した場合に、楽音生成部36に対し、キーオフ操作が行われた音高の発音を停止させる機能も備える。
Returning to the description of FIG. 2, when the key-on data is received, the operation state detection unit 32 further supplies the created key press list to the allocation control unit 33 to select a pitch to be generated. A specific supply destination is an assigner whose function is valid among n assigners from the first assigner AS-1 to the nth assigner AS-n included in the allocation control unit 33.
Further, the operation state detection unit 32 has a function of causing the tone generation unit 36 to stop the sound generation of the pitch for which the key-off operation has been performed when key-off data is received.

次に、割当制御部33は、演奏操作子22のうち押鍵中の鍵の音高に、複数の発音パートを予め定められた規則に従って割り当てる機能を備える割当手段である。そして、1又は複数(ここではn個とする)のアサイナAS−1〜AS−nを備える(アサイナの個体を特定する必要がない場合は符号「AS」を用いる)。これらの各アサイナASはそれぞれ、操作状態検出部32からキーオン操作に応じて供給される押鍵リストを参照し、操作中(押鍵中)の音高の中から、楽音生成部36に発音させる音高(ノート)を選択する選択手段である。この選択は、アサイナ毎に設定される規則に従って行う。この各アサイナASの選択は、アサイナASに対応付けられているパートを、そのアサイナが選択した音高に割り当てることに該当する。
また、各アサイナASにはそれぞれ、部分音域毎に音高選択の規則であるアサイン規則が設定されており、各アサイナASは、これらのうち選択規則切替部35により選択された、キーオン操作がなされた部分音域と対応するアサイン規則を用いて発音させる音高の選択を行う。
Next, the allocation control unit 33 is an allocation unit having a function of allocating a plurality of sound generation parts to the pitch of the key being pressed in the performance operator 22 in accordance with a predetermined rule. Then, one or a plurality of (here, n) assigners AS-1 to AS-n are provided (in the case where it is not necessary to specify an individual of the assigner, the code “AS” is used). Each of these assigners AS refers to the key pressing list supplied from the operation state detection unit 32 according to the key-on operation, and causes the musical tone generation unit 36 to generate a sound from the pitch being operated (during key pressing). This is a selection means for selecting a pitch (note). This selection is performed according to a rule set for each assigner. The selection of each assigner AS corresponds to assigning the part associated with the assigner AS to the pitch selected by the assigner.
Each assigner AS is assigned with an assignment rule that is a pitch selection rule for each partial range, and each assigner AS is subjected to a key-on operation selected by the selection rule switching unit 35. The pitch to be pronounced is selected using the assigned rule corresponding to the selected partial range.

部分音域設定部34は、演奏操作子22が演奏操作を受け付け可能な音域中に複数の部分音域を設定する機能を備える部分音域設定手段である。ここでは、図6に示すように、演奏操作子22が演奏操作を受け付け可能な音域中に分割点を設定し、その分割点により音域を分割して、分割点より低音側を部分音域A、高音側を部分音域Bとしている。   The partial range setting unit 34 is a partial range setting unit having a function of setting a plurality of partial ranges in a range in which the performance operator 22 can accept a performance operation. Here, as shown in FIG. 6, a division point is set in a sound range in which the performance operator 22 can accept a performance operation, the sound range is divided by the division point, and the low sound side from the division point is set to the partial sound range A, The high sound side is defined as a partial sound range B.

しかし、部分音域毎に具体的に音高範囲を定めることも可能であるし、部分音域の数は2に限られない。また、隣接する部分音域間にどの部分音域にも属しない音高があったり、複数の部分音域に属する音高があったりしてもよい。いずれにせよ、この部分音域の設定は、ユーザが設定操作子23を用いて随時変更できるようにするとよい。   However, the pitch range can be specifically defined for each partial range, and the number of partial ranges is not limited to two. Further, there may be pitches that do not belong to any partial pitch range between adjacent partial pitch ranges, or there may be pitches that belong to multiple partial pitch ranges. In any case, it is preferable that the setting of the partial sound range can be changed at any time by the user using the setting operation element 23.

選択規則切替部35は、部分音域設定部34が設定した複数の部分音域のうちどの部分音域の音高の鍵にキーオン操作がなされたかに応じて、割当制御部33のアサイナASが発音させる音高(ノート)の選択に用いるアサイン規則を切り替える機能を備える切替手段である。   The selection rule switching unit 35 generates a sound to be generated by the assigner AS of the assignment control unit 33 according to which key of which pitch is selected among the plurality of partial ranges set by the partial range setting unit 34. This is a switching means having a function of switching an assignment rule used for selecting high (note).

この切り替えは、キーオン操作を検出する度に行うことも妨げられない。しかし、いずれの鍵も押鍵されていない状態でいずれかの鍵にキーオン操作がされた場合(このようなキーオン操作を「最初のキーオン操作」という)に、その鍵の音高を含む部分音域と対応するアサイン規則を有効にする選択をし、その選択をその後のあるタイミングまで有効とするとよい。   This switching is not prevented from being performed every time a key-on operation is detected. However, if a key-on operation is performed on any key without any key being pressed (such a key-on operation is referred to as the “first key-on operation”), the partial range including the pitch of that key is included. It is good to select the assignment rule corresponding to and to make it valid until a certain timing thereafter.

この「あるタイミング」は、全ての鍵が離鍵されたタイミングとすることが考えられる。この場合、次のキーオン操作は、いずれの鍵も押鍵されていない状態で行われることになるため、最初のキーオン操作となるからである。
あるいは、いずれかの鍵がキーオフ操作された後でいずれかの鍵にキーオン操作をされるタイミングとすることが考えられる。一部の鍵が押鍵されたままであっても、キーオフ操作を挟んで次にキーオン操作があった場合には、その箇所を音楽モチーフの区切りと考えることができ、その時点のキーオン操作に従って以後の楽音を選択したいというニーズがあると考えられるためである。この場合において、キーオフ操作が行われる鍵と、次のキーオン操作が行われる鍵とは、同じであっても、異なっていてもよい。また、キーオフ操作が複数続けてあった後にキーオン操作があった場合も、「あるタイミング」に該当する。
The “certain timing” may be a timing when all keys are released. In this case, the next key-on operation is performed in a state in which no key is depressed, and thus is the first key-on operation.
Alternatively, it can be considered that the timing when any key is key-on operated after any key is key-off operated. Even if some keys remain pressed, if there is a next key-on operation across the key-off operation, that part can be considered as a delimiter of the music motif. This is because there seems to be a need to select a musical tone. In this case, the key on which the key-off operation is performed and the key on which the next key-on operation is performed may be the same or different. Further, a case where a key-on operation is performed after a plurality of key-off operations are continued corresponds to “a certain timing”.

ここで、図4に、アサイナに設定するアサイン規則の例を示す。
図4は、4つのアサイナを用いる場合の例であり、各アサイナに設定するアサイン規則は、部分音域毎に設けられ、それぞれ「対象押鍵」及び「優先方式」の項目からなる。
「対象押鍵」の項目は、押鍵中の音高のうちどの範囲を選択の対象として考慮するかを定める項目である。「全押鍵」は、押鍵中の音高全てを考慮することを示す。「下からX音を除く」は、押鍵中の音高のうち下からX音以外の音高のみ考慮することを示す。従って、X音以下しか押鍵がない場合は、いずれの音高も考慮せず、音高を選択しないことになる。「最低音を除く」は、X=1の場合である。「上からX音を除く」及び「最高音を除く」は、同様に押鍵中の音高のうち上からX音以外の音高のみ考慮することを示す。
また、図4には示していないが、押鍵中の音高のうち低音側からX個の音高のみ(押鍵がX音未満の場合には全ての音高を)考慮することを示す「低音側X音」や、同様な「高音側X音」の設定も可能である。
FIG. 4 shows an example of assignment rules set in the assigner.
FIG. 4 shows an example in which four assigners are used, and the assignment rule set for each assigner is provided for each partial range, and includes items of “target key press” and “priority method”, respectively.
The item “target key press” is an item that determines which range of pitches during key press should be considered as a selection target. “Full key press” indicates that all pitches during key press are considered. “Exclude X sound from the bottom” indicates that only the pitches other than the X sound from the bottom are considered among the pitches being pressed. Therefore, when there is a key depression of X sounds or less, any pitch is not considered and no pitch is selected. “Excludes lowest sound” is when X = 1. “Exclude the X sound from the top” and “Exclude the highest sound” similarly indicate that only the pitches other than the X sound from the top among the pitches being pressed are considered.
Moreover, although not shown in FIG. 4, it shows that only X pitches from the low pitch side among the pitches during the key press are considered (all pitches when the key press is less than the X tone). “Low-side X sound” and similar “high-side X sound” can also be set.

優先方式の項目は、選択の対象として考慮する音高の中で、発音する音高をどのように選択するかを定める項目である。「高音優先」は、考慮する音高の中で最も高い音高を選択することを示す。「低音優先」は、考慮する音高の中で最も低い音高を選択することを示す。   The item of the priority method is an item that determines how to select a pitch to be generated among the pitches considered as a selection target. “High pitch priority” indicates that the highest pitch among the pitches to be considered is selected. “Low-tone priority” indicates that the lowest pitch among the pitches to be considered is selected.

以上から、図4の例では、部分音域Aと対応する規則として、第1アサイナについては、押鍵数が4以上であれば押鍵中の音高のうち最も高い音高を選択し、押鍵数が3以下であればいずれの音高も選択しない規則が設定されている。
第2アサイナについては、押鍵数が3以上であれば押鍵中の音高のうち下から3番目の音高を選択し、押鍵数が2以下であればいずれの音高も選択しない規則が設定されている。
第3アサイナについては、押鍵数が2以上であれば、押鍵中の音高のうち下から2番目の音高を選択し、押鍵数が1以下であればいずれの音高も選択しない規則が設定されている。
第4アサイナについては、押鍵中の音高のうち最も低い音高を選択する規則が設定されている。
From the above, in the example of FIG. 4, as a rule corresponding to the partial range A, for the first assigner, if the number of key presses is 4 or more, the highest pitch among the pitches being pressed is selected and pressed. If the number of keys is 3 or less, a rule that does not select any pitch is set.
For the second assigner, if the number of key presses is 3 or more, the third pitch from the bottom among the pitches being pressed is selected, and if the number of key presses is 2 or less, no pitch is selected. Rules are set.
For the third assigner, if the number of key presses is 2 or more, select the second pitch from the bottom among the pitches being pressed, and if the number of key presses is 1 or less, select any pitch No rules are set.
For the fourth assigner, a rule for selecting the lowest pitch among the pitches being pressed is set.

また、部分音域Bと対応する規則として、第1アサイナについては、押鍵中の音高全てのうち最も高い音高を選択する規則が設定されている。
第2アサイナについては、押鍵数が2以上であれば押鍵中の音高のうち上から2番目の音高を選択し、押鍵数が1以下であればいずれの音高も選択しない規則が設定されている。
第3アサイナについては、押鍵数が3以上であれば、押鍵中の音高のうち上から3番目の音高を選択し、押鍵数が2以下であればいずれの音高も選択しない規則が設定されている。
第4アサイナについては、押鍵数が4以上であれば、押鍵中の音高のうち最も低い音高を選択し、押鍵数が3以下であればいずれの音高も選択しない規則が設定されている。
Further, as a rule corresponding to the partial pitch B, a rule for selecting the highest pitch among all pitches being pressed is set for the first assigner.
For the second assigner, if the number of key presses is 2 or more, the second pitch from the top among the pitches being pressed is selected, and if the key press number is 1 or less, no pitch is selected. Rules are set.
For the third assigner, if the number of key presses is 3 or more, select the third pitch from the top among the pitches being pressed, and if the number of key presses is 2 or less, select any pitch No rules are set.
For the 4th assigner, if the number of key presses is 4 or more, the lowest pitch among the pitches being pressed is selected, and if the number of key presses is 3 or less, no pitch is selected. Is set.

従って、部分音域Aと対応する規則を用いる場合、第1アサイナは、低音側の音が発音している時に高音側の音を選択させることを意識した規則を持つアサイナであり、第2〜第4アサイナは、低音側の音を、押鍵数に応じて選択させることを意識した規則を持つアサイナであると考えることができる。
また、部分音域Bと対応する規則を用いる場合、第1〜第3アサイナは、高音側の音を、押鍵数に応じて選択させることを意識した規則を持つアサイナであり、第4アサイナは、高音側の音が発音している時に低音側の音を選択させることを意識した規則を持つアサイナであると考えることができる。
図にないアサイナについては機能が無効化されていると考えればよい。
Therefore, when the rules corresponding to the partial range A are used, the first assigner is an assigner having rules that are conscious of selecting the high-pitched sound when the low-pitched sound is sounding. The 4 assigners can be considered to be assigners having rules that are conscious of selecting the low-pitched sound according to the number of key presses.
In addition, when using a rule corresponding to the partial sound range B, the first to third assigners are assigners having rules that are conscious of causing the high-pitched sound to be selected according to the number of key presses, and the fourth assigner is It can be thought of as an assigner with a rule that is conscious of letting the low-side sound be selected when the high-side sound is pronounced.
For assigners not shown in the figure, it can be considered that the function is disabled.

図2の割当制御部33の説明に戻る。
各アサイナASは、以上のうち選択規則切替部35が選択した規則に従い発音する音高を選択すると、楽音生成部36に対し、その選択した音高の楽音を発音開始するよう要求する。また、各アサイナASには対応する音色T1〜Tnが設定されており、楽音をその対応する音色で発音するよう要求する。なお、アサイナASには対応するパートを設定し、音色はパートに対応付けて設定することも可能である。この場合、アサイナASと音色とは、パートを介して対応付けられることになり、アサイナAS−nに対応付けられたパートを第nパートと表す。
この発音開始要求の際には、部分音域を意識する必要はない。
Returning to the description of the allocation control unit 33 in FIG.
When each assigner AS selects a pitch to be generated according to the rule selected by the selection rule switching unit 35 among the above, the assigner AS requests the tone generation unit 36 to start generating a tone having the selected pitch. Each assigner AS is set with a corresponding tone color T1 to Tn, and requests that a musical tone be generated with the corresponding tone color. It is also possible to set a corresponding part in the assigner AS and set the timbre in association with the part. In this case, the assigner AS and the timbre are associated with each other through the part, and the part associated with the assigner AS-n is represented as the nth part.
It is not necessary to be aware of the partial range when requesting the start of pronunciation.

なお、各アサイナASは、自身が最後に選択した音高がどの音高であるかの情報を、次に別の音高を選択するまで保持しておく。そして、音高の選択を行った場合でも、選択した音高が前回と変わらず、かつその音高が今回キーオン操作された音高でない(以前から操作中であった)音高である場合、楽音生成部36に対する発音の要求を行わないようにするとよい。この場合、該当のアサイナASが今回選択した音高については、今回検出されたキーオン操作とは関係なく、以前のキーオン操作に応じて開始した発音を継続することが望ましいと考えられるためである。   Each assigner AS holds information about which pitch is the last selected pitch until it selects another pitch next time. Even when the pitch is selected, if the selected pitch is the same as the previous pitch, and the pitch is not the pitch that was key-oned this time (which was being operated before), It is preferable not to make a request for sound generation to the tone generator 36. In this case, for the pitch selected by the assigner AS this time, it is considered that it is desirable to continue the pronunciation started in response to the previous key-on operation regardless of the key-on operation detected this time.

また、この例では説明を簡単にするため各アサイナが音高を1つ選択するものとして説明するが、複数の音高を選択可能な規則を設定することも可能である。高音優先で2音を選択する、等である。
また、複数のアサイナが同じ音高を選択しても問題ない。この場合、選択された音高について、複数の音色で発音することになる。
In this example, for the sake of simplicity, each assigner is described as selecting one pitch, but it is also possible to set a rule that allows selection of a plurality of pitches. Select two tones with priority on high tones, etc.
There is no problem even if a plurality of assigners select the same pitch. In this case, the selected pitch is pronounced with a plurality of timbres.

楽音生成部36は、m個の発音chTC1〜TCmを備える(発音chの個体を特定する必要がない場合は符号「TC」を用いる)。そして、アサイナASから発音開始の要求を受けると、発音中でない発音chを検索し、発見した発音chTCにて、発音開始要求で指定された音高及び音色の楽音の音響信号を生成(発音)させる。なお、図2では、アサイナASと発音chTCの間を線で結んでいるがこれらの間に固定的な対応関係があるわけではない。   The musical sound generation unit 36 includes m sound generation chTC1 to TCm (when there is no need to specify an individual sound generation ch, the code “TC” is used). When a request to start sounding is received from the assigner AS, a sounding channel that is not sounding is searched, and a sound signal of the tone and tone color specified in the sounding start request is generated by using the found sounding chTC (sounding). Let In FIG. 2, the assigner AS and the sounding chTC are connected by a line, but there is no fixed correspondence between them.

また、楽音生成部36は、操作状態検出部32から特定の音高の発音を停止するよう指示された場合に、発音chTCの中からその音高の発音を行っているものを検索し、その発音chに発音を停止させる機能も備える。この停止には、リリース状態への移行も含まれる。
そして、楽音生成部36は、各発音chTCが生成した音響信号をミキシングして出力部37に供給し、楽音の出力を行わせる。
In addition, when the operation state detection unit 32 instructs the musical sound generation unit 36 to stop the sound generation of a specific pitch, the music sound generation unit 36 searches the sound generation chTC for the sound generation of the pitch, It also has a function to stop the sound generation from stopping. This stop includes the transition to the release state.
Then, the musical sound generation unit 36 mixes the acoustic signals generated by the respective sound generation chTCs, supplies the mixed audio signals to the output unit 37, and outputs musical sounds.

次に、図2に示した機能のうち、CPU11が担う機能を実現するためにCPU11が実行する処理について説明する。
図5は、その処理のフローチャートである。
CPU11は、検出回路16からキーオンデータ及び/又はキーオフデータを受信した場合に、所要のプログラムを実行することにより図5のフローチャートに示す処理を開始する。なお、所定閾値以内のタイミング差で行われた操作を同時操作とみなすことは上述の通りである。
Next, processing executed by the CPU 11 in order to realize the function performed by the CPU 11 among the functions shown in FIG. 2 will be described.
FIG. 5 is a flowchart of the processing.
When the CPU 11 receives key-on data and / or key-off data from the detection circuit 16, the CPU 11 starts the processing shown in the flowchart of FIG. 5 by executing a required program. As described above, an operation performed with a timing difference within a predetermined threshold is regarded as a simultaneous operation.

図5の処理において、CPU11はまず、受信したキーオンデータ及び/又はキーオフデータが示す演奏操作子22の操作内容に基づき、図3を用いて説明した押鍵リストを更新する(S11)。
次に、CPU11は、今回検出した操作についてアサイン規則選択条件が満たされているか否か判断する(S12)。この条件は、アサイナASが用いるアサイン規則を再選択する条件である。そして、選択規則切替部35の説明で述べたように、最初のキーオン操作がされたこと、いずれかの鍵がキーオフ操作された後でいずれかの鍵にキーオン操作をされたこと、等とすることが考えられる。ユーザが任意にこの条件を変更することができるようにしてもよい。なおここでは、少なくとも「今回キーオン操作を検出したこと」を含む条件をアサイン規則選択条件として設定することとしている。すなわち、音高選択の規則は、キーオン操作に応じて選択(切替)するようにしている。
In the process of FIG. 5, the CPU 11 first updates the key pressing list described with reference to FIG. 3 based on the operation content of the performance operator 22 indicated by the received key-on data and / or key-off data (S11).
Next, the CPU 11 determines whether or not an assignment rule selection condition is satisfied for the operation detected this time (S12). This condition is a condition for reselecting the assignment rule used by the assigner AS. Then, as described in the description of the selection rule switching unit 35, it is assumed that the first key-on operation is performed, that any key is key-on operated after any key is key-off operated, and the like. It is possible. The user may arbitrarily change this condition. Here, at least a condition including “detection of key-on operation this time” is set as an assignment rule selection condition. In other words, the pitch selection rule is selected (switched) in response to a key-on operation.

ステップS12でYesである場合、CPU11は、図4に示したようにアサイナASに設定されているアサイン規則のうち、今回検出したキーオン操作の音高が属する部分音域と対応するアサイン規則を有効にする(S13)。複数の部分音域にまたがって同時にキーオンがあった場合にどちらの部分音域を優先するかは、予め設定しておく。
ステップS12でNoの場合、今回はアサイン規則の切り替えを行わないため、ステップS13をスキップする。
If Yes in step S12, the CPU 11 validates the assignment rule corresponding to the partial range to which the pitch of the key-on operation detected this time belongs, among the assignment rules set in the assigner AS as shown in FIG. (S13). It is set in advance which partial range is to be prioritized when there is a key-on across a plurality of partial ranges.
If No in step S12, the assignment rule is not switched this time, so step S13 is skipped.

いずれの場合も、CPU11は次に、検出した操作にキーオフが含まれているか否か判断する(S14)。複数の操作を同時に検出した場合、その中に1つでも該当のキーオフがあればYesとなる。
そして、ステップS14でYesの場合、CPU11は、検出したキーオフ操作に係る音高の発音停止を楽音生成部36に指示し(S15)、ステップS16に進む。ステップS14でNoの場合には、ステップS15をスキップしてステップS16に進む。
In either case, the CPU 11 next determines whether or not the detected operation includes key-off (S14). If a plurality of operations are detected at the same time, the answer is Yes if there is any corresponding key-off among them.
If the answer is Yes in step S14, the CPU 11 instructs the tone generator 36 to stop the tone generation related to the detected key-off operation (S15), and proceeds to step S16. If No in step S14, step S15 is skipped and the process proceeds to step S16.

次に、CPU11は、検出した操作にキーオンが含まれているか否か判断する(S16)。複数の操作を同時に検出した場合、その中に1つでも該当のキーオンがあればYesとなる。
そして、ステップS16でYesの場合、各アサイナに発音する音高を選択させるべく、ステップS17乃至S21の処理を実行する。なお、ステップS13でアサイン規則を選択した後は、どの部分音域にキーオンがあったかを考慮する必要はない。
Next, the CPU 11 determines whether or not the detected operation includes key-on (S16). When a plurality of operations are detected at the same time, if even one of them is a key-on, the answer is Yes.
In the case of Yes in step S16, the processing of steps S17 to S21 is executed in order to select the pitch to be generated by each assigner. Note that after selecting the assignment rule in step S13, it is not necessary to consider which partial sound range has been key-on.

音高選択の処理において、CPU11はまず、変数nに1を代入する(S17)。次に、第nアサイナAS−nについて有効になっているアサイン規則に従い、押鍵リストから発音する音高を選択する(S18)。そして、ステップS18で選択した音高で、第nアサイナAS−nと対応する第nパートの発音を開始するよう、楽音生成部36に指示する(S19)。この場合、発音に用いる音色は、第nパートについて設定されている音色である。   In the pitch selection process, the CPU 11 first assigns 1 to a variable n (S17). Next, according to the assignment rule that is valid for the nth assigner AS-n, a pitch to be generated is selected from the key pressing list (S18). Then, the musical sound generation unit 36 is instructed to start the sound generation of the nth part corresponding to the nth assigner AS-n at the pitch selected in step S18 (S19). In this case, the timbre used for sound generation is the timbre set for the nth part.

以上のステップS18及びS19が、アサイナAS1つ分の処理である。その後、CPU11は、現在処理したアサイナが最後のアサイナであるか否か判断し(S20)、最後でなければnを1加算して(S21)、ステップS18に戻って処理を繰り返す。
ステップS20でYesの場合、全てのアサイナに関する処理が終了したことがわかるため、処理を終了する。
The above steps S18 and S19 are processing for one assigner AS. Thereafter, the CPU 11 determines whether or not the currently processed assigner is the last assigner (S20). If not, the CPU 11 increments n by 1 (S21), and returns to step S18 to repeat the process.
In the case of Yes in step S20, since it is found that the processing related to all assigners has been completed, the processing is terminated.

以上の図5の処理が、この発明の発音音高選択方法の第1実施形態に係る処理である。また、ステップS12及びS13の処理が切替手順と、ステップS17乃至S21の処理が割当手順と対応する。
そして、以上の処理を実行することにより、CPU11は、最初のキーオン操作があった音高が属する部分音域と対応するアサイン規則で、各アサイナに、キーオン操作されている音高を発音音高として選択させ、アサイナと対応するパートの音色でその音高の発音を行わせることができる。このことにより、演奏者の演奏操作の意図に沿った柔軟な発音音高の選択を容易に実現することができる。また、この発音を行うために、各アサイナASに設定する音高選択の規則を特段複雑なものにする必要もない。
The above-described processing of FIG. 5 is processing according to the first embodiment of the pronunciation pitch selection method of the present invention. Further, the processes in steps S12 and S13 correspond to the switching procedure, and the processes in steps S17 to S21 correspond to the allocation procedure.
Then, by executing the above processing, the CPU 11 sets the pitch of the key-on operation to each assigner as the pronunciation pitch according to the assignment rule corresponding to the partial range to which the pitch of the first key-on operation belongs. It is possible to select, and to sound the pitch with the tone of the part corresponding to the assigner. As a result, it is possible to easily realize flexible selection of the tone pitch according to the intention of the player's performance operation. Further, it is not necessary to make the pitch selection rule set for each assigner AS particularly complicated in order to perform this sound generation.

次に、以上のアサイン規則切り替えの効果について、図6乃至図8を用いて説明する。
図6乃至図8はそれぞれ、ユーザが行う演奏操作と、それに応じて各アサイナが選択する発音音高との関係を示す図である。これらの図において、横軸が音高、縦軸が時間であり、各音高の位置に示した帯が、各音高の押鍵期間を示す。また、分割点よりも低音側が部分音域A、高音側が部分音域Bである。また、各アサイナと対応する矢印により、そのアサイナがいつどの音高を選択しているかを示している。
Next, the effect of the above assignment rule switching will be described with reference to FIGS.
FIGS. 6 to 8 are diagrams showing the relationship between the performance operation performed by the user and the pronunciation pitches selected by the assigners in accordance therewith. In these figures, the horizontal axis represents the pitch, the vertical axis represents the time, and the band shown at each pitch position indicates the key pressing period of each pitch. Further, the lower sound side is a partial sound range A and the high sound side is a partial sound range B from the dividing point. Also, an arrow corresponding to each assigner indicates when and which pitch is selected by that assigner.

図6の例は、初めに部分音域Bの音高nb4〜nb1の鍵を高音側から低音側に向かって順次押鍵数を増やしながら押鍵し、その後同時に離鍵し、次に、部分音域Aの音高na1〜na4の鍵を低音側から高音側に向かって順次押鍵数を増やしながら押鍵し、その後同時に離鍵する例である。なお、ステップS12で用いるアサイン規則選択条件は、最初の押鍵操作がされたこと、であるとする。
図3に示した押鍵リストは、図6の演奏操作を行った場合の、t(1)からt(6)までの各時点の押鍵リストである。
In the example of FIG. 6, first, the keys of the pitches nb4 to nb1 of the partial range B are pressed while increasing the number of key presses sequentially from the high side to the low side, then released simultaneously, and then the partial range. In this example, the keys of pitches na1 to na4 of A are pressed while increasing the number of key presses sequentially from the low pitch side to the high pitch side, and then released simultaneously. It is assumed that the assignment rule selection condition used in step S12 is that the first key pressing operation has been performed.
The key pressing list shown in FIG. 3 is a key pressing list at each time point from t (1) to t (6) when the performance operation of FIG. 6 is performed.

図6からわかるように、t(1)のタイミングでは、部分音域Bの音高nb4の鍵が最初に押鍵されるため、各アサイナASが用いるアサイン規則として、部分音域Bと対応する規則が選択される。そして、各アサイナASがそのアサイン規則に従って発音音高の選択を行うが、第1アサイナAS−1以外は押鍵が1つの場合に音高を選択しないため、第1アサイナAS−1が音高nb4を選択し、楽音生成部36にこの音高の発音を開始させるのみである。   As can be seen from FIG. 6, at the timing of t (1), the key of the pitch nb4 of the partial range B is pressed first, so the assignment rule used by each assigner AS is a rule corresponding to the partial range B. Selected. Each assigner AS selects a tone pitch according to the assignment rule. However, since the pitch is not selected when there is one key press except for the first assigner AS-1, the first assigner AS-1 does not select the pitch. Only nb4 is selected, and the tone generator 36 is caused to start sounding this pitch.

次のt(2)のタイミングでは、音高nb3の鍵が新たに押鍵されるが、これは最初の押鍵ではないため、アサイン規則は先に選択した部分音域Bと対応する規則のままである。そして、音高nb3,nb4の鍵が押鍵された状態で各アサイナASがそのアサイン規則に従って発音音高の選択を行う。ここでは、第2アサイナAS−2が最高音を除き最も高い音高nb3を選択し、楽音生成部36にこの音高の発音を開始させる。第1アサイナAS−1はそれまでと同じく音高nb4を選択するため、新たな発音は行わない。第3及び第4アサイナAS−3,4は、押鍵が少ないため音高を選択しない。   At the timing of the next t (2), the key of pitch nb3 is newly pressed, but since this is not the first key pressing, the assignment rule remains the rule corresponding to the partial range B selected previously. It is. Each assigner AS selects the tone pitch according to the assignment rule with the keys of the pitches nb3 and nb4 being pressed. Here, the second assigner AS-2 selects the highest pitch nb3 except for the highest tone, and causes the tone generator 36 to start generating the pitch. Since the first assigner AS-1 selects the pitch nb4 as before, no new pronunciation is performed. The third and fourth assigners AS-3 and 4 do not select a pitch because there are few key presses.

次のt(3)のタイミングでは、音高nb2の鍵が新たに押鍵されるが、やはりアサイン規則に変更はない。そして、音高nb2〜nb4の3つの鍵が押鍵された状態で各アサイナASが部分鍵域Bと対応するアサイン規則に従って発音音高の選択を行う。そして、第3アサイナAS−3が上から2音を除き最も高い音高nb2を選択し、楽音生成部36にこの音高の発音を開始させる。第1及び第2アサイナAS−1,2は音高選択に変化がないため新たな発音は行わない。第4アサイナAS−4は、押鍵が少ないため音高を選択しない。   At the next timing t (3), the key of pitch nb2 is newly pressed, but the assignment rule is not changed. Then, each of the assigners AS selects the tone pitch according to the assignment rule corresponding to the partial key range B in a state where the three keys of the pitches nb2 to nb4 are pressed. Then, the third assigner AS-3 selects the highest pitch nb2 except for the two tones from the top, and causes the tone generator 36 to start sounding this pitch. Since the first and second assigners AS-1 and AS-2 are not changed in pitch selection, no new pronunciation is performed. The fourth assigner AS-4 does not select a pitch because there are few key presses.

次のt(4)のタイミングでも、同様に各アサイナASは部分鍵域Bと対応するアサイン規則に従って発音音高の選択を行う。音高nb1〜nb4の4つの鍵が押鍵されているため、第4アサイナAS−4が、上から3音を除き最も高い音高nb1を選択し、楽音生成部36にこの音高の発音を開始させる。第1〜第3アサイナAS−1〜3は音高選択に変化がないため新たな発音は行わない。
t(5)のタイミングでは、全音高で離鍵されるため、楽音生成部36は全音高の発音を停止させる。このとき、アサイナによる音高の選択も同時に解除するとよい。
Similarly, at the timing of the next t (4), each assigner AS similarly selects a tone pitch according to the assignment rule corresponding to the partial key range B. Since the four keys of the pitches nb1 to nb4 are pressed, the fourth assigner AS-4 selects the highest pitch nb1 except the three tones from the top, and the musical tone generator 36 generates the pitch. To start. The first to third assigners AS-1 to AS-3 do not perform new pronunciation because there is no change in the pitch selection.
At the timing of t (5), since the key is released at the whole pitch, the musical tone generation unit 36 stops the pronunciation of the whole pitch. At this time, the selection of the pitch by the assigner may be canceled at the same time.

次のt(6)のタイミングでは、一旦全音高の鍵が離鍵されているため、部分音域Aの音高na1の鍵が最初に押鍵されることになる。従って、各アサイナASが用いるアサイン規則として、部分音域Aと対応する規則が選択される。そして、各アサイナASがそのアサイン規則に従って発音音高の選択を行うが、第4アサイナAS−4以外は押鍵が1つの場合に音高を選択しないため、第4アサイナAS−4が音高na1を選択し、楽音生成部36にこの音高の発音を開始させるのみである。   At the next timing t (6), since the key of the full pitch is once released, the key of the pitch na1 in the partial range A is pressed first. Accordingly, a rule corresponding to the partial range A is selected as an assignment rule used by each assigner AS. Then, each assigner AS selects a tone pitch according to the assignment rule. However, since the pitch is not selected when there is only one key press except for the fourth assigner AS-4, the fourth assigner AS-4 has a pitch. It is only necessary to select na1 and cause the tone generator 36 to start generating this pitch.

以後、t(7)〜t(9)のタイミングでも、各アサイナASは部分鍵域Aと対応するアサイン規則に従って発音音高の選択を行い、t(7)で第3アサイナAS−3が音高na2を、t(8)で第2アサイナAS−2が音高na3を、t(9)で第1アサイナAS−1が音高na4をそれぞれ選択して、楽音生成部36にこの音高の発音を開始させる。
そして、t(10)のタイミングで全音高で離鍵されるため、楽音生成部36は全音高の発音を停止させる。
Thereafter, at the timings t (7) to t (9), each assigner AS selects a tone pitch according to the assignment rule corresponding to the partial key range A, and the third assigner AS-3 plays a sound at t (7). The second assigner AS-2 selects the pitch na3 at t (8) and the first assigner AS-1 selects the pitch na4 at t (9), and the tone generator 36 receives this pitch. Starts pronunciation.
Then, since the key is released at the whole pitch at the timing of t (10), the musical tone generating unit 36 stops the pronunciation of the whole pitch.

このように、図5の処理によれば、最初の押鍵があった音高の属する部分音域に応じてアサイン規則を変えるため、高音域では高音側から順に音を増やし、低音域では順に低音側から音を増やすといった、柔軟なパート割り当てを、容易に行うことができる。この場合において、押鍵以外にアサイン規則選択のための操作が不要であるので、この機能を採用しても演奏の難易度が上がることはない。   In this way, according to the processing of FIG. 5, since the assignment rule is changed according to the partial range to which the pitch that has been pressed first belongs, the sound is increased in order from the high frequency side in the high frequency range, and the low tone in order in the low frequency range. Flexible part assignment such as increasing the sound from the side can be easily performed. In this case, since an operation for selecting an assignment rule other than the key pressing is unnecessary, even if this function is adopted, the difficulty of playing does not increase.

次に、図7の例は、部分音域をまたいで、音高nb2〜na3の鍵を高音側から低音側に向かって順次押鍵数を増やしながら押鍵し、その後同時に離鍵する例である。なお、ステップS12で用いるアサイン規則選択条件は、図6と同じく、最初の押鍵操作がされたこと、であるとする。   Next, the example of FIG. 7 is an example in which keys of pitches nb2 to na3 are pressed while increasing the number of key presses sequentially from the high pitch side to the low pitch side, and then released at the same time across the partial range. . Assume that the assignment rule selection condition used in step S12 is that the first key pressing operation has been performed, as in FIG.

図7からわかるように、t(1)のタイミングでは、図6のt(1)の場合と押鍵される音高が異なるのみであり、部分音域Bの音高nb2の鍵が最初に押鍵されるため、アサイン規則として部分音域Bと対応する規則が選択される。第1アサイナAS−1が音高nb2を選択し、楽音生成部36にこの音高の発音を開始させる。   As can be seen from FIG. 7, at the timing of t (1), only the pitch to be depressed is different from the case of t (1) in FIG. 6, and the key of the pitch nb2 in the partial range B is first depressed. Therefore, the rule corresponding to the partial range B is selected as the assignment rule. The first assigner AS-1 selects the pitch nb2, and causes the tone generator 36 to start generating the pitch.

以後、t(2)〜t(4)のタイミングで1つずつ押鍵が追加されていくが、途中で離鍵操作がないため、アサイン規則選択条件が満たされることはない。このため、アサイン規則は、部分音域Aの音高na4及びna3が押鍵された状態でも、部分音域Bと対応する規則である。したがって、t(2)で第2アサイナAS−2が音高na1を、t(3)で第3アサイナAS−3が音高na4を、t(4)で第1アサイナAS−1が音高na3をそれぞれ選択して、楽音生成部36にこの音高の発音を開始させる。
そして、t(5)のタイミングで全音高で離鍵されるため、楽音生成部36は全音高の発音を停止させる。
Thereafter, the key press is added one by one at the timing t (2) to t (4), but the assignment rule selection condition is not satisfied because there is no key release operation in the middle. Therefore, the assignment rule is a rule corresponding to the partial range B even when the pitches na4 and na3 of the partial range A are pressed. Therefore, at t (2), the second assigner AS-2 has the pitch na1, the third assigner AS-3 has the pitch na4 at t (3), and the first assigner AS-1 has the pitch at t (4). Each of na3 is selected, and the tone generation unit 36 is caused to start pronunciation of this pitch.
Then, since the key is released at the full pitch at the timing t (5), the musical tone generation unit 36 stops the pronunciation of the full pitch.

このように、図5の処理において、「最初の押鍵操作がされたこと」をアサイン規則選択条件として採用することにより、一旦アサイン規則を選択した後は、部分音域をまたがって演奏操作を行っても、一連の演奏操作の間はアサイン規則を同じものに保つことができる。したがって、最初の押鍵の音高を調整するだけで、幅広い音域を使った演奏を、柔軟に行うことができる。
なお、アサイン規則選択条件を「いずれかの鍵がキーオフ操作された後でいずれかの鍵にキーオン操作をされたこと」とすると、より頻繁にアサイン規則が切り替わることになる。しかし、図7のように途中の離鍵操作のない一連の押鍵操作に際しては、上記「最初の押鍵操作がされたこと」の場合と同じ発音となる。
ただし、ここで述べたアサイン規則選択条件を用いることは必須ではない。
In this way, in the process of FIG. 5, by adopting “the first key pressing operation has been performed” as the assignment rule selection condition, once the assignment rule is selected, the performance operation is performed across partial ranges. However, the assignment rules can be kept the same during a series of performance operations. Therefore, the performance using a wide range can be flexibly performed only by adjusting the pitch of the first key depression.
If the assignment rule selection condition is “A key is key-oned after any key is key-off operated”, the assignment rule is switched more frequently. However, in the case of a series of key pressing operations without a key release operation in the middle as shown in FIG. 7, the pronunciation is the same as in the case of “the first key pressing operation has been performed”.
However, it is not essential to use the assignment rule selection condition described here.

〔第1実施形態の比較例:図8〕
図8に示すのは、部分音域を設定せず、各アサイナが常に図3の部分音域Bと対応するアサイン規則を用いるようにした比較例において、図6と同じ演奏操作を行った場合の、各アサイナによる音高選択の様子である。
この場合も、部分音域Bの範囲内で演奏操作を行っているt(1)〜t(5)については、図6と同じ動作である。
[Comparative example of the first embodiment: FIG. 8]
FIG. 8 shows a comparative example in which a partial range is not set and each assigner always uses an assignment rule corresponding to the partial range B of FIG. It is a state of pitch selection by each assigner.
Also in this case, t (1) to t (5) in which the performance operation is performed within the range of the partial sound range B is the same operation as FIG.

しかし、t(6)のタイミングで音高na1の鍵が押鍵されたときも、各アサイナASは部分音域Bと対応するアサイン規則を用いて発音音高の選択を行う。したがって、押鍵が1つの場合でも音高選択を行う第1アサイナAS−1が音高na1を選択し、楽音生成部36にこの音高の発音を開始させる。   However, even when the key of the pitch na1 is pressed at the timing of t (6), each assigner AS selects the tone pitch using the assignment rule corresponding to the partial range B. Therefore, even when there is only one key press, the first assigner AS-1 that selects the pitch selects the pitch na1 and causes the tone generator 36 to start sounding this pitch.

次のt(7)のタイミングでは、音高na1,na2の2つの鍵が押鍵された状態で、各アサイナASが部分音域Bと対応するアサイン規則を用いて発音音高の選択を行う。したがって、第1アサイナAS−1は、最高音の音高na2を、第2アサイナAS−2は最高音を除きもっとも高い音高na1を選択し、楽音生成部36にこの音高の発音を開始させる。   At the next timing t (7), each assigner AS selects the tone pitch using the assignment rule corresponding to the partial range B while the two keys na1 and na2 are pressed. Therefore, the first assigner AS-1 selects the highest pitch na2 and the second assigner AS-2 selects the highest pitch na1 excluding the highest pitch, and starts the tone generation of the musical tone generator 36. Let

t(8)のタイミングでは、音高na1〜na3の3つの鍵が押鍵された状態で、第1〜第3アサイナAS−1〜3がそれぞれ音高na3,na2,na1を選択し、楽音生成部36にこの音高の発音を開始させる。
t(9)のタイミングでは、音高na1〜na4の4つの鍵が押鍵された状態で、第1〜第4アサイナAS−1〜4がそれぞれ音高na4,na3,na2,na1を選択し、楽音生成部36にこの音高の発音を開始させる。
At the timing of t (8), the first to third assigners AS-1 to AS-3 select the pitches na3, na2, and na1, respectively, while the three keys of pitches na1 to na3 are pressed, and the musical tone is selected. The generation unit 36 starts to generate the pitch.
At the timing t (9), the first to fourth assigners AS-1 to AS-4 select the pitches na4, na3, na2, and na1, respectively, while the four keys of pitches na1 to na4 are pressed. Then, the tone generator 36 is caused to start pronunciation of this pitch.

このように、全音域で部分音域Bと対応するアサイン規則を用いると、低音側から順に音を増やす演奏操作を行った場合に、高音用(第1アサイナと対応するパートT1)の音色から始まって順次他の音色が、低音から高音に向かって音高を変化させつつ音を増やす発音となってしまう。したがって、t(1)〜t(5)で行ったものと対称となるような発音を行うことができない。   As described above, when the assignment rule corresponding to the partial range B is used in the entire range, when a performance operation for increasing the sound in order from the low side is performed, the tone starts for the high tone (part T1 corresponding to the first assigner). As a result, the other timbres become pronunciations that increase the sound while changing the pitch from low to high. Therefore, it is not possible to produce a sound that is symmetric to that performed at t (1) to t (5).

全音域で部分音域Aと対応するアサイン規則を用いるとすると、同様にt(1)〜t(5)において、図6に示したような発音を行うことができない。
この点で、全音域で同じアサイン規則を用いる方式では、発音指示操作がなされている音高への発音パートの割り当ての柔軟性が低いと言える。
If the assignment rule corresponding to the partial sound range A is used in the whole sound range, the sound generation as shown in FIG. 6 cannot be performed in the same way from t (1) to t (5).
In this regard, it can be said that the method of using the same assignment rule in the whole sound range has low flexibility in assigning the sounding part to the pitch for which the sounding instruction operation is performed.

〔第2実施形態:図9乃至図11〕
次に、本発明の第2実施形態である電子楽器について説明する。
この第2実施形態は、アサイン規則としてキーオフリトリガー設定を設け、そのキーオフリトリガー設定を部分音域と対応させて設定できるようにした点が第1実施形態と異なるのみであるので、この点についてのみ説明する。また、第1の実施形態と同じ又は対応する構成には第1の実施形態と同じ符号を用いる。
[Second Embodiment: FIGS. 9 to 11]
Next, an electronic musical instrument that is a second embodiment of the present invention will be described.
The second embodiment is different from the first embodiment only in that a key-off retrigger setting is provided as an assignment rule and the key-off retrigger setting can be set in correspondence with a partial range, so only this point will be described. To do. The same reference numerals as those in the first embodiment are used for the same or corresponding components as those in the first embodiment.

図9に、第2実施形態の電子楽器10における、図3と対応するアサイン規則設定テーブルの例を示す。
この例では、対象押鍵と優先方式は各部分音域について共通とし、キーオフリトリガー設定のみ、各部分音域と対応する設定を用意している。
ここで、キーオフリトリガーとは、キーオフ操作を検出した場合にそれに応じてアサイナに発音音高の選択をやり直させる動作を言う。このやり直しは、全てのアサイナに行わせてもよいが、ここでは、キーオフ操作がされた音高を選択していたアサイナについてのみ行わせるとする。
また、キーオフリトリガー設定がオンのアサイナについてのみキーオフリトリガーを行い、オフのアサイナについては行わない。
FIG. 9 shows an example of an assignment rule setting table corresponding to FIG. 3 in the electronic musical instrument 10 of the second embodiment.
In this example, the target key depression and the priority method are common to each partial range, and only the key-off retrigger setting is provided with a setting corresponding to each partial range.
Here, the key-off retrigger refers to an operation in which when the key-off operation is detected, the assigner redoes the selection of the sounding pitch. This redoing may be performed by all the assigners, but here, it is assumed that only the assigner that has selected the pitch for which the key-off operation has been performed is performed.
In addition, key-off retrigger is performed only for an assigner whose key-off retrigger setting is on, and is not performed for an off-assigner.

なお、第2実施形態において、操作状態検出部32は、キーオフデータを受信した場合にも、作成した押鍵リストを割当制御部33に供給し、発音する音高の選択を行わせる。各アサイナASは、キーオフデータに応じた発音音高の選択指示を受け取ると、自身について有効になっているキーオフリトリガー設定及び、キーオフ操作に係る音高を選択していたか否かに基づき、発音音高の選択を行うか否かを決定する。   In the second embodiment, the operation state detection unit 32 supplies the created key press list to the assignment control unit 33 even when key-off data is received, and selects a pitch to be generated. When each assigner AS receives a sound pitch selection instruction according to the key-off data, the sound generator AS is activated based on the key-off retrigger setting enabled for itself and whether or not the pitch related to the key-off operation has been selected. Decide whether to make a high selection.

図10に、第2実施形態においてCPU11が実行する、図5と対応する処理のフローチャートを示す。
CPU11は、検出回路16からキーオンデータ及び/又はキーオフデータを受信した場合に、所要のプログラムを実行することにより図10のフローチャートに示す処理を開始する。なお、所定閾値以内のタイミング差で行われた操作を同時操作とみなすことは上述の通りである。
FIG. 10 shows a flowchart of processing corresponding to FIG. 5 executed by the CPU 11 in the second embodiment.
When the CPU 11 receives key-on data and / or key-off data from the detection circuit 16, the CPU 11 starts the processing shown in the flowchart of FIG. 10 by executing a required program. As described above, an operation performed with a timing difference within a predetermined threshold is regarded as a simultaneous operation.

図10の処理におけるステップS31乃至S35の処理は、図5のステップS11乃至S15と同じであるので説明を省略する。
図10の処理において、ステップS35の後、CPU11は、今回キーオフ操作を検出した音高を選択していたアサイナASがあるか否か判断する(S36)。この処理は、ステップS34がYesの場合に行うので、キーオフ操作を検出していることは前提となる。
10 are the same as steps S11 to S15 in FIG. 5 and will not be described.
In the process of FIG. 10, after step S35, the CPU 11 determines whether there is an assigner AS that has selected the pitch for which the current key-off operation has been detected (S36). Since this process is performed when Step S34 is Yes, it is assumed that a key-off operation has been detected.

そして、ステップS36でYesであれば、CPU11は次に、該当アサイナについて有効になっているアサイン規則中のキーオフリトリガー設定がオンか否か判断する(S37)。ここでオンであれば、該当のアサイナについてキーオフリトリガーを行う条件が満たされているので、CPU11は該当アサイナに発音割り当てフラグを立てる(S38)。発音割り当てフラグは、該当のアサイナについてステップS43で発音音高の選択を行うことを示すフラグである。第2実施形態では、キーオフリトリガーの際に一部のアサイナについてのみ発音音高の選択を行うことがあり得るため、導入したものである。   If Yes in step S36, the CPU 11 next determines whether or not the key-off retrigger setting in the assignment rule that is valid for the assigner is on (S37). If it is ON here, the condition for performing the key-off retrigger for the relevant assigner is satisfied, and therefore the CPU 11 sets a pronunciation assignment flag for the relevant assigner (S38). The pronunciation assignment flag is a flag indicating that the tone pitch is selected in step S43 for the corresponding assigner. In the second embodiment, since the tone pitch may be selected only for some of the assigners at the time of key-off retrigger, it is introduced.

なお、キーオフ操作を複数検出した場合には、ステップS36の判断はその各キーオフ操作について行い、ステップS36でYesとなるアサイナが複数あった場合には、ステップS37及びS38の処理はその各アサイナについて行う。ステップS34、ステップS36又はS37でNoの場合には、以後の処理をスキップしてステップS39に進む。   If a plurality of key-off operations are detected, the determination in step S36 is performed for each key-off operation. If there are a plurality of assigners that are Yes in step S36, the processing in steps S37 and S38 is performed for each assigner. Do. If No in step S34, step S36, or S37, the subsequent process is skipped and the process proceeds to step S39.

次に、CPU11は、検出した操作にキーオンが含まれているか否か判断する(S39)。複数の操作を同時に検出した場合、その中に1つでも該当のキーオンがあればYesとなる。そして、ここでYesの場合、CPU11は、全アサイナについて発音割り当てフラグを立てる(S40)。キーオン操作が1つでもあった場合、全アサイナについて発音音高の選択を行うためである。その後、ステップS41以下の音高選択の処理に進む。   Next, the CPU 11 determines whether or not the detected operation includes key-on (S39). When a plurality of operations are detected at the same time, if even one of them is a key-on, the answer is Yes. Then, in the case of Yes here, the CPU 11 sets a sound generation assignment flag for all the assigners (S40). This is because when there is even one key-on operation, the tone pitch is selected for all assigners. Thereafter, the process proceeds to a pitch selection process in step S41 and subsequent steps.

ステップS39でNoの場合は、ステップS40をスキップしてステップS41に進む。この場合も、キーオフリトリガーを行う可能性があるため、音高選択の処理は行う。
ステップS41乃至S47の処理は、概ね図5のステップS17乃至S21と同じである。しかし、発音割り当てフラグが立っているアサイナについてのみ(S42のYes)発音音高の選択(S43)及び発音開始指示(S44)を行う点と、最後に全アサイナの発音割り当てフラグをクリア(S47)する点とが異なる。ステップS42でNoの場合には、ステップS43及びS44をスキップしてステップS45に進む。
If No in step S39, the process skips step S40 and proceeds to step S41. In this case as well, there is a possibility of performing a key-off retrigger, so the pitch selection process is performed.
Steps S41 to S47 are generally the same as steps S17 to S21 in FIG. However, only for the assigners for which the pronunciation assignment flag is set (Yes in S42), the tone pitch selection (S43) and the pronunciation start instruction (S44) are performed, and finally the pronunciation assignment flags of all the assigners are cleared (S47). The point to be different. In the case of No in step S42, steps S43 and S44 are skipped and the process proceeds to step S45.

以上の図10の処理が、この発明の発音音高選択方法の第2実施形態に係る処理である。また、ステップS32及びS33の処理が切替手順と、ステップS41乃至S46の処理が割当手順と対応する。
そして、以上の処理を実行することにより、CPU11は、キーオフリトリガー設定についても、第1実施形態におけるアサイン規則と同様に、最初のキーオン操作があった音高が属する部分音域と対応する設定を用いて各アサイナに発音音高の選択を行わせることができる。そしてこのことにより、演奏者の演奏操作の意図に沿った柔軟な発音音高の選択を容易に実現することができる。
The process of FIG. 10 described above is the process according to the second embodiment of the pronunciation pitch selection method of the present invention. Further, the processes in steps S32 and S33 correspond to the switching procedure, and the processes in steps S41 to S46 correspond to the allocation procedure.
Then, by executing the above processing, the CPU 11 uses the setting corresponding to the partial range to which the pitch where the first key-on operation has been applied also for the key-off retrigger setting, as in the assignment rule in the first embodiment. This allows each assigner to select a pronunciation pitch. As a result, it is possible to easily realize flexible selection of the tone pitch according to the intention of the player's performance operation.

次に、以上のキーオフリトリガー設定切り替えの効果について、図11を用いて説明する。
図11は、ユーザが行う演奏操作と、それに応じて各アサイナが選択する発音音高との関係を示す、図6等と対応する図である。
図11の例は、4つの鍵を同時に押鍵して順次離鍵する操作を、音高を変えて3回繰り返す例である。なお、ステップS12で用いるアサイン規則選択条件は、最初の押鍵操作がされたこと、であるとする。
Next, the effect of the above key-off retrigger setting switching will be described with reference to FIG.
FIG. 11 is a diagram corresponding to FIG. 6 and the like, showing the relationship between the performance operation performed by the user and the pronunciation pitches selected by the assigners accordingly.
The example of FIG. 11 is an example in which the operation of simultaneously pressing and simultaneously releasing four keys is repeated three times while changing the pitch. It is assumed that the assignment rule selection condition used in step S12 is that the first key pressing operation has been performed.

図11からわかるように、t(1)のタイミングでは、部分音域Bの音高nb1〜nb4の鍵が最初に押鍵されるため、各アサイナASが用いるアサイン規則として、部分音域Bと対応する規則が選択される。ただしここでは、図9に示したように、キーオフリトリガー設定以外で部分音域毎の差はない。そして、各アサイナASがそのアサイン規則に従って発音音高の選択を行うと、第1アサイナAS−1は最高音のnb4を、第2アサイナAS−2は上から2音までの中で最低音のnb3を、第3アサイナAS−3は下から2音までの中で最高音のnb2を、第4アサイナAS−4は最低音のnb1を選択する。そして、楽音生成部36にこれらの音高の発音を開始させる。
その後、t(2)〜t(5)で順次離鍵操作が行われるが、部分音域Bにおいては全アサイナについてキーオフリトリガー設定がオフであるので、単に離鍵された音高が消音(選択解除)されるのみである。
As can be seen from FIG. 11, at the timing of t (1), the keys of the pitches nb1 to nb4 of the partial range B are pressed first, so that the assignment rule used by each assigner AS corresponds to the partial range B. A rule is selected. However, as shown in FIG. 9, there is no difference for each partial range other than the key-off retrigger setting. When each assigner AS selects a tone pitch according to the assignment rule, the first assigner AS-1 has the highest note nb4, and the second assigner AS-2 has the lowest note from the top two. For nb3, the third assigner AS-3 selects the highest note nb2 from the bottom two tones, and the fourth assigner AS-4 selects the lowest note nb1. Then, the tone generator 36 is caused to start sounding these pitches.
After that, the key release operation is performed sequentially from t (2) to t (5), but in the partial range B, since the key-off retrigger setting is off for all assigners, the pitch just released is muted (deselection). Only).

次のt(6)のタイミングでは、部分音域Aと部分音域Bにまたがった音高na3〜nb2の鍵が最初に押鍵される。したがって、複数の部分音域の音高の鍵に対して最初の押鍵操作がされたことになる。ここでは、部分音域Bを優先する設定がなされていたとすると、この場合も、各アサイナASが用いるアサイン規則として、部分音域Bと対応する規則が選択される。そして、各アサイナASがそのアサイン規則に従って発音音高の選択を行うと、第1〜第4アサイナAS−1〜4はそれぞれnb2,nb1,na4,na3を選択して、楽音生成部36にこれらの音高の発音を開始させる。
その後の、t(7)〜t(10)については、t(2)〜t(5)の場合と同様である。
At the next timing t (6), the keys having pitches na3 to nb2 that straddle the partial range A and the partial range B are pressed first. Therefore, the first key pressing operation is performed on the keys having the pitches of the plurality of partial ranges. Here, assuming that the partial range B is prioritized, the rule corresponding to the partial range B is selected as the assignment rule used by each assigner AS in this case as well. Then, when each assigner AS selects a tone pitch according to the assignment rule, the first to fourth assigners AS-1 to nb4 select nb2, nb1, na4, and na3, respectively, and send them to the tone generator 36. Start to pronounce the pitch of.
About subsequent t (7) -t (10), it is the same as that of the case of t (2) -t (5).

次のt(11)のタイミングでは、部分音域Aの音高na1〜na4の鍵が最初に押鍵される。したがって、各アサイナASが用いるアサイン規則として、部分音域Aと対応する規則が選択される。しかし、キーオン時の動作は部分音域Bと対応する規則と同じであるので、第1〜第4アサイナAS−1〜4は、t(1)及びt(6)の場合と同じ順序でそれぞれna4,na3,na2,na1を選択して、楽音生成部36にこれらの音高の発音を開始させる。   At the next timing t (11), the keys of the pitches na1 to na4 in the partial range A are pressed first. Therefore, a rule corresponding to the partial range A is selected as an assignment rule used by each assigner AS. However, since the operation at the time of key-on is the same as the rule corresponding to the partial range B, the first to fourth assigners AS-1 to na4 are respectively na4 in the same order as in the case of t (1) and t (6). , Na3, na2, na1 are selected, and the tone generator 36 is caused to start sounding these pitches.

一方、t(12)のタイミングで音高na4の鍵が離鍵されると、音高na4の発音が停止されると共に、na4を選択していた第1アサイナAS−1のキーオフリトリガー設定がオンであるので、第1アサイナAS−1がキーオフリトリガーを行い、その時点で押鍵されているna1,na2,na3から発音音高を選択する。その結果、最高音のna3を選択し、楽音生成部36にこれらの音高の発音を開始させる。   On the other hand, when the key of pitch na4 is released at the timing t (12), the sound of pitch na4 is stopped and the key-off retrigger setting of the first assigner AS-1 that has selected na4 is turned on. Therefore, the first assigner AS-1 performs key-off retrigger, and selects a tone pitch from na1, na2, and na3 that are pressed at that time. As a result, the highest tone na3 is selected, and the tone generator 36 is caused to start sounding these pitches.

t(13)のタイミングでは、音高na3の鍵が離鍵され、音高na3の発音が停止される。そして、第2アサイナAS−2のキーオフリトリガー設定もオンであるので、これに応じて、この時点でna3を選択していた第1及び第2アサイナAS−1,2が、その時点で押鍵されているna1,na2から発音音高を選択する。その結果、第1アサイナAS−1は最高音のna2を選択し、第2アサイナAS−2は上から2音のうち最低音であるna1を選択し、楽音生成部36にこれらの音高の発音を開始させる。   At the timing t (13), the key of the pitch na3 is released and the sound generation of the pitch na3 is stopped. Then, since the key-off retrigger setting of the second assigner AS-2 is also on, the first and second assigners AS-1 and 2 that have selected na3 at this time will press the key at that time. The pronunciation pitch is selected from the recorded na1 and na2. As a result, the first assigner AS-1 selects the highest sound na2, the second assigner AS-2 selects the lowest sound na1 of the two sounds from the top, and the tone generator 36 receives these pitches. Start pronunciation.

t(14)のタイミングでも、同様に音高na2の発音停止に伴い、na2を選択していた第1及び第3アサイナAS−1,3がキーオフリトリガーを行う。
t(15)のタイミングでは、発音停止は起こるが、この時点で押鍵中の鍵がないため、キーオフリトリガーを行っても、どのアサイナも音高を選択せず、発音開始もない。
Similarly, at the timing of t (14), the first and third assigners AS-1 and 3 that have selected na2 perform key-off retrigger as the tone na2 is stopped.
At the timing t (15), sound generation stops. However, since there is no key being pressed at this time, even if a key-off retrigger is performed, no assigner selects a pitch and sound generation does not start.

このように、図10の処理により、部分音域毎にキーオフリトリガーの設定を発音に反映させることができるようにすれば、ある音域では離鍵時に単に消音し、別の音域では離鍵時に発音中だった音色を他の音高に移して発音させて音の厚みを維持するといった柔軟なパート割り当てを、容易に行うことができる。
なお、第2実施形態においても、第1実施形態の場合と同様、アサイン規則中の対象押鍵及び優先方式を、部分音域毎に設けてもよい。
また、アサイン規則選択条件を、「キーオン操作が行われたこと」とすると共に、そのキーオン操作が行われた音高を選択するアサイナに対して、そのキーオンに係る音高が属する部分音域のアサイン規則を有効にしてもよい。このようにすると、図11のt(6)〜t(10)の操作に対して、音高na3とna4をそれぞれ選択する第4及び第3アサイナAS−4,3については部分音域Aの規則(キーオフリトリガーがオン)が適用され、音高nb1とnb2をそれぞれ選択する第2及び第1アサイナAS−2,1については部分音域Bの規則(キーオフリトリガーがオフ)が適用される。
As described above, if the key-off retrigger setting for each partial range can be reflected in the sound generation by the processing of FIG. 10, the sound is simply muted when the key is released in one range, and the sound is generated when the key is released in another range It is possible to easily perform flexible part assignment such as shifting the timbre to another pitch and generating sound to maintain the thickness of the sound.
Also in the second embodiment, as in the case of the first embodiment, the target key depression and priority method in the assignment rule may be provided for each partial sound range.
Also, the assignment rule selection condition is that “key-on operation has been performed”, and for the assigner that selects the pitch for which the key-on operation has been performed, the assignment of the partial range to which the pitch associated with the key-on belongs. Rules may be activated. In this way, for the operations t (6) to t (10) in FIG. 11, the partial range A rules for the fourth and third assigners AS-4 and 3 that select the pitches na3 and na4, respectively. (Key-off retrigger is on) is applied, and the rules of the partial range B (key-off retrigger is off) are applied to the second and first assigners AS-2 and 1 that select the pitches nb1 and nb2, respectively.

〔変形例:図12〕
以上で実施形態の説明を終了するが、装置の構成、演奏操作子を始めとする操作子の構成、部分音域の数、アサイナの数やアサイナに設定する選択規則、処理に用いるデータの構成、具体的な処理の手順等が上述の実施形態で説明したものに限られないことはもちろんである。
例えば、各アサイナについて設定する部分音域毎のアサイン規則について、部分音域Aについては押鍵順に従って発音音高を選択し、部分音域Bについては音高順に従って発音音高を選択するようにすることも考えられる。また、部分音域Aについてはモノ発音とし、部分音域Bについてはポリ発音として、各パートの発音数を変えることも考えられる。さらに、部分音域Aについては押鍵数と発音パート数が一致するようにし、部分音域Bについては常に全パートが発音するようにすることも考えられる。もちろん、部分音域Aと部分音域Bの設定が逆でもよい。
[Modification: FIG. 12]
This is the end of the description of the embodiment, but the configuration of the device, the configuration of the operation unit including the performance operator, the number of partial ranges, the number of assigners and the selection rule set in the assigner, the configuration of data used for processing, It goes without saying that specific processing procedures and the like are not limited to those described in the above-described embodiment.
For example, with respect to the assignment rule for each partial range set for each assigner, the tone pitch is selected according to the key pressing order for the partial range A, and the tone pitch is selected according to the pitch order for the partial range B. Is also possible. It is also conceivable to change the number of pronunciations of each part by using monophonic sound for the partial range A and polyphonic sound for the partial range B. Furthermore, for the partial range A, the number of keys pressed and the number of sounding parts may be matched, and for the partial range B, all parts may always be sounded. Of course, the setting of the partial sound range A and the partial sound range B may be reversed.

また、発音指示操作がなされている操作部の音高への、複数の発音パートの割り当てを、複数のアサイナを用いて行うことは必須ではない。
図12に示すように、押鍵数に応じて、各押鍵の音高(ノート)とパートとの対応関係を予め定めておき、この対応関係に従って割り当てを行ってもよい。そして、部分音域毎にこの対応関係を用意しておき、最初のキーオン操作があった音高が属する部分音域に応じて、どの対応関係を用いるかを切り替えるようにすれば、上述した実施形態の場合と同様な効果が得られる。
In addition, it is not essential to assign a plurality of pronunciation parts to the pitches of the operation unit on which a sound generation instruction operation is performed using a plurality of assigners.
As shown in FIG. 12, a correspondence relationship between the pitch (note) of each key depression and the part may be determined in advance according to the number of key depressions, and assignment may be performed according to this correspondence relationship. Then, by preparing this correspondence for each partial range and switching which correspondence to use according to the partial range to which the pitch for which the first key-on operation was performed belongs, The same effect as the case can be obtained.

なお、図12の例では、複数の音高で押鍵があった場合、#の後ろの数字が大きいほど、高い音高を示すものとする。したがって、部分音域Aにおける割り当て規則と、部分音域Bにおける割り当て規則とでは、パートと音高との関係が異なることになる。
図12の例では、どちらの部分音域についても、パートを概ね均等にノートに割り当てるようにしているが、一方は概ね均等に、他方は一部の押鍵に集中して割り当てるような対応関係であってもよい。複数の押鍵がある場合でも全てのパートを1つのノートに割り当てるユニゾン演奏用の割り当て規則があってもよい。
また、部分音域毎に、割り当て規則だけでなく、アサイナあるいはパートと音色との対応関係を変えるようにしてもよい。あるいは、割り当て規則は共通とし、アサイナあるいはパートと音色との対応関係のみを変えるようにしてもよい。
In the example of FIG. 12, when a key is pressed at a plurality of pitches, the higher the number after the #, the higher the pitch. Therefore, the relationship between the part and the pitch is different between the allocation rule in the partial range A and the allocation rule in the partial range B.
In the example of FIG. 12, the parts are assigned to the notes almost equally in either partial range, but the correspondence is such that one is assigned roughly equally and the other is assigned to a part of the key presses. There may be. Even when there are a plurality of key depressions, there may be an unison performance assignment rule for assigning all parts to one note.
Further, for each partial sound range, not only the assignment rule, but also the correspondence relationship between the assigner or part and the timbre may be changed. Alternatively, the allocation rule may be common, and only the correspondence between the assigner or part and the timbre may be changed.

また、上述した実施形態では、演奏操作子が鍵盤であり、発音開始指示を押鍵操作により、発音停止指示を離鍵操作により行う例について説明した。しかし、演奏操作子の形態はこれに限られない。他の楽器の形状はもちろん、マトリクス状に操作部を配置したパッドなど、伝統的な楽器と全く異なる形状のユーザインタフェースを備える装置にもこの発明は適用可能である。この場合、発音開始指示及び発音停止指示は、そのユーザインタフェースの特性に応じた操作方法で受け付けることになる。   In the above-described embodiment, an example has been described in which the performance operator is a keyboard, and a sounding start instruction is performed by a key pressing operation and a sound generation stop instruction is performed by a key release operation. However, the form of the performance operator is not limited to this. The present invention can be applied not only to the shape of other musical instruments but also to an apparatus having a user interface having a shape completely different from that of a traditional musical instrument, such as a pad having operation units arranged in a matrix. In this case, the sound generation start instruction and the sound generation stop instruction are received by an operation method according to the characteristics of the user interface.

また、電子楽器10が演奏操作子を内蔵している必要もない。通信I/F15に接続された外部のコントローラから、演奏操作子の操作内容を示す演奏データを取得し、その演奏データに基づいて電子楽器10が各操作部の操作状態を把握することも考えられる。
また、汎用コンピュータのキーボードや、タッチパネルに表示したGUIを、演奏操作子として用いることも考えられる。この場合において、汎用コンピュータに図2に示した各部の機能を実現させることにより、電子楽器として機能させることができる。また、いずれの場合でも、図2に示した各部の機能を、複数の装置に分散して設け、それらを協働させて電子楽器10の機能を実現させることもできる。
Further, it is not necessary for the electronic musical instrument 10 to incorporate a performance operator. It is also conceivable that performance data indicating the operation content of the performance operator is acquired from an external controller connected to the communication I / F 15 and the electronic musical instrument 10 grasps the operation state of each operation unit based on the performance data. .
It is also conceivable to use a keyboard of a general-purpose computer or a GUI displayed on a touch panel as a performance operator. In this case, the function of each unit shown in FIG. 2 can be realized by a general-purpose computer so that it can function as an electronic musical instrument. In any case, the functions of the respective units shown in FIG. 2 can be distributed and provided in a plurality of devices, and the functions of the electronic musical instrument 10 can be realized by cooperating them.

この発明の実施形態であるプログラムは、1のコンピュータに、または複数のコンピュータを協働させて、図2に示した各部(特に操作状態検出部32、部分音域設定部34及び選択規則切替部35)の機能を実現させるためのプログラムである。
そして、このようなプログラムをコンピュータに実行させることにより、上述したような効果を得ることができる。
The program according to the embodiment of the present invention is a computer or a plurality of computers that cooperate with each other (particularly the operation state detection unit 32, the partial sound range setting unit 34, and the selection rule switching unit 35) shown in FIG. ) Is a program for realizing the function.
Then, by causing the computer to execute such a program, the above-described effects can be obtained.

このようなプログラムは、はじめからコンピュータに備えるROMや他の不揮発性記憶媒体(フラッシュメモリ,EEPROM等)などに格納しておいてもよい。しかし、メモリカード、CD、DVD、ブルーレイディスク等の任意の不揮発性記録媒体に記録して提供することもできる。それらの記録媒体に記録されたプログラムをコンピュータにインストールして実行させることにより、上述した各手順を実行させることができる。   Such a program may be stored in a ROM or other nonvolatile storage medium (flash memory, EEPROM, etc.) provided in the computer from the beginning. However, it can also be provided by being recorded on an arbitrary nonvolatile recording medium such as a memory card, CD, DVD, or Blu-ray disc. Each procedure described above can be executed by installing the program recorded in the recording medium in a computer and executing the program.

さらに、ネットワークに接続され、プログラムを記録した記録媒体を備える外部装置あるいはプログラムを記憶手段に記憶した外部装置からダウンロードし、コンピュータにインストールして実行させることも可能である。
また、以上説明してきた実施形態及び変形例の構成は、相互に矛盾しない限り任意に組み合わせて実施可能であることは勿論である。
Furthermore, it is also possible to download from an external device that is connected to a network and includes a recording medium that records the program, or an external device that stores the program in a storage unit, and install and execute the program on a computer.
Moreover, it is needless to say that the configurations of the embodiment and the modified examples described above can be arbitrarily combined and implemented as long as they do not contradict each other.

以上の説明から明らかなように、この発明によれば、それぞれ音高と対応する複数の操作部における発音指示操作に応じて複数のパートで発音を行う場合において、各パートの発音音高を、演奏者の演奏操作の意図に沿ってより柔軟に決定できるようにすることができる。
従って、この発明を適用することにより、電子楽器の利便性を向上させることができる。
As is clear from the above description, according to the present invention, in the case of sounding in a plurality of parts according to the sounding instruction operation in the plurality of operation parts respectively corresponding to the pitches, It is possible to determine more flexibly according to the intention of the performer's performance operation.
Therefore, the convenience of the electronic musical instrument can be improved by applying the present invention.

10:電子楽器、11:CPU、12:ROM、13:RAM、14:記憶装置、15:通信I/F、16:検出回路、17:表示回路、18:音源回路、19:システムバス、21:タイマ、22:演奏操作子、23:設定操作子、24:ディスプレイ、25:DAC、26:サウンドシステム、31:発音指示受付部、32:操作状態検出部、33:割当制御部、34:部分音域設定部、35:選択規則切替部、36:楽音生成部、37:出力部、AS:アサイナ、TC:発音ch 10: electronic musical instrument, 11: CPU, 12: ROM, 13: RAM, 14: storage device, 15: communication I / F, 16: detection circuit, 17: display circuit, 18: sound source circuit, 19: system bus, 21 : Timer, 22: Performance operator, 23: Setting operator, 24: Display, 25: DAC, 26: Sound system, 31: Sound generation instruction reception unit, 32: Operation state detection unit, 33: Assignment control unit, 34: Partial range setting section, 35: selection rule switching section, 36: musical sound generation section, 37: output section, AS: assigner, TC: pronunciation channel

Claims (7)

それぞれ音高と対応する複数の操作部のうち発音指示操作がなされている操作部の音高に、複数の発音パートを予め定められた規則に従って割り当てる割当手段と、
前記複数の操作部と対応する音域中に複数の部分音域を設定する部分音域設定手段と、
前記複数の部分音域のうちどの部分音域の操作部において発音開始操作がなされたかに応じて、前記割り当てに用いる規則を切り替える切替手段とを備えることを特徴とする電子楽器。
An assigning means for assigning a plurality of pronunciation parts to a pitch of an operation unit on which a sound generation instruction operation is performed among a plurality of operation units each corresponding to a pitch according to a predetermined rule;
A partial range setting means for setting a plurality of partial ranges in a range corresponding to the plurality of operation units;
An electronic musical instrument comprising: switching means for switching a rule used for the assignment according to which partial range of the plurality of partial ranges is operated to start sound generation.
請求項1に記載の電子楽器であって、
前記切替手段は、前記複数の操作部のいずれにも前記発音指示操作がなされていない状態で前記複数の操作部のいずれかに前記発音開始操作がなされた場合に、その発音開始操作がなされた操作部の音高を含む部分音域と対応する規則を、前記割り当てに用いる規則として選択し、その選択をその後のあるタイミングまで有効とすることを特徴とする電子楽器。
The electronic musical instrument according to claim 1,
When the sound generation start operation is performed on any of the plurality of operation units in a state where the sound generation instruction operation is not performed on any of the plurality of operation units, the switching unit performs the sound generation start operation. An electronic musical instrument, wherein a rule corresponding to a partial range including a pitch of an operation unit is selected as a rule used for the assignment, and the selection is valid until a certain timing thereafter.
請求項2に記載の電子楽器であって、
前記あるタイミングは、前記複数の操作部のいずれにも前記発音指示操作がなされていない状態となるタイミングであることを特徴とする電子楽器。
An electronic musical instrument according to claim 2,
The electronic musical instrument according to claim 1, wherein the certain timing is a timing at which the sound generation instruction operation is not performed on any of the plurality of operation units.
請求項2に記載の電子楽器であって、
前記あるタイミングは、前記複数の操作部のいずれかに発音停止操作がなされた後、前記複数の操作部のいずれかに新たに前記発音開始操作がなされるタイミングであることを特徴とする電子楽器。
An electronic musical instrument according to claim 2,
The electronic musical instrument characterized in that the certain timing is a timing at which the sound generation start operation is newly performed on any of the plurality of operation units after the sound generation stop operation is performed on any of the plurality of operation units. .
請求項1乃至4のいずれか一項に記載の電子楽器であって、
前記規則は、前記操作部に対する前記発音停止操作に応じて前記発音パートの割り当てをやり直すか否かの情報を含むことを特徴とする電子楽器。
The electronic musical instrument according to any one of claims 1 to 4,
The electronic musical instrument according to claim 1, wherein the rule includes information on whether or not to reassign the sounding part in response to the sounding stop operation on the operation unit.
コンピュータを、
それぞれ音高と対応する複数の操作部のうち発音指示操作がなされている操作部の音高に、複数の発音パートを予め定められた規則に従って割り当てる割当手段と、
前記複数の操作部と対応する音域中に複数の部分音域を設定する部分音域設定手段と、
前記複数の部分音域のうちどの部分音域の操作部において発音開始操作がなされたかに応じて、前記割り当てに用いる規則を切り替える切替手段として機能させるためのプログラム。
Computer
An assigning means for assigning a plurality of pronunciation parts to a pitch of an operation unit on which a sound generation instruction operation is performed among a plurality of operation units each corresponding to a pitch according to a predetermined rule;
A partial range setting means for setting a plurality of partial ranges in a range corresponding to the plurality of operation units;
A program for functioning as switching means for switching a rule used for the assignment according to which partial sound range operation unit among the plurality of partial sound ranges is subjected to sound generation start operation.
それぞれ音高と対応する複数の操作部のうち発音指示操作がなされている操作部の音高に、複数の発音パートを予め定められた規則に従って割り当てる割当手順と、
前記複数の操作部と対応する音域中に複数の部分音域を設定する部分音域設定手順と、
前記複数の部分音域のうちどの部分音域の操作部において発音開始操作がなされたかに応じて、前記割り当てに用いる規則を切り替える切替手順とを備えることを特徴とする発音音高選択方法。
An assignment procedure for assigning a plurality of sounding parts to the pitches of the operation parts on which the sound generation instruction operation is performed among the plurality of operation parts corresponding to the pitches according to a predetermined rule;
A partial range setting procedure for setting a plurality of partial ranges in a range corresponding to the plurality of operation units;
A pronunciation pitch selection method, comprising: a switching procedure for switching a rule used for the assignment according to which partial range of the plurality of partial ranges the sound generation start operation is performed.
JP2013271487A 2013-12-27 2013-12-27 Electric musical instrument, program, and method for selecting sound generation pitch Pending JP2015125389A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013271487A JP2015125389A (en) 2013-12-27 2013-12-27 Electric musical instrument, program, and method for selecting sound generation pitch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013271487A JP2015125389A (en) 2013-12-27 2013-12-27 Electric musical instrument, program, and method for selecting sound generation pitch

Publications (1)

Publication Number Publication Date
JP2015125389A true JP2015125389A (en) 2015-07-06

Family

ID=53536100

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013271487A Pending JP2015125389A (en) 2013-12-27 2013-12-27 Electric musical instrument, program, and method for selecting sound generation pitch

Country Status (1)

Country Link
JP (1) JP2015125389A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108415352A (en) * 2017-02-09 2018-08-17 欧姆龙株式会社 Data converter, signal transfer method and signal transduction system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108415352A (en) * 2017-02-09 2018-08-17 欧姆龙株式会社 Data converter, signal transfer method and signal transduction system
US10775762B2 (en) 2017-02-09 2020-09-15 Omron Corporation Data converter, signal transmission method, and signal transmission system

Similar Documents

Publication Publication Date Title
JP6260191B2 (en) Electronic musical instrument, program and pronunciation pitch selection method
EP4131251A1 (en) Electronic musical instrument, electronic musical instrument sound emission instructing method and program
JP5879996B2 (en) Sound signal generating apparatus and program
US9384717B2 (en) Tone generation assigning apparatus and method
US11417303B2 (en) Musical sound data reproduction device and musical sound data reproduction method
JP2015075753A (en) Program, device and method for sound production state display
JP4379291B2 (en) Electronic music apparatus and program
JP4787258B2 (en) Tone storage device, tone storage method, computer program for storing tone
JP2015125389A (en) Electric musical instrument, program, and method for selecting sound generation pitch
JP6357772B2 (en) Electronic musical instrument, program and pronunciation pitch selection method
JP6399155B2 (en) Electronic musical instrument, program and pronunciation pitch selection method
JP6398173B2 (en) Electronic musical instrument, program and pronunciation pitch selection method
JP6343911B2 (en) Electronic musical instrument, program and pronunciation pitch selection method
JP4211854B2 (en) Ensemble system, controller, and program
JP2015125391A (en) Electric musical instrument, program, and method for selecting sound generation pitch
JP3680732B2 (en) Performance device and storage medium
JP2006039262A (en) Effect imparting apparatus and method therefor
JP7371363B2 (en) Musical sound output device, electronic musical instrument, musical sound output method, and program
JP2015114639A (en) Electronic musical instrument, program, and musical sound signal generation method
US20230035440A1 (en) Electronic device, electronic musical instrument, and method therefor
JP3628801B2 (en) Electronic musical instrument and storage medium for electronic musical instrument
JP5983624B6 (en) Apparatus and method for pronunciation assignment
JP4877166B2 (en) Playback apparatus and program
JP4585023B2 (en) Electronic musical instruments
JP2972364B2 (en) Musical information processing apparatus and musical information processing method