JP6650101B2 - Music sound generating apparatus, music sound generating method, program and electronic musical instrument - Google Patents

Music sound generating apparatus, music sound generating method, program and electronic musical instrument Download PDF

Info

Publication number
JP6650101B2
JP6650101B2 JP2015124681A JP2015124681A JP6650101B2 JP 6650101 B2 JP6650101 B2 JP 6650101B2 JP 2015124681 A JP2015124681 A JP 2015124681A JP 2015124681 A JP2015124681 A JP 2015124681A JP 6650101 B2 JP6650101 B2 JP 6650101B2
Authority
JP
Japan
Prior art keywords
tone
key
effect
vibrato
sound
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.)
Active
Application number
JP2015124681A
Other languages
Japanese (ja)
Other versions
JP2017009788A5 (en
JP2017009788A (en
Inventor
博樹 菅野
博樹 菅野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2015124681A priority Critical patent/JP6650101B2/en
Publication of JP2017009788A publication Critical patent/JP2017009788A/en
Publication of JP2017009788A5 publication Critical patent/JP2017009788A5/ja
Application granted granted Critical
Publication of JP6650101B2 publication Critical patent/JP6650101B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、簡単で直感的な操作でビブラートを具現する楽音発生装置、楽音発生方法、プログラムおよび電子楽器に関する。   The present invention relates to a musical sound generator, a musical sound generating method, a program, and an electronic musical instrument that implement vibrato with a simple and intuitive operation.

従来より発生楽音のピッチ(音高)を周期的に変動させて揺らぎ感を表現する効果としてビブラートを付与する楽音発生装置が知られている。この種の装置では、ユーザによる操作子の操作で設定されるレート(揺れの速さ)やデプス(揺れの大きさ)に応じて定まるビブラート波形(LFO波形)に従って波形読み出し位相(波形読み出し速度)を周波数変調するように構成されており、こうした技術については特許文献1に開示されている。   2. Description of the Related Art Conventionally, there has been known a musical sound generating apparatus which imparts vibrato as an effect of periodically varying the pitch (pitch) of generated musical sounds to express a feeling of fluctuation. In this type of apparatus, a waveform readout phase (waveform readout speed) is determined according to a vibrato waveform (LFO waveform) determined according to a rate (speed of shaking) or a depth (magnitude of shaking) set by an operation of a control by a user. Is frequency-modulated, and such a technique is disclosed in Patent Document 1.

また、例えば特許文献2には、電子鍵盤楽器において、鍵盤の各鍵を発音用の発音キーまたは効果付与用の効果キーの何れかにアサイン可能とし、発音キーが押鍵された後に当該発音キーから所定範囲離れた位置の鍵が押鍵された場合に効果キーの押鍵と見做し、効果キーの押鍵時間差に応じて、発音キーの押鍵で発生する楽音に付加するビブラートを制御する技術が開示されている。   Also, for example, in Patent Document 2, in an electronic keyboard musical instrument, each key of a keyboard can be assigned to either a sounding key for sounding or an effect key for effect giving, and after the sounding key is pressed, the sounding key is pressed. When a key at a position away from the key by a predetermined range is depressed, it is regarded as a key depression of the effect key, and the vibrato added to the tone generated by the key depression of the sounding key is controlled according to the key depression time difference of the effect key A technique for performing this is disclosed.

さらに、特許文献3には、押鍵を検知するイニシャルセンサと、押鍵圧および押鍵深さ方向を検知する2つのアフタセンサとを鍵盤の各鍵毎に設け、イニシャルセンサで検知された押鍵に応じて発音する楽音を、2つの独立したアフタセンサの何れかの出力に従ってアフタタッチ制御を行いながら、2つの独立したアフタセンサの出力差分で表現される押鍵の仕方(傾きや振れ等)で当該楽音に付与するビブラートその他各種効果の深さや速さを変化させる技術が開示されている。   Further, Patent Document 3 discloses that an initial sensor for detecting a key press and two after sensors for detecting a key press pressure and a key press depth direction are provided for each key of a keyboard, and a key press detected by the initial sensor is provided. While performing aftertouch control in accordance with the output of either of the two independent after sensors, the tone generated according to the key is expressed in a key-pressing manner (tilt, shake, etc.) expressed by the output difference between the two independent after sensors. Techniques for changing the depth and speed of vibrato and other various effects imparted to musical sounds have been disclosed.

加えて、特許文献4には、鍵盤の各鍵毎にイニシャルタッチセンサと、押鍵終了位置近傍で押圧を検知するアフタタッチセンサとを設けておき、両センサの出力に基づいて奏法様式(標準弾き/押し弾き)を検出し、検出した奏法様式に応じて、例えば押し弾きのときにビブラートを付与したり、標準弾きのときにビブラートの付与を防止したりする技術が開示されている。   In addition, Patent Literature 4 provides an initial touch sensor for each key on the keyboard and an after touch sensor for detecting pressing in the vicinity of the key pressing end position, and based on the output of both sensors, a playing style (standard A technique is disclosed that detects (play / push play) and applies vibrato, for example, during push play, or prevents vibrato, during standard play, according to the detected playing style.

また、特許文献5には、鍵盤ユニットを支持キャビネット(筺体)に対して水平方向へ移動可能な構造を備え、演奏時に鍵盤ユニットの変動量を検出し、検出した変動量に応じて発生楽音にピッチベンド等の楽音制御を行い、これにより演奏者が鍵盤から手を離すことなく容易に楽音制御を可能にする技術が開示されている。   Japanese Patent Application Laid-Open No. H11-163873 has a structure in which a keyboard unit can be moved in a horizontal direction with respect to a supporting cabinet (housing). There is disclosed a technique for performing tone control such as pitch bend, thereby enabling the player to easily control the tone without releasing his / her hand from the keyboard.

特開平05−100666号公報JP 05-100666 A 特開2010−60583号公報JP 2010-60583 A 特開平4−146493号公報JP-A-4-146493 特開2005−189869号公報JP 2005-189869 A 特開2001−296868号公報JP 2001-296868 A

ところで、近年では、タブレット端末等で知られるスマートデバイスの普及により、液晶表示画面に表示される鍵盤の各鍵(白鍵、黒鍵)の画像を、当該液晶表示画面上に敷設されるタッチパネルを介して鍵操作(タッチ操作)する所謂タッチパネル鍵盤が多用されている。タッチパネル鍵盤において、上記特許文献1に開示の技術のように、ビブラートのパラメータ(レート/デプス)を設定する操作子を模した操作アイコンをタッチパネル上に設けた場合、鍵盤に不慣れなビギナーユーザでは鍵操作に集中するあまり操作子の操作が覚束ないという弊害が生じる。   By the way, in recent years, with the spread of smart devices known as tablet terminals and the like, images of each key (white key, black key) of a keyboard displayed on a liquid crystal display screen are displayed on a touch panel laid on the liquid crystal display screen. A so-called touch panel keyboard for performing a key operation (touch operation) through the keyboard is often used. In a touch panel keyboard, as in the technique disclosed in Patent Document 1, when an operation icon imitating an operator for setting a vibrato parameter (rate / depth) is provided on the touch panel, a beginner user who is unfamiliar with the keyboard has a key. There is an adverse effect that the operation of the operator is not noticeable because the user concentrates on the operation.

また、上記特許文献2に開示の技術では、鍵盤の各鍵をスイッチ操作子(発音用の発音キーまたは効果付与用の効果キー)と見做し、発音キーの押鍵後に複数の効果キーを押鍵するといった通常の演奏とは異なる鍵操作が要求される為、やはり鍵盤に不慣れなビギナーユーザにしてみれば極めて難度の高い鍵操作になってしまう。   In the technique disclosed in Patent Document 2, each key of the keyboard is regarded as a switch operator (a sounding key for sound generation or an effect key for effect addition), and a plurality of effect keys are pressed after the sounding key is pressed. Since a key operation different from a normal performance such as depressing a key is required, a key operation which is extremely difficult for a beginner user who is unfamiliar with the keyboard.

加えて、上記特許文献3乃至5に開示の技術では、鍵盤の各鍵にアフタタッチセンサを設けたり、鍵盤の変動量を検出する機構を備えたりする態様である為、タッチパネル鍵盤には適用することが出来ない。   In addition, the techniques disclosed in Patent Documents 3 to 5 are applied to a touch panel keyboard because each key of the keyboard is provided with an after touch sensor or a mechanism for detecting a variation of the keyboard is provided. I can't do that.

したがって、以上に述べた内容を換言すると、従来の技術では、タッチパネル鍵盤を用いた場合に、簡単で直感的な操作でビブラートを具現することが出来ない、という問題が生じる。   Therefore, in other words, in the conventional technique, when using the touch panel keyboard, there is a problem that vibrato cannot be realized by a simple and intuitive operation.

そこで本発明は、上述した事情に鑑みてなされたもので、簡単で直感的な操作でビブラートを具現することが出来る楽音発生装置、楽音発生方法、プログラムおよび電子楽器を提供することを目的としている。   The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a musical sound generating device, a musical sound generating method, a program, and an electronic musical instrument capable of realizing vibrato with a simple and intuitive operation. .

上記目的を達成するため、本発明の一態様による楽音発生装置は、
異なる音高が割り当てられる複数の操作子を表示するとともに、表示されている前記複数の操作子のうちのいずれの操作子が指定されたかを検出することが可能なタッチパネル鍵盤と、
前記複数の操作子のうち少なくとも1つの操作子を指定する第1の操作の検出に応じて、当該第1の操作で指定された操作子に割り当てられた音高で発音を発音部に指示し、
前記第1の操作の検出後に、前記第1の操作で指定された操作子の領域内で行われる第2の操作の検出に応じて、モジュレーションによる楽音加工効果を付与する効果付与モードに移行し、
前記効果付与モードに移行した後に、前記第1の操作で指定された操作子の領域内でスライドを行う第3の操作の検出に応じて、前記第1の操作により発音指示された音高の楽音に対して、前記第3の操作に応じたレートまたはデプスでモジュレーションを行う楽音加工効果を付与して、前記楽音加工効果が付与された楽音の発音を前記発音部に指示する効果付与制御部と
を具備することを特徴とする。
To achieve the above object, a musical sound generating device according to one embodiment of the present invention,
A touch panel keyboard capable of displaying a plurality of operators to which different pitches are assigned, and detecting which of the plurality of displayed operators is specified ,
In response to detection of a first operation that designates at least one of the plurality of operators, the sounding unit is instructed to sound at a pitch assigned to the operator designated by the first operation. ,
After the detection of the first operation, a transition is made to an effect imparting mode for imparting a tone processing effect by modulation in accordance with the detection of a second operation performed in the area of the operator designated by the first operation. ,
After shifting to the effect imparting mode, in response to detection of a third operation of sliding within the area of the operation element designated by the first operation, the pitch of the pitch indicated by the first operation is changed. An effect imparting control unit that imparts a tone processing effect of performing modulation at a rate or depth according to the third operation to a musical tone, and instructs the sounding unit to sound the musical tone to which the musical tone processing effect is applied And characterized in that:

本発明では、簡単で直感的な操作でビブラートを具現することが出来る。   According to the present invention, vibrato can be realized by a simple and intuitive operation.

本発明の実施の一形態による楽音発生装置100の外観を示す外観図である。1 is an external view showing an external appearance of a musical sound generating device 100 according to an embodiment of the present invention. 楽音発生装置100の電気的構成を示すブロック図である。FIG. 2 is a block diagram showing an electrical configuration of the musical sound generating device 100. CPU10が実行するメインルーチンの動作を示すフローチャートである。5 is a flowchart illustrating an operation of a main routine executed by a CPU 10. CPU10が実行する押鍵処理の動作を示すフローチャートである。5 is a flowchart illustrating an operation of a key pressing process executed by a CPU 10. CPU10が実行する押鍵処理の動作を示すフローチャートである。5 is a flowchart illustrating an operation of a key pressing process executed by a CPU 10. 押鍵処理の動作の一例を説明する為の図である。FIG. 9 is a diagram for describing an example of an operation of a key pressing process. CPU10が実行するビブラート処理の動作を示すフローチャートである。4 is a flowchart illustrating an operation of a vibrato process executed by a CPU 10; ビブラート波形におけるビブラートレートVRおよびビブラートデプスVDの関係を説明する為の波形図である。FIG. 4 is a waveform diagram for explaining a relationship between a vibrato rate VR and a vibrato depth VD in a vibrato waveform. レート変換テーブルRTおよびデプス変換テーブルDTの一例を示す図である。FIG. 4 is a diagram illustrating an example of a rate conversion table RT and a depth conversion table DT. ドラッグ幅DWに応じてビブラートデプスVDを変更する動作の一例を示す図である。FIG. 14 is a diagram illustrating an example of an operation of changing a vibrato depth VD according to a drag width DW. CPU10が実行する離鍵処理の動作を示すフローチャートである。5 is a flowchart illustrating an operation of a key release process executed by a CPU 10. 本実施形態の具体的な動作例を説明する為の図である。FIG. 7 is a diagram for describing a specific operation example of the present embodiment.

以下、図面を参照して本発明の実施形態について説明する。
A.外観
図1は、本発明の実施の一形態による楽音発生装置100の外観を示す外観図である。この図に図示する楽音発生装置100は、周知のスマートデバイスを用いた一例であり、上面視長方形状の筐体を有する。この筐体正面には、液晶表示画面に表示される鍵盤(白鍵、黒鍵)の各鍵の画像を、当該液晶表示画面上に敷設されるタッチパネルを介して鍵操作するタッチパネル鍵盤TKBを備える。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
A. 1. External Appearance FIG. 1 is an external view showing an external appearance of a musical sound generating apparatus 100 according to an embodiment of the present invention. The tone generator 100 shown in this figure is an example using a well-known smart device, and has a rectangular housing in a top view. On the front of the housing, there is provided a touch panel keyboard TKB for operating a key image of a key (white key, black key) displayed on the liquid crystal display screen via a touch panel laid on the liquid crystal display screen. .

タッチパネル鍵盤TKBを構成する液晶表示パネル(後述する表示部12)には、例えば26鍵(白鍵15鍵、黒鍵11鍵)の各鍵の画像が画面表示される。この液晶表示パネル(後述する表示部12)上には、2次元マトリクス配置される透明電極を用いた静電容量方式のマルチタッチ検出機能を備えるタッチパネル(後述するタッチパネル部13)が敷設される。   On a liquid crystal display panel (display unit 12 described later) constituting the touch panel keyboard TKB, for example, images of 26 keys (15 white keys and 11 black keys) are displayed on the screen. On this liquid crystal display panel (display section 12 described later), a touch panel (touch panel section 13 described later) having a capacitive multi-touch detection function using transparent electrodes arranged in a two-dimensional matrix is laid.

タッチパネル鍵盤TKBでは、後述するように、ユーザが画面に表示される鍵の画像を指で触れる押下操作(タッチ操作)が「押鍵」、触れた指を離してタッチ解除する操作が「離鍵」に相当する。タッチパネル鍵盤TKBでは、ユーザの押離鍵操作に応じてタッチパネル部13から出力されるタッチ位置情報が鍵番号(又はノートナンバ)として扱われる。   In the touch panel keyboard TKB, as described later, a pressing operation (touch operation) of touching the image of a key displayed on the screen with a finger is a “key press”, and an operation of releasing the touched finger and releasing the touch is “key release”. ". In the touch panel keyboard TKB, touch position information output from the touch panel unit 13 in response to a key press / release operation by the user is treated as a key number (or note number).

B.構成
図2は、楽音発生装置100の構成を示すブロック図である。この図において、CPU10は、スイッチ部11から出力されるスイッチイベントに応じて装置各部の処理動作を設定したり、上述したタッチパネル鍵盤TKBを構成するタッチパネル部13から出力されるタッチ位置情報に応じたノートオン・ノートオフイベントを生成して発音部16に供給する。本発明の要旨に係わるCPU10の特徴的な処理動作については追って詳述する。
B. Configuration FIG. 2 is a block diagram showing a configuration of the musical sound generating device 100. In this figure, the CPU 10 sets the processing operation of each unit of the device in accordance with a switch event output from the switch unit 11 or responds to touch position information output from the touch panel unit 13 constituting the touch panel keyboard TKB described above. A note-on note-off event is generated and supplied to the sound generator 16. The characteristic processing operation of the CPU 10 according to the gist of the present invention will be described later in detail.

スイッチ部11は、装置側部やパネル下部に設けられる電源スイッチや音量スイッチなどの各種操作スイッチから構成され、スイッチ操作に応じた種類のスイッチイベントを発生する。スイッチ部11が発生するスイッチイベントはCPU10に取り込まれる。表示部12は、液晶表示パネルなどから構成され、CPU10の制御の下に、上述したタッチパネル鍵盤TKBを構成する各鍵の押離鍵に対応した表示形態で鍵の画像を画面表示すると共に、タッチパネル鍵盤TKBの上部余白側に、必要に応じて装置各部の設定状態や動作状態などを画面表示する。   The switch unit 11 is composed of various operation switches such as a power switch and a volume switch provided on the side of the apparatus and the lower part of the panel, and generates a switch event of a type corresponding to the switch operation. The switch event generated by the switch unit 11 is captured by the CPU 10. The display unit 12 includes a liquid crystal display panel and the like. Under the control of the CPU 10, the display unit 12 displays a key image on a screen in a display form corresponding to the depressing and releasing of each key constituting the touch panel keyboard TKB. On the upper margin side of the keyboard TKB, the setting state and operation state of each unit of the apparatus are displayed on the screen as necessary.

タッチパネル部13は、上述したように、表示部12の表示画面を構成する液晶表示パネル上に敷設され、2次元マトリクス配置される透明電極を用いた静電容量方式のタッチパネルを備える。タッチパネル部13は、タッチパネル鍵盤TKBを含む表示画面におけるタッチ位置を検出してタッチ位置情報を出力する。また、タッチパネル部13において、タッチパネル鍵盤TKBを除くタッチ検出領域に、操作スイッチとして機能するアイコンを設けた場合には、そのアイコンのタッチ操作に応じたタッチ位置情報を発生する。   As described above, the touch panel unit 13 is provided on the liquid crystal display panel constituting the display screen of the display unit 12 and includes a capacitive touch panel using transparent electrodes arranged in a two-dimensional matrix. The touch panel unit 13 detects a touch position on a display screen including the touch panel keyboard TKB and outputs touch position information. When an icon that functions as an operation switch is provided in the touch detection area other than the touch panel keyboard TKB in the touch panel section 13, touch position information corresponding to the touch operation of the icon is generated.

ROM14は、CPU10にロードされる各種制御プログラムを記憶する他、表示部12に画面表示する各鍵の画像データ(押鍵状態を示す画像/離鍵状態を示す画像)を記憶する。なお、このROM14に格納される各種制御プログラムとは、後述するメインルーチン、押鍵処理、ビブラート処理および離鍵処理を含む。   The ROM 14 stores various control programs loaded on the CPU 10, and also stores image data of each key (an image indicating a key pressed state / an image indicating a key released state) to be displayed on the screen of the display unit 12. The various control programs stored in the ROM 14 include a main routine, a key pressing process, a vibrato process, and a key release process described later.

RAM15は、ワークエリアWAおよびデータエリアDAを備える。RAM15のワークエリアWAには、CPU10の処理に用いられる各種レジスタ・フラグデータが一時記憶される。データエリアDAには、ドラッグ速度DSをビブラートレートVRに変換するレート変換テーブルRTおよびドラッグ幅DWをビブラートデプスVDに変換するデプス変換テーブルDTが格納される。このレート変換テーブルRTおよびデプス変換テーブルDTが意図するところについては追って述べる。   The RAM 15 includes a work area WA and a data area DA. In the work area WA of the RAM 15, various register / flag data used for the processing of the CPU 10 is temporarily stored. The data area DA stores a rate conversion table RT for converting the drag speed DS to the vibrato rate VR and a depth conversion table DT for converting the drag width DW to the vibrato depth VD. The intention of the rate conversion table RT and the depth conversion table DT will be described later.

発音部16は、音源部16aおよびサウンドシステム16bから構成される。音源部16aは、周知の波形メモリ読み出し方式にて構成される複数の発音チャンネルを備え、CPU10から供給されるノートオン/ノートオフイベントに従って楽音波形データWを発生する他、所定のドラッグ操作(後述する)が為された場合に、発生楽音にビブラートを付与する。サウンドシステム16bは、音源部16aから出力される楽音波形データWをアナログ形式の楽音信号に変換し、当該楽音信号から不要ノイズを除去する等のフィルタリングを施した後、これを増幅してスピーカSPから発音させる。   The sound generator 16 includes a sound source 16a and a sound system 16b. The sound source section 16a has a plurality of tone generation channels configured by a well-known waveform memory reading method, generates musical tone waveform data W in accordance with note-on / note-off events supplied from the CPU 10, and performs a predetermined drag operation (described later). Is performed, vibrato is added to the generated musical sound. The sound system 16b converts the tone waveform data W output from the sound source unit 16a into an analog tone signal, performs filtering such as removing unnecessary noise from the tone signal, amplifies the signal, and amplifies the filtered signal. From the beginning.

C.動作
次に、図3〜図12を参照して、上記構成による楽音発生装置100のCPU10が実行するメインルーチン、押鍵処理、ビブラート処理および離鍵処理の各動作について説明する。なお、以下に述べる動作説明では、ことわりが無い限りCPU10が動作主体となる。
C. Operation Next, with reference to FIGS. 3 to 12, each operation of the main routine, the key pressing process, the vibrato process, and the key release process executed by the CPU 10 of the musical sound generating device 100 having the above configuration will be described. In the following description of the operation, the CPU 10 operates as the main unit unless otherwise specified.

(1)メインルーチンの動作
図3は、CPU10が実行するメインルーチンの動作を示すフローチャートである。電源スイッチのオン設定に応じて楽音発生装置100がパワーオンされると、CPU10はメインルーチンを実行して図3に図示するステップSA1に進み、装置各部を初期化するイニシャライズを実行する。そして、次のステップSA2では、ROM14に記憶される各鍵の画像データを用いて表示部12(液晶表示パネル)にタッチパネル鍵盤TKB(図1参照)を表示する。この場合、タッチパネル鍵盤TKBの全ての鍵が離鍵状態として画面表示される。
(1) Operation of Main Routine FIG. 3 is a flowchart showing the operation of the main routine executed by the CPU 10. When the musical sound generator 100 is powered on in accordance with the power switch on setting, the CPU 10 executes a main routine and proceeds to step SA1 shown in FIG. 3 to execute initialization for initializing each unit of the apparatus. Then, in the next step SA2, the touch panel keyboard TKB (see FIG. 1) is displayed on the display unit 12 (liquid crystal display panel) using the image data of each key stored in the ROM 14. In this case, all keys on the touch panel keyboard TKB are displayed on the screen in a released state.

次いで、ステップSA3では、例えば音量スイッチ操作に応じて発生楽音の音量を調節する等、スイッチ部11から出力されるスイッチイベントや、タッチパネル鍵盤TKBを除くタッチ検出領域に設けたアイコンのタッチ操作で発生するタッチイベントに応じて装置各部の動作を設定するスイッチ処理を実行する。   Next, in step SA3, a switch event output from the switch unit 11, such as adjusting the volume of a generated musical tone in response to a volume switch operation, or a touch operation of an icon provided in a touch detection area excluding the touch panel keyboard TKB. Switch processing for setting the operation of each unit of the device in accordance with the touch event to be performed.

次に、ステップSA4では、スイッチ部11に設けられる終了スイッチが操作(終了操作)されたか否かを判断する。ユーザが終了操作を行った場合には、判断結果が「YES」になり、本ルーチンを終えるが、終了操作が行われなければ、判断結果は「NO」になり、次のステップSA5に進む。   Next, in step SA4, it is determined whether or not the end switch provided in the switch unit 11 has been operated (end operation). If the user has performed the ending operation, the determination result is “YES”, and this routine ends. If the ending operation is not performed, the determination result is “NO”, and the flow advances to next Step SA5.

ステップSA5では、タッチパネル鍵盤TKB(タッチパネル部13)において押鍵(押下操作)の有無を判断する。なお、ここで言う押鍵(押下操作)とは、タッチパネル鍵盤TKBの鍵の画像範囲を初回タッチした場合と、初回タッチ後に当該タッチした鍵の画像範囲内で左右にドラッグ操作した場合とを指す。ドラッグ操作とは、タッチパネルに指を接触させながら移動するスライド操作を指す。そして、タッチパネル鍵盤TKBにおける押鍵(押下操作)を検出すると、上記ステップSA5の判断結果が「YES」になり、次のステップSA6に進み、押鍵処理を実行する。   In step SA5, it is determined whether or not there is a key press (press operation) on the touch panel keyboard TKB (touch panel section 13). Here, the key press (press operation) means a case where the image area of the key on the touch panel keyboard TKB is touched for the first time, and a case where the key operation is dragged left and right within the image area of the touched key after the initial touch. . The drag operation refers to a slide operation of moving while touching a touch panel with a finger. When a key press (press operation) on the touch panel keyboard TKB is detected, the result of the determination in step SA5 becomes “YES”, and the flow advances to next step SA6 to execute a key press process.

押鍵処理では、後述するように、タッチパネル鍵盤TKBにおいて押下操作された各鍵について初回タッチされた未押鍵状態の鍵もしくは初回タッチ後にドラッグ操作される押鍵状態の鍵の何れであるかを判別する。そして、初回タッチされた未押鍵状態の鍵であれば、当該鍵に対応する押下フラグOFを「1」にセットして押鍵状態に設定する。この後、押鍵状態となった鍵の画像範囲内で所定回数α以上(複数回)の左右ドラッグ操作を繰り返すと、ビブラート付与対象の鍵となり、その左右ドラッグ操作のドラッグ速度DSおよびドラッグ幅DWをそれぞれビブラートレートVRおよびビブラートデプスVDに変換し、これらパラメータで定まるビブラート波形(LFO波形)の生成を音源部16aに指示する。この結果、押鍵状態となった鍵の鍵番号に対応したピッチ(音高)で発音する楽音に対し、ビブラートレートVRおよびビブラートデプスVDで指定される態様のビブラートを付与させる。   In the key pressing process, as described later, each of the keys pressed on the touch panel keyboard TKB determines whether the key is an unpressed key that has been first touched or a pressed key that is dragged after the first touch. Determine. If the key has not been pressed yet for the first time, the press flag OF corresponding to the key is set to "1" to set the key to the pressed state. Thereafter, when the left and right drag operation is repeated a predetermined number of times or more (a plurality of times) within the image range of the key in the key pressed state, the key becomes a vibrato-giving key, and the drag speed DS and the drag width DW of the left and right drag operation are obtained. Is converted into a vibrato rate VR and a vibrato depth VD, respectively, and the sound source section 16a is instructed to generate a vibrato waveform (LFO waveform) determined by these parameters. As a result, the vibrato in the mode specified by the vibrato rate VR and the vibrato depth VD is given to a musical tone generated at a pitch (pitch) corresponding to the key number of the key in the key pressed state.

これに対し、初回タッチ後にドラッグ操作される押鍵状態の鍵ならば、ビブラート付与対象の鍵であるか否かを判断し、ビブラート付与対象の鍵であると、ドラッグ幅DWの中心X座標が当該鍵の画像範囲内に収まる左右ドラッグ操作が行われた場合、その左右ドラッグ操作のドラッグ速度DSおよびドラッグ幅DWに応じてビブラートレートVRおよびビブラートデプスVDを更新し、更新されたこれらパラメータで定まるビブラート波形(LFO波形)の生成を音源部16aに指示する。この結果、ビブラート付与対象の鍵を中心とする左右ドラッグ操作を行えば、その左右ドラッグ操作のドラッグ速度DSやドラッグ幅DWを変化させることでビブラートの態様を変更させる。   On the other hand, if the key is in a pressed state in which a drag operation is performed after the first touch, it is determined whether or not the key is a vibrato-given key. If the key is a vibrato-given key, the center X coordinate of the drag width DW is changed. When a left-right drag operation that fits within the image range of the key is performed, the vibrato rate VR and the vibrato depth VD are updated according to the drag speed DS and the drag width DW of the left-right drag operation, and are determined by the updated parameters. It instructs the sound source section 16a to generate a vibrato waveform (LFO waveform). As a result, if a left-right drag operation is performed around the key to which the vibrato is applied, the mode of the vibrato is changed by changing the drag speed DS and the drag width DW of the left-right drag operation.

一方、タッチパネル鍵盤TKBにおいて押鍵(押下操作)が為されなければ、上記ステップSA5の判断結果は「NO」になり、ステップSA7に進み、上記ステップSA5の鍵変化の検出結果に基づき離鍵(タッチ解除;タッチを離す)の有無を判断する。押鍵中の鍵が離鍵されなければ、判断結果は「NO」になり、後述のステップSA9に処理を進め、一方、押鍵中の鍵が離鍵されると、判断結果は「YES」になり、次のステップSA8に進み、離鍵処理を実行する。   On the other hand, if the key is not pressed (pressing operation) on the touch panel keyboard TKB, the result of the determination in step SA5 is “NO”, the process proceeds to step SA7, and the key is released based on the key change detection result in step SA5 (step SA5). Touch release; release touch). If the key being depressed is not released, the determination result is "NO", and the process proceeds to Step SA9 described later. If the key being released is released, the determination result is "YES". , And the flow advances to the next Step SA8 to execute a key release process.

ステップSA8の離鍵処理では、後述するように、離鍵された鍵に対応するノートオフイベントを発生して音源部16aに消音指示した後、消音された鍵の画像を押鍵状態から離鍵状態に切り換える。そして、離鍵された鍵に対応付けられた押下フラグOFおよびビブラートフラグVIFを「0」にセットすると共に、左右ドラッグ操作回数LRDCをクリアして次のステップSA9へ進む。   In the key release process of step SA8, as described later, after generating a note-off event corresponding to the released key and instructing the sound source section 16a to mute the sound, the image of the mute key is released from the key pressed state. Switch to state. Then, the press flag OF and the vibrato flag VIF associated with the released key are set to “0”, the number of left / right drag operations LRDC is cleared, and the flow advances to the next Step SA9.

ステップSA9では、タッチパネル鍵盤TKBにおいて為された押離鍵に対応して、押鍵(押下操作)された鍵の画像を押鍵状態の画像に、離鍵(タッチ解除)された鍵の画像を離鍵状態の画像にそれぞれ表示更新した後、上記ステップSA3に処理を戻す。   In step SA9, in response to the key press / release performed on the touch panel keyboard TKB, the image of the key pressed (depressed operation) is replaced with the image of the key pressed state, and the image of the key released (touch released) is displayed. After updating the display of the image in the key released state, the process returns to step SA3.

なお、このステップSA9では、押離鍵されない鍵の画像については表示更新は行われない。また、ここで言う押鍵状態/離鍵状態の画像とは、例えば鍵の画像の輝度を下げて押鍵状態を表現したり、その輝度を元に戻して離鍵状態を表現したりする表示制御を指す。また、これに限定されず鍵の画像の表示色や色合、コントラストを変化させて押鍵状態/離鍵状態を表現したり押鍵状態/離鍵状態を3D表示したりする態様としてもよい。   In step SA9, the display is not updated for the image of the key that is not pressed and released. The image of the key pressed state / key released state referred to here is, for example, a display that represents the key pressed state by lowering the luminance of the key image, or represents the key released state by restoring the luminance. Refers to control. The present invention is not limited to this, and the display color, color, and contrast of the key image may be changed to express the key pressed state / key released state or to display the key pressed state / key released state in 3D.

そして、上記ステップSA3に処理を戻すと、以後はスイッチ部11に設けられる終了スイッチが操作される迄、上記ステップSA3〜SA9を繰り返し実行する。そして、スイッチ部11に設けられる終了スイッチが操作されると、上記ステップSA4の判断結果が「YES」になり、本ルーチンを完了させる。   When the process returns to step SA3, steps SA3 to SA9 are repeated until the end switch provided on the switch unit 11 is operated. When the end switch provided in the switch section 11 is operated, the result of the determination in step SA4 becomes "YES", and this routine is completed.

(2)押鍵処理の動作
次に、図4を参照して押鍵処理の動作について説明する。図4は、押鍵処理の動作を示すフローチャートである。上述したメインルーチンのステップSA6(図3参照)を介して本処理が実行されると、CPU10は図4に図示するステップSB1に進み、タッチパネル鍵盤TKBの各鍵の中で押下操作(タッチ操作)されている鍵の総数を取得し、これをタッチ総数Tとして一時記憶する。なお、ここで言うタッチ総数Tとは、前述した押下操作された鍵、すなわちタッチパネル鍵盤TKBにおいて初回タッチされた鍵もしくは初回タッチ後にドラッグ操作される鍵を指す。
(2) Operation of Key Pressing Process Next, the operation of the key pressing process will be described with reference to FIG. FIG. 4 is a flowchart showing the operation of the key pressing process. When this processing is executed via step SA6 (see FIG. 3) of the main routine described above, the CPU 10 proceeds to step SB1 shown in FIG. 4, and depresses (touches) each key of the touch panel keyboard TKB. The total number of touched keys is acquired, and this is temporarily stored as the total number T of touches. Here, the total touch number T refers to the key that has been pressed as described above, that is, the key that has been touched for the first time on the touch panel keyboard TKB or the key that has been dragged after the first touch.

続いて、ステップSB2では、押下操作された鍵を指定するポインタiを初期値「0」にセットする。そして、ステップSB3では、ポインタiの値がタッチ総数Tより小さいか否か、つまりタ本処理をタッチ総数Tの数分繰り返し実行し終えたかどうかを判断する。ポインタiの値がタッチ総数Tより小さければ、判断結果は「YES」になり、次のステップSB4に進む。   Subsequently, in step SB2, a pointer i designating the pressed key is set to an initial value "0". Then, in step SB3, it is determined whether or not the value of the pointer i is smaller than the total number of touches T, that is, whether or not the stapling process has been repeatedly executed for the number of total touches T. If the value of the pointer i is smaller than the total number of touches T, the determination result is "YES", and the flow proceeds to the next Step SB4.

ステップSB4では、押下操作された鍵の内、ポインタiで指定される鍵(i)の押下フラグOFが「0」であるか否かを判断する。押下フラグOFは、押鍵状態の場合に「1」、未押鍵状態の場合に「0」となる。つまり、ここではポインタiで指定される鍵(i)が初回タッチ直後の未押鍵状態であるかどうかを判断する。以下、ポインタiで指定される鍵(i)が初回タッチ直後の未押鍵状態の場合と、押鍵状態の場合とに分けて動作説明を進める。   In step SB4, it is determined whether or not the pressed flag OF of the key (i) designated by the pointer i is "0" among the pressed keys. The press flag OF becomes “1” in the key pressed state and “0” in the unpressed state. That is, here, it is determined whether or not the key (i) designated by the pointer i is in an unpressed state immediately after the first touch. The operation of the key (i) specified by the pointer i will be described separately for a case where the key is not pressed immediately after the first touch and a case where the key (i) is pressed.

a.ポインタiで指定される鍵(i)が初回タッチ直後の未押鍵状態の場合
この場合、ポインタiで指定される鍵(i)の押下フラグOFは「0」なので、上記ステップSB4の判断結果が「YES」になり、ステップSB5に進む。ステップSB5では、ポインタiで指定される鍵(i)の押下フラグOFを「1」にセットして初回タッチに応じて押鍵状態になった旨を表す。
a. When the key (i) specified by the pointer i is in an unpressed state immediately after the first touch In this case, since the press flag OF of the key (i) specified by the pointer i is “0”, the determination result in step SB4 Is "YES", and the routine proceeds to step SB5. In step SB5, the press flag OF of the key (i) designated by the pointer i is set to "1", indicating that the key is pressed according to the first touch.

そして、ステップSB6では、初回タッチした鍵(i)の画像範囲内で左右にドラッグ操作されているか否かを判断する。いま例えば図6(a)に図示する一例のように、タッチパネル鍵盤TKBにおいて、鍵番号72(C5:ド)の鍵画像を初回タッチした後、同図(b)に図示するように、その鍵の画像範囲内で左右方向にドラッグ操作したとする。   Then, in a step SB6, it is determined whether or not the drag operation is performed right and left within the image range of the key (i) touched for the first time. Now, for example, as shown in FIG. 6A, after touching the key image of the key number 72 (C5: C) for the first time on the touch panel keyboard TKB, as shown in FIG. It is assumed that the user drags left and right within the image range of.

そうすると、上記ステップSB6判断結果は「YES」になり、ステップSB7に進む。ステップSB7では、左右ドラッグ操作の回数を計数するカウンタLRDCをインクリメントして歩進させる。以後、カウンタLRDCの値を左右ドラッグ操作回数LRDCと称す。   Then, the result of the determination in step SB6 is "YES", and the flow proceeds to step SB7. In step SB7, a counter LRDC for counting the number of left and right drag operations is incremented to advance. Hereinafter, the value of the counter LRDC will be referred to as a left / right drag operation count LRDC.

次いで、ステップSB8では、歩進された左右ドラッグ操作回数LRDCが所定回数αより多いか否かを判断する。この所定回数αは、ビブラート付与するか否かを判別する閾値となる。左右ドラッグ操作回数LRDCが所定回数α(閾値)を超えると、上記ステップSB8の判断結果が「YES」になり、ステップSB9を介してビブラート処理を実行する。   Next, in step SB8, it is determined whether or not the stepped left / right drag operation count LRDC is larger than a predetermined count α. The predetermined number α is a threshold for determining whether or not to apply vibrato. When the number of left and right drag operations LRDC exceeds a predetermined number α (threshold), the result of the determination in step SB8 becomes “YES”, and the vibrato process is executed via step SB9.

ビブラート処理では、後述するように、ポインタiで指定され、ビブラート付与対象となった鍵(i)のビブラートフラグVIFを「1」にセットした後、ビブラートレートVRおよびビブラートデプスVDをそれぞれデフォルト値にセットする。そして、タッチパネル鍵盤TKBにおいて為される左右ドラッグ操作のドラッグ速度DSおよびドラッグ幅DWを検出し、検出したドラッグ速度DSおよびドラッグ幅DWをそれぞれビブラートレートVRおよびビブラートデプスVDに変換し、これらパラメータで定まるビブラート波形(LFO波形)の生成を音源部16aに指示する。   In the vibrato process, as described later, the vibrato flag VR and the vibrato depth VD of the key (i) designated by the pointer i are set to "1", and then the vibrato rate VR and the vibrato depth VD are set to default values. set. Then, the drag speed DS and the drag width DW of the left and right drag operation performed on the touch panel keyboard TKB are detected, and the detected drag speed DS and drag width DW are converted into a vibrato rate VR and a vibrato depth VD, respectively, and are determined by these parameters. It instructs the sound source section 16a to generate a vibrato waveform (LFO waveform).

続いて、ステップSB10では、ポインタiで指定され、押鍵状態となった鍵(i)の鍵番号を含むノートオンイベントを発生して音源部16aに送付する発音処理を実行する。例えば図6(a)に図示するように、タッチパネル鍵盤TKBにおいて鍵番号72(C5:ド)の鍵を初回タッチし、当該鍵が押鍵状態になった場合には、この鍵番号72を含むノートオンイベントを発生して音源部16aに送付することにより、発音部16がC5音(ド)の楽音を発音する。   Subsequently, in step SB10, a sound generation process is executed in which a note-on event including the key number of the key (i) designated by the pointer i and in the depressed state is generated and sent to the tone generator 16a. For example, as illustrated in FIG. 6A, when the key of the key number 72 (C5: C) is touched for the first time on the touch panel keyboard TKB and the key is in a pressed state, the key number 72 is included. By generating a note-on event and sending it to the sound source section 16a, the sound generating section 16 generates a C5 sound (d).

また、図6(b)に図示するように、押鍵状態になった鍵(i)の画像範囲を左右方向に所定回数α以上繰り返してドラッグ操作すると、上記ステップSB9のビブラート処理において、左右ドラッグ操作のドラッグ速度DSおよびドラッグ幅DWに基づき変換されたビブラートパラメータ(ビブラートレートVRおよびビブラートデプスVD)で定まるビブラート波形(LFO波形)の生成を音源部16aに指示する。   Further, as shown in FIG. 6B, when the image range of the key (i) in the key pressed state is repeatedly dragged in the left and right direction by a predetermined number of times α or more, the left and right dragging is performed in the vibrato process in step SB9. The sound source unit 16a is instructed to generate a vibrato waveform (LFO waveform) determined by vibrato parameters (vibrato rate VR and vibrato depth VD) converted based on the drag speed DS and the drag width DW of the operation.

これにより、音源部16aでは、生成したビブラート波形(LFO波形)を用いて波形読み出し位相(波形読み出し速度)を周波数変調して、上記初回タッチで押鍵状態となった鍵の鍵番号72に対応するピッチ(音高)で発音中の楽音にビブラートを付与する。   As a result, the tone generator 16a frequency-modulates the waveform readout phase (waveform readout speed) using the generated vibrato waveform (LFO waveform) to correspond to the key number 72 of the key that has been depressed by the first touch. Vibrato is applied to the musical sound being generated at the pitch (pitch) to be played.

なお、初回タッチ後に押鍵状態となった鍵(i)の画像範囲を左右ドラッグ操作しない場合や、左右ドラッグ操作を所定回数α以上繰り返し行わなかった場合には、上述したステップSB6、SB8の判断結果が「NO」になり、ステップSB10に進む。このような場合、ステップSB10では、ビブラートは付与されず、押鍵状態となった鍵の鍵番号に対応するピッチ(音高)で楽音を発音させる。   Note that if the left and right drag operation is not performed on the image range of the key (i) that is in the key pressed state after the first touch, or if the left and right drag operation is not repeated a predetermined number of times α or more, the determination in steps SB6 and SB8 described above is made. The result is "NO", and the flow proceeds to step SB10. In such a case, in step SB10, no vibrato is given, and a musical tone is generated at a pitch (pitch) corresponding to the key number of the key in the depressed state.

こうして、ステップSB10の発音処理が完了すると、CPU10は、次のステップSB11に処理を進め、ポインタiをインクリメントして歩進させた後、前述のステップSB3に処理を戻す。   When the sound generation processing in step SB10 is completed in this way, the CPU 10 advances the processing to the next step SB11, increments the pointer i to advance, and returns to the above-described step SB3.

以後、歩進されたポインタiがタッチ総数Tを超える迄、すなわちタッチパネル鍵盤TKBにおいて初回タッチされた鍵もしくは初回タッチ後にドラッグされる鍵の全てについて処理し終えるまでステップSB3以降の動作を繰り返す。そして、歩進されたポインタiがタッチ総数Tを超え、全てについて処理し終えると、ステップSB3の判断結果が「NO」になり、本処理を終える。   Thereafter, the operations in and after step SB3 are repeated until the stepped pointer i exceeds the total number of touches T, that is, until all the keys touched for the first time on the touch panel keyboard TKB or the keys dragged after the first touch have been processed. When the stepped pointer i exceeds the total number of touches T and the processing is completed for all of them, the result of the determination in step SB3 becomes "NO", and this processing ends.

b.ポインタiで指定される鍵(i)が押鍵状態の場合
この場合、ポインタiで指定される鍵(i)の押下フラグOFは「1」なので、上記ステップSB4の判断結果は「NO」になり、図5に図示するステップSB12に進む。ステップSB12では、ポインタiで指定される鍵(i)のビブラートフラグVIFが「1」、つまりビブラート付与対象の鍵であるか否かを判断する。ポインタiで指定される鍵(i)のビブラートフラグVIFが「0」(ビブラート付与しない鍵)であれば、判断結果は「NO」になり、前述のステップSB6(図4参照)に処理を進める。
b. In the case where the key (i) specified by the pointer i is in the key pressed state In this case, the press flag OF of the key (i) specified by the pointer i is “1”, and the result of the determination in step SB4 is “NO”. Then, the process proceeds to Step SB12 shown in FIG. In step SB12, it is determined whether or not the vibrato flag VIF of the key (i) specified by the pointer i is "1", that is, the key to which vibrato is to be applied. If the vibrato flag VIF of the key (i) specified by the pointer i is “0” (a key not to add vibrato), the determination result is “NO”, and the process proceeds to the above-described step SB6 (see FIG. 4). .

一方、ポインタiで指定される鍵(i)のビブラートフラグVIFが「1」(ビブラート付与対象の鍵)ならば、上記ステップSB12の判断結果は「YES」になり、ステップSB13に進む。ステップSB13では、タッチパネル鍵盤TKBにおいて左右ドラッグ操作が為されているか否かを判断する。左右ドラッグ操作が為されていなければ、判断結果は「NO」になり、ステップSB16に進む。   On the other hand, if the vibrato flag VIF of the key (i) designated by the pointer i is “1” (the key to which vibrato is to be applied), the result of the determination in step SB12 is “YES”, and the flow proceeds to step SB13. In step SB13, it is determined whether a left-right drag operation has been performed on the touch panel keyboard TKB. If the left and right drag operation has not been performed, the determination result is “NO”, and the process proceeds to Step SB16.

ステップSB16では、ポインタiで指定される鍵(i)のビブラートフラグVIFを「0」にセットしてビブラート付与しない鍵であることを表す。続いて、ステップSB17では、左右ドラッグ操作回数LRDCをゼロリセットした後、前述したステップSB10の発音処理を実行する。   In step SB16, the vibrato flag VIF of the key (i) specified by the pointer i is set to "0" to indicate that the key is not a vibrato. Subsequently, in step SB17, after resetting the number of left and right drag operations LRDC to zero, the above-described sound generation processing in step SB10 is executed.

このように、ポインタiで指定される鍵(i)が押鍵状態であって、かつビブラート付与対象の鍵である場合に、タッチパネル鍵盤TKBにおいて左右ドラッグ操作を行わないと、ビブラート付与しない鍵となり、押鍵された鍵の鍵番号に対応したピッチ(音高)の楽音を発音させるようになっている。   As described above, if the key (i) specified by the pointer i is in the pressed state and is a key to which vibrato is to be applied, a key to which vibrato is not applied is not performed unless a left-right drag operation is performed on the touch panel keyboard TKB. A tone having a pitch (pitch) corresponding to the key number of a depressed key is generated.

これに対し、ポインタiで指定される鍵(i)が押鍵状態であって、かつビブラート付与対象の鍵である場合に、タッチパネル鍵盤TKB(タッチパネル部13)において左右ドラッグ操作が為されていると、上記ステップSB13の判断結果が「YES」になり、ステップSB14に進む。   On the other hand, when the key (i) specified by the pointer i is in the pressed state and is the key to which vibrato is to be applied, the left and right drag operation is performed on the touch panel keyboard TKB (the touch panel unit 13). Then, the result of the determination in step SB13 becomes "YES", and the flow proceeds to step SB14.

ステップSB14では、タッチパネル鍵盤TKBにおいて為される左右ドラッグ操作で生じるタッチ位置情報からドラッグ幅DWを検出すると共に、そのドラッグ幅DWの中心X座標を取得する。なお、ここで言うX座標とは、タッチパネル鍵盤TKBの長手方向(横方向)の位置を表す。   In step SB14, a drag width DW is detected from touch position information generated by a left-right drag operation performed on the touch panel keyboard TKB, and a center X coordinate of the drag width DW is acquired. Note that the X coordinate here indicates a position in the longitudinal direction (lateral direction) of the touch panel keyboard TKB.

続いて、ステップSB15では、取得した中心X座標が、ポイントiで指定される鍵(i)の鍵画像範囲内であるか否かを判断する。いま例えば、図10(a)に図示する一例のように、タッチパネル鍵盤TKBにおいてビブラート付与対象の鍵(i)が鍵番号72(C5:ド)である時に、鍵番号71の鍵(B4:シ)から鍵番号74(D5:レ)の鍵までの範囲で左右ドラッグ操作を行ったとする。   Subsequently, in step SB15, it is determined whether or not the acquired center X coordinate is within the key image range of the key (i) specified by the point i. Now, for example, when the key (i) to which vibrato is to be applied is the key number 72 (C5: C) on the touch panel keyboard TKB as in the example shown in FIG. ) To a key with a key number 74 (D5: レ).

そうすると、そのドラッグ幅DWの中心X座標はビブラート付与対象の鍵(i)の鍵画像範囲内に収まるので、上記ステップSB15の判断結果は「YES」となり、前述したステップSB9(図4参照)に進み、ビブラート処理(図7参照)を実行する。この場合、ビブラート処理では、後述するように、左右ドラッグ操作のドラッグ速度DSおよびドラッグ幅DWを検出し、検出したドラッグ速度DSおよびドラッグ幅DWをそれぞれビブラートレートVRおよびビブラートデプスVDに変換し、これらパラメータで定まるビブラート波形(LFO波形)の生成を音源部16aに指示する。   Then, since the center X coordinate of the drag width DW falls within the key image range of the key (i) to which the vibrato is applied, the determination result in step SB15 becomes “YES”, and the process proceeds to step SB9 (see FIG. 4) described above. Then, the vibrato process (see FIG. 7) is performed. In this case, in the vibrato process, as described later, the drag speed DS and the drag width DW of the left-right drag operation are detected, and the detected drag speed DS and the drag width DW are converted into a vibrato rate VR and a vibrato depth VD, respectively. The sound source unit 16a is instructed to generate a vibrato waveform (LFO waveform) determined by parameters.

また例えば、同図(b)に図示する一例のように、タッチパネル鍵盤TKBにおいてビブラート付与対象の鍵(i)が鍵番号72(C5:ド)である時に、鍵番号69の鍵(A4:ラ)から鍵番号76(E5:ミ)の鍵まで左右ドラッグ操作の範囲を広げたとする。そうすると、この場合もドラッグ幅DWの中心X座標がビブラート付与対象の鍵(i)の鍵画像範囲内に収まる為、上記ステップSB15の判断結果が「YES」となり、前述のステップSB9(図4参照)を介してビブラート処理(図7参照)を実行する。   Further, for example, when the key (i) to which vibrato is to be applied is the key number 72 (C5: C) on the touch panel keyboard TKB as in the example shown in FIG. ) To the key with the key number 76 (E5: M). Then, also in this case, since the center X coordinate of the drag width DW falls within the key image range of the key (i) to which vibrato is to be applied, the determination result of step SB15 becomes “YES”, and the above-described step SB9 (see FIG. 4). ) To execute a vibrato process (see FIG. 7).

