JP2015099328A - Electronic musical instrument, program, and sound generation pitch selection method - Google Patents

Electronic musical instrument, program, and sound generation pitch selection method Download PDF

Info

Publication number
JP2015099328A
JP2015099328A JP2013240149A JP2013240149A JP2015099328A JP 2015099328 A JP2015099328 A JP 2015099328A JP 2013240149 A JP2013240149 A JP 2013240149A JP 2013240149 A JP2013240149 A JP 2013240149A JP 2015099328 A JP2015099328 A JP 2015099328A
Authority
JP
Japan
Prior art keywords
pitch
key
assigner
selection
predetermined
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2013240149A
Other languages
Japanese (ja)
Other versions
JP6343911B2 (en
Inventor
直希 安良岡
Naoki Yasuraoka
直希 安良岡
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 JP2013240149A priority Critical patent/JP6343911B2/en
Publication of JP2015099328A publication Critical patent/JP2015099328A/en
Application granted granted Critical
Publication of JP6343911B2 publication Critical patent/JP6343911B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PROBLEM TO BE SOLVED: To facilitate sound generation that matches an intention of a player's performance operation while preventing an adverse effect on auditory feeling even when a continuous performance operation is performed with an overlapped part.SOLUTION: An electronic musical instrument includes one or more assigners that select pitch which generates sound on the basis of a predetermined rule in accordance with an operation state of a plurality of operation sections each corresponding to the pitch, stores a selection history of the pitch of each assigner, and changes the predetermined rule for the assigner whose stored selection history has satisfied a predetermined condition to a later-arrival priority that selects the pitch of the operation section in which a sound generation start operation is performed last (S22, S23).

Description

この発明は、複数の操作部の操作状態に応じて発音する音高を選択する電子楽器、コンピュータにこのような音高選択機能を実現させるためのプログラム、および、複数の操作部の操作状態に応じて発音する音高を選択する発音音高選択方法に関する。   The present invention relates to an electronic musical instrument that selects a pitch to be generated according to an operation state of a plurality of operation units, a program for causing a computer to realize such a pitch selection function, and an operation state of a plurality of operation units. The present invention relates to a pronunciation pitch selection method for selecting a pitch to be generated in response.

従来から、電子楽器において、押鍵されている音高の中から予め定めたルールに従って発音すべき音高を選択するアサイナを複数設け、各アサイナが選択した音高を、そのアサイナと対応する音色で発音させることが知られている。   Conventionally, 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 a pitch selected by each assigner is assigned to a tone color corresponding to the assigner. It is known to make it sound.

そして、この複数のアサイナを用いることにより、例えば1のアサイナに低音側の音高を選択させ、他のアサイナに高音側の音高を選択させるようにルールを定めておけば、自動的に低音側と高音側の音(例えば伴奏とメロディ)を異なる音色で弾き分けることができる。また、ルールの設定によっては、複数のアサイナに同じ音高を選択させ複数パートのユニゾン演奏のような発音を行ったり、複数のアサイナにそれぞれ異なる音高を選択させ複数パートのアンサンブル演奏のような発音を行ったりすることもできる。
このような電子楽器については、例えば特許文献1に記載がある。
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. Also, depending on the rule settings, the same pitch can be selected for multiple assigners to produce a sound like unison performance of multiple parts, or different pitches can be selected for multiple assigners, such as ensemble performance of multiple parts. You can also pronounce.
Such an electronic musical instrument is described in Patent Document 1, for example.

また、特許文献2には、電子楽器において、押鍵されたノートに、押鍵数に応じた規則で所定数のパートを割り当て、各ノートを、そのノートに割り当てたパートの音色で発音させる電子楽器が開示されている。この電子楽器によれば、押鍵数によらず、常に所定数のパートを発音させることができる。   Patent Document 2 discloses an electronic musical instrument that assigns a predetermined number of parts to a pressed note according to a rule corresponding to the number of key presses, and causes each note to sound with the tone of the part assigned to that note. An instrument is disclosed. According to this electronic musical instrument, a predetermined number of parts can always be sounded regardless of the number of key presses.

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

ところで、上述の複数のアサイナを用いてそれぞれ発音すべき音高を選択する場合において、特許文献1に記載の方式では、必ずしも望ましい発音ができるとは限らなかった。
例えば、レガート演奏を行う場合のように、前の音と次の音を続けて演奏する場合、前の音の鍵を離鍵する前に次の音の鍵を押鍵する場合の発音に不都合があった。
By the way, in the case where the pitches to be sounded are selected using the above-described plurality of assigners, the method described in Patent Document 1 does not always produce a desirable sound.
For example, when playing the previous sound and the next sound consecutively, such as when playing legato, it is inconvenient for sound generation when pressing the key of the next sound before releasing the key of the previous sound was there.

図19にこの例を示す。図19において、縦軸が時間、横軸が音高であり、各音高における帯が、その音高の鍵を押鍵している期間を示す。図19の例において、音高n4の鍵が押鍵され、これが離鍵される前に、音高n3の鍵が押鍵されている。そして、その後音高n4の鍵はすぐに離鍵されていることから、この演奏は音高n4の音と音高n3の音を続けて発音させることを意図した演奏であると推測できる。   FIG. 19 shows this example. In FIG. 19, the vertical axis represents time, the horizontal axis represents pitch, and the band at each pitch indicates the period during which the key of that pitch is depressed. In the example of FIG. 19, the key with pitch n4 is pressed, and before the key is released, the key with pitch n3 is pressed. Then, since the key of pitch n4 is released immediately thereafter, it can be assumed that this performance is a performance intended to continuously generate the sound of pitch n4 and the sound of pitch n3.

しかしながら、特許文献1に記載の方式では、押鍵操作に応じて各アサイナに発音すべき音高を選択させる一方、離鍵操作の際には、離鍵された鍵と対応する音を発音中の発音チャンネルにキーオフ信号を送るのみである。すなわち、離鍵操作の際には、アサイナによる音高の選択は行わない。   However, in the method described in Patent Document 1, each assigner selects a pitch to be sounded in response to a key pressing operation, while a sound corresponding to a key that has been released is being sounded during a key releasing operation. It just sends a key-off signal to the sound channel. That is, during the key release operation, the pitch is not selected by the assigner.

従って、例えば初めに音高n4の鍵が(n1及びn2の鍵と同時に)押鍵されるKON1,2,4のタイミングでは、各アサイナは音高n1,n2,n4の3つの鍵が押鍵された状態で発音すべき音高を選択することになる。しかし、音高n3の鍵が押鍵されるKON3のタイミングでは、各アサイナは、音高n1〜n4の4つの鍵が押鍵されている状態で音高の選択を行うこととなってしまう。また、その後すぐに音高n4の鍵が離鍵されるKOFF4のタイミングでは、単に音高n4について発音している音を消音することになる。   Therefore, for example, at the timing of KON1,2,4 when the key of pitch n4 is first pressed (simultaneously with the keys of n1 and n2), each assigner is pressed by three keys of pitch n1, n2, n4. In this state, the pitch to be pronounced is selected. However, at the timing of KON3 when the key of the pitch n3 is pressed, each assigner selects the pitch while the four keys n1 to n4 are pressed. Further, at the timing of KOFF4 when the key of pitch n4 is released immediately thereafter, the sound that is pronounced with respect to pitch n4 is simply muted.

このため、KON1,2,4からKON3の期間と、KOFF4以降の期間とでは、押鍵されている鍵の音高順と、各アサイナが選択する音高との関係がずれてしまう可能性がある。すなわち、演奏操作からは、音高n4の音と音高n3の音とは続けて発音させる意図が推測できるのに、これらの音高の音を異なる音色で発音してしまい、不自然な発音となってしまう可能性がある。   For this reason, in the period from KON1, 2, 4 to KON3, and the period after KOFF4, the relationship between the pitch order of the keys being pressed and the pitch selected by each assigner may deviate. is there. That is, from the performance operation, it can be inferred that the sound of the pitch n4 and the sound of the pitch n3 are continuously generated, but the sounds of these pitches are pronounced in different timbres, and thus unnatural pronunciation. There is a possibility of becoming.

特許文献2には、複数のアサイナを用いる方式とは異なるものの、このようなレガート演奏時に発音が不自然とならないようにするためのミスレガート処理について記載されている。このミスレガート処理は、発音中の最新ノートのノートオンからミスレガート判定時間以内にノートオフがあった場合に、その時点でノートへのパートの割り当てと発音をやり直すというものである。   Patent Document 2 describes a mislegato process for preventing the sound from becoming unnatural during such legato performance, although it is different from the method using a plurality of assigners. In the miss legato process, when there is a note-off within the miss legato determination time from the note-on of the latest note that is being sounded, the part is assigned to the note and the sound is redone at that time.

このようにすれば、図19のような演奏操作がなされた場合に、KON3からKOFF4までの期間がミスレガート判定時間以内であれば、KOFF4のタイミングで割り当てをやり直すことができ、KOFF4以降は音高n1〜n3の3つの押鍵と対応した発音を行うことができる。   In this way, when a performance operation as shown in FIG. 19 is performed, if the period from KON3 to KOFF4 is within the mislegato determination time, the assignment can be redone at the KOFF4 timing. Sound generation corresponding to the three key depressions of high n1 to n3 can be performed.

しかしながら、KOFF4のタイミングで割り当てをやり直すとすると、音高n3に複数のパートを割り当てる場合に、音高n3の1回の押鍵について、KON3で発音開始するパートと、KOFF4で発音開始するパートとがあることになってしまう。このため、若干ずれたタイミングで2つの音が発音されることになり、聴感上好ましくない。この点は、音高が素早く入れ替わる(1回の押鍵の時間が短い、又は短時間に連続して発音がある)演奏を行う場合に特に顕著である。   However, if reassignment is performed at the timing of KOFF4, when multiple parts are assigned to pitch n3, for each key press of pitch n3, the part that starts sounding with KON3 and the part that starts sounding with KOFF4 There will be. For this reason, two sounds are pronounced at a slightly shifted timing, which is not preferable for hearing. This point is particularly noticeable when a performance is performed in which the pitches change quickly (the time of one key press is short or there is a continuous pronunciation in a short time).

この発明は、このような事情に鑑みてなされたものであり、連続した演奏操作が一部分重なってなされた場合でも、聴感への悪影響を抑えつつ、演奏者の演奏操作の意図に合った発音を容易に行えるようにすることを目的とする。   The present invention has been made in view of such circumstances, and even when successive performance operations are partially overlapped, the pronunciation suitable for the intention of the player's performance operation is suppressed while suppressing adverse effects on hearing. The purpose is to make it easy.

上記の目的を達成するため、この発明の電子楽器は、それぞれ音高と対応する複数の操作部の操作状態に応じて所定の規則に基づき発音する音高を選択する1又は複数の選択手段と、上記各選択手段による音高の選択履歴を保存する保存手段と、上記保存手段が保存する選択履歴が所定の条件を満たした選択手段についての上記所定の規則を、最後に発音開始操作された操作部の音高を選択する後着優先に変更する制御手段とを設けたものである。
このような電子楽器において、上記所定の条件が、所定期間内に所定基準以上の頻度で選択する音高の変動があった、であるとよい。
In order to achieve the above object, an electronic musical instrument according to the present invention includes one or more selection means for selecting a pitch to be generated based on a predetermined rule in accordance with operation states of a plurality of operation units each corresponding to a pitch. The sounding selection history of the selection means by each of the selection means, and the predetermined rule for the selection means for which the selection history saved by the storage means satisfies a predetermined condition, is finally operated to start sound generation. And a control means for changing the priority of the operation unit to the late arrival priority.
In such an electronic musical instrument, it is preferable that the predetermined condition includes a change in pitch selected at a frequency equal to or higher than a predetermined reference within a predetermined period.

また、この発明の別の電子楽器は、それぞれ音高と対応する複数の操作部の操作状態に応じて所定の規則に基づき発音する音高を選択する1又は複数の選択手段と、上記各操作部の操作履歴を保存する保存手段と、上記保存手段が保存する操作履歴中の複数操作が所定の条件を満たす場合に、その複数操作いずれかの際に選択する音高が変動した選択手段についての上記所定の規則を、最後に発音開始操作された操作部の音高を選択する後着優先に変更する制御手段とを設けたものである。
このような電子楽器において、上記所定の条件が、ある音高の操作部に発音開始操作を行ってから所定時間内に別の音高の操作部に発音停止操作を行う操作を、所定基準以上の頻度で行った、であるとよい。
この発明は、装置として実現する他、プログラム、方法、システム、その他任意の形態で実現することができる。
Another electronic musical instrument of the present invention includes one or a plurality of selection means for selecting a pitch to be generated based on a predetermined rule in accordance with operation states of a plurality of operation units each corresponding to a pitch, and each operation described above. A storage means for storing the operation history of a part, and a selection means in which the pitch to be selected in any of the plurality of operations fluctuates when a plurality of operations in the operation history stored by the storage means satisfy a predetermined condition And a control means for changing the predetermined rule to the priority of late arrival for selecting the pitch of the operation unit that has been operated to start the sound generation last.
In such an electronic musical instrument, when the predetermined condition is that a sound generation start operation is performed on a certain pitch operation unit and a sound generation stop operation is performed on another pitch operation unit within a predetermined time, the operation exceeds a predetermined standard. It is good to have done with the frequency of.
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 tone pitch selection method of the present invention as described above, even when consecutive performance operations are partially overlapped, the performance operation intention of the performer is suppressed while suppressing adverse effects on the audibility. It is possible to make it easy to produce a suitable pronunciation.

本発明の第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. アサイナに設定する、発音音高選択規則の例を示す図である。It is a figure which shows the example of the pronunciation pitch selection rule set to an assigner. 選択履歴テーブルの例を示す図である。It is a figure which shows the example of a selection log | history table. 図1に示した電子楽器におけるアサイナによる音高選択の例を示す図である。It is a figure which shows the example of the pitch selection by the assigner in the electronic musical instrument shown in FIG. 図1に示した電子楽器においてCPUが実行する処理を示すフローチャートである。It is a flowchart which shows the process which CPU performs in the electronic musical instrument shown in FIG. 図6に示した速弾き判定処理のフローチャートである。FIG. 7 is a flowchart of a fast play determination process shown in FIG. 6. FIG. 図6に示した発音割り当て処理のフローチャートである。FIG. 7 is a flowchart of the pronunciation assignment process shown in FIG. 6. FIG. 図1に示した電子楽器においてCPUが実行する別の処理を示すフローチャートである。It is a flowchart which shows another process which CPU performs in the electronic musical instrument shown in FIG. 第1実施形態の比較例における音高選択の例を示す図である。It is a figure which shows the example of the pitch selection in the comparative example of 1st Embodiment. 第2実施形態の電子楽器における、アサイナを用いた発音制御に関連する機能を示す、図2と対応する機能ブロック図である。It is a functional block diagram corresponding to FIG. 2 which shows the function relevant to the sound generation control using the assigner in the electronic musical instrument of 2nd Embodiment. 操作履歴テーブルの例を示す図である。It is a figure which shows the example of an operation history table. レガート履歴テーブルの例を示す図である。It is a figure which shows the example of a legato history table. 第2実施形態の電子楽器におけるアサイナによる音高選択の例を示す図である。It is a figure which shows the example of the pitch selection by the assigner in the electronic musical instrument of 2nd Embodiment. 第2実施形態の電子楽器においてCPUが実行する処理を示すフローチャートである。It is a flowchart which shows the process which CPU performs in the electronic musical instrument of 2nd Embodiment. 第2実施形態の比較例における音高選択の例を示す図である。It is a figure which shows the example of the pitch selection in the comparative example of 2nd Embodiment. 第2実施形態の別の比較例における音高選択の例を示す図である。It is a figure which shows the example of the pitch selection in another comparative example of 2nd Embodiment. アサイナに設定する発音音高選択規則の変形例を示す図である。It is a figure which shows the modification of the pronunciation pitch selection rule set to an assigner. 電子楽器における演奏操作の例を示す図である。It is a figure which shows the example of performance operation in an electronic musical instrument.

以下、この発明を実施するための形態を図面に基づいて具体的に説明する。
〔第1実施形態:図1乃至図9〕
図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 9]
FIG. 1 is a block diagram showing a hardware configuration of an electronic musical instrument which is an 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 the performance operation of the user. 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において、特徴的な点は、アサイナの動作に関する点である。そこで、次にアサイナの動作についてより具体的に説明する。
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 related to the operation of the assigner. Therefore, the operation of the assigner will be described more specifically.

図2に、電子楽器10における、アサイナを用いた発音制御に関連する機能の機能ブロック図を示す。
図2に示すように、電子楽器10は、発音指示受付部31、操作状態検出部32、割当制御部33、楽音生成部34、選択履歴保存部35、後着優先設定部36、出力部37を備える。これらのうち、発音指示受付部31の機能は演奏操作子22及び検出回路16により実現され、楽音生成部34の機能は音源回路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 receiving unit 31, an operation state detection unit 32, an assignment control unit 33, a musical sound generation unit 34, a selection history storage unit 35, a late arrival priority setting unit 36, and an output unit 37. Is provided. 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 34 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.

