JP2006154297A - Electronic musical instrument and program for realizing control method therefor - Google Patents

Electronic musical instrument and program for realizing control method therefor Download PDF

Info

Publication number
JP2006154297A
JP2006154297A JP2004344765A JP2004344765A JP2006154297A JP 2006154297 A JP2006154297 A JP 2006154297A JP 2004344765 A JP2004344765 A JP 2004344765A JP 2004344765 A JP2004344765 A JP 2004344765A JP 2006154297 A JP2006154297 A JP 2006154297A
Authority
JP
Japan
Prior art keywords
foot pedal
tone
musical
note
event
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.)
Withdrawn
Application number
JP2004344765A
Other languages
Japanese (ja)
Inventor
Kenichi Okada
健一 岡田
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 JP2004344765A priority Critical patent/JP2006154297A/en
Publication of JP2006154297A publication Critical patent/JP2006154297A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an electronic musical instrument permitting trial-listening to musical sound of edited musical sound parameters while editing the musical sound parameters using both hands and the program for realizing the control method. <P>SOLUTION: When a mode 1 is selected and a foot pedal-on event is outputted from a foot pedal, pedal-on data are outputted to a CPU (step S3). The CPU performs foot pedal original musical sound control to musical sound being uttered. Meanwhile, when a mode 2 is selected and a foot pedal-on event is outputted, key-on information stored in a register 5 are read out and outputted to the CPU (step S5). The CPU produces musical sound data based on key code data and velocity data contained in this key-on information, and outputs the data to a sound source device. From the sound source device, a musical sound signal is produced and outputted based on the supplied musical sound data, timbre data set by a player, and an effect parameter. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、少なくとも1つのフットペダルを備え、音色データおよび効果パラメータを含む楽音パラメータを設定することができる電子楽器およびその制御方法を実現するためのプログラムに関する。   The present invention relates to an electronic musical instrument that includes at least one foot pedal and can set musical tone parameters including tone color data and effect parameters, and a program for realizing a control method thereof.

少なくとも1つのフットペダルを備え、音色データおよび効果パラメータを含む楽音パラメータを設定することができる電子楽器は、従来から知られている。   2. Description of the Related Art An electronic musical instrument that has at least one foot pedal and can set musical tone parameters including tone color data and effect parameters is conventionally known.

このような電子楽器として、鍵盤を備え、演奏者が鍵盤を押鍵することによって発音される楽音の音色を編集する音色編集機能を備えたものがある。この電子楽器を用いて、演奏者が楽音の音色を編集する場合、編集後の音色がどのように聞こるかを確かめるために、すなわち試聴するために、音色を編集する度に、その音色の楽音を発音させるようにしている。   As such an electronic musical instrument, there is one having a keyboard and a tone color editing function for editing a tone color of a musical tone that is generated when a performer presses the keyboard. Using this electronic musical instrument, when the performer edits the tone of a musical tone, every time he edits the tone to see how the edited tone will be heard, i.e. to audition, I try to make the sound sound.

電子鍵盤楽器の上位機種では、フットペダルとして、サスティンペダル、ソステヌートペダルおよびソフトペダルの3種類が設けられている。サスティンペダルは、それを踏んでいる間、弾いた音を伸ばす効果を付与するものであり、ソステヌートペダルは、それを踏んだときに響いている音だけを保持する効果を付与するものであり、ソフトペダルは、弱音を発生させるためのものである。なお、電子楽器によっては、フットペダルが1つまたは2つのものがあり、必ず3つ設けられているとは限らない。   The higher-order models of electronic keyboard instruments have three types of foot pedals: a sustain pedal, a sostenuto pedal, and a soft pedal. The sustain pedal gives the effect of stretching the sound you play while you are stepping on it, and the sostenuto pedal gives you the effect of holding only the sound that sounds when you step on it. The soft pedal is for generating a weak sound. Some electronic musical instruments have one or two foot pedals, and three are not necessarily provided.

また、フットペダルの通常の機能、すなわち、同一音色の楽音の残響や音量を制御する機能に加えて、現在発音中の楽音の音色に、別の音色も加えて発音する機能を備えた電子楽器もある(たとえば、特許文献1参照)。
特開2002−351468号公報
In addition to the normal function of the foot pedal, that is, the function to control the reverberation and volume of the same tone, the electronic musical instrument has the ability to add another tone to the tone of the currently-sounding tone. (For example, refer to Patent Document 1).
JP 2002-351468 A

しかし、上記従来の電子楽器では、両手を使って音色を編集している状態では、鍵盤を押鍵することができないので、編集中にその音色の楽音を試聴することはできず、不便であった。体の他の部位で空いているものとして、足があるが、フットペダルには、上述のような機能しかないため、試聴用に使うことはできなかった。   However, the conventional electronic musical instrument described above is inconvenient because it is impossible to press the keyboard while editing the tone using both hands, so it is not possible to audition the tone of the tone during editing. It was. There is a foot that is vacant in other parts of the body, but since the foot pedal has only the functions described above, it could not be used for listening.

本発明は、この点に着目してなされたものであり、両手を使って楽音パラメータを編集しながら、編集した楽音パラメータの楽音を試聴することが可能となる電子楽器およびその制御方法を実現するためのプログラムを提供することを目的とする。   The present invention has been made paying attention to this point, and realizes an electronic musical instrument and a control method therefor that enable the user to test the musical tone of the edited musical tone parameter while editing the musical tone parameter using both hands. It aims at providing the program for.

