JP5839156B2 - Music signal generator - Google Patents

Music signal generator Download PDF

Info

Publication number
JP5839156B2
JP5839156B2 JP2010052608A JP2010052608A JP5839156B2 JP 5839156 B2 JP5839156 B2 JP 5839156B2 JP 2010052608 A JP2010052608 A JP 2010052608A JP 2010052608 A JP2010052608 A JP 2010052608A JP 5839156 B2 JP5839156 B2 JP 5839156B2
Authority
JP
Japan
Prior art keywords
sound
generation
reservation
channel
tone
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.)
Expired - Fee Related
Application number
JP2010052608A
Other languages
Japanese (ja)
Other versions
JP2011186261A (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 JP2010052608A priority Critical patent/JP5839156B2/en
Priority to US13/044,470 priority patent/US8383924B2/en
Publication of JP2011186261A publication Critical patent/JP2011186261A/en
Application granted granted Critical
Publication of JP5839156B2 publication Critical patent/JP5839156B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、楽音信号を発生するための発音チャンネルを有する音源回路を備え、新たな楽音信号の発生を前記発音チャンネルに割り当てて発音させる楽音信号発生装置に関する。   The present invention relates to a musical tone signal generating apparatus that includes a tone generator circuit having a tone generation channel for generating a tone signal, and that generates a new tone signal by assigning it to the tone generation channel.

従来から、例えば下記特許文献1に示されているように、楽音信号発生の開始を指示するCPU及び前記指示により楽音信号の発生を開始する音源回路を備えた楽音信号発生装置は知られている。この音源回路は、楽音信号を発生するための複数の発音チャンネルを有する。上記の楽音信号発生装置においては、全ての発音チャンネルにおいて楽音信号を発生しているときに、CPUが音源回路に新たな楽音信号発生の開始を指示する場合、何れかの発音チャンネルを選択して、その発音チャンネルにて発生されている楽音信号の音量レベルを減衰させる指示を行う。そして、CPUは、前記楽音信号の音量レベルを減衰させる指示を行った発音チャンネルから出力される楽音信号の音量レベルを監視し続け、その音量レベルが所定の小さなレベル(以降、ダンプレベルという。)以下になったときに前記新たな楽音信号発生の開始を指示するようにしている。   2. Description of the Related Art Conventionally, as shown in, for example, Patent Document 1 below, a musical tone signal generating apparatus including a CPU that instructs the start of musical tone signal generation and a sound source circuit that starts generation of musical tone signals according to the instruction is known. . This tone generator circuit has a plurality of tone generation channels for generating musical tone signals. In the above tone signal generator, when the tone signal is generated in all tone generation channels, if the CPU instructs the tone generator circuit to start generating a new tone signal, one of the tone generation channels is selected. Then, an instruction to attenuate the volume level of the tone signal generated in the tone generation channel is given. The CPU continues to monitor the volume level of the tone signal output from the tone generation channel that has instructed to attenuate the volume level of the tone signal, and the volume level is a predetermined small level (hereinafter referred to as a dump level). The start of generation of the new musical tone signal is instructed when the following occurs.

特開2005−107029号公報Japanese Patent Laying-Open No. 2005-107029

しかし、上記従来の楽音信号発生装置においては、CPUが楽音信号の音量レベルを監視している間は、CPUは、他の処理を行うことができないので、楽音信号発生装置の処理速度が低下する原因となっていた。   However, in the conventional musical tone signal generator, the CPU cannot perform other processes while the CPU is monitoring the volume level of the musical tone signal, so that the processing speed of the musical tone signal generator decreases. It was the cause.

本発明は上記問題に対処するためになされたもので、その目的は、処理速度を向上させた楽音信号発生装置を提供することにある。   The present invention has been made to address the above problems, and an object of the present invention is to provide a musical tone signal generating apparatus with improved processing speed.

上記目的を達成するために、本発明の特徴は、楽音信号を発生する複数の発音チャンネル(CH0〜CH127)を有する音源部(17)と、楽音信号発生の指示に応答して、楽音信号発生を複数の発音チャンネルのうちの1つ又は複数の発音チャンネルに割り当てる制御部(19a)とを備えた楽音信号発生装置において、制御部は、発生させる楽音信号を規定する楽音情報及び楽音信号発生を割り当てる1つ又は複数の発音チャンネルを指定するチャンネル指定情報を音源部に供給し、楽音信号発生に使用するための1つ又は複数の発音チャンネルを1つのグループとして予約する予約手段(S20,S24,S28)を有し、第1の楽音信号発生の指示に応答して、前記予約手段によって、前記第1の楽音信号発生の指示に対応した第1の楽音信号を発生させる1つ又は複数の発音チャンネルを第1のグループとして予約した後、前記第1のグループとして予約した1つ又は複数の発音チャンネルにて前記第1の楽音信号の発生が開始される前に、第2の楽音信号発生の指示に応答して、前記予約手段によって、前記第2の楽音信号発生の指示に対応した第2の楽音信号を発生させる1つ又は複数の発音チャンネルを第2のグループとして予約可能に構成され、音源部は、チャンネル指定情報によって指定され、前記1つのグループとして予約された発音チャンネルの予約を表す予約情報を記憶する予約情報記憶手段(KM0〜KM127,KML0〜KML127)と、予約情報記憶手段に記憶されている予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが所定の音量レベル以下であるときに、前記予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルに、楽音情報により規定される楽音信号の発生を開始させる楽音信号発生開始手段(17b3,17b4,17b6,AL0〜AL127,DL1〜DL30)とを有することにある。
In order to achieve the above object, the present invention is characterized in that a tone generator (17) having a plurality of tone generation channels (CH0 to CH127) for generating a tone signal and generating a tone signal in response to a tone signal generation instruction. In the musical tone signal generating apparatus, comprising a control unit (19a) for assigning to one or a plurality of tone generation channels of the plurality of tone generation channels, the control unit generates tone information and tone signal generation that define the tone signal to be generated. Reserving means (S20, S24, S24, S24) for supplying channel designation information for designating one or a plurality of tone generation channels to be allocated to the sound source unit and reserving one or a plurality of tone generation channels for use in generating a musical tone signal as one group. S28) has, first in response to an instruction of the first tone signal generation, by the reservation unit, corresponding to the instruction of the first tone signal generation After one or more sound generation channels for generating a musical sound signal are reserved as a first group, generation of the first musical sound signal is started in one or more sound generation channels reserved as the first group One or a plurality of tone generation channels for generating a second musical sound signal corresponding to the second musical sound signal generation instruction by the reservation means in response to the second musical sound signal generation instruction. Can be reserved as a second group, and the sound source unit is designated by channel designation information, and is reserved information storage means (KM0 to KM127) for storing reservation information indicating reservation of a sound generation channel reserved as the one group. , KML0 to KML127) and the sound generation channel in which the reservation is represented by the reservation information stored in the reservation information storage means, When the volume level of the tone signal generated in all the sound generation channels belonging to one group is equal to or lower than a predetermined sound volume level, the sound generation channel represents the reservation, and the one group All the tone generation channels belonging to are provided with tone signal generation start means (17b3, 17b4, 17b6, AL0 to AL127, DL1 to DL30) for starting generation of tone signals defined by tone information.

この場合、楽音信号発生開始手段は、少なくとも予約情報によって予約が表わされている全ての発音チャンネルにて発生されている楽音の音量レベルを検出する音量レベル検出手段(17b3,AL0〜AL127)と、音量レベル検出手段の検出結果及び予約情報記憶手段に記憶されている予約情報を用いて、予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが前記所定の音量レベル以下であるか否かを検出するダンプレベル到達検出手段(17b4,DL1〜DL30)と、ダンプレベル到達検出手段の検出結果が、予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが前記所定の音量レベル以下であるときに、予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルに楽音信号発生の開始を指示する楽音信号発生開始指示手段(17b6)とからなるようにするとよい。
In this case, the tone signal generation start means is at least volume level detection means (17b3, AL0 to AL127) for detecting the volume level of the tone generated in all sound generation channels whose reservation is indicated by the reservation information. All the sound generation channels belonging to the one group, which are reserved by the reservation information using the detection result of the volume level detection means and the reservation information stored in the reservation information storage means Dump level arrival detection means (17b4, DL1 to DL30) for detecting whether or not the volume level of the musical tone signal generated at the above is below the predetermined volume level, and the detection results of the dump level arrival detection means are: a sound channel for which the reservation by the reservation information are represented, all sound switch belonging to the one group When the volume level of the tone signal being generated is equal to or less than the predetermined volume level at tunnel, a sound channel is represented reservation by the reservation information, all tone generation channels belonging to the one group It is preferable to include music signal generation start instructing means (17b6) for instructing the start of music signal generation.

また、本発明の特徴は、楽音信号を発生する複数の発音チャンネル、及び全ての発音チャンネルにて発生されている楽音信号の音量レベルを検出する音量レベル検出手段を有する音源部と、楽音信号発生の指示に応答して、楽音信号発生を前記複数の発音チャンネルのうちの1つ又は複数の発音チャンネルに割り当てる制御部とを備えた楽音信号発生装置において、制御部は、音量レベル検出手段の検出結果を用いて、各発音チャンネルにて発生されている楽音信号の音量レベルが所定の音量レベル以下であるか否かを判定するレベル判定手段と(S84,CL)、レベル判定手段の判定結果を用いて、楽音信号発生を割り当てる1つ又は複数の発音チャンネルを決定する割り当てチャンネル決定手段(S16b,S16k)と、発生させる楽音信号を規定する楽音情報及び楽音信号発生を割り当てる1つ又は複数の発音チャンネルを指定するチャンネル指定情報を音源部に供給し、楽音信号発生に使用するための1つ又は複数の発音チャンネルを1つのグループとして予約する予約手段と、を有し、音源部は、チャンネル指定情報によって指定され、前記1つのグループとして予約された発音チャンネルの予約を表す予約情報を記憶する予約情報記憶手段と、予約情報記憶手段に記憶されている予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが前記所定の音量レベル以下であるときに、前記予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルに、楽音情報により規定される楽音信号の発生を開始させる楽音信号発生開始手段と、を有し、楽音信号発生開始手段は、音量レベル検出手段の検出結果及び予約情報記憶手段に記憶されている予約情報を用いて、予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが前記所定の音量レベル以下であるか否かを検出するダンプレベル到達検出手段と、ダンプレベル到達検出手段の検出結果が、予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが前記所定の音量レベル以下であるときに、予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルに楽音信号発生の開始を指示する楽音信号発生開始指示手段とからなることにある。
Further, the present invention is characterized in that a sound source unit having a plurality of sound generation channels for generating a music sound signal and a sound volume level detecting means for detecting a sound volume level of the sound signal generated in all the sound generation channels, and a sound signal generation In response to the instruction, a control unit that assigns a musical sound signal generation to one or a plurality of sounding channels of the plurality of sounding channels, wherein the control unit detects the volume level detecting means results using the determination result of each tone volume level of the sound tone signal is generated by channel and determining the level decision means to or less than Jo Tokoro volume level (S84, CL), the level determining means And assigned channel determining means (S16b, S16k) for determining one or a plurality of tone generation channels to which the musical sound signal generation is assigned, and The tone information for defining the tone signal and the channel designation information for designating one or more tone generation channels to which tone signal generation is assigned are supplied to the sound source unit, and one or more tone generation channels for use in tone signal generation are supplied to the tone generator. Reservation means for reserving as one group, and the sound source unit is designated by channel designation information, and reservation information storage means for memorizing reservation information representing reservation of the sound channel reserved as the one group, and reservation a sound channel for which the reservation is represented by the reservation information stored in the information storage means, said one volume level is the predetermined volume of the musical tone signals are generated in all tone generation channels belonging to the group A sound channel in which the reservation is represented when it is below the level and belongs to the one group The tone signal generation start means for starting the generation of the tone signal defined by the tone information is provided for all sound generation channels, and the tone signal generation start means is stored in the detection result and reservation information storage means of the volume level detection means. Using the stored reservation information, the tone level of the tone signal generated in all the sound generation channels that are reserved by the reservation information and represented by the reservation information is the predetermined sound level. A dump level arrival detection means for detecting whether or not the volume level is equal to or lower than the sound volume level, and a detection result of the dump level arrival detection means is a tone generation channel whose reservation is represented by reservation information, When the volume level of the tone signal generated in all the sound generation channels to which it belongs is below the predetermined volume level, the reservation information The tone generation channel in which the reservation is expressed, and the tone signal generation start instructing means for instructing all tone generation channels belonging to the one group to start the tone signal generation.

また、本発明の特徴は、楽音信号を発生する複数の発音チャンネルを有する音源部と、楽音信号発生の指示に応答して、楽音信号発生を複数の発音チャンネルのうちの1つ又は複数の発音チャンネルに割り当てる制御部とを備えた楽音信号発生装置において、前記制御部は、前記楽音信号発生の指示の内容を表わす発生指示情報を前記楽音信号発生の指示がなされた順に記憶する発生指示情報記憶手段(NL)と、発生指示情報記憶手段に記憶された発生指示情報を用いて、楽音信号発生を割り当てる発音チャンネルを決定する割り当てチャンネル決定手段(S16c,S16k)と、発生させる楽音信号を規定する楽音情報及び楽音信号発生を割り当てる1つ又は複数の発音チャンネルを指定するチャンネル指定情報を音源部に供給し、楽音信号発生に使用するための1つ又は複数の発音チャンネルを1つのグループとして予約する予約手段と、を有し、音源部は、チャンネル指定情報によって指定され、前記1つのグループとして予約された発音チャンネルの予約を表す予約情報を記憶する予約情報記憶手段と、予約情報記憶手段に記憶されている予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが所定の音量レベル以下であるときに、前記予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルに、楽音情報により規定される楽音信号の発生を開始させる楽音信号発生開始手段と、を有し、楽音信号発生開始手段は、少なくとも予約情報によって予約が表わされている全ての発音チャンネルにて発生されている楽音信号の音量レベルを検出する音量レベル検出手段と、音量レベル検出手段の検出結果及び予約情報記憶手段に記憶されている予約情報を用いて、予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが前記所定の音量レベル以下であるか否かを検出するダンプレベル到達検出手段と、ダンプレベル到達検出手段の検出結果が、予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが前記所定の音量レベル以下であるときに、予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルに楽音信号発生の開始を指示する楽音信号発生開始指示手段とからなることにある。
In addition, the present invention is characterized in that a tone generator having a plurality of tone generation channels for generating a tone signal, and generating a tone signal in response to an instruction to generate a tone signal, one or more of the plurality of tone generation channels. A musical sound signal generating apparatus comprising a control unit assigned to a channel, wherein the control unit stores generation instruction information representing the content of the musical signal signal generation instruction in the order in which the musical signal signal generation instruction is given. Using the means (NL), the generation instruction information stored in the generation instruction information storage means, the assigned channel determination means (S16c, S16k) for determining the tone generation channel to which the tone signal generation is assigned, and the tone signal to be generated are defined. Channel designation information for designating one or more tone generation channels to which musical tone information and musical tone signal generation are assigned is supplied to the sound source section. Reservation means for reserving one or a plurality of sound generation channels to be used for signal generation as one group, and the sound source unit is designated by the channel designation information and reserved as the one group Reservation information storage means for storing reservation information representing the reservation of the sound, and a sound generation channel in which the reservation is represented by the reservation information stored in the reservation information storage means, and all sound generation channels belonging to the one group When the volume level of the musical tone signal generated at is equal to or lower than a predetermined volume level, the musical tone information is transmitted to all of the musical tone generation channels in which the reservation is represented and belonging to the one group. Music signal generation start means for starting generation of a music signal defined by At least the volume level detecting means for detecting the volume level of the tone signal generated in all the sound generation channels for which the reservation is indicated by the reservation information, and the detection result of the volume level detecting means and stored in the reservation information storage means Using the reserved information, the tone level of the tone signal generated in all the tone generation channels that are reserved by the reservation information and are represented by the reservation information is set to the predetermined level. The dump level arrival detection means for detecting whether or not the volume level is lower than the sound level, and the detection result of the dump level arrival detection means are sound generation channels whose reservation is represented by reservation information, and belong to the one group When the volume level of the tone signal generated in all the sound channels is below the predetermined volume level, the reservation information is displayed. Therefore, the sound generation channel in which the reservation is expressed, and the sound signal generation start instructing means for instructing the start of the generation of the sound signal to all the sound generation channels belonging to the one group.

上記のように構成した楽音信号発生装置によれば、制御部は、楽音信号発生指示に対応した楽音信号を音源部に発生させるために、次に発生させる新たな楽音信号に関する楽音情報及び割り当てた発音チャンネルを指定するチャンネル指定情報を音源部に供給して、楽音信号の発生に使用する発音チャンネルの予約を行えばよく、制御部は、楽音信号の発生開始タイミングを制御しなくてもよい。すなわち、新たな楽音信号の発生開始のタイミングは、音源部によって制御される。したがって、制御部は、新たな楽音信号発生のために発音チャンネルの予約を行った後は、すぐに他の処理を開始することができるので、楽音信号発生装置の処理速度を向上させることができる。   According to the musical tone signal generator configured as described above, the control unit assigns musical tone information related to a new musical tone signal to be generated next and assigned to generate a musical tone signal corresponding to the musical tone signal generation instruction in the sound source unit. Channel designation information for designating the sound channel may be supplied to the sound source unit to reserve the sound channel to be used for generating the tone signal, and the control unit does not have to control the generation start timing of the tone signal. That is, the timing of starting the generation of a new musical sound signal is controlled by the sound source unit. Therefore, since the control unit can start another process immediately after reserving the sound generation channel for generating a new tone signal, the processing speed of the tone signal generator can be improved. .

また、本発明の他の特徴は、楽音信号を発生する複数の発音チャンネルを有する音源部と、楽音信号発生の指示に応答して、楽音信号発生を複数の発音チャンネルのうちの1つ又は複数の発音チャンネルに割り当てる制御部とを備えた楽音信号発生装置において、制御部は、発生させる楽音信号を規定する楽音情報及び楽音信号発生を割り当てる1つ又は複数の発音チャンネルを指定するチャンネル指定情報を音源部に供給し、楽音信号発生に使用するための1つ又は複数の発音チャンネルを1つのグループとして予約する予約手段を有し、音源部は、チャンネル指定情報によって指定され、前記1つのグループとして予約された発音チャンネルの予約を表す予約情報を記憶する予約情報記憶手段と、少なくとも予約情報によって予約が表わされている全ての発音チャンネルにて発生されている楽音信号の音量レベルを検出する音量レベル検出手段を有していて、予約情報記憶手段に記憶されている予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが所定の音量レベル以下であるときに、前記予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルに、楽音情報により規定される楽音信号の発生を開始させる楽音信号発生開始手段と、を有し、予約情報記憶手段は、チャンネル指定情報が供給されるごとに、予約情報を更新可能に記憶する第1記憶手段(KM0〜KM127)と、音量レベル検出手段が、少なくとも予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルの検出を開始する前に、第1記憶手段に記憶された予約情報を記憶して、音量レベル検出手段が音量レベルの検出を終了するまで予約情報を保持する第2記憶手段(KML0〜KML127)とからなり、楽音信号発生開始手段は、音量レベル検出手段の検出結果及び第2記憶手段に記憶されている予約情報を用いて、予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが前記所定の音量レベル以下であるか否かを検出するダンプレベル到達検出手段と、ダンプレベル到達検出手段の検出結果が、予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが前記所定の音量レベル以下であるときに、予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルに楽音信号発生の開始を指示する楽音信号発生開始指示手段とからなることにある。
Another feature of the present invention is that a sound source unit having a plurality of tone generation channels for generating a tone signal and a tone signal generation in response to an instruction to generate a tone signal, one or more of the plurality of tone generation channels. In the musical tone signal generating apparatus comprising the control unit assigned to the tone generation channels, the control unit receives the tone information defining the tone signal to be generated and channel designation information designating one or more tone generation channels to which the tone signal generation is assigned. Reserving means for reserving one or a plurality of sound generation channels to be supplied to the sound source unit and used for generating a musical sound signal as one group, the sound source unit being designated by the channel designation information, Reservation information storage means for storing reservation information indicating reservation of the reserved sound channel, and at least the reservation information represents the reservation. Volume level detecting means for detecting the volume level of the musical tone signal generated in all sound generation channels, and the reservation is indicated by the reservation information stored in the reservation information storage means. The tone generation channel, which is the tone generation channel in which the reservation is expressed when the volume level of the tone signal generated in all the tone generation channels belonging to the one group is equal to or lower than a predetermined volume level. And a tone signal generation start means for starting generation of a tone signal defined by the tone information for all tone generation channels belonging to the one group, and the reservation information storage means is supplied with channel designation information. Each of the first storage means (KM0 to KM127) for storing the reservation information in an updatable manner and the sound volume level detection means at least the reservation information. Therefore, before starting the detection of the volume level of the tone signal generated in all the tone generation channels belonging to the one group, which is the tone generation channel in which the reservation is represented, it is stored in the first storage means. And the second storage means (KML0 to KML127) for storing the reservation information until the sound volume level detecting means finishes detecting the sound volume level, and the tone signal generation starting means is the sound volume level detecting means. Using the detection result and the reservation information stored in the second storage means, the sound generation channel whose reservation is represented by the reservation information, which is generated in all the sound generation channels belonging to the one group. A dump level arrival detecting means for detecting whether or not a volume level of a musical sound signal is below the predetermined volume level; and a dump level arrival detecting means The detection result is a sound channel whose reservation is indicated by the reservation information, and the volume level of the tone signal generated in all sound channels belonging to the one group is equal to or lower than the predetermined volume level. In some cases, the tone generation channel is a tone generation channel for which reservation is indicated by the reservation information, and includes tone signal generation start instructing means for instructing all tone generation channels belonging to the one group to start tone signal generation. .

上記のように構成した楽音信号発生装置によれば、音量レベル検出手段が、発音チャンネルにて発生されている楽音信号の音量レベルを検出している間、第2記憶手段の予約情報が更新されないので、次に具体的に説明するように、発生される楽音信号が不自然になるのを防止できる。   According to the musical tone signal generating apparatus configured as described above, the reservation information in the second storage means is not updated while the volume level detecting means detects the volume level of the musical tone signal generated in the tone generation channel. Therefore, as will be described in detail below, the generated musical sound signal can be prevented from becoming unnatural.

例えば、複数の発音チャンネルを予約する場合であって、いつでも更新可能な第1記憶手段に記憶された予約情報を用いて前記所定の音量レベル以下であることの検出を行う場合には、以下のように、発生される楽音信号が不自然になることがある。すなわち、制御部が、音量レベル検出手段による音量レベルの検出済みの発音チャンネルCHaと音量レベルの未検出の発音チャンネルCHbを予約すると、第1記憶手段の予約情報は、発音チャンネルCHbの音量レベルが検出される前に更新される。その後、音量レベル検出手段が、発音チャンネルCHbの音量レベルを検出する。楽音信号発生手段は、発音チャンネルCHaの音量レベルの検出結果が前記所定の音量レベル以上であっても、発音チャンネルCHbの音量レベルの検出結果が所定の音量レベル以下でありさえすれば、発音チャンネルCHa,CHbにて新たな楽音信号の発生を開始してしまう。したがって、発音チャンネルCHaにおいて発生中であった楽音信号が突然途切れたように不自然な楽音信号となることがある。したがって、上記のように構成すれば、楽音信号発生開始手段は、第2記憶手段に保持された予約情報を用いて、前記所定の音量レベル以下であることを検出できるので、発生される楽音信号が不自然になるのを防止できる。   For example, in the case of reserving a plurality of sound generation channels and using the reservation information stored in the first storage means that can be updated at any time to detect that the sound volume is below the predetermined volume level, Thus, the generated musical sound signal may become unnatural. That is, when the control unit reserves the sound generation channel CHa whose sound volume level has been detected by the sound volume level detection means and the sound generation channel CHb whose sound volume level has not been detected, the reservation information in the first storage means indicates the sound volume level of the sound generation channel CHb. Updated before being detected. Thereafter, the volume level detecting means detects the volume level of the sound generation channel CHb. The musical sound signal generating means can generate the sound channel only if the sound volume level detection result of the sound generation channel CHb is equal to or lower than the predetermined sound volume level even if the sound volume level detection result of the sound generation channel CHa is equal to or higher than the predetermined sound volume level. Generation of a new tone signal is started at CHa and CHb. Therefore, an unnatural tone signal may appear as if the tone signal generated in the sound generation channel CHa is suddenly interrupted. Therefore, with the configuration described above, the tone signal generation start means can detect that it is below the predetermined volume level using the reservation information held in the second storage means. Can be prevented from becoming unnatural.