操作状態検出部32は、発音指示受付部31から送信される操作信号に基づき、現在の演奏操作子22の操作状態(ここでは鍵盤なので押鍵状態)を検出する。より具体的には、操作中の(鍵の)音高を求める。この押鍵状態は、例えば、キーオンデータに含まれるノートナンバを操作中の音高のリストに追加し、キーオフデータに含まれるノートナンバを操作中の音高のリストから削除することにより求めることができる。   The operation state detection unit 32 detects the current operation state of the performance operator 22 (here, the key is pressed because it is a keyboard) based on the operation signal transmitted from the sound generation instruction reception unit 31. More specifically, the pitch of the key being operated is obtained. This key depression state can be obtained, for example, by adding the note number included in the key-on data to the list of operating pitches and deleting the note number included in the key-off data from the list of operating pitches. it can.

そして、操作状態検出部32は、キーオンデータを受信した場合には、検出した操作状態の情報を割当制御部33に供給し、発音する音高の選択を行わせる。具体的な供給先は、割当制御部33が備える第1アサイナAS−1から第nアサイナAS−nまでのn個のアサイナのうち、機能が有効になっているアサイナである。   When the key-on data is received, the operation state detection unit 32 supplies information on the detected operation state to the assignment control unit 33, and selects 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.

なお、人が演奏を行う場合には、同時に複数の鍵の操作を行ったつもりでも、寸分違わず同じタイミングでその操作を行うことは困難である。そこで、複数の操作のタイミング差が同時操作とみなせる程度の所定閾値(例えば15〜30ミリ秒程度)以内であれば、それらの操作は同時に行われたものとみなして取り扱うことが望ましい。ここではこの取り扱いをするとして説明する。ある鍵のキーオン操作と別の鍵のキーオフ操作が同時に行われることもあり得る。
さらに、操作状態検出部32は、キーオフデータを受信した場合に、楽音生成部34に対し、キーオフ操作が行われた音高の発音を停止させる機能も備える。
また、操作状態検出部32は、キーオンデータを受信した場合に、後着優先設定部36に対し、その旨を伝達する機能も備える。
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.
Further, the operation state detection unit 32 has a function of causing the tone generation unit 34 to stop the sound generation of the pitch for which the key-off operation has been performed when key-off data is received.
In addition, the operation state detection unit 32 has a function of transmitting the fact to the late arrival priority setting unit 36 when key-on data is received.

次に、割当制御部33は、1又は複数(ここではn個とする)のアサイナAS−1〜AS−nを備える(アサイナの個体を特定する必要がない場合は符号「AS」を用いる)。これらの各アサイナASはそれぞれ、操作状態検出部32からキーオン操作に応じて供給される演奏操作子22の操作状態の情報に応じて、操作中(押鍵中)の音高の中から、楽音生成部34に発音させる音高(ノート)を選択する選択手段である。この選択は、アサイナ毎に設定される規則に従って行う。   Next, the allocation control unit 33 includes one or a plurality (here, n) of assigners AS-1 to AS-n (use the code “AS” when there is no need to specify an individual of the assigner). . Each of these assigners AS, according to the operation state information of the performance operator 22 supplied from the operation state detection unit 32 according to the key-on operation, from the pitch of the operation (during key depression) from the musical tone. This is a selection means for selecting a pitch (note) to be generated by the generation unit. This selection is performed according to a rule set for each assigner.

図3に、アサイナに設定する規則の例を示す。
図3は、4つのアサイナを用いる場合の例であり、各アサイナに設定する規則は、「対象押鍵」及び「優先方式」の項目からなる。「説明」の項目は、これらの項目の情報により定められる規則の内容の理解を助けるための説明であり、選択処理には用いない。
FIG. 3 shows an example of rules set for the assigner.
FIG. 3 shows an example in which four assigners are used, and a rule set for each assigner includes items of “target key press” and “priority method”. The item “explanation” is an explanation for helping understanding of the contents of the rules defined by the information of these items, and is not used for the selection process.

対象押鍵の項目は、押鍵中の音高のうちどの範囲を選択の対象として考慮するかを定める項目である。「全押鍵」は、押鍵中の音高全てを考慮することを示す。「低音側X音」は、押鍵中の音高のうち低音側からX個の音高のみ考慮することを示す。ただし、押鍵数がX未満の場合には、押鍵中の音高全てを考慮する。また、図3には示していないが、同様に「高音側X音」の設定も可能である。   The target key-pressing item is an item that determines which range of pitches during key pressing should be considered as a selection target. “Full key press” indicates that all pitches during key press are considered. “Low-pitched side X sound” indicates that only X pitches from the low-pitched side among the pitches being pressed are considered. However, if the number of key presses is less than X, all the pitches during key press are considered. Further, although not shown in FIG. 3, “high-side X sound” can be similarly 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.

以上から、第1アサイナについては、押鍵中の音高全てのうち最も高い音高を選択する規則が設定されていることがわかる。
第2アサイナについては、押鍵数が3以下であれば、その押鍵の中で最も高い音高を選択することになる。押鍵数が4以上であれば、低音側3音の中で最も高い音高、すなわち下から3番目の音高を選択することになる。
第3アサイナについては、同様に、押鍵数が2以下であれば、その押鍵の中で最も高い音高を、押鍵数が3以上であれば、下から2番目の音高を選択することになる。
第4アサイナについては、押鍵中の音高全てのうち最も低い音高を選択する規則が設定されていることがわかる。
図にないアサイナについては機能が無効化されていると考えればよい。
From the above, it can be seen that for the first assigner, a rule for selecting the highest pitch among all pitches being pressed is set.
For the second assigner, if the number of key presses is 3 or less, the highest pitch among the key presses is selected. If the number of key presses is 4 or more, the highest pitch among the three low-pitched sounds, that is, the third pitch from the bottom is selected.
Similarly, for the third assigner, if the number of key presses is 2 or less, the highest pitch among the key presses is selected. If the number of key presses is 3 or more, the second pitch from the bottom is selected. Will do.
It can be seen that for the fourth assigner, a rule for selecting the lowest pitch among all pitches being pressed is set.
For assigners not shown in the figure, it can be considered that the function is disabled.

各アサイナASは、以上の規則に従い発音する音高を選択すると、楽音生成部34に対し、その選択した音高の楽音を発音開始するよう要求する。また、各アサイナASには対応する音色T1〜Tnが設定されており、楽音をその対応する音色で発音するよう要求する。なお、アサイナASには対応するパートを設定し、音色はパートに対応付けて設定することも可能である。この場合、アサイナASと音色とは、パートを介して対応付けられることになり、アサイナAS−nに対応付けられたパートを第nパートと表す。
また、各アサイナASは、ある音高を選択している状態で別の音高を選択した場合に、楽音生成部34に対し、その時選択していた音高の楽音を発音停止するよう要求する。
When each assigner AS selects a pitch to be pronounced according to the above rules, the assigner AS requests the tone generator 34 to start the 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.
Further, when each assigner AS selects another pitch while a certain pitch is selected, the assigner AS requests the tone generation unit 34 to stop generating the tone having the selected pitch. .

なお、各アサイナASは、自身が最後に選択した音高がどの音高であるかの情報を、次に別の音高を選択するまで、保持しておく。そして、音高の選択を行った場合でも、選択した音高が前回選択した音高と変わらず、かつその音高が今回キーオン操作された音高でない(以前から操作中であった)音高である場合、楽音生成部34に対する発音の要求を行わないようにするとよい。この場合、該当のアサイナ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, the selected pitch does not change from the previously selected pitch, and the pitch is not the pitch that was key-oned this time (it was being operated before). In this case, it is preferable not to make a request for sound generation to the musical tone generation unit 34. 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.

また、割当制御部33は、各アサイナASが選択する音高が変動する度に、その情報を、その変動が起こった時刻の情報と共に選択履歴保存部35に供給して保存させる。ここで、「選択する音高が変動する」とは、楽音生成部34に対する発音の要求を行う必要があるような音高の選択がなされたことを指す。すなわち、前回と異なる音高を選択したり、前回と同じ音高であっても今回キーオンされた音高を選択したりした場合が該当する。後者の場合、該当の音高は一旦キーオフされてから再度キーオンされているはずであり、この場合は、音高の選択が一旦解除されてから再度選択した、と捉えることができる。   Further, every time the pitch selected by each assigner AS varies, the allocation control unit 33 supplies the information to the selection history storage unit 35 together with information on the time at which the variation occurred, and stores the information. Here, “the pitch to be selected fluctuates” means that a pitch has been selected so that a tone generation request to the musical tone generation unit 34 needs to be made. That is, a case where a pitch different from the previous pitch is selected, or a pitch that is keyed on this time even if the pitch is the same as the previous pitch is applicable. In the latter case, the corresponding pitch should have been keyed off and then on again, and in this case, it can be considered that the selection of the pitch has been canceled and then selected again.

なお、この例では説明を簡単にするため各アサイナが音高を1つ選択するものとして説明するが、複数の音高を選択可能な規則を設定することも可能である。高音優先で2音を選択する、等である。
また、複数のアサイナが同じ音高を選択しても問題ない。この場合、選択された音高について、複数の音色で発音することになる。
In this example, it is assumed that each assigner selects one pitch for the sake of simplicity, but it is also possible to set a rule capable of selecting 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.

楽音生成部34は、m個の発音chTC1〜TCmを備える(発音chの個体を特定する必要がない場合は符号「TC」を用いる)。そして、アサイナASから発音開始の要求を受けると、発音中でない発音chを検索し、発見した発音chTCにて、発音開始要求で指定された音高及び音色の楽音の音響信号を生成(発音)させる。なお、図2では、アサイナASと発音chTCの間を線で結んでいるがこれらの間に固定的な対応関係があるわけではない。   The musical sound generation unit 34 includes m sound generation chTC1 to TCm (use the code “TC” when there is no need to specify an individual sound generation ch). 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.

また、楽音生成部34は、操作状態検出部32から特定の音高の発音を停止するよう指示された場合に、発音chTCの中からその音高の発音を行っているものを検索し、その発音chに発音を停止させる機能も備える。また、いずれかのアサイナASから特定の音高の発音を停止するよう指示された場合には、発音chTCの中から、要求元のアサイナASに対応付けられたパートでその音高の発音を行っているものを検索し、その発音chに発音を停止させる機能も備える。これらの停止には、リリース状態への移行も含まれる。
そして、楽音生成部34は、各発音chTCが生成した音響信号をミキシングして出力部37に供給し、楽音の出力を行わせる。
In addition, when the operation state detection unit 32 instructs the musical sound generation unit 34 to stop generating a specific pitch, the musical sound generation unit 34 searches the pronunciation chTC for the one that is generating the pitch, It also has a function to stop the pronunciation of the pronunciation channel. In addition, when any of the assigners AS is instructed to stop the sound generation of a specific pitch, the sound of the pitch is generated by the part associated with the requesting assigner AS from the sound generation chTC. It also has a function of searching for what is being recorded and stopping the pronunciation of the pronunciation. These outages include a transition to a released state.
Then, the musical sound generation unit 34 mixes the acoustic signals generated by the respective sound generation chTCs and supplies them to the output unit 37 to output musical sounds.

次に、選択履歴保存部35は、割当制御部33から供給される、各アサイナASによる音高選択の変動及びその発生時刻の情報を、音高の選択履歴として保存する機能を備える保存手段である。
図4に、選択履歴保存部35が選択履歴の保存に用いる選択履歴テーブルの例を示す。
図4に示すように、選択履歴テーブルは、割当制御部33において有効になっているアサイナについて、そのアサイナがどのタイミングでどの音高を選択したかを時系列的に記録するためのテーブルである。
Next, the selection history storage unit 35 is a storage unit having a function of storing, as a selection history of pitches, information on changes in pitch selection by each assigner AS and the time of occurrence thereof supplied from the assignment control unit 33. is there.
FIG. 4 shows an example of a selection history table used by the selection history storage unit 35 for storing the selection history.
As shown in FIG. 4, the selection history table is a table for recording, in time series, which pitch the assigner has selected at which timing for the assigner enabled in the allocation control unit 33. .

図4の例では、第1アサイナは時刻KON1に音高nm1を選択し、時刻KON2に音高nm2を選択し、時刻KON3に音高nm3を選択したことが登録されている。なお、選択解除の時刻を登録することは必須ではないが、登録しても構わない。また、キーオン操作に応じてアサイナASが音高の選択を行っても、音高の選択に変動がない場合にはその音高の選択を選択履歴に登録しないことは、上述の通りである。
この点については、具体的な演奏操作及びその操作に応じた音高選択の例を用いて後に詳述する。また、操作履歴テーブルは、例えばRAM13に保存すればよい。しかし、電子楽器10の外部のものも含め、任意の記憶手段に保存することができる。
In the example of FIG. 4, it is registered that the first assigner has selected the pitch nm1 at the time KON1, selected the pitch nm2 at the time KON2, and selected the pitch nm3 at the time KON3. Note that it is not essential to register the time of deselection, but it may be registered. Further, as described above, even if the assigner AS selects a pitch in response to a key-on operation, if the pitch selection does not change, the pitch selection is not registered in the selection history.
This point will be described in detail later using a specific performance operation and an example of pitch selection according to the operation. Further, the operation history table may be stored in the RAM 13, for example. However, it can be stored in any storage means including those external to the electronic musical instrument 10.

図2の説明に戻る。
後着優先設定部36は、適当なタイミング(例えばキーオン操作を検出したタイミング)で選択履歴保存部35が保存している選択履歴を参照し、その選択履歴が所定の条件を満たしたアサイナASについて、そのアサイナASが用いる音高選択の規則を後着優先とすることを設定する機能を備える制御手段である。この後着優先は、図3に示した対象押鍵と優先方式の双方を置き換えるものである。そして、後着優先を用いることとしたアサイナASは、図3に設定されている規則によらず、押鍵中の全ての鍵の中で最後にキーオン操作された鍵の音高を選択するようになる。
Returning to the description of FIG.
The late arrival priority setting unit 36 refers to the selection history stored in the selection history storage unit 35 at an appropriate timing (for example, the timing at which a key-on operation is detected), and the assigner AS whose selection history satisfies a predetermined condition is referred to. , A control means having a function of setting that the pitch selection rule used by the assigner AS is to be given priority on the arrival. This late arrival priority replaces both the target key depression and the priority method shown in FIG. Then, the assigner AS that decides to use the late arrival priority selects the pitch of the key that was last key-on among all the keys being pressed, regardless of the rules set in FIG. become.

また、ここでは、「所定の条件」として、「所定期間内に所定基準以上の頻度で選択する音高の変動があった」を用いている。この条件を満たすアサイナASは、音高が素早く入れ替わる(1回の押鍵の時間が短い)演奏に係るキーオン操作があった音高を継続的に選択していると考えられる。このような演奏を行う場合、意図しなくても、前の鍵の離鍵が次の鍵の押鍵より遅くなり、図19を用いて説明した音高n3と音高n4のように、押鍵タイミングが一部重複してしまうことが起こりやすい。   Here, “there was a change in pitch to be selected with a frequency equal to or higher than a predetermined reference within a predetermined period” as the “predetermined condition”. It is considered that the assigner AS satisfying this condition continuously selects a pitch for which a key-on operation related to a performance in which the pitches are quickly switched (the time of one key depression is short) is performed. When performing such a performance, even if not intended, the key release of the previous key becomes slower than the key press of the next key, and as shown by the pitch n3 and pitch n4 described with reference to FIG. It is easy for part of the key timing to overlap.

そこで、このような演奏に係る発音を担うアサイナASに後着優先の規則を使用させることにより、押鍵タイミングの重複有無に関わらず、キーオン操作のタイミングで確実に発音を開始させることができる。また、複数のアサイナASが異なる規則に基づき同じキーオン操作に係る音高を選択する場合でも、アサイナAS毎に発音開始タイミングがずれることがない。   Therefore, by making the assigner AS responsible for sound generation related to such performance use the late arrival priority rule, it is possible to reliably start sound generation at the timing of the key-on operation, regardless of whether or not the key press timing is overlapped. Further, even when a plurality of assigners AS select a pitch related to the same key-on operation based on different rules, the sounding start timing is not shifted for each assigner AS.

なお、上記の所定期間としては例えば800ミリ秒、頻度の所定基準は例えばこの所定時間内に4回とすることが考えられる。テンポ150の八分音符長が200ミリ秒であり、この程度以上の頻度で音高の入れ替わりがあると、アサイナAS毎の発音開始タイミングのズレが目立つためである。   The predetermined period is, for example, 800 milliseconds, and the predetermined reference frequency is, for example, four times within the predetermined time. This is because if the pitch length of the eighth note at tempo 150 is 200 milliseconds and the pitches are switched more frequently than this, the start timing shift for each assigner AS is noticeable.