上記目的を達成するため、請求項1に記載の電子楽器は、少なくとも1つのフットペダルと、音色データおよび効果パラメータを含む楽音パラメータを設定するための複数の操作子と、演奏者が前記フットペダルを踏み込んだときに、フットペダル本来の楽音制御を有効にする第1のモードおよびフットペダル本来の楽音制御を無効にする第2のモードのうち、いずれかのモードを選択する選択手段と、所定の楽音を発生させるためのノートオンイベント情報を記憶する記憶手段と、ノートオンイベント情報、および演奏者が前記複数の操作子を用いて設定した楽音パラメータに基づいて楽音を発生させる楽音発生手段と、前記選択手段によって、前記第2のモードが選択されているときに、前記フットペダルが踏み込まれた場合、前記記憶手段に記憶されたノートオンイベント情報を読み出し、該読み出されたノートオンイベント情報および前記設定された楽音パラメータに基づいて楽音を発生させるように、前記楽音発生手段を制御する制御手段とを有することを特徴とする。   In order to achieve the above object, an electronic musical instrument according to claim 1 is characterized in that at least one foot pedal, a plurality of operators for setting musical tone parameters including timbre data and effect parameters, Selecting means for selecting one of a first mode for enabling the original tone control of the foot pedal and a second mode for disabling the original tone control of the foot pedal when the pedal is depressed; Storage means for storing note-on event information for generating a musical tone, musical tone generation means for generating a musical sound based on note-on event information and a musical sound parameter set by the performer using the plurality of operators If the foot pedal is depressed when the second mode is selected by the selection means, the memory Control means for reading the note-on event information stored in the stage and controlling the tone generation means so as to generate a tone based on the read note-on event information and the set tone parameter. It is characterized by that.

好ましくは、前記ノートオンイベント情報は、単音を発生させる1つのノートオンイベントを含む第1のノートオンイベント情報と、複数の楽音を順次発生させる複数のノートオンイベントを含む第2のノートオンイベント情報とからなり、前記制御手段は、操作者が選択した方のノートオンイベント情報に基づいて楽音を発生させるように、前記楽音発生手段を制御することを特徴とする。   Preferably, the note-on event information includes first note-on event information including one note-on event that generates a single note, and second note-on event including a plurality of note-on events that sequentially generate a plurality of musical sounds. The control means controls the music sound generating means so as to generate music based on the note-on event information selected by the operator.

上記目的を達成するため、請求項3に記載のプログラムは、請求項1と同様の技術的思想によって実現できる。   In order to achieve the above object, the program according to claim 3 can be realized by the same technical idea as claim 1.

請求項1または3に記載の発明によれば、演奏者がフットペダルを踏み込んだときに、フットペダル本来の楽音制御を無効にする第2のモードが選択されている状態で、前記フットペダルが踏み込まれた場合、所定の楽音を発生させるためのノートオンイベント情報が記憶された記憶手段から、その記憶されたノートオンイベント情報が読み出され、該読み出されたノートオンイベント情報、および演奏者が複数の操作子を用いて設定した楽音パラメータに基づいて、楽音が発生されるので、両手を使って楽音パラメータを設定しながら、設定された楽音パラメータの楽音を試聴することが可能となる。   According to the first or third aspect of the invention, when the player depresses the foot pedal, the foot pedal is in a state where the second mode for invalidating the original tone control of the foot pedal is selected. When depressed, the stored note-on event information is read from the storage means storing the note-on event information for generating a predetermined musical tone, and the read note-on event information and performance Musical sounds are generated based on the musical sound parameters set by the operator using a plurality of controls, so it is possible to audition the musical sounds of the set musical sound parameters while setting the musical sound parameters using both hands. .

以下、本発明の実施の形態を図面に基づいて詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の一実施の形態に係る電子楽器の概略構成を示すブロック図である。   FIG. 1 is a block diagram showing a schematic configuration of an electronic musical instrument according to an embodiment of the present invention.

同図に示すように、本実施の形態の電子楽器は、装置全体の制御を司るCPU1と、演奏者の押鍵または離鍵操作に応じてキーオン/オフイベントを出力する鍵盤2と、各種設定を行うための複数の操作子や各種情報等を表示する、たとえば液晶ディスプレイ(LCD)および発光ダイオード(LED)などが設けられた操作パネル3と、演奏者の踏み込みまたはその解除操作に応じてフットペダルオン/オフイベントを出力するフットペダル4と、単音を発生させるためのキーオン情報および複数の楽音を順次発生させるためのシーケンス情報を記憶するレジスタ5と、CPU1によって生成され設定された、楽音信号の基になる情報に基づいて楽音信号を発生させる音源デバイス6とによって構成されている。   As shown in the figure, the electronic musical instrument of the present embodiment includes a CPU 1 that controls the entire apparatus, a keyboard 2 that outputs a key-on / off event in response to a player's key pressing or key release operation, and various settings. For example, an operation panel 3 provided with a liquid crystal display (LCD) and a light emitting diode (LED), and a foot depending on the player's stepping on or releasing operation. Foot pedal 4 for outputting a pedal on / off event, register 5 for storing key-on information for generating a single tone and sequence information for sequentially generating a plurality of musical sounds, and a musical tone signal generated and set by the CPU 1 And a sound source device 6 that generates a musical sound signal based on the information that is the basis of the above.