ビブラート処理では、後述するように、左右ドラッグ操作のドラッグ速度DSが変わらなければ、ドラッグ幅DWの拡大に伴ってビブラートデプスVDを更新する。また、ドラッグ幅DWの拡大に従って左右ドラッグ操作のドラッグ速度DSも変化した場合には、当該ドラッグ速度DSの変化に応じてビブラートレートVRを更新する。   In the vibrato process, as will be described later, if the drag speed DS of the left and right drag operation does not change, the vibrato depth VD is updated with an increase in the drag width DW. Further, when the drag speed DS of the left and right drag operation also changes as the drag width DW increases, the vibrato rate VR is updated according to the change in the drag speed DS.

以上のように、押鍵処理では、タッチパネル鍵盤TKBにおいて押下操作された各鍵について初回タッチされた未押鍵状態の鍵もしくは初回タッチ後にドラッグ操作される押鍵状態の鍵の何れであるかを判別し、初回タッチされた未押鍵状態の鍵ならば、当該鍵に対応する押下フラグOFを「1」にセットして押鍵状態に設定した後、鍵の画像範囲内で所定回数α以上の左右ドラッグ操作を繰り返すと、ビブラート付与対象の鍵となり、その左右ドラッグ操作のドラッグ速度DSおよびドラッグ幅DWをそれぞれビブラートレートVRおよびビブラートデプスVDに変換し、これらパラメータで定まるビブラート波形(LFO波形)の生成を音源部16aに指示する。この結果、押鍵状態となった鍵の鍵番号に対応したピッチ(音高)で発音する楽音に対し、ビブラートレートVRおよびビブラートデプスVDで指定される態様のビブラートを付与させる。   As described above, in the key pressing process, it is determined whether each key pressed on the touch panel keyboard TKB is a key in an unpressed key state touched for the first time or a key in a pressed state dragged after the first touch. If it is determined that the key has been touched for the first time and has not been pressed, the pressing flag OF corresponding to the key is set to “1” and the key is set to the pressed state. When the left and right drag operations are repeated, the drag speed DS and the drag width DW of the right and left drag operations are converted into a vibrato rate VR and a vibrato depth VD, respectively, and a vibrato waveform (LFO waveform) determined by these parameters Is instructed to the sound source unit 16a. As a result, the vibrato in the mode specified by the vibrato rate VR and the vibrato depth VD is given to a musical tone generated at a pitch (pitch) corresponding to the key number of the key in the key pressed state.