また、一旦後着優先を用いる設定をしたアサイナASの音高選択規則を図3に示したものに戻す条件も、別途設定しておく。例えば、後着優先を用いる設定をしてから所定時間経過した場合に元に戻す、後着優先を用いる設定をしたアサイナASが(キーオフ操作等により)いずれの音高も選択しない状態となった場合に元に戻す、等が考えられる。
または、該当のアサイナASの操作履歴が、後着優先を用いる設定をする際に用いた所定の条件を満たさなくなった場合に元に戻すことも考えられる。選択する音高の頻度が所定基準を下回った、等である。これは、適当なタイミングで各アサイナASについて所定の条件を満たすか否か判断し、満たす場合に後着優先を用いる設定を行い、満たさない場合に後着優先を用いず本来の規則を用いる設定を行うことに該当する。
Further, a condition for returning the pitch selection rule of the assigner AS once set to use the late arrival priority to that shown in FIG. 3 is also set separately. For example, the assigner AS that is set to use the later arrival priority that returns to the original state after a predetermined time has elapsed after setting to use the later arrival priority has entered a state in which no pitch is selected (by a key-off operation or the like). In some cases, it may be possible to restore the original.
Alternatively, it may be possible to restore the operation history of the relevant assigner AS when the operation history of the assigner AS no longer satisfies the predetermined condition used when setting to use late arrival priority. The pitch frequency to be selected falls below a predetermined standard, and so on. This is to determine whether or not a predetermined condition is satisfied for each assigner AS at an appropriate timing, and if satisfied, a setting using the late arrival priority is performed, and if not satisfied, the original rule is used without using the late arrival priority. It corresponds to doing.

なお、選択履歴保存部35は、後着優先設定部36が後着優先を用いる設定をしたか否かに関わらず選択履歴の保存を続ける(ただし、上記所定期間よりも前の履歴については削除してもよい)。従って、音高選択規則を元に戻した場合でも、その時点の選択履歴が上記所定の条件に該当する場合には、すぐに再度後着優先を用いる設定がなされることになる。   The selection history storage unit 35 continues to store the selection history regardless of whether or not the late arrival priority setting unit 36 is set to use the late arrival priority (however, the history before the predetermined period is deleted). You may). Therefore, even if the pitch selection rule is restored, if the selection history at that time satisfies the predetermined condition, the setting for using the late arrival priority is immediately made again.

次に、図5を用いて、選択履歴保存部35及び後着優先設定部36の機能を考慮した、電子楽器10におけるアサイナASによる音高選択の例について説明する。
図5において、図19と同様、縦軸が時間、横軸が音高であり、各音高における帯が、その音高の鍵を押鍵している期間を示す。また、帯の中に示した矢印は、各アサイナがその音高を選択し、対応する発音を行っているかを示す。矢印の根元が発音開始、先端が発音停止のタイミングを示す。
また、矢印T1は、KON3を基準とした、後着優先設定部36が用いる「所定時間」を示す。なお、図5の例においては、図示の都合上、後着優先設定部36が用いる頻度の所定基準は、この所定時間内に2回の音高変動とする。
Next, an example of pitch selection by the assigner AS in the electronic musical instrument 10 in consideration of the functions of the selection history storage unit 35 and the late arrival priority setting unit 36 will be described with reference to FIG.
In FIG. 5, as in FIG. 19, the vertical axis represents time, the horizontal axis represents pitch, and the band at each pitch indicates the period during which the key of that pitch is depressed. Moreover, the arrow shown in the belt | band | zone shows whether each assigner has selected the pitch and is performing the corresponding pronunciation. The base of the arrow indicates the start of sound generation, and the tip indicates the sound stop timing.
An arrow T1 indicates “predetermined time” used by the late arrival priority setting unit 36 based on KON3. In the example of FIG. 5, for convenience of illustration, the predetermined standard of the frequency used by the late arrival priority setting unit 36 is two pitch fluctuations within this predetermined time.

図5の例では、初めのKON1のタイミングでは、n1,n2,nm1の3つの音高の鍵が同時に押鍵される。その後、音高n1及びn2の鍵はずっと押鍵状態であり、その間に、音高nm1〜nm5の鍵が順次押鍵される。また、音高nm1の離鍵から音高nm2の押鍵には少し間隔が空き、他の押鍵は押鍵タイミングが一部重複する。   In the example of FIG. 5, at the first KON1 timing, keys of three pitches n1, n2, and nm1 are pressed simultaneously. After that, the keys of the pitches n1 and n2 are continuously pressed, and the keys of the pitches nm1 to nm5 are sequentially pressed during that time. Further, there is a little space between the key release at pitch nm1 and the key press at pitch nm2, and the key press timings of other key presses partially overlap.

この場合において、KON1のタイミングでは、n1,n2,nm1の3つの音高の鍵が押鍵中の状態で各アサイナASは図3に示した規則に従い発音する音高を選択する。その結果、第1アサイナAS−1及び第2アサイナAS−2は最高音のnm1を、第3アサイナAS−3は下から2番目のn2を、第4アサイナAS−4は最低音のn1を選択し、楽音生成部34に発音を開始させる。
そして、選択履歴保存部35は、図4の選択履歴テーブルの1行目のように、時刻KON1及びその時に第1〜第4アサイナが選択した音高の情報を保存する。
In this case, at the timing of KON1, each assigner AS selects a pitch to be generated according to the rules shown in FIG. 3 while the keys of three pitches n1, n2, and nm1 are being pressed. As a result, the first assigner AS-1 and the second assigner AS-2 have the highest note nm1, the third assigner AS-3 has the second lowest n2, and the fourth assigner AS-4 has the lowest note n1. The tone generator 34 is selected to start sounding.
Then, the selection history storage unit 35 stores the time KON1 and the pitch information selected by the first to fourth assigners at that time, as in the first row of the selection history table of FIG.

次のKOFF1のタイミングでは、音高nm1の鍵の離鍵に応じて音高nm1を選択していた第1アサイナAS−1及び第2アサイナAS−2が音高nm1の選択を解除し、楽音生成部34に発音を停止させる。   At the next KOFF1 timing, the first assigner AS-1 and the second assigner AS-2 that have selected the pitch nm1 according to the key release of the pitch nm1 cancel the selection of the pitch nm1, and the musical tone The generation unit 34 stops the sound generation.

次のKON2のタイミングでは、音高nm2の鍵が押鍵される。この時点ではどのアサイナも過去に音高選択を1回しか行っていないので、後着優先を設定すべき「所定の条件」には該当しない。従って、n1,n2,nm2の3つの音高の鍵が押鍵中の状態で、各アサイナASは図3に示した規則に従い発音する音高を選択する。その結果、第1アサイナAS−1及び第2アサイナAS−2は最高音のnm2を、第3アサイナAS−3及び第4アサイナAS−4はそれまでと同じくn2及びn1をそれぞれ選択する。   At the next KON2 timing, the key of the pitch nm2 is pressed. At this time, since no assigner has performed pitch selection only once in the past, this does not correspond to the “predetermined condition” for which the late arrival priority should be set. Accordingly, each of the assigners AS selects a pitch to be generated according to the rules shown in FIG. 3 in a state where the three pitch keys n1, n2, and nm2 are being pressed. As a result, the first assigner AS-1 and the second assigner AS-2 select the highest tone nm2, and the third assigner AS-3 and the fourth assigner AS-4 select n2 and n1, respectively.

そして、選択履歴保存部35は、図4の選択履歴テーブルの2行目のように、このときに音高の選択の変動があった第1アサイナAS−1及び第2アサイナAS−2について、時刻KON2及びその時に選択した音高の情報を保存する。また、第1アサイナAS−1及び第2アサイナAS−2は楽音生成部34に該当音高の発音を開始させる。第3アサイナAS−3及び第4アサイナAS−4については、音高の選択に変動がない(新たな発音も開始しない)ため、履歴の追加は行わない。   Then, as shown in the second row of the selection history table in FIG. 4, the selection history storage unit 35 selects the first assigner AS-1 and the second assigner AS-2 that have changed the pitch selection at this time. Saves information about time KON2 and the pitch selected at that time. In addition, the first assigner AS-1 and the second assigner AS-2 cause the tone generator 34 to start sounding the corresponding pitch. For the third assigner AS-3 and the fourth assigner AS-4, there is no change in pitch selection (no new pronunciation is started), so no history is added.

次のKON3のタイミングでは、音高nm3の鍵が押鍵される。この時点では、第1アサイナAS−1及び第2アサイナAS−2は、矢印T1で示す所定期間内に選択音高が2回変動しているため、後着優先を設定すべき「所定の条件」に該当する。一方、第3アサイナAS−3及び第4アサイナAS−4は、所定期間内の選択音高の変動が新規選択時の1回のみであるため、「所定の条件」に該当しない。そこで、後着優先設定部36は、第1アサイナAS−1及び第2アサイナAS−2についてのみ、後着優先の規則を用いる設定を行う。   At the next KON3 timing, the key with the pitch nm3 is pressed. At this point in time, the first assigner AS-1 and the second assigner AS-2 have the selected pitch changed twice within the predetermined period indicated by the arrow T1, and therefore, the "predetermined condition" It corresponds to. On the other hand, the third assigner AS-3 and the fourth assigner AS-4 do not correspond to the “predetermined condition” because the change in the selected pitch within the predetermined period is only once at the time of new selection. Therefore, the late arrival priority setting unit 36 performs setting using the late arrival priority rule only for the first assigner AS-1 and the second assigner AS-2.

そして、KON3のタイミングでは、n1,n2,nm2,nm3の4つの音高の鍵が押鍵中の状態で各アサイナASが発音する音高を選択することになる。ここで、第1アサイナAS−1及び第2アサイナAS−2は、後着優先で選択を行うため、最後に押鍵された音高nm3を選択し、楽音生成部34に、前に選択していた音高nm2の発音を停止させると共に、新たに選択した音高nm3の発音を開始させる。第3アサイナAS−3及び第4アサイナAS−4は、図3に示した規則に従い音高の選択を行い、それまでと同じくn2及びn1をそれぞれ選択する。   At the timing of KON3, the pitches generated by each assigner AS are selected while the four pitch keys n1, n2, nm2, and nm3 are being depressed. Here, since the first assigner AS-1 and the second assigner AS-2 perform selection with priority on the last arrival, the last pitch key nm3 is selected and the musical tone generation unit 34 selects the previous one. The sound generation of the tone pitch nm2 is stopped and the sound generation of the newly selected pitch nm3 is started. The third assigner AS-3 and the fourth assigner AS-4 select pitches according to the rules shown in FIG. 3, and select n2 and n1 as before.

そして、選択履歴保存部35は、図4の選択履歴テーブルの3行目のように、このときに音高の選択の変動があった第1アサイナAS−1及び第2アサイナAS−2について、時刻KON3及びその時に選択した音高の情報を保存する。なお、図4には、このKON3のタイミングにおける選択履歴テーブルの状態を示している。第3アサイナAS−3及び第4アサイナAS−4については、音高の選択に変動がないため、履歴の追加及び発音の開始は行わない。   Then, as shown in the third row of the selection history table in FIG. 4, the selection history storage unit 35 selects the first assigner AS-1 and the second assigner AS-2 that have changed the pitch selection at this time. Saves information about time KON3 and the pitch selected at that time. FIG. 4 shows the state of the selection history table at this KON3 timing. For the third assigner AS-3 and the fourth assigner AS-4, since there is no change in the selection of the pitch, the history is not added and the pronunciation is not started.

次のKOFF2のタイミングでは、音高nm2の鍵が離鍵されるが、この時点で音高nm2を選択しているアサイナはないため、この離鍵は各アサイナの音高選択に影響を及ぼさない。   At the next KOFF2 timing, the key of pitch nm2 is released, but since no assigner has selected pitch nm2 at this time, this key release does not affect the pitch selection of each assigner. .

以後、KOFF5のタイミングまで、第1アサイナAS−1及び第2アサイナAS−2について、それぞれのキーオン(KON4、KON5)において、直前の所定期間T1の間に選択音高が基準回数以上変動する条件が満たされているため、音高選択規則を元に戻す条件が成立せず、後着優先が維持される。
この場合、第1アサイナAS−1及び第2アサイナAS−2は、KON4のタイミングにおける音高nm4の鍵の押鍵、KON5のタイミングにおける音高nm4の鍵の押鍵に応じて、それぞれ音高nm4及び音高nm5を選択し、楽音生成部34に、それまで選択していた音高の発音を停止させると共に新たに選択した音高の発音を開始させる。
第3アサイナAS−3及び第4アサイナAS−4については、選択する音高がずっと変わらないため、図5の例では後着優先を設定すべき「所定の条件」を満たすことはない。
Thereafter, until the timing of KOFF5, for the first assigner AS-1 and the second assigner AS-2, in each key-on (KON4, KON5), the condition that the selected pitch fluctuates more than the reference number during the immediately preceding predetermined period T1. Therefore, the condition for returning the pitch selection rule to the original condition is not satisfied, and the late arrival priority is maintained.
In this case, the first assigner AS-1 and the second assigner AS-2 each have a pitch according to the key press of the key with the pitch of nm4 at the timing of KON4 and the key press of the key with the pitch of nm4 at the timing of KON5. nm4 and pitch nm5 are selected, and the tone generator 34 stops the pronunciation of the pitch selected so far and starts the pronunciation of the newly selected pitch.
For the third assigner AS-3 and the fourth assigner AS-4, the pitches to be selected do not change much, so in the example of FIG. 5, the “predetermined condition” for setting the late arrival priority is not satisfied.

このように、電子楽器10においては、選択履歴保存部35及び後着優先設定部36の機能により、図5における音高nm2〜nm5のように一部期間の重なった押鍵操作がなされ、かつ複数のアサイナASがその押鍵に係る音高を選択すべき場合において、当該複数のアサイナASに押鍵のタイミングで同時にその押鍵に係る音高を選択させることができる。従って、図19を用いて説明したように、押鍵毎に音色が変わったり、パート毎に発音開始タイミングがずれたりすることなく、聴感への悪影響を抑え、かつ演奏者の演奏操作の意図に合った発音を、容易に行うことができる。   As described above, in the electronic musical instrument 10, by the functions of the selection history storage unit 35 and the late arrival priority setting unit 36, a key depression operation with a partial period overlapped like the pitches nm2 to nm5 in FIG. 5 is performed, and When a plurality of assigners AS should select a pitch related to the key press, the plurality of assigners AS can simultaneously select the pitch related to the key press at the timing of the key press. Accordingly, as described with reference to FIG. 19, the timbre is not changed every time the key is pressed or the sounding start timing is not shifted for each part, and the adverse effect on the audibility is suppressed, and the performance operation of the performer is intended. Proper pronunciation can be performed easily.

なお、常に後着優先を用いるとすると、図3に示したアサイナの設定を全く無視することになってしまい、これでは演奏者の意図に合った演奏にはならない。そこで、上記のように「所定の条件」を基準に、後着優先を設定することが効果的なアサイナ及びそのタイミングを判別して、後着優先の設定を行うことが有効である。
また、「所定の条件」の設定によっては(例えば頻度の所定基準を所定時間内に4回の音高変動とした場合)、何回かの押鍵については音色の変化や発音タイミングのずれが生じてしまう可能性もあるが、それでも、後着優先の設定を行わない場合に比べれば、聴感への悪影響を抑え、かつ演奏者の演奏操作の意図に合った発音が可能である。
If the first-come-first-served priority is always used, the assigner setting shown in FIG. 3 is completely ignored, and this does not result in a performance that matches the intention of the performer. Therefore, it is effective to set the late arrival priority by discriminating the assigners effective for setting the late arrival priority and the timing thereof based on the “predetermined condition” as described above.
Further, depending on the setting of “predetermined conditions” (for example, when a predetermined reference of frequency is set to four pitch fluctuations within a predetermined time), there is a change in tone color or a difference in sound generation timing for several key presses. Although this may occur, it is still possible to suppress an adverse effect on the audibility and to produce a sound suitable for the intention of the player's performance operation, compared to the case where the priority is not given to the last arrival.

次に、図2に示した機能のうち、CPU11が担う機能を実現するためにCPU11が実行する処理について説明する。
図6乃至図8は、そのうちキーオンデータ及び/又はキーオフデータ受信時の処理のフローチャートである。
CPU11は、検出回路16からキーオンデータ及び/又はキーオフデータを受信した場合に、所要のプログラムを実行することにより図6のフローチャートに示す処理を開始する。なお、所定閾値以内のタイミング差で行われた操作を同時操作とみなすことは上述の通りである。
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. 6 to FIG. 8 are flowcharts of processing when key-on data and / or key-off data are received.
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. 6 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.

図6の処理において、CPU11はまず、検出した操作にキーオン操作が含まれているか否か判断する(S11)。複数の操作を同時に検出した場合、その中に1つでもキーオン操作があればYesとなる。
そして、Yesの場合、CPU11は、検出した操作の中にキーオフ操作があれば(S12のYes)、そのキーオフ操作に係る音高の発音停止を、楽音生成部34に指示する(S13)。その後、後着優先設定部36の機能と対応する、図7に示す速弾き判定処理を行う(S14)。
In the process of FIG. 6, the CPU 11 first determines whether or not the detected operation includes a key-on operation (S11). If a plurality of operations are detected at the same time, the answer is Yes if there is even one key-on operation.
In the case of Yes, if there is a key-off operation in the detected operation (Yes in S12), the CPU 11 instructs the musical sound generation unit 34 to stop the pitch generation related to the key-off operation (S13). Thereafter, the quick play determination process shown in FIG. 7 corresponding to the function of the late arrival priority setting unit 36 is performed (S14).

図7の処理において、CPU11はまず、変数nに1を代入する(S21)。そして、選択履歴保存部35が保存した選択履歴を参照し、直近の所定期間内に第nアサイナが選択する音高が所定基準以上の頻度で変動しているか否か判断する(S22)。すなわち、第nアサイナAS−nによる音高の選択履歴が、音高の選択規則を後着優先とすべき「所定の条件」を満たしているか否か判断する。   In the process of FIG. 7, the CPU 11 first assigns 1 to a variable n (S21). Then, with reference to the selection history stored by the selection history storage unit 35, it is determined whether or not the pitch selected by the nth assigner fluctuates at a frequency equal to or higher than a predetermined reference within the most recent predetermined period (S22). That is, it is determined whether or not the pitch selection history by the nth assigner AS-n satisfies a “predetermined condition” in which the pitch selection rule is to be given priority on the last arrival.