CPU1は、たとえばROM(図示せず)に記憶された制御プログラム、図示例では、キーアサイン処理ルーチン11、発音イベント処理ルーチン12、パネルイベント処理ルーチン13およびフットペダルイベント処理ルーチン14に基づいて、それぞれ、キーアサイン処理、発音イベント処理、パネルイベント処理およびフットペダルイベント処理を行う。   The CPU 1 is based on, for example, a control program stored in a ROM (not shown), in the illustrated example, a key assignment processing routine 11, a tone generation event processing routine 12, a panel event processing routine 13, and a foot pedal event processing routine 14, respectively. , Key assignment processing, sound generation event processing, panel event processing, and foot pedal event processing.

鍵盤2が出力するキーオン/オフイベントは、具体的には、キーオン/オフデータ、キーコードデータおよびベロシティデータによって構成されている。ただし、キーオフイベントに対する処理では、通常、ベロシティデータを使用しないので、キーオフイベントは、キーオフデータおよびキーコードデータによって構成するようにしてもよい。   Specifically, the key on / off event output from the keyboard 2 includes key on / off data, key code data, and velocity data. However, since the velocity data is not normally used in the processing for the key-off event, the key-off event may be composed of key-off data and key code data.

フットペダル4が出力するフットペダルオン/オフイベントは、具体的には、ペダルオン/オフデータおよび操作量(踏み込み量)によって構成されている。ただし、本実施の形態では、操作量を使用しないので、フットペダルオン/オフイベントは、ペダルオン/オフデータによって構成されるとしてもよい。また、本実施の形態では、フットペダルは、1つのみ設けるようにしたが、複数設けるようにしてもよく、その場合には、どのフットペダルが操作されたかが分かるようなデータ(たとえば、各フットペダルに番号を付与したときの番号)を、フットペダルオン/オフイベントに含ませるようにすればよい。   Specifically, the foot pedal on / off event output from the foot pedal 4 is configured by pedal on / off data and an operation amount (depression amount). However, in this embodiment, since the operation amount is not used, the foot pedal on / off event may be configured by pedal on / off data. In the present embodiment, only one foot pedal is provided. However, a plurality of foot pedals may be provided. In this case, data that indicates which foot pedal is operated (for example, each foot pedal). The number when the pedal is assigned) may be included in the foot pedal on / off event.

操作パネル3は、本実施の形態では、音色データや効果パラメータなどを編集するために用いられる。たとえば、LCD上に、設定可能な音色データおよび効果パラメータの一覧が表示され、この中から、演奏者(操作者)が選択したものが、CPU1に送信される。また、本実施の形態では、フットペダル4の動作モードとして、モード1〜3の3種類のモードのいずれかを選択できるように構成されている。操作パネル3からは、このモード選択も行うことができる。なお、各動作モードの詳細については、後述する。   In the present embodiment, the operation panel 3 is used for editing timbre data, effect parameters, and the like. For example, a list of tone color data and effect parameters that can be set is displayed on the LCD, and one selected by the player (operator) is transmitted to the CPU 1. Further, in the present embodiment, the operation mode of the foot pedal 4 is configured so that any one of three types of modes 1 to 3 can be selected. This mode can also be selected from the operation panel 3. Details of each operation mode will be described later.

レジスタ5には、上述のように、キーオン情報とシーケンス情報が記憶される。キーオン情報とは、キーコードデータおよびベロシティデータによって構成されたものであり、シーケンス情報とは、キーオンイベントデータと、該キーオンイベントデータの再生タイミングおよび再生長を示すデュレーションデータとを一組とする複数組のシーケンスによって構成されたものである(図3参照)。なお、キーオン情報およびシーケンス情報の作成および設定も、上記操作パネル3を用いて行うようにすればよい。また、キーオン情報およびシーケンス情報は、演奏者(操作者)自ら作成せずに、第三者によって予め作成されたものをそのまま使うようにしてもよいし、予め作成されたものを編集して使うようにしてもよい。   The register 5 stores key-on information and sequence information as described above. The key-on information is composed of key code data and velocity data, and the sequence information is a plurality of sets of key-on event data and duration data indicating the reproduction timing and reproduction length of the key-on event data. It is composed of a set of sequences (see FIG. 3). The key-on information and sequence information may be created and set using the operation panel 3. In addition, key-on information and sequence information may not be created by the player (operator) themselves, but may be used as they are created by a third party as they are, or may be edited and used. You may do it.

以上のように構成された電子楽器が実行する制御処理を、図2および図3を参照して詳細に説明する。   A control process executed by the electronic musical instrument configured as described above will be described in detail with reference to FIGS.

本実施の形態の電子楽器は、フットペダル4から出力されたフットペダルオン/オフイベントによる楽音制御処理の内容を、選択された動作モードに応じて切り替える点に特徴がある。すなわち、当該楽音制御処理の内容を、
モード1:フットペダル4本来の楽音制御を行うモード
モード2:フットペダル4を鍵盤2のある1つの鍵に対応付けて楽音制御を行うモード
モード3:フットペダル4を自動演奏の開始を指示するスタートスイッチ(図示せず)に対応付けて楽音制御を行うモード
のうち、選択されたいずれかのモードに応じて切り替えるようにしている。
The electronic musical instrument according to the present embodiment is characterized in that the content of the musical tone control process by the foot pedal on / off event output from the foot pedal 4 is switched according to the selected operation mode. That is, the content of the musical tone control process is
Mode 1: Mode for controlling the original tone of the foot pedal 4 Mode 2: Mode for controlling the tone by associating the foot pedal 4 with one key on the keyboard 2 Mode 3: Instructing the foot pedal 4 to start automatic performance Of the modes in which musical tone control is performed in association with a start switch (not shown), the mode is switched according to one of the selected modes.