一方、初回タッチ後にドラッグ操作される押鍵状態の鍵ならば、ビブラート付与対象の鍵であるか否かを判断し、ビブラート付与対象の鍵であると、ドラッグ幅DWの中心X座標が当該鍵の画像範囲内に収まる左右ドラッグ操作が行われた場合、その左右ドラッグ操作のドラッグ速度DSおよびドラッグ幅DWに応じてビブラートレートVRおよびビブラートデプスVDを更新し、更新されたこれらパラメータで定まるビブラート波形(LFO波形)の生成を音源部16aに指示する。この結果、ビブラート付与対象の鍵を中心とする左右ドラッグ操作を行えば、その左右ドラッグ操作のドラッグ速度DSやドラッグ幅DWを変化させることでビブラートの態様を変更させる。   On the other hand, if the key is in the pressed state where the drag operation is performed after the first touch, it is determined whether or not the key is a vibrato-given key. If the key is a vibrato-given key, the center X coordinate of the drag width DW is set to the key. Is performed, the vibrato rate VR and the vibrato depth VD are updated according to the drag speed DS and the drag width DW of the left-right drag operation, and the vibrato waveform determined by the updated parameters (LFO waveform) is instructed to the sound source unit 16a. As a result, if a left-right drag operation is performed around the key to which the vibrato is applied, the mode of the vibrato is changed by changing the drag speed DS and the drag width DW of the left-right drag operation.

