Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6705374B2 - Electronic musical instruments and electronic musical instrument systems - Google Patents
[go: Go Back, main page]

JP6705374B2 - Electronic musical instruments and electronic musical instrument systems - Google Patents

Electronic musical instruments and electronic musical instrument systems Download PDF

Info

Publication number
JP6705374B2
JP6705374B2 JP2016257336A JP2016257336A JP6705374B2 JP 6705374 B2 JP6705374 B2 JP 6705374B2 JP 2016257336 A JP2016257336 A JP 2016257336A JP 2016257336 A JP2016257336 A JP 2016257336A JP 6705374 B2 JP6705374 B2 JP 6705374B2
Authority
JP
Japan
Prior art keywords
signal
sound source
state
internal
external
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
JP2016257336A
Other languages
Japanese (ja)
Other versions
JP2018109691A (en
Inventor
慎一 大田
慎一 大田
健一 山内
健一 山内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP2016257336A priority Critical patent/JP6705374B2/en
Publication of JP2018109691A publication Critical patent/JP2018109691A/en
Application granted granted Critical
Publication of JP6705374B2 publication Critical patent/JP6705374B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

本発明は、電子楽器およびそれを備えた電子楽器システムに関する。 The present invention relates to an electronic musical instrument and an electronic musical instrument system including the electronic musical instrument.

外部音源に接続可能な種々の電子楽器がある。例えば、特許文献1に記載された演奏補助システムにおいては、電子楽器が演奏補助装置を介して和音情報発生装置に接続される。電子楽器、演奏補助装置および和音情報発生装置は、それぞれ音源・効果回路を含む。和音情報発生装置と演奏補助装置とが無線通信で接続されると、演奏補助機能が有効になるとともに、ローカルオフコマンドが電子楽器に自動的に送信される。この場合、電子楽器の演奏操作子からの演奏情報は電子楽器の音源・効果回路(楽音生成部)に直接供給されない。 There are various electronic musical instruments that can be connected to an external sound source. For example, in the performance assistance system described in Patent Document 1, an electronic musical instrument is connected to a chord information generation device via the performance assistance device. The electronic musical instrument, the performance assisting device, and the chord information generating device each include a sound source/effect circuit. When the chord information generating device and the performance assisting device are connected to each other by wireless communication, the performance assisting function becomes effective and a local off command is automatically transmitted to the electronic musical instrument. In this case, the performance information from the performance operator of the electronic musical instrument is not directly supplied to the tone generator/effect circuit (musical tone generation section) of the electronic musical instrument.

演奏補助装置は、設定された変換特性に基づいて、電子楽器から受信したノート情報の音高を和音情報発生装置から受信した和音情報に適合する音高に変換し、変換されたノート情報を電子楽器に送信する。一方、和音情報発生装置と演奏補助装置との無線通信の切断時または演奏補助機能のオフ時には、ローカルオンコマンドが電子楽器に自動的に送信される。電子楽器の演奏操作子からの演奏情報が電子楽器の音源・効果回路(楽音生成部)に供給される。 The performance assisting device converts the pitch of the note information received from the electronic musical instrument into a pitch suitable for the chord information received from the chord information generating device based on the set conversion characteristic, and converts the converted note information into an electronic note. Send to the instrument. On the other hand, the local on command is automatically transmitted to the electronic musical instrument when the wireless communication between the chord information generating device and the performance assisting device is disconnected or when the performance assisting function is turned off. Performance information from the performance operator of the electronic musical instrument is supplied to the sound source/effect circuit (musical sound generation unit) of the electronic musical instrument.

特開2010−231053号公報JP, 2010-231053, A

特許文献1に記載された演奏補助システムにおいて、和音情報発生装置または演奏補助装置の音源・効果回路を電子楽器の外部音源として用いることも可能である。例えば、電子楽器の演奏操作子の操作による演奏情報を外部音源に供給し、外部音源により得られる音響信号に基づく楽音を電子楽器から発生することが可能である。 In the performance assisting system described in Patent Document 1, it is possible to use the sound source/effect circuit of the chord information generating device or the performance assisting device as an external sound source of the electronic musical instrument. For example, it is possible to supply performance information by an operation of a performance operator of an electronic musical instrument to an external sound source, and generate a musical tone based on an acoustic signal obtained by the external sound source from the electronic musical instrument.

しかしながら、発音指示信号の発生から電子楽器の内部音源により生成される音響信号に基づく楽音の発生までの時間と発音指示信号の発生から外部音源により生成される音響信号に基づく楽音の発生までの時間とが異なる場合が生じる。すなわち、内部音源を用いた場合の発音指示信号を基準とする発音タイミングと外部音源を用いた場合の発音指示信号を基準とする発音タイミングとがずれることがある。それにより、使用者に違和感が生じる。 However, the time from the generation of the sounding instruction signal to the generation of the musical sound based on the acoustic signal generated by the internal sound source of the electronic musical instrument and the time from the generation of the sounding instruction signal to the generation of the musical sound based on the acoustic signal generated by the external sound source. There may be cases where and are different. That is, the sound generation timing based on the sound generation instruction signal when the internal sound source is used and the sound generation timing based on the sound generation instruction signal when the external sound source is used may deviate from each other. As a result, the user feels uncomfortable.

本発明の目的は、発音指示信号を基準とする発音タイミングを調整することが可能な電子楽器および電子楽器システムを提供することである。 An object of the present invention is to provide an electronic musical instrument and an electronic musical instrument system capable of adjusting a sounding timing based on a sounding instruction signal.

第1の発明に係る電子楽器は、発音指示信号を発生する信号発生手段と、信号発生手段により発生される発音指示信号に応答して内部音響信号を生成する内部音源と、信号発生手段による発音指示信号の発生から内部音響信号に基づく音の発生までの内部遅延時間の値を変更する変更手段と、外部音響信号を生成する外部音源に接続され、発音指示信号を外部音源に出力する出力手段と、発音指示信号に応答して外部音源により外部音響信号が生成される第1の状態を発音指示信号に応答して内部音源により内部音響信号が生成される第2の状態へ切り替える切り替え手段とを備え、変更手段は、第1の状態が第2の状態に切り替えられた場合に、第1の状態における発音指示信号の発生から外部音響信号に基づく音の発生までの時間と第2の状態における発音指示信号の発生から内部音響信号に基づく音の発生までの時間とが等しくなるように内部遅延時間の値を変更する。 An electronic musical instrument according to a first aspect of the present invention includes a signal generating means for generating a sounding instruction signal, an internal sound source for generating an internal acoustic signal in response to the sounding instruction signal generated by the signal generating means, and a sound generated by the signal generating means. Changing means for changing the value of the internal delay time from the generation of the instruction signal to the generation of the sound based on the internal acoustic signal, and the output means connected to the external sound source for generating the external acoustic signal and outputting the sounding instruction signal to the external sound source. Switching means for switching a first state in which an external sound source generates an external acoustic signal in response to a sounding instruction signal to a second state in which an internal sound source generates an internal acoustic signal in response to a sounding instruction signal. The changing means includes a time from the generation of the sounding instruction signal in the first state to the generation of a sound based on the external acoustic signal and the second state when the first state is switched to the second state. The value of the internal delay time is changed so that the time from the generation of the sounding instruction signal in to the generation of the sound based on the internal acoustic signal becomes equal.

その電子楽器においては、発音指示信号の発生から内部音響信号に基づく音の発生までの内部遅延時間の値が変更される。それにより、発音指示信号を基準とする発音タイミングを調整することが可能になる。 In the electronic musical instrument, the value of the internal delay time from the generation of the sounding instruction signal to the generation of the sound based on the internal acoustic signal is changed. Thereby, it becomes possible to adjust the sounding timing based on the sounding instruction signal.

また、上記の構成によれば、発音指示信号に応答して外部音源により外部音響信号が生成される第1の状態で外部音源から供給される外部音響信号に不調が生じた場合には、第1の状態が第2の状態に切り替えられる。それにより、発音指示信号に応答して内部音源により内部音響信号が生成される。このとき、第1の状態と第2の状態とで内部遅延時間を異なる値に設定することができる。それにより、使用者は、外部音響信号による発音タイミングと内部音響信号による発音タイミングとのずれを考慮して内部音響信号による発音タイミングを調整することができる。なお、電子楽器が複数のチャンネルを有する場合には、外部音源を用いた第1の状態から内部音源を用いた第2の状態に切り替えられるチャンネルについてのみ第1の状態と第2の状態とで内部遅延時間が異なる値に設定されてもよい。 Further, according to the above configuration, when the external acoustic signal supplied from the external sound source is out of order in the first state in which the external sound source generates the external acoustic signal in response to the sounding instruction signal, The state 1 is switched to the second state. Thereby, an internal sound signal is generated by the internal sound source in response to the sounding instruction signal. At this time, the internal delay time can be set to different values in the first state and the second state. Thereby, the user can adjust the sounding timing of the internal acoustic signal in consideration of the difference between the sounding timing of the external acoustic signal and the sounding timing of the internal acoustic signal. When the electronic musical instrument has a plurality of channels, only the channels that can be switched from the first state using the external sound source to the second state using the internal sound source are in the first state and the second state. The internal delay times may be set to different values.

さらに、上記の変更手段は、第1の状態が第2の状態に切り替えられた場合に、第1の状態における発音指示信号の発生から外部音響信号に基づく音の発生までの時間と第2の状態における発音指示信号の発生から内部音響信号に基づく音の発生までの時間とが等しくなるように内部遅延時間の値を変更する。この場合、第1の状態と第2の状態とで、発音指示信号の発生から音の発生までの時間が等しくなる。したがって、外部音響信号に不調が生じた場合でも、使用者の違和感を抑制しつつ発音を継続することができる。 Furthermore, when the first state is switched to the second state, the changing means sets the time from the generation of the sounding instruction signal in the first state to the generation of the sound based on the external acoustic signal and the second state. from the occurrence of sound generation instruction signal while the time and to the generation of sound based on the internal sound signal to change the value of the internal delay time to be equal. In this case, the time from the generation of the sound generation instruction signal to the generation of the sound becomes equal in the first state and the second state. Therefore, even when a malfunction occurs in the external acoustic signal, it is possible to continue sounding while suppressing the user's discomfort.

第2の発明に係る電子楽器は、発音指示信号を発生する信号発生手段と、信号発生手段により発生される発音指示信号に応答して内部音響信号を生成する内部音源と、信号発生手段による発音指示信号の発生から内部音響信号に基づく音の発生までの内部遅延時間の値を変更する変更手段と、外部音響信号を生成する外部音源に接続され、発音指示信号を外部音源に出力する出力手段と、発音指示信号に応答して外部音源により外部音響信号が生成される第1の状態を発音指示信号に応答して内部音源により内部音響信号が生成される第2の状態へ切り替える切り替え手段と、外部音源により生成される外部音響信号を帰還音響信号として受ける入力手段と、第1の状態における発音指示信号の発生から外部音響信号に基づく音の発生までの時間と第2の状態における発音指示信号の発生から内部音響信号に基づく音の発生までの時間との差分を帰還音響信号に基づいて推定する推定手段とを備え、変更手段は、第1の状態が第2の状態へ切り替えられた場合に、内部遅延時間の値を推定手段により推定された差分に基づいて変更する。この場合、第1の状態が第2の状態に切り替えられた場合に設定されるべき内部遅延時間の値が、推定された差分に基づいて自動的に変更される。 An electronic musical instrument according to a second aspect of the present invention includes a signal generating means for generating a sounding instruction signal, an internal sound source for generating an internal acoustic signal in response to the sounding instruction signal generated by the signal generating means, and a sound generated by the signal generating means. Changing means for changing the value of the internal delay time from the generation of the instruction signal to the generation of the sound based on the internal acoustic signal, and the output means connected to the external sound source for generating the external acoustic signal and outputting the sounding instruction signal to the external sound source. Switching means for switching a first state in which an external sound source generates an external acoustic signal in response to a sounding instruction signal to a second state in which an internal sound source generates an internal acoustic signal in response to a sounding instruction signal. An input means for receiving an external acoustic signal generated by an external sound source as a return acoustic signal, a time from generation of a sounding instruction signal in the first state to generation of a sound based on the external acoustic signal, and sounding instruction in the second state e Bei and estimating means for estimating the occurrence of the signal based on the difference between the time until the generation of sound based on the internal sound signal in the feedback acoustic signal changing means, the first state is switched to the second state If the, to change on the basis of the difference estimated by the estimating means the value of the internal delay time. In this case, the value of the internal delay time that should be set when the first state is switched to the second state is automatically changed based on the estimated difference.

推定手段は、発音指示信号が複数音の同時発生を指示する場合、複数音に対応する複数の帰還音響信号のうち予め定められた1つの帰還音響信号を推定に用いてもよい。この場合、1つの帰還音響信号を推定に用いることにより、推定処理が単純化する。 When the sounding instruction signal indicates the simultaneous generation of a plurality of sounds, the estimating means may use one predetermined return sound signal among the plurality of return sound signals corresponding to the plurality of sounds for the estimation. In this case, the estimation process is simplified by using one feedback acoustic signal for estimation.

推定手段は、第1の状態の所定のタイミングにおいて、内部音源により内部音響信号を生成させるとともに、生成される内部音響信号と帰還音響信号との時間差に基づいて内部遅延時間の値を学習する学習手段を含んでもよい。この場合、適切な内部遅延時間の値を自動的に取得することができる。 The estimating means generates an internal acoustic signal by an internal sound source at a predetermined timing in the first state, and learns a value of the internal delay time based on a time difference between the generated internal acoustic signal and the return acoustic signal. Means may be included. In this case, an appropriate value of the internal delay time can be automatically acquired.

電子楽器は、入力手段への帰還音響信号の入力の状態を検出する検出手段をさらに備え、切り替え手段は、入力手段への帰還音響信号の入力が正常な状態から入力手段への帰還音響信号の入力が正常でない状態への移行に応答して、第1の状態を第2の状態に切り替えてもよい。この構成によれば、外部音源から供給される外部音響信号に不調が生じた場合に、電子楽器を第1の状態から第2の状態に適切に切り替えることができる。 The electronic musical instrument further comprises detection means for detecting the state of input of the return sound signal to the input means, and the switching means changes the state of input of the return sound signal to the input means from the normal state of input of the return sound signal to the input means. The first state may be switched to the second state in response to the transition to the abnormal input state. According to this configuration, the electronic musical instrument can be appropriately switched from the first state to the second state when a malfunction occurs in the external acoustic signal supplied from the external sound source.

切り替え手段は、入力手段への帰還音響信号の入力が正常でない状態から入力手段への帰還音響信号の入力が正常な状態への移行に応答して、第2の状態を第1の状態に切り替えてもよい。この構成によれば、外部音源から供給される外部音響信号の不調が解消された場合に、電子楽器を第2の状態から第1の状態に適切に切り替えることができる。 The switching unit switches the second state to the first state in response to a transition from a state where the input of the return sound signal to the input unit is not normal to a state where the input of the return sound signal to the input unit is normal. May be. According to this configuration, the electronic musical instrument can be appropriately switched from the second state to the first state when the malfunction of the external acoustic signal supplied from the external sound source is resolved.

電子楽器は、複数のチャンネルを有し、変更手段は、複数のチャンネルの各々について内部遅延時間の値を変更してもよい。これにより、チャンネルごとにより適切な内部遅延時間の値を設定することができる。 The electronic musical instrument may have a plurality of channels, and the changing unit may change the value of the internal delay time for each of the plurality of channels. This makes it possible to set an appropriate value for the internal delay time for each channel.

第3の発明に係る電子楽器システムは、上記の電子楽器と、電子楽器に接続される1または複数の外部音源と、電子楽器の内部音源により生成される内部音響信号および1または複数の外部音源により生成される外部音響信号に基づいて音を発生する音発生手段とを備える。その電子楽器システムによれば、電子楽器の内部音源による発音タイミングを調整することができるので、内部音源を用いた場合の発音指示信号の発生から発音までの時間と外部音源を用いた場合の発音指示信号の発生から発音までの時間とのずれを調整することができる。 An electronic musical instrument system according to a third aspect of the present invention includes the above electronic musical instrument, one or a plurality of external sound sources connected to the electronic musical instrument, an internal acoustic signal generated by the internal sound source of the electronic musical instrument, and one or a plurality of external sound sources. Sound generating means for generating a sound based on an external acoustic signal generated by. According to the electronic musical instrument system, it is possible to adjust the sounding timing by the internal sound source of the electronic musical instrument. Therefore, when the internal sound source is used, the time from the generation of the sounding instruction signal to the sounding and the sound generation by the external sound source are The time lag from the generation of the instruction signal to the sound generation can be adjusted.

本発明によれば、発音指示信号を基準とする発音のタイミングを調整することができる。 According to the present invention, it is possible to adjust the timing of sounding based on the sounding instruction signal.

本発明の一実施の形態に係る電子楽器システムの構成を示すブロック図である。It is a block diagram which shows the structure of the electronic musical instrument system which concerns on one embodiment of this invention. 図1の音源制御部の機能的な構成を示すブロック図である。It is a block diagram which shows the functional structure of the sound source control part of FIG. 音源制御部により行われる音源制御処理を示すフローチャートである。6 is a flowchart showing a sound source control process performed by a sound source control unit. 音源制御部により行われる音源制御処理を示すフローチャートである。6 is a flowchart showing a sound source control process performed by a sound source control unit. パラメータの領域設定の一例を説明するための図である。It is a figure for explaining an example of area setting of a parameter. パラメータの領域設定の他の例を説明するための図である。It is a figure for demonstrating the other example of the area setting of a parameter.

以下、本発明の実施の形態に係る電子楽器および電子楽器システムについて図面を用いて詳細に説明する。 Hereinafter, electronic musical instruments and electronic musical instrument systems according to embodiments of the present invention will be described in detail with reference to the drawings.

(1)電子楽器システムの構成
図1は本発明の一実施の形態に係る電子楽器システムの構成を示すブロック図である。図1の電子楽器システム100は、電子楽器1および1以上の外部音源20により構成される。本実施の形態では、電子楽器1に複数の外部音源20a,20bが接続される。以下、複数の外部音源20の各々を区別する場合には、各外部音源20を外部音源20aまたは外部音源20bと呼ぶ。
(1) Configuration of Electronic Musical Instrument System FIG. 1 is a block diagram showing the configuration of an electronic musical instrument system according to an embodiment of the present invention. The electronic musical instrument system 100 of FIG. 1 is composed of the electronic musical instrument 1 and one or more external sound sources 20. In the present embodiment, a plurality of external sound sources 20a and 20b are connected to the electronic musical instrument 1. Hereinafter, when distinguishing each of the plurality of external sound sources 20, each external sound source 20 is referred to as an external sound source 20a or an external sound source 20b.

電子楽器1は、演奏操作子2、検出回路3、設定操作子4、検出回路5、ディスプレイ6および表示回路7を備える。演奏操作子2は、鍵盤またはドラムパッド等を含む。演奏操作子2は、検出回路3を介してバス19に接続され、使用者の演奏動作に基づく演奏データが演奏操作子2により入力される。設定操作子4は、オンオフ操作されるスイッチ、回転操作されるロータリエンコーダ、またはスライド操作されるリニアエンコーダ等を含み、検出回路5を介してバス19に接続される。この設定操作子4は、音色の切り替え、音量の調整、電源のオンオフおよび各種設定を行うために用いられる。 The electronic musical instrument 1 includes a performance operator 2, a detection circuit 3, a setting operator 4, a detection circuit 5, a display 6 and a display circuit 7. The performance operator 2 includes a keyboard or a drum pad. The performance operator 2 is connected to the bus 19 via the detection circuit 3, and performance data based on the performance operation of the user is input by the performance operator 2. The setting operator 4 includes a switch that is turned on and off, a rotary encoder that is turned, a linear encoder that is slid, and the like, and is connected to the bus 19 via the detection circuit 5. The setting operator 4 is used for switching tones, adjusting the volume, turning the power on/off, and performing various settings.

ディスプレイ6は、表示回路7を介してバス19に接続される。ディスプレイ6には、楽曲名、チャンネル番号、音色名、パラメータ値、楽譜、またはその他の各種情報が表示される。ディスプレイ6がタッチパネルディスプレイであってもよい。この場合、使用者は、ディスプレイ6を操作することにより各種操作を指示することができる。 The display 6 is connected to the bus 19 via the display circuit 7. The display 6 displays a music title, a channel number, a tone color name, a parameter value, a musical score, or other various information. The display 6 may be a touch panel display. In this case, the user can instruct various operations by operating the display 6.

電子楽器1は、RAM(ランダムアクセスメモリ)9、ROM(リードオンリメモリ)10、CPU(中央演算処理装置)11、タイマ12、記憶装置13および通信I/F(インタフェース)14をさらに備える。RAM9、ROM10、CPU11、記憶装置13および通信I/F14はバス19に接続され、タイマ12はCPU11に接続される。外部記憶装置15等の外部機器が通信I/F14を介してバス19に接続されてもよい。RAM9、ROM10およびCPU11が音源制御部8を構成する。 The electronic musical instrument 1 further includes a RAM (random access memory) 9, a ROM (read only memory) 10, a CPU (central processing unit) 11, a timer 12, a storage device 13, and a communication I/F (interface) 14. The RAM 9, the ROM 10, the CPU 11, the storage device 13, and the communication I/F 14 are connected to the bus 19, and the timer 12 is connected to the CPU 11. An external device such as the external storage device 15 may be connected to the bus 19 via the communication I/F 14. The RAM 9, the ROM 10, and the CPU 11 constitute the sound source control unit 8.

RAM9は、例えば揮発性メモリからなり、CPU11の作業領域として用いられるとともに、各種データを一時的に記憶する。ROM10は、例えば不揮発性メモリからなり、システムプログラムおよび音源制御プログラム等のコンピュータプログラムを記憶する。CPU11は、ROM10に記憶された音源制御プログラムをRAM9上で実行することにより後述する音源制御処理を行う。タイマ12は、現在時刻等の時間情報をCPU11に与える。 The RAM 9 is, for example, a volatile memory, is used as a work area of the CPU 11, and temporarily stores various data. The ROM 10 is composed of, for example, a non-volatile memory and stores computer programs such as a system program and a sound source control program. The CPU 11 executes a sound source control program stored in the ROM 10 on the RAM 9 to perform a sound source control process described later. The timer 12 gives time information such as the current time to the CPU 11.

記憶装置13は、ハードディスク、光学ディスク、磁気ディスクまたはメモリカード等の記憶媒体を含む。この記憶装置13には、一または複数の楽曲データが記憶される。楽曲データは、楽曲を表す音響信号(オーディオ信号)である。ここで、音響信号は、音の変化を表す波形信号を所定のサンプリング周期でサンプリングすることにより得られる複数のサンプリング値からなる。演奏操作子2から入力される演奏データに基づいて楽曲データが生成され、記憶装置13に記憶されてもよい。演奏データおよび楽曲データは、後述する発音指示信号を含む。上記の音源制御プログラムが記憶装置13に記憶されてもよい。外部記憶装置15は、記憶装置13と同様に、ハードディスク、光学ディスク、磁気ディスクまたはメモリカード等の記憶媒体を含み、楽曲データ等の各種データまたは音源制御プログラムを記憶してもよい。 The storage device 13 includes a storage medium such as a hard disk, an optical disk, a magnetic disk or a memory card. The storage device 13 stores one or more pieces of music data. The music data is an audio signal (audio signal) representing a music. Here, the acoustic signal is composed of a plurality of sampling values obtained by sampling a waveform signal representing a change in sound at a predetermined sampling period. Music data may be generated based on the performance data input from the performance operator 2 and stored in the storage device 13. The performance data and the music data include a pronunciation instruction signal described later. The sound source control program may be stored in the storage device 13. Like the storage device 13, the external storage device 15 may include a storage medium such as a hard disk, an optical disk, a magnetic disk, or a memory card, and may store various data such as music data or a sound source control program.

なお、本実施の形態における音源制御プログラムは、コンピュータが読み取り可能な記録媒体に格納された形態で提供され、ROM10または記憶装置13にインストールされてもよい。また、通信I/F14が通信網に接続されている場合、通信網に接続されたサーバから配信された音源制御プログラムがROM10または記憶装置13にインストールされてもよい。 The sound source control program according to the present embodiment may be provided in a form stored in a computer-readable recording medium and installed in ROM 10 or storage device 13. Further, when the communication I/F 14 is connected to the communication network, the sound source control program distributed from the server connected to the communication network may be installed in the ROM 10 or the storage device 13.

電子楽器1は、内部音源16、サウンドシステム17および遅延装置18をさらに備える。内部音源16はバス19に接続され、遅延装置18は、内部音源16およびバス19に接続される。さらに、サウンドシステム17は遅延装置18およびバス19に接続される。内部音源16は、演奏操作子2から入力される演奏データまたは記憶装置13から与えられる楽曲データ等に基づいて音響信号を生成するとともにその音響信号に音響効果を付与する。遅延装置18は、例えばディレイバッファ等を含む遅延回路により構成され、内部音源16において生成された音響信号を遅延させつつサウンドシステム17へ伝送する。また、遅延装置18は、音響信号の遅延時間を任意の時間に変更可能に構成される。 The electronic musical instrument 1 further includes an internal sound source 16, a sound system 17, and a delay device 18. The internal sound source 16 is connected to the bus 19, and the delay device 18 is connected to the internal sound source 16 and the bus 19. Further, the sound system 17 is connected to the delay device 18 and the bus 19. The internal sound source 16 generates an acoustic signal based on the performance data input from the performance operator 2 or the music data provided from the storage device 13 and imparts an acoustic effect to the acoustic signal. The delay device 18 is composed of, for example, a delay circuit including a delay buffer or the like, and transmits the sound signal generated in the internal sound source 16 to the sound system 17 while delaying it. Further, the delay device 18 is configured to be able to change the delay time of the acoustic signal to an arbitrary time.

各外部音源20は、通信I/F14に接続され、演奏操作子2から入力される演奏データまたは記憶装置13から与えられる楽曲データ等に基づいて音響信号を生成するとともにその音響信号に音響効果を付与する。また、各外部音源20は、生成された音響信号を通信I/F14に出力する。サウンドシステム17は、D/A(デジタル/アナログ)変換回路、増幅器およびスピーカを含み、内部音源16または外部音源20から与えられる音響信号に基づく楽音を発生する。 Each external sound source 20 is connected to the communication I/F 14 and generates an acoustic signal based on the performance data input from the performance operator 2 or the music data provided from the storage device 13 and produces an acoustic effect on the acoustic signal. Give. Further, each external sound source 20 outputs the generated acoustic signal to the communication I/F 14. The sound system 17 includes a D/A (digital/analog) conversion circuit, an amplifier and a speaker, and generates a musical sound based on an acoustic signal given from the internal sound source 16 or the external sound source 20.

本実施の形態では、通信I/F14は、MIDI(Musical Instrument Digital Interface)入力端子、MIDI出力端子、オーディオ入力端子およびオーディオ出力端子等を含む。通信I/F14と各外部音源20とは、MIDIケーブルおよびオーディオケーブルにより接続され、MIDI規格に基づく通信を行う。また、本実施の形態では、電子楽器1が複数のMIDIチャンネル(以下、単にチャンネルと呼ぶ。)を有する。複数の外部音源20a,20bにそれぞれ異なるチャンネルCH1,CH3が割り当てられ、内部音源16にチャンネルCH2が割り当てられる。 In the present embodiment, the communication I/F 14 includes a MIDI (Musical Instrument Digital Interface) input terminal, a MIDI output terminal, an audio input terminal, an audio output terminal, and the like. The communication I/F 14 and each external sound source 20 are connected by a MIDI cable and an audio cable, and perform communication based on the MIDI standard. Further, in the present embodiment, the electronic musical instrument 1 has a plurality of MIDI channels (hereinafter simply referred to as channels). Different channels CH1 and CH3 are assigned to the plurality of external sound sources 20a and 20b, and a channel CH2 is assigned to the internal sound source 16.

(2)音源制御部の動作
図1の電子楽器1の使用者は、設定操作子4を操作することにより、複数の音色から選択された所望の音色を内部音源16および外部音源20に設定することができる。内部音源16は、発音指示信号が与えられると、設定された音色の音響信号を生成する。外部音源20は、発音指示信号が与えられると、設定された音色の音響信号を生成する。これにより、使用者は、種々の音色の楽音をサウンドシステム17から再生させつつ電子楽器1を演奏することができる。以下、内部音源16により生成される音響信号を内部音響信号と呼び、外部音源20により生成される音響信号を外部音響信号と呼ぶ。
(2) Operation of Sound Source Control Unit The user of the electronic musical instrument 1 of FIG. 1 operates the setting operator 4 to set a desired tone color selected from a plurality of tones in the internal tone generator 16 and the external tone generator 20. be able to. When the sound generation instruction signal is given, the internal sound source 16 generates an acoustic signal of the set tone color. The external sound source 20, when given the sounding instruction signal, generates an acoustic signal of the set tone color. As a result, the user can play the electronic musical instrument 1 while reproducing musical tones of various tones from the sound system 17. Hereinafter, the acoustic signal generated by the internal sound source 16 is called an internal acoustic signal, and the acoustic signal generated by the external sound source 20 is called an external acoustic signal.

外部音源20に割り当てられたチャンネルについて、外部音源20と通信I/F14との間の接続不良、外部音源20と通信I/F14との間の通信の切断、外部音源20の不具合等が生じた場合、外部音源20から電子楽器1に外部音響信号が与えられない状態、外部音源20から電子楽器1に与えられる外部音響信号が途切れる状態、または外部音源20から電子楽器1に与えられる外部音響信号が不安定となる状態等の外部音響信号の不調が生じることがある。このような外部音響信号の不調時(外部音響信号の入力の状態が正常でない場合)には、所望の楽音をサウンドシステム17から発生することができない。 Regarding the channel assigned to the external sound source 20, a connection failure between the external sound source 20 and the communication I/F 14, a disconnection of communication between the external sound source 20 and the communication I/F 14, a malfunction of the external sound source 20, or the like has occurred. In this case, a state in which an external acoustic signal is not applied from the external sound source 20 to the electronic musical instrument 1, a state in which the external acoustic signal applied to the electronic musical instrument 1 from the external sound source 20 is interrupted, or an external acoustic signal applied to the electronic musical instrument 1 from the external sound source 20. The external acoustic signal may be out of order, such as when the sound is unstable. When such an external acoustic signal malfunctions (when the input state of the external acoustic signal is not normal), the desired sound cannot be generated from the sound system 17.

そこで、音源制御部8は、外部音源20に割り当てられたチャンネルについて、外部音響信号の不調時に、外部音響信号を内部音源16の内部音響信号に切り替える。この場合、音源制御部8は、外部音響信号の音色に予め対応付けられた音色(例えば所定の類似度を有する音色)で内部音響信号を生成するように内部音源16の内部音響信号の音色を設定する。また、音源制御部8は、外部音源20に与えられるべき発音指示信号を内部音源16に与える。これにより、外部音響信号の音色に予め対応付けられた音色の内部音響信号が内部音源16により生成される。したがって、使用者は、外部音響信号の不調時でも所望の音色の楽音をサウンドシステム17から発生させつつ電子楽器1の演奏を続行することができる。なお、外部音響信号の音色に予め対応付けられた音色には、外部音響信号の音色と同一の音色も含まれる。 Therefore, the sound source control unit 8 switches the external sound signal to the internal sound signal of the internal sound source 16 when the external sound signal of the channel assigned to the external sound source 20 is out of order. In this case, the sound source control unit 8 changes the tone color of the internal acoustic signal of the internal sound source 16 so as to generate the internal tone signal with the tone color previously associated with the tone color of the external acoustic signal (for example, the tone color having a predetermined similarity). Set. Further, the sound source control unit 8 gives a sounding instruction signal to be given to the external sound source 20, to the internal sound source 16. As a result, the internal sound source 16 generates an internal sound signal of a tone color previously associated with the tone color of the external sound signal. Therefore, the user can continue playing the electronic musical instrument 1 while causing the sound system 17 to generate a musical tone of a desired tone color even when the external acoustic signal is out of order. It should be noted that the tone color previously associated with the tone color of the external acoustic signal includes the tone color that is the same as the tone color of the external acoustic signal.

以下、発音指示信号の発生から外部音響信号に基づく楽音の発生までの遅延時間を外部遅延時間と呼び、発音指示信号の発生から内部音響信号に基づく楽音の発生までの遅延時間を内部遅延時間と呼ぶ。外部音響信号の不調が発生する前後で、外部遅延時間と内部遅延時間とが異なると、使用者が違和感を覚える。本実施の形態では、外部遅延時間が内部遅延時間よりも大きい場合について説明する。 Hereinafter, the delay time from the generation of the sounding instruction signal to the generation of the musical sound based on the external acoustic signal is called the external delay time, and the delay time from the generation of the sounding instruction signal to the generation of the musical sound based on the internal acoustic signal is called the internal delay time. Call. If the external delay time and the internal delay time are different before and after the external acoustic signal disorder occurs, the user feels uncomfortable. In this embodiment, a case where the external delay time is longer than the internal delay time will be described.

そこで、音源制御部8は、外部音響信号の不調が発生したときに、内部遅延時間が外部遅延時間に等しくなるように遅延装置18を制御する。なお、音源制御部8は、外部音響信号の不調が発生した場合に限らず、使用者による設定操作子4の操作に基づいて、外部音源20による外部音響信号の生成を内部音源16による内部音響信号の生成に切り替える処理を行ってもよい。 Therefore, the sound source control unit 8 controls the delay device 18 so that the internal delay time becomes equal to the external delay time when a malfunction occurs in the external acoustic signal. Note that the sound source control unit 8 does not always generate the external sound signal by the internal sound source 16 based on the operation of the setting operator 4 by the user, not only when the malfunction of the external sound signal occurs. A process of switching to signal generation may be performed.

(3)音源制御部の機能的な構成
図2は図1の音源制御部8の機能的な構成を示すブロック図である。図2に示すように、音源制御部8は、指示信号発生部81、音源切替部82、指示信号出力部83、帰還音響信号入力部84、帰還音響信号検出部85および切替制御部86を含む。また、音源制御部8は、音色設定部87、遅延学習部88、遅延変更部89および受付部90をさらに含む。図1のCPU11がROM10または記憶装置13に記憶された音源制御プログラムを実行することにより図2の音源制御部8の各部の機能が実現される。
(3) Functional Configuration of Sound Source Control Unit FIG. 2 is a block diagram showing the functional configuration of the sound source control unit 8 in FIG. As shown in FIG. 2, the sound source control unit 8 includes an instruction signal generation unit 81, a sound source switching unit 82, an instruction signal output unit 83, a return sound signal input unit 84, a return sound signal detection unit 85, and a switching control unit 86. .. The sound source control unit 8 further includes a tone color setting unit 87, a delay learning unit 88, a delay changing unit 89, and a receiving unit 90. When the CPU 11 of FIG. 1 executes the sound source control program stored in the ROM 10 or the storage device 13, the functions of each unit of the sound source control unit 8 of FIG. 2 are realized.

指示信号発生部81は、演奏操作子2の操作または楽曲データに基づいてチャンネルごとに発音指示信号等の各種指示信号を発生する。指示信号発生部81により発生された発音指示信号のうち、内部音源16に与えられるべき発音指示信号は、内部音源16に与えられる。指示信号発生部81により発生された発音指示信号のうち外部音源20に与えられるべき発音指示信号は、音源切替部82および指示信号出力部83に与えられる。本実施の形態では、チャンネルCH2の発音指示信号が内部音源16に与えられ、チャンネルCH1,CH3の発音指示信号が外部音源20に与えられる。内部音源16または外部音源20への発音指示信号の供給は、例えばMIDI規格のローカルオンコマンドおよびローカルオフコマンドにより切り替えられる。音源切替部82は、取得した発音指示信号を内部音源16に与える接続状態と、内部音源16に与えない非接続状態との間でチャンネルごとに切り替え可能である。 The instruction signal generator 81 generates various instruction signals such as a sounding instruction signal for each channel based on the operation of the performance operator 2 or the music data. Of the pronunciation instruction signals generated by the instruction signal generator 81, the pronunciation instruction signal to be given to the internal sound source 16 is given to the internal sound source 16. The sounding instruction signal to be given to the external sound source 20 among the sounding instruction signals generated by the instruction signal generating section 81 is given to the sound source switching section 82 and the instruction signal output section 83. In the present embodiment, the sounding instruction signal of channel CH2 is given to internal sound source 16, and the sounding instruction signal of channels CH1 and CH3 is given to external sound source 20. The supply of the sounding instruction signal to the internal sound source 16 or the external sound source 20 is switched by a local-on command and a local-off command of the MIDI standard, for example. The sound source switching unit 82 can switch, for each channel, between a connected state in which the acquired sounding instruction signal is supplied to the internal sound source 16 and a disconnected state in which the acquired sounding instruction signal is not supplied to the internal sound source 16.

指示信号出力部83は、通信I/F14に接続され、指示信号発生部81により発生された発音指示信号を外部音源20に出力する。外部音源20は、発音指示信号に応答して外部音響信号を生成し、生成された外部音響信号を通信I/F14に入力する。帰還音響信号入力部84は、通信I/F14から外部音響信号を帰還音響信号(オーディオリターン)として取得する。帰還音響信号検出部85は、帰還音響信号入力部84への帰還音響信号の入力の状態を検出する。 The instruction signal output unit 83 is connected to the communication I/F 14 and outputs the sounding instruction signal generated by the instruction signal generation unit 81 to the external sound source 20. The external sound source 20 generates an external acoustic signal in response to the sounding instruction signal, and inputs the generated external acoustic signal to the communication I/F 14. The return sound signal input unit 84 acquires an external sound signal from the communication I/F 14 as a return sound signal (audio return). The return sound signal detection unit 85 detects the state of input of the return sound signal to the return sound signal input unit 84.

切替制御部86は、帰還音響信号検出部85により検出される帰還音響信号の入力の状態が正常である場合には、音源切替部82を非接続状態にする。それにより、サウンドシステム17から外部音響信号に基づく楽音が発生される。一方、切替制御部86は、帰還音響信号検出部85により検出される帰還音響信号の入力の状態が正常でない場合には、音源切替部82を接続状態に切り替える。それにより、サウンドシステム17から内部音響信号に基づく楽音が発生される。 When the input state of the return sound signal detected by the return sound signal detection section 85 is normal, the switching control section 86 sets the sound source switching section 82 to the non-connection state. As a result, the sound system 17 generates a musical sound based on the external acoustic signal. On the other hand, the switching control unit 86 switches the sound source switching unit 82 to the connection state when the input state of the return sound signal detected by the return sound signal detection unit 85 is not normal. Thereby, the sound system 17 generates a musical sound based on the internal acoustic signal.

使用者による設定操作子4の操作に基づいて、音源切替部82を接続状態または非接続状態に切り替えることも可能である。そのため、使用者は、外部音響信号の不調に気付いた場合に、音源切替部82を非接続状態から接続状態に切り替えることができる。また、使用者は、外部音響信号の不調が解消されたことに気付いた場合に、音源切替部82を接続状態から非接続状態に切り替えることができる。 It is also possible to switch the sound source switching unit 82 to the connected state or the disconnected state based on the operation of the setting operator 4 by the user. Therefore, the user can switch the sound source switching unit 82 from the non-connection state to the connection state when the user notices the malfunction of the external acoustic signal. In addition, the user can switch the sound source switching unit 82 from the connected state to the disconnected state when the user notices that the malfunction of the external acoustic signal has been resolved.

音色設定部87は、音源切替部82が接続状態にあるときに(サウンドシステム17から外部音響信号に基づく楽音が発生されているときに)外部音響信号の音色に予め対応付けられた音色の内部音響信号を生成するように内部音源16の音色を設定する。 The tone color setting unit 87 is provided with the inside of the tone color previously associated with the tone color of the external acoustic signal when the sound source switching unit 82 is in the connected state (when the musical tone based on the external acoustic signal is generated from the sound system 17). The tone color of the internal sound source 16 is set so as to generate an acoustic signal.

遅延学習部88は、音源切替部82が非接続状態にあるときの外部遅延時間と音源切替部82が接続状態にあるときの内部遅延時間との差分を推定し、推定される差分を遅延量として記憶装置13に記憶する。具体的には、遅延学習部88は、音源切替部82が非接続状態にある所定の遅延学習タイミングにおいて、発音指示信号を発生するように指示信号発生部81を制御する。指示信号発生部81により発生された発音指示信号は、内部音源16および外部音源20に与えられる。それにより、内部音源16により内部音響信号が生成されるとともに、外部音源20により外部音響信号が生成される。遅延学習部88は、内部音源16により内部音響信号が生成される時点と外部音源20から帰還音響信号入力部84への帰還音響信号の入力の時点との時間差を算出する。この場合、算出された時間差は、内部遅延時間と外部遅延時間との差分に等しいと推定される。そこで、遅延学習部88は、算出された時間差を、遅延装置18に設定すべき遅延量として記憶装置13に記憶する。したがって、記憶装置13に記憶される遅延量により、音源切替部82が非接続状態から接続状態に切り替わる際に設定されるべき適切な内部遅延時間の値が定まる。 The delay learning unit 88 estimates the difference between the external delay time when the sound source switching unit 82 is in the disconnected state and the internal delay time when the sound source switching unit 82 is in the connected state, and the estimated difference is the delay amount. Is stored in the storage device 13. Specifically, the delay learning unit 88 controls the instruction signal generating unit 81 to generate the sounding instruction signal at a predetermined delay learning timing when the sound source switching unit 82 is in the non-connection state. The sounding instruction signal generated by the instruction signal generator 81 is given to the internal sound source 16 and the external sound source 20. As a result, the internal sound source 16 generates an internal acoustic signal, and the external sound source 20 generates an external acoustic signal. The delay learning unit 88 calculates the time difference between the time when the internal sound signal is generated by the internal sound source 16 and the time when the return sound signal is input from the external sound source 20 to the return sound signal input unit 84. In this case, the calculated time difference is estimated to be equal to the difference between the internal delay time and the external delay time. Therefore, the delay learning unit 88 stores the calculated time difference in the storage device 13 as the delay amount to be set in the delay device 18. Therefore, the amount of delay stored in the storage device 13 determines an appropriate internal delay time value to be set when the sound source switching unit 82 is switched from the disconnected state to the connected state.

遅延変更部89は、音源切替部82の非接続状態から接続状態への切り替わりに応答して、記憶装置13に記憶された遅延量を取得し、取得された遅延量が発生するように遅延装置18を制御する。 The delay changing unit 89 acquires the delay amount stored in the storage device 13 in response to the switching of the sound source switching unit 82 from the non-connection state to the connection state, and the delay device is generated so that the acquired delay amount occurs. Control 18

受付部90は、設定操作子4からの遅延量の入力を受け付ける。遅延変更部89は、受付部90により遅延量の入力が受け付けられた場合、音源切替部82の非接続状態から接続状態への切り替わりに応答して、受け付けられた値の内部遅延時間が発生するように遅延装置18を制御する。 The reception unit 90 receives the input of the delay amount from the setting operator 4. When the input of the delay amount is accepted by the accepting unit 90, the delay changing unit 89 responds to the switching of the sound source switching unit 82 from the disconnected state to the connected state, and the internal delay time of the accepted value occurs. The delay device 18 is controlled as follows.

(4)音源制御処理
図3および図4は音源制御部8により行われる音源制御処理を示すフローチャートである。図3および図4の音源制御処理は、図1のCPU11がROM10または記憶装置13に記憶された音源制御プログラムを実行することにより行われる。以下の音源制御処理は、外部音源20に割り当てられた各チャンネルについて行われる。初期状態においては、図2の音源切替部82は非接続状態にある。
(4) Sound Source Control Process FIGS. 3 and 4 are flowcharts showing a sound source control process performed by the sound source control unit 8. The sound source control process of FIGS. 3 and 4 is performed by the CPU 11 of FIG. 1 executing the sound source control program stored in the ROM 10 or the storage device 13. The following sound source control processing is performed for each channel assigned to the external sound source 20. In the initial state, the sound source switching unit 82 of FIG. 2 is in the non-connection state.

まず、指示信号発生部81は、演奏操作子2の操作が検出されたか否かを判定する(ステップS21)。演奏操作子2の操作が検出されていない場合には、指示信号発生部81は、演奏操作子2の操作が検出されるまで待機する。演奏操作子2の操作が検出された場合には、指示信号発生部81は、発音指示信号を生成し、指示信号出力部83および通信I/F14を介して発音指示信号を外部音源20へ供給する(ステップS22)。外部音源20は、発音指示信号が供給されると、設定された音色の外部音響信号を生成する。生成された外部音響信号は、通信I/F14を通してサウンドシステム17へ供給される。 First, the instruction signal generator 81 determines whether or not the operation of the performance operator 2 has been detected (step S21). When the operation of the performance operator 2 is not detected, the instruction signal generator 81 waits until the operation of the performance operator 2 is detected. When the operation of the performance operator 2 is detected, the instruction signal generation unit 81 generates a sounding instruction signal and supplies the sounding instruction signal to the external sound source 20 via the instruction signal output unit 83 and the communication I/F 14. Yes (step S22). When the sounding instruction signal is supplied, the external sound source 20 generates an external sound signal of the set tone color. The generated external acoustic signal is supplied to the sound system 17 through the communication I/F 14.

次に、音色設定部87は、設定操作子4の操作に基づいて音色設定指示信号が発生されたか否かを判定する(ステップS23)。音色設定指示信号には、外部音源20に設定されるべき音色を示す情報が含まれる。音色設定指示信号が発生されない場合には、音色設定部87はステップS25に進む。音色設定指示信号が発生された場合には、音色設定部87は、外部音源20に設定されるべき音色に対応付けられた音色を内部音源16に設定する(ステップS24)。 Next, the tone color setting section 87 determines whether or not a tone color setting instruction signal is generated based on the operation of the setting operator 4 (step S23). The tone color setting instruction signal includes information indicating a tone color to be set in the external sound source 20. When the tone color setting instruction signal is not generated, the tone color setting unit 87 proceeds to step S25. When the timbre setting instruction signal is generated, the timbre setting unit 87 sets the timbre associated with the timbre to be set in the external sound source 20 in the internal sound source 16 (step S24).

次に、遅延学習部88は、現時点が遅延学習タイミングであるか否かを判定する(ステップS25)。遅延学習タイミングである場合、遅延学習部88は、遅延量を算出し、算出された値を現時点で設定されている音色およびチャンネル番号とともに記憶装置13に記憶させる(ステップS26)。具体的には、遅延学習部88は、指示信号発生部81により発生される発音指示信号に基づいて内部音源16により内部音響信号を生成させると同時に外部音源20により外部音響信号を生成させる。また、遅延学習部88は、内部音響信号により表される波形の立ち上がり時点と帰還音響信号により表される波形の立ち上がり時点との差を遅延量として算出する。本実施の形態では、チャンネルごとおよび音色ごとに遅延量が記憶される。 Next, the delay learning unit 88 determines whether or not the current time is the delay learning timing (step S25). If it is the delay learning timing, the delay learning unit 88 calculates the delay amount and stores the calculated value in the storage device 13 together with the tone color and the channel number currently set (step S26). Specifically, the delay learning unit 88 causes the internal sound source 16 to generate an internal acoustic signal based on the sounding instruction signal generated by the instruction signal generating unit 81, and at the same time causes the external sound source 20 to generate an external acoustic signal. The delay learning unit 88 also calculates the difference between the rising time of the waveform represented by the internal acoustic signal and the rising time of the waveform represented by the feedback acoustic signal as the delay amount. In the present embodiment, the delay amount is stored for each channel and each tone color.

ここで、ステップS25における遅延学習タイミングは、遅延学習に適したタイミングに設定される。例えば、遅延学習タイミングは、発音指示信号が複数音ではなく単音の発生を指示するタイミング、またはステップS21〜S28の処理ループが繰り返し実行されている場合に前の処理ループにおけるステップS26の処理が完了しているタイミングに設定される。 Here, the delay learning timing in step S25 is set to a timing suitable for delay learning. For example, the delay learning timing is the timing at which the sound generation instruction signal instructs generation of a single sound instead of a plurality of sounds, or when the processing loop of steps S21 to S28 is repeatedly executed, the processing of step S26 in the previous processing loop is completed. Is set to the timing.

なお、上記のステップS26の処理において、遅延学習部88は、発音指示信号が複数音の同時発生を指示する場合、複数音に対応する複数の帰還音響信号のうち予め定められた1つの帰還音響信号に基づいて遅延量を算出してもよい。例えば、複数音の同時発生が指示された場合に同時発生すべき複数音のうち予め定められた条件に従う1つの音(最低音高または最高音高等)に対応する単音の帰還音響信号を帰還音響信号入力部84へ出力する処理が、外部音源20に設定される。それにより、複数音の同時発生が指示されることにより、外部音源20から帰還音響信号入力部84に複数音のうち1つの音の帰還音響信号が入力される。したがって、発音指示信号が複数音の同時発生を指示する場合でも、1つの帰還音響信号に基づいて遅延量が算出されるので、遅延量の算出処理が単純化される。 In the process of step S26 described above, when the sounding instruction signal indicates the simultaneous generation of a plurality of sounds, the delay learning unit 88 determines one predetermined return sound of the plurality of return sound signals corresponding to the plurality of sounds. The delay amount may be calculated based on the signal. For example, when simultaneous generation of a plurality of sounds is instructed, a single-tone return sound signal corresponding to one sound (minimum pitch, maximum pitch, etc.) according to a predetermined condition among the plurality of sounds to be generated simultaneously is returned as a feedback sound. The process of outputting to the signal input unit 84 is set in the external sound source 20. Thereby, when the simultaneous generation of a plurality of sounds is instructed, the feedback sound signal of one of the plurality of sounds is input from the external sound source 20 to the return sound signal input unit 84. Therefore, even when the sound generation instruction signal indicates the simultaneous generation of a plurality of sounds, the delay amount is calculated based on one feedback acoustic signal, so that the delay amount calculation process is simplified.

次に、帰還音響信号検出部85は、帰還音響信号入力部84への帰還音響信号の入力の状態を検出し(ステップS27)、帰還音響信号の入力の状態が正常であるか否かを判定する(ステップS28)。帰還音響信号の入力の状態が正常である場合には、帰還音響信号検出部85はステップS21に戻る。この場合、外部音源20からの外部音響信号に基づく楽音の発生が続行される。 Next, the return sound signal detection unit 85 detects the input state of the return sound signal to the return sound signal input unit 84 (step S27), and determines whether the input state of the return sound signal is normal or not. Yes (step S28). When the input state of the return sound signal is normal, the return sound signal detecting unit 85 returns to step S21. In this case, the generation of the musical sound based on the external acoustic signal from the external sound source 20 is continued.

一方、帰還音響信号の入力の状態が正常でない場合には、切替制御部86は、音源切替部82を接続状態に切り替え(ステップS29)、ステップS31に進む。これにより、外部音源20に代えて内部音源16からの内部音響信号に基づく楽音の発生が続行される。続いて、遅延変更部89は、ステップS26の処理で記憶装置13に記憶された遅延量を遅延装置18に設定する(ステップS30)。 On the other hand, when the input state of the return sound signal is not normal, the switching control unit 86 switches the sound source switching unit 82 to the connected state (step S29), and proceeds to step S31. As a result, the generation of musical tones based on the internal acoustic signal from the internal sound source 16 instead of the external sound source 20 is continued. Subsequently, the delay changing unit 89 sets the delay amount stored in the storage device 13 in the processing of step S26 in the delay device 18 (step S30).

次に、指示信号発生部81は、演奏操作子2の操作が検出されたか否かを判定する(ステップS31)。演奏操作子2の操作が検出されていない場合には、指示信号発生部81は、演奏操作子2の操作が検出されるまで待機する。演奏操作子2の操作が検出された場合には、指示信号発生部81は、発音指示信号を生成し、音源切替部82を介して発音指示信号を内部音源16へ供給する(ステップS32)。内部音源16は、発音指示信号が供給されると、設定された音色の内部音響信号を生成する。生成された内部音響信号は、遅延装置18を通してサウンドシステム17へ供給される。このとき、発音指示信号の発生から内部音響信号に基づく楽音の発生までの内部遅延時間は、発音指示信号の発生から外部音響信号に基づく楽音の発生までの外部遅延時間と等しくなる。 Next, the instruction signal generator 81 determines whether or not the operation of the performance operator 2 has been detected (step S31). When the operation of the performance operator 2 is not detected, the instruction signal generator 81 waits until the operation of the performance operator 2 is detected. When the operation of the performance operator 2 is detected, the instruction signal generation unit 81 generates a sounding instruction signal and supplies the sounding instruction signal to the internal sound source 16 via the sound source switching unit 82 (step S32). When the tone generation instruction signal is supplied, the internal sound source 16 generates an internal acoustic signal of the set tone color. The generated internal acoustic signal is supplied to the sound system 17 through the delay device 18. At this time, the internal delay time from the generation of the sounding instruction signal to the generation of the musical sound based on the internal acoustic signal is equal to the external delay time from the generation of the sounding instruction signal to the generation of the musical sound based on the external acoustic signal.

次に、帰還音響信号検出部85は、帰還音響信号入力部84への帰還音響信号の入力の状態を検出し(ステップS33)、帰還音響信号の入力の状態が正常であるか否かを判定する(ステップS34)。帰還音響信号の入力の状態が正常でない場合には、帰還音響信号検出部85はステップS31に戻る。この場合、内部音源16からの内部音響信号に基づく楽音の発生が続行される。 Next, the return sound signal detection unit 85 detects the input state of the return sound signal to the return sound signal input unit 84 (step S33), and determines whether the input state of the return sound signal is normal. Yes (step S34). When the input state of the return sound signal is not normal, the return sound signal detection unit 85 returns to step S31. In this case, the generation of the musical sound based on the internal acoustic signal from the internal sound source 16 is continued.

一方、帰還音響信号の入力の状態が正常である場合には、切替制御部86は、音源切替部82を非接続状態に切り替え(ステップS35)、ステップS21に進む。これにより、再度外部音源20からの外部音響信号に基づく楽音の発生が続行される。 On the other hand, when the input state of the return sound signal is normal, the switching control unit 86 switches the sound source switching unit 82 to the non-connection state (step S35), and proceeds to step S21. Thereby, the generation of the musical sound based on the external acoustic signal from the external sound source 20 is continued again.

なお、上記の音源制御処理においては、ステップS30の処理は、ステップS26の処理後ステップS29の処理前に実行されてもよい。例えば、ステップS30の処理は、ステップS26の処理後、ステップS27の処理前に実行されてもよい。 In the above sound source control process, the process of step S30 may be executed after the process of step S26 and before the process of step S29. For example, the process of step S30 may be executed after the process of step S26 and before the process of step S27.

本実施の形態では、チャンネルごとおよび音色ごとに遅延量が記憶される。したがって、例えば複数の外部音源を使用した場合等、チャンネルおよび音色によって算出される遅延量にばらつきが生じる場合でも、チャンネルごとおよび音色ごとに適切な遅延量を遅延装置18に設定することができる。 In the present embodiment, the delay amount is stored for each channel and each tone color. Therefore, even when the delay amount calculated depending on the channel and the tone color varies, for example, when a plurality of external sound sources are used, an appropriate delay amount can be set in the delay device 18 for each channel and each tone color.

(5)パラメータの領域(ゾーン)設定
使用者は、演奏操作子2を操作することにより、音源制御部8に発音指示信号を発生させることができる。発音指示信号は、音高およびベロシティ等のパラメータを含む。また、使用者は、発音指示信号に含まれるパラメータの値の範囲に対して複数の領域を設定することができる。ここで、設定される複数の領域は、互いに重なっていてもよい。設定された複数の領域の各々にチャンネルを割り当てることができる。これにより、内部音源16および各外部音源20に個別に発音指示信号を与えることができる。領域設定は、例えばMIDI規格のローカルオンコマンドによるローカルオンの状態で用いられる。
(5) Parameter area (zone) setting The user can cause the sound source control unit 8 to generate a sounding instruction signal by operating the performance operator 2. The pronunciation instruction signal includes parameters such as pitch and velocity. Further, the user can set a plurality of areas for the range of the value of the parameter included in the sounding instruction signal. Here, the plurality of regions to be set may overlap each other. A channel can be assigned to each of the plurality of set areas. As a result, it is possible to individually give a sounding instruction signal to the internal sound source 16 and each external sound source 20. The area setting is used, for example, in a local on state by a local on command of the MIDI standard.

図5はパラメータの領域設定の一例を説明するための図である。図5に示すように、演奏操作子2は、鍵盤200を含む。鍵盤200は、左右方向に並ぶように配列された複数の鍵2aを含む。複数の鍵2aは、複数の音高にそれぞれ対応する。使用者は、所望の鍵2aを押すことにより、対応する音高を含む発音指示信号を発生させることができる。 FIG. 5 is a diagram for explaining an example of parameter region setting. As shown in FIG. 5, the performance operator 2 includes a keyboard 200. The keyboard 200 includes a plurality of keys 2a arranged side by side in the left-right direction. The plurality of keys 2a respectively correspond to a plurality of pitches. The user can generate a sounding instruction signal including the corresponding pitch by pressing the desired key 2a.

図5の例においては、発音指示信号の音高に対して3つの領域Z1,Z2,Z3が設定される。具体的には、鍵盤200に4つの位置P1,P2,P3,P4が左から右にこの順で並ぶように設定される。領域Z1は、位置P1,P3間に配置される鍵2aに対応する音高の領域である。領域Z2は、位置P2,P3間に配置される鍵2aに対応する音高の領域である。領域Z3は、位置P3,P4間に配置される鍵2aに対応する音高の領域である。 In the example of FIG. 5, three areas Z1, Z2, Z3 are set for the pitch of the sounding instruction signal. Specifically, four positions P1, P2, P3 and P4 are set on the keyboard 200 so as to be arranged in this order from left to right. The area Z1 is a pitch area corresponding to the key 2a arranged between the positions P1 and P3. The area Z2 is a pitch area corresponding to the key 2a arranged between the positions P2 and P3. The area Z3 is a pitch area corresponding to the key 2a arranged between the positions P3 and P4.

例えば、領域Z1,Z2,Z3がそれぞれチャンネルCH1,CH2,CH3に割り当てられる。この場合、位置P1,P2間のいずれかの鍵2aが押されると、対応する音高の発音指示信号がチャンネルCH1の外部音源20aに与えられる。位置P2,P3間のいずれかの鍵2aが押されると、対応する音高の発音指示信号がチャンネルCH2の内部音源16およびチャンネルCH1の外部音源20aに与えられる。位置P3,P4間のいずれかの鍵2aが押されると、対応する音高の発音指示信号がチャンネルCH3の外部音源20bに与えられる。 For example, regions Z1, Z2, Z3 are assigned to channels CH1, CH2, CH3, respectively. In this case, when one of the keys 2a between the positions P1 and P2 is pressed, a sounding instruction signal of the corresponding pitch is given to the external sound source 20a of the channel CH1. When any key 2a between the positions P2 and P3 is pressed, a sounding instruction signal of the corresponding pitch is given to the internal sound source 16 of the channel CH2 and the external sound source 20a of the channel CH1. When any key 2a between the positions P3 and P4 is pressed, a sounding instruction signal of the corresponding pitch is given to the external sound source 20b of the channel CH3.

本例では、領域Z1,Z3に割り当てられたチャンネルCH1,CH3の各々について、図2の音源制御部8による図3および図4の音源制御処理が行われる。 In this example, the sound source control processing of FIG. 3 and FIG. 4 is performed by the sound source control unit 8 of FIG. 2 for each of the channels CH1 and CH3 assigned to the areas Z1 and Z3.

図6はパラメータの領域設定の他の例を説明するための図である。図6の例においては、発音指示信号の音高とベロシティとの組み合わせに対して3つの領域Z1,Z2,Z3が設定される。具体的には、図5の4つの位置P1,P2,P3,P4に加えて、3つのベロシティの値V1,V2,V3がさらに設定される。値V2は値V1よりも大きく、値V3は値V2よりも大きい。 FIG. 6 is a diagram for explaining another example of parameter region setting. In the example of FIG. 6, three regions Z1, Z2, Z3 are set for the combination of the pitch and velocity of the sounding instruction signal. Specifically, in addition to the four positions P1, P2, P3, P4 in FIG. 5, three velocity values V1, V2, V3 are further set. The value V2 is larger than the value V1 and the value V3 is larger than the value V2.

領域Z1は、位置P1,P2間に配置される鍵2aに対応する音高でかつ値V1,V3間のベロシティの領域と、位置P2,P3間に配置される鍵2aに対応する音高でかつ値V2,V3間のベロシティの領域とを含む。領域Z2は、位置P2,P3間に配置される鍵2aに対応する音高でかつ値V2,V3間のベロシティの領域である。領域Z3は、位置P3,P4間に配置される鍵2aに対応する音高でかつ値V1,V3間のベロシティの領域である。 The area Z1 is the pitch corresponding to the key 2a arranged between the positions P1 and P2, and the velocity area between the values V1 and V3, and the pitch corresponding to the key 2a arranged between the positions P2 and P3. And a region of velocity between the values V2 and V3. The area Z2 is a pitch area corresponding to the key 2a arranged between the positions P2 and P3 and a velocity area between the values V2 and V3. The area Z3 is an area of the pitch corresponding to the key 2a arranged between the positions P3 and P4 and the velocity between the values V1 and V3.

図5の例と同様に、領域Z1,Z2,Z3がそれぞれチャンネルCH1〜CH3に割り当てられる。この場合、位置P1,P2間のいずれかの鍵2aが値V1,V3間のベロシティで押された場合、対応する音高でかつそのベロシティの値を有する発音指示信号がチャンネルCH1の外部音源20aに与えられる。位置P2,P3間のいずれかの鍵2aが値V1,V2間のベロシティで押された場合、対応する音高でかつそのベロシティの値を有する発音指示信号がチャンネルCH1の外部音源20aに与えられる。位置P2,P3間のいずれかの鍵2aが値V2,V3間のベロシティで押された場合、対応する音高でかつそのベロシティの値を有する発音指示信号がチャンネルCH2の内部音源16に与えられる。位置P3,P4間のいずれかの鍵2aが値V1,V3間のベロシティで押された場合、対応する音高でかつそのベロシティの値を有する発音指示信号がチャンネルCH3の外部音源20bに与えられる。 As in the example of FIG. 5, areas Z1, Z2 and Z3 are assigned to channels CH1 to CH3, respectively. In this case, when one of the keys 2a between the positions P1 and P2 is pressed with the velocity between the values V1 and V3, the tone generation instruction signal having the corresponding pitch and the velocity value corresponds to the external sound source 20a of the channel CH1. Given to. When any key 2a between the positions P2 and P3 is pressed with a velocity between the values V1 and V2, a tone generation instruction signal having a corresponding pitch and having the velocity value is given to the external sound source 20a of the channel CH1. .. When any key 2a between the positions P2 and P3 is pressed with a velocity between the values V2 and V3, a tone generation instruction signal having a corresponding pitch and having the velocity value is given to the internal sound source 16 of the channel CH2. .. When any key 2a between the positions P3 and P4 is pressed with a velocity between the values V1 and V3, a tone generation instruction signal having a corresponding pitch and a velocity value is given to the external sound source 20b of the channel CH3. ..

本例においても、領域Z1,Z3に割り当てられたチャンネルCH1,CH3の各々について、図2の音源制御部8による図3および図4の音源制御処理が行われる。 Also in this example, the sound source control process of FIGS. 3 and 4 is performed by the sound source control unit 8 of FIG. 2 for each of the channels CH1 and CH3 assigned to the regions Z1 and Z3.

(6)効果
本実施の形態に係る電子楽器1においては、音源切替部82の非接続状態時に、発音指示信号に応答して外部音源20により外部音響信号が生成される。この状態で、外部音源20から供給される外部音響信号に不調が生じた場合には、音源切替部82が非接続状態から接続状態に切り替えられる。それにより、発音指示信号に応答して内部音源16により内部音響信号が生成される。このとき、音源切替部82の非接続状態時における外部遅延時間と音源切替部82の接続状態時における内部遅延時間とが等しくなるように遅延装置18における遅延量が設定される。したがって、外部音響信号に不調が生じた場合でも使用者の違和感を抑制しつつ発音を継続することができる。
(6) Effects In the electronic musical instrument 1 according to the present embodiment, the external sound source 20 generates an external acoustic signal in response to the sounding instruction signal when the sound source switching unit 82 is not connected. In this state, if a malfunction occurs in the external sound signal supplied from the external sound source 20, the sound source switching unit 82 is switched from the non-connection state to the connection state. Thereby, the internal sound source 16 generates an internal acoustic signal in response to the sounding instruction signal. At this time, the delay amount in the delay device 18 is set so that the external delay time when the sound source switching unit 82 is not connected and the internal delay time when the sound source switching unit 82 is connected are equal. Therefore, even if the external acoustic signal is out of order, it is possible to continue sounding while suppressing the user's discomfort.

また、使用者は、設定操作子4の操作により遅延装置18における遅延量を変更することができる。それにより、使用者は、好みに応じて任意に発音指示信号を基準とする内部音源16による発音タイミングを調整することができる。 Further, the user can change the delay amount in the delay device 18 by operating the setting operator 4. As a result, the user can arbitrarily adjust the sounding timing of the internal sound source 16 based on the sounding instruction signal according to his or her preference.

(7)他の実施の形態
(a)上記実施の形態では、変更手段としてハードウエアにより構成される遅延装置18が用いられるが、本発明はこれに限定されない。指示信号発生部81により発生される発音指示信号が内部音源16に与えられるタイミングをソフトウエア上で変更する変更手段が用いられてもよい。
(7) Other Embodiments (a) In the above embodiment, the delay device 18 configured by hardware is used as the changing means, but the present invention is not limited to this. A changing means for changing the timing at which the tone generation instruction signal generated by the instruction signal generation unit 81 is given to the internal sound source 16 may be used in software.

(b)外部音源20に外部スピーカが接続され、外部音源20により生成された外部音響信号に基づく楽音が外部スピーカにより発生される場合には、外部遅延時間には、外部音響信号が外部音源20から電子楽器1に供給される時間を含まない。この場合、図2の遅延学習部88により外部遅延時間と内部遅延時間との差分を推定することはできない。そこで、予め発音指示信号の発生から外部音源20による外部音響信号の生成までの時間と発音指示信号の発生から内部音源16による内部音響信号の生成までの時間と差分が測定され、遅延装置18に設定すべき遅延量として、測定された差分が予め記憶装置13に記憶されてもよい。 (B) When an external speaker is connected to the external sound source 20 and a musical tone based on the external sound signal generated by the external sound source 20 is generated by the external speaker, the external sound signal is transmitted during the external delay time. The time supplied from the electronic musical instrument 1 to the electronic musical instrument 1 is not included. In this case, the delay learning unit 88 in FIG. 2 cannot estimate the difference between the external delay time and the internal delay time. Therefore, the time from the generation of the sounding instruction signal to the generation of the external acoustic signal by the external sound source 20 and the time from the generation of the sounding instruction signal to the generation of the internal acoustic signal by the internal sound source 16 and the difference are measured in advance, and the delay device 18 is measured. As the delay amount to be set, the measured difference may be stored in the storage device 13 in advance.

(c)音色によって遅延量の算出が難しい場合には、他の音色について算出された遅延量を用いた統計処理により遅延量が算出されてもよい。また、各音色が外部音源20に設定されるごとに遅延量が算出および記憶されることにより各音色について複数の遅延量が記憶される場合には、遅延装置18に最新の遅延量が設定されてもよく、あるいは複数の遅延量の平均値が設定されてもよい。例えば、同一の外部音源に電子楽器1の複数のチャンネルが対応付けられている場合には、当該外部音源に対応する複数のチャンネルについてそれぞれ算出される複数の遅延量の平均値が遅延装置18に設定されてもよい。さらに、各音色について一旦遅延量が算出および記憶された後に同じ音色についての遅延量の算出および記憶が行われなくてもよい。また、音色ごとに適切な遅延量のばらつきがない場合または小さい場合には、音色とは無関係に遅延量が算出されてもよい。 (C) When it is difficult to calculate the delay amount depending on the timbre, the delay amount may be calculated by statistical processing using the delay amounts calculated for other timbres. Further, when a plurality of delay amounts are stored for each tone color by calculating and storing the delay amount each time each tone color is set in the external sound source 20, the latest delay amount is set in the delay device 18. Alternatively, an average value of a plurality of delay amounts may be set. For example, when a plurality of channels of the electronic musical instrument 1 are associated with the same external sound source, an average value of a plurality of delay amounts calculated for a plurality of channels corresponding to the external sound source is stored in the delay device 18. It may be set. Furthermore, it is not necessary to calculate and store the delay amount for each timbre after the delay amount is once calculated and stored for the same timbre. In addition, when there is no or small variation in the appropriate delay amount for each timbre, the delay amount may be calculated independently of the timbre.

(d)電子楽器1と内部音源16とはUSB(Universal Serial Bus)またはBluetooth(登録商標)により接続されてもよく、OSC(OpenSound Control)等の他の規格に基づく通信を行ってもよい。 (D) The electronic musical instrument 1 and the internal sound source 16 may be connected by a USB (Universal Serial Bus) or Bluetooth (registered trademark), and communication based on another standard such as OSC (OpenSound Control) may be performed.

(e)内部音源16または外部音源20への発音指示信号の供給の切り替え、および音源切替部82の非接続状態と接続状態との切り替えは、MIDI規格のローカルオンコマンドおよびローカルオフコマンドにより行われてもよく、ローカルオンコマンドおよびローカルオフコマンドとは独立なモードの切り替えにより行われてもよい。 (E) Switching of the supply of the tone generation instruction signal to the internal sound source 16 or the external sound source 20 and switching of the sound source switching unit 82 between the non-connection state and the connection state are performed by the MIDI standard local on command and local off command. Alternatively, the mode may be switched independently of the local on command and the local off command.

(f)上記実施の形態では、図2の音源制御部8がCPU11等のハードウエアおよび音源制御プログラム等のソフトウエアにより実現されるが、音源制御部8の各構成要素が電子回路等のハードウエアにより実現されてもよい。 (F) In the above embodiment, the sound source control unit 8 of FIG. 2 is realized by hardware such as the CPU 11 and software such as a sound source control program. However, each component of the sound source control unit 8 is a hardware such as an electronic circuit. It may be realized by wear.

(g)上記実施の形態では、外部遅延時間が内部遅延時間よりも大きい場合について説明したが、本発明はこれに限定されない。例えば、内部遅延時間が外部遅延時間よりも大きい場合、より具体的には音源切替部82が接続状態にあるときの内部遅延時間が音源切替部82が非接続状態にあるときの外部遅延時間よりも大きい場合には、上記の差分ではなく値「0」が遅延量として遅延装置18に設定されてもよい。 (G) In the above embodiment, the case where the external delay time is longer than the internal delay time has been described, but the present invention is not limited to this. For example, when the internal delay time is larger than the external delay time, more specifically, the internal delay time when the sound source switching unit 82 is in the connected state is more than the external delay time when the sound source switching unit 82 is in the disconnected state. If the difference is larger, the value “0” may be set in the delay device 18 as the delay amount instead of the above difference.

(8)請求項の各構成要素と実施の形態の各部との対応
以下、請求項の各構成要素と実施の形態の各部との対応の例について説明するが、本発明は下記の例に限定されない。請求項の各構成要素として、請求項に記載されている構成または機能を有する他の種々の要素を用いることができる。
(8) Correspondence between each constituent element of the claims and each part of the embodiment Hereinafter, an example of correspondence between each constituent element of the claims and each part of the embodiment will be described, but the present invention is limited to the following examples. Not done. As each of the constituent elements in the claims, various other elements having the configurations or functions described in the claims can be used.

上記実施の形態では、指示信号発生部81が信号発生手段の例であり、遅延装置18および遅延変更部89が変更手段の例であり、指示信号出力部83が出力手段の例であり、音源切替部82が切り替え手段の例であり、帰還音響信号入力部84が入力手段の例であり、サウンドシステム17が音発生手段の例であり、遅延学習部88が推定手段および学習手段の例であり、帰還音響信号検出部85が検出手段の例である。請求項の各構成要素として、請求項に記載されている構成または機能を有する他の種々の要素を用いることができる。 In the above embodiment, the instruction signal generating unit 81 is an example of the signal generating means, the delay device 18 and the delay changing unit 89 are an example of the changing means, and the instruction signal output unit 83 is an example of the outputting means. The switching unit 82 is an example of a switching unit, the return sound signal input unit 84 is an example of an input unit, the sound system 17 is an example of a sound generating unit, and the delay learning unit 88 is an example of an estimating unit and a learning unit. Yes, the return sound signal detection unit 85 is an example of the detection means. As each of the constituent elements in the claims, various other elements having the configurations or functions described in the claims can be used.

1…電子楽器,2…演奏操作子,2a…鍵,3,5…検出回路,4…設定操作子,6…ディスプレイ,7…表示回路,8…音源制御部,9…RAM,10…ROM,11…CPU,12…タイマ,13…記憶装置,14…通信I/F,15…外部記憶装置,16…内部音源,17…サウンドシステム,18…遅延装置,19…バス,20,20a,20b…外部音源,81…指示信号発生部,82…音源切替部,83…指示信号出力部,84…帰還音響信号入力部,85…帰還音響信号検出部,86…切替制御部,87…音色設定部,88…遅延学習部,89…遅延変更部,90…受付部,100…電子楽器システム,200…鍵盤,CH1,CH2,CH3…チャンネル DESCRIPTION OF SYMBOLS 1... Electronic musical instrument, 2... Performance operator, 2a... Key, 3, 5... Detection circuit, 4... Setting operator, 6... Display, 7... Display circuit, 8... Sound source control part, 9... RAM, 10... ROM , 11... CPU, 12... Timer, 13... Storage device, 14... Communication I/F, 15... External storage device, 16... Internal sound source, 17... Sound system, 18... Delay device, 19... Bus, 20, 20a, 20b... External sound source, 81... Instruction signal generating section, 82... Sound source switching section, 83... Instruction signal output section, 84... Return sound signal input section, 85... Return sound signal detecting section, 86... Switching control section, 87... Tone Setting unit, 88... Delay learning unit, 89... Delay changing unit, 90... Reception unit, 100... Electronic musical instrument system, 200... Keyboard, CH1, CH2, CH3... Channel

Claims (8)

発音指示信号を発生する信号発生手段と、
前記信号発生手段により発生される発音指示信号に応答して内部音響信号を生成する内部音源と、
前記信号発生手段による発音指示信号の発生から前記内部音響信号に基づく音の発生までの内部遅延時間の値を変更する変更手段と
外部音響信号を生成する外部音源に接続され、前記発音指示信号を前記外部音源に出力する出力手段と、
前記発音指示信号に応答して前記外部音源により外部音響信号が生成される第1の状態を前記発音指示信号に応答して前記内部音源により内部音響信号が生成される第2の状態へ切り替える切り替え手段とを備え、
前記変更手段は、前記第1の状態が前記第2の状態に切り替えられた場合に、前記第1の状態における前記発音指示信号の発生から前記外部音響信号に基づく音の発生までの時間と前記第2の状態における前記発音指示信号の発生から前記内部音響信号に基づく音の発生までの時間とが等しくなるように前記内部遅延時間の値を変更する、電子楽器。
Signal generating means for generating a sounding instruction signal,
An internal sound source that generates an internal acoustic signal in response to a sounding instruction signal generated by the signal generating means,
Changing means for changing the value of the internal delay time from the generation of the sounding instruction signal by the signal generating means to the generation of the sound based on the internal acoustic signal ;
An output unit that is connected to an external sound source that generates an external acoustic signal and that outputs the pronunciation instruction signal to the external sound source,
Switching to switch from a first state in which an external acoustic signal is generated by the external sound source in response to the sounding instruction signal to a second state in which an internal acoustic signal is generated by the internal sound source in response to the sounding instruction signal And means
The changing means, when the first state is switched to the second state, the time from the generation of the sounding instruction signal to the generation of a sound based on the external acoustic signal in the first state, and An electronic musical instrument that changes the value of the internal delay time so that the time from the generation of the sounding instruction signal to the generation of a sound based on the internal acoustic signal in the second state becomes equal .
発音指示信号を発生する信号発生手段と、
前記信号発生手段により発生される発音指示信号に応答して内部音響信号を生成する内部音源と、
前記信号発生手段による発音指示信号の発生から前記内部音響信号に基づく音の発生までの内部遅延時間の値を変更する変更手段と、
外部音響信号を生成する外部音源に接続され、前記発音指示信号を前記外部音源に出力する出力手段と、
前記発音指示信号に応答して前記外部音源により外部音響信号が生成される第1の状態を前記発音指示信号に応答して前記内部音源により内部音響信号が生成される第2の状態へ切り替える切り替え手段と、
前記外部音源により生成される外部音響信号を帰還音響信号として受ける入力手段と、
前記第1の状態における前記発音指示信号の発生から前記外部音響信号に基づく音の発生までの時間と前記第2の状態における前記発音指示信号の発生から前記内部音響信号に基づく音の発生までの時間との差分を前記帰還音響信号に基づいて推定する推定手段とを備え、
前記変更手段は、前記第1の状態が前記第2の状態へ切り替えられた場合に、前記内部遅延時間の値を前記推定手段により推定された差分に基づいて変更する、電子楽器。
Signal generating means for generating a sounding instruction signal,
An internal sound source that generates an internal acoustic signal in response to a sounding instruction signal generated by the signal generating means,
Changing means for changing the value of the internal delay time from the generation of the sounding instruction signal by the signal generating means to the generation of the sound based on the internal acoustic signal;
An output unit that is connected to an external sound source that generates an external acoustic signal and that outputs the pronunciation instruction signal to the external sound source,
Switching to switch from a first state in which an external acoustic signal is generated by the external sound source in response to the sounding instruction signal to a second state in which an internal acoustic signal is generated by the internal sound source in response to the sounding instruction signal Means and
Input means for receiving an external acoustic signal generated by the external sound source as a return acoustic signal,
From the generation of the sounding instruction signal in the first state to the generation of a sound based on the external acoustic signal, and from the generation of the sounding instruction signal in the second state to the generation of a sound based on the internal acoustic signal. Bei example and estimation means for estimating based on difference time and the feedback acoustic signal,
It said changing means, when said first state is switched to the second state, to change based on the estimated difference by the estimating means the value of the internal delay time, electronic musical instruments.
前記推定手段は、前記発音指示信号が複数音の同時発生を指示する場合、複数音に対応する複数の帰還音響信号のうち予め定められた1つの帰還音響信号を前記推定に用いる、請求項記載の電子楽器。 The estimating means, when the sounding instruction signal instructs the simultaneous occurrence of multiple sounds using one feedback acoustic signal predetermined among the plurality of feedback sound signals corresponding to plural tones on the estimated claim 2 Electronic musical instrument described. 前記推定手段は、
前記第1の状態の所定のタイミングにおいて、前記内部音源により内部音響信号を生成させるとともに、生成される内部音響信号と前記帰還音響信号との時間差に基づいて前記内部遅延時間の値を学習する学習手段を含む、請求項または記載の電子楽器。
The estimation means is
Learning for generating an internal acoustic signal by the internal sound source at a predetermined timing in the first state and learning the value of the internal delay time based on the time difference between the generated internal acoustic signal and the feedback acoustic signal. An electronic musical instrument according to claim 2 or 3 , including means.
前記入力手段への帰還音響信号の入力の状態を検出する検出手段をさらに備え、
前記切り替え手段は、前記入力手段への帰還音響信号の入力が正常な状態から前記入力手段への帰還音響信号の入力が正常でない状態への移行に応答して、前記第1の状態を前記第2の状態に切り替える、請求項2〜4のいずれか一項に記載の電子楽器。
Further comprising detection means for detecting a state of input of the return sound signal to the input means,
The switching means sets the first state to the first state in response to a transition from a state where the input of the return sound signal to the input means is normal to a state where the input of the return sound signal to the input means is not normal. The electronic musical instrument according to any one of claims 2 to 4 , which is switched to the state of 2.
前記切り替え手段は、前記入力手段への帰還音響信号の入力が正常でない状態から前記入力手段への帰還音響信号の入力が正常な状態への移行に応答して、前記第2の状態を前記第1の状態に切り替える、請求項記載の電子楽器。 The switching means sets the second state to the second state in response to a transition from a state where the input of the return sound signal to the input means is not normal to a state where the input of the return sound signal to the input means is normal. The electronic musical instrument according to claim 5 , wherein the electronic musical instrument is switched to the 1 state. 前記電子楽器は、複数のチャンネルを有し、
前記変更手段は、前記複数のチャンネルの各々について前記内部遅延時間の値を変更する、請求項1〜のいずれか一項に記載の電子楽器。
The electronic musical instrument has a plurality of channels,
The electronic musical instrument according to any one of claims 1 to 7 , wherein the changing unit changes the value of the internal delay time for each of the plurality of channels.
請求項1〜のいずれか一項に記載の電子楽器と、
前記電子楽器に接続される1または複数の外部音源と、
前記電子楽器の前記内部音源により生成される内部音響信号および前記1または複数の外部音源により生成される外部音響信号に基づいて音を発生する音発生手段とを備える、電子楽器システム。
An electronic musical instrument according to any one of claim 1 to 7
One or more external sound sources connected to the electronic musical instrument;
An electronic musical instrument system comprising: a sound generating unit that generates a sound based on an internal acoustic signal generated by the internal sound source of the electronic musical instrument and an external acoustic signal generated by the one or more external sound sources.
JP2016257336A 2016-12-29 2016-12-29 Electronic musical instruments and electronic musical instrument systems Active JP6705374B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016257336A JP6705374B2 (en) 2016-12-29 2016-12-29 Electronic musical instruments and electronic musical instrument systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016257336A JP6705374B2 (en) 2016-12-29 2016-12-29 Electronic musical instruments and electronic musical instrument systems

Publications (2)

Publication Number Publication Date
JP2018109691A JP2018109691A (en) 2018-07-12
JP6705374B2 true JP6705374B2 (en) 2020-06-03

Family

ID=62844515

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016257336A Active JP6705374B2 (en) 2016-12-29 2016-12-29 Electronic musical instruments and electronic musical instrument systems

Country Status (1)

Country Link
JP (1) JP6705374B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021107862A (en) * 2019-12-27 2021-07-29 ローランド株式会社 Communication device for electronic music instrument

Also Published As

Publication number Publication date
JP2018109691A (en) 2018-07-12

Similar Documents

Publication Publication Date Title
JP6720728B2 (en) Tone setting device, electronic musical instrument system, and tone setting method
JP4475323B2 (en) Musical sound generator and program
CN101794568A (en) Pedal output conversion apparatus and method
JP4259329B2 (en) Performance device and ensemble system
JP6705374B2 (en) Electronic musical instruments and electronic musical instrument systems
JP6589854B2 (en) Electronic musical instrument and electronic musical instrument system
JP4396451B2 (en) Electronic musical instrument and sound source device connected to the electronic musical instrument
US10839781B2 (en) Electronic musical instrument and electronic musical instrument system
JP6569479B2 (en) Music equipment and program
JP6724776B2 (en) Electronic musical instruments and electronic musical instrument systems
CN111009231B (en) Resonance sound signal generating device and method, medium, and electronic musical device
US9111514B2 (en) Delayed registration data readout in electronic music apparatus
CN110419076A (en) Electronic acoustic device and tone color setting method
JP5827484B2 (en) Music control device
JP5228315B2 (en) Program for realizing automatic accompaniment generation apparatus and automatic accompaniment generation method
US11646005B2 (en) Content control device, method of controlling content and non-transitory computer-readable storage medium
JP2001215973A (en) Method and device for creating musical sound control parameter, and recording medium
JP2019040167A (en) Karaoke device and control method thereof
JP6700891B2 (en) Control device for pedal operator
JP4930019B2 (en) Electronic musical instruments and programs applied to electronic musical instruments
JP6665541B2 (en) Electroacoustic device
JP6549945B2 (en) Effect giving device
JP2017015957A (en) Musical performance recording device and program
JP6343921B2 (en) Program and musical sound generation control method
JP2007240929A (en) Key area dividing point determining device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180921

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190906

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190917

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191113

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200427

R151 Written notification of patent or utility model registration

Ref document number: 6705374

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350