まず、モード1が選択されたときの楽音制御処理について説明する。   First, the musical tone control process when mode 1 is selected will be described.

モード1が選択された状態で、演奏者が鍵盤2のある1つの鍵を押鍵すると、鍵盤2からは、その鍵の音高に対応するキーコードデータ、その押鍵に応じたベロシティデータおよびキーオンデータからなるキーオンイベントデータが出力される。これに応じて、CPU1は、キーアサイン処理11により、複数の発音チャンネルのうち、空いているチャンネルに対して、発音割り当てを行う。ここで、空いているチャンネルは、次のようにして検出する。すなわち、発音イベント処理12によって、発音中のチャンネルが消音されて開放されると、その開放チャンネルのチャンネル番号は、キーアサイン処理11に伝達されるので、キーアサイン処理11では、この伝達されたチャンネル番号に基づいて、たとえばチャンネルレジスタ(図示せず)の内容を書き替える。チャンネルレジスタは、たとえば、発音チャンネル分のビットを備えたレジスタであり、対応するビットが“1”の場合、その発音チャンネルは「発音中」であり、対応するビットが“0”の場合、その発音チャンネルは「開放中」であるように構成されている。具体的には、開放チャンネルのチャンネル番号が、たとえば3チャンネルであることが伝達されると、チャンネルレジスタの、たとえば第3ビットの内容が“0”に書き替えられる。したがって、チャンネルレジスタ中、“0”が設定されているビットを検出すれば、その検出したビットの番号に対応するチャンネル番号のチャンネルが空きチャンネルである。   When the performer presses one key on the keyboard 2 in the state where the mode 1 is selected, the keyboard 2 receives from the key code data corresponding to the pitch of the key, velocity data corresponding to the key press, and Key-on event data consisting of key-on data is output. In response to this, the CPU 1 assigns sound generation to an empty channel among the plurality of sound generation channels by the key assignment processing 11. Here, an empty channel is detected as follows. That is, when the sound generation channel is muted and released by the sound generation event process 12, the channel number of the open channel is transmitted to the key assignment process 11. Therefore, in the key assignment process 11, the transmitted channel is transmitted. For example, the contents of a channel register (not shown) are rewritten based on the number. For example, the channel register is a register having bits corresponding to the sound generation channel. When the corresponding bit is “1”, the sound generation channel is “sounding”, and when the corresponding bit is “0”, The pronunciation channel is configured to be “open”. Specifically, when it is transmitted that the channel number of the open channel is, for example, 3 channels, the content of, for example, the 3rd bit of the channel register is rewritten to “0”. Therefore, if a bit in which “0” is set is detected in the channel register, a channel having a channel number corresponding to the detected bit number is an empty channel.

このようにして、キーアサイン処理11では、現在空いているチャンネルがどのチャンネルであるか分かるので、そのチャンネル番号を、鍵盤2から出力された上記キーオンイベントデータに付して、発音イベント処理12に伝達する。なお、空きチャンネルが複数ある場合には、たとえば、若い番号のチャンネルから優先的に発音割り当てするようにすればよい。   In this way, the key assignment process 11 knows which channel is currently free, so that channel number is attached to the key-on event data output from the keyboard 2 to the sounding event process 12. introduce. When there are a plurality of empty channels, for example, the sound generation may be preferentially assigned from the channel with the smallest number.

発音イベント処理12では、伝達されてきた空きチャンネル番号付きのキーオンイベントデータと、演奏者が操作パネル3を用いて選択し、パネルイベント処理13によって設定された音色データおよび効果パラメータとを音源デバイス6に送信する。音源デバイス6は、送信されて来たデータを対応するレジスタに格納し、このデータに基づいて楽音信号を生成した後、図示しないサウンドシステムに送信する。   In the sound event processing 12, the transmitted key-on event data with the empty channel number and the timbre data and effect parameters selected by the player using the operation panel 3 and set by the panel event processing 13 are used as the sound source device 6. Send to. The sound source device 6 stores the transmitted data in a corresponding register, generates a musical sound signal based on this data, and transmits it to a sound system (not shown).

このようにして楽音が発音された状態で、演奏者がフットペダル4を踏み込むと、フットペダル4からフットペダルオンイベントが出力される。これに応じて、CPU1は、フットペダルイベント処理14により、フットペダルオンイベント中のペダルオンデータを発音イベント処理12に伝達する(図2のステップS3)。発音イベント処理12では、これに応じて、フットペダル4に割り当てられている本来の楽音制御処理、たとえば、現在発音中の楽音を伸ばす処理を施すようなデータを音源デバイス6に送出する。   When the performer depresses the foot pedal 4 in the state where the musical tone is generated in this way, a foot pedal on event is output from the foot pedal 4. In response to this, the CPU 1 transmits the pedal-on data during the foot pedal-on event to the sounding event process 12 by the foot pedal event process 14 (step S3 in FIG. 2). In response to this, the sounding event process 12 sends data to the tone generator device 6 that performs the original musical tone control process assigned to the foot pedal 4, for example, the process of extending the currently sounding musical sound.

そして、演奏者がフットペダル4の踏み込みを解除すると、フットペダル4からフットペダルオフイベントが出力される。これに応じて、CPU1は、フットペダルイベント処理14により、フットペダルオフイベント中のペダルオフデータを発音イベント処理12に伝達する(ステップS9)。発音イベント処理12では、これに応じて、フットペダル4本来の楽音制御処理をキャンセルするデータを音源デバイス6に送出する。   Then, when the performer releases the depression of the foot pedal 4, a foot pedal off event is output from the foot pedal 4. In response to this, the CPU 1 transmits the pedal-off data during the foot pedal off event to the sounding event process 12 by the foot pedal event process 14 (step S9). In response to this, the sound generation event process 12 sends data for canceling the original tone control process of the foot pedal 4 to the tone generator device 6.