(3)ビブラート処理の動作
次に、図7〜図9を参照してビブラート処理の動作について説明する。図7はビブラート処理の動作を示すフローチャート、図8はビブラート波形におけるビブラートレートVRおよびビブラートデプスVDの関係を説明する為の波形図、図9はレート変換テーブルRTおよびデプス変換テーブルDTの一例を示す図である。
(3) Operation of Vibrato Process Next, the operation of the vibrato process will be described with reference to FIGS. 7 is a flowchart showing the operation of the vibrato process, FIG. 8 is a waveform diagram for explaining the relationship between the vibrato rate VR and the vibrato depth VD in the vibrato waveform, and FIG. 9 shows an example of the rate conversion table RT and the depth conversion table DT. FIG.

前述した押鍵処理のステップSB9(図4参照)を介して本処理が実行されると、CPU10は図7に図示するステップSC1に処理を進め、ポインタiで指定される鍵(i)の(ビブラートフラグVIFを「1」にセットする。ビブラートフラグVIFは「1」の場合にビブラート付与を表し、「0」の場合にビブラート付与せずを表す。   When this processing is executed via the above-described key pressing step SB9 (see FIG. 4), the CPU 10 advances the processing to step SC1 shown in FIG. The vibrato flag VIF is set to “1.” When the vibrato flag VIF is “1”, the vibrato is added, and when “0”, the vibrato is not added.

続いて、ステップSC2〜SC3では、ビブラートレートVRおよびビブラートデプスVDをそれぞれ所定のデフォルト値にセットする。ここで、図8を参照してビブラート波形におけるビブラートレートVRおよびビブラートデプスVDの関係について説明する。ビブラート波形(LFO波形)は、波形読み出し位相(波形読み出し速度)を周波数変調して発生楽音(原音)のピッチを周期的に変化させる。なお、図8に図示した一例のビブラート波形は、正弦波形としたが、これに限らず、三角波などの周期波形を用いても構わない。   Subsequently, in steps SC2 to SC3, the vibrato rate VR and the vibrato depth VD are respectively set to predetermined default values. Here, the relationship between the vibrato rate VR and the vibrato depth VD in the vibrato waveform will be described with reference to FIG. The vibrato waveform (LFO waveform) frequency-modulates the waveform reading phase (waveform reading speed) to periodically change the pitch of the generated musical sound (original sound). Although the vibrato waveform in the example shown in FIG. 8 is a sine waveform, it is not limited to this, and a periodic waveform such as a triangular wave may be used.

ビブラートレートVRは、ビブラート波形の周期、すなわちピッチの揺れの速さを指定する。ビブラートレートVRを上げると、変調周波数が上がって揺れの速さが早まり、逆に下げると、変調周波数が下がって揺れの速さが遅くなる。ビブラートデプスVDは、ビブラート波形の振幅、すなわちピッチの揺れの大きさを指定する。ビブラートデプスVDを上げると、変調深度が深まって揺れが大きくなり、逆に下げると、変調深度が浅くなって揺れが小さくなる。   The vibrato rate VR specifies the cycle of the vibrato waveform, that is, the speed of fluctuation of the pitch. When the vibrato rate VR is increased, the modulation frequency is increased and the speed of the swing is increased. Conversely, when the vibrato rate VR is decreased, the modulation frequency is decreased and the speed of the swing is decreased. The vibrato depth VD specifies the amplitude of the vibrato waveform, that is, the magnitude of the pitch fluctuation. Increasing the vibrato depth VD increases the modulation depth and increases the fluctuation, and conversely, decreasing the modulation depth decreases the modulation depth and reduces the fluctuation.

図7に戻りビブラート処理の動作について説明を進める。上記ステップSC2〜SC3において、デフォルト値のビブラートレートVRおよびビブラートデプスVDを設定した後、ステップSC4に進むと、タッチパネル鍵盤TKBにおいて為される左右ドラッグ操作で生じるタッチ位置情報の経時変化からドラッグ速度DSを検出する。なお、検出するドラッグ速度DSは平均速度である。   Returning to FIG. 7, the operation of the vibrato process will be described. After setting the default values of vibrato rate VR and vibrato depth VD in steps SC2 to SC3, the process proceeds to step SC4. In step SC4, the drag speed DS is obtained from the temporal change of the touch position information generated by the left and right drag operation performed on the touch panel keyboard TKB. Is detected. The detected drag speed DS is an average speed.

続いて、ステップSC5では、RAM15のデータエリアDAに格納されるレート変換テーブルRTを参照して、上記ステップSC4で検出したドラッグ速度DSをビブラートレートVRに変換する。レート変換テーブルRTとは、図9(a)に図示するように、予め設定された変換特性のレート値が記憶され、その中からドラッグ速度DSに対応するビブラートレートVRを読み出すデータテーブルである。なお、図9(a)に図示した一例は、線形の変換特性としたが、これに限らず、非線形の変換特性としても構わない。   Subsequently, in step SC5, the drag speed DS detected in step SC4 is converted into a vibrato rate VR with reference to the rate conversion table RT stored in the data area DA of the RAM 15. As shown in FIG. 9A, the rate conversion table RT is a data table in which rate values of preset conversion characteristics are stored, and from which a vibrato rate VR corresponding to the drag speed DS is read. In the example illustrated in FIG. 9A, linear conversion characteristics are used. However, the present invention is not limited thereto, and nonlinear conversion characteristics may be used.

次に、ステップSC6では、タッチパネル鍵盤TKBにおいて為される左右ドラッグ操作で生じるタッチ位置情報からドラッグ幅DWを検出する。そして、ステップSC7では、RAM15のデータエリアDAに格納されるデプス変換テーブルDTを参照して、上記ステップSC6で検出したドラッグ幅DWをビブラートデプスVDに変換する。デプス変換テーブルDTとは、図9(b)に図示するように、予め設定された変換特性のデプス値が記憶され、その中からドラッグ幅DWに対応するビブラートデプスVDを読み出すデータテーブルである。なお、図9(b)に図示した一例は、線形の変換特性であるが、これに限らず、非線形の変換特性としても構わない。   Next, in step SC6, a drag width DW is detected from touch position information generated by a left-right drag operation performed on the touch panel keyboard TKB. In step SC7, the drag width DW detected in step SC6 is converted into a vibrato depth VD with reference to the depth conversion table DT stored in the data area DA of the RAM 15. As shown in FIG. 9B, the depth conversion table DT is a data table in which depth values of preset conversion characteristics are stored, and from which a vibrato depth VD corresponding to the drag width DW is read. The example illustrated in FIG. 9B is a linear conversion characteristic, but is not limited thereto, and may be a nonlinear conversion characteristic.

次いで、ステップSC8では、ドラッグ速度DSに応じたビブラートレートVRおよびドラッグ幅DWに応じたビブラートデプスVDで定まるビブラート波形(LFO波形)の生成を音源部16aに指示して本処理を終える。なお、音源部16aでは、パラメータ指定に従って生成したビブラート波形(LFO波形)を用いて波形読み出し位相(波形読み出し速度)を周波数変調して発生楽音(原音)にビブラートを付与する。   Next, in step SC8, the sound source unit 16a is instructed to generate a vibrato waveform (LFO waveform) determined by the vibrato rate VR according to the drag speed DS and the vibrato depth VD according to the drag width DW, and the process ends. In the sound source section 16a, the waveform readout phase (waveform readout speed) is frequency-modulated using a vibrato waveform (LFO waveform) generated in accordance with the parameter designation, and vibrato is added to the generated musical sound (original sound).

このように、ビブラート処理では、ポインタiで指定され、ビブラート付与対象となった鍵(i)のビブラートフラグVIFを「1」にセットした後、ビブラートレートVRおよびビブラートデプスVDをそれぞれデフォルト値にセットする。そして、タッチパネル鍵盤TKB(タッチパネル部13)において為される左右ドラッグ操作のドラッグ速度DSおよびドラッグ幅DWを検出し、検出したドラッグ速度DSおよびドラッグ幅DWをそれぞれビブラートレートVRおよびビブラートデプスVDに変換し、これらパラメータで定まるビブラート波形(LFO波形)の生成を音源部16aに指示する。   As described above, in the vibrato processing, the vibrato flag VR and the vibrato depth VD are set to the default values after setting the vibrato flag VIF of the key (i) designated by the pointer i and subjected to the vibrato addition to "1". I do. Then, the drag speed DS and the drag width DW of the left and right drag operation performed on the touch panel keyboard TKB (the touch panel unit 13) are detected, and the detected drag speed DS and drag width DW are converted into a vibrato rate VR and a vibrato depth VD, respectively. The sound source unit 16a is instructed to generate a vibrato waveform (LFO waveform) determined by these parameters.

(4)離鍵処理の動作
次に、図11を参照して離鍵処理の動作を説明する。図11は、離鍵処理の動作を示すフローチャートである。前述したメインルーチンのステップSA8(図3参照)を介して本処理が実行されると、CPU10は図12に図示するステップSD1に進み、離鍵(タッチ解除)された鍵に対応するノートオフイベントを発生して音源部16aに消音指示する。これにより、音源部16aでは、ノートオフイベントで指定される音高の楽音を消音する。
(4) Operation of Key Release Processing Next, the operation of the key release processing will be described with reference to FIG. FIG. 11 is a flowchart showing the operation of the key release process. When this processing is executed through step SA8 (see FIG. 3) of the main routine described above, the CPU 10 proceeds to step SD1 shown in FIG. 12, and executes a note-off event corresponding to the released key (touch release). And instructs the sound source section 16a to mute the sound. As a result, the tone generator 16a silences the musical tone having the pitch specified by the note-off event.

続いて、ステップSD2では、離鍵により消音された鍵の画像を押鍵状態から離鍵状態に切り換えるよう指示する。なお、この切り換え指示に従い、前述したステップSA9(図3参照)において鍵盤画像の表示更新が行われる。次いで、ステップSD3〜SD4では、離鍵された鍵に対応付けられた押下フラグOFおよびビブラートフラグVIFを「0」にセットし、続くステップSD5では、左右ドラッグ操作回数LRDCをクリアして本処理を終える。   Subsequently, in step SD2, an instruction is issued to switch the key image muted by the key release from the key pressed state to the key released state. In accordance with the switching instruction, the display of the keyboard image is updated in step SA9 (see FIG. 3) described above. Next, in steps SD3 and SD4, the press flag OF and the vibrato flag VIF associated with the released key are set to “0”, and in the subsequent step SD5, the number of left and right drag operations LRDC is cleared and the present processing is performed. Finish.

以上説明したように、本実施形態では、図12(a)に図示する一例のように、タッチパネル鍵盤TKBにおいて鍵番号72(C5:ド)の鍵の鍵画像を押鍵すると、その鍵番号72を含むノートオンイベントを発生して音源部16aに送付することでC5音(ド)の音高の楽音が発音される。   As described above, in the present embodiment, when the key image of the key having the key number 72 (C5: C) is pressed on the touch panel keyboard TKB as in the example illustrated in FIG. Is generated and sent to the sound source unit 16a, thereby generating a tone having a pitch of C5 (d).

そして、同図(b)に図示するように、押鍵状態となった鍵番号72(C5:ド)の鍵画像範囲内で所定回数α以上の左右ドラッグ操作を繰り返すと、ビブラート付与対象の鍵になり、左右ドラッグ操作のドラッグ速度DSおよびドラッグ幅DWをそれぞれビブラートレートVRおよびビブラートデプスVDに変換し、これらパラメータで定まるビブラート波形(LFO波形)に従い、C5音(ド)の音高で発音中の楽音にビブラートが付与されるので、簡単で直感的な操作でビブラートを具現することが出来る。   Then, as shown in FIG. 7B, when the left and right drag operation is repeated a predetermined number of times α or more within the key image range of the key number 72 (C5: C) in the depressed state, the key to which the vibrato is applied is given. , The drag speed DS and the drag width DW of the left and right drag operation are converted into a vibrato rate VR and a vibrato depth VD, respectively, and the sound is being produced at a pitch of C5 (d) according to a vibrato waveform (LFO waveform) determined by these parameters. Since the vibrato is added to the musical tone of, the vibrato can be realized by an easy and intuitive operation.

この後、同図(c)に図示するように、ドラッグ幅DWの中心X座標がビブラート付与対象の鍵の画像範囲内に収まる左右ドラッグ操作が行われた場合、すなわちビブラート付与対象の鍵を中心とする左右ドラッグ操作を行うと、その左右ドラッグ操作のドラッグ速度DSおよびドラッグ幅DWに応じてビブラートレートVRおよびビブラートデプスVDを更新するので、C5音(ド)の音高で発音中の楽音に付与するビブラートの属性を簡単で直感的な操作で変化させることが出来る。   Thereafter, as shown in FIG. 3C, when a left-right drag operation is performed in which the center X coordinate of the drag width DW falls within the image range of the key to which the vibrato is applied, that is, the center of the key to which the vibrato is applied Is performed, the vibrato rate VR and the vibrato depth VD are updated in accordance with the drag speed DS and the drag width DW of the left / right drag operation, so that the musical tone being generated at the pitch of C5 (d) is updated. The attribute of the vibrato to be given can be changed by a simple and intuitive operation.

なお、上述した実施形態では、押鍵状態となった鍵の画像範囲内で所定回数α以上の左右ドラッグ操作を繰り返すことでビブラート付与対象の鍵に設定する為、左右ドラッグ操作の仕方(素早い左右ドラッグ操作/ゆっくりした左右ドラッグ操作)でビブラートを付与するタイミングを調整することも出来る。   In the above-described embodiment, since the left and right drag operation is repeated a predetermined number of times or more within the image range of the key in the key pressed state, the key is set as a vibrato-giving target key. The timing of applying vibrato can be adjusted by a drag operation / slow left / right drag operation).