また、本発明の他の特徴は、音源部は、前記チャンネル指定情報が供給されるごとに、チャンネル指定情報によって指定された発音チャンネルに、共通の識別情報であって、前記グループを表す識別情報を割り当てる識別情報割り当て手段(17b1)と、識別情報割り当て手段が前記指定された発音チャンネルに共通の識別情報を割り当てたときにセットされ、楽音信号発生開始手段が予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて楽音信号の発生を開始させたときにクリアされる識別情報フラグを、共通の識別情報ごとに記憶する識別情報記憶手段(GU1〜GU30)とをさらに有し、予約情報記憶手段は、割り当てられた共通の識別情報を予約情報として記憶することにある。
According to another aspect of the present invention, each time the channel designation information is supplied, the sound source unit is identification information common to the sound generation channel designated by the channel designation information, the identification information representing the group. Is set when the identification information allocating means assigns common identification information to the designated tone generation channel, and the musical tone signal generation start means indicates the reservation by the reservation information. Identification information storage means for storing, for each common identification information, an identification information flag that is cleared when generation of a musical tone signal is started in all the sound generation channels belonging to the one group. GU1 to GU30), and the reservation information storage means stores the assigned common identification information as reservation information. It is to.

この場合、共通の識別情報の種類が予め決められていて、識別情報割り当て手段は、識別情報フラグを用いていずれの発音チャンネルにも割り当てられていない識別情報を選択して、前記選択した識別情報を前記指定された発音チャンネルに割り当て、音源部は、識別情報記憶手段に記憶された識別情報フラグを用いて、前記指定された発音チャンネルへの識別情報の割り当てが可能か否かを検出する割り当て可否検出手段(17b2,GF)をさらに有し、予約手段は、割り当て可否検出手段の検出結果を用いて、前記指定された発音チャンネルへの共通の識別情報の割り当てが可能になるまで待機する待機手段(S26)を有するようにするとよい。   In this case, the type of common identification information is determined in advance, and the identification information assigning means uses the identification information flag to select identification information that is not assigned to any sound generation channel, and selects the selected identification information. Is assigned to the designated sounding channel, and the sound source unit uses the identification information flag stored in the identification information storage means to detect whether or not the identification information can be assigned to the designated sounding channel. The reservation unit further includes a permission detection unit (17b2, GF), and the reservation unit waits until common identification information can be allocated to the designated sound generation channel using the detection result of the allocation determination unit. Means (S26) may be included.

上記のように構成した楽音信号発生装置によれば、楽音信号発生を同時に開始させる発音チャンネルを共通の識別情報を用いて管理することができる。すなわち、複数の識別情報を用いて、それぞれ1つ又は複数の発音チャンネルからなる複数のグループに区分して、予約された発音チャンネルを管理することができる。したがって、制御部に対して、短時間のうちに多くの楽音信号発生開始が指示されたとしても、制御部は、前記共通の識別情報に空きがある限り、発音チャンネルの予約をすることができ、予約後は他の処理を実行できるので、楽音信号発生装置の処理速度を向上させることができる。   According to the musical tone signal generator configured as described above, it is possible to manage the sound generation channels that simultaneously start the musical tone signal generation using the common identification information. That is, it is possible to manage reserved sound generation channels by dividing into a plurality of groups each composed of one or a plurality of sound generation channels using a plurality of identification information. Therefore, even if the control unit is instructed to start generation of many tone signals within a short period of time, the control unit can reserve a sound generation channel as long as there is a space in the common identification information. Since the other processing can be executed after the reservation, the processing speed of the musical tone signal generator can be improved.

なお、前記括弧内の符号は、本発明の理解を容易にするために、後述する実施形態との対応関係を示すものであるが、本発明はこれに限定されるものではない。   In addition, although the code | symbol in the said parenthesis shows the corresponding relationship with embodiment mentioned later in order to make an understanding of this invention easy, this invention is not limited to this.

本発明の一実施形態に係る楽音信号発生装置の適用された電子楽器の全体ブロック図である。1 is an overall block diagram of an electronic musical instrument to which a musical tone signal generator according to an embodiment of the present invention is applied. 図1の音源回路の具体的構成を示すブロック図である。FIG. 2 is a block diagram showing a specific configuration of the tone generator circuit of FIG. 1. 波形データの構成を示すメモリマップである。It is a memory map which shows the structure of waveform data. カットオフエンベロープの構成を説明するための説明図である。It is explanatory drawing for demonstrating the structure of a cutoff envelope. 図2の発音予約回路の具体的構成を示すブロック図である。FIG. 3 is a block diagram showing a specific configuration of the pronunciation reservation circuit of FIG. 2. 図2の楽音パラメータ入出力回路の具体的構成を示すブロック図である。FIG. 3 is a block diagram showing a specific configuration of a musical tone parameter input / output circuit of FIG. 2. ボイスデータの構成を示すメモリマップである。It is a memory map which shows the structure of voice data. パート情報、ノート情報、発音チャンネル情報及びボイスデータの関係を示す模式図である。It is a schematic diagram which shows the relationship between part information, note information, sound production channel information, and voice data. ノート情報の構成を示すメモリマップである。It is a memory map which shows the structure of note information. 発音チャンネル情報の構成を示すメモリマップである。It is a memory map which shows the structure of pronunciation channel information. 発音予約プログラムを示すフローチャートである。It is a flowchart which shows a pronunciation reservation program. 図11の発音チャンネル確保ルーチンを示すフローチャートである。12 is a flowchart showing a sound generation channel securing routine in FIG. 11. 図11のパラメータ書き込み処理の具体的な一例を示すフローチャートである。12 is a flowchart illustrating a specific example of the parameter writing process of FIG. 11. 発音予約回路の動作を示すタイムチャートである。It is a time chart which shows operation | movement of a pronunciation reservation circuit. 楽音パラメータ入出力回路の動作を示すタイムチャートである。It is a time chart which shows operation | movement of a musical tone parameter input / output circuit. パラメータ更新処理プログラムを示すフローチャートである。It is a flowchart which shows a parameter update process program. 図16の第2メモリのパラメータの更新処理の具体的な一例を示すフローチャートである。It is a flowchart which shows a specific example of the update process of the parameter of the 2nd memory of FIG. 音量レベル取得処理プログラムを示すフローチャートである。It is a flowchart which shows a volume level acquisition process program.

a.全体構成
まず、本発明の一実施形態について図面を用いて説明する。図1は、本発明の一実施形態に係る楽音信号発生装置が適用される電子楽器の全体ブロック図である。この電子楽器は、鍵盤11、パネル操作子12、ペダル操作子13、操作子インターフェース回路14、表示器16、音源回路17、サウンドシステム18、コンピュータ部19、記憶装置21及び外部インターフェース回路22を備えている。
a. Overall Configuration First, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is an overall block diagram of an electronic musical instrument to which a musical tone signal generator according to an embodiment of the present invention is applied. The electronic musical instrument includes a keyboard 11, a panel operator 12, a pedal operator 13, an operator interface circuit 14, a display 16, a sound source circuit 17, a sound system 18, a computer unit 19, a storage device 21, and an external interface circuit 22. ing.

鍵盤11は、演奏者の手によって操作されて、それぞれ発生させる楽音信号の音高を指定するとともに楽音信号の発生及び停止を指示する複数の白鍵及び黒鍵からなる。パネル操作子12は、電子楽器の操作パネル上に設けられた複数の操作子からなる。これらの操作子も、演奏者の手によって操作されて、発生される楽音信号の音色、音量、効果等の楽音特性を設定する操作子を含み、電子楽器全体の動作を設定するためのものである。これらの操作子には、オンオフ操作子に加えて、回転式操作子、スライド式操作子などの各種操作子が含まれる。また、パネル操作子12にはオンオフ操作子に対応したスイッチ、回転式操作子に対応したボリューム又はロータリーエンコーダ、スライド式操作子に対応したボリューム又はリニアエンコーダなど、各操作子に対応した作動素子も含まれる。   The keyboard 11 is composed of a plurality of white keys and black keys that are operated by the performer's hand to specify the pitch of the tone signal to be generated and to instruct the generation and stop of the tone signal. The panel operation element 12 includes a plurality of operation elements provided on the operation panel of the electronic musical instrument. These controls are also used to set the operation of the entire electronic musical instrument, including those that are set by the performer's hand to set the musical tone characteristics such as the tone, volume, and effects of the musical tone signal that is generated. is there. These operators include various operators such as a rotary operator and a slide operator in addition to an on / off operator. In addition, the panel operation element 12 includes an operation element corresponding to each operation element such as a switch corresponding to an on / off operation element, a volume or rotary encoder corresponding to a rotary operation element, and a volume or linear encoder corresponding to a slide operation element. included.

ペダル操作子13は、演奏者の足によって操作されて、発生される楽音信号の音色、音量、効果などの楽音特性を設定する。これらの操作子には、オンオフ操作子に加えてスライド式操作子が含まれる。また、ペダル操作子13には、オンオフ操作に対応したスイッチ、スライド式操作子に対応したボリューム又はリニアエンコーダなどの各操作子に対応した作動素子も含まれる。   The pedal operator 13 is operated by a player's foot and sets musical tone characteristics such as tone color, volume, and effect of the musical tone signal generated. These operators include a slide type operator in addition to an on / off operator. Further, the pedal operator 13 includes an operating element corresponding to each operator such as a switch corresponding to an on / off operation, a volume corresponding to a slide type operator, or a linear encoder.

鍵盤11、パネル操作子12及びペダル操作子13は、バス23に接続された操作子インターフェース回路14に接続されている。そして、鍵盤11、パネル操作子12及びペダル操作子13の操作を表す演奏情報が、操作子インターフェース回路14及びバス23を介して後述するコンピュータ部19に供給される。表示器16は、液晶ディスプレイ(LCD)によって構成され、表示画面上に文字、図形などを表示する。この表示器16の表示は、バス23を介してコンピュータ部19によって制御される。   The keyboard 11, panel operator 12, and pedal operator 13 are connected to an operator interface circuit 14 connected to a bus 23. Then, performance information representing operations of the keyboard 11, the panel operator 12, and the pedal operator 13 is supplied to the computer unit 19 described later via the operator interface circuit 14 and the bus 23. The display 16 is configured by a liquid crystal display (LCD), and displays characters, figures, and the like on a display screen. The display on the display 16 is controlled by the computer unit 19 via the bus 23.

音源回路17は、複数の波形データを記憶した波形メモリWMを含み、波形メモリWMから、CPU19aによって指定された波形データを読み出してディジタル楽音信号を生成し、サウンドシステム18に供給する。なお、ディジタル楽音信号にコーラス効果、残響効果などの各種効果を付加するエフェクタ回路は、後述するように音源回路17に含まれている。サウンドシステム18は、音源回路17から供給されたディジタル楽音信号をアナログ楽音信号にD/A変換するD/A変換器、変換したアナログ楽音信号を増幅するアンプ、及び増幅されたアナログ楽音信号を音響信号に変換して出力するスピーカを備えている。   The tone generator circuit 17 includes a waveform memory WM that stores a plurality of waveform data, reads the waveform data designated by the CPU 19 a from the waveform memory WM, generates a digital musical tone signal, and supplies it to the sound system 18. Note that an effector circuit for adding various effects such as a chorus effect and a reverberation effect to the digital musical tone signal is included in the tone generator circuit 17 as will be described later. The sound system 18 is a D / A converter that D / A converts the digital musical tone signal supplied from the sound source circuit 17 into an analog musical tone signal, an amplifier that amplifies the converted analog musical tone signal, and the amplified analog musical tone signal. A speaker that converts the signal into an output is provided.

コンピュータ部19は、バス23にそれぞれ接続されたCPU19a、タイマ19b、ROM19c及びRAM19dからなる。CPU19aは、操作子インターフェース回路14及び外部インターフェース回路22から供給される演奏情報に応じて、音源回路17に発音のために必要な情報を供給する。とくに、CPU19aは、演奏者による鍵盤11の押鍵操作によって発生するノートオンイベント及び外部インターフェース回路22を介して外部機器から供給される演奏情報又は記憶装置21に記憶されていて再生される演奏情報を構成するノートオンイベントに応じて、発音予約プログラムを実行し、音源回路17に対し新たな発音の予約を行う。すなわち、CPU19aは、新たな発音に係る楽音自体に関するパラメータ(以下、楽音パラメータという。)を音源回路17に供給するだけで、発音の開始指示は行わない。発音の開始タイミングは、音源回路17によって制御される。   The computer unit 19 includes a CPU 19a, a timer 19b, a ROM 19c, and a RAM 19d connected to the bus 23, respectively. The CPU 19 a supplies information necessary for sound generation to the tone generator circuit 17 in accordance with performance information supplied from the operator interface circuit 14 and the external interface circuit 22. In particular, the CPU 19a performs a note-on event generated by a player's key press operation on the keyboard 11, and performance information supplied from an external device via the external interface circuit 22 or performance information stored in the storage device 21 and reproduced. In response to the note-on event that constitutes the sound generation circuit 17, a sound generation reservation program is executed to reserve a new sound generation for the tone generator circuit 17. That is, the CPU 19a simply supplies a parameter relating to the musical sound itself relating to a new sounding (hereinafter referred to as a musical sound parameter) to the sound source circuit 17, and does not issue a sounding start instruction. The sound generation start timing is controlled by the tone generator circuit 17.

また、記憶装置21は、HDD、FDD、CD−ROM、MO、DVDなどの大容量の不揮発性記録媒体と、同各記録媒体に対応するドライブユニットを含むものであり、各種データ及びプログラムの記憶及び読出しを可能にしている。これらのデータ及びプログラムは予め記憶装置21に記憶されていてもよいし、外部インターフェース回路22を介して外部から取り込んでもよい。そして、記憶装置21に記憶された各種データ及びプログラムは、CPU19aによって読み込まれ、電子楽器の制御に利用される。外部インターフェース回路22は、MIDIインターフェース回路及び通信インターフェース回路を含んでおり、他の電子音楽装置、パーソナルコンピュータなどのMIDI対応の外部機器に接続可能となっているとともに、インターネットなどの通信ネットワークに接続可能となっている。 The storage device 21 includes a large-capacity nonvolatile recording medium such as an HDD, FDD, CD-ROM, MO, and DVD, and a drive unit corresponding to each recording medium, and stores various data and programs. Reading is possible. These data and programs may be stored in advance in the storage device 21 or may be taken in from the outside via the external interface circuit 22. Various data and programs stored in the storage device 21 are read by the CPU 19a and used to control the electronic musical instrument. The external interface circuit 22 includes a MIDI interface circuit and a communication interface circuit. The external interface circuit 22 can be connected to MIDI-compatible external devices such as other electronic music devices and personal computers, and can be connected to a communication network such as the Internet. It has become.

b.音源回路の構成
次に、音源回路17の構成について詳しく説明する。まず音源回路17の全体構成について説明する。音源回路17は、図2に示すように、波形データを記憶した波形メモリWMを備えている。また、音源回路17は、波形メモリWMから波形データを読み出してディジタル楽音信号を生成する複数(例えば128個)の発音チャンネルCH0,CH1・・・CH127を備えている。また、音源回路17は、発音チャンネルCH0,CH1・・・CH127にて生成されたディジタル楽音信号を累算してサウンドシステム18に出力するチャンネル累算回路17aを備えている。また、音源回路17は、CPU19aによる発音チャンネルの予約の受け付け及び予約された発音チャンネルに発音の開始指示を行う発音予約回路17bを備えている。さらに、音源回路17は、CPU19aから出力された各発音チャンネル用の楽音パラメータを入力し、入力した楽音パラメータを各発音チャンネルCH0,CH1・・・CH127に所定のタイミングで出力する楽音パラメータ入出力回路17cを備えている。つぎに、これらの波形メモリWM、発音チャンネルCH0,CH1・・・CH127、チャンネル累算回路17a、発音予約回路17b及び楽音パラメータ入出力回路17cについて詳しく説明する。
b. Next, the configuration of the tone generator circuit 17 will be described in detail. First, the overall configuration of the tone generator circuit 17 will be described. As shown in FIG. 2, the tone generator circuit 17 includes a waveform memory WM that stores waveform data. The tone generator circuit 17 includes a plurality of (for example, 128) tone generation channels CH0, CH1,... CH127 that read waveform data from the waveform memory WM and generate digital musical tone signals. The sound source circuit 17 includes a channel accumulation circuit 17a that accumulates digital musical tone signals generated in the sound generation channels CH0, CH1,. The tone generator circuit 17 also includes a tone generation reservation circuit 17b that receives a reservation for a tone generation channel by the CPU 19a and instructs the reserved tone generation channel to start a tone generation. Further, the tone generator circuit 17 receives the tone parameter for each tone generation channel output from the CPU 19a, and outputs the tone parameter input / output circuit to each tone generation channel CH0, CH1,... CH127 at a predetermined timing. 17c. Next, the waveform memory WM, tone generation channels CH0, CH1,... CH127, channel accumulation circuit 17a, tone generation reservation circuit 17b, and tone parameter input / output circuit 17c will be described in detail.

b1.波形メモリ
波形メモリWMには、図3に示すように複数種類の楽器の楽音波形を表す波形データが記憶されている。1つの楽器の楽音が複数の成分に分解されて別々の楽音波形として記憶されている場合もある。例えばピアノ音のように、発音開始時の音色が激しく変化する成分と、発音開始から終了まであまり音色が変化しない成分とに分解して別々の楽音波形として記憶している場合もある。そこで、1つの楽音波形を構成要素ごとに分解した楽音波形をエレメント波形といい、それぞれ別々の発音チャンネルによって読み出されたエレメント波形から生成されるそれぞれのディジタル楽音信号をエレメント信号という。生成された各エレメント信号は、チャンネル累算回路17aによって合成されて1つの楽器の楽音信号となる。なお、楽器の種類によっては、1つの楽音波形を構成要素ごとに分解することなく、1つの波形として記憶してもよい。この場合、1つの楽音波形を構成要素ごとに分解していないので、厳密に言えば、この楽音波形はエレメント波形では無いが、1つの楽器の楽音信号が1つのエレメント波形のみから生成されるとみなすことができるので、この場合の楽音波形もエレメント波形という。
b1. Waveform Memory The waveform memory WM stores waveform data representing musical sound waveforms of a plurality of types of musical instruments as shown in FIG. In some cases, a musical tone of one musical instrument is decomposed into a plurality of components and stored as separate musical sound waveforms. For example, like a piano sound, there are cases where the tone color at the start of sound generation is broken down into components that do not change much from the start to the end of sound generation and is stored as separate musical sound waveforms. Therefore, a musical sound waveform obtained by disassembling one musical sound waveform for each component is referred to as an element waveform, and each digital musical sound signal generated from an element waveform read by a separate sound generation channel is referred to as an element signal. The generated element signals are synthesized by the channel accumulation circuit 17a to become a musical tone signal of one musical instrument. Depending on the type of musical instrument, one musical sound waveform may be stored as one waveform without being disassembled for each component. In this case, since one musical sound waveform is not decomposed for each component, strictly speaking, this musical sound waveform is not an element waveform, but a musical sound signal of one musical instrument is generated from only one element waveform. In this case, the tone waveform is also called an element waveform.

各エレメント波形は、鍵音高の所定の範囲毎(例えば、1オクターブ毎)に設けられた波形セットから構成され、各発音チャンネルCH0,CH1・・・CH127において補間処理を行うことにより、押鍵された鍵の音高に対応したディジタル楽音信号を生成する。また、波形セットは、押鍵強さの所定の範囲毎(例えば、4段階に分けた押鍵強さの段階毎)に設けられた波形データから構成され、各発音チャンネルCH0,CH1・・・CH127において補間処理を行うことにより、押鍵強さに対応した音色及び音量のエレメント信号を生成する。なお、各鍵ごとに波形セットを設けてもよい。また、エレメント波形を、鍵音高に関係なく、1つの波形セットのみから構成してもよい。さらに、各波形セットは、押鍵強さに関係なく、1つの波形データのみから構成される場合もある。   Each element waveform is composed of a waveform set provided for each predetermined range of key pitches (for example, every one octave). By performing interpolation processing in each of the sound generation channels CH0, CH1,. A digital musical tone signal corresponding to the pitch of the key is generated. The waveform set is composed of waveform data provided for each predetermined range of key depression strength (for example, for each step of the key depression strength divided into four stages), and each tone generation channel CH0, CH1,. By performing an interpolation process in CH127, an element signal having a tone color and volume corresponding to the key depression strength is generated. A waveform set may be provided for each key. The element waveform may be composed of only one waveform set regardless of the key pitch. Furthermore, each waveform set may be composed of only one waveform data regardless of the key depression strength.

b2.発音チャンネル
各発音チャンネルCH0,CH1・・・CH127は、それぞれ同様に構成されており、サンプリング周期ごとにエレメント信号の生成をそれぞれ行う。以下の説明では、発音チャンネルにおけるエレメント信号の生成を単に発音という。各発音チャンネルCH0,CH1・・・CH127は、低周波信号発生回路LFO、ピッチ変更回路PEG、カットオフ周波数変更回路FEG及び音量変更回路AEGを備えている。さらに、各発音チャンネルCH0,CH1・・・CH127は、アドレス発生回路ADR、サンプル補間回路SPI、フィルタ回路FLT及び音量制御回路AMPも備えている。
b2. Sound generation channels The sound generation channels CH0, CH1,... CH127 are configured in the same manner, and generate element signals for each sampling period. In the following description, the generation of an element signal in the sound generation channel is simply referred to as sound generation. Each of the tone generation channels CH0, CH1,... CH127 includes a low frequency signal generation circuit LFO, a pitch change circuit PEG, a cut-off frequency change circuit FEG, and a volume change circuit AEG. Further, each sound generation channel CH0, CH1,... CH127 also includes an address generation circuit ADR, a sample interpolation circuit SPI, a filter circuit FLT, and a volume control circuit AMP.

低周波信号発生回路LFOは、発音開始後、音高、音色及び音量を周期的に変化させる変調信号を生成して、アドレス発生回路ADR、フィルタ回路FLT及び音量制御回路AMPにそれぞれ供給する。低周波信号発生回路LFOには、楽音パラメータ入出力回路17cを介して、CPU19aから低周波信号制御パラメータが供給される。低周波信号制御パラメータには、低周波信号発生回路LFOから出力する変調信号の波形、周波数及び振幅を指定するデータが含まれる。   The low frequency signal generation circuit LFO generates a modulation signal that periodically changes the pitch, tone color, and volume after the start of sound generation, and supplies the modulation signal to the address generation circuit ADR, the filter circuit FLT, and the volume control circuit AMP. The low frequency signal generation circuit LFO is supplied with low frequency signal control parameters from the CPU 19a via the musical tone parameter input / output circuit 17c. The low frequency signal control parameter includes data designating the waveform, frequency and amplitude of the modulation signal output from the low frequency signal generation circuit LFO.

ピッチ変更回路PEGは、エレメント信号の音高を制御する音高制御信号をアドレス発生回路ADRに供給する。ピッチ変更回路PEGは、発音開始後の時間経過に従ってエレメント信号の音高が変化するように、時間経過に従って変化する音高制御信号を生成してアドレス発生回路ADRに供給する。この時間経過に従って変化する一連の音高制御信号をピッチエンベロープと呼ぶ。また、カットオフ周波数変更回路FEGは、エレメント信号の周波数特性を制御するカットオフ周波数制御信号をフィルタ回路FLTに供給する。カットオフ周波数制御回路FEGは、発音開始後の時間経過に従ってフィルタのカットオフ周波数が変化するように、時間経過に従って変化するカットオフ周波数制御信号を生成して、フィルタ回路FLTに供給する。この時間経過に従って変化する一連のカットオフ周波数制御信号をカットオフエンベロープと呼ぶ。また、音量変更回路AEGは、エレメント信号の音量を制御する音量制御信号を音量制御回路AMPに供給する。音量変更回路AEGは、発音開始後の時間経過に従ってエレメント信号の音量が変化するように、時間経過に従って変化する音量制御信号を生成して音量制御回路AMPに供給する。この時間経過に従って変化する一連の音量制御信号を音量エンベロープと呼ぶ。   The pitch change circuit PEG supplies a pitch control signal for controlling the pitch of the element signal to the address generation circuit ADR. The pitch change circuit PEG generates a pitch control signal that changes over time so that the pitch of the element signal changes over time after the start of sound generation, and supplies the pitch control signal to the address generation circuit ADR. A series of pitch control signals that change over time is called a pitch envelope. The cut-off frequency changing circuit FEG supplies a cut-off frequency control signal for controlling the frequency characteristic of the element signal to the filter circuit FLT. The cut-off frequency control circuit FEG generates a cut-off frequency control signal that changes over time so that the cut-off frequency of the filter changes over time after the start of sound generation, and supplies the cut-off frequency control signal to the filter circuit FLT. A series of cutoff frequency control signals that change with the passage of time is called a cutoff envelope. The volume change circuit AEG supplies a volume control signal for controlling the volume of the element signal to the volume control circuit AMP. The volume change circuit AEG generates a volume control signal that changes with time so that the volume of the element signal changes with time after the start of sound generation, and supplies the volume control signal to the volume control circuit AMP. A series of volume control signals that change over time is called a volume envelope.