一方、演奏者が押鍵した鍵を離鍵すると、鍵盤2からは、その鍵の音高に対応するキーコードデータ、その離鍵に応じたベロシティデータおよびキーオフデータからなるキーオフイベントデータが出力される。これに応じて、CPU1は、キーアサイン処理11により、現在発音中の楽音に対する消音処理を行う。具体的には、離鍵した鍵に対応するチャンネル番号を、鍵盤2から出力された上記キーオフイベントデータに付して、発音イベント処理12に伝達する。発音イベント処理12では、伝達されてきたチャンネル番号付きのキーオフイベントデータを音源デバイス6に送信する。音源デバイス6は、送信されて来たデータを対応するレジスタに格納し、このデータに基づいて、当該楽音信号を減衰させる。減衰によって、当該楽音信号のレベルが所定に閾値以内になると予測される時間が経過した後、発音イベント処理12では、そのチャンネルを開放チャンネルとして、キーアサイン処理11に送出する。   On the other hand, when the key released by the performer is released, the keyboard 2 outputs key code data corresponding to the pitch of the key, velocity data corresponding to the key release, and key-off event data including key-off data. The In response to this, the CPU 1 performs a mute process for the musical sound currently being generated by the key assign process 11. Specifically, the channel number corresponding to the released key is attached to the key-off event data output from the keyboard 2 and transmitted to the sound generation event process 12. In the sound event processing 12, the transmitted key-off event data with the channel number is transmitted to the sound source device 6. The tone generator device 6 stores the transmitted data in a corresponding register, and attenuates the musical sound signal based on this data. After a time when the level of the musical sound signal is predicted to fall within a predetermined threshold due to the attenuation, the sound generation event process 12 sends the channel to the key assignment process 11 as an open channel.

次に、モード2が選択されたときの楽音制御処理について説明する。   Next, the tone control process when mode 2 is selected will be described.

モード2が選択されたときでも、演奏者が鍵盤2を用いて行った演奏操作、すなわち押鍵または離鍵操作は有効であり、モード1の楽音制御処理で上述したように、押鍵操作に応じて、音源デバイス6から楽音信号が生成され、離鍵操作に応じて、生成された楽音信号が減衰される。しかし、モード2が選択されたときに想定されている演奏者の状況は、演奏者の両手がいずれも、操作パネル3の操作子を操作していて、片手でさえも鍵盤2の押離鍵ができないというものである。したがって、モード2が選択されたときには、演奏者の手による鍵盤2の押離鍵操作に応じた楽音制御処理については考えずに、フットペダル4を用いた演奏操作に応じた楽音制御処理についてのみ説明する。   Even when the mode 2 is selected, the performance operation performed by the performer using the keyboard 2, that is, the key pressing or key release operation is effective, and the key pressing operation can be performed as described above in the musical tone control process of the mode 1. In response, a musical tone signal is generated from the sound source device 6, and the generated musical tone signal is attenuated in response to a key release operation. However, the situation of the performer assumed when mode 2 is selected is that both hands of the performer are operating the controls of the operation panel 3, and even one hand presses and releases the keyboard 2. Is not possible. Therefore, when the mode 2 is selected, only the musical tone control process corresponding to the performance operation using the foot pedal 4 is considered without considering the musical tone control process corresponding to the key pressing operation of the keyboard 2 by the player's hand. explain.

演奏者がフットペダル4を踏み込むと、フットペダル4からフットペダルオンイベントが出力される。これに応じて、CPU1は、フットペダルイベント処理14により、レジスタ5に記憶されているキーオン情報を読み出して、フットペダルイベント処理14に伝達する。フットペダルイベント処理14では、これに応じて、伝達されたキーオン情報に含まれる、キーコードデータおよびベロシティデータと、生成したキーオンデータとをキーアサイン処理11に伝達する(図2のステップS5)。この後の処理は、モード1が選択されたときに、鍵盤2からキーオンイベントデータが出力された後、キーアサイン処理11によってなされる処理と同様であるので、その説明は省略する。つまり、モード2が選択された場合の、フットペダル4に対する踏み込み操作は、モード1が選択された場合の、鍵盤2のある鍵に対する押鍵操作に相当する。   When the performer steps on the foot pedal 4, a foot pedal on event is output from the foot pedal 4. In response to this, the CPU 1 reads the key-on information stored in the register 5 by the foot pedal event processing 14 and transmits it to the foot pedal event processing 14. In response to this, the foot pedal event process 14 transmits the key code data and velocity data included in the transmitted key-on information and the generated key-on data to the key assignment process 11 (step S5 in FIG. 2). Since the subsequent processing is the same as the processing performed by the key assign processing 11 after the key-on event data is output from the keyboard 2 when the mode 1 is selected, the description thereof is omitted. That is, when the mode 2 is selected, the stepping operation on the foot pedal 4 corresponds to the key pressing operation on a certain key on the keyboard 2 when the mode 1 is selected.