そして、ステップS22でYesであれば、第nアサイナAS−nについて後着優先フラグをセットする(S23)。このフラグは、該当のアサイナについて音高の選択規則を後着優先とすることを示すフラグである。ステップS22でNoであれば、フラグを変更せずに次の処理に進む。
いずれの場合も、CPU11は次に、現在処理したアサイナが最後のアサイナであるか否か判断し(S24)、最後でなければnを1加算して(S25)、ステップS22に戻って処理を繰り返す。
If YES in step S22, a late arrival priority flag is set for the nth assigner AS-n (S23). This flag is a flag indicating that the pitch selection rule for the assigner is given priority to later arrival. If No in step S22, the process proceeds to the next process without changing the flag.
In either case, the CPU 11 next determines whether or not the currently assigned assigner is the last assigner (S24). If not, the CPU 11 increments n by 1 (S25), and returns to step S22 for processing. repeat.

ステップS24でYesの場合、全てのアサイナに関する処理が終了したことがわかるため、図7の処理を終了して元の処理に戻る。
ここでは、図6のステップS15に戻る。そして、CPU11は、アサイナASによる、キーオン操作に応じた発音音高の選択を行うべく、全アサイナASについて発音割り当てフラグを立てて(S15)、図8に示す発音割り当て処理に進む(S16)。
In the case of Yes in step S24, it can be seen that the processing related to all assigners has been completed, so the processing in FIG. 7 is terminated and the original processing is returned.
Here, it returns to step S15 of FIG. Then, the CPU 11 sets a sound generation assignment flag for all the assigners AS in order to select a sound generation pitch according to the key-on operation by the assigner AS (S15), and proceeds to the sound generation assignment process shown in FIG. 8 (S16).

図8の処理において、CPU11はまず、変数nに1を代入する(S31)。そして、第nアサイナAS−nに発音割り当てフラグがセットされているか否か判断する(S32)。
ここでセットされていれば、CPU11は次に、第nアサイナに後着優先フラグがセットされているか否か判断する(S33)。ここでNoであれば、CPU11は、第nアサイナAS−nについて設定されている規則に従い、操作中の鍵の音高の中から発音する音高を選択する(S34)。一方、ステップS33でYesであれば、CPU11は、後着優先の規則に従い、操作中の鍵の音高の中から発音する音高を選択する(S35)。
In the process of FIG. 8, the CPU 11 first assigns 1 to a variable n (S31). Then, it is determined whether or not the sound generation assignment flag is set in the nth assigner AS-n (S32).
If it is set here, the CPU 11 next determines whether or not the late arrival priority flag is set in the nth assigner (S33). If “No”, the CPU 11 selects a pitch to be generated from the pitches of the key being operated in accordance with the rules set for the nth assigner AS-n (S34). On the other hand, if Yes in step S33, the CPU 11 selects a pitch to be generated from the pitches of the key being operated in accordance with the rules for priority on arrival (S35).

そして、いずれの場合も、第nアサイナAS−nと対応する第nパートが、ステップS34又はS35で選択した音高で発音中であるか否か判断する(S36)。ここでNoであれば、その選択した音高は、音高の選択状態を変動させるものであり、音高の選択履歴を記録すると共に新たな発音を開始すべきことがわかる。
従って、CPU11は、選択した音高及びそのタイミングを図4に示した選択履歴テーブルに保存する(S37)。また、選択した音高で第nアサイナAS−nと対応する第nパートの発音を開始するよう、楽音生成部34に指示する(S38)。この場合、発音に用いる音色は、第nパートについて設定されている音色である。
In any case, it is determined whether the nth part corresponding to the nth assigner AS-n is sounding at the pitch selected in step S34 or S35 (S36). If the answer is No, it is understood that the selected pitch fluctuates the selected state of the pitch, and the pitch selection history is recorded and a new pronunciation should be started.
Therefore, the CPU 11 stores the selected pitch and its timing in the selection history table shown in FIG. 4 (S37). Further, the musical sound generation unit 34 is instructed to start sounding the nth part corresponding to the nth assigner AS-n at the selected pitch (S38). In this case, the timbre used for sound generation is the timbre set for the nth part.

ステップS36でYesであれば、今回の選択は音高の選択状態を変動させるものでなく、音高の選択履歴の記録及び新たな発音開始は必要ないことがわかる。そこで、ステップS37及びS38を飛ばして次の処理へ進む。
また、ステップS32でNoの場合、第nアサイナについては音高の選択は行わないので、そのままステップS39に進む。
If “Yes” in step S36, it is understood that the current selection does not change the selection state of the pitch, and it is not necessary to record the selection history of the pitch and to start a new pronunciation. Therefore, steps S37 and S38 are skipped and the process proceeds to the next process.
If No in step S32, no pitch is selected for the nth assigner, and the process directly proceeds to step S39.

以上のステップS32乃至S38が、アサイナAS1つ分の処理である。その後、CPU11は、現在処理したアサイナが最後のアサイナであるか否か判断し(S39)、最後でなければnを1加算して(S40)、ステップS32に戻って処理を繰り返す。
ステップS39でYesの場合、全てのアサイナに関する処理が終了したことがわかるため、図8の処理を終了して元の処理に戻る。ここでは、図6のステップS16に戻るので、CPU11はそのまま処理を終了する。なお、ステップS15からS16に進んだ場合は、発音割り当て処理において、全アサイナと対応する音高選択及び発音指示を行うことになる。
The above steps S32 to S38 are processing for one assigner AS. Thereafter, the CPU 11 determines whether or not the currently assigned assigner is the last assigner (S39). If not, the CPU 11 increments n by 1 (S40), and returns to step S32 to repeat the process.
In the case of Yes in step S39, since it can be seen that the processing relating to all assigners has been completed, the processing in FIG. 8 is terminated and the original processing is returned. Here, since the process returns to step S16 in FIG. 6, the CPU 11 ends the process as it is. When the process proceeds from step S15 to step S16, the pitch selection and the sound generation instruction corresponding to all the assigners are performed in the sound generation assignment process.

なお、図8の処理を始める前に、初めに全アサイナの発音割り当てフラグを確認し、フラグのあるアサイナについてのみステップS33乃至S38を実行するようにしてもよい。この場合、フラグのあるアサイナがなければ、発音割り当て処理自体をスキップできる。   Before starting the processing of FIG. 8, the sound assignment flag of all assigners may be confirmed first, and steps S33 to S38 may be executed only for those assigners with flags. In this case, if there is no assigner with a flag, the pronunciation assignment process itself can be skipped.

一方、図6のステップS12でNoの場合、すなわち検出した操作がキーオフ操作のみであった場合、CPU11は、そのキーオフ操作に係る音高の発音停止を、楽音生成部34に指示する(S17)。
その後、処理は図8の発音割り当て処理に進む(S16)。しかし、いずれのアサイナについても発音割り当てフラグは立っていないため、選択履歴の記録や発音開始を行うことなく、処理を終了する。従ってこの場合、上記のように発音割り当て処理自体をスキップしてもよい。
以上の処理により、図5を用いて説明したような発音が可能となる。
On the other hand, in the case of No in step S12 of FIG. 6, that is, when the detected operation is only a key-off operation, the CPU 11 instructs the musical tone generation unit 34 to stop the tone generation related to the key-off operation (S17). .
Thereafter, the process proceeds to the sound generation assignment process of FIG. 8 (S16). However, since no sound assignment flag is set for any of the assigners, the process ends without recording the selection history or starting the sound generation. Therefore, in this case, the pronunciation assignment process itself may be skipped as described above.
With the above processing, the pronunciation as described with reference to FIG. 5 becomes possible.

次に、図9に、後着優先フラグの解除に係る処理のフローチャートを示す。
CPU11は、適当なタイミングで図9のフローチャートに示す処理を開始する。このタイミングは、一定時間毎、図7の処理を実行するタイミング等、任意でよい。
なお、第1実施形態においては、後着優先フラグの解除条件として「後着優先を用いる設定をする際に用いた所定の条件を満たさなくなった」を用いることが好ましい。そして、この解除条件を用いる場合には、図7の処理を実行するタイミングで図9の処理も実行することが好ましい。
Next, FIG. 9 shows a flowchart of processing relating to cancellation of the late arrival priority flag.
The CPU 11 starts processing shown in the flowchart of FIG. 9 at an appropriate timing. This timing may be arbitrary, such as a timing for executing the processing of FIG.
In the first embodiment, it is preferable to use “the predetermined condition used when setting to use late arrival priority is no longer satisfied” as the release condition of the late arrival priority flag. And when using this cancellation | release condition, it is preferable to also perform the process of FIG. 9 at the timing which performs the process of FIG.

図9の処理において、CPU11はまず、変数nに1を代入する(S51)。そして、第nアサイナAS−nに後着優先フラグが立っているか否か判断する(S52)。ここでYesの場合、第nアサイナAS−nについて後着優先フラグの解除条件(後着優先をやめて元の規則に戻す条件)が成立しているか否か判断する(S53)。ここで用いる条件の具体例については上述した通りである。   In the process of FIG. 9, the CPU 11 first assigns 1 to a variable n (S51). Then, it is determined whether or not a late arrival priority flag is set in the nth assigner AS-n (S52). In the case of Yes, it is determined whether or not a condition for canceling the late arrival priority flag (condition for stopping the late arrival priority and returning to the original rule) is satisfied for the nth assigner AS-n (S53). Specific examples of the conditions used here are as described above.

そして、ステップS53でもYesであれば、CPU11は第nアサイナAS−nについて後着優先フラグを解除し、以後は当該アサイナに設定された規則により音高を選択するようにする(S54)。
ステップS52でNoの場合には、第nアサイナAS−nについてここで検討すべき事項はないので、ステップS53及びS54をスキップしてステップS55に進む。
ステップS53でNoの場合には、後着優先フラグを解除する必要はないので、ステップS54をスキップしてステップS55に進む。
If YES in step S53, the CPU 11 cancels the late arrival priority flag for the nth assigner AS-n, and thereafter selects the pitch according to the rule set for the assigner (S54).
In the case of No in step S52, there is no matter to be considered here for the nth assigner AS-n, so steps S53 and S54 are skipped and the process proceeds to step S55.
In the case of No in step S53, it is not necessary to cancel the late arrival priority flag, so step S54 is skipped and the process proceeds to step S55.

いずれの場合も、CPU11は次に、現在処理したアサイナが最後のアサイナであるか否か判断し(S55)、最後でなければnを1加算して(S56)、ステップS52に戻って処理を繰り返す。
ステップS55でYesの場合、全てのアサイナに関する処理が終了したことがわかるため、図9の処理を終了する。
以上の処理により、CPU11は、後着優先を用いる設定をしたアサイナASについて、適当なタイミングで音高選択の規則を元に戻すことができる。
In either case, the CPU 11 next determines whether or not the currently assigned assigner is the last assigner (S55). If not, the CPU 11 increments n by 1 (S56), and returns to step S52 for processing. repeat.
In the case of Yes in step S55, since it is found that the processing related to all assigners has been completed, the processing in FIG. 9 is terminated.
With the above processing, the CPU 11 can restore the pitch selection rule at an appropriate timing for the assigner AS that is set to use the late arrival priority.

〔第1実施形態の比較例:図10〕
次に、後着優先を用いることの効果について、図10の比較例を用いて説明する。
図10に示すのは、第1実施形態と同じアサイナを用い、後着優先設定部36がないとして、図5の場合と同じ鍵操作があった場合における各アサイナASによる音高選択の例を示す図である。
この場合、KON2のタイミングまでは、各アサイナASによる音高選択は、図5の場合と同じである。
[Comparative example of the first embodiment: FIG. 10]
Next, the effect of using late arrival priority will be described using the comparative example of FIG.
FIG. 10 shows an example of pitch selection by each assigner AS when the same key operation as in FIG. 5 is performed, assuming that the same assigner as in the first embodiment is used and there is no late arrival priority setting unit 36. FIG.
In this case, the pitch selection by each assigner AS is the same as in the case of FIG. 5 until the timing of KON2.

しかし、KON3のタイミングにおいては、n1,n2,nm2,nm3の4つの音高の鍵が押鍵中の状態で、全てのアサイナASが図3に示した規則に従い音高の選択を行う。従って、第1アサイナAS−1は最高音のnm3を、第2アサイナAS−2は下から3番目のnm2を、第3アサイナAS−3は下から2番目のn2を、第4アサイナAS−4は最低音のn1をそれぞれ選択する。
この場合、第1アサイナAS−1は選択する音高がnm2からnm3へ変動するため、楽音生成部34に新たな発音を開始させるが、他のアサイナは選択する音高が変動しないため、新たな発音の開始は行わない。
However, at the timing of KON3, all the assigners AS select the pitches according to the rules shown in FIG. 3 while the four pitch keys n1, n2, nm2, and nm3 are being pressed. Therefore, the first assigner AS-1 has the highest tone nm3, the second assigner AS-2 has the third nm2 from the bottom, the third assigner AS-3 has the second n2 from the bottom, and the fourth assigner AS-. 4 selects n1 of the lowest sound.
In this case, since the pitch to be selected by the first assigner AS-1 varies from nm2 to nm3, the musical tone generator 34 starts a new pronunciation, but the pitches to be selected by other assigners do not vary. Does not start proper pronunciation.

次のKOFF2のタイミングでは、音高nm2の鍵が離鍵され、楽音生成部34は音高nm2を選択している第2アサイナAS−2の発音を停止する。この時点で、第2アサイナAS−2と対応する発音は行われなくなってしまう。   At the next timing of KOFF2, the key of the pitch nm2 is released, and the tone generator 34 stops the sound generation of the second assigner AS-2 that has selected the pitch nm2. At this time, the sound corresponding to the second assigner AS-2 is not performed.

次のKON4のタイミングにおいては、音高nm4の鍵が押鍵され、n1,n2,nm3,nm4の4つの音高の鍵が押鍵中の状態で、全てのアサイナASが図3に示した規則に従い音高の選択を行う。従って、第1アサイナAS−1は最高音のnm4を、第2アサイナAS−2は下から3番目のnm3を、第3アサイナAS−3は下から2番目のn2を、第4アサイナAS−4は最低音のn1をそれぞれ選択する。   At the timing of the next KON4, all assigners AS are shown in FIG. 3 with the key of the pitch nm4 being pressed and the keys of the four pitches of n1, n2, nm3, and nm4 being pressed. Select the pitch according to the rules. Therefore, the first assigner AS-1 has the highest tone nm4, the second assigner AS-2 has the third nm3 from the bottom, the third assigner AS-3 has the second n2 from the bottom, and the fourth assigner AS-. 4 selects n1 of the lowest sound.

この場合、第1アサイナAS−1は選択する音高がnm3からnm4へ変動するため、楽音生成部34に新たな発音を開始させる。第2アサイナAS−2も、新たに音高nm3を選択するため、楽音生成部34に新たな発音を開始させる。
しかし、第2アサイナAS−2の発音は、直後のKOFF3のタイミングで音高nm3の鍵が離鍵された時に停止されてしまう。次の音高nm5の押鍵及び音高nm4の離鍵の際にも同様なことが起こる。
In this case, since the pitch to be selected by the first assigner AS-1 varies from nm3 to nm4, the musical tone generation unit 34 starts a new pronunciation. The second assigner AS-2 also causes the tone generator 34 to start a new pronunciation in order to newly select the pitch nm3.
However, the sound generation of the second assigner AS-2 is stopped when the key having the pitch of nm3 is released at the timing of KOFF3 immediately after that. The same thing occurs when the key is pressed at the next pitch nm5 and the key is released at the pitch nm4.

このように、後着優先設定部36の機能を備えない場合、図10に示したような一部重なった押鍵操作があると、押鍵されている鍵の音高順と、各アサイナが選択する音高との関係がずれてしまう。すなわち、演奏操作からは、音高nm1から音高nm5までの音を続けて発音させる意図が推測できるのに、これらの音高の音を異なる音色で発音してしまい、不自然な発音となってしまう。この例では、音高nm1と音高nm2については第1アサイナAS−1及び第2アサイナAS−2の音色で発音する一方、音高nm3から音高nm5については、実質的にアサイナAS−1の音色のみで発音することになる。   As described above, when the function of the late arrival priority setting unit 36 is not provided, if there is a partially depressed key pressing operation as shown in FIG. 10, the pitch order of the pressed keys and the assigners are The relationship with the selected pitch will deviate. That is, from the performance operation, it is possible to guess the intention to continuously generate the sounds from the pitch nm1 to the pitch nm5, but these pitched sounds are pronounced in different tones, resulting in an unnatural pronunciation. End up. In this example, the pitches nm1 and nm2 are pronounced by the timbres of the first assigner AS-1 and the second assigner AS-2, while the pitches nm3 to nm5 are substantially assigned to the assigner AS-1. It will sound only with the tone of.