例えば、カットオフエンベロープは、図4に示すように、カットオフ周波数制御信号の変化率が異なる第1乃至第5ステージからなる。カットオフ周波数変更回路FEGには、楽音パラメータ入出力回路17cを介して、CPU19aからカットオフエンベロープパラメータが供給される。カットオフエンベロープパラメータは、発音開始時のカットオフ周波数を表す初期レベル、各ステージの終了時のカットオフ周波数(アタックレベル、第1ディケイレベル、第2ディケイレベル及びリリースレベル)を表す各ステージの目標レベル及び各ステージの持続時間(アタックタイム、第1ディケイタイム、第2ディケイタイム及びリリースタイム)からなる。   For example, as shown in FIG. 4, the cut-off envelope is composed of first to fifth stages having different rates of change of the cut-off frequency control signal. Cut-off envelope parameters are supplied from the CPU 19a to the cut-off frequency changing circuit FEG via the musical tone parameter input / output circuit 17c. The cut-off envelope parameter is an initial level representing the cut-off frequency at the start of sound generation, and a target for each stage representing the cut-off frequency (attack level, first decay level, second decay level, and release level) at the end of each stage. It consists of the level and the duration of each stage (attack time, first decay time, second decay time and release time).

発音開始時には、カットオフ周波数変更回路FEGに対して、初期レベル、第1ステージの目標レベル及び第1ステージの持続時間(すなわち、アタックレベル及びアタックタイム)のみが供給され、第2ステージ以降の目標レベル及び持続時間(すなわち、ディケイ1レベル、ディケイ2レベル、リリースレベル、ディケイ1タイム、ディケイ2タイム及びリリースタイム)は、1つ前のステージが終了した後に供給される。ただし、第4ステージにおいては、演奏者による鍵盤11の離鍵操作によってノートオフイベントが発生し、CPU19aからリリースレベル及びリリースタイムが供給されるまでの間、カットオフ周波数が第2ディケイレベルに維持される。カットオフ周波数変更回路FEGは、各ステージの目標レベル及び持続時間から、各ステージのカットオフ周波数の変化率を算出し、各サンプリング周期ごとに、カットオフ周波数制御信号を前記算出した変化率で変化させてフィルタ回路FLTに供給する。   At the start of sound generation, only the initial level, the target level of the first stage, and the duration of the first stage (that is, the attack level and attack time) are supplied to the cut-off frequency changing circuit FEG. The level and duration (ie, decay 1 level, decay 2 level, release level, decay 1 time, decay 2 time, and release time) are provided after the previous stage is finished. However, in the fourth stage, the cut-off frequency is maintained at the second decay level until a note-off event is generated by the key release operation of the keyboard 11 by the performer and the release level and release time are supplied from the CPU 19a. Is done. The cut-off frequency changing circuit FEG calculates the change rate of the cut-off frequency of each stage from the target level and duration of each stage, and changes the cut-off frequency control signal at the calculated change rate for each sampling period. To be supplied to the filter circuit FLT.

なお、初期レベルと最終ステージの目標レベルは異なっていてもよい。また、CPU19aから供給される初期レベル及び各ステージの目標レベルは、絶対値で表わされていてもよいし、各ステージに共通の基準となるカットオフ周波数及び基準となるカットオフ周波数に対する相対値で表わされていてもよい。また、上記の例では、カットオフ周波数エンベロープは、5つのステージからなるようにしたが、ステージ数はこれに限られず、さらにステージ数を増やしてもよい。逆に、ステージ数を減らしてもよい。   Note that the target level of the initial level and the final stage may be different. Further, the initial level and the target level of each stage supplied from the CPU 19a may be expressed by absolute values, or a reference cutoff frequency common to each stage and a relative value with respect to the reference cutoff frequency. May be represented. In the above example, the cutoff frequency envelope is composed of five stages, but the number of stages is not limited to this, and the number of stages may be further increased. Conversely, the number of stages may be reduced.

ピッチ変更回路PEG及び音量変更回路AEGにも、カットオフ周波数変更回路FEGと同様に、CPU19aからピッチエンベロープパラメータ及び音量エンベロープパラメータが供給される。ピッチエンベロープパラメータ及び音量エンベロープパラメータもカットオフエンベロープパラメータと同様に、初期レベル、各ステージの目標レベル及び持続時間を含む。すなわち、ピッチエンベロープ及び音量エンベロープも、ピッチエンベロープパラメータ及び音量エンベロープパラメータによって規定される複数のステージからなり、各サンプリング周期ごとに、時間経過に従って変化する音高制御信号及び音量制御信号を生成して、アドレス発生回路ADR及び音量制御回路AMPにそれぞれ供給する。   Similarly to the cut-off frequency changing circuit FEG, the pitch changing circuit PEG and the volume changing circuit AEG are supplied with the pitch envelope parameter and the volume envelope parameter from the CPU 19a. Like the cutoff envelope parameter, the pitch envelope parameter and the volume envelope parameter include the initial level, the target level of each stage, and the duration. That is, the pitch envelope and the volume envelope are also composed of a plurality of stages defined by the pitch envelope parameter and the volume envelope parameter. The signals are supplied to the address generation circuit ADR and the volume control circuit AMP, respectively.

アドレス発生回路ADRは、CPU19aから楽音パラメータ入出力回路17cを介して供給された楽音パラメータに含まれる押鍵された鍵の鍵音高を表す音高値、ピッチ変更回路PEGから供給された音高制御信号及び低周波信号発生回路LFOから供給された変調信号を合成してピッチシフト量を算出する。ここで、アドレス発生回路ADRには、CPU19aから、楽音パラメータ入出力回路17cを介して、波形データ情報が供給される。波形データ情報は、波形メモリWMから読み出す波形データの先頭アドレス及び末尾アドレス、並びにこの波形データの音高を表す元ピッチからなる。この元ピッチと発音する楽音のピッチとの差が、ピッチシフト量である。次に、アドレス発生回路ADRは、ピッチシフト量に応じて、波形データの読み出しレートを決定する。そして、アドレス発生回路ADRは、前記決定した読み出しレートで波形メモリWMから波形データを読み出す。ただし、ピッチシフト量に応じて決定される読み出しレートは、通常、小数部を含むので、波形データの読み出しアドレスも整数部と小数部からなる。そこで、この波形データの読み出しでは、整数部を用いて波形データの隣合う前後一対のサンプル値を読み出し、サンプル補間部SPIへ供給する。サンプル補間部SPIは、供給された一対のサンプル値とアドレスの小数部とを用いて補間演算を行ってディジタル楽音データを生成して、フィルタ回路FLTに供給する。   The address generating circuit ADR is a pitch value representing the key pitch of the key that has been depressed included in the musical tone parameter supplied from the CPU 19a via the musical tone parameter input / output circuit 17c, and the pitch control supplied from the pitch changing circuit PEG. The pitch shift amount is calculated by synthesizing the signal and the modulation signal supplied from the low frequency signal generation circuit LFO. Here, waveform data information is supplied to the address generation circuit ADR from the CPU 19a via the musical tone parameter input / output circuit 17c. The waveform data information includes a start address and an end address of waveform data read from the waveform memory WM, and an original pitch representing a pitch of the waveform data. The difference between the original pitch and the pitch of the musical sound to be generated is the pitch shift amount. Next, the address generation circuit ADR determines the waveform data read rate according to the pitch shift amount. The address generation circuit ADR reads the waveform data from the waveform memory WM at the determined read rate. However, since the readout rate determined according to the pitch shift amount usually includes a decimal part, the readout address of the waveform data also consists of an integer part and a decimal part. Therefore, in reading this waveform data, a pair of adjacent sample values of the waveform data is read using the integer part and supplied to the sample interpolation unit SPI. The sample interpolation unit SPI performs an interpolation operation using the supplied pair of sample values and the decimal part of the address to generate digital musical tone data, and supplies it to the filter circuit FLT.

フィルタ回路FLTは、カットオフ周波数変更回路FEGから供給されたカットオフ周波数制御信号及び低周波信号発生回路LFOから供給された変調信号を合成して、フィルタのカットオフ周波数を算出する。フィルタ回路FLTには、CPU19aから、楽音パラメータ入出力回路17cを介して、フィルタ制御パラメータも供給されている。フィルタ制御パラメータには、フィルタの種類(例えば、ハイパスフィルタ、ローパスフィルタなど)を選択するフィルタ選択情報が含まれる。フィルタ回路FLTは、フィルタ選択情報に従って選択したフィルタのカットオフ周波数を前記算出したカットオフ周波数に設定し、サンプル補間回路SPIから供給された波形データをこのフィルタでフィルタリング処理した後、音量制御回路AMPへ出力する。   The filter circuit FLT combines the cut-off frequency control signal supplied from the cut-off frequency changing circuit FEG and the modulation signal supplied from the low-frequency signal generating circuit LFO to calculate the cut-off frequency of the filter. Filter control parameters are also supplied to the filter circuit FLT from the CPU 19a via the musical tone parameter input / output circuit 17c. The filter control parameter includes filter selection information for selecting a filter type (for example, a high-pass filter, a low-pass filter, etc.). The filter circuit FLT sets the cutoff frequency of the filter selected according to the filter selection information to the calculated cutoff frequency, filters the waveform data supplied from the sample interpolation circuit SPI with this filter, and then performs the volume control circuit AMP. Output to.

音量制御回路AMPは、音量変更回路AEGから供給された音量制御信号及び低周波信号発生回路LFOから供給された変調信号を合成して、発生すべき楽音信号の音量を算出する。そして、音量制御回路AMPは、フィルタ回路FLTから供給された波形データを前記算出された音量に応じて減衰又は増幅して、チャンネル累算回路17aへ出力する。   The volume control circuit AMP combines the volume control signal supplied from the volume change circuit AEG and the modulation signal supplied from the low frequency signal generation circuit LFO, and calculates the volume of the tone signal to be generated. Then, the volume control circuit AMP attenuates or amplifies the waveform data supplied from the filter circuit FLT according to the calculated volume, and outputs it to the channel accumulation circuit 17a.

なお、本実施形態においては、音源回路17は、128個の発音チャンネルCH0,CH1・・・CH127を備えているが、発音チャンネルを1つのみ備えるようにしておいて、その発音チャンネルを時分割で利用してもよい。例えば1サンプリング周期を128分割すれば、分割された各期間においてなされる処理は、本実施形態における発音チャンネルCH0,CH1・・・CH127でなされる処理にそれぞれ対応する。   In the present embodiment, the tone generator circuit 17 includes 128 tone generation channels CH0, CH1,... CH127. You may use it. For example, if one sampling period is divided into 128, the processing performed in each divided period corresponds to the processing performed in the sound generation channels CH0, CH1,.

b3.チャンネル累算回路17a
チャンネル累算回路17aは、サンプリング周期ごとに、各発音チャンネルCH0,CH1・・・CH127から出力された楽音信号を累算して、累算した楽音信号をサウンドシステム18に出力する。なお、チャンネル累算回路17aは、各発音チャンネルから出力される楽音信号にそれぞれ共通の効果(例えば、コーラス効果、残響効果など)を付加するエフェクト処理回路を備えている。
b3. Channel accumulation circuit 17a
The channel accumulation circuit 17a accumulates the musical tone signals output from the sound generation channels CH0, CH1,... CH127 at each sampling period, and outputs the accumulated musical tone signal to the sound system 18. The channel accumulating circuit 17a includes an effect processing circuit for adding a common effect (for example, chorus effect, reverberation effect, etc.) to the tone signal output from each sound generation channel.

b4.発音予約回路17b
次に、発音予約回路17bについて説明する。発音予約回路17bは、CPU19aにより指定された発音チャンネルにて発音する楽音に関する情報を生成して記憶するとともに、所定のタイミングで、その発音チャンネルに対し発音開始を指示する。
b4. Pronunciation reservation circuit 17b
Next, the pronunciation reservation circuit 17b will be described. The sound generation reservation circuit 17b generates and stores information related to the musical sound to be generated in the sound generation channel designated by the CPU 19a, and instructs the sound generation channel to start sound generation at a predetermined timing.

発音予約回路17bは、図5に示すように、チャンネル指定レジスタCS0,CS1・・・CS127及び予約受付回路17b1を備えている。チャンネル指定レジスタCS0,CS1・・・CH127は、発音チャンネルCH0,CH1・・・CH127にそれぞれ対応したビットで構成された128ビットからなるビットマップであり、CPU19aが音源回路17に対し、後述する発音チャンネルの予約のキャンセルも含めて、発音チャンネルを特定して指示を行うときに用いられる。例えば、複数のエレメント波形に分解された楽音波形の生成を行うために、CPU19aは、発音予約回路17bにエレメント信号の発生に使用する複数の発音チャンネルを指示する。このとき、CPU19aは、チャンネル指定レジスタCS0,CS1・・・CS127のうち、使用する発音チャンネルに対応したビットであって、楽音波形を構成するエレメント信号の数と同数のビットを「予約」にセットする。その後、CPU19aは、予約受付回路17b1に、指示された発音チャンネルに共通のグループ番号を割り当てさせるために、予約受付回路17b1に予約トリガ信号を出力する。   As shown in FIG. 5, the pronunciation reservation circuit 17b includes channel designation registers CS0, CS1,... CS127 and a reservation reception circuit 17b1. Channel designation registers CS0, CS1,... CH127 are 128-bit bitmaps made up of bits corresponding to the sound generation channels CH0, CH1,... CH127, respectively. This is used when a sound channel is specified and an instruction is given including cancellation of channel reservation. For example, in order to generate a musical sound waveform that has been decomposed into a plurality of element waveforms, the CPU 19a instructs the tone generation reservation circuit 17b to specify a plurality of tone generation channels to be used for generating element signals. At this time, the CPU 19a sets the bits corresponding to the tone generation channel to be used in the channel designation registers CS0, CS1,. To do. Thereafter, the CPU 19a outputs a reservation trigger signal to the reservation receiving circuit 17b1 in order to cause the reservation receiving circuit 17b1 to assign a common group number to the designated tone generation channel.

なお、チャンネル指定レジスタCS0,CS1・・・CS127は、CPU19aのメモリアドレス空間における「チャンネルビット0」〜「チャンネルビット127」で表わされるアドレスに割り当てられていて、CPU19aは、「チャンネルビット0」〜「チャンネルビット127」を用いて、チャンネル指定レジスタCS0,CS1・・・CH127のビット操作(予約する発音チャンネルの指定)を行うことができる。また、予約受付回路17b1内に設けられた図示しない予約トリガレジスタが、CPU19aのメモリアドレス空間における「予約トリガ」で表わされるアドレスに割り当てられていて、CPU19aは、「予約トリガ」を用いて、予約受付回路17b1に予約トリガ信号を出力することができる。   The channel designation registers CS0, CS1,... CS127 are assigned to addresses represented by “channel bits 0” to “channel bits 127” in the memory address space of the CPU 19a. The “channel bit 127” can be used to perform bit operations (designation of sound generation channels to be reserved) in the channel designation registers CS0, CS1,. A reservation trigger register (not shown) provided in the reservation receiving circuit 17b1 is assigned to an address represented by “reservation trigger” in the memory address space of the CPU 19a, and the CPU 19a uses the “reservation trigger” to make a reservation. A reservation trigger signal can be output to the reception circuit 17b1.

予約受付回路17b1は、チャンネル指定レジスタCS0,CS1・・・CS127で指定された複数の発音チャンネルに対し共通のグループ番号を割り当てる。上記の例のように、1つの楽音波形が複数のエレメント波形に分解されている場合(すなわち複数の発音チャンネルを同時に使用する場合)、これらの複数の発音チャンネルに共通のグループ番号を割り当てておき、同時に発音開始させる発音チャンネルをグループ番号で管理するようにしている。なお、1つの楽音波形が、1つのエレメント波形から構成される場合は、複数の発音チャンネルのグルーピングはしないが、回路構成を共通にして簡単にするため、複数のエレメント信号を合成する場合と同様に、1つの発音チャンネルのみからなるグループを構成して、グループ番号を割り当てる。ただし、グループ数には上限があり、本実施形態では30個のグループが使用可能である。そこで、各グループ番号が使用可能か否かを示すグループ使用可否フラグを記憶するグループ使用状況レジスタGU1〜GU30が設けられている。予約受付回路17b1は、グループ使用状況レジスタGU1〜GU30の中から「使用可」となっている1つのグループ番号を発音チャンネルに割り当てた後、グループ使用状況レジスタGU1〜GU30のうちで、そのグループ番号に対応するレジスタを「使用不可」にセットする。なお、「使用不可」にセットされたグループ使用可否フラグは、発音開始時に後述の発音開始指示回路17b6によって「使用可」にセットされる。ここで、CPU19aは、予約しようとする発音チャンネルにグループ番号の割り当てが可能であることをグループフルフラグGFによって確認した上で、予約トリガ信号を出力するようになっている。したがって、予約トリガ信号を入力した予約受付回路17b1は必ずグループ番号を発音チャンネルに割り当てることができる。   The reservation receiving circuit 17b1 assigns a common group number to a plurality of tone generation channels designated by the channel designation registers CS0, CS1,... CS127. As in the above example, when one musical sound waveform is decomposed into a plurality of element waveforms (that is, when a plurality of tone generation channels are used simultaneously), a common group number is assigned to the plurality of tone generation channels. At the same time, the sound generation channels for starting sound generation are managed by group numbers. If one musical sound waveform is composed of one element waveform, grouping of multiple sound generation channels is not performed, but in order to simplify the circuit configuration, it is the same as when combining multiple element signals. In addition, a group consisting of only one sound channel is formed and a group number is assigned. However, there is an upper limit to the number of groups, and 30 groups can be used in this embodiment. Therefore, group usage status registers GU1 to GU30 are provided for storing a group availability flag indicating whether each group number can be used. The reservation receiving circuit 17b1 assigns one group number “usable” from the group usage status registers GU1 to GU30 to the sound generation channel, and then selects the group number in the group usage status registers GU1 to GU30. The register corresponding to is set to “unusable”. The group availability flag set to “unusable” is set to “usable” by the sounding start instruction circuit 17b6 described later at the start of sounding. Here, the CPU 19a outputs a reservation trigger signal after confirming with the group full flag GF that a group number can be assigned to the tone generation channel to be reserved. Therefore, the reservation receiving circuit 17b1 to which the reservation trigger signal is input can always assign the group number to the sound generation channel.

グループフルフラグGFとは、空きグループがあるか否か(すなわち、発音チャンネルに対しグループ番号の割り当てが可能か否か)を示すフラグである。グループフルフラグGFは、グループフルフラグセット回路17b2によって、「空きグループ有り」又は「空きグループ無し」にセットされる。すなわち、グループフルフラグセット回路17b2は、グループ使用状況レジスタGU1〜GU30のうち、「使用可」となっているレジスタが1つでもあればグループフルフラグを「空きグループ有り」にセットする。一方、グループ使用状況レジスタGU1〜GU30のすべてのレジスタが「使用不可」となっていれば、グループフルフラグGFを「空きグループ無し」にセットする。なお、グループフルフラグGFは、CPU19aのメモリアドレス空間における「グループフル」で表わされるアドレスに割り当てられていて、CPU19aは、「グループフル」を用いて、グループフルフラグGFの値を読み込むことができる。   The group full flag GF is a flag indicating whether or not there is an empty group (that is, whether or not a group number can be assigned to a sound generation channel). The group full flag GF is set to “with empty group” or “without empty group” by the group full flag setting circuit 17b2. In other words, the group full flag setting circuit 17b2 sets the group full flag to “with free group” if any one of the group usage status registers GU1 to GU30 is “available”. On the other hand, if all the registers of the group usage status registers GU1 to GU30 are “unusable”, the group full flag GF is set to “no empty group”. The group full flag GF is assigned to an address represented by “group full” in the memory address space of the CPU 19a, and the CPU 19a can read the value of the group full flag GF using “group full”. .

予約受付回路17b1は、取得したグループ番号を、キーオンマップに書き込む。キーオンマップは、発音チャンネルCH0〜CH127にそれぞれ対応して設けられたキーオンマップレジスタKM0〜KM127からなる。キーオンマップレジスタKM0〜KM127は、グループ番号「1」〜「30」のうちのいずれかの番号又は「グループ割り当てなし」を表す。キーオンマップは、ノートオンイベントが発生するごとに更新される。すなわち、ノートオンイベントが発生すると、CPU19aによって、1つ又は複数の発音チャンネルが選択され、選択された発音チャンネルに係るキーオンマップレジスタに共通のグループ番号が書き込まれる。その後、予約受付回路17b1は、「予約」にセットされているチャンネル指定レジスタを「指定なし」にセットする。   The reservation receiving circuit 17b1 writes the acquired group number in the key-on map. The key-on map includes key-on map registers KM0 to KM127 provided corresponding to the sound generation channels CH0 to CH127, respectively. The key-on map registers KM0 to KM127 represent any number of group numbers “1” to “30” or “no group assignment”. The key-on map is updated each time a note-on event occurs. That is, when a note-on event occurs, the CPU 19a selects one or a plurality of sound generation channels, and writes a common group number to the key-on map register relating to the selected sound generation channel. Thereafter, the reservation receiving circuit 17b1 sets the channel designation register set to “reservation” to “no designation”.

レベル検出回路17b3は、各発音チャンネルCH0,CH1・・・CH127の音量制御回路AMPから出力されるエレメント信号の音量レベルを検出して、音量レベルレジスタAL0,AL1・・・AL127に記録する。また、音量レベルレジスタAL0,AL1・・・AL127内に記録された音量レベルは、ダンプレベル到達検出回路17b4に供給される。なお、音量レベルレジスタAL0,AL1・・・AL127は、CPU19aのメモリアドレス空間における「音量レベル0」〜「音量レベル127」で表わされるアドレスに割り当てられていて、CPU19aは、「音量レベル0」〜「音量レベル127」を用いて、音量レベルレジスタAL0,AL1・・・AL127の値を読み込むことができる。   The level detection circuit 17b3 detects the volume level of the element signal output from the volume control circuit AMP of each sound generation channel CH0, CH1,. Also, the volume levels recorded in the volume level registers AL0, AL1,... AL127 are supplied to the dump level arrival detection circuit 17b4. The volume level registers AL0, AL1,... AL127 are assigned to addresses represented by “volume level 0” to “volume level 127” in the memory address space of the CPU 19a. Using the “volume level 127”, the values of the volume level registers AL0, AL1,.

レベル検出回路17b3による発音チャンネルCH0〜CH127のエレメント信号の音量レベル検出及び検出結果のダンプレベル到達検出回路17b4への供給は、1サンプリング周期内に時分割でなされる。レベル検出回路17b3が一連の発音チャンネルCH0〜CH127の楽音データのレベル検出を開始する直前に、キーオンマップの内容が、キーオンマップラッチ回路17b5によって、キーオンマップラッチとして、キーオンマップレジスタKM0〜KM127と同様のキーオンマップラッチレジスタKML0,KML1・・・KML127にコピーされて保持される。ダンプレベル到達検出回路17b4は、キーオンマップラッチに基づいて、各グループに属する全ての発音チャンネルにて生成されているエレメント信号の音量レベルがダンプレベル以下になっているか否かの判定を行う。   The level detection circuit 17b3 detects the volume level of the element signals of the sound generation channels CH0 to CH127 and supplies the detection result to the dump level arrival detection circuit 17b4 in a time division manner within one sampling period. Just before the level detection circuit 17b3 starts to detect the level of the musical tone data of the series of tone generation channels CH0 to CH127, the contents of the key-on map are the same as the key-on map registers KM0 to KM127 by the key-on map latch circuit 17b5. The key-on-map latch registers KML0, KML1... KML127 are copied and held. Based on the key-on map latch, the dump level arrival detection circuit 17b4 determines whether or not the volume level of the element signal generated in all sound generation channels belonging to each group is equal to or lower than the dump level.

ダンプレベル到達検出回路17b4は、判定結果をダンプレベル到達検出レジスタDL1,DL2・・・DL30に順次書き込んでいく。ダンプレベル到達検出レジスタDL1,DL2・・・DL30は、各グループに対応して設けられたレジスタであって、それぞれ「ダンプレベル到達」又は「ダンプレベル未到達」を表すデータを記憶する。まず、ダンプレベル到達検出回路17b4は、レベル検出回路17b3が一連の発音チャンネルCH0〜CH127についてのエレメント信号の音量レベルの検出を開始する前に、ダンプレベル到達検出レジスタDL1,DL2・・・DL30を「ダンプレベル到達」にセットする。そして、レベル検出回路17b3から供給される各エレメント信号の音量レベルとダンプレベルとを比較する。   The dump level arrival detection circuit 17b4 sequentially writes the determination results in the dump level arrival detection registers DL1, DL2,. The dump level arrival detection registers DL1, DL2,..., DL30 are registers corresponding to each group, and store data indicating “dump level reached” or “dump level not reached”, respectively. First, the dump level arrival detection circuit 17b4 sets the dump level arrival detection registers DL1, DL2,... DL30 before the level detection circuit 17b3 starts detecting the volume level of the element signal for the series of sound generation channels CH0 to CH127. Set to “Dump level reached”. Then, the volume level of each element signal supplied from the level detection circuit 17b3 is compared with the dump level.