また、これに替えて、押鍵状態となった鍵の画像範囲内で左右ドラッグ操作を一定時間以上行った場合や、左右ドラッグ操作の加速度が所定の閾値を超えた場合に、ビブラート付与対象の鍵に設定する態様としても構わない。なお、左右ドラッグ操作の加速度は、ドラッグ操作に応じて経時変化するタッチ位置情報に基づき算出する。   Alternatively, when the left and right drag operation is performed for a certain period of time or more within the image range of the key in the key pressed state, or when the acceleration of the left and right drag operation exceeds a predetermined threshold, the vibrato addition target is added. The key may be set. The acceleration of the left and right drag operation is calculated based on touch position information that changes with time according to the drag operation.

また、本実施形態では、押鍵状態となった鍵の画像範囲内で左右ドラッグ操作を繰り返すことでビブラート付与対象の鍵に設定するようにしたが、これに限らず、押鍵状態となった鍵の画像範囲内で上方向又は下方向のフリック操作が行われた場合に、ビブラート付与対象の鍵に設定する態様も可能である。なお、ここで言うフリック操作とは、鍵の画像範囲内で接触している指を上方向又は下方向へはらう動作を指す。   Further, in the present embodiment, the left and right drag operations are repeated within the image range of the key in the key pressed state to set the key to which the vibrato is to be applied. When an upward or downward flick operation is performed within the image range of the key, a mode in which the key is set as a vibrato-given key is also possible. Note that the flick operation referred to here refers to an operation of swiping a finger that is in contact within the image range of the key upward or downward.