一方、演奏者がフットペダル4の踏み込みを解除すると、フットペダル4からフットペダルオフイベントが出力される。これに応じて、CPU1は、フットペダルイベント処理14により、レジスタ5に記憶されているキーオン情報を読み出して、フットペダルイベント処理14に伝達する。フットペダルイベント処理14では、これに応じて、伝達されたキーオン情報に含まれる、キーコードデータおよびベロシティデータと、生成したキーオフデータとをキーアサイン処理11に伝達する(ステップS11)。この後の処理は、モード1が選択されたときに、鍵盤2からキーオフイベントデータが出力された後、キーアサイン処理11によってなされる処理と同様であるので、その説明は省略する。つまり、モード2が選択された場合の、フットペダル4に対する踏み込み操作を解除する操作は、モード1が選択された場合の、鍵盤2のある鍵に対する離鍵操作に相当する。   On the other hand, when the performer releases the depression of the foot pedal 4, a foot pedal off event is output from the foot pedal 4. In response to this, the CPU 1 reads the key-on information stored in the register 5 by the foot pedal event processing 14 and transmits it to the foot pedal event processing 14. In response to this, the foot pedal event process 14 transmits the key code data and velocity data included in the transmitted key-on information and the generated key-off data to the key assignment process 11 (step S11). Since the subsequent processing is the same as the processing performed by the key assign processing 11 after the key-off event data is output from the keyboard 2 when the mode 1 is selected, the description thereof is omitted. That is, the operation of releasing the stepping operation on the foot pedal 4 when the mode 2 is selected corresponds to the key release operation for a certain key on the keyboard 2 when the mode 1 is selected.

このようにして、モード2が選択されたときには、操作パネル3の操作子で演奏者の両手がふさがっていたとしても、フットペダル4を踏み込むだけで、所定の音高および音量の楽音信号を生成して発音することができるので、特に音色データや効果パラメータを編集していて、両手がふさがっているときでも、編集後に生成される楽音がどのような聞こえ方をするか、直ちに試聴することができる。   In this way, when mode 2 is selected, a musical tone signal having a predetermined pitch and volume can be generated simply by depressing the foot pedal 4 even if the player's hands are occupied by the operator of the operation panel 3. Especially when editing timbre data and effect parameters, even when both hands are occupied, it is possible to immediately audition how the musical sound generated after editing will be heard. it can.

次に、モード3が選択されたときの楽音制御処理について説明する。   Next, the tone control process when mode 3 is selected will be described.

モード3が選択されたときの楽音制御処理は、モード2が選択されたときの楽音制御処理に対して、レジスタ5に記憶されているシーケンス情報に基づいて、単音ではなく、複数の楽音を順次発生させる点のみが異なっているので、この相違点について説明する。   The musical tone control process when mode 3 is selected is a sequence of a plurality of musical sounds instead of a single tone based on the sequence information stored in the register 5 with respect to the musical tone control process when mode 2 is selected. Since only the difference is generated, this difference will be described.

図3は、レジスタ5に記憶されているシーケンス情報の一例((a))と、このシーケンス情報に基づいて発生された複数の楽音の様子((b))を示す図である。   FIG. 3 is a diagram showing an example ((a)) of sequence information stored in the register 5 and a plurality of musical sounds ((b)) generated based on the sequence information.

演奏者がフットペダル4を踏み込むと、フットペダル4からフットペダルオンイベントが出力される。これに応じて、CPU1は、フットペダルイベント処理14により、図3に示すように、レジスタ5に記憶されているシーケンス情報から、まず、キーオンイベント1を読み出して、フットペダルイベント処理14に伝達する。フットペダルイベント処理14では、これに応じて、伝達されたキーオンイベント1に含まれる、キーオンデータ、キーコードデータおよびベロシティデータをキーアサイン処理11に伝達する(図2のステップS6)。この後の処理は、モード1が選択されたときに、鍵盤2からキーオンイベントデータが出力された後、キーアサイン処理11によってなされる処理と同様であるので、その説明は省略する。   When the performer steps on the foot pedal 4, a foot pedal on event is output from the foot pedal 4. In response to this, the CPU 1 first reads the key-on event 1 from the sequence information stored in the register 5 and transmits it to the foot pedal event process 14 by the foot pedal event process 14 as shown in FIG. . In response to this, the foot pedal event process 14 transmits key-on data, key code data, and velocity data included in the transmitted key-on event 1 to the key assignment process 11 (step S6 in FIG. 2). Since the subsequent processing is the same as the processing performed by the key assign processing 11 after the key-on event data is output from the keyboard 2 when the mode 1 is selected, the description thereof is omitted.

次に、シーケンス情報から、デュレーション1を読み出す。デュレーション1は、図3(b)に示すように、キーオンイベント1に基づいた楽音の生成を開始してから、その楽音を消音し、次のキーオンイベント2を開始するまでの時間を規定するデータであり、具体的には、数値情報である。この数値情報を、ソフトウェアカウンタにより、所定の時間(この時間は、通常タイマ割り込み処理(図示せず)によって計時される)毎にダウンカウントして行き、“0”になったときに、キーオンイベント1に基づいて生成された楽音を消音する処理を行う。具体的には、フットペダルイベント処理14により、キーオンイベント1に含まれるキーコードデータおよびベロシティデータと、生成したキーオフデータとをキーアサイン処理11に伝達する。そして、続いて、シーケンス情報から、次のキーオンイベント2を読み出し、フットペダルイベント処理14に伝達する。以下、デュレーション2、キーオンイベント3というように、キーオン情報の末尾を示すエンドデータが読み出されるまで、上述の処理を繰り返す。   Next, duration 1 is read from the sequence information. As shown in FIG. 3B, duration 1 is data defining the time from the start of generation of a musical sound based on key-on event 1 until the musical sound is muted and the next key-on event 2 is started. Specifically, it is numerical information. This numerical information is counted down by a software counter every predetermined time (this time is normally counted by timer interrupt processing (not shown)), and when it becomes “0”, a key-on event A process for muting the musical sound generated based on 1 is performed. Specifically, the key code data and velocity data included in the key-on event 1 and the generated key-off data are transmitted to the key assignment process 11 by the foot pedal event process 14. Subsequently, the next key-on event 2 is read from the sequence information and transmitted to the foot pedal event process 14. Hereinafter, the above processing is repeated until end data indicating the end of the key-on information is read, such as duration 2 and key-on event 3.