これに対し、後着優先設定部36の機能を用いることにより、このような問題が発生せず、音高nm1から音高nm5までの押鍵が一部重なったり間が空いたりしても、押鍵毎に音色が変わったり、パート毎に発音開始タイミングがずれたりすることのない発音が可能となることは、上述の通りである。   On the other hand, by using the function of the late arrival priority setting unit 36, such a problem does not occur, and even if the key depression from the pitch nm1 to the pitch nm5 partially overlaps or there is a gap, As described above, it is possible to produce a sound without changing the tone color for each key press and without shifting the sound generation start timing for each part.

〔第2実施形態:図11乃至図15〕
次に、この発明の第2実施形態の電子楽器について説明する。
この第2実施形態は、音高の選択履歴が所定の条件を満たしたアサイナについて音高の選択規則を後着優先に変更することに代えて、演奏操作子の操作履歴中に所定の条件を満たす操作を検出した場合に、その操作の際に選択する音高が変動したアサイナについて音高の選択規則を後着優先に変更するようにした点が第1の実施形態と異なるのみである。そこで、この相違点についてのみ説明し、第1実施形態と同じ又は対応する構成には、第1実施形態と同じ符号を用いる。
[Second Embodiment: FIGS. 11 to 15]
Next, an electronic musical instrument according to a second embodiment of the present invention will be described.
In the second embodiment, instead of changing the pitch selection rule to the last arrival priority for an assigner whose pitch selection history satisfies a predetermined condition, the predetermined condition is set in the operation history of the performance operator. The only difference from the first embodiment is that when a satisfying operation is detected, the pitch selection rule is changed to the late arrival priority for the assigner whose pitch selected at the time of the operation varies. Therefore, only this difference will be described, and the same reference numerals as those in the first embodiment are used for the same or corresponding components as those in the first embodiment.

第2実施形態の電子楽器10は、ハードウェアは図1に示した第1実施形態のものと共通である。
図11に、第2実施形態の電子楽器10における、図2と対応する機能ブロック図を示す。
図11に示す通り、第2実施形態の電子楽器10は、第1実施形態における選択履歴保存部35に代えて操作履歴保存部38を備え、さらにキーオフリトリガー制御部39を備える。また、後着優先設定部36がアサイナの音高選択規則を後着優先とする条件も異なる。
The electronic musical instrument 10 of the second embodiment has the same hardware as that of the first embodiment shown in FIG.
FIG. 11 is a functional block diagram corresponding to FIG. 2 in the electronic musical instrument 10 of the second embodiment.
As shown in FIG. 11, the electronic musical instrument 10 of the second embodiment includes an operation history storage unit 38 instead of the selection history storage unit 35 in the first embodiment, and further includes a key-off retrigger control unit 39. Further, the condition that the late arrival priority setting unit 36 sets the assigner's pitch selection rule as the late arrival priority is also different.

電子楽器10において、操作状態検出部32は、演奏操作子22の操作を検出する度に、その操作内容及び操作タイミングの情報を操作履歴保存部38に供給し、操作内容の履歴を保存させる。操作履歴保存部38は、操作状態検出部32から供給される操作内容及び操作タイミングの情報を、時系列的に演奏操作子22の操作履歴として保存する機能を備える保存手段である。   In the electronic musical instrument 10, the operation state detection unit 32 supplies the operation content and operation timing information to the operation history storage unit 38 each time an operation of the performance operator 22 is detected, and stores the operation content history. The operation history storage unit 38 is a storage unit having a function of storing the operation contents and operation timing information supplied from the operation state detection unit 32 as the operation history of the performance operator 22 in time series.

図12に、操作履歴保存部38が操作履歴の保存に用いる操作履歴テーブルの例を示す。
図12に示すように、操作履歴テーブルは、演奏操作子22に対してなされた操作の内容と、その時刻とを対応付けて登録するテーブルである。
なお、同時に複数の操作がなされた場合には、同じ時刻に複数の操作を登録してよい。また、時刻は、図12では符号で示しているが、順序だけでなく具体的な時刻(所定の基準時刻からの経過時間でもよい)を登録する。
この操作履歴テーブルは、例えばRAM13に保存すればよい。しかし、電子楽器10の外部のものも含め、任意の記憶手段に保存することができる。
FIG. 12 shows an example of an operation history table used by the operation history storage unit 38 to store an operation history.
As shown in FIG. 12, the operation history table is a table for registering the contents of operations performed on the performance operator 22 in association with the times.
If a plurality of operations are performed simultaneously, a plurality of operations may be registered at the same time. Further, although the time is indicated by a sign in FIG. 12, not only the order but also a specific time (may be an elapsed time from a predetermined reference time) is registered.
This operation history table may be stored in the RAM 13, for example. However, it can be stored in any storage means including those external to the electronic musical instrument 10.

図11の説明に戻ると、操作状態検出部32は、演奏操作子22のキーオフ操作を検出すると、これをキーオフリトリガー制御部39に通知する。
そして、キーオフリトリガー制御部39は、この通知があった場合に、操作履歴保存部38が作成した操作履歴テーブルの情報に基づき、今回のキーオフ操作に応じて割当制御部33に発音音高の選択を行わせる必要があるか否か判断する機能を備える。そして、行わせる必要があると判断した場合、割当制御部33に発音音高の選択を行うよう指示する。
このように、キーオフ操作に応じてアサイナASに発音音高を選択させることを、「キーオフリトリガー」と呼ぶことにする。
Returning to the description of FIG. 11, when the operation state detection unit 32 detects a key-off operation of the performance operator 22, the operation state detection unit 32 notifies the key-off retrigger control unit 39 of this.
In response to this notification, the key-off retrigger control unit 39 selects the pronunciation pitch at the allocation control unit 33 according to the current key-off operation based on the information in the operation history table created by the operation history storage unit 38. A function is provided for determining whether or not it is necessary to perform the operation. When it is determined that it is necessary to perform this, the assignment control unit 33 is instructed to select a pronunciation pitch.
In this manner, letting the assigner AS select the tone pitch according to the key-off operation is referred to as “key-off retrigger”.

なお、キーオフリトリガーは、あるノートがキーオフ操作により消音することによって発音数が減少してしまうのを防ぐために行う。典型的には、図19におけるn4とn3のように、2つの音を続けて演奏する意図と考えられるのに、前の鍵と後の鍵の操作期間が若干重複してしまっている場合に対応できる。
この場合、KON3のタイミングで各アサイナASが発音する音高を選択した後、KOFF4のタイミングで音高n4の発音を停止させると、KON3のタイミングで音高n4を選択したアサイナASと対応する発音は、ただちに消えてしまうことになる。しかし、KON3のタイミングでは確定できないものの、図19に示した操作では、KON3のタイミングで音高n4の鍵がキーオフ操作されていないのは、その部分で音を増やし、その後減らしたいためではないと考えられる。従って、そもそもKON3のタイミングでアサイナASが音高の選択を行う場合に、音高n4を考慮すべきではなかったと言える。
The key-off retrigger is performed in order to prevent a certain note from being reduced by muting a key-off operation. Typically, as in the case of n4 and n3 in FIG. 19, it is considered that the intention is to play two sounds in succession, but the operation period of the previous key and the subsequent key is slightly overlapped. Yes.
In this case, if the pitch of the pitch n4 is stopped at the timing of KOFF3 after the pitch of the pitch assigned by each assigner AS is selected at the timing of KON3, the tone corresponding to the assigner AS having selected the pitch n4 at the timing of KON3. Will disappear immediately. However, although it cannot be determined at the timing of KON3, in the operation shown in FIG. 19, the key of pitch n4 is not key-off operated at the timing of KON3 because it is not necessary to increase the sound at that part and then decrease it. Conceivable. Therefore, it can be said that the pitch n4 should not be considered when the assigner AS selects the pitch at the timing of KON3.

そこで、キーオフリトリガー制御部39には、音高n4の鍵がキーオフ操作されるKOFF4のタイミングで、n4とn3の操作期間の重複が、音の重複を意図したものであるのか否かを、所定の条件に従って判断する機能を設けている。また、重複を意図したものでないと判断した場合、アサイナASに、n4の離鍵後の操作状態に従って、再度発音する音高を選択させる(キーオフリトリガーを行う)機能を設けている。   Therefore, the key-off retrigger control unit 39 determines whether or not the overlap between the operation periods of n4 and n3 is intended for sound overlap at the timing of KOFF4 when the key of the pitch n4 is key-off operated. The function to judge according to the conditions is provided. In addition, when it is determined that the duplication is not intended, the assigner AS is provided with a function of selecting a pitch to be regenerated (performing key-off retrigger) according to the operation state after n4 key release.

ただし、このとき音高の選択を行わせるのは、離鍵に応じて発音を停止した音高(図4の例ではn4)を選択していたアサイナASのみである。他のアサイナASが選択した音高は、KON3のタイミングで既に発音を開始しており、KOFF4のタイミングで音高の選択が変更されると、短時間で音高が変わる不自然な演奏になってしまうためである。   However, at this time, the pitch is selected only by the assigner AS that has selected the pitch (n4 in the example of FIG. 4) whose sound generation has been stopped in response to the key release. The pitches selected by other assigners AS have already begun to sound at the timing of KON3. If the pitch selection is changed at the timing of KOFF4, the pitch will change in a short time. It is because it ends up.

キーオフリトリガーを行う場合、キーオフリトリガー制御部39は、音高を指定して、割当制御部33に発音する音高の再選択を指示すればよい。割当制御部33は、この指示に応じて、指定された音高を選択しているアサイナASを検索し、音高の選択を行わせるアサイナASを決定する。検索には、アサイナASが保持している、選択した音高の情報を用いる。決定したアサイナASにおける音高の選択及び楽音生成部34への発音開始要求の処理は、操作状態検出部32からの指示に応じた選択の場合と同様である。   When performing the key-off retrigger, the key-off retrigger control unit 39 may specify the pitch and instruct the assignment control unit 33 to reselect the pitch to be generated. In response to this instruction, the assignment control unit 33 searches for the assigner AS that has selected the designated pitch, and determines the assigner AS that is to select the pitch. In the search, information on the selected pitch held by the assigner AS is used. The selection of the pitch in the determined assigner AS and the processing of the sound generation start request to the tone generation unit 34 are the same as in the case of the selection according to the instruction from the operation state detection unit 32.

ところで、この実施形態では、キーオフリトリガー制御部39は、あるキーオフ操作がレガート奏法に係る操作であると判断した場合に、そのキーオフ操作に応じて割当制御部33に発音音高の選択を行わせる必要があると判断するようにしている。
そして、レガート奏法は、ある鍵を押鍵した直後に前に押鍵していた鍵を離鍵する奏法であることから、例えば、ある音高のキーオン操作があってから所定時間内に別の音高のキーオフ操作があった場合に、そのキーオフ操作がレガート奏法に係る操作であるとすることができる。これは、キーオフ操作のタイミングを基準に考えれば、直近のキーオン操作から今回のキーオフ操作までが所定時間以内である、という条件である。
By the way, in this embodiment, when the key-off retrigger control unit 39 determines that a certain key-off operation is an operation related to the legato playing technique, the key-off retrigger control unit 39 causes the assignment control unit 33 to select a sound pitch according to the key-off operation. It is determined that it is necessary.
The legato playing method is a playing method in which a key that was previously pressed is released immediately after a certain key is pressed. For example, after a key-on operation at a certain pitch, When there is a pitch key-off operation, it can be said that the key-off operation is an operation related to the legato performance. This is a condition that the time from the most recent key-on operation to the current key-off operation is within a predetermined time considering the timing of the key-off operation.

また、レガート奏法の場合、前に押鍵していた鍵を離鍵する時点で次に押鍵した鍵が離鍵されていることは通常ないため、この点を条件に加えてもよい。すなわち、今回のキーオフ操作の時点で、上記直近のキーオン操作に係る鍵が操作中である、という条件である。
キーオフリトリガー制御部39は、図12の操作履歴テーブルを参照し、以上の条件によりあるキーオフ操作がレガート奏法に係る操作であると判断した場合に、上述のキーオフリトリガーを行う。
In the case of the legato playing method, since the key that was pressed next is not normally released at the time when the key that was previously pressed is released, this point may be added to the condition. That is, the condition is that the key related to the most recent key-on operation is being operated at the time of the current key-off operation.
The key-off retrigger control unit 39 refers to the operation history table of FIG. 12 and performs the above-described key-off retrigger when it is determined that a certain key-off operation is an operation related to a legato performance based on the above conditions.

また、キーオフリトリガー制御部39は、後着優先設定部36が後述の条件に従って後着優先を設定すべきアサイナASを把握できるようにするため、図13に示すようなレガート履歴テーブルを作成する。   Further, the key-off retrigger control unit 39 creates a legato history table as shown in FIG. 13 so that the late arrival priority setting unit 36 can grasp the assigner AS to set the late arrival priority in accordance with the conditions described later.

図13に示すように、レガート履歴テーブルには、時刻、キーオフ操作、直前キーオン操作、レガート判定結果、およびアサイナ毎の選択音高変動有無の項目が含まれる。
これらのうち、時刻及びキーオフ操作の項目には、操作履歴テーブルに含まれる各キーオフ操作の時刻及び操作内容を登録する。
直近キーオンの項目には、登録したキーオフ操作の前に行われた直近のキーオン操作を登録する。
レガート判定結果の項目には、登録したキーオフ操作及びキーオン操作がレガート演奏に係る操作であったか否かを登録する。「○」がレガート、「×」がレガートでない、である。なお、ここまでの4つの項目は、演奏操作子22の操作内容の履歴であると考えることができる。
As shown in FIG. 13, the legato history table includes items of time, key-off operation, previous key-on operation, legato determination result, and presence / absence of selected pitch fluctuation for each assigner.
Among these, the time and operation contents of each key-off operation included in the operation history table are registered in the items of time and key-off operation.
In the most recent key-on item, the most recent key-on operation performed before the registered key-off operation is registered.
In the item of the legato determination result, it is registered whether or not the registered key-off operation and key-on operation are operations related to legato performance. “○” is legato, “×” is not legato. The four items so far can be considered as a history of operation contents of the performance operator 22.

選択音高変動の項目には、登録したキーオフ操作又はキーオン操作に応じて、該当のアサイナが選択する音高が変動したか否かを登録する。「○」が変動あり、「×」が変動なしである。キーオフリトリガー制御部39によるレガート奏法か否かの判定は、キーオフ操作の際に行うが、実際にはキーオフ操作と直前のキーオン操作の組み合わせがレガート奏法の演奏操作である。従って、これらのいずれかに応じてあるアサイナ選択する音高が変動していれば、そのアサイナは、レガート奏法の演奏に係る発音を担うアサイナであると考えることができる。   In the selection pitch change item, whether or not the pitch selected by the corresponding assigner has changed in accordance with the registered key-off operation or key-on operation is registered. “◯” indicates fluctuation, and “×” indicates no fluctuation. The key-off retrigger control unit 39 determines whether or not a legato performance is performed at the time of a key-off operation. Actually, a combination of the key-off operation and the previous key-on operation is a performance operation of the legato performance. Therefore, if the pitch of an assigner selected according to any of these changes, it can be considered that the assigner is the assigner responsible for the sound generation related to the performance of the legato performance.

一方、後着優先設定部36は、適当なタイミング(例えばキーオフ操作を検出したタイミング)で図13のレガート履歴テーブルを参照し、その操作履歴中に所定の条件を満たす操作を検出した場合に、その操作の際に選択する音高が変動したアサイナASについて、そのアサイナASが用いる音高選択の規則を、第1実施形態の場合と同様な後着優先とすることを設定する機能を備える制御手段である。   On the other hand, the late arrival priority setting unit 36 refers to the legato history table of FIG. 13 at an appropriate timing (for example, the timing at which a key-off operation is detected), and detects an operation satisfying a predetermined condition in the operation history. A control having a function for setting, as for the assigner AS whose pitch to be selected at the time of the operation, the priority for selecting the pitch used by the assigner AS is to be given priority as in the case of the first embodiment. Means.

また、ここでは、「所定の条件」として、「ある音高のキーオン操作を行ってから所定時間内に別の音高のキーオフ操作を行う操作(すなわちレガート奏法に係る演奏操作)を、所定基準以上の頻度で行った」を用いている。
このようにレガート奏法の操作が頻繁に(又は続けて)行われる場合、以後も一定程度レガート奏法が続く可能性が高いと考えられる。そこで、レガート奏法の演奏に係る発音を担うアサイナASに後着優先の規則を使用させることにより、押鍵タイミングの重複有無に関わらず、キーオン操作のタイミングで確実に発音を開始させることができる。また、複数のアサイナASが異なる規則に基づき同じキーオン操作に係る音高を選択する場合でも、アサイナAS毎に発音開始タイミングがずれることがない。
Further, here, as the “predetermined condition”, an operation of performing a key-off operation of another pitch within a predetermined time after performing a key-on operation of a certain pitch (that is, a performance operation related to a legato playing method) It was performed with the above frequency.
In this manner, when the legato playing method is frequently (or continuously) performed, it is highly likely that the legato playing method will continue to a certain extent thereafter. Therefore, by making the assigner AS responsible for sound generation related to the performance of the legato performance use the late arrival priority rule, it is possible to reliably start sounding at the timing of the key-on operation regardless of whether or not the key pressing timing is duplicated. Further, even when a plurality of assigners AS select a pitch related to the same key-on operation based on different rules, the sounding start timing is not shifted for each assigner AS.