加えて、上述した実施形態では、発生楽音の音高をモジュレーションしてビブラート付与する一例について言及したが、本発明はビブラートに限定されず、発生楽音の音色をモジュレーションするワウワウや、発生楽音の音量をモジュレーションするトレモロの他、モジュレーション系の効果であるコーラス、フランジャーといった楽音を加工する音楽的な効果(エフェクト)を付与する形態にも適用可能である。   In addition, in the above-described embodiment, an example in which the pitch of the generated musical tone is modulated to provide vibrato has been described.However, the present invention is not limited to vibrato, and a wah wah that modulates the tone color of the generated musical tone, and a volume of the generated musical tone. In addition to the tremolo that modulates, the present invention can be applied to a form in which a musical effect (effect) for processing a musical sound such as chorus or flanger, which is a modulation effect, is applied.

以上、本発明の実施の一形態について説明したが、本発明はそれに限定されるものではなく、本願出願の特許請求の範囲に記載された発明とその均等の範囲に含まれる。以下では、本願出願当初の特許請求の範囲に記載された各発明について付記する。   As mentioned above, although one Embodiment of this invention was described, this invention is not limited to it, It is included in the invention as described in the claim of this application, and its equivalent range. Hereinafter, each invention described in the claims at the beginning of the filing of the present application will be additionally described.