このようにして、モード3が選択されたときには、操作パネル3の操作子で演奏者の両手がふさがっていたとしても、フットペダル4を踏み込むだけで、複数の楽音を順次発生させることができるので、特に音色データや効果パラメータを編集していて、両手がふさがっているときでも、編集後に生成される楽音がどのような聞こえ方をするか、直ちに試聴することができる。   In this way, when mode 3 is selected, even if the performer's hands are blocked by the operator of the operation panel 3, a plurality of musical sounds can be generated in sequence by simply depressing the foot pedal 4. In particular, even when tone data and effect parameters are being edited and both hands are occupied, it is possible to immediately audition how the musical sound generated after editing is heard.

なお、モード3が選択されたときの楽音制御処理では、フットペダル4を一度踏み込むと、レジスタ5に記憶されているキーオン情報のすべてのデータが読み出されるまで、楽音の発生が続くように構成されているが、これに限らず、フットペダル4の踏み込みを解除した時点で、楽音の発生を停止するように構成してもよい。   Note that the tone control process when mode 3 is selected is configured such that when the foot pedal 4 is depressed once, the tone generation continues until all the key-on information data stored in the register 5 is read out. However, the present invention is not limited to this, and the generation of musical sounds may be stopped when the foot pedal 4 is released.

また、上述した実施の形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムまたは装置に供給し、そのシステムまたは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。   Further, a storage medium in which a program code of software for realizing the functions of the above-described embodiments is recorded is supplied to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus is stored in the storage medium It goes without saying that the object of the present invention can also be achieved by reading and executing the code.

この場合、記憶媒体から読出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.

プログラムコードを供給するための記憶媒体としては、たとえば、フレキシブルディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。また、通信ネットワークを介してサーバコンピュータからプログラムコードが供給されるようにしてもよい。   As a storage medium for supplying the program code, for example, a flexible disk, hard disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW, magnetic A tape, a non-volatile memory card, a ROM, or the like can be used. Further, the program code may be supplied from a server computer via a communication network.

また、コンピュータが読出したプログラムコードを実行することにより、上述した実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOSなどが実際の処理の一部または全部を行い、その処理によって上述した実施の形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read out by the computer, not only the functions of the above-described embodiments are realized, but also the OS running on the computer based on the instruction of the program code performs the actual processing. It goes without saying that a case where the functions of the above-described embodiment are realized by performing part or all of the above and the processing thereof is included.

さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって上述した実施の形態の機能が実現される場合も含まれることは言うまでもない。   Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

本発明の一実施の形態に係る電子楽器の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the electronic musical instrument which concerns on one embodiment of this invention. 図1の電子楽器、特にCPUが実行するフットペダルイベント処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the foot pedal event process which the electronic musical instrument of FIG. 1, especially CPU performs. 図1中のレジスタに記憶されているシーケンス情報の一例と、このシーケンス情報に基づいて発生された複数の楽音の様子を示す図である。It is a figure which shows an example of the sequence information memorize | stored in the register | resistor in FIG. 1, and the mode of the several musical sound produced | generated based on this sequence information.

符号の説明Explanation of symbols

1…CPU(選択手段、制御手段),3…操作パネル(複数の操作子、選択手段),4…フットペダル,5…レジスタ(記憶手段),6…音源デバイス(楽音発生手段) DESCRIPTION OF SYMBOLS 1 ... CPU (selection means, control means), 3 ... Operation panel (a plurality of operation elements, selection means), 4 ... Foot pedal, 5 ... Register (storage means), 6 ... Sound source device (musical sound generation means)

Claims (3)