なお、レガート奏法の演奏に係る発音を担うアサイナASは、レガート奏法の演奏操作がなされた際にそれに応じて選択する音高が変化したアサイナASであると考えることができる。演奏操作があっても選択する音高が変化しないアサイナASは、その間ずっと押鍵がなされている等、レガート奏法の演奏操作と無関係に発音しているアサイナASであると考えられるためである。   Note that the assigner AS responsible for the sound generation related to the performance of the legato performance method can be considered to be the assigner AS in which the pitch selected in response to the performance operation of the legato performance method is changed. This is because an assigner AS in which the pitch to be selected does not change even if there is a performance operation is considered to be an assigner AS that produces a sound irrespective of the performance operation of the legato performance method, such as a key being pressed all the time.

また、上記の頻度の所定基準は、ここでは、「レガート奏法に係るキーオフ操作が所定回数(2回)連続してあった」とする。しかし、所定回数を2回以外としたり、直前のキーオフ操作n回のうちm回がレガート奏法であるとしてm/nが所定値(例えば0.7)以上、レガート奏法に係るキーオフ操作が所定時間内に所定回数以上あった等、他の条件を採用したりすることもできる。
また、一旦後着優先を用いる設定をしたアサイナASの音高選択規則を図3に示したものに戻す解除条件については、第1実施形態の場合と同様である。ただし、好ましい解除条件は第1の実施形態の場合と異なり、この点については後述する。
In addition, here, the predetermined standard of the frequency is assumed to be “the key-off operation related to the legato playing method has been repeated a predetermined number of times (two times)”. However, the predetermined number of times is not two times, or m / n is a predetermined value (for example, 0.7) or more when m out of n previous key-off operations are the legato performance, and the key-off operation related to the legato performance is performed for a predetermined time. It is also possible to adopt other conditions, such as a predetermined number of times.
The release condition for returning the pitch selection rule of the assigner AS once set to use the late arrival priority to the one shown in FIG. 3 is the same as that in the first embodiment. However, a preferable release condition is different from that in the first embodiment, and this point will be described later.

次に、図14を用いて、後着優先設定部36、操作履歴保存部38及びキーオフリトリガー制御部39の機能を考慮した、電子楽器10におけるアサイナASによる音高選択の例について説明する。
図14は、図5と対応する図であり、表記法は図5と同じである。また、矢印T2は、KOFF1及びKOFF2を基準とした、キーオフリトリガー制御部39が用いる「所定時間」を示す。
Next, an example of pitch selection by the assigner AS in the electronic musical instrument 10 in consideration of the functions of the late arrival priority setting unit 36, the operation history storage unit 38, and the key-off retrigger control unit 39 will be described with reference to FIG.
FIG. 14 is a diagram corresponding to FIG. 5, and the notation is the same as FIG. 5. An arrow T2 indicates “predetermined time” used by the key-off retrigger control unit 39 based on KOFF1 and KOFF2.

図5の例では、初めのKON1のタイミングでは、n1,n2,nm1の3つの音高の鍵が同時に押鍵される。その後、音高n1及びn2の鍵はずっと押鍵状態であり、その間に、音高nm1〜nm5の鍵が、押鍵タイミングが一部重複するように順次押鍵される。
この場合において、KON1のタイミングでは、n1,n2,nm1の3つの音高の鍵が押鍵中の状態で各アサイナASは図3に示した規則に従い発音する音高を選択する。その結果、第1アサイナAS−1及び第2アサイナAS−2は最高音のnm1を、第3アサイナAS−3は下から2番目のn2を、第4アサイナAS−4は最低音のn1を選択し、楽音生成部34に発音を開始させる。
そして、操作履歴保存部38は、図12の操作履歴テーブルの1行目のように、時刻KON1及びその時になされた操作の情報を保存する。
In the example of FIG. 5, at the first KON1 timing, keys of three pitches n1, n2, and nm1 are pressed simultaneously. After that, the keys of the pitches n1 and n2 are continuously depressed, and during this time, the keys of the pitches nm1 to nm5 are sequentially pressed so that the key pressing timing partially overlaps.
In this case, at the timing of KON1, each assigner AS selects a pitch to be generated according to the rules shown in FIG. 3 while the keys of three pitches n1, n2, and nm1 are being pressed. As a result, the first assigner AS-1 and the second assigner AS-2 have the highest note nm1, the third assigner AS-3 has the second lowest n2, and the fourth assigner AS-4 has the lowest note n1. The tone generator 34 is selected to start sounding.
Then, the operation history storage unit 38 stores the time KON1 and information on the operation performed at that time, as shown in the first line of the operation history table of FIG.

次のKON2のタイミングでは、音高nm2の鍵が押鍵される。そして、n1,n2,nm1,nm2の4つの音高の鍵が押鍵中の状態で、各アサイナASは図3に示した規則に従い発音する音高を選択する。その結果、第1アサイナAS−1は最高音のnm2を、第2アサイナAS−2、第3アサイナAS−3及び第4アサイナAS−4はそれまでと同じくnm1、n2及びn1をそれぞれ選択する。従って、音高選択が変動した第1アサイナAS−1のみが、選択した音高の発音を楽音生成部34に開始させる。
また、操作履歴保存部38は、図12の操作履歴テーブルの2行目のように、時刻KON2及びその時になされた操作の情報を保存する。
At the next KON2 timing, the key of the pitch nm2 is pressed. Then, with the four pitch keys n1, n2, nm1, and nm2 being pressed, each assigner AS selects a pitch to be generated according to the rules shown in FIG. As a result, the first assigner AS-1 selects the highest tone nm2, and the second assigner AS-2, the third assigner AS-3, and the fourth assigner AS-4 select nm1, n2, and n1, respectively. . Accordingly, only the first assigner AS-1 whose pitch selection has been changed causes the musical tone generation unit 34 to start pronunciation of the selected pitch.
Further, the operation history storage unit 38 stores the time KON2 and information on the operation performed at that time, as shown in the second row of the operation history table in FIG.

次のKOFF1のタイミングでは、音高nm1の鍵の離鍵に応じて第2アサイナAS−2が音高nm1の選択を解除し、楽音生成部34に発音を停止させる。また、操作履歴保存部38は、図12の操作履歴テーブルの3行目のように、時刻KOFF1及びその時になされた操作の情報を保存する。   At the next timing of KOFF1, the second assigner AS-2 cancels the selection of the pitch nm1 in response to the release of the key of the pitch nm1, and the tone generator 34 stops the sound generation. Further, the operation history storage unit 38 stores the time KOFF1 and information on the operation performed at that time, as shown in the third row of the operation history table of FIG.

一方、キーオフリトリガー制御部39は、直近の音高nm2の鍵の押鍵操作から今回の音高nm1の鍵の離鍵操作まで所定時間T2以内であり、かつその離鍵操作の時点で音高nm2の鍵が押鍵中であることから、音高nm1の鍵の離鍵操作はレガート奏法に係る操作であると判断する。そして、直前まで音高nm2を選択していた第2アサイナAS−2についてキーオフリトリガーを行うことを決定する。
そして、キーオフリトリガーの動作において、第2アサイナAS−2は、n1,n2,nm2の3つの音高の鍵が押鍵中の状態で、図3に示した規則に従い発音する音高を選択する。その結果、第2アサイナAS−2は最高音のnm2選択し、その発音を楽音生成部34に開始させる。
On the other hand, the key-off retrigger control unit 39 is within a predetermined time T2 from the key pressing operation of the key having the latest pitch nm2 to the key releasing operation of the key having the current pitch nm1, and the pitch at the time of the key releasing operation. Since the key of nm2 is being depressed, it is determined that the key release operation of the key of pitch nm1 is an operation related to the legato playing method. Then, it is determined to perform the key-off retrigger for the second assigner AS-2 that has selected the pitch nm2 until immediately before.
Then, in the operation of the key-off retrigger, the second assigner AS-2 selects a pitch that is pronounced according to the rules shown in FIG. 3 while the keys of the three pitches n1, n2, and nm2 are being pressed. . As a result, the second assigner AS-2 selects nm2 of the highest sound and causes the musical sound generation unit 34 to start the sound generation.

また、キーオフリトリガー制御部39は、図13に示したレガート履歴テーブルの1行目のように、時刻KOFF1の離鍵操作に応じたレガート奏法の判定結果、直前の押鍵操作時も含めて各アサイナによる音高選択に変動があったか否か等を保存する。
また、この時点ではレガート奏法に係る操作を1回検出したのみであるので、「所定の条件」に該当せず、後着優先設定部36は後着優先を用いる設定を行わない。
Further, the key-off retrigger control unit 39, as shown in the first line of the legato history table shown in FIG. 13, includes the legato performance determination result corresponding to the key release operation at the time KOFF1, and each key including the previous key press operation. Stores whether or not the pitch selection by the assigner has changed.
At this time, since the operation related to the legato playing method is detected only once, it does not correspond to the “predetermined condition”, and the late arrival priority setting unit 36 does not perform the setting using the late arrival priority.

次のKON3のタイミングでは、音高nm3の鍵が押鍵される。そして、n1,n2,nm2,nm3の4つの音高の鍵が押鍵中の状態で、各アサイナASは図3に示した規則に従い発音する音高を選択する。その結果、第1アサイナAS−1は最高音のnm3を、第2アサイナAS−2、第3アサイナAS−3及び第4アサイナAS−4はそれまでと同じくnm2、n2及びn1をそれぞれ選択する。従って、音高選択が変動した第1アサイナAS−1のみが、選択した音高の発音を楽音生成部34に開始させる。
また、操作履歴保存部38は、図12の操作履歴テーブルの4行目のように、時刻KON3及びその時になされた操作の情報を保存する。
At the next KON3 timing, the key with the pitch nm3 is pressed. Then, with the four pitch keys n1, n2, nm2, and nm3 being pressed, each assigner AS selects a pitch to be generated according to the rules shown in FIG. As a result, the first assigner AS-1 selects the highest sounding nm3, and the second assigner AS-2, the third assigner AS-3, and the fourth assigner AS-4 select nm2, n2, and n1, respectively. . Accordingly, only the first assigner AS-1 whose pitch selection has been changed causes the musical tone generation unit 34 to start pronunciation of the selected pitch.
Further, the operation history storage unit 38 stores the time KON3 and information on the operation performed at that time, as shown in the fourth line of the operation history table of FIG.

次のKOFF2のタイミングでは、音高nm2の鍵の離鍵に応じて第2アサイナAS−2が音高nm2の選択を解除し、楽音生成部34に発音を停止させる。また、操作履歴保存部38は、図12の操作履歴テーブルの5行目のように、時刻KOFF2及びその時になされた操作の情報を保存する。
一方、キーオフリトリガー制御部39は、直近の音高nm3の鍵の押鍵操作から今回の音高nm2の鍵の離鍵操作まで所定時間T2以内であり、かつその離鍵操作の時点で音高nm3の鍵が押鍵中であることから、音高nm2の鍵の離鍵操作はレガート奏法に係る操作であると判断する。そして、直前まで音高nm2を選択していた第2アサイナAS−2についてキーオフリトリガーを行うことを決定する。
At the next timing of KOFF2, the second assigner AS-2 cancels the selection of the pitch nm2 in response to the release of the key of the pitch nm2, and the tone generator 34 stops the sound generation. Further, the operation history storage unit 38 stores the time KOFF2 and information on the operation performed at that time, as shown in the fifth line of the operation history table of FIG.
On the other hand, the key-off retrigger control unit 39 is within a predetermined time T2 from the key pressing operation of the key having the latest pitch nm3 to the key releasing operation of the key having the current pitch nm2, and the pitch at the time of the key releasing operation. Since the key of nm3 is being pressed, it is determined that the key release operation of the key of pitch nm2 is an operation related to the legato playing method. Then, it is determined to perform the key-off retrigger for the second assigner AS-2 that has selected the pitch nm2 until immediately before.

そして、キーオフリトリガーの動作において、第2アサイナAS−2は、n1,n2,nm3の3つの音高の鍵が押鍵中の状態で、図3に示した規則に従い発音する音高を選択する。その結果、第2アサイナAS−2は最高音のnm3選択し、その発音を楽音生成部34に開始させる。
また、キーオフリトリガー制御部39は、図13に示したレガート履歴テーブルに、その2行目のように各種データを保存する。
Then, in the operation of the key-off retrigger, the second assigner AS-2 selects a pitch to be generated according to the rules shown in FIG. 3 while the keys of the three pitches n1, n2, and nm3 are being pressed. . As a result, the second assigner AS-2 selects nm3 of the highest sound and causes the musical sound generation unit 34 to start the sound generation.
Further, the key-off retrigger control unit 39 stores various data in the legato history table shown in FIG.

また、これでレガート奏法に係る操作が2回続いたため、後着優先を設定すべき「所定の条件」に該当する。そこで、後着優先設定部36は、レガート履歴テーブルを参照し、これまでの2回のレガート奏法に係る操作で選択音高が変動している第1アサイナAS−1及び第2アサイナAS−2について、後着優先の規則を用いる設定を行う。   In addition, since the operation related to the legato playing method has continued twice, it corresponds to the “predetermined condition” for setting the late arrival priority. Therefore, the late arrival priority setting unit 36 refers to the legato history table, and the first assigner AS-1 and the second assigner AS-2 in which the selected pitch fluctuates due to the operations related to the two legato performances so far. Is set to use the late arrival priority rule.

次のKON4のタイミングでは、音高nm4の鍵が押鍵される。そして、n1,n2,nm3,nm4の4つの音高の鍵が押鍵中の状態で、第3アサイナAS−3及び第4アサイナAS−4は図3に示した規則に従い発音する音高を選択する。その結果、第3アサイナAS−3及び第4アサイナAS−4はそれまでと同じくn2及びn1をそれぞれ選択する。また、第1アサイナAS−1及び第2アサイナAS−2は後着優先で最後に押鍵操作された音高nm4を選択する。   At the next KON4 timing, the key of pitch nm4 is pressed. Then, with the four pitch keys n1, n2, nm3, and nm4 being depressed, the third assigner AS-3 and the fourth assigner AS-4 generate pitches that are pronounced according to the rules shown in FIG. select. As a result, the third assigner AS-3 and the fourth assigner AS-4 select n2 and n1 as before. In addition, the first assigner AS-1 and the second assigner AS-2 select the pitch nm4 that is last pressed with priority on later arrival.

このため、第1アサイナAS−1と第2アサイナAS−2において音高選択が変動し、選択した音高の発音を楽音生成部34に開始させる。
また、操作履歴保存部38は、図12の操作履歴テーブルの末行のように、時刻KON4及びその時になされた操作の情報を保存する。図12には、この時点における操作履歴テーブルの状態を示している。
次の押鍵操作であるKON5の音高nm5の鍵の押鍵操作についても、同様に第1アサイナAS−1と第2アサイナAS−2において音高選択が変動し、選択した音高の発音を楽音生成部34に開始させる。
For this reason, the pitch selection is fluctuated in the first assigner AS-1 and the second assigner AS-2, and the tone generation unit 34 starts to generate the selected pitch.
Further, the operation history storage unit 38 stores the time KON4 and information on the operation performed at that time, as in the last row of the operation history table of FIG. FIG. 12 shows the state of the operation history table at this time.
Similarly, for the key pressing operation of the key N5 of KON5, which is the next key pressing operation, the pitch selection varies in the first assigner AS-1 and the second assigner AS-2, and the selected pitch is pronounced. Is started by the musical sound generator 34.

また、KOFF3における音高nm3の鍵の離鍵操作とKOFF4における音高nm4の鍵の離鍵操作もレガート奏法に係る離鍵操作であるとすると、これらのタイミングでも、レガート奏法に係る操作が2回以上続いており、後着優先を設定すべき「所定の条件」に該当する。しかしながら、レガート奏法に係る操作で選択音高が変動している第1アサイナAS−1及び第2アサイナAS−2については、既に後着優先の規則を用いる設定が行われているため、後着優先設定部36は、いずれのアサイナASにも新たに後着優先の規則を用いる設定は行わない。第1アサイナAS−1及び第2アサイナAS−2については、後着優先を解除する条件が満たされておらず、後着優先のままであるとする。   Further, if the key release operation of the key with the pitch nm3 in KOFF3 and the key release operation of the key with the pitch of nm4 in KOFF4 are also the key release operations related to the legato performance, the operation related to the legato performance is 2 even at these timings. This is a “predetermined condition” for which the last arrival priority should be set. However, the first assigner AS-1 and the second assigner AS-2 whose selection pitches fluctuate due to the operation related to the legato playing method have already been set using the late arrival priority rule. The priority setting unit 36 does not perform any setting that uses the new arrival priority rule for any assigner AS. For the first assigner AS-1 and the second assigner AS-2, the condition for canceling the late arrival priority is not satisfied, and the late arrival priority remains.