例えば、発音チャンネルCHn(n=0,1・・・127)のエレメント信号の音量レベルがダンプレベルよりも大きい場合、発音チャンネルCHnに対応するキーオンマップラッチレジスタKMLnに記憶されているグループ番号m(m=1,2・・・30)を取得し、グループ番号mに対応するダンプレベル到達検出レジスタDLmを「ダンプレベル未到達」にセットする。このとき、すでにダンプレベル到達検出レジスタDLmが「ダンプレベル未到達」にセットされている場合は、ダンプレベル到達検出レジスタDLmの操作を行うことなく、次の発音チャンネルの判定を行う。一方、発音チャンネルCHnの音量レベルがダンプレベル以下になっていた場合は、ダンプレベル到達検出レジスタDLmの操作を行わない。なお、発音チャンネルCHn(n=0,1・・・127)のエレメント信号の音量レベルがダンプレベルよりも大きい場合及び発音チャンネルCHnの音量レベルがダンプレベル以下になっていた場合のいずれにおいても、取得したキーオンマップレジスタの値が「グループ割り当てなし」の場合は、ダンプレベル到達検出レジスタDLmの操作を行うことなく、次の発音チャンネルの判定を行う。   For example, when the volume level of the element signal of the sound generation channel CHn (n = 0, 1,... 127) is higher than the dump level, the group number m (stored in the key-on-map latch register KMLn corresponding to the sound generation channel CHn. m = 1, 2,... 30) and the dump level arrival detection register DLm corresponding to the group number m is set to “dump level not reached”. At this time, if the dump level arrival detection register DLm is already set to “dump level not reached”, the next sound generation channel is determined without operating the dump level arrival detection register DLm. On the other hand, when the volume level of the sound generation channel CHn is equal to or lower than the dump level, the dump level arrival detection register DLm is not operated. It should be noted that both the case where the volume level of the element signal of the sound generation channel CHn (n = 0, 1,... 127) is larger than the dump level and the case where the volume level of the sound channel CHn is lower than the dump level. When the acquired value of the key-on map register is “no group assignment”, the next sound generation channel is determined without operating the dump level arrival detection register DLm.

上記の判定処理を全ての発音チャンネルについて行った後、ダンプレベル到達検出レジスタDLmが「ダンプレベル未到達」にセットされていれば、グループmに属する発音チャンネルのうち、いずれか1つ又は複数の発音チャンネルのエレメント信号の音量レベルがダンプレベルよりも大きいことになる。一方、ダンプレベル到達検出レジスタDLmが「ダンプレベル到達」にセットされていれば、グループmに属する全発音チャンネルのエレメント信号の音量レベルがダンプレベル以下であることになる。   After the above determination process is performed for all sound generation channels, if the dump level arrival detection register DLm is set to “dump level unreachable”, any one or a plurality of sound generation channels belonging to the group m are selected. The volume level of the element signal of the sound generation channel is higher than the dump level. On the other hand, if the dump level arrival detection register DLm is set to “dump level reached”, the volume levels of the element signals of all sound channels belonging to the group m are below the dump level.

ここで、キーオンマップではなくキーオンマップラッチに基づいて、上記ダンプレベル到達の判定を行う理由について説明しておく。前述のように、ダンプレベル到達検出回路17b4が発音チャンネルCH0、CH1・・・CH127のエレメント信号の音量レベルの判定をしている間であっても、キーオンマップレジスタKM0〜KM127は更新されていく。   Here, the reason for determining whether the dump level has been reached based on the key-on map latch instead of the key-on map will be described. As described above, the key-on map registers KM0 to KM127 are updated even while the dump level arrival detection circuit 17b4 is determining the volume level of the element signals of the sound generation channels CH0, CH1,. .

例えば、発音チャンネルCH0が発音中でダンプレベルに到達していない状態であり、かつキーオンマップレジスタKM0にはグループ番号が記録されていない(すなわち、発音チャンネルCH0の予約がなされていない)ものとする。さらに、発音チャンネルCH5は、発音に使用されていないチャンネル(空きチャンネル)であるとする。そして、レベル検出回路17b3及びダンプレベル到達検出回路17b4が発音チャンネルCH0についての判定を行った後、発音チャンネルCH5の判定を行うまでの間に、新たなノートオンイベントが発生して、発音チャンネルCH0及び発音チャンネルCH5が新たな発音に使用する発音チャンネルとして指定され、キーオンマップレジスタKM0及びKM5にグループ番号「3」が記録されたとする。その後、レベル検出回路17b3及びダンプレベル到達検出回路17b4が発音チャンネルCH5の判定を行うと、発音チャンネルCH5は空きチャンネルなので、ダンプレベルに到達していると判定される。すると、グループ番号「3」に属する発音チャンネルCH0で発音中の楽音信号がダンプレベルに到達していないにもかかわらず、発音チャンネルCH0及び発音チャンネルCH5に対して後述する発音開始指示回路17b6によって、発音開始指示がなされる。したがって、発音チャンネルCH0にて発音中の楽音が、突然途切れたような不自然な楽音となる。このような不自然な楽音の発生を防止するため、レベル検出回路17b3及びダンプレベル到達検出回路17b4が一連の発音チャンネルCH0〜CH127についての判定をしている間は、各発音チャンネルの属するグループが変化しないようにしておく必要がある。したがって、キーオンマップの内容をキーオンマップラッチにコピーしておき、キーオンマップラッチに基づいてダンプレベル到達の判定を行うようにしている。   For example, it is assumed that the sound generation channel CH0 is sounding and has not reached the dump level, and the group number is not recorded in the key-on map register KM0 (that is, the sound channel CH0 is not reserved). . Further, it is assumed that the sound generation channel CH5 is a channel that is not used for sound generation (empty channel). Then, after the level detection circuit 17b3 and the dump level arrival detection circuit 17b4 determine the sound generation channel CH0 and before the sound generation channel CH5 is determined, a new note-on event occurs and the sound generation channel CH0. And the sound generation channel CH5 is designated as a sound generation channel to be used for new sound generation, and the group number “3” is recorded in the key-on map registers KM0 and KM5. Thereafter, when the level detection circuit 17b3 and the dump level arrival detection circuit 17b4 determine the sound generation channel CH5, it is determined that the sound generation channel CH5 has reached the dump level because the sound generation channel CH5 is an empty channel. Then, although the musical sound signal being sounded in the sound generation channel CH0 belonging to the group number “3” has not reached the dump level, the sound generation start instruction circuit 17b6 described later for the sound generation channel CH0 and the sound generation channel CH5 An instruction to start pronunciation is given. Therefore, the musical sound being generated on the sound generation channel CH0 becomes an unnatural musical sound that seems to be suddenly interrupted. In order to prevent the generation of such unnatural musical sounds, while the level detection circuit 17b3 and the dump level arrival detection circuit 17b4 make the determination for the series of sound generation channels CH0 to CH127, the group to which each sound generation channel belongs is determined. It must be kept unchanged. Therefore, the contents of the key-on map are copied to the key-on map latch, and it is determined that the dump level has been reached based on the key-on map latch.

発音開始指示回路17b6は、ダンプレベル到達検出レジスタDLm(m=1,2・・・30)が「ダンプレベル到達」にセットされていると、グループmに属する全発音チャンネルに対して、発音の開始を指示する。そして、発音開始指示回路17b6は、グループmに属する全発音チャンネルに対応するキーオンマップレジスタ及びキーオンマップラッチレジスタを「グループ割り当てなし」にセットする。また、発音開始指示回路17b6は、グループ使用状況レジスタGUmを「使用可」にセットする。また、発音開始指示回路17b6は、発音開始指示の直前に、後述の初期パラメータ出力回路17c2、通常パラメータ転送回路17c3及び通常パラメータ出力回路17c4に出力及び転送の指示を行う。   When the dump level arrival detection register DLm (m = 1, 2,... 30) is set to “Dump level reached”, the sound generation start instruction circuit 17b6 generates sound for all sound channels belonging to the group m. Instruct the start. Then, the sound generation start instruction circuit 17b6 sets the key-on map registers and key-on map latch registers corresponding to all sound generation channels belonging to the group m to “no group assignment”. Further, the sound generation start instruction circuit 17b6 sets the group usage status register GUm to “usable”. The sound generation start instruction circuit 17b6 issues an output and transfer instruction to an initial parameter output circuit 17c2, a normal parameter transfer circuit 17c3, and a normal parameter output circuit 17c4, which will be described later, immediately before the sound generation start instruction.

また、発生させるべき新たな楽音(例えばメロディー用の楽音)が、予約済みの発音チャンネルにて発音させる楽音(例えば、伴奏用の楽音)よりも、さらに優先的に発音させる必要がある場合がある。この場合、その発音チャンネルの予約を強制的にキャンセルして、新たな楽音のために、その発音チャンネルを予約できるようになっている。すなわち、発音予約回路17bは、発音チャンネルの予約をキャンセルするための予約キャンセル回路17b7を有している。発音チャンネルCHn(n=0,1・・・127)の予約をキャンセルする場合、CPU19aは、発音チャンネルCHnに対応するチャンネル指定レジスタCSnを「キャンセル」にセットした後、予約キャンセル回路17b7に対して、キャンセルトリガ信号を出力する。なお、チャンネル指定レジスタCS0〜CS127は、前述した発音チャンネルの予約にも利用されるが、予約終了時に「指定なし」にセットされるので、この発音チャンネルの予約のキャンセルにも利用される。また、予約キャンセル回路17b7内に設けられた、図示しないキャンセルトリガレジスタが、CPU19aのメモリアドレス空間における「キャンセルトリガ」で表わされるアドレスに割り当てられていて、CPU19aは、「キャンセルトリガ」を用いて、予約キャンセル回路17b7に対してキャンセルトリガ信号を出力することができる。なお、複数の発音チャンネルが予約されている場合でも、その複数の発音チャンネルの予約が同時にキャンセルされるのではなく、発音チャンネルの予約が1つずつキャンセルされる。   In addition, a new musical tone to be generated (for example, a musical tone for a melody) may need to be generated more preferentially than a musical tone (for example, a musical tone for accompaniment) to be generated by a reserved sound channel. . In this case, the reservation of the sound channel can be forcibly canceled, and the sound channel can be reserved for a new musical sound. That is, the tone generation reservation circuit 17b has a reservation cancel circuit 17b7 for canceling the reservation of the tone generation channel. When canceling the reservation of the sound generation channel CHn (n = 0, 1,... 127), the CPU 19a sets the channel designation register CSn corresponding to the sound generation channel CHn to “cancel”, and then the reservation cancel circuit 17b7. The cancel trigger signal is output. The channel designation registers CS0 to CS127 are also used for the reservation of the sound generation channel described above, but are set to “no specification” at the end of the reservation, and are also used for canceling the reservation of the sound generation channel. A cancel trigger register (not shown) provided in the reservation cancel circuit 17b7 is assigned to an address represented by “cancel trigger” in the memory address space of the CPU 19a. The CPU 19a uses the “cancel trigger” to A cancel trigger signal can be output to the reservation cancel circuit 17b7. Even when a plurality of tone generation channels are reserved, the reservation of the plurality of tone generation channels is not canceled simultaneously, but the reservation of the tone generation channels is canceled one by one.

キャンセルトリガ信号を入力した予約キャンセル回路17b7は、チャンネル指定レジスタCSnによって指定された発音チャンネルCHn(n=0,1・・・127)に対応するキーオンマップレジスタKMnの値を「グループ割り当てなし」にセットする。これにより、発音チャンネルの予約がキャンセルされる。ただし、CPU19aが予約キャンセル回路17b7に対してキャンセルトリガ信号を出力した後、予約キャンセル回路17b7がキーオンマップレジスタKMnを「グループ割り当てなし」にセットしようとするまでの間に、その予約が実行されて発音チャンネルCHnにてエレメント信号の生成が開始されていることもある。すなわち、予約キャンセル回路17b7がキーオンマップレジスタKMnを「グループ割り当てなし」にセットしようとしたときには、すでに発音開始指示回路17b6によって、キーオンマップレジスタKMnが「グループ割り当てなし」にセットされていることがある。そこで、発音チャンネルの予約がキャンセルされたか否かを示す予約キャンセルフラグを記憶した予約キャンセルフラグレジスタCF0,CF1・・・CF127が設けられている。発音チャンネルCHnの予約がキャンセルされたとき、予約キャンセル回路17b7は、予約キャンセルフラグレジスタCFnを「キャンセル」にセットする。一方、予約が実行されて発音されたときは、予約キャンセル回路17b7は、予約キャンセルフラグレジスタCFnを「発音」にセットする。CPU19aは、キャンセルトリガ信号を出力した後、予約キャンセルフラグレジスタCFn内のフラグを読み込むことで、発音チャンネルの予約がキャンセルされたか否かを判断することができる。   The reservation cancel circuit 17b7 that has input the cancel trigger signal sets the value of the key-on map register KMn corresponding to the tone generation channel CHn (n = 0, 1,... 127) designated by the channel designation register CSn to “no group assignment”. set. As a result, the reservation of the sound channel is canceled. However, after the CPU 19a outputs a cancel trigger signal to the reservation cancel circuit 17b7, the reservation is executed until the reservation cancel circuit 17b7 tries to set the key-on map register KMn to “no group assignment”. Generation of an element signal may be started in the sound generation channel CHn. That is, when the reservation cancel circuit 17b7 tries to set the key-on map register KMn to “no group assignment”, the key-on map register KMn may already be set to “no group assignment” by the sound generation start instruction circuit 17b6. . Therefore, reservation cancel flag registers CF0, CF1,..., CF127 storing reservation cancel flags indicating whether or not the reservation of the sound channel has been canceled are provided. When the reservation of the sound channel CHn is canceled, the reservation cancel circuit 17b7 sets the reservation cancel flag register CFn to “cancel”. On the other hand, when the reservation is executed and sounded, the reservation cancel circuit 17b7 sets the reservation cancel flag register CFn to “sound generation”. After outputting the cancel trigger signal, the CPU 19a reads the flag in the reservation cancel flag register CFn to determine whether or not the sound channel reservation has been canceled.

なお、予約キャンセルフラグレジスタCF0,CF1・・・CF127は、CPU19aのメモリアドレス空間における「キャンセルビット0」〜「キャンセルビット127」で表わされるアドレスに割り当てられていて、CPU19aは、「キャンセルビット0」〜「キャンセルビット127」を用いて、予約キャンセルフラグレジスタCF0,CF1・・・CF127内のフラグの値を読み込むことができる。   The reservation cancel flag registers CF0, CF1,..., CF127 are assigned to addresses indicated by “cancel bit 0” to “cancel bit 127” in the memory address space of the CPU 19a. Using the “cancel bit 127”, the values of the flags in the reservation cancel flag registers CF0, CF1,... CF127 can be read.

また、発音予約回路17bは、各発音チャンネルが予約可能か否かを示す予約可否フラグを記憶する予約可否フラグレジスタAF0、AF1・・・AF127を有している。予約可否フラグレジスタAF0,AF1・・・AF127は、チャンネル指定レジスタCS0,CS1・・・CS127と同様に、発音チャンネルCH0,CH1・・・CH127に対応した128ビットからなるビットマップである。予約可否フラグレジスタAF0,AF1・・・AF127においては、予約可否フラグセット回路17b8によって、各ビットが「予約可」又は「予約不可」にセットされる。予約可否フラグセット回路17b8は、発音チャンネルCHn(n=0,1・・・127)に対応するキーオンマップレジスタKMnに「1」〜「30」のうちのいずれかのグループ番号が書き込まれている場合は、発音チャンネルCHnに対応する予約可否フラグレジスタAFnを「予約不可」にセットする。一方、予約可否フラグセット回路17b8は、キーオンマップレジスタKMnが「グループ割り当てなし」にセットされてから所定の期間(例えば、サンプリング周期の5周期分)「予約不可」に保持した後、予約可否フラグレジスタAFnを「予約可」にセットする。前記所定の期間においては、音源回路17は、発音開始の処理中であり、新たな発音チャンネルの予約を受け付けられる状態にないからである。   Further, the tone generation reservation circuit 17b has reservation enable / disable flag registers AF0, AF1... AF127 for storing reservation enable / disable flags indicating whether or not each sound channel can be reserved. The reservation availability flag registers AF0, AF1,... AF127 are 128-bit bitmaps corresponding to the sound generation channels CH0, CH1,. In the reservation availability flag registers AF0, AF1,... AF127, each bit is set to “reservation possible” or “reservation impossible” by the reservation availability flag setting circuit 17b8. In the reservation enable / disable flag set circuit 17b8, one of the group numbers “1” to “30” is written in the key-on map register KMn corresponding to the tone generation channel CHn (n = 0, 1,... 127). In this case, the reservation availability flag register AFn corresponding to the sound generation channel CHn is set to “reservation impossible”. On the other hand, the reservation enable / disable flag setting circuit 17b8 holds the reservation enable / disable flag after holding the key-on map register KMn for “no reservation” for a predetermined period (for example, five sampling periods) after the key on map register KMn is set to “no group assignment” The register AFn is set to “reservable”. This is because, during the predetermined period, the tone generator circuit 17 is in the process of starting sound generation and is not in a state in which a reservation for a new sound generation channel is accepted.

なお、予約可否フラグレジスタAF0,AF1・・・AF127は、CPU19aのメモリアドレス空間における「チャンネルビット0」〜「チャンネルビット127」で表わされるアドレスに割り当てられていて、CPU19aは、「チャンネルビット0」〜「チャンネルビット127」を指定して読み込みを行うことにより、予約可否フラグレジスタAF0,AF1・・・AF127内の値を読み込むことができる。上記のように、チャンネル指定レジスタCS0,CS1・・・CS127及び予約可否フラグレジスタAF0,AF1・・・AF127は、同じアドレスに割り当てられているが、CPU19aによる書き込み動作時においては、チャンネル指定レジスタCS0,CS1・・・CS127が指定され、読み込み動作時においては、予約可否フラグレジスタAF0,AF1・・・AF127が指定されるようになっている。   The reservation enable / disable flag registers AF0, AF1,... AF127 are assigned to addresses represented by “channel bit 0” to “channel bit 127” in the memory address space of the CPU 19a, and the CPU 19a receives “channel bit 0”. By reading with designation of “channel bit 127”, the values in the reservation enable / disable flag registers AF0, AF1,... AF127 can be read. As described above, the channel designation registers CS0, CS1... CS127 and the reservation availability flag registers AF0, AF1... AF127 are assigned to the same address, but at the time of the write operation by the CPU 19a, the channel designation register CS0. , CS1... CS127 are designated, and the reservation availability flag registers AF0, AF1.

b5.楽音パラメータ入出力回路17c
次に、楽音パラメータ入出力回路17cについて説明する。楽音パラメータ入出力回路17cは、バス16を介してCPU19aから供給される楽音パラメータを入力して、各発音チャンネルCH0,CH1・・・CH127の各回路に出力する。また、楽音パラメータ入出力回路17cは、音源回路17の各回路(ピッチ変更回路PEG、カットオフ周波数変更回路FEG、音量変更回路AEGなど)の状態を表すパラメータを入力して、CPU19aに出力する。楽音パラメータ入出力回路17cは、図6に示すように、EGステージ検出回路17c1、初期パラメータ出力回路17c2、通常パラメータ転送回路17c3、通常パラメータ出力回路17c4、第1メモリ17c5及び第2メモリ17c6を備えている。
b5. Musical parameter input / output circuit 17c
Next, the tone parameter input / output circuit 17c will be described. The musical tone parameter input / output circuit 17c inputs musical tone parameters supplied from the CPU 19a via the bus 16 and outputs the musical tone parameters to the respective circuits of the tone generation channels CH0, CH1,. Further, the musical tone parameter input / output circuit 17c inputs parameters representing the state of each circuit (pitch change circuit PEG, cut-off frequency change circuit FEG, volume change circuit AEG, etc.) of the sound source circuit 17 and outputs them to the CPU 19a. As shown in FIG. 6, the tone parameter input / output circuit 17c includes an EG stage detection circuit 17c1, an initial parameter output circuit 17c2, a normal parameter transfer circuit 17c3, a normal parameter output circuit 17c4, a first memory 17c5, and a second memory 17c6. ing.

EGステージ検出回路17c1は、ピッチ変更回路PEG、カットオフ周波数変更回路FEG及び音量変更回路AEGにて生成される制御信号のレベルが現在のステージの目標レベルに到達したか否かを検出する。EGステージ検出回路17c1内には、ピッチ変更回路PEG、カットオフ周波数変更回路FEG及び音量変更回路AEGのうちの1つの回路を順次1つずつ指定するための図示しない検出対象指定レジスタDD及び検出結果を記憶するステージ終了フラグレジスタSFが設けられている。CPU19aが、検出対象指定レジスタDDに検出対象の回路を指定するデータの書き込みを行うと、EGステージ検出回路17c1は、指定された回路の現在の制御信号のレベルと現在のステージの目標レベルとを比較して、その比較結果に応じてステージ終了フラグレジスタSFを「ステージ終了」又は「ステージ処理中」にセットする。すなわち、現在の制御信号のレベルが目標レベルに到達していれば、「ステージ終了」にセットし、現在の制御信号のレベルが目標レベルに到達していなければ、「ステージ処理中」にセットする。   The EG stage detection circuit 17c1 detects whether or not the level of the control signal generated by the pitch change circuit PEG, the cut-off frequency change circuit FEG, and the volume change circuit AEG has reached the target level of the current stage. In the EG stage detection circuit 17c1, a detection target specification register DD and a detection result (not shown) for sequentially specifying one of the pitch change circuit PEG, the cut-off frequency change circuit FEG, and the volume change circuit AEG one by one. Is stored in the stage end flag register SF. When the CPU 19a writes data specifying the detection target circuit to the detection target specifying register DD, the EG stage detection circuit 17c1 determines the current control signal level of the specified circuit and the target level of the current stage. The stage end flag register SF is set to “stage end” or “stage processing” in accordance with the comparison result. That is, if the current control signal level has reached the target level, the stage is set to “end of stage”, and if the current control signal level has not reached the target level, it is set to “stage processing”. .

なお、検出対象指定レジスタDDは、CPU19aのメモリアドレス空間における「検出対象回路」で表わされるアドレスに割り当てられていて、CPU19aは、「検出対象回路」を用いて、検出対象のエンベロープ回路を指定することができる。また、ステージ終了フラグレジスタSFは、CPU19aのメモリアドレス空間における「ステージ状態」で表わされるアドレスに割り当てられていて、CPU19aは、「ステージ状態」を用いて、ステージ終了フラグレジスタSFの値を読み込むことができる。   The detection target designation register DD is assigned to an address represented by “detection target circuit” in the memory address space of the CPU 19a, and the CPU 19a uses the “detection target circuit” to designate an envelope circuit to be detected. be able to. The stage end flag register SF is assigned to an address represented by “stage state” in the memory address space of the CPU 19a, and the CPU 19a reads the value of the stage end flag register SF using the “stage state”. Can do.

第1メモリ17c5は、各発音チャンネルに供給するパラメータを発音チャンネルの予約時からその発音開始時まで記憶しておくメモリである。第1メモリ17c5は、発音開始時に発音チャンネルの初期設定のために用いられる初期パラメータを記憶する初期パラメータ領域と、発音開始後に各発音チャンネルにて発生されるエレメント信号を変化させるために用いられる通常パラメータを記憶する通常パラメータ領域とに分割されている。例えば、カットオフ周波数変更回路FEGによって生成されるカットオフエンベロープの初期レベルが、初期パラメータである。さらに、第1メモリ17c5の初期パラメータ領域は、発音チャンネルごと、かつピッチエンベロープパラメータ、カットオフエンベロープパラメータ及び音量エンベロープパラメータの初期パラメータごとの領域に分割されている。すなわち、各初期パラメータの記憶領域は、CPU19aのメモリアドレス空間の所定のアドレスにそれぞれ割り当てられている。例えば、各発音チャンネルのカットオフ周波数変更回路FEGに供給される初期レベルの記憶領域は、CPU19aのメモリアドレス空間において、「初期レベルCH0」〜「初期レベルCH127」で表わされるアドレスにそれぞれ割り当てられていて、CPU19aは、「初期レベルCH0」〜「初期レベルCH127」を用いて、予約する発音チャンネルに供給するためのカットオフ周波数の初期レベルを第1メモリ17c5に記憶させることができる。   The first memory 17c5 is a memory for storing parameters to be supplied to each sound generation channel from the time of reservation of the sound generation channel until the time of sound generation start. The first memory 17c5 is an initial parameter area for storing initial parameters used for initial setting of the sound generation channel at the start of sound generation, and is usually used for changing element signals generated in each sound generation channel after the sound generation is started. It is divided into a normal parameter area for storing parameters. For example, the initial level of the cutoff envelope generated by the cutoff frequency changing circuit FEG is the initial parameter. Further, the initial parameter area of the first memory 17c5 is divided into areas for each sound generation channel and for each initial parameter of the pitch envelope parameter, the cutoff envelope parameter, and the volume envelope parameter. That is, each initial parameter storage area is assigned to a predetermined address in the memory address space of the CPU 19a. For example, the storage area of the initial level supplied to the cutoff frequency changing circuit FEG of each tone generation channel is allocated to addresses represented by “initial level CH0” to “initial level CH127” in the memory address space of the CPU 19a. Thus, the CPU 19a can store the initial level of the cutoff frequency to be supplied to the sounding channel to be reserved in the first memory 17c5 using the “initial level CH0” to “initial level CH127”.