少なくとも1つのフットペダルと、
音色データおよび効果パラメータを含む楽音パラメータを設定するための複数の操作子と、
演奏者が前記フットペダルを踏み込んだときに、フットペダル本来の楽音制御を有効にする第1のモードおよびフットペダル本来の楽音制御を無効にする第2のモードのうち、いずれかのモードを選択する選択手段と、
所定の楽音を発生させるためのノートオンイベント情報を記憶する記憶手段と、
ノートオンイベント情報、および演奏者が前記複数の操作子を用いて設定した楽音パラメータに基づいて楽音を発生させる楽音発生手段と、
前記選択手段によって、前記第2のモードが選択されているときに、前記フットペダルが踏み込まれた場合、前記記憶手段に記憶されたノートオンイベント情報を読み出し、該読み出されたノートオンイベント情報および前記設定された楽音パラメータに基づいて楽音を発生させるように、前記楽音発生手段を制御する制御手段と
を有することを特徴とする電子楽器。
At least one foot pedal,
A plurality of controls for setting musical tone parameters including timbre data and effect parameters;
When the performer depresses the foot pedal, either the first mode for enabling the original tone control of the foot pedal or the second mode for disabling the original tone control of the foot pedal is selected. Selection means to
Storage means for storing note-on event information for generating a predetermined musical sound;
Musical tone generating means for generating musical tone based on note-on event information and musical tone parameters set by the performer using the plurality of controls;
If the foot pedal is depressed when the second mode is selected by the selection means, the note-on event information stored in the storage means is read out, and the read-out event-on information information And an electronic musical instrument comprising: control means for controlling the musical sound generating means so as to generate musical sounds based on the set musical sound parameters.
前記ノートオンイベント情報は、単音を発生させる1つのノートオンイベントを含む第1のノートオンイベント情報と、複数の楽音を順次発生させる複数のノートオンイベントを含む第2のノートオンイベント情報とからなり、
前記制御手段は、操作者が選択した方のノートオンイベント情報に基づいて楽音を発生させるように、前記楽音発生手段を制御する
ことを特徴とする請求項1に記載の電子楽器。
The note-on event information includes first note-on event information including one note-on event that generates a single note, and second note-on event information including a plurality of note-on events that sequentially generate a plurality of musical sounds. Become
The electronic musical instrument according to claim 1, wherein the control means controls the musical sound generating means so as to generate a musical sound based on note-on event information selected by an operator.
少なくとも1つのフットペダルと、音色データおよび効果パラメータを含む楽音パラメータを設定するための複数の操作子とを備えた電子楽器の制御方法を、コンピュータに実行させるプログラムであって、
前記制御方法は、
演奏者が前記フットペダルを踏み込んだときに、フットペダル本来の楽音制御を有効にする第1のモードおよびフットペダル本来の楽音制御を無効にする第2のモードのうち、いずれかのモードを選択する選択ステップと、
ノートオンイベント情報、および演奏者が前記複数の操作子を用いて設定した楽音パラメータに基づいて楽音を発生させる楽音発生ステップと、
前記選択ステップによって、前記第2のモードが選択されているときに、前記フットペダルが踏み込まれた場合、所定の楽音を発生させるためのノートオンイベント情報を記憶する記憶手段に記憶されたノートオンイベント情報を読み出し、該読み出されたノートオンイベント情報および前記設定された楽音パラメータに基づいて楽音を発生させるように、前記楽音発生ステップを制御する制御ステップと
を有することを特徴とするプログラム。
A program for causing a computer to execute a method for controlling an electronic musical instrument comprising at least one foot pedal and a plurality of operators for setting musical tone parameters including tone color data and effect parameters,
The control method is:
When the performer depresses the foot pedal, either the first mode for enabling the original tone control of the foot pedal or the second mode for disabling the original tone control of the foot pedal is selected. A selection step to
A tone generation step for generating a tone based on note-on event information and a tone parameter set by the performer using the plurality of controls;
When the second mode is selected by the selecting step, when the foot pedal is depressed, note-on information stored in a storage means for storing note-on event information for generating a predetermined musical sound is stored. And a control step for controlling the tone generation step so as to generate a tone based on the read note-on event information and the set tone parameter.
JP2004344765A 2004-11-29 2004-11-29 Electronic musical instrument and program for realizing control method therefor Withdrawn JP2006154297A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004344765A JP2006154297A (en) 2004-11-29 2004-11-29 Electronic musical instrument and program for realizing control method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004344765A JP2006154297A (en) 2004-11-29 2004-11-29 Electronic musical instrument and program for realizing control method therefor

Publications (1)

Publication Number Publication Date
JP2006154297A true JP2006154297A (en) 2006-06-15

Family

ID=36632695

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004344765A Withdrawn JP2006154297A (en) 2004-11-29 2004-11-29 Electronic musical instrument and program for realizing control method therefor

Country Status (1)

Country Link
JP (1) JP2006154297A (en)

Similar Documents

Publication Publication Date Title
JP4321476B2 (en) Electronic musical instruments
JP4379291B2 (en) Electronic music apparatus and program
JP2009156914A (en) Automatic accompaniment device and program
JP5228315B2 (en) Program for realizing automatic accompaniment generation apparatus and automatic accompaniment generation method
JP4848371B2 (en) Music output switching device, musical output switching method, computer program for switching musical output
JP2015081982A (en) Electronic musical instrument, and program
JP2004045669A (en) Automatic playing device, automatic playing program, and automatic playing data recording medium
US10805475B2 (en) Resonance sound signal generation device, resonance sound signal generation method, non-transitory computer readable medium storing resonance sound signal generation program and electronic musical apparatus
JP2007248881A (en) Musical performance system, controller used for same system, and program
US6274798B1 (en) Apparatus for and method of setting correspondence between performance parts and tracks
JP3312939B2 (en) Electronic musical instrument
JP2006154297A (en) Electronic musical instrument and program for realizing control method therefor
JP5200368B2 (en) Arpeggio generating apparatus and program for realizing arpeggio generating method
JP4094441B2 (en) Electronic musical instruments
JP4106798B2 (en) Sound generator
JP4254697B2 (en) Electronic musical instruments
JP4497100B2 (en) Musical sound generation control device and sound generation control program
JP2007212491A (en) Sounding controller and sounding control program for musical sound
JP3399333B2 (en) Music control device
JP2007178890A (en) Automatic playing musical device
JP4873307B2 (en) Program for realizing automatic accompaniment generation apparatus and automatic accompaniment generation method
JP4835433B2 (en) Performance pattern playback device and computer program therefor
JP5200384B2 (en) Electronic musical instruments and programs
JP5703543B2 (en) Electronic musical instrument, method and program
JP5505012B2 (en) Electronic music apparatus and program

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060425

A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080205