このように、電子楽器10においては、後着優先設定部36、操作履歴保存部38及びキーオフリトリガー制御部39の機能により、図5における音高nm1〜nm5のように一部期間の重なった押鍵操作がなされ、かつ複数のアサイナASがその押鍵に係る音高を選択すべき場合において、当該複数のアサイナASに押鍵のタイミングで同時にその押鍵に係る音高を選択させることができる。
従って、図19を用いて説明したように、押鍵毎に音色が変わったり、パート毎に発音開始タイミングがずれたりすることなく、聴感への悪影響を抑え、かつ演奏者の演奏操作の意図に合った発音を、容易に行うことができる。
As described above, in the electronic musical instrument 10, the functions of the late arrival priority setting unit 36, the operation history storage unit 38, and the key-off retrigger control unit 39 are used to press the presses having overlapping periods such as pitches nm 1 to nm 5 in FIG. When a key operation is performed and a plurality of assigners AS should select a pitch related to the key press, the plurality of assigners AS can simultaneously select a pitch related to the key press at the timing of the key press. .
Accordingly, as described with reference to FIG. 19, the timbre is not changed every time the key is pressed or the sounding start timing is not shifted for each part, and the adverse effect on the audibility is suppressed, and the performance operation of the performer is intended. Proper pronunciation can be performed easily.

なお、KON2及びKON3のタイミングでは、まだ後着優先の規則を用いる設定がなされていないため、第1アサイナAS−1の音色と第2アサイナAS−2の音色とで発音開始タイミングが若干ずれている。KON4及びKON5のタイミングでは、後着優先の規則を用いる設定がなされたことにより、このずれが是正されている。   In addition, at the timing of KON2 and KON3, since the setting using the late arrival priority rule has not yet been made, the sounding start timing is slightly shifted between the tone color of the first assigner AS-1 and the tone color of the second assigner AS-2. Yes. At the timing of KON4 and KON5, this deviation is corrected by the setting using the late arrival priority rule.

なお、第2実施形態では、演奏操作がレガート奏法に係るものであるか否かを直接判別するため、後着優先設定部36が用いる「所定の条件」に時間を考慮することが必須でない。従って、時間を考慮しない条件を用いれば、レガート奏法での演奏がゆっくりなされた場合でも、これを適切に識別し、後着優先の規則を用いる設定を行うことができる。   In the second embodiment, since it is directly determined whether or not the performance operation is related to the legato performance method, it is not essential to consider time in the “predetermined condition” used by the late arrival priority setting unit 36. Therefore, if a condition that does not take time into consideration is used, even when a performance with a legato performance is slow, this can be properly identified, and a setting using a late arrival priority rule can be made.

次に、図11に示した機能のうち、CPU11が担う機能を実現するためにCPU11が実行する処理について説明する。
図15は、そのうちキーオンデータ及び/又はキーオフデータ受信時の処理のフローチャートである。
CPU11は、検出回路16からキーオンデータ及び/又はキーオフデータを受信した場合に、所要のプログラムを実行することにより図15のフローチャートに示す処理を開始する。なお、所定閾値以内のタイミング差で行われた操作を同時操作とみなすことは上述の通りである。
Next, processing executed by the CPU 11 in order to realize the functions performed by the CPU 11 among the functions shown in FIG. 11 will be described.
FIG. 15 is a flowchart of processing when key-on data and / or key-off data is received.
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. 15 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.

図15の処理において、CPU11はまず検出した操作及びその時刻を、図12に示した操作履歴テーブルに保存する(S61)。次に、検出した操作にキーオン操作が含まれていれば(S62のYes)、アサイナASによる、キーオン操作に応じた発音音高の選択を行うべく、全アサイナASについて発音割り当てフラグを立てる(S63)。ステップS62でNoの場合は、ステップS63はスキップする。   In the process of FIG. 15, the CPU 11 first stores the detected operation and its time in the operation history table shown in FIG. 12 (S61). Next, if the detected operation includes a key-on operation (Yes in S62), a sound assignment flag is set for all assigners AS so that the assigner AS can select a sound pitch according to the key-on operation (S63). ). If No in step S62, step S63 is skipped.

次に、CPU11は、検出した操作にキーオフ操作が含まれているか否か判断する(S64)。そして、ここでYesであれば、検出したキーオフ操作に係る音高の発音停止を、楽音生成部34に指示する(S65)。キーオフ操作が複数あった場合には、その全ての発音停止を指示する。   Next, the CPU 11 determines whether or not the detected operation includes a key-off operation (S64). And if it is Yes here, the musical tone production | generation part 34 will be instruct | indicated to stop the sound generation of the pitch which concerns on the detected key-off operation (S65). When there are a plurality of key-off operations, an instruction to stop sound generation for all of them is given.

次に、CPU11は、直近のキーオン操作から今回のキーオフ操作まで所定時間以内で、かつ、該当のキーオン操作をされた鍵がまだ操作中であるか否か判断する(S66)。これは、今回のキーオフ操作がレガート奏法に係る操作であるか否かの判断であり、図12の操作履歴テーブルを参照することによって判断される。ここでYesであれば、CPU11は、キーオフ操作がされた音高を選択しているアサイナASについて発音割り当てフラグをセットする(S67)。これは、ステップS65で停止する前に上記音高Nの発音を行っていたパートと対応するアサイナASについて、発音割り当てフラグをセットするということもできる。   Next, the CPU 11 determines whether or not the key that has been subjected to the key-on operation is still being operated within a predetermined time from the most recent key-on operation to the current key-off operation (S66). This is a determination as to whether or not the current key-off operation is an operation related to a legato performance, and is determined by referring to the operation history table of FIG. If Yes here, the CPU 11 sets a sound generation assignment flag for the assigner AS that has selected the pitch for which the key-off operation has been performed (S67). It can also be said that the sound generation assignment flag is set for the assigner AS corresponding to the part that has been generating the pitch N before stopping in step S65.

これらのステップS66及びS67の処理は、キーオフリトリガー機能に係る処理である。キーオフ操作を複数検出した場合には、各キーオフ操作についてこれらの処理を実行する。ステップS66でNoの場合には、ステップS67をスキップしてステップS68に進む。   The processes in steps S66 and S67 are processes related to the key-off retrigger function. When a plurality of key-off operations are detected, these processes are executed for each key-off operation. If No in step S66, step S67 is skipped and the process proceeds to step S68.

また、CPU11は次に、図13に示したレガート履歴テーブルに、今回のキーオフ操作、直近のキーオン操作及びレガート演奏操作の検出結果(ステップS66の判断結果)を保存する(S68)。
その後、CPU11は、第1の実施形態の場合と同様、図8に示した発音割り当て処理を実行する。ただし、第2実施形態においてはステップS37の処理は実行不要である。この発音割り当て処理においては、ステップS63又はS67で発音割り当てフラグをセットした各アサイナについて、発音音高の選択及び、必要に応じて発音開始の処理を行う。
ステップS64でNoの場合には、ステップS65乃至S68をスキップしてステップS69に進む。
Next, the CPU 11 stores the detection results of the current key-off operation, the most recent key-on operation, and the legato performance operation (judgment result of step S66) in the legato history table shown in FIG. 13 (S68).
Thereafter, the CPU 11 executes the sound generation assignment process shown in FIG. 8 as in the case of the first embodiment. However, in the second embodiment, it is not necessary to execute the process of step S37. In this sound assignment process, for each assigner for which the sound assignment flag has been set in step S63 or S67, a sound production pitch is selected and a sound generation start process is performed as necessary.
In the case of No in step S64, steps S65 to S68 are skipped and the process proceeds to step S69.

次に、CPU11は再度、検出した操作にキーオフ操作が含まれているか否か判断する(S70)。そして、ここでYesであれば、図13に示したレガート履歴テーブルに、各アサイナの選択音高変動有無を登録する(S71)。これは、ステップS68で登録した今回のキーオフ操作又は直近のキーオン操作の際に各アサイナの選択音高に変動があったか否かを登録するものである。従って、キーオン操作に応じた変動の有無は、キーオン操作に応じて図15の処理を行った際に後で参照できるように保存しておき、ステップS71においては、ステップS69における選択結果と、その保存しておいた変動有無とを参照して、変動有無の保存を行えばよい。   Next, the CPU 11 determines again whether or not the detected operation includes a key-off operation (S70). And if it is Yes here, the selection pitch fluctuation presence or absence of each assigner will be registered into the legato history table shown in FIG. 13 (S71). This registers whether or not there has been a change in the selected pitch of each assigner during the current key-off operation or the most recent key-on operation registered in step S68. Therefore, whether or not there is a change in accordance with the key-on operation is saved so that it can be referred to later when the processing of FIG. 15 is performed in accordance with the key-on operation. In step S71, the selection result in step S69 and its The presence / absence of variation may be stored with reference to the stored variation presence / absence.

その後、CPU11は、直近に所定基準以上の頻度でレガート演奏操作があったか否かをアサイナ毎に判断する(S72)。すなわち、レガート履歴テーブル(及び操作履歴テーブル)に保存されている操作履歴が、音高の選択規則を後着優先とすべき「所定の条件」を満たしているか否か判断する。ここでYesである場合、レガート演奏操作に際に音高選択が変動したアサイナに後着優先フラグをセットし(S73)、処理を終了する。   Thereafter, the CPU 11 determines, for each assigner, whether or not there has been a legato performance operation at a frequency equal to or more than a predetermined reference (S72). That is, it is determined whether or not the operation history stored in the legato history table (and the operation history table) satisfies a “predetermined condition” in which the selection rule of the pitch is to be given priority on the last arrival. If the answer is Yes, the late arrival priority flag is set to the assigner whose pitch selection fluctuates during the legato performance operation (S73), and the process ends.

なお、ステップS73におけるアサイナの特定の際には、ステップS72の判断を行う際に参照した範囲のレガート演奏操作において、全て、あるいは所定割合以上の操作で変動していることを基準とすればよい。例えば、ステップS72で「レガート演奏操作が2回続けてなされた」を基準とするのであれば、直前2回のキーオフ操作がレガート演奏に係る操作であるか否かを参照するので、これらの操作の際に音高選択が変動したアサイナを特定すればよい。
ステップS72でNoの場合、ステップS73をスキップして処理を終了する。
ステップS70でNoの場合、ステップS71乃至S73をスキップして処理を終了する。
以上の処理により、図14を用いて説明したような発音が可能となる。
It should be noted that when assigning an assigner in step S73, it may be based on the fact that all or a predetermined ratio or more of the legato performance operation in the range referred to in the determination in step S72 is changed. . For example, if it is determined in step S72 that “legato performance operation has been performed twice” as a reference, it is referred to whether or not the last two key-off operations are operations related to legato performance. In this case, the assigner whose pitch selection is changed may be specified.
If No in step S72, step S73 is skipped and the process is terminated.
In the case of No in step S70, steps S71 to S73 are skipped and the process is terminated.
With the above processing, the pronunciation as described with reference to FIG. 14 becomes possible.

なお、第2実施形態では、後着優先フラグを解除する解除条件として、「キーオフ操作があった時にステップS72の条件が満たされなかった」を用いるとよい。この解除条件を用いたフラグ解除の処理は、図15の処理でステップS72でNoの場合に行ってもよいし、キーオフ操作をトリガに図9の処理を実行し、ステップS53の判断結果に従って行ってもよい。
また、上記のS72の条件に加え、最後に後着優先が設定されてから一定時間が経過したとき、等の時間的な条件を用いることも好ましい。この時間的な条件については、図9の処理を定期的に起動して判定するとよい。
In the second embodiment, it is preferable to use “the condition of step S72 was not satisfied when there was a key-off operation” as the release condition for releasing the late arrival priority flag. The flag cancellation processing using the cancellation condition may be performed in the case of No in step S72 in the processing of FIG. 15, or the processing of FIG. 9 is executed with a key-off operation as a trigger, and is performed according to the determination result in step S53. May be.
In addition to the condition of S72 described above, it is also preferable to use a temporal condition such as when a fixed time has elapsed since the last arrival priority was set last. The time condition may be determined by periodically starting the process of FIG.

〔第2実施形態の比較例:図16,図17〕
次に、後着優先を用いることの効果について、図16及び図17の比較例を用いて説明する。
図16に示すのは、第2実施形態と同じアサイナを用い、後着優先設定部36及びキーオフリトリガー制御部39がないとして、図14の場合と同じ鍵操作があった場合における各アサイナASによる音高選択の例を示す図である。
[Comparative example of the second embodiment: FIGS. 16 and 17]
Next, the effect of using the late arrival priority will be described using the comparative examples of FIGS.
FIG. 16 shows that the same assigner as in the second embodiment is used, and that there is no late arrival priority setting unit 36 and key-off retrigger control unit 39. It is a figure which shows the example of pitch selection.

この場合、KON2のタイミングまでは、各アサイナASによる音高選択は、図14の場合と同じである。
しかし、KOFF1のタイミングにおいては、キーオフリトリガーを行わないため、単に、第2アサイナAS−2が音高nm1の選択を解除し、楽音生成部34に発音を停止させるのみである。従って、第2アサイナAS−2と対応する発音はここで一旦停止してしまうことになる。
In this case, the pitch selection by each assigner AS is the same as in the case of FIG. 14 until the timing of KON2.
However, since the key-off retrigger is not performed at the timing of KOFF1, the second assigner AS-2 simply cancels the selection of the pitch nm1 and causes the tone generator 34 to stop the sound generation. Therefore, the pronunciation corresponding to the second assigner AS-2 is temporarily stopped here.

KON3のタイミングでは、第2アサイナAS−2は、n1,n2,nm2,nm3の4つの音高の鍵が押鍵中の状態で、図3に示した規則に従い音高の選択を行い、下から3番目のnm2を選択して楽音生成部34に発音を開始させる。しかし、この発音はすぐにKOFF2のタイミングで停止される。   At the timing of KON3, the second assigner AS-2 selects the pitch according to the rules shown in FIG. 3 while the four pitch keys n1, n2, nm2, and nm3 are being pressed. The third nm2 is selected from the above, and the tone generator 34 is caused to start sounding. However, this pronunciation is immediately stopped at the timing of KOFF2.

選択規則が後着優先になることもないため、以後も、第2アサイナAS−2と対応する発音は、離鍵操作の直前で開始し、離鍵時にすぐに停止する、ということを繰り返すことになる。すなわち、演奏操作からは、音高nm1から音高nm5までの音を続けて発音させる意図が推測できるのに、nm2以降の押鍵については、実質的に第2アサイナAS−2と対応する音が発音されないこととなり、音高nm1とは異なる音になってしまい、演奏者の意図に沿った発音ができないと考えられる。   Since the selection rule does not give priority to the last arrival, it is repeated that the pronunciation corresponding to the second assigner AS-2 starts immediately before the key release operation and stops immediately when the key is released. become. That is, from the performance operation, it is possible to infer the intention to continuously generate the sound from the pitch nm1 to the pitch nm5, but for the key depression after nm2, the sound substantially corresponding to the second assigner AS-2 Is not pronounced, resulting in a sound different from the pitch nm1, and it is considered that the pronunciation according to the intention of the performer cannot be performed.

図17に示すのは、第2実施形態と同じアサイナを用い、後着優先設定部36がないとして、図14の場合と同じ鍵操作があった場合における各アサイナASによる音高選択の例を示す図である。
この場合、KOFF2のタイミングまで、各アサイナASによる音高選択は図14の場合と同じである。図16の例と比べれば、キーオフリトリガーを行っているため、各音高の押鍵について、第1アサイナAS−1及び第2アサイナAS−2と対応する音の発音を行うことができ、演奏者の意図に沿った発音となっている。
FIG. 17 shows an example of pitch selection by each assigner AS when the same assigner as in the second embodiment is used and there is no late arrival priority setting unit 36 and the same key operation is performed as in FIG. FIG.
In this case, the pitch selection by each assigner AS is the same as in the case of FIG. 14 until the timing of KOFF2. Compared with the example of FIG. 16, since the key-off retrigger is performed, the sound corresponding to the first assigner AS-1 and the second assigner AS-2 can be generated for each key depression, and the performance is performed. The pronunciation is in line with the person's intention.

しかし、KON4のタイミング以降も、第2アサイナAS−2の音高選択規則が後着優先となることがないため、第2アサイナAS−2は、前の鍵の離鍵操作のタイミングでキーオフリトリガーを行って、次に押鍵された鍵の音高を選択する。このため、第1アサイナAS−1と対応する音と第2アサイナAS−2と対応する音とでは、発音開始及び終了のタイミングに若干ずれが生じ、これが聴感に悪影響を与える。   However, after the timing of KON4, the pitch assignment rule of the second assigner AS-2 does not give priority to the last arrival, so the second assigner AS-2 performs the key-off retrigger at the timing of the key release operation of the previous key. To select the pitch of the key that was pressed next. For this reason, the sound corresponding to the first assigner AS-1 and the sound corresponding to the second assigner AS-2 are slightly deviated from the start and end timings of sound generation, which adversely affects hearing.

これに対し、後着優先設定部36の機能を用いることにより、このような問題が発生せず、音高nm1から音高nm5までの押鍵がレガート奏法により一部重なったとしても、押鍵毎に音色が変わったり、パート毎に発音開始タイミングがずれたりすることのない発音が可能となることは、上述の通りである。   On the other hand, by using the function of the late arrival priority setting unit 36, such a problem does not occur, and even if the key depression from the pitch nm1 to the pitch nm5 is partially overlapped by the legato playing method, the key depression is performed. As described above, it is possible to produce a sound without changing the timbre for each part and without shifting the sounding start timing for each part.