また、例えば、カットオフ周波数変更回路FEGによって生成されるカットオフエンベロープのうち、発音開始時又は発音開始後に各発音チャンネルに供給されるアタックレベル、アタックタイム、第1ディケイレベル、第1ディケイタイムなどが通常パラメータである。通常パラメータのうち、第1メモリ17c5に書き込まれるのは、第1ステージの値であるアタックレベル及びアタックタイムである。第1メモリ17c5の通常パラメータ領域も、初期パラメータ領域と同様に、発音チャンネルごと、かつピッチエンベロープパラメータ、カットオフエンベロープパラメータ及び音量エンベロープパラメータの通常パラメータごとに分割されている。すなわち、各通常パラメータの記憶領域は、それぞれ、CPU19aのメモリアドレス空間の所定のアドレスに割り当てられている。例えば、カットオフ周波数変更回路FEGに供給されるカットオフ周波数エンベロープの第1ステージの目標レベル及び持続時間であるアタックレベル及びアタックタイムの記憶領域は、CPU19aのメモリアドレス空間において、「アタックレベル・アタックタイムCH0」〜「アタックレベル・アタックタイムCH127」で表わされるアドレスにそれぞれ割り当てられていて、CPU19aは、「アタックレベル・アタックタイムCH0」〜「アタックレベル・アタックタイムCH127」を用いて、予約する発音チャンネルに供給するためのカットオフ周波数エンベロープのアタックレベル及びアタックタイムを第1メモリ17c5に記憶させることができる。   Further, for example, among the cutoff envelopes generated by the cutoff frequency changing circuit FEG, the attack level, attack time, first decay level, first decay time, etc. supplied to each tone generation channel at the start or after the start of tone generation Is a normal parameter. Of the normal parameters, what is written in the first memory 17c5 is the attack level and attack time, which are values of the first stage. Similarly to the initial parameter area, the normal parameter area of the first memory 17c5 is also divided for each sound generation channel and for each normal parameter of the pitch envelope parameter, the cut-off envelope parameter, and the volume envelope parameter. That is, each normal parameter storage area is assigned to a predetermined address in the memory address space of the CPU 19a. For example, the storage area of the attack level and attack time, which is the target level and duration of the first stage of the cutoff frequency envelope supplied to the cutoff frequency changing circuit FEG, is “attack level attack” in the memory address space of the CPU 19a. The CPU 19a is assigned to addresses represented by “time CH0” to “attack level / attack time CH127”, and the CPU 19a makes a reservation using “attack level / attack time CH0” to “attack level / attack time CH127”. The attack level and attack time of the cutoff frequency envelope to be supplied to the channel can be stored in the first memory 17c5.

初期パラメータ出力回路17c2は、発音開始指示回路17b6による発音開始指示に応答して、第1メモリ17c5に記憶された各初期パラメータを読み出して、その発音チャンネルのピッチ変更回路PEG、カットオフ周波数変更回路FEG、音量変更回路AEGなどに出力する。   The initial parameter output circuit 17c2 reads each initial parameter stored in the first memory 17c5 in response to the sound generation start instruction from the sound generation start instruction circuit 17b6, and the pitch change circuit PEG and cut-off frequency change circuit for the sound generation channel. Output to FEG, volume change circuit AEG, etc.

また、通常パラメータ転送回路17c3は、発音開始指示回路17b6による発音開始指示に応答して、第1メモリ17c5の通常パラメータ領域に書き込まれた通常パラメータを第2メモリ17c6に転送する。第2メモリ17c6は、発音チャンネルで生成中のエレメント信号に関するパラメータを記憶するメモリである。第2メモリ17c6は、通常パラメータを記憶する通常パラメータ領域のみからなる。第2メモリ17c6の通常パラメータ領域は、第1メモリ17c5の通常パラメータ領域と同様の構成である。すなわち、第2メモリ17c6の通常パラメータ領域も、第1メモリ17c5の通常パラメータ領域と同様に、各通常パラメータごとに分割されていて、各通常パラメータの記憶領域は、CPU19aのメモリアドレス空間の所定のアドレスにそれぞれ割り当てられている。   The normal parameter transfer circuit 17c3 transfers the normal parameter written in the normal parameter area of the first memory 17c5 to the second memory 17c6 in response to the sound generation start instruction from the sound generation start instruction circuit 17b6. The second memory 17c6 is a memory for storing parameters relating to element signals being generated in the sound generation channel. The second memory 17c6 includes only a normal parameter area that stores normal parameters. The normal parameter area of the second memory 17c6 has the same configuration as the normal parameter area of the first memory 17c5. That is, the normal parameter area of the second memory 17c6 is also divided for each normal parameter in the same manner as the normal parameter area of the first memory 17c5, and each normal parameter storage area is a predetermined area in the memory address space of the CPU 19a. Each address is assigned.

例えば、各発音チャンネルのカットオフ周波数変更回路FEGに供給されるカットオフ周波数エンベロープの各ステージの目標レベル及び持続時間の記憶領域は、CPU19aのメモリアドレス空間において「目標レベル・持続時間CH0」〜「目標レベル・持続時間CH127」で表わされるアドレスにそれぞれ割り当てられている。予約された発音チャンネルCHn(n=0,1・・・127)にて発音を開始する場合、パラメータ転送回路は、「アタックレベル・アタックタイムCHn」を用いて、アタックレベル及びアタックタイムを第1メモリ17c5から読み出し、「目標レベル・持続時間CHn」を用いて、前記読み出したアタックレベル及びアタックタイムを第2メモリ17c6の通常パラメータ領域に書き込む。これにより、アタックレベル及びアタックタイムが第1メモリ17c5から第2メモリ17c6に転送される。ピッチ変更回路PEG及び音量変更回路AEGによるエンベロープ生成のために第1メモリ17c5に書き込まれた通常パラメータも、上記カットオフ周波数変更回路FEGのパラメータと同様に第2メモリ17c6に転送される。   For example, the storage area of the target level and duration of each stage of the cutoff frequency envelope supplied to the cutoff frequency changing circuit FEG of each tone generation channel is “target level / duration CH0” to “in the memory address space of the CPU 19a. It is assigned to each address represented by “target level / duration CH127”. When sounding is started on the reserved sounding channel CHn (n = 0, 1,... 127), the parameter transfer circuit uses the “attack level / attack time CHn” to set the attack level and attack time to the first. Using the “target level / duration CHn”, the read attack level and attack time are written in the normal parameter area of the second memory 17c6. Thereby, the attack level and the attack time are transferred from the first memory 17c5 to the second memory 17c6. The normal parameters written in the first memory 17c5 for envelope generation by the pitch changing circuit PEG and the volume changing circuit AEG are also transferred to the second memory 17c6 in the same manner as the parameters of the cutoff frequency changing circuit FEG.

また、CPU19aは、第2メモリ17c6に通常パラメータを直接書き込むことができる。例えば、CPU19aは、詳しくは後述するように、パラメータ更新の周期処理プログラムを実行して、カットオフ周波数エンベロープの第2ステージ以降のステージの目標レベル及び持続時間を第2メモリ17c6に書き込む。この場合、CPU19aは、「目標レベル・持続時間CH0」〜「目標レベル・持続時間CH127」で表わされるアドレスのうち目的の発音チャンネルに対応するアドレスを用いて、第2メモリ17c6の適切な領域に、エンベロープの目標レベル及び持続時間を書き込むことができる。CPU19aは、ピッチ変更回路PEG及び音量変更回路AEGによる各エンベロープ生成のための第2ステージ以降の目標レベル及び持続時間も、上記カットオフ周波数変更回路FEGのパラメータと同様に第2メモリ17c6に書き込むことができる。   Further, the CPU 19a can directly write the normal parameters into the second memory 17c6. For example, as will be described in detail later, the CPU 19a executes a parameter update periodic processing program, and writes the target level and duration of the second and subsequent stages of the cutoff frequency envelope into the second memory 17c6. In this case, the CPU 19a uses the address corresponding to the target sounding channel among the addresses represented by “target level / duration CH0” to “target level / duration CH127” in an appropriate area of the second memory 17c6. The target level and duration of the envelope can be written. The CPU 19a also writes the target level and the duration after the second stage for generating each envelope by the pitch changing circuit PEG and the volume changing circuit AEG in the second memory 17c6 as well as the parameters of the cutoff frequency changing circuit FEG. Can do.

また、通常パラメータ出力回路17c4は、発音開始指示回路17b6による発音開始指示に応答して、第2メモリ17c6に書き込まれた通常パラメータを、各通常パラメータの対応する発音チャンネルの各部にそれぞれ出力する。この第2メモリ17c6に書き込まれた通常パラメータは、1サンプリング周期を128分割した時分割で出力される。すなわち、1サンプリング周期を128分割した各期間が、それぞれ発音チャンネルCH0〜CH127に対応していて、各発音チャンネルに対して順番に通常パラメータが出力される。   The normal parameter output circuit 17c4 outputs the normal parameter written in the second memory 17c6 to each part of the sound generation channel corresponding to each normal parameter in response to the sound generation start instruction from the sound generation start instruction circuit 17b6. The normal parameters written in the second memory 17c6 are output in a time division manner in which one sampling period is divided into 128. That is, each period obtained by dividing one sampling period into 128 corresponds to the sound generation channels CH0 to CH127, and the normal parameters are sequentially output to the sound generation channels.

なお、第1メモリ17c5と第2メモリ17c6を1つのメモリで構成してもよい。すなわち、大きな記憶容量を有するメモリの記憶領域を分割して、第1メモリ17c5に相当する領域と第2メモリ17c6に相当する領域を確保すればよい。逆に、第1メモリ17c5の初期パラメータ領域と通常パラメータ領域に相当する記憶領域をそれぞれ別のメモリに構成してもよい。   In addition, you may comprise the 1st memory 17c5 and the 2nd memory 17c6 with one memory. That is, a memory area having a large storage capacity may be divided to secure an area corresponding to the first memory 17c5 and an area corresponding to the second memory 17c6. Conversely, the storage areas corresponding to the initial parameter area and the normal parameter area of the first memory 17c5 may be configured in different memories.

c.コンピュータ部19の構成
次に、コンピュータ部19の構成について詳しく説明する。とくに、ROM19c及びRAM19dに記憶されるプログラム及び各種データについて詳しく説明する。ROM19cには、ボイスデータリストが記憶されている。ボイスデータリストは、図7に示すように、各音色ごとに規定されたボイスデータからなる。ボイスデータは、各音色の楽音波形を構成するエレメント波形ごとに設けられたエレメントデータ及び各エレメント信号の生成に共通に使用されるコモンデータからなる。
c. Next, the configuration of the computer unit 19 will be described in detail. In particular, the programs and various data stored in the ROM 19c and the RAM 19d will be described in detail. The ROM 19c stores a voice data list. As shown in FIG. 7, the voice data list includes voice data defined for each tone color. The voice data is composed of element data provided for each element waveform constituting a musical tone waveform of each tone color and common data commonly used for generating each element signal.

各エレメントデータの構成は共通である。各エレメントデータは、フィルタ回路FLTを制御するためのフィルタ制御パラメータ、低周波信号発生回路LFOを制御するための低周波信号制御パラメータ、各種エンベロープ生成用のエンベロープパラメータ及び波形データの選択に関する波形データ選択情報から構成されている。波形データ選択情報は、ノートナンバ及びベロシティと選択する波形データに関する情報を表す波形データ情報との対応関係を記録したテーブルである。波形データ情報は、波形データの先頭アドレス、末尾アドレス及び元ピッチからなる。   The configuration of each element data is common. Each element data includes a filter control parameter for controlling the filter circuit FLT, a low frequency signal control parameter for controlling the low frequency signal generation circuit LFO, an envelope parameter for generating various envelopes, and waveform data selection relating to selection of waveform data. It consists of information. The waveform data selection information is a table that records the correspondence between the note number and velocity and the waveform data information that represents information related to the selected waveform data. The waveform data information includes the top address, end address, and original pitch of the waveform data.

また、コモンデータは、音色名を表す音色名情報及びチャンネル累算回路17aにおいて各発音チャンネルから出力される全てのエレメント信号に共通の効果を付与するためのエフェクトパラメータなどから構成される。   The common data includes timbre name information representing a timbre name and an effect parameter for giving a common effect to all element signals output from each sound generation channel in the channel accumulation circuit 17a.

また、ROM19cには、発音予約プログラム(図11)、発音チャンネル確保プログラム(図12)、パラメータ更新の周期処理プログラム(図16)及び音量レベル取得の周期処理プログラム(図18)が記憶されている。発音予約プログラムは、ノートオンイベントが発生すると実行され、前記ノートオンイベントに対応した発音を行うために使用する発音チャンネルの予約及び発生させる楽音に関するパラメータの書き込みを行うためのプログラムである。発音チャンネル確保プログラムは、発音予約プログラムのサブルーチンであって、発音に必要な発音チャンネルを確保するためのプログラムである。発音予約プログラムの実行において、CPU19aは、確保した発音チャンネルが他の発音処理に使用されているか否かに関わらず、前記発生したノートオンイベントに対応した楽音に関する初期パラメータ及び通常パラメータを音源回路17の第1メモリ17c5に書き込む。これにより、発音チャンネルの予約が終了する。すなわち、CPU19aは、発音予約プログラムの実行により予約した発音チャンネルにて発音処理が開始されるのを待たずに発音予約プログラムを終了する。音源回路17は、予約された発音チャンネルが前記発生したノートオンイベントに対応した楽音の生成のために使用可能な状態になると、発音予約プログラムの実行により第1メモリ17c5に書き込まれたパラメータを用いて発音処理を開始する。   The ROM 19c stores a tone generation reservation program (FIG. 11), a tone generation channel securing program (FIG. 12), a parameter update cycle processing program (FIG. 16), and a volume level acquisition cycle processing program (FIG. 18). . The sound generation reservation program is executed when a note-on event occurs, and is a program for reserving a sound channel used for sound generation corresponding to the note-on event and writing parameters relating to the musical sound to be generated. The pronunciation channel securing program is a subroutine of the pronunciation reservation program, and is a program for securing a pronunciation channel necessary for pronunciation. In the execution of the pronunciation reservation program, the CPU 19a receives the initial parameter and the normal parameter related to the musical tone corresponding to the generated note-on event regardless of whether or not the reserved tone generation channel is used for other tone generation processing. To the first memory 17c5. This completes the reservation of the sound channel. That is, the CPU 19a ends the pronunciation reservation program without waiting for the sound generation process to be started in the sound generation channel reserved by the execution of the sound generation reservation program. When the reserved tone generation channel becomes usable for generating a tone corresponding to the generated note-on event, the tone generator circuit 17 uses the parameters written in the first memory 17c5 by executing the tone reservation program. To start the pronunciation process.

パラメータ更新の周期処理プログラム及び音量レベル取得の周期処理プログラムは、タイマ19bから供給される割り込み信号をトリガとして実行される。パラメータ更新の周期処理プログラムは、発音中の各発音チャンネルにて発生されるエレメント信号をリアルタイムに変化させるために音源回路17に供給する楽音パラメータのうちの通常パラメータを所定の周期で更新するプログラムであって、例えば、各エンベロープ生成のためのパラメータを第2メモリ17c6に書き込むプログラムである。また、音量レベル取得の周期処理プログラムは、音源回路17の各発音チャンネルのレジスタの値を定期的に読み出して、後述する各発音チャンネル情報を更新するプログラムである。   The parameter update periodic processing program and the volume level acquisition periodic processing program are executed with an interrupt signal supplied from the timer 19b as a trigger. The parameter update cycle processing program is a program for updating the normal parameters of the musical tone parameters supplied to the tone generator circuit 17 in a predetermined cycle in order to change the element signal generated in each tone generation channel during the tone generation in real time. Thus, for example, a program for writing parameters for generating each envelope in the second memory 17c6. The volume level acquisition periodic processing program is a program for periodically reading out the register value of each tone generation channel of the tone generator circuit 17 and updating each tone generation channel information described later.

また、RAM19dには、各プログラムの実行により一時的に生成されるデータが記憶される。この一時的に生成されるデータには、メロディパート、伴奏パートなどの演奏パートごとに設けられたパート情報からなるパート情報リストPLが含まれる。本実施形態においては、16個の演奏パートを備えていて、パート情報リストPLは16個のパート情報からなる。各パート情報は、図8に示すように、ボイスデータへの参照情報及びノート情報リストNLへの参照情報からなる。   The RAM 19d stores data temporarily generated by executing each program. The temporarily generated data includes a part information list PL composed of part information provided for each performance part such as a melody part and accompaniment part. In the present embodiment, 16 performance parts are provided, and the part information list PL includes 16 pieces of part information. As shown in FIG. 8, each part information includes reference information to the voice data and reference information to the note information list NL.

ボイスデータへの参照情報は、各パートに割り当てられた音色のボイスデータへの参照情報である。ノート情報リストNLは、演奏パートごとに設けられている。各演奏パートごとのノート情報リストNLは、1つの演奏パートに属するノートオンイベントごとに発音中又は予約された発音に関する情報を記憶したノート情報からなる。各ノート情報には、図9に示すように、音高を表すノートナンバ、押鍵タッチ強さを表すべロシティ及び使用する発音チャンネルに関する情報を表す発音チャンネル情報への参照情報(チャンネル番号など)が含まれる。各ノート情報は、1つの楽音波形を構成するエレメント波形の数と同数の発音チャンネルへの参照情報を有する。図7乃至図9に示す例では、パート1に割り当てられた音色は、楽音波形が2つのエレメント波形から構成されている。したがって、パート1の各ノート情報は、それぞれ発音チャンネルへの参照情報を2つずつ有する。ノート情報は、ノートオンイベントが発生するごとにノート情報リストNLに1つずつ追加される。また、ノートオフイベントの発生により発音が終了すると、ノート情報はノート情報リストNLから削除される。ただし、必ず最も古いノート情報から順番に削除されるとは限らない。そこで、各ノート情報は、1つ前のノート情報のアドレスを示す前方リンク及び1つ後のノート情報のアドレスを示す後方リンクを有している。なお、最も古いノート情報の前方リンク及び最も新しいノート情報の後方リンクには、リンク先のノート情報が無いことを示す値(例えば「0」)が記録される。ノート情報の追加及び削除がなされるごとに、前方リンク及び後方リンクを更新することにより、ノートオンイベントが発生した順にノート情報を辿ることができるようにしている。   The reference information to the voice data is reference information to the voice data of the timbre assigned to each part. The note information list NL is provided for each performance part. The note information list NL for each performance part is composed of note information that stores information related to pronunciation during or for each note-on event belonging to one performance part. As shown in FIG. 9, each note information includes a note number representing a pitch, a velocity representing a key press touch strength, and reference information (such as a channel number) to sound channel information representing information on a sound channel to be used. Is included. Each note information includes reference information for the same number of sound generation channels as the number of element waveforms constituting one musical sound waveform. In the example shown in FIG. 7 to FIG. 9, the tone color assigned to Part 1 has a musical tone waveform composed of two element waveforms. Therefore, each piece of note information of part 1 has two pieces of reference information for each sound channel. Note information is added to the note information list NL one by one every time a note-on event occurs. Further, when the sound generation ends due to the occurrence of a note-off event, the note information is deleted from the note information list NL. However, the oldest note information is not necessarily deleted in order. Thus, each piece of note information has a front link indicating the address of the previous note information and a back link indicating the address of the next note information. A value (for example, “0”) indicating that there is no linked note information is recorded in the forward link of the oldest note information and the backward link of the newest note information. Each time the note information is added or deleted, the forward link and the backward link are updated so that the note information can be traced in the order in which the note-on event occurs.

発音チャンネル情報リストCLは、各発音チャンネルごとに設けられた発音チャンネル情報1乃至発音チャンネル情報127からなり、各発音チャンネル情報は、図10に示すように、発音中か否かを表す空きチャンネルフラグ、各種エンベロープに関するエンベロープ情報、エレメント信号の音量レベル及びその発音チャンネル情報への参照情報を記憶しているノート情報への参照情報からなる。なお、各種エンベロープ情報とは、各エンベロープ回路の現在のステージ、現在のステージの目標レベル及び持続時間である。いずれのノート情報からも参照されていない発音チャンネル情報に対応した発音チャンネル(例えば、図8における発音チャンネルCH4)は、空きチャンネルである。   The sound channel information list CL includes sound channel information 1 to sound channel information 127 provided for each sound channel, and each sound channel information is an empty channel flag indicating whether or not sound is being generated, as shown in FIG. And reference information to note information storing envelope information relating to various envelopes, volume level of the element signal, and reference information to the sound channel information. The various types of envelope information are the current stage of each envelope circuit, the target level of the current stage, and the duration. The tone generation channel (for example, tone generation channel CH4 in FIG. 8) corresponding to the tone generation channel information that is not referred to by any note information is an empty channel.

次に、上記のように構成した楽音信号発生装置の動作について説明する。演奏者が鍵盤11のいずれかの鍵を押鍵操作してノートオンイベントが発生すると、CPU19aは、図11に示すように、ステップS10にて、発音予約プログラムを開始する。次に、CPU19aは、ステップS12にて、操作子インターフェース回路14から供給された演奏情報から、押鍵された鍵を表すノート番号NN、押鍵の強さを表すベロシティVELを取得するとともに、パート番号PNを特定する。すなわち、鍵盤には、予めいずれかのパートが割り当てられていて、押鍵により、そのパートの楽音を発音するようになっている。また、鍵域ごとに異なるパートを割り当てることもできる。そこで、CPU19aは、ノートイベントが鍵盤11の操作により発生したこと、前記取得したノート番号NNなどから押鍵された鍵が属するパートを表すパート番号PNを特定する。次に、CPU19aは、ステップS14にて、前記特定したパート番号PNに基づいて対応するボイスデータを特定し、特定したボイスデータを構成するエレメントデータの数を取得する。そして、CPU19aは、ステップS16にて、図12に示す発音チャンネル確保プログラムを実行して、前記ステップS14にて取得したエレメントデータの数と同じ数の発音チャンネルを確保する   Next, the operation of the musical tone signal generator configured as described above will be described. When a performer presses any key on the keyboard 11 to generate a note-on event, the CPU 19a starts a pronunciation reservation program in step S10 as shown in FIG. Next, in step S12, the CPU 19a obtains a note number NN representing the depressed key and a velocity VEL representing the strength of the depressed key from the performance information supplied from the operator interface circuit 14. The number PN is specified. In other words, any part is assigned to the keyboard in advance, and the musical tone of that part is generated by pressing the key. Different parts can be assigned to each key range. Therefore, the CPU 19a specifies that a note event has been generated by operating the keyboard 11, and a part number PN representing a part to which the key pressed from the acquired note number NN belongs. Next, in step S14, the CPU 19a specifies corresponding voice data based on the specified part number PN, and acquires the number of element data constituting the specified voice data. In step S16, the CPU 19a executes the sound generation channel securing program shown in FIG. 12 to secure the same number of sound generation channels as the number of element data acquired in step S14.

CPU19aは、図12に示すように、ステップS16aにて、発音チャンネル確保プログラムの実行を開始し、ステップS16bにて、発音チャンネル情報リストの空きチャンネルフラグを参照して、空きチャンネルを検索する。ステップS16bの検索結果、空きチャンネルがある場合、後述のステップS16kに進む。一方、空きチャンネルが無い場合、CPU19aは、ステップS16cにて、発音チャンネルCH0,CH1・・・CH127のうち、トランケートする発音チャンネルCHn(n=0,1・・・127)を1つ決定する。どの発音チャンネルをトランケートするチャンネルとして決定するかは、予め定められた規則に従う。例えば、発音チャンネル情報リストCLを参照して、エレメント信号の音量レベルが最も小さい発音チャンネルをトランケートするチャンネルとして決定する。また、ノート情報の前方リンクを次々と辿って最も古いノート情報を特定し、最も古いノート情報が参照している発音チャンネル情報に記録されているエレメント信号の音量レベルが最も小さい発音チャンネルをトランケートするチャンネルとして決定してもよい。   As shown in FIG. 12, the CPU 19a starts executing the sound generation channel securing program in step S16a, and searches for an empty channel with reference to the empty channel flag in the sound generation channel information list in step S16b. If there is an empty channel as a result of the search in step S16b, the process proceeds to step S16k described later. On the other hand, when there is no empty channel, the CPU 19a determines one sounding channel CHn (n = 0, 1... 127) to be truncated among the sounding channels CH0, CH1,. Which sound generation channel is to be determined as a truncation channel follows a predetermined rule. For example, with reference to the sound channel information list CL, the sound channel having the smallest volume level of the element signal is determined as the channel to be truncated. Also, the oldest note information is identified by following the forward links of the note information one after another, and the sound channel with the lowest volume level of the element signal recorded in the sound channel information referred to by the oldest note information is truncated. It may be determined as a channel.