(付記)
[請求項1]
異なる音高が割り当てられる複数の操作子と、
前記複数の操作子のうち少なくとも1つの操作子を指定する第1の操作を検出した場合に、当該第1の操作で指定された操作子に割り当てられた音高で発音を発音部に指示し、
前記第1の操作の後に、前記第1の操作で指定された操作子の領域内で第2の操作を検出した場合に、前記第1の操作により発音指示された音高の楽音に対して、当該第2の操作に対応する楽音加工効果を付与して、前記楽音加工効果が付与された楽音の発音を前記発音部に指示する効果付与制御部と
を具備することを特徴とする楽音発生装置。
(Note)
[Claim 1]
Multiple controls to which different pitches are assigned,
When detecting a first operation for designating at least one of the plurality of operators, the controller instructs the sound generator to generate a sound at a pitch assigned to the operator designated by the first operation. ,
After the first operation, if a second operation is detected in the area of the operation element specified by the first operation, a tone having a pitch instructed by the first operation is generated. And an effect application control unit that applies a tone processing effect corresponding to the second operation, and instructs the sounding unit to generate a tone to which the tone processing effect has been added. apparatus.

[請求項2]
前記第2の操作は、操作者が操作パネルの前記指定された操作子上を双方向に複数回数スライドすることを繰り返す操作であることを特徴とする請求項1に記載の楽音発生装置。
[Claim 2]
2. The musical sound generating apparatus according to claim 1, wherein the second operation is an operation in which the operator repeatedly slides the specified operation element on the operation panel in a bidirectional manner a plurality of times.

[請求項3]
前記効果付与制御部は、前記第2の操作の操作速度および操作幅に応じたレートおよびデプスで、前記第1の操作で指示された音高の楽音に対して前記楽音加工効果を付与することを特徴とする請求項1または2に記載の楽音発生装置。
[Claim 3]
The effect imparting control unit imparts the musical tone processing effect to a musical tone having a pitch specified by the first operation at a rate and a depth corresponding to an operation speed and an operation width of the second operation. The tone generator according to claim 1 or 2, wherein:

[請求項4]
前記効果付与制御部は、前記第2の操作の操作幅の中心が、前記第1の操作で指定された操作子の領域内である場合に、当該第2の操作の操作速度および操作幅に応じたレートおよびデプスで、前記第1の操作により発音指示された音高の楽音に対して前記楽音加工効果を付与すること特徴とする請求項1乃至3の何れかに記載の楽音発生装置。
[Claim 4]
When the center of the operation width of the second operation is within the area of the operation element specified by the first operation, the effect imparting control unit may set the operation speed and the operation width of the second operation to be different. 4. The tone generator according to claim 1, wherein the tone processing effect is applied to a tone having a pitch indicated by the first operation at a corresponding rate and depth.

[請求項5]
前記複数の操作子が表示されている操作パネルをさらに備えることを特徴とする請求項1乃至4の何れかに記載の楽音発生装置。
[Claim 5]
The tone generator according to claim 1, further comprising an operation panel on which the plurality of operators are displayed.

[請求項6]
少なくとも上記請求項1乃至5の何れかに記載の楽音発生装置と、
前記効果付与制御部によって指示された楽音を発生する発音部と、
を具備することを特徴とする電子楽器。
[Claim 6]
At least a tone generator according to any one of claims 1 to 5,
A sound generating unit that generates a musical tone instructed by the effect imparting control unit;
An electronic musical instrument comprising:

[請求項7]
異なる音高が割り当てられる複数の操作子を備える楽音発生装置で実行される方法であって、
前記複数の操作子のうち少なくとも1つの操作子を指定する第1の操作を検出した場合に、当該第1の操作で指定された操作子に割り当てられた音高で発音を発音部に指示し、
前記第1の操作の後に、前記第1の操作で指定された操作子の領域内で第2の操作を検出した場合に、前記第1の操作により発音指示された音高の楽音に対して、当該第2の操作に対応する楽音加工効果を付与して、前記楽音加工効果が付与された楽音の発音を前記発音部に指示する
ことを特徴とする楽音発生方法。
[Claim 7]
A method performed by a tone generator including a plurality of operators to which different pitches are assigned,
When detecting a first operation for designating at least one of the plurality of operators, the controller instructs the sound generator to generate a sound at a pitch assigned to the operator designated by the first operation. ,
After the first operation, if a second operation is detected in the area of the operation element specified by the first operation, a tone having a pitch instructed by the first operation is generated. Providing a tone processing effect corresponding to the second operation, and instructing the sounding unit to sound the tone to which the tone processing effect has been applied.

[請求項8]
異なる音高が割り当てられる複数の操作子を備える楽音発生装置として用いられるコンピュータに、
前記複数の操作子のうち少なくとも1つの操作子を指定する第1の操作を検出した場合に、当該第1の操作で指定された操作子に割り当てられた音高で発音を発音部に指示するステップと、
前記第1の操作の後に、前記第1の操作で指定された操作子の領域内で第2の操作を検出した場合に、前記第1の操作により発音指示された音高の楽音に対して、当該第2の操作に対応する楽音加工効果を付与して、前記楽音加工効果が付与された楽音の発音を前記発音部に指示するステップと、
を実行させることを特徴とするプログラム。
[Claim 8]
A computer used as a tone generator including a plurality of operators to which different pitches are assigned,
When detecting a first operation for designating at least one of the plurality of operators, the sound generator is instructed to sound at a pitch assigned to the operator specified by the first operation. Steps and
After the first operation, if a second operation is detected in the area of the operation element specified by the first operation, a tone having a pitch instructed by the first operation is generated. Providing a tone processing effect corresponding to the second operation, and instructing the sounding unit to sound the tone to which the tone processing effect has been added;
A program characterized by executing

10 CPU
11 スイッチ部
12 表示部
13 タッチパネル部
14 ROM
15 RAM
16 発音部
16a 音源部
16b サウンドシステム
100 楽音発生装置
TKB タッチパネル鍵盤
10 CPU
DESCRIPTION OF SYMBOLS 11 Switch part 12 Display part 13 Touch panel part 14 ROM
15 RAM
Reference Signs List 16 sound generator 16a sound generator 16b sound system 100 tone generator TKB touch panel keyboard

Claims (10)