〔変形例:図18〕
以上で実施形態の説明を終了するが、装置の構成、演奏操作子を始めとする操作子の構成、処理に用いるデータの構成、具体的な処理の手順等が上述の実施形態で説明したものに限られないことはもちろんである。
[Modification: FIG. 18]
This is the end of the description of the embodiment. However, the configuration of the apparatus, the configuration of the operator including the performance operator, the configuration of data used for processing, the specific processing procedure, etc. are described in the above embodiment. Of course, it is not limited to.

例えば、後着優先設定部36が所定の条件に基づき後着優先の使用を設定するか否かを判断するタイミングは、上述した実施形態のものに限られない。上述した実施形態においては、キーオン又はキーオフの操作が行われたタイミングでこの判断を行うようにしたが、これらの操作と無関係なタイミングで判断を行うことも妨げられない。もちろん、キーオン操作かキーオフ操作かを問わず、何らかの操作が行われたタイミングで常に判断を行うようにしてもよい。   For example, the timing at which the late arrival priority setting unit 36 determines whether to use late arrival priority based on a predetermined condition is not limited to that of the above-described embodiment. In the embodiment described above, this determination is performed at the timing when the key-on or key-off operation is performed. However, it is not hindered to perform the determination at a timing unrelated to these operations. Of course, the determination may always be made at the timing when some operation is performed regardless of the key-on operation or the key-off operation.

また、第2実施形態においてある操作がレガート奏法の操作か否かを判定する基準は上述した実施形態のものに限られない。例えば、ある音高Mのキーオン、音高Mのキーオン以前から操作されていた別の音高Nのキーオフの順で操作があり、音高Mのキーオン時点で音高Mと音高Nとの間に押鍵中の鍵がない、というような、時間を考慮しない基準を用いることも考えられる。   In addition, the criterion for determining whether or not an operation in the second embodiment is a legato performance operation is not limited to that in the above-described embodiment. For example, there is an operation in the order of key-on of a certain pitch M, key-off of another pitch N that was operated before the key-on of pitch M, and the pitch M and pitch N at the time of pitch-M key-on. It is also possible to use a criterion that does not consider time, such as no key being pressed in between.

また、図15の処理において、発音割り当て処理(S69)よりも後で後着優先フラグのセットを行っていたため、後着優先フラグのトリガとなったキーオフ操作のタイミングでの発音の際には、(既に後着優先フラグがセットされていない限り)後着優先での音高選択ができなかった。
この構成でも特に問題はない。しかし、トリガとなったキーオフ操作のタイミングでの発音の際にも後着優先での音高選択を行いたい場合には、以下の対応が考えられる。
In the process of FIG. 15, since the late arrival priority flag is set later than the sound generation assignment process (S69), at the time of sounding at the timing of the key-off operation that triggered the late arrival priority flag, It was not possible to select the pitch with priority on the last arrival (unless the late arrival priority flag was already set).
There is no particular problem with this configuration. However, the following measures are conceivable when it is desired to select the pitch with priority on the last arrival even when the sound is generated at the timing of the key-off operation that is the trigger.

すなわち、ステップS69の時点ではステップS72の判定を行うための、各アサイナによる選択音高を仮に決定しておき、ステップS72の判定に応じた後着優先フラグの設定を反映させた状態で、改めて各アサイナが実際に発音する音高を選択することが考えられる。
このようにすれば、キーオン操作とキーオフ操作が同時に行われた場合でも、キーオフ操作に応じて後着優先フラグがセットされればそれを同時のキーオン操作に応じた発音に直ちに反映させることができ、より迅速に音高選択規則の切り替えを行うことができる。
That is, at the time of step S69, the selection pitch by each assigner for performing the determination of step S72 is temporarily determined, and the setting of the late arrival priority flag according to the determination of step S72 is reflected again. It is conceivable to select the pitch that each assigner actually pronounces.
In this way, even if a key-on operation and a key-off operation are performed simultaneously, if the late arrival priority flag is set according to the key-off operation, it can be immediately reflected in the pronunciation according to the simultaneous key-on operation. The pitch selection rule can be switched more quickly.

また、上述した各実施形態では後着優先設定部36やキーオフリトリガー制御部39を割当制御部33と別に設ける例について説明したが、割当制御部33の各アサイナASが後着優先設定部36やキーオフリトリガー制御部39の機能を備えていてもよい。この場合、各アサイナASが、図7、図15等を用いて説明したように、所定の条件に基づき後着優先の使用やキーオフリトリガーの要否を判定し、必要と判断した場合に、音高選択規則を後着優先に変更したり、キーオフリトリガーの処理を行ったりするようにすればよい。   Further, in each of the above-described embodiments, an example in which the late arrival priority setting unit 36 and the key-off retrigger control unit 39 are provided separately from the assignment control unit 33 has been described. However, each assigner AS of the assignment control unit 33 has the late arrival priority setting unit 36 or The function of the key-off retrigger control unit 39 may be provided. In this case, as described with reference to FIGS. 7, 15, etc., each assigner AS determines whether or not it is necessary to use late arrival priority or key-off retrigger based on a predetermined condition. What is necessary is just to change a high selection rule to the last arrival priority, or to perform a key-off retrigger process.

また、各アサイナについて設定する音高選択の規則につき、図18に示すように、押鍵数毎に異なる挙動を示すものとしてもよい。図18では第2アサイナと第3アサイナについて押鍵数4までしか規則を規定していないが、5以上の場合について規定してもよい。   Also, the pitch selection rules set for each assigner may behave differently for each number of key presses, as shown in FIG. In FIG. 18, the rule is defined only for the number of key presses of 4 for the second assigner and the third assigner, but may be defined for the case of 5 or more.

また、上述した実施形態では、演奏操作子が鍵盤であり、発音開始指示を押鍵操作により、発音停止指示を離鍵操作により行う例について説明した。しかし、演奏操作子の形態はこれに限られない。他の楽器の形状はもちろん、マトリクス状に操作部を配置したパッドなど、伝統的な楽器と全く異なる形状のユーザインタフェースを備える装置にもこの発明は適用可能である。この場合、発音開始指示及び発音停止指示は、そのユーザインタフェースの特性に応じた操作方法で受け付けることになる。   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 GUI (graphical user interface) displayed on a keyboard of a general-purpose computer or a touch panel as a performance operator. In this case, it is possible to make the general-purpose computer function as an electronic musical instrument by realizing the functions of the respective units shown in FIG. In any case, the functions of the respective units shown in FIG. 2 and the like 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等に示した各部(特に後着優先設定部36)の機能を実現させるためのプログラムである。
そして、このようなプログラムをコンピュータに実行させることにより、上述したような効果を得ることができる。
The program according to the embodiment of the present invention is a program for realizing the functions of the respective units (particularly the late arrival priority setting unit 36) shown in FIG. 2 and the like by causing one computer or a plurality of computers to cooperate. is there.
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, even when consecutive performance operations are partially overlapped, it is possible to easily generate a sound suitable for the intention of the player's performance operation while suppressing adverse effects on hearing. Can be done.
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:出力部、38:操作履歴保存部、39:キーオフリトリガー制御部、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: Music generation unit, 35: selection history storage unit, 36: late arrival priority setting unit, 37: output unit, 38: operation history storage unit, 39: key-off retrigger control unit, AS: assigner, TC: pronunciation ch

Claims (8)

それぞれ音高と対応する複数の操作部の操作状態に応じて所定の規則に基づき発音する音高を選択する1又は複数の選択手段と、
前記各選択手段による音高の選択履歴を保存する保存手段と、
前記保存手段が保存する選択履歴が所定の条件を満たした選択手段についての前記所定の規則を、最後に発音開始操作された操作部の音高を選択する後着優先に変更する制御手段とを備えることを特徴とする電子楽器。
One or a plurality of selection means for selecting a pitch to be generated based on a predetermined rule in accordance with operation states of a plurality of operation units each corresponding to a pitch;
Storage means for storing a selection history of pitches by the selection means;
Control means for changing the predetermined rule for the selection means for which the selection history stored by the storage means satisfies a predetermined condition to a priority for later arrival that selects the pitch of the operation unit that has been operated to start sounding last. An electronic musical instrument characterized by comprising.
請求項1に記載の電子楽器であって、
前記所定の条件は、所定期間内に所定基準以上の頻度で選択する音高の変動があった、であることを特徴とする電子楽器。
The electronic musical instrument according to claim 1,
The electronic musical instrument according to claim 1, wherein the predetermined condition is a change in pitch to be selected at a frequency equal to or higher than a predetermined reference within a predetermined period.
それぞれ音高と対応する複数の操作部の操作状態に応じて所定の規則に基づき発音する音高を選択する1又は複数の選択手段と、
前記各操作部の操作履歴を保存する保存手段と、
前記保存手段が保存する操作履歴中の複数操作が所定の条件を満たす場合に、該複数操作いずれかの際に選択する音高が変動した選択手段についての前記所定の規則を、最後に発音開始操作された操作部の音高を選択する後着優先に変更する制御手段とを備えることを特徴とする電子楽器。
One or a plurality of selection means for selecting a pitch to be generated based on a predetermined rule in accordance with operation states of a plurality of operation units each corresponding to a pitch;
Storage means for storing an operation history of each operation unit;
When a plurality of operations in the operation history stored by the storage unit satisfy a predetermined condition, the predetermined rule for the selection unit for which the pitch to be selected at any of the plurality of operations fluctuates is finally started. An electronic musical instrument comprising: control means for selecting a pitch of the operated operation unit to change to the priority of later arrival.
請求項3に記載の電子楽器であって、
前記所定の条件は、ある音高の操作部に発音開始操作を行ってから所定時間内に別の音高の操作部に発音停止操作を行う操作を、所定基準以上の頻度で行った、であることを特徴とする電子楽器。
An electronic musical instrument according to claim 3,
The predetermined condition is that a sound generation start operation is performed on a certain pitch operation unit and a sound generation stop operation is performed on a different pitch operation unit within a predetermined time after a predetermined reference frequency. An electronic musical instrument characterized by being.
コンピュータを、
それぞれ音高と対応する複数の操作部の操作状態に応じて所定の規則に基づき発音する音高を選択する1又は複数の選択手段と、
前記各選択手段による音高の選択履歴を保存する保存手段と、
前記保存手段が保存する選択履歴が所定の条件を満たした選択手段についての前記所定の規則を、最後に発音開始操作された操作部の音高を選択する後着優先に変更する制御手段として機能させるためのプログラム。
Computer
One or a plurality of selection means for selecting a pitch to be generated based on a predetermined rule in accordance with operation states of a plurality of operation units each corresponding to a pitch;
Storage means for storing a selection history of pitches by the selection means;
Function as a control means for changing the predetermined rule for the selection means for which the selection history stored by the storage means satisfies a predetermined condition to a priority for later arrival for selecting the pitch of the operation unit that has been operated to start sounding last Program to let you.
コンピュータを、
それぞれ音高と対応する複数の操作部の操作状態に応じて所定の規則に基づき発音する音高を選択する1又は複数の選択手段と、
前記各操作部の操作履歴を保存する保存手段と、
前記保存手段が保存する操作履歴中の複数操作が所定の条件を満たす場合に、該複数操作いずれかの際に選択する音高が変動した選択手段についての前記所定の規則を、最後に発音開始操作された操作部の音高を選択する後着優先に変更する制御手段として機能させるためのプログラム。
Computer
One or a plurality of selection means for selecting a pitch to be generated based on a predetermined rule in accordance with operation states of a plurality of operation units each corresponding to a pitch;
Storage means for storing an operation history of each operation unit;
When a plurality of operations in the operation history stored by the storage unit satisfy a predetermined condition, the predetermined rule for the selection unit for which the pitch to be selected at any of the plurality of operations fluctuates is finally started. A program for functioning as control means for changing to a later arrival priority for selecting the pitch of the operated operation unit.
発音を指示する複数の操作部の操作状態に応じて1又は複数の選択手段がそれぞれ所定の規則に基づき発音する音高を選択する選択手順と、
前記各選択手順による音高の選択履歴を保存する保存手順と、
前記保存手順で保存した選択履歴が所定の条件を満たした選択手段についての前記所定の規則を、最後に発音開始操作された操作部の音高を選択する後着優先に変更する制御手順とを備えることを特徴とする発音音高選択方法。
A selection procedure in which one or a plurality of selection means select a pitch to be pronounced based on a predetermined rule according to operation states of a plurality of operation units instructing pronunciation;
A storage procedure for storing a selection history of pitches according to each of the selection procedures;
A control procedure for changing the predetermined rule for the selection means for which the selection history stored in the storage procedure satisfies a predetermined condition to the last arrival priority for selecting the pitch of the operation unit that has been operated to start sounding last. A pronunciation pitch selection method characterized by comprising:
発音を指示する複数の操作部の操作状態に応じて1又は複数の選択手段がそれぞれ所定の規則に基づき発音する音高を選択する選択手順と、
前記各操作部の操作履歴を保存する保存手順と、
前記保存手順で保存した操作履歴中の複数操作が所定の条件を満たす場合に、該複数操作いずれかの際に選択する音高が変動した選択手段についての前記所定の規則を、最後に発音開始操作された操作部の音高を選択する後着優先に変更する制御手順とを備えることを特徴とする発音音高選択方法。
A selection procedure in which one or a plurality of selection means select a pitch to be pronounced based on a predetermined rule according to operation states of a plurality of operation units instructing pronunciation;
A storage procedure for storing an operation history of each operation unit;
When a plurality of operations in the operation history stored in the storing procedure satisfy a predetermined condition, the predetermined rule for the selection means for which the pitch to be selected in any of the plurality of operations fluctuates is finally started. A pronunciation pitch selection method, comprising: a control procedure for selecting the pitch of the operated operation unit to change to the priority of late arrival.
JP2013240149A 2013-11-20 2013-11-20 Electronic musical instrument, program and pronunciation pitch selection method Active JP6343911B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013240149A JP6343911B2 (en) 2013-11-20 2013-11-20 Electronic musical instrument, program and pronunciation pitch selection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013240149A JP6343911B2 (en) 2013-11-20 2013-11-20 Electronic musical instrument, program and pronunciation pitch selection method

Publications (2)

Publication Number Publication Date
JP2015099328A true JP2015099328A (en) 2015-05-28
JP6343911B2 JP6343911B2 (en) 2018-06-20

Family

ID=53375959

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013240149A Active JP6343911B2 (en) 2013-11-20 2013-11-20 Electronic musical instrument, program and pronunciation pitch selection method

Country Status (1)

Country Link
JP (1) JP6343911B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0451197A (en) * 1990-06-19 1992-02-19 Yamaha Corp Sounding channel allocation device for electronic musical instrument
JPH04242293A (en) * 1991-01-16 1992-08-28 Yamaha Corp Electronic musical instrument
JP2000231384A (en) * 1999-02-09 2000-08-22 Kawai Musical Instr Mfg Co Ltd Musical sound generating device, electronic instrument and storage medium
JP2001209382A (en) * 2000-01-28 2001-08-03 Roland Corp Beat processing device of electronic instrument
JP2003066962A (en) * 2001-08-30 2003-03-05 Kawai Musical Instr Mfg Co Ltd Assignor, assign method, memory media and program, for electronic musical instrument

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0451197A (en) * 1990-06-19 1992-02-19 Yamaha Corp Sounding channel allocation device for electronic musical instrument
JPH04242293A (en) * 1991-01-16 1992-08-28 Yamaha Corp Electronic musical instrument
JP2000231384A (en) * 1999-02-09 2000-08-22 Kawai Musical Instr Mfg Co Ltd Musical sound generating device, electronic instrument and storage medium
JP2001209382A (en) * 2000-01-28 2001-08-03 Roland Corp Beat processing device of electronic instrument
JP2003066962A (en) * 2001-08-30 2003-03-05 Kawai Musical Instr Mfg Co Ltd Assignor, assign method, memory media and program, for electronic musical instrument

Also Published As

Publication number Publication date
JP6343911B2 (en) 2018-06-20

Similar Documents

Publication Publication Date Title
JP6260191B2 (en) Electronic musical instrument, program and pronunciation pitch selection method
US8008569B2 (en) Musical sound generating device and storage medium storing musical sound generation processing program
JP3922224B2 (en) Automatic performance device and program
JP5732982B2 (en) Musical sound generation device and musical sound generation program
JP6343911B2 (en) Electronic musical instrument, program and pronunciation pitch selection method
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
JP3649014B2 (en) Performance data file playback setting control device
JP2015125389A (en) Electric musical instrument, program, and method for selecting sound generation pitch
JP6149890B2 (en) Musical sound generation device and musical sound generation program
JP5692275B2 (en) Electronic musical instruments
JP5742592B2 (en) Musical sound generation device, musical sound generation program, and electronic musical instrument
JP4572980B2 (en) Automatic performance device and program
JP4241833B2 (en) Automatic performance device and program
JP5200368B2 (en) Arpeggio generating apparatus and program for realizing arpeggio generating method
JP2012132991A (en) Electronic music instrument
JP6102975B2 (en) Musical sound generation device, musical sound generation program, and electronic musical instrument
JP5568866B2 (en) Music signal generator
JP2015125391A (en) Electric musical instrument, program, and method for selecting sound generation pitch
JP2015114639A (en) Electronic musical instrument, program, and musical sound signal generation method
JP3557474B2 (en) Tone generator
JP2012145932A (en) Electric musical instrument
JP2010230861A (en) Musical sound generating device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160921

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170905

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171102

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180424

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180507

R151 Written notification of patent or utility model registration

Ref document number: 6343911

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151