次に、CPU19aは、ステップS16dにて、前記ステップS16cの処理により決定されたトランケートする発音チャンネルCHnに対応する発音チャンネル情報n内のノート情報への参照情報を用いて、発音チャンネル情報nを参照しているノート情報(参照元のノート情報)を特定し、この参照元のノート情報から発音チャンネル情報nへの参照情報を削除する。そして、CPU19aは、ステップS16eにて、参照元のノート情報内の発音チャンネル情報への参照情報が全て削除されたか否かの判定を行う。ステップS16eの判定の結果、参照元のノート情報内の発音チャンネル情報への参照情報が全て削除されている場合、CPU19aは、ステップS16fにて、ノート情報リストNLから参照元のノート情報を削除する。一方、ステップS16eの処理の結果、参照元のノート情報内に他の発音チャンネル情報への参照情報が残っている場合は、ノート情報リストNLから参照元のノート情報を削除することなく、ステップS16gに進む。   Next, in step S16d, the CPU 19a refers to the sound production channel information n by using the reference information to the note information in the sound production channel information n corresponding to the sound production channel CHn to be truncated determined by the process of step S16c. Current note information (reference source note information) is specified, and reference information to the sound generation channel information n is deleted from the reference source note information. In step S16e, the CPU 19a determines whether or not all the reference information to the sound channel information in the reference source note information has been deleted. As a result of the determination in step S16e, if all the reference information to the sound channel information in the reference source note information has been deleted, the CPU 19a deletes the reference source note information from the note information list NL in step S16f. . On the other hand, as a result of the processing in step S16e, if reference information for other sound generation channel information remains in the reference source note information, step S16g is deleted without deleting the reference source note information from the note information list NL. Proceed to

CPU19aは、ステップS16gにて、予約可否フラグAFnを参照して、ステップS16cの処理により決定されたトランケートする発音チャンネルCHnについての他の予約の有無の判定を行う。予約可否フラグが「予約可」であるということは、発音チャンネルCHnには未だ他の予約がされていないことになる。この場合、後述のステップS16jに進む。一方、予約可否フラグAFnが「予約不可」であるということは、すでに発音チャンネルCHnに他の予約がされていることになる。すなわち、前記他の予約時に発音中であったエレメント信号がトランケート処理により減衰中であって、前記他の予約に係る楽音の発音がまだ開始されていない。この場合、CPU19aは、ステップS16hにて、前記他の予約をキャンセルする。具体的には、発音チャンネルCHnに対応するチャンネル指定レジスタCSnを「キャンセル」にセットした後、予約キャンセル回路17b7に対してキャンセルトリガ信号を供給する。   In step S16g, the CPU 19a refers to the reservation availability flag AFn and determines whether or not there is another reservation for the truncation sound channel CHn determined by the processing in step S16c. The fact that the reservation availability flag is “reservation available” means that no other reservation has been made for the sound generation channel CHn. In this case, the process proceeds to step S16j described later. On the other hand, the fact that the reservation availability flag AFn is “reservation impossible” means that another reservation has already been made for the tone generation channel CHn. That is, the element signal that was being sounded at the time of the other reservation is being attenuated by the truncation process, and the sound of the musical sound related to the other reservation has not yet started. In this case, the CPU 19a cancels the other reservation in step S16h. Specifically, after setting the channel designation register CSn corresponding to the sound generation channel CHn to “cancel”, a cancel trigger signal is supplied to the reservation cancel circuit 17b7.

前記他の予約をキャンセルした場合、予約キャンセル回路17b7は、発音チャンネルCHnに対応するキーオンマップレジスタKMnを「グループ割り当てなし」にセットするとともに、予約キャンセルフラグCFnを「キャンセル」にセットする。そして、CPU19aは、ステップS16iにて、予約キャンセルフラグCFnを参照して、前記他の予約がキャンセルされたか否かの判定を行う。予約キャンセルフラグCFnが、「発音」を示す場合、CPU19aは、ステップS16jにて、前記ステップS16hにおけるキャンセル処理が間に合わずに発音開始してしまった前記他の予約に係るエレメント信号のトランケート指示を行う。また、ステップS16gの判定において、「他の予約なし」と判定された場合(すなわち、予約可否フラグAFnが「予約不可」である場合)は、対象の発音チャンネルCHnは発音中であるため、CPU19aは、ステップS16jにて、発音チャンネルCHnのトランケート指示を行う。具体的には、第2メモリ17c6に音量変更回路AEGのパラメータとして、ダンプレベル以下の目標値及び短い持続時間を書き込む。   When the other reservation is canceled, the reservation cancel circuit 17b7 sets the key-on map register KMn corresponding to the sound generation channel CHn to “no group assignment” and sets the reservation cancel flag CFn to “cancel”. Then, in step S16i, the CPU 19a refers to the reservation cancel flag CFn and determines whether or not the other reservation is canceled. When the reservation cancel flag CFn indicates “sound generation”, the CPU 19a issues a truncation instruction for the element signal related to the other reservation that has started sounding in time for the cancel processing in step S16h in time for the cancel processing in step S16j. . On the other hand, if it is determined in step S16g that “no other reservation is made” (that is, if the reservation availability flag AFn is “reservation impossible”), since the target sound channel CHn is sounding, the CPU 19a In step S16j, the sound generation channel CHn is truncated. Specifically, the target value below the dump level and the short duration are written in the second memory 17c6 as parameters of the volume change circuit AEG.

そして、CPU19aは、ステップS16kにて、前記ステップS16jにおいてトランケート指示を行った発音チャンネルCHnを新たな発音に使用する発音チャンネルとして確保する。また、上述のステップS16bによる空きチャンネルの検索の結果、空きチャンネルが有った場合、CPU19aは、ステップS16kにて、空きチャンネルを新たな発音に使用する発音チャンネルとして確保する。また、上述のステップS16iによる予約キャンセルの実行結果の判定において、予約がキャンセルされたと判定された場合も、CPU19aは、ステップS16kにて、予約のキャンセルを行った発音チャンネルを新たな発音に使用する発音チャンネルとして確保する。   In step S16k, the CPU 19a secures the tone generation channel CHn for which the truncation instruction was given in step S16j as a tone generation channel used for new tone generation. If there is an empty channel as a result of the search for an empty channel in step S16b described above, the CPU 19a secures the empty channel as a sound generation channel to be used for new sound generation in step S16k. Also, in the determination of the execution result of the reservation cancellation in the above-described step S16i, also when it is determined that the reservation is canceled, the CPU 19a uses the sound generation channel for which the reservation is canceled in step S16k for a new sound generation. Secure as a pronunciation channel.

次に、CPU19aは、ステップS16lにて、発音に必要な数の発音チャンネルを確保したかの判定を行う。図11のステップS14の処理により取得したエレメントデータの数と同じ数の発音チャンネルを確保した場合は、ステップS16mにて、発音チャンネル確保プログラムを終了して、発音予約プログラムに戻る。一方、確保した発音チャンネルの数が、ステップS14の処理により取得したエレメントデータ数未満の場合は、ステップS16b〜ステップS16kからなる処理を繰り返し実行して、エレメントデータ数分の発音チャンネルを確保する。   Next, in step S161, the CPU 19a determines whether the number of sound generation channels necessary for sound generation has been secured. When the same number of tone generation channels as the number of element data acquired by the process of step S14 in FIG. 11 are secured, the tone generation channel securing program is terminated in step S16m and the procedure returns to the tone reservation program. On the other hand, if the number of sounding channels secured is less than the number of element data acquired by the processing in step S14, the processing consisting of steps S16b to S16k is repeatedly executed to secure sounding channels for the number of element data.

発音チャンネル確保プログラムの実行により、エレメントデータ数分の発音チャンネルを確保すると、CPU19aは、ステップS18にて、ノート情報リストNLに新たなノート情報を1つ追加する(図8、図9参照)。そして、追加したノート情報に、前記ステップS12にて取得したノートナンバ及びベロシティを書き込む。また、確保した発音チャンネルに対応する発音チャンネル情報への参照情報を書き込む。さらに、1つ前に発生したノートオンイベントに対応するノート情報への参照情報である前方リンクを書き込む。次に、CPU19aは、ステップS20にて、確保した発音チャンネルに対応する発音チャンネル情報を初期化する(図8、図10参照)。具体的には、空きチャンネルフラグを「使用中」にセットし、ノート情報への参照情報として、前記追加した新たなノート情報への参照情報をセットする。各種エンベロープ値として、初期レベル及び第1ステージの目標値がセットされる。   When the sound channel for the number of element data is secured by executing the sound channel securing program, the CPU 19a adds one new note information to the note information list NL in step S18 (see FIGS. 8 and 9). Then, the note number and velocity acquired in step S12 are written in the added note information. In addition, reference information to the sound channel information corresponding to the secured sound channel is written. Further, a forward link that is reference information to the note information corresponding to the note-on event that occurred one before is written. Next, in step S20, the CPU 19a initializes sound channel information corresponding to the secured sound channel (see FIGS. 8 and 10). Specifically, the empty channel flag is set to “in use”, and reference information to the added new note information is set as reference information to the note information. As various envelope values, the initial level and the target value of the first stage are set.

次に、CPU19aは、ステップS20にて、確保した発音チャンネルのそれぞれについての各種パラメータを第1メモリ17c5に書き込む。すなわち、ステップS14において特定したボイスデータから、エフェクトパラメータ、エンベロープパラメータ、波形データの先頭及び末尾アドレス、元ピッチなどを取得して、これらを第1メモリ17c5の対応する領域にそれぞれ書き込む。例えば、図13に示すように、カットオフ周波数変更回路FEGに供給するためのフィルタエンベロープパラメータの書き込みにおいては、CPU19aは、ステップS40にて、カットオフ周波数変更回路FEG用のパラメータ書き込み処理を開始し、ステップS42にて、ボイスデータに記録されているフィルタエンベロープパラメータのうち、初期レベル、アタックレベル及びアタックタイムを取得する。次に、CPU19aは、ステップS44にて、初期レベルを第1メモリ17c5の初期パラメータ領域に書き込む。次に、CPU19aは、ステップS46にて、アタックレベル及びアタックタイムを第1メモリ17c5の通常パラメータ領域に書き込む。そして、CPU19aは、ステップS48にて、カットオフ周波数変更回路FEG用のパラメータ書き込み処理を終了する。   Next, in step S20, the CPU 19a writes various parameters for each of the reserved sound generation channels in the first memory 17c5. That is, the effect parameter, envelope parameter, start and end addresses of waveform data, original pitch, and the like are acquired from the voice data identified in step S14, and these are written in the corresponding areas of the first memory 17c5. For example, as shown in FIG. 13, in writing the filter envelope parameter to be supplied to the cut-off frequency changing circuit FEG, the CPU 19a starts the parameter writing process for the cut-off frequency changing circuit FEG in step S40. In step S42, the initial level, attack level, and attack time are acquired from the filter envelope parameters recorded in the voice data. Next, in step S44, the CPU 19a writes the initial level to the initial parameter area of the first memory 17c5. Next, in step S46, the CPU 19a writes the attack level and attack time in the normal parameter area of the first memory 17c5. In step S48, the CPU 19a ends the parameter writing process for the cutoff frequency changing circuit FEG.

ふたたび、図11の説明に戻る。CPU19aは、ステップS24にて、チャンネル指示レジスタCS0,CS1・・・CS127のうち、ステップS16にて確保した発音チャンネル(すなわち、予約する発音チャンネル)に対応するレジスタを「予約」にセットする。次に、CPU19aは、ステップS26にて、グループフルレジスタGFが「空きグループあり」になるまで待つ。なお、上述のように、本実施形態においては30個のグループを使用することができるので、ステップS26の開始時にグループフルレジスタGFが「空きグループ無し」の状態になっていることはほとんど無い。たとえ、ステップS26の開始時にグループフルレジスタGFが「空きグループ無し」の状態になっていても、音源回路17において、発音チャンネルに対するトランケート処理が行われ、予約中の楽音の生成が開始されることにより、短時間(例えば数ミリ秒)でグループフルレジスタGFが「空きグループあり」になる。したがって、ステップS26の待ち時間が長くなって、CPU19aが他の処理をタイミング良く実行できなくなるという問題は発生しない。   Returning to the description of FIG. In step S24, the CPU 19a sets, in the channel designation registers CS0, CS1,... CS127, a register corresponding to the sound channel secured in step S16 (that is, the sound channel to be reserved) to “reserved”. Next, in step S26, the CPU 19a waits until the group full register GF becomes “available group”. As described above, 30 groups can be used in the present embodiment, and therefore, the group full register GF is hardly in a “no empty group” state at the start of step S26. Even if the group full register GF is in a state of “no empty group” at the start of step S26, the tone generator circuit 17 performs the truncation process on the sound generation channel, and the generation of the reserved musical tone is started. Thus, the group full register GF becomes “with free group” in a short time (for example, several milliseconds). Therefore, the problem that the waiting time in step S26 becomes long and the CPU 19a cannot execute other processes in a timely manner does not occur.

CPU19aは、ステップS26の処理にて、「空きグループあり」と判定すると、ステップS28にて、予約受付回路17b1に対し、予約トリガ信号を出力し、続くステップS30にて、発音予約プログラムを終了する。これにより、1つのノートオンイベントに対する発音チャンネルの予約が完了する。   If the CPU 19a determines that “there is an empty group” in the process of step S26, the CPU 19a outputs a reservation trigger signal to the reservation receiving circuit 17b1 in step S28, and then ends the pronunciation reservation program in step S30. . This completes the reservation of the sound channel for one note-on event.

ここで、発音チャンネルCHn(n=0,1・・・127)の発音中に、新たなノートオンイベントが発生し、CPU19aが、このノートオンイベントに対応する楽音生成のために発音チャンネルCHnの予約をした場合の音源回路17の動作について、図14を用いて説明する。この例においては、予約する発音チャンネルCHnは、ノートオフイベント発生後の楽音を発音中である。   Here, a new note-on event occurs during sound generation of the sound generation channel CHn (n = 0, 1,... 127), and the CPU 19a uses the sound generation channel CHn to generate a musical sound corresponding to the note-on event. The operation of the tone generator circuit 17 when making a reservation will be described with reference to FIG. In this example, the tone generation channel CHn to be reserved is generating a tone after the note-off event occurs.

予約トリガ信号を入力した予約受付回路17b1は、グループ使用可否フラグGU0,GU1・・・GU30から空きグループ番号mを取得するとともに、そのグループ使用可否フラグGUmを「使用中」にセットする。そして、取得した空きグループ番号mを、発音チャンネルCHnに対応するキーオンマップレジスタKMnに書き込む。その後、予約受付回路17b1は、チャンネル指定レジスタCSを「指定なし」にセットする。キーオンマップレジスタKMnにグループ番号mが書き込まれると、予約可否フラグセット回路17b8が、発音チャンネルCHnに対応する予約可否フラグAFnを「予約不可」にセットする。また、キーオンマップレジスタKMnにグループ番号mが書き込まれたサンプリング周期の次のサンプリング周期の開始時に、キーオンマップラッチ回路17b5が、キーオンマップKMの内容をキーオンマップラッチKMLにコピーする。すなわち、キーオンマップラッチレジスタKMLnにグループ番号mが書き込まれる。   The reservation receiving circuit 17b1 that has input the reservation trigger signal acquires the empty group number m from the group availability flag GU0, GU1,... GU30, and sets the group availability flag GUm to “in use”. Then, the acquired empty group number m is written into the key-on map register KMn corresponding to the tone generation channel CHn. Thereafter, the reservation receiving circuit 17b1 sets the channel designation register CS to “no designation”. When the group number m is written in the key-on map register KMn, the reservation enable / disable flag setting circuit 17b8 sets the reservation enable / disable flag AFn corresponding to the tone generation channel CHn to “reservation disabled”. In addition, at the start of the sampling period next to the sampling period in which the group number m is written in the key-on map register KMn, the key-on map latch circuit 17b5 copies the contents of the key-on map KM to the key-on map latch KML. That is, the group number m is written in the key-on map latch register KMLn.

図14の発音チャンネルCHnの予約時においては、発音チャンネルCHnの音量変更回路AEGのステージは第5ステージ(リリース中)となっていて、音源回路17は、発音チャンネルCHnにて生成されているエレメント信号の音量レベルをサンプリング周期ごとに徐々に小さくしている。そして、CPU19aは、発音チャンネル確保プログラムのステップS16jを実行して、生成中のエレメント信号のトランケート指示を行うと、音量変更回路AEGが、エレメント信号の音量レベルの減少率を大きくするエンベロープを生成して音量制御回路AMPに供給するので、急速に音量レベルが小さくなっていく。そして、サンプリング周期ごとに、ダンプレベル到達検出回路17b4により、音量レベルレジスタAL0〜AL127を介してレベル検出回路17b3からダンプレベル到達検出レジス他17b4に供給される、各発音チャンネルにて生成されているエレメント信号の音量レベル、及びキーオンマップラッチに基づいて、グループmに属する全ての発音チャンネルの音量レベルがダンプレベルに到達したか否かの判定がなされる。前記ダンプレベルに到達したか否かの判定結果は、ダンプレベル到達検出レジスタDL1〜DL30に書き込まれる。   At the time of reservation of the sound generation channel CHn in FIG. 14, the stage of the sound volume change circuit AEG of the sound generation channel CHn is in the fifth stage (under release), and the sound source circuit 17 is an element generated in the sound generation channel CHn. The volume level of the signal is gradually reduced at every sampling period. Then, when the CPU 19a executes step S16j of the sound channel securing program to instruct truncation of the element signal being generated, the volume change circuit AEG generates an envelope that increases the decrease rate of the volume level of the element signal. Therefore, the volume level is rapidly reduced. In each sampling cycle, the sound level is generated by the dump level arrival detection circuit 17b4 from the level detection circuit 17b3 to the dump level arrival detection register 17b4 via the volume level registers AL0 to AL127. Based on the volume level of the element signal and the key-on map latch, it is determined whether or not the volume levels of all the sound channels belonging to the group m have reached the dump level. The determination result as to whether or not the dump level has been reached is written in the dump level arrival detection registers DL1 to DL30.

一方、CPU19aによる発音予約プログラムのステップS22の処理によって、図15に示すように、第1メモリ17c5に初期パラメータ及び通常パラメータが書き込まれ、これらの初期パラメータ及び通常パラメータは、ダンプレベル到達検出レジスタDLmの値が「ダンプレベル到達」になるまで、第1メモリ17c5に保持されている。そして、ダンプレベル到達レジスタDLmの値が「ダンプレベル到達」になると、その次のサンプリング周期にて、通常パラメータ転送回路17c3が第1メモリ17c5の通常パラメータ領域に書き込まれているパラメータを第2メモリ17c6にコピーし、初期パラメータ出力回路17c2が、初期パラメータを音源回路17の各部(ピッチ変更回路PEG、カットオフ周波数変更回路FEG、音量変更回路AEGなど)に出力する。第1メモリ17c5に保持されていた初期パラメータが音源回路17の各部に出力され、第1メモリ17c5に保持されていた通常パラメータが第2メモリ17c6にコピーされた後、同じ発音チャンネルCHnの予約のために第1メモリ17c5に次の予約に係る初期パラメータ及び通常パラメータが書き込まれるまでは、これらの元の初期パラメータ及び通常パラメータは、それぞれ第1メモリ17c5の対応する記憶領域に残るが、これらの記憶領域は参照されず、未使用となる。   On the other hand, as shown in FIG. 15, the initial parameter and the normal parameter are written in the first memory 17c5 by the processing of the sound generation reservation program in step S22 by the CPU 19a, and these initial parameter and normal parameter are stored in the dump level arrival detection register DLm. Is held in the first memory 17c5 until the value of reaches the “dump level reached”. When the value of the dump level arrival register DLm reaches “dump level reached”, the normal parameter transfer circuit 17c3 transfers the parameter written in the normal parameter area of the first memory 17c5 to the second memory in the next sampling cycle. The initial parameter output circuit 17c2 outputs the initial parameter to each part of the tone generator circuit 17 (pitch change circuit PEG, cut-off frequency change circuit FEG, volume change circuit AEG, etc.). The initial parameters held in the first memory 17c5 are output to each part of the tone generator circuit 17, and the normal parameters held in the first memory 17c5 are copied to the second memory 17c6, and then the same tone generation channel CHn is reserved. Therefore, until the initial parameter and the normal parameter for the next reservation are written in the first memory 17c5, the original initial parameter and the normal parameter remain in the corresponding storage areas of the first memory 17c5, respectively. The storage area is not referenced and is unused.

そして、発音開始指示回路17b6が、グループ番号「m」に属する全発音チャンネルに対し、発音開始を指示するとともに、これらの発音チャンネルに対応するキーオンマップレジスタ及びキーオンマップラッチレジスタを「グループ割り当てなし」にセットする。さらに、発音開始指示回路17b6は、グループ使用状況レジスタGUmを「使用可」にセットする。予約可否フラグセット回路17b8は、キーオンマップレジスタKMnが「グループ割り当てなし」にセットされても、所定時間(例えば、サンプリング周期の5周期分)だけ予約可否フラグを「予約不可」に保持し、その後「予約可」にセットする。   Then, the sound generation start instruction circuit 17b6 instructs the sound generation start to all sound generation channels belonging to the group number “m”, and the key-on map registers and key-on map latch registers corresponding to these sound generation channels are set to “no group assignment”. Set to. Further, the sound generation start instruction circuit 17b6 sets the group usage status register GUm to “usable”. Even if the key-on map register KMn is set to “no group assignment”, the reservation enable / disable flag setting circuit 17b8 holds the reservation enable / disable flag at “reservation disabled” for a predetermined time (for example, five sampling cycles), and thereafter Set to “Reservable”.

通常パラメータ転送回路17c3によって第2メモリ17c6に書き込まれた通常パラメータは、通常パラメータ出力回路17c4によって、サンプリング周期ごとに、各発音チャンネルの各回路に出力される。   The normal parameter written in the second memory 17c6 by the normal parameter transfer circuit 17c3 is output to each circuit of each tone generation channel by the normal parameter output circuit 17c4 for each sampling period.

また、第2メモリ17c6に書き込まれた通常パラメータは、CPU19aのパラメータ更新の周期処理プログラムの実行によって所定の時間間隔(例えば10ミリ秒)で更新される。CPU19aは、一定の時間間隔(例えば1ミリ秒)でタイマ19cから割り込み信号を供給され、この割り込み信号に基づいて前記所定の時間間隔(例えば10ミリ秒)ごとに、パラメータ更新の周期処理プログラム及び音量レベルチェックの周期処理プログラムを繰り返し実行する。   Further, the normal parameters written in the second memory 17c6 are updated at predetermined time intervals (for example, 10 milliseconds) by the execution of the parameter update periodic processing program of the CPU 19a. The CPU 19a is supplied with an interrupt signal from the timer 19c at a constant time interval (for example, 1 millisecond), and based on the interrupt signal, a parameter update cycle processing program and Repeat the volume level check periodic processing program.

まず、パラメータ更新の周期処理プログラムについて説明する。パラメータ更新の周期処理プログラムは、発音中の楽音の音高、音色及び音量を変化させるエンベロープを生成するためのパラメータなどを書き込むプログラムである。CPU19aは、図16に示すステップS50にて、パラメータ更新の周期処理を開始すると、ステップS52にて、1つの発音チャンネルCHn(n=0,1・・・127)を選択し、発音チャンネルCHnに対応する予約可否フラグAFnを参照して、発音チャンネルCHnの楽音信号がトランケート処理中か否かの判定を行う。すなわち、予約可否フラグAFnが、「予約不可」であるということは、発音チャンネルCHnにて発生中の楽音信号がトランケート処理中であることになる。この場合、後述のステップS56に進む。一方、予約可否フラグAFnが「予約可」であるということは、発音チャンネルCHnにて発生中の楽音信号にはトランケート処理がなされていないことになる。この場合、CPU19aは、ステップS54にて、第2メモリ17c6の通常パラメータを更新する。   First, a parameter update cycle processing program will be described. The parameter update periodic processing program is a program for writing parameters for generating an envelope for changing the pitch, tone color, and volume of a musical tone being sounded. When the CPU 19a starts the parameter update cycle process in step S50 shown in FIG. 16, the CPU 19a selects one tone generation channel CHn (n = 0, 1,... 127) in step S52, and assigns it to the tone generation channel CHn. With reference to the corresponding reservation availability flag AFn, it is determined whether or not the tone signal of the tone generation channel CHn is being truncated. That is, when the reservation availability flag AFn is “reservation impossible”, the musical tone signal being generated in the sound generation channel CHn is being truncated. In this case, the process proceeds to step S56 described later. On the other hand, if the reservation availability flag AFn is “reservation possible”, the musical tone signal being generated in the sound generation channel CHn is not subjected to truncation processing. In this case, the CPU 19a updates the normal parameter of the second memory 17c6 in step S54.