異なる音高が割り当てられる複数の操作子を表示するとともに、表示されている前記複数の操作子のうちのいずれの操作子が指定されたかを検出することが可能なタッチパネル鍵盤と、
前記複数の操作子のうち少なくとも1つの操作子を指定する第1の操作の検出に応じて、当該第1の操作で指定された操作子に割り当てられた音高で発音を発音部に指示し、
前記第1の操作の検出後に、前記第1の操作で指定された操作子の領域内で行われる第2の操作の検出に応じて、モジュレーションによる楽音加工効果を付与する効果付与モードに移行し、
前記効果付与モードに移行した後に、前記第1の操作で指定された操作子の領域内でスライドを行う第3の操作に応じて、前記第1の操作により発音指示された音高の楽音に対して、前記第3の操作に応じたレートまたはデプスでモジュレーションを行う楽音加工効果を付与して、前記楽音加工効果が付与された楽音の発音を前記発音部に指示する効果付与制御部と
を具備する楽音発生装置。
A touch panel keyboard capable of displaying a plurality of operators to which different pitches are assigned, and detecting which of the plurality of displayed operators is specified ,
In response to detection of a first operation that designates at least one of the plurality of operators, the sounding unit is instructed to sound at a pitch assigned to the operator designated by the first operation. ,
After the detection of the first operation, a transition is made to an effect imparting mode for imparting a tone processing effect by modulation in accordance with the detection of a second operation performed in the area of the operator designated by the first operation. ,
After shifting to the effect imparting mode, in response to a third operation of sliding within the area of the operation element specified by the first operation, a tone having a pitch instructed by the first operation is generated. And an effect applying control unit that gives a tone processing effect of performing modulation at a rate or depth according to the third operation, and instructs the sounding unit to sound a tone to which the tone processing effect has been given. A musical sound generator equipped.
前記効果付与制御部は、前記効果付与モードに移行する前は、前記第3の操作を検出した場合であっても、前記楽音加工効果の付与を指示しない、請求項1に記載の楽音発生装置。2. The tone generating apparatus according to claim 1, wherein the effect imparting control unit does not instruct the application of the tone processing effect even before detecting the third operation before shifting to the effect imparting mode. 3. . 前記第2の操作は、操作者が前記タッチパネル鍵盤の前記指定された操作子上を双方向に複数回数スライドすることを繰り返す操作であり、
前記効果付与制御部は、前記双方向へのスライドの操作回数が決められた回数以上である場合に、前記効果付与モードに移行する、請求項1または2に記載の楽音発生装置。
The second operation is an operation in which the operator repeatedly slides on the specified operator of the touch panel keyboard a plurality of times in two directions,
The musical sound generating device according to claim 1, wherein the effect imparting control unit shifts to the effect imparting mode when the number of times of the bidirectional slide operation is equal to or greater than a predetermined number.
前記効果付与制御部は、前記第3の操作の操作幅の中心が、前記第1の操作で指定された操作子の領域内である場合に、前記楽音加工効果が付与された楽音の発音を前記発音部に指示する、請求項1乃至3の何れかに記載の楽音発生装置。 The effect imparting control unit is configured to, when a center of an operation width of the third operation is within a region of the operation element specified by the first operation, generate a tone of the musical tone to which the musical tone processing effect is imparted. The musical sound generator according to any one of claims 1 to 3, which instructs the sound generator. 前記効果付与制御部は、前記第2の操作に応じた楽音加工効果の付与中に、前記第3の操作の操作幅の中心が、前記第1の操作で指定された操作子の領域内から外れた場合に、楽音加工効果の付与を停止する、請求項4に記載の楽音発生装置。 The effect applying control unit may be configured such that, during the application of the tone processing effect according to the second operation, the center of the operation width of the third operation is set within the range of the operation element specified by the first operation. The tone generator according to claim 4 , wherein the application of the tone processing effect is stopped when the tone is deviated. 異なる音高が割り当てられる複数の操作子を表示するとともに、表示されている前記複数の操作子のうちのいずれの操作子が指定されたかを検出することが可能なタッチパネル鍵盤と、A touch panel keyboard capable of displaying a plurality of operators to which different pitches are assigned, and detecting which of the plurality of displayed operators is specified,
指定された音高の楽音を生成するとともに、前記生成した楽音に対して、指定されたレートまたはデプスのモジュレーションによる楽音加工効果を付与する発音部と、A sound generating unit that generates a musical tone having a specified pitch and imparts a musical sound processing effect to the generated musical tone by modulating a specified rate or depth;
前記タッチパネル鍵盤上で行われたスライド操作によるスライドの速度を前記モジュレーションを行う際のレートに変換する情報、または、前記スライド操作によるスライドの幅を前記モジュレーションを行う際のデプスに変換する情報、である変換情報を記憶した記憶部と、Information for converting the speed of a slide by a slide operation performed on the touch panel keyboard into a rate for performing the modulation, or information for converting the width of the slide by the slide operation to a depth for performing the modulation. A storage unit storing certain conversion information;
前記複数の操作子のうち少なくとも1つの操作子を指定する第1の操作を検出した場合に、当該第1の操作で指定された操作子に割り当てられた音高で発音を前記発音部に指示し、When detecting a first operation specifying at least one of the plurality of operators, instructs the sounding unit to generate a sound at a pitch assigned to the operator specified by the first operation. And
前記第1の操作の後に、前記第1の操作で指定された操作子の領域内でスライドを行う第2の操作を検出した場合に、前記変換情報に基づいて、前記第2の操作によるスライドの速度を前記モジュレーションを行う際のレートへ変換する処理、または前記第2の操作によるスライドの幅を前記モジュレーションを行う際のデプスへ変換する処理である、変換処理を実行し、If, after the first operation, a second operation of sliding within the area of the operation element designated by the first operation is detected, the slide by the second operation is performed based on the conversion information. Performing a conversion process, which is a process of converting the speed of the slide into a rate when performing the modulation, or a process of converting the width of the slide by the second operation into a depth when performing the modulation,
前記第1の操作により発音指示された音高の楽音に対して、前記変換処理により変換して得られたレートまたはデプスのモジュレーションによる楽音加工効果を付与することを前記発音部に指示する効果付与制御部とAn effect instructing the sounding unit to give a tone processing effect by a modulation of a rate or a depth obtained by conversion by the conversion process to a tone having a pitch instructed by the first operation. Control unit and
を具備する楽音発生装置。A tone generator comprising:
前記楽音加工効果は、発音楽音の音高をモジュレーションするビブラート効果、発生楽音の音色をモジュレーションするワウワウ効果、発生楽音の音量をモジュレーションするトレモロ効果のうちの少なくとも1つを含む、請求項1乃至6の何れかに記載の楽音発生装置。 The tone processing effects, vibrato effect to modulate the pitch of sound tone, timbre and modulates wah effect of generating musical tones, comprising at least one of tremolo effect to modulate the volume of musical tones to be generated, to claim 1 7. The musical sound generator according to any one of 6 . 少なくとも上記請求項1乃至5の何れかに記載の楽音発生装置と、
前記効果付与制御部によって指示された楽音を発生する発音部と、
を具備することを特徴とする電子楽器。
At least a tone generator according to any one of claims 1 to 5 ,
A sound generating unit that generates a musical tone instructed by the effect imparting control unit;
An electronic musical instrument comprising:
異なる音高が割り当てられる複数の操作子を表示するとともに、表示されている前記複数の操作子のうちのいずれの操作子が指定されたかを検出することが可能なタッチパネル鍵盤を備える楽音発生装置で実行される方法であって、
前記複数の操作子のうち少なくとも1つの操作子を指定する第1の操作の検出に応じて、当該第1の操作で指定された操作子に割り当てられた音高で発音を発音部に指示し、
前記第1の操作の検出後に、前記第1の操作で指定された操作子の領域内で行われる第2の操作の検出に応じて、モジュレーションによる楽音加工効果を付与する効果付与モードに移行し、
前記効果付与モードに移行した後に、前記第1の操作で指定された操作子の領域内でスライドを行う第3の操作の検出に応じて、前記第1の操作により発音指示された音高の楽音に対して、前記第3の操作に応じたレートまたはデプスでモジュレーションを行う楽音加工効果を付与して、前記楽音加工効果が付与された楽音の発音を前記発音部に指示する
ことを特徴とする楽音発生方法。
A musical sound generator including a touch panel keyboard capable of displaying a plurality of operators to which different pitches are assigned and detecting which of the displayed plurality of operators is designated. The method to be performed,
In response to detection of a first operation that designates at least one of the plurality of operators, the sounding unit is instructed to sound at a pitch assigned to the operator designated by the first operation. ,
After the detection of the first operation, a transition is made to an effect imparting mode for imparting a tone processing effect by modulation in accordance with the detection of a second operation performed in the area of the operator designated by the first operation. ,
After shifting to the effect imparting mode, in response to detection of a third operation of sliding within the area of the operation element designated by the first operation, the pitch of the pitch indicated by the first operation is changed. Applying a tone processing effect of performing modulation at a rate or depth according to the third operation to the tone, and instructing the sounding unit to generate a tone to which the tone processing effect is applied. Musical sound generation method.
異なる音高が割り当てられる複数の操作子を表示するとともに、表示されている前記複数の操作子のうちのいずれの操作子が指定されたかを検出することが可能なタッチパネル鍵盤を備える楽音発生装置として用いられるコンピュータに、
前記複数の操作子のうち少なくとも1つの操作子を指定する第1の操作の検出に応じて、当該第1の操作で指定された操作子に割り当てられた音高で発音を発音部に指示するステップと、
前記第1の操作の検出後に、前記第1の操作で指定された操作子の領域内で行われる第2の操作の検出に応じて、モジュレーションによる楽音加工効果を付与する効果付与モードに移行し、
前記効果付与モードに移行した後に、前記第1の操作で指定された操作子の領域内でスライドを行う第3の操作の検出に応じて、前記第1の操作により発音指示された音高の楽音に対して、前記第3の操作に応じたレートまたはデプスでモジュレーションを行う楽音加工効果を付与して、前記楽音加工効果が付与された楽音の発音を前記発音部に指示するステップと、
を実行させることを特徴とするプログラム。
A musical sound generator including a touch panel keyboard capable of displaying a plurality of operators to which different pitches are assigned and detecting which of the displayed plurality of operators is designated. In the computer used,
In response to detection of a first operation that specifies at least one of the plurality of operators, the sounding unit is instructed to sound at a pitch assigned to the operator specified by the first operation. Steps and
After the detection of the first operation, a transition is made to an effect imparting mode for imparting a tone processing effect by modulation in accordance with the detection of a second operation performed in the area of the operator designated by the first operation. ,
After shifting to the effect imparting mode, in response to detection of a third operation of sliding within the area of the operation element designated by the first operation, the pitch of the pitch indicated by the first operation is changed. Providing a tone processing effect of performing modulation at a rate or depth according to the third operation to the tone, and instructing the sounding unit to sound the tone to which the tone processing effect has been added;
A program characterized by causing the program to execute.
JP2015124681A 2015-06-22 2015-06-22 Music sound generating apparatus, music sound generating method, program and electronic musical instrument Active JP6650101B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015124681A JP6650101B2 (en) 2015-06-22 2015-06-22 Music sound generating apparatus, music sound generating method, program and electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015124681A JP6650101B2 (en) 2015-06-22 2015-06-22 Music sound generating apparatus, music sound generating method, program and electronic musical instrument

Publications (3)

Publication Number Publication Date
JP2017009788A JP2017009788A (en) 2017-01-12
JP2017009788A5 JP2017009788A5 (en) 2018-08-02
JP6650101B2 true JP6650101B2 (en) 2020-02-19

Family

ID=57763319

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015124681A Active JP6650101B2 (en) 2015-06-22 2015-06-22 Music sound generating apparatus, music sound generating method, program and electronic musical instrument

Country Status (1)

Country Link
JP (1) JP6650101B2 (en)

Also Published As

Publication number Publication date
JP2017009788A (en) 2017-01-12

Similar Documents

Publication Publication Date Title
US11204664B2 (en) Piezoresistive sensors and applications
JP5682285B2 (en) Parameter setting program and electronic music apparatus
JP6650101B2 (en) Music sound generating apparatus, music sound generating method, program and electronic musical instrument
US8878044B2 (en) Processing device and method for displaying a state of tone generation apparatus
JP6566380B2 (en) Musical sound generating apparatus, musical sound generating method, program, and electronic musical instrument
JP6817551B2 (en) Musical tone generator, musical tone generator, program and electronic musical instrument
JP6268674B2 (en) Musical sound generating device, electronic musical instrument, musical sound generating method and program
JP2022001950A (en) Parameter controller, electronic music instrument, parameter control method and control program
JP4765705B2 (en) Music control device
US6534699B2 (en) Instruction input device for electronic musical instrument
JP6132052B2 (en) Electronic musical instruments and programs
JP4054019B2 (en) Performance parameter input device
Ogata et al. Keyboard Interface with Shape-Distortion Expression for Interactive Performance
JP5399831B2 (en) Music game system, computer program thereof, and method of generating sound effect data
JP7092537B2 (en) Fingering display device and fingering display program
JP5228516B2 (en) Tempo perception device
JP4720564B2 (en) Music control device
JP2992295B2 (en) Waveform signal generator for tone control
JP3232110B2 (en) Score input device and score display device
JP6358554B2 (en) Musical sound control device, musical sound control method and program
JP6634897B2 (en) Lyric generation apparatus and lyrics generation method
CN116457868A (en) 2D user interface and computer-readable storage medium for musical instrument playing combined chord and melody sequence
JP2019179161A (en) Fingering display program
JP2006244153A (en) Screen input device and method in musical instrument
JP2017173515A (en) Pedal operator control device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180620

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180620

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190520

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190529

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190723

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: 20191219

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200101

R150 Certificate of patent or registration of utility model

Ref document number: 6650101

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150