上記ステップS54のパラメータの書き込みの一例として、カットオフ周波数変更回路FEGにカットオフエンベロープを生成させるためのパラメータの更新について、図17を用いて説明する。CPU19aは、ステップS60にて、カットオフ周波数変更回路FEG用のパラメータ更新処理を開始すると、ステップS62にて、EGステージ検出回路17c1(図6参照)の検出対象レジスタDDに検出対象とする発音チャンネルの番号とエンベロープ回路の種別を表す値(この例では、カットオフ周波数変更回路FEGを表す値)を書き込む。次にステップS64において、ステージ終了フラグの値を読み出す。そして、ステージ終了フラグの値が「ステージ終了」であれば、CPU19aは、ステップS66にて、カットオフ周波数エンベロープの現在のステージが最終ステージであるか否かの判定を行う。ステップS66の判定の結果、現在のステージが最終ステージでなければ、ステップS68にて、次のステージのカットオフ周波数の目標レベル及び次のステージの持続時間を第2メモリ17c6に書き込む。また、対応する発音チャンネル情報のエンベロープ値を更新する。すなわち、前記次のステージの番号及び前記次のステージの目標値を書き込む。一方、ステップS64において読み出したステージ終了フラグの値が「ステージ処理中」である場合には、CPU19aは、ステップS70に進み、カットオフ周波数変更回路FEG用のパラメータ変更処理を終了する。また、ステップS66にて、エンベロープの現在のステージが最終ステージであると判定した場合も、ステップS70に進み、カットオフ周波数変更回路FEG用のパラメータ変更処理を終了する。   As an example of parameter writing in step S54, updating of parameters for causing the cutoff frequency changing circuit FEG to generate a cutoff envelope will be described with reference to FIG. When the CPU 19a starts parameter update processing for the cut-off frequency changing circuit FEG in step S60, the tone generation channel to be detected in the detection target register DD of the EG stage detection circuit 17c1 (see FIG. 6) in step S62. And a value indicating the type of the envelope circuit (in this example, a value indicating the cut-off frequency changing circuit FEG) are written. Next, in step S64, the value of the stage end flag is read. If the value of the stage end flag is “stage end”, in step S66, the CPU 19a determines whether or not the current stage of the cutoff frequency envelope is the final stage. As a result of the determination in step S66, if the current stage is not the final stage, the target level of the cutoff frequency of the next stage and the duration of the next stage are written in the second memory 17c6 in step S68. Also, the envelope value of the corresponding tone generation channel information is updated. That is, the next stage number and the target value of the next stage are written. On the other hand, if the value of the stage end flag read in step S64 is “stage processing in progress”, the CPU 19a proceeds to step S70 and ends the parameter changing process for the cutoff frequency changing circuit FEG. If it is determined in step S66 that the current stage of the envelope is the final stage, the process proceeds to step S70, and the parameter changing process for the cutoff frequency changing circuit FEG is ended.

上記ステップS54のパラメータの書き込みの他の例としては、演奏者によるパネル操作子12、ペダル操作子13などの操作により発生する演奏情報及び外部インターフェース回路22を介したMIDI対応の外部機器から送信された演奏情報に応じて、音高、音色、音量などを変化させる場合が挙げられる。これらの場合、CPU19aは、前記演奏情報に応じて、対応する発音チャンネルの通常パラメータを第2メモリ17c6に書き込んで更新する。更新された通常パラメータは、更新されなかった他の通常パラメータとともに、通常パラメータ出力回路17c4によって各発音チャンネルの各回路に出力される。   As another example of the parameter writing in step S54, performance information generated by the player's operation of the panel operator 12, the pedal operator 13, etc., and the MIDI-compatible external device via the external interface circuit 22 are transmitted. Depending on the performance information, the pitch, tone, volume, etc. may be changed. In these cases, the CPU 19a writes and updates the normal parameters of the corresponding tone generation channel in the second memory 17c6 in accordance with the performance information. The updated normal parameter is output to each circuit of each tone generation channel by the normal parameter output circuit 17c4 together with other normal parameters that have not been updated.

ふたたび、図16のパラメータ更新の周期処理の説明に戻る。CPU19aは、上記のようにして第2メモリ17c6の通常パラメータを更新すると、ステップS56にて、全ての発音チャンネルの処理が終了したか否かの判定を行う。残りの発音チャンネルがあれば、ステップS52乃至S54を繰り返して、全ての発音チャンネルのためのパラメータの更新を行う。全ての発音チャンネルのためのパラメータの更新が終了すると、CPU19aは、ステップS58にて、パラメータ更新の周期処理プログラムを終了する。   Returning to the description of the parameter update cycle process in FIG. When the CPU 19a updates the normal parameters in the second memory 17c6 as described above, it determines in step S56 whether or not the processing of all sound generation channels has been completed. If there are remaining sound generation channels, steps S52 to S54 are repeated to update the parameters for all sound generation channels. When the parameter update for all sound generation channels is completed, the CPU 19a ends the parameter update cycle processing program in step S58.

次に、音量レベル取得の周期処理プログラムについて説明する。図18に示すように、CPU19aは、ステップS80にて、音量レベル取得の周期処理プログラムを開始すると、ステップS82にて、1つの発音チャンネルCHn(n=0,1・・・127)を選択して、発音チャンネルCHnで生成されているエレメント信号の音量レベルをレベル検出回路17b3から音量レベルレジスタAL0〜AL127を介して入力する。次に、ステップS84にて、入力したエレメント信号の音量レベルが、ダンプレベル以下であるか否かの判定を行う。ステップS84の判定の結果、エレメント信号の音量がダンプレベル以下でない場合、後述のステップS92に進む。   Next, the volume level acquisition periodic processing program will be described. As shown in FIG. 18, when the CPU 19a starts the volume level acquisition periodic processing program in step S80, the CPU 19a selects one sound generation channel CHn (n = 0, 1,... 127) in step S82. Then, the volume level of the element signal generated in the sound generation channel CHn is input from the level detection circuit 17b3 via the volume level registers AL0 to AL127. Next, in step S84, it is determined whether or not the volume level of the input element signal is equal to or lower than the dump level. As a result of the determination in step S84, if the volume of the element signal is not less than the dump level, the process proceeds to step S92 described later.

一方、ダンプレベル以下である場合は、発音チャンネルCHnに対応する発音チャンネル情報nの空きチャンネルフラグを「空き」にセットする。そして、CPU19aは、ステップS86にて、発音チャンネル情報nに記録されているノート情報への参照情報を用いて、発音チャンネル情報nへの参照情報を記憶している参照元のノート情報を特定する。そして、参照元のノート情報の発音チャンネル情報nへの参照情報を削除する。次に、CPU19aは、ステップS88にて、参照元のノート情報内のすべての発音チャンネル情報への参照情報が削除されているか否かの判定を行う。参照元のノート情報内に発音チャンネル情報への参照情報が残っている場合は、ステップS92に進む。   On the other hand, when the level is lower than the dump level, the empty channel flag of the sound generation channel information n corresponding to the sound generation channel CHn is set to “free”. In step S86, the CPU 19a uses the reference information to the note information recorded in the sound channel information n to specify the reference source note information that stores the reference information to the sound channel information n. . Then, the reference information to the sound generation channel information n of the reference source note information is deleted. Next, in step S88, the CPU 19a determines whether or not the reference information to all the sound channel information in the reference source note information has been deleted. If reference information for the sound channel information remains in the reference source note information, the process proceeds to step S92.

一方、すべての発音チャンネル情報への参照情報が削除されている場合は、CPU19aは、ステップS90にて、そのノート情報を削除する。そして、削除したノート情報の1つ前及び1つ後のノート情報内の前方リンク及び後方リンクを更新する。次に、CPU19aは、ステップS92にて、全ての発音チャンネルの処理が終了したか否かの判定を行う。残りの発音チャンネルがあれば、ステップS82乃至S90を繰り返して、全ての発音チャンネルの音量レベルの取得を行う。すべての発音チャンネルの音量レベルの取得が終了すると、CPU19aは、ステップS94にて、音量レベル取得の周期処理プログラムを終了する。   On the other hand, if the reference information for all the sound channel information has been deleted, the CPU 19a deletes the note information in step S90. Then, the forward link and the backward link in the note information immediately before and after the deleted note information are updated. Next, in step S92, the CPU 19a determines whether or not the processing of all sound generation channels has been completed. If there are remaining sound generation channels, steps S82 to S90 are repeated to acquire the volume levels of all sound generation channels. When the acquisition of the sound volume levels of all the sound generation channels is completed, the CPU 19a ends the sound volume level acquisition periodic processing program in step S94.

なお、上記の例においては、発音中(リリース中)の発音チャンネルに予約を行う場合の音源回路17の動作を示したが、予約する発音チャンネルCHnが空きチャンネルの場合であっても、動作は同様である。すなわち、この場合、予約したサンプリング周期の次のサンプリング周期において、ダンプレベル到達検出回路17b4によって発音チャンネルCHnの楽音信号の音量レベルがダンプレベル到達したことが検出されるというだけで、音源回路17の他の動作は、上記発音中の発音チャンネルに予約を行う場合の音源回路17の動作と同様である。また、上記の例においては、ノートオンイベント及びノートオフイベントは、鍵盤11の鍵操作によって発生しているが、自動演奏プログラム及び外部機器から送信される演奏情報によっても発生し、この場合のCPU19a及び音源回路17の動作も、ステップS12にて、演奏情報に応じたパート番号PNが割り当てられる点を除いて、上記の例と同様である。   In the above example, the operation of the tone generator circuit 17 is shown in the case where a reservation is made for a sounding channel that is sounding (released). However, even if the sounding channel CHn to be reserved is an empty channel, the operation is It is the same. That is, in this case, in the sampling period next to the reserved sampling period, the dump level arrival detection circuit 17b4 only detects that the volume level of the tone signal of the tone generation channel CHn has reached the dump level. Other operations are the same as those of the tone generator circuit 17 in the case where a reservation is made for the sound generation channel that is generating the sound. In the above example, the note-on event and the note-off event are generated by the key operation of the keyboard 11, but are also generated by the automatic performance program and performance information transmitted from the external device. In this case, the CPU 19a The operation of the tone generator circuit 17 is the same as that in the above example except that the part number PN corresponding to the performance information is assigned in step S12.

上記のように構成した楽音信号発生装置においては、CPU19aは、予約した発音チャンネルにて発音処理が開始されるのを待つことなく発音処理プログラムを終了する。すなわち、CPU19aは、発音チャンネルの予約を行えば良く、発音開始タイミングを制御する必要が無い。すなわち、発音開始タイミングは、音源回路17によって制御される。そのため、CPU19aは、発音予約プログラムの終了後、すぐに、他のプログラムを実行可能となる。例えば、CPU19aは、発音予約プログラムの終了後、すぐに、別のノートオンイベントに対応した発音チャンネルの予約を行うために、再度発音予約プログラムを実行することができる。また、発音予約プログラムの終了後、すぐに、パラメータ更新の周期処理プログラム及び音量レベル取得の周期処理プログラムを実行することもできる。したがって、上記従来の楽音信号発生装置に比べて、処理速度を向上させることができる。   In the musical tone signal generator configured as described above, the CPU 19a ends the sound generation processing program without waiting for the sound generation processing to start on the reserved sound generation channel. That is, the CPU 19a only needs to reserve the sound generation channel, and does not need to control the sound generation start timing. That is, the sound generation start timing is controlled by the sound source circuit 17. Therefore, the CPU 19a can execute another program immediately after the pronunciation reservation program ends. For example, the CPU 19a can execute the pronunciation reservation program again in order to make a reservation for a sound channel corresponding to another note-on event immediately after the sound reservation program ends. Also, immediately after the pronunciation reservation program ends, the parameter update cycle processing program and the volume level acquisition cycle processing program can be executed. Therefore, the processing speed can be improved as compared with the conventional musical tone signal generator.

また、上記のように構成した楽音信号発生装置においては、キーオンイベントに応答してCPU19aが発音チャンネルCH0〜CH127を予約すると、予約受付回路17b1は,キーオンマップレジスタKM0〜KM127を更新する。また、レベル検出回路17b3が一連の発音チャンネルCH0〜CH127の音量レベルの検出を開始する前に、キーオンマップの内容がキーオンマップラッチにコピーされる。ダンプレベル到達検出回路17b4は、レベル検出回路17b3の検出結果及びキーオンマップラッチを用いて、同一グループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルがダンプレベル以下であることを検出することができる。上記のように、ダンプレベルの検出中にグループ構成が変化しないキーオンマップラッチを用いるようにしたので、演奏が不自然になるのを防止できる。   In the musical tone signal generating apparatus configured as described above, when the CPU 19a reserves the sound generation channels CH0 to CH127 in response to the key-on event, the reservation receiving circuit 17b1 updates the key-on map registers KM0 to KM127. Further, before the level detection circuit 17b3 starts detecting the volume level of the series of sound generation channels CH0 to CH127, the contents of the key-on map are copied to the key-on map latch. The dump level arrival detection circuit 17b4 uses the detection result of the level detection circuit 17b3 and the key-on map latch to confirm that the volume level of the tone signal generated in all the sound channels belonging to the same group is below the dump level. Can be detected. As described above, since the key-on map latch in which the group configuration does not change during the detection of the dump level is used, it is possible to prevent the performance from becoming unnatural.

また、上記の楽音信号発生装置においては、チャンネル指定レジスタCS0,CS1・・・CS127で指定された発音チャンネルに共通のグループ番号を対応させて、キーオンマップKM0,KM1・・・KM127に記憶するようにした。そのため、複数の発音チャンネルにてエレメント信号を同時に発生開始させる場合、ダンプレベル到達検出回路17b4は、同じグループ番号で管理されている全ての発音チャンネルの音量レベルがダンプレベル以下かどうかを判断すればよい。したがって、多くのノートオンイベントが短時間のうちに集中して発生しても、CPU19aは、グループ番号に空きがある限り、発音チャンネルの予約をすることができ、予約後は他の処理を実行することができるので、楽音信号発生装置の処理速度を向上させることができる。   In the above musical tone signal generating apparatus, a common group number is associated with the tone generation channels designated by the channel designation registers CS0, CS1,... CS127, and stored in the key-on map KM0, KM1,. I made it. Therefore, when starting generation of element signals simultaneously in a plurality of sound generation channels, the dump level arrival detection circuit 17b4 determines whether the sound volume levels of all sound generation channels managed by the same group number are equal to or lower than the dump level. Good. Therefore, even if many note-on events occur in a short period of time, the CPU 19a can make a reservation for the sound channel as long as there is an empty group number, and performs other processing after the reservation. As a result, the processing speed of the musical tone signal generator can be improved.

また、上記の楽音信号発生装置においては、予約しようとしている発音チャンネルに既に他の予約がされている場合に、前記他の予約をキャンセルできるようにした。したがって、空きチャンネルが無く、かつ全発音チャンネルについて予約済みであっても、他の予約をキャンセルして、新たな予約をすることができる。すなわち、予約をしようとする発音チャンネルが予約済みであっても、CPU19aは、その発音チャンネルの予約が実行されて空き状態になるのを待つことなく、後に発生したノートオンイベントに対応する楽音信号の発生のための発音チャンネルを予約することができる。そして、CPU19aは、前記予約をした発音チャンネルにおける楽音信号発生の開始タイミングを制御する必要が無いので、前記予約の後、すぐに他の処理の実行を開始できる。したがって、楽音信号発生装置の処理速度を向上させることができる。   In the above musical tone signal generating apparatus, when another reservation has already been made for the tone generation channel to be reserved, the other reservation can be canceled. Therefore, even if there is no empty channel and reservations have been made for all sound generation channels, other reservations can be canceled and a new reservation can be made. That is, even if the tone generation channel to be reserved has been reserved, the CPU 19a does not wait for the reservation of the tone generation channel to become empty, and the musical tone signal corresponding to the note-on event that has occurred later. You can reserve a sound channel for the occurrence of Since the CPU 19a does not need to control the start timing of the musical tone signal generation in the reserved tone generation channel, the CPU 19a can start executing other processes immediately after the reservation. Accordingly, the processing speed of the musical tone signal generator can be improved.

また、上記の楽音信号発生装置においては、予約キャンセルフラグCF0〜CF127を設けて、前記他の予約がキャンセルされたか否かの判定を行うようにした。そして、キャンセル指示したにも拘わらず、前記他の予約がキャンセルされなかった場合(すなわち、前記他の予約が実行されて発音開始された場合)、発音処理を開始した直後の発音チャンネルについてトランケート指示を行った上で、この発音チャンネルを新たに予約できる。   In the above-described musical tone signal generator, reservation cancel flags CF0 to CF127 are provided to determine whether or not the other reservation is canceled. When the other reservation is not canceled despite the cancellation instruction (that is, when the other reservation is executed and the sounding is started), the truncation instruction is issued for the sounding channel immediately after the sounding process is started. You can make a new reservation for this sound channel.

また、上記の楽音信号発生装置においては、楽音パラメータ入出力回路17c内に、各種パラメータを記憶するための第1メモリ17c5及び第2メモリ17c6を設けた。これによれば、CPU19aは、発音チャンネルの予約時において楽音パラメータを第1メモリ17c5に書き込んでおけば、書き込まれた楽音パラメータは発音開始時まで第1メモリ17c5に保持されている。また、第1メモリ17c5に書き込まれた楽音パラメータのうち初期パラメータは、発音開始時に、初期パラメータ出力回路17c2によって、各発音チャンネルに直接供給される。一方、通常パラメータは、第2メモリ17c6に転送された後、発音中の所定のタイミングで(例えば10ミリ秒ごと)、通常パラメータ出力回路17c4によって、各発音チャンネルに供給される。すなわち、CPU19aは、発音チャンネルの予約後、発音開始までの間、発音チャンネルへのパラメータの供給に関与しなくてよいので、その間に他の処理を実行することができる。したがって、楽音信号発生装置の処理速度を向上させることができる。   In the musical tone signal generator, the musical tone parameter input / output circuit 17c is provided with the first memory 17c5 and the second memory 17c6 for storing various parameters. According to this, if the CPU 19a has written the musical tone parameters in the first memory 17c5 at the time of reservation of the sound generation channel, the written musical sound parameters are held in the first memory 17c5 until the sound generation starts. Of the musical tone parameters written in the first memory 17c5, initial parameters are directly supplied to each sound generation channel by the initial parameter output circuit 17c2 at the start of sound generation. On the other hand, the normal parameter is transferred to the second memory 17c6 and then supplied to each sound generation channel by the normal parameter output circuit 17c4 at a predetermined timing during sound generation (for example, every 10 milliseconds). That is, since the CPU 19a does not need to be involved in the parameter supply to the sound generation channel after the sound generation channel is reserved until the sound generation is started, other processing can be executed during that time. Accordingly, the processing speed of the musical tone signal generator can be improved.

また、上記のように、初期パラメータは、第2メモリ17c6に転送されないので、第2メモリ17c6の記憶容量を小さくできる。また、CPU19aは、エレメント信号の発生開始後に、第2メモリ17c6に記憶された通常パラメータ(例えば、各種エンベロープ用のパラメータ)を更新できるので、エレメント信号の音色、音量などを時間経過に従って変化させることができる。また、楽音信号を時間経過に従って変化させるためのパラメータを、発音チャンネルの予約時にまとめて供給しておく場合に比べて、第1メモリ17c5及び第2メモリ17c6の記憶容量を小さくできる。   In addition, as described above, the initial parameters are not transferred to the second memory 17c6, so that the storage capacity of the second memory 17c6 can be reduced. Further, since the CPU 19a can update the normal parameters (for example, parameters for various envelopes) stored in the second memory 17c6 after the generation of the element signal is started, the timbre, volume, etc. of the element signal can be changed over time. Can do. Further, the storage capacity of the first memory 17c5 and the second memory 17c6 can be reduced as compared with the case where parameters for changing the musical sound signal with the passage of time are supplied together when the sound generation channel is reserved.

さらに、本発明の実施にあたっては、上記実施形態に限定されるものではなく、本発明の目的を逸脱しない限りにおいて種々の変更が可能である。   Furthermore, in carrying out the present invention, the present invention is not limited to the above embodiment, and various modifications can be made without departing from the object of the present invention.

g.変形例
上記実施形態においては、音源回路17は、波形メモリWMから波形データを読み出して楽音信号を発生させる波形メモリ音源とした。しかし、本発明は、上記波形メモリ音源を備えた楽音信号発生装置に限られず、楽音信号を発生させる発音チャンネルを有する音源であれば、どのような方式の音源を備えた楽音信号発生装置であっても適用でき、上記実施形態と同様の効果が得られる。
g. Modified Example In the above embodiment, the tone generator circuit 17 is a waveform memory tone generator that reads waveform data from the waveform memory WM and generates a musical tone signal. However, the present invention is not limited to the musical tone signal generator provided with the waveform memory tone generator, and is a musical tone signal generator provided with any type of tone generator as long as it has a tone generation channel for generating a musical tone signal. Even if it applies, the same effect as the above-mentioned embodiment is acquired.

また、上記実施形態においては、レベル検出回路17b3は、各発音チャンネルの音量制御回路AMPから出力されるエレメント信号の音量レベルを検出し、検出された音量レベルを用いて、ダンプレベル到達検出回路17b4による各グループに属する発音チャンネルのエレメント信号のダンプレベル到達を検出するようにした。また、前記検出された音量レベルを用いて、トランケートする発音チャンネルを決定するようにした(図12のステップS16c)。さらに、前記検出された音量レベルを用いて、空きチャンネルを検索するようにした(図18のステップS82)。しかし、上記ダンプレベル到達の検出、トランケートする発音チャンネルの決定及び空きチャンネルの検索の各処理に対応して、各発音チャンネルの音量制御回路AMPから出力されるエレメント信号の音量レベルを検出するレベル検出回路をそれぞれ設けてもよいし、2つの前記レベル検出回路を設けて、一方の前記レベル検出回路を前記各処理のうちいずれか1つの処理用とし、他方の前記レベル検出回路を残りの処理用としてもよい。上記ダンプレベル到達の検出専用のレベル検出手段を設けた場合は、このダンプレベル到達の検出専用のレベル検出手段は、上記実施形態のように、電子楽器が有する全ての発音チャンネルにて発生されている楽音信号の音量レベルを検出してもよいし、予約されている発音チャンネルにて発生されている楽音信号の音量レベルのみを検出するようにしてもよい。また、上記処理において、各発音チャンネルの音量制御回路AMPから出力されるエレメント信号の音量レベルではなく、音量変更回路AEGが音量制御回路AMPに供給する音量制御信号を用いてもよい。すなわち、レベル検出回路17b3は、制御回路AMPから出力されるエレメント信号の音量レベルを検出するのではなく、音量変更回路AEGが音量制御回路AMPに供給する音量制御信号を検出するようにしてもよい。そして、前記検出された音量制御信号を用いて、上記ダンプレベル到達の検出、トランケートする発音チャンネルの決定及び空きチャンネルの検索を行うようにしてもよい。   In the above embodiment, the level detection circuit 17b3 detects the volume level of the element signal output from the volume control circuit AMP of each tone generation channel, and uses the detected volume level to detect the dump level arrival detection circuit 17b4. The detection of the dump signal level of the sound channel belonging to each group is detected. Further, the sound generation channel to be truncated is determined using the detected volume level (step S16c in FIG. 12). Furthermore, an empty channel is searched using the detected volume level (step S82 in FIG. 18). However, the level detection for detecting the volume level of the element signal output from the volume control circuit AMP of each sound channel corresponding to each process of detecting the arrival of the dump level, determining the sound channel to be truncated and searching for an empty channel. A circuit may be provided, or two level detection circuits may be provided, one of the level detection circuits may be used for any one of the processes, and the other level detection circuit may be used for the remaining processes. It is good. When the level detection means dedicated to the detection of the arrival of the dump level is provided, the level detection means dedicated to detection of the arrival of the dump level is generated in all the sound generation channels of the electronic musical instrument as in the above embodiment. The volume level of a musical sound signal may be detected, or only the volume level of a musical sound signal generated in a reserved tone generation channel may be detected. In the above processing, a volume control signal supplied from the volume change circuit AEG to the volume control circuit AMP may be used instead of the volume level of the element signal output from the volume control circuit AMP of each sound generation channel. That is, the level detection circuit 17b3 may detect the volume control signal supplied from the volume change circuit AEG to the volume control circuit AMP, instead of detecting the volume level of the element signal output from the control circuit AMP. . The detected sound volume control signal may be used to detect the arrival of the dump level, determine the sounding channel to be truncated, and search for an empty channel.

また、音量制御回路AMPから出力されるエレメント信号の音量レベルを検出するレベル検出回路17b3に加えて、音量変更回路AEGが音量制御回路AMPに供給する音量制御信号を検出する音量制御信号検出回路を設けておき、上記ダンプレベル到達の検出、トランケートする発音チャンネルの決定及び空きチャンネルの検索の各処理に応じて、レベル検出回路17b3及び音量制御信号検出回路によってそれぞれ検出される音量レベル及び音量制御信号を組み合わせて用いてもよいし、適宜使い分けるようにしてもよい。   In addition to the level detection circuit 17b3 that detects the volume level of the element signal output from the volume control circuit AMP, a volume control signal detection circuit that detects the volume control signal supplied to the volume control circuit AMP by the volume change circuit AEG. A sound volume level and a sound volume control signal detected by the level detection circuit 17b3 and the sound volume control signal detection circuit in accordance with the processing of detecting the arrival of the dump level, determining the sound channel to be truncated, and searching for an empty channel, respectively. May be used in combination, or may be used appropriately.

17b…発音予約回路、17b2…グループフルフラグセット回路、17b3…レベル検出回路、17b4…ダンプレベル到達検出回路、17b6…発音開始指示回路、17b7…予約キャンセル回路、17c…楽音パラメータ入出力回路、17c2…初期パラメータ出力回路、17c3…通常パラメータ転送回路、17c4…通常パラメータ出力回路、17c5…第1メモリ、17c6…第2メモリ、19a…CPU、25…発音チャンネル予約回路、CL…発音チャンネル情報リスト、NL…ノート情報リスト 17b ... Sound generation reservation circuit, 17b2 ... Group full flag set circuit, 17b3 ... Level detection circuit, 17b4 ... Dump level arrival detection circuit, 17b6 ... Sound generation start instruction circuit, 17b7 ... Reservation cancellation circuit, 17c ... Musical sound parameter input / output circuit, 17c2 ... initial parameter output circuit, 17c3 ... normal parameter transfer circuit, 17c4 ... normal parameter output circuit, 17c5 ... first memory, 17c6 ... second memory, 19a ... CPU, 25 ... sound channel reservation circuit, CL ... sound channel information list, NL ... Note information list

Claims (7)

楽音信号を発生する複数の発音チャンネルを有する音源部と、
楽音信号発生の指示に応答して、前記楽音信号発生を前記複数の発音チャンネルのうちの1つ又は複数の発音チャンネルに割り当てる制御部とを備えた楽音信号発生装置において、
前記制御部は、
発生させる楽音信号を規定する楽音情報及び前記楽音信号発生を割り当てる1つ又は複数の発音チャンネルを指定するチャンネル指定情報を前記音源部に供給し、前記楽音信号発生に使用するための1つ又は複数の発音チャンネルを1つのグループとして予約する予約手段を有し、
第1の楽音信号発生の指示に応答して、前記予約手段によって、前記第1の楽音信号発生の指示に対応した第1の楽音信号を発生させる1つ又は複数の発音チャンネルを第1のグループとして予約した後、前記第1のグループとして予約した1つ又は複数の発音チャンネルにて前記第1の楽音信号の発生が開始される前に、第2の楽音信号発生の指示に応答して、前記予約手段によって、前記第2の楽音信号発生の指示に対応した第2の楽音信号を発生させる1つ又は複数の発音チャンネルを第2のグループとして予約可能に構成され、
前記音源部は、
前記チャンネル指定情報によって指定され、前記1つのグループとして予約された発音チャンネルの予約を表す予約情報を記憶する予約情報記憶手段と、
前記予約情報記憶手段に記憶されている予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが所定の音量レベル以下であるときに、前記予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルに、前記楽音情報により規定される前記楽音信号の発生を開始させる楽音信号発生開始手段と、を有することを特徴とする楽音信号発生装置。
A sound source unit having a plurality of sound generation channels for generating musical sound signals;
In response to an instruction to generate a musical tone signal, the musical tone signal generating apparatus includes a control unit that assigns the musical tone signal generation to one or more of the plurality of tone generation channels.
The controller is
One or a plurality of tone information for specifying a tone signal to be generated and one or a plurality of channel designation information for designating one or a plurality of tone generation channels to which the tone signal generation is assigned are supplied to the sound source unit and used for the tone signal generation. Reservation means for reserving as a group of pronunciation channels,
In response to an instruction to generate a first musical tone signal, one or more sound generation channels for generating a first musical tone signal corresponding to the instruction to generate the first musical tone signal by the reservation means are assigned to a first group. In response to an instruction to generate a second tone signal before the generation of the first tone signal in the one or more sound generation channels reserved as the first group is started, The reservation unit is configured to be able to reserve one or a plurality of sound generation channels for generating a second musical sound signal corresponding to the second musical sound signal generation instruction as a second group,
The sound source section is
Reservation information storage means for storing reservation information that is designated by the channel designation information and represents a reservation of a sound channel reserved as the one group;
A tone generation channel in which a reservation is represented by the reservation information stored in the reservation information storage means, and a volume level of a tone signal generated in all the sound generation channels belonging to the one group is a predetermined level. When the sound level is equal to or lower than the sound volume level, the musical sound that is the sound generation channel in which the reservation is represented and that starts generation of the musical sound signal defined by the musical sound information in all the sound generation channels belonging to the one group And a signal generation start means.
請求項1に記載の楽音信号発生装置において、
前記楽音信号発生開始手段は、
少なくとも前記予約情報によって予約が表わされている全ての発音チャンネルにて発生されている楽音信号の音量レベルを検出する音量レベル検出手段と、
前記音量レベル検出手段の検出結果及び前記予約情報記憶手段に記憶されている予約情報を用いて、前記予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが前記所定の音量レベル以下であるか否かを検出するダンプレベル到達検出手段と、
前記ダンプレベル到達検出手段の検出結果が、前記予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが前記所定の音量レベル以下であるときに、前記予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルに前記楽音信号発生の開始を指示する楽音信号発生開始指示手段とからなる楽音信号発生装置。
In the musical tone signal generator according to claim 1,
The musical sound signal generation start means
Volume level detecting means for detecting a volume level of a musical tone signal generated in all sound generation channels whose reservation is represented by at least the reservation information;
Using the detection result of the volume level detection means and the reservation information stored in the reservation information storage means, the sound generation channel in which the reservation is represented by the reservation information, and all of the channels belonging to the one group Dump level arrival detection means for detecting whether or not the volume level of the musical sound signal generated in the sound generation channel is equal to or lower than the predetermined volume level;
The detection result of the dump level arrival detection means is a sound channel whose reservation is represented by the reservation information, and the volume level of the tone signal generated in all sound channels belonging to the one group is the sound level. A tone signal that indicates a reservation by the reservation information when the sound volume level is equal to or lower than the predetermined volume level, and instructs all tone generation channels belonging to the one group to start generation of the tone signal. A musical tone signal generator comprising generation start instruction means.
楽音信号を発生する複数の発音チャンネルを有する音源部と、
楽音信号発生の指示に応答して、前記楽音信号発生を前記複数の発音チャンネルのうちの1つ又は複数の発音チャンネルに割り当てる制御部とを備えた楽音信号発生装置において、
前記制御部は、
発生させる楽音信号を規定する楽音情報及び前記楽音信号発生を割り当てる1つ又は複数の発音チャンネルを指定するチャンネル指定情報を前記音源部に供給し、前記楽音信号発生に使用するための1つ又は複数の発音チャンネルを1つのグループとして予約する予約手段を有し、
前記音源部は、
前記チャンネル指定情報によって指定され、前記1つのグループとして予約された発音チャンネルの予約を表す予約情報を記憶する予約情報記憶手段と、
少なくとも前記予約情報によって予約が表わされている全ての発音チャンネルにて発生されている楽音信号の音量レベルを検出する音量レベル検出手段を有していて、前記予約情報記憶手段に記憶されている予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが所定の音量レベル以下であるときに、前記予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルに、前記楽音情報により規定される前記楽音信号の発生を開始させる楽音信号発生開始手段と、を有し、
前記予約情報記憶手段は、
前記チャンネル指定情報が供給されるごとに、前記予約情報を更新可能に記憶する第1記憶手段と、
前記音量レベル検出手段が、少なくとも前記予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルの検出を開始する前に、前記第1記憶手段に記憶された予約情報を記憶して、前記音量レベル検出手段が前記音量レベルの検出を終了するまで前記予約情報を保持する第2記憶手段とからなり、
前記楽音信号発生開始手段は、
前記音量レベル検出手段の検出結果及び前記第2記憶手段に記憶されている予約情報を用いて、前記予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが前記所定の音量レベル以下であるか否かを検出するダンプレベル到達検出手段と、
前記ダンプレベル到達検出手段の検出結果が、前記予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが前記所定の音量レベル以下であるときに、前記予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルに前記楽音信号発生の開始を指示する楽音信号発生開始指示手段とからなることを特徴とする楽音信号発生装置。
A sound source unit having a plurality of sound generation channels for generating musical sound signals;
In response to an instruction to generate a musical tone signal, the musical tone signal generating apparatus includes a control unit that assigns the musical tone signal generation to one or more of the plurality of tone generation channels.
The controller is
One or a plurality of tone information for specifying a tone signal to be generated and one or a plurality of channel designation information for designating one or a plurality of tone generation channels to which the tone signal generation is assigned are supplied to the sound source unit and used for the tone signal generation. Reservation means for reserving as a group of pronunciation channels,
The sound source section is
Reservation information storage means for storing reservation information that is designated by the channel designation information and represents a reservation of a sound channel reserved as the one group;
At least volume level detecting means for detecting the volume level of a musical tone signal generated in all sound generation channels whose reservation is represented by the reservation information is stored in the reservation information storage means. The reservation is made when the sound level of the musical sound signal generated in all the sound generation channels belonging to the one group is equal to or lower than a predetermined sound volume level. A tone signal generation start means for starting generation of the tone signal defined by the tone information in all the tone generation channels belonging to the one group,
The reservation information storage means includes
A first storage means for storing the reservation information in an updatable manner each time the channel designation information is supplied;
The volume level detection means starts detecting the volume level of the tone signal generated in all the sound generation channels that are reserved by at least the reservation information and that belong to the one group. And the second storage means for storing the reservation information stored in the first storage means, and holding the reservation information until the volume level detection means finishes the detection of the volume level,
The musical sound signal generation start means
Using the detection result of the volume level detection means and the reservation information stored in the second storage means, the sound generation channel in which the reservation is represented by the reservation information, and all of the channels belonging to the one group Dump level arrival detection means for detecting whether or not the volume level of the musical sound signal generated in the sound generation channel is equal to or lower than the predetermined volume level;
The detection result of the dump level arrival detection means is a sound channel whose reservation is represented by the reservation information, and the volume level of the tone signal generated in all sound channels belonging to the one group is the sound level. A tone signal that indicates a reservation by the reservation information when the sound volume level is equal to or lower than the predetermined volume level, and instructs all tone generation channels belonging to the one group to start generation of the tone signal. A musical tone signal generator comprising: generation start instruction means.
請求項1乃至3のうちのいずれか1つに記載の楽音信号発生装置において、
前記音源部は、
前記チャンネル指定情報が供給されるごとに、前記チャンネル指定情報によって指定された発音チャンネルに、共通の識別情報であって、前記グループを表す識別情報を割り当てる識別情報割り当て手段と、
前記識別情報割り当て手段が前記指定された発音チャンネルに前記共通の識別情報を割り当てたときにセットされ、前記楽音信号発生開始手段が前記予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて前記楽音信号の発生を開始させたときにクリアされる識別情報フラグを、前記共通の識別情報ごとに記憶する識別情報記憶手段とをさらに有し、
前記予約情報記憶手段は、前記割り当てられた共通の識別情報を前記予約情報として記憶することを特徴とする楽音信号発生装置。
In the musical sound signal generator according to any one of claims 1 to 3,
The sound source section is
Identification information allocating means for assigning identification information that is common identification information to the sound generation channel designated by the channel designation information and represents the group each time the channel designation information is supplied;
Set when the identification information assigning means assigns the common identification information to the designated sounding channel, and the tone signal generation start means is a sounding channel whose reservation is represented by the reservation information, An identification information storage means for storing, for each common identification information, an identification information flag that is cleared when generation of the musical tone signal is started in all sound generation channels belonging to the one group;
The reservation information storage means stores the assigned common identification information as the reservation information.
請求項4に記載の楽音信号発生装置において、
前記共通の識別情報の種類が予め決められていて、
前記識別情報割り当て手段は、前記識別情報フラグを用いていずれの発音チャンネルにも割り当てられていない識別情報を選択して、前記選択した識別情報を前記指定された発音チャンネルに割り当て、
前記音源部は、前記識別情報記憶手段に記憶された識別情報フラグを用いて、前記指定された発音チャンネルへの識別情報の割り当てが可能か否かを検出する割り当て可否検出手段をさらに有し、
前記予約手段は、前記割り当て可否検出手段の検出結果を用いて、前記指定された発音チャンネルへの前記共通の識別情報の割り当てが可能になるまで待機する待機手段を有することを特徴とする楽音信号発生装置。
In the musical sound signal generator according to claim 4,
The type of the common identification information is predetermined,
The identification information allocating means selects identification information that is not allocated to any sound channel using the identification information flag, and allocates the selected identification information to the designated sound channel,
The sound source unit further includes an assignment availability detection unit that detects whether or not the assignment of the identification information to the designated sound generation channel is possible using the identification information flag stored in the identification information storage unit,
The reservation unit has a standby unit that waits until the common identification information can be allocated to the designated tone generation channel using the detection result of the allocation possibility detection unit. Generator.
楽音信号を発生する複数の発音チャンネル、及び全ての前記発音チャンネルにて発生されている楽音信号の音量レベルを検出する音量レベル検出手段を有する音源部と、
楽音信号発生の指示に応答して、前記楽音信号発生を前記複数の発音チャンネルのうちの1つ又は複数の発音チャンネルに割り当てる制御部とを備えた楽音信号発生装置において、
前記制御部は、
前記音量レベル検出手段の検出結果を用いて、各発音チャンネルにて発生されている楽音信号の音量レベルが所定の音量レベル以下であるか否かを判定するレベル判定手段と、
前記レベル判定手段の判定結果を用いて、前記楽音信号発生を割り当てる1つ又は複数の発音チャンネルを決定する割り当てチャンネル決定手段と、
発生させる楽音信号を規定する楽音情報及び前記楽音信号発生を割り当てる1つ又は複数の発音チャンネルを指定するチャンネル指定情報を前記音源部に供給し、前記楽音信号発生に使用するための1つ又は複数の発音チャンネルを1つのグループとして予約する予約手段と、を有し、
前記音源部は、
前記チャンネル指定情報によって指定され、前記1つのグループとして予約された発音チャンネルの予約を表す予約情報を記憶する予約情報記憶手段と、
前記予約情報記憶手段に記憶されている予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが前記所定の音量レベル以下であるときに、前記予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルに、前記楽音情報により規定される前記楽音信号の発生を開始させる楽音信号発生開始手段と、を有し、
前記楽音信号発生開始手段は、
前記音量レベル検出手段の検出結果及び前記予約情報記憶手段に記憶されている予約情報を用いて、前記予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが前記所定の音量レベル以下であるか否かを検出するダンプレベル到達検出手段と、
前記ダンプレベル到達検出手段の検出結果が、前記予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが前記所定の音量レベル以下であるときに、前記予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルに前記楽音信号発生の開始を指示する楽音信号発生開始指示手段とからなることを特徴とする楽音信号発生装置。
A sound source section having a plurality of sound generation channels for generating a sound signal, and a sound volume level detecting means for detecting a sound volume level of the sound signal generated in all the sound generation channels;
In response to an instruction to generate a musical tone signal, the musical tone signal generating apparatus includes a control unit that assigns the musical tone signal generation to one or more of the plurality of tone generation channels.
The controller is
Using the detection result of the sound volume level detecting means, and determining the level judging unit volume level of the tone signal is generated in each tone generation channel is to or smaller than Jo Tokoro volume level,
Assigned channel determining means for determining one or a plurality of tone generation channels to which the musical tone signal generation is assigned, using the determination result of the level determining means;
One or a plurality of tone information for specifying a tone signal to be generated and one or a plurality of channel designation information for designating one or a plurality of tone generation channels to which the tone signal generation is assigned are supplied to the sound source unit and used for the tone signal generation. Reserving means for reserving sound generation channels as a group,
The sound source section is
Reservation information storage means for storing reservation information that is designated by the channel designation information and represents a reservation of a sound channel reserved as the one group;
A sound channel for which the reservation is represented by the reservation information stored in said reservation information storing means, the sound volume level of the tone signal is generated in all tone generation channels belonging to the one group the predetermined When the volume level is equal to or lower than the volume level, the tone generation channel defined by the tone information is started for all tone generation channels that represent the reservation and that belong to the one group. Music signal generation start means,
The musical sound signal generation start means
Using the detection result of the volume level detection means and the reservation information stored in the reservation information storage means, the sound generation channel in which the reservation is represented by the reservation information, and all of the channels belonging to the one group Dump level arrival detection means for detecting whether or not the volume level of the musical sound signal generated in the sound generation channel is equal to or lower than the predetermined volume level;
The detection result of the dump level arrival detection means is a sound channel whose reservation is represented by the reservation information, and the volume level of the tone signal generated in all sound channels belonging to the one group is the sound level. A tone signal that indicates a reservation by the reservation information when the sound volume level is equal to or lower than the predetermined volume level, and instructs all tone generation channels belonging to the one group to start generation of the tone signal. A musical tone signal generator comprising: generation start instruction means.
楽音信号を発生する複数の発音チャンネルを有する音源部と、
楽音信号発生の指示に応答して、前記楽音信号発生を前記複数の発音チャンネルのうちの1つ又は複数の発音チャンネルに割り当てる制御部とを備えた楽音信号発生装置において、
前記制御部は、
前記楽音信号発生の指示の内容を表わす発生指示情報を前記楽音信号発生の指示がなされた順に記憶する発生指示情報記憶手段と、
前記発生指示情報記憶手段に記憶された発生指示情報を用いて、前記楽音信号発生を割り当てる発音チャンネルを決定する割り当てチャンネル決定手段と、
発生させる楽音信号を規定する楽音情報及び前記楽音信号発生を割り当てる1つ又は複数の発音チャンネルを指定するチャンネル指定情報を前記音源部に供給し、前記楽音信号発生に使用するための1つ又は複数の発音チャンネルを1つのグループとして予約する予約手段と、を有し、
前記音源部は、
前記チャンネル指定情報によって指定され、前記1つのグループとして予約された発音チャンネルの予約を表す予約情報を記憶する予約情報記憶手段と、
前記予約情報記憶手段に記憶されている予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが所定の音量レベル以下であるときに、前記予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルに、前記楽音情報により規定される前記楽音信号の発生を開始させる楽音信号発生開始手段と、を有し、
前記楽音信号発生開始手段は、
少なくとも前記予約情報によって予約が表わされている全ての発音チャンネルにて発生されている楽音信号の音量レベルを検出する音量レベル検出手段と、
前記音量レベル検出手段の検出結果及び前記予約情報記憶手段に記憶されている予約情報を用いて、前記予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが前記所定の音量レベル以下であるか否かを検出するダンプレベル到達検出手段と、
前記ダンプレベル到達検出手段の検出結果が、前記予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルにて発生されている楽音信号の音量レベルが前記所定の音量レベル以下であるときに、前記予約情報によって予約が表わされている発音チャンネルであって、前記1つのグループに属する全ての発音チャンネルに前記楽音信号発生の開始を指示する楽音信号発生開始指示手段とからなることを特徴とする楽音信号発生装置。
A sound source unit having a plurality of sound generation channels for generating musical sound signals;
In response to an instruction to generate a musical tone signal, the musical tone signal generating apparatus includes a control unit that assigns the musical tone signal generation to one or more of the plurality of tone generation channels.
The controller is
Generation instruction information storage means for storing generation instruction information representing the content of the instruction for generating the musical sound signal in the order in which the instruction for generating the musical sound signal is given;
Allocation channel determination means for determining a sound generation channel to which the musical tone signal generation is allocated, using the generation instruction information stored in the generation instruction information storage means;
One or a plurality of tone information for specifying a tone signal to be generated and one or a plurality of channel designation information for designating one or a plurality of tone generation channels to which the tone signal generation is assigned are supplied to the sound source unit and used for the tone signal generation. Reserving means for reserving sound generation channels as a group,
The sound source section is
Reservation information storage means for storing reservation information that is designated by the channel designation information and represents a reservation of a sound channel reserved as the one group;
A tone generation channel in which a reservation is represented by the reservation information stored in the reservation information storage means, and a volume level of a tone signal generated in all the sound generation channels belonging to the one group is a predetermined level. When the sound level is equal to or lower than the sound volume level, the musical sound that is the sound generation channel in which the reservation is represented and that starts generation of the musical sound signal defined by the musical sound information in all the sound generation channels belonging to the one group Signal generation start means,
The musical sound signal generation start means
Volume level detecting means for detecting a volume level of a musical tone signal generated in all sound generation channels whose reservation is represented by at least the reservation information;
Using the detection result of the volume level detection means and the reservation information stored in the reservation information storage means, the sound generation channel in which the reservation is represented by the reservation information, and all of the channels belonging to the one group Dump level arrival detection means for detecting whether or not the volume level of the musical sound signal generated in the sound generation channel is equal to or lower than the predetermined volume level;
The detection result of the dump level arrival detection means is a sound channel whose reservation is represented by the reservation information, and the volume level of the tone signal generated in all sound channels belonging to the one group is the sound level. A tone signal that indicates a reservation by the reservation information when the sound volume level is equal to or lower than the predetermined volume level, and instructs all tone generation channels belonging to the one group to start generation of the tone signal. A musical tone signal generator comprising: generation start instruction means.
JP2010052608A 2010-03-10 2010-03-10 Music signal generator Expired - Fee Related JP5839156B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2010052608A JP5839156B2 (en) 2010-03-10 2010-03-10 Music signal generator
US13/044,470 US8383924B2 (en) 2010-03-10 2011-03-09 Musical tone signal generating apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010052608A JP5839156B2 (en) 2010-03-10 2010-03-10 Music signal generator

Publications (2)

Publication Number Publication Date
JP2011186261A JP2011186261A (en) 2011-09-22
JP5839156B2 true JP5839156B2 (en) 2016-01-06

Family

ID=44792591

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010052608A Expired - Fee Related JP5839156B2 (en) 2010-03-10 2010-03-10 Music signal generator

Country Status (1)

Country Link
JP (1) JP5839156B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6531432B2 (en) * 2015-03-09 2019-06-19 ヤマハ株式会社 Program, sound source device and acoustic signal generation device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04115295A (en) * 1990-09-06 1992-04-16 Yamaha Corp Musical sound controller
JPH08152884A (en) * 1994-11-30 1996-06-11 Kawai Musical Instr Mfg Co Ltd Sound source device
JP2000221983A (en) * 1999-02-02 2000-08-11 Yamaha Corp Sound source device
JP4320932B2 (en) * 2000-07-12 2009-08-26 ヤマハ株式会社 Electronic musical instruments

Also Published As

Publication number Publication date
JP2011186261A (en) 2011-09-22

Similar Documents

Publication Publication Date Title
JP3838353B2 (en) Musical sound generation apparatus and computer program for musical sound generation
JP3637578B2 (en) Music generation method
JP4998046B2 (en) Music generator
KR100372311B1 (en) Electronic musical instrument
JP2002297142A (en) Device and method for timbre selection
JP3267106B2 (en) Musical tone waveform generation method
US8383924B2 (en) Musical tone signal generating apparatus
JP3840851B2 (en) Recording medium and tone signal generation method
JP5839156B2 (en) Music signal generator
JP3541718B2 (en) Music generator
JP3918817B2 (en) Music generator
JP5569048B2 (en) Music signal generator
JP5504983B2 (en) Music signal generator
JP5648791B2 (en) Music signal generator
JPH05210386A (en) Asigner for electronic musical instrument
JP5293085B2 (en) Tone setting device and method
JP4239706B2 (en) Automatic performance device and program
JP3799711B2 (en) Musical sound generation method and musical sound generator
JP4134870B2 (en) Effect setting device and effect setting program
JP6020134B2 (en) Performance data set editing program and apparatus
JP2641851B2 (en) Automatic performance device
JP4497100B2 (en) Musical sound generation control device and sound generation control program
JP5212013B2 (en) Electronic keyboard instrument
JP4000986B2 (en) Display control apparatus and program
JP4803042B2 (en) Musical sound generating apparatus and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140218

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140417

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140527

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140725

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150203

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150403

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151027

R151 Written notification of patent or utility model registration

Ref document number: 5839156

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees