JP2004171027A - Sound source device - Google Patents

Sound source device Download PDF

Info

Publication number
JP2004171027A
JP2004171027A JP2004040123A JP2004040123A JP2004171027A JP 2004171027 A JP2004171027 A JP 2004171027A JP 2004040123 A JP2004040123 A JP 2004040123A JP 2004040123 A JP2004040123 A JP 2004040123A JP 2004171027 A JP2004171027 A JP 2004171027A
Authority
JP
Japan
Prior art keywords
sound
information
memories
sequencer
sound source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2004040123A
Other languages
Japanese (ja)
Other versions
JP3795495B2 (en
Inventor
Takeshi Nakabo
壯 中坊
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.)
Fuetrek Co Ltd
Original Assignee
Fuetrek Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuetrek Co Ltd filed Critical Fuetrek Co Ltd
Priority to JP2004040123A priority Critical patent/JP3795495B2/en
Publication of JP2004171027A publication Critical patent/JP2004171027A/en
Application granted granted Critical
Publication of JP3795495B2 publication Critical patent/JP3795495B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a sound source device which can generate an operation sound, an effect sound, etc., while sounding music and whose internal sound source can effectively be used. <P>SOLUTION: A plurality of memories (MM1, MM2) are provided and sounding information is read out of the memories by one sequencer SQ. According to a priority information TB containing a description showing sounding information of the memories to be preferentially sounded, sounding information that the sequencer SQ should sound is selected and allocated to sound sources SS1 to SS16 respectively. The memories MM1 and MM2 are divided into a memory which stores sounding information on a musical sound such as a termination melody etc., and a memory which stores sounding information on the operation sound, effect sound, etc., and the priority of the latter memory is set higher than that of the former memory. Consequently, the internal sound source can sufficiently be used for music reproduction and when the operation sound, effect sound, etc., are generated at the same time, their sounding information can preferentially be allocated to the sound source. <P>COPYRIGHT: (C)2004,JPO

Description

この発明は、携帯電話やPDA(Personal Digital Assistant)等の携帯情報端末において、電話や電子メールの着信メロディの発生および音楽の再生を行うための音源装置に関する。   The present invention relates to a sound source device for generating an incoming melody of a telephone call or an e-mail and reproducing music in a portable information terminal such as a portable telephone or a PDA (Personal Digital Assistant).

近年の情報通信技術の進展は、携帯電話やPDA等の携帯情報端末の機能の拡大を促進している。その拡大された機能のひとつに音楽再生機能がある。すなわち、携帯電話等の携帯情報端末においてもより高音質な音楽が楽しめるようにと、音楽用シンセサイザ等の技術を応用した音源装置がその内部に組み込まれている。このような音源装置の作動によって、ユーザは電話や電子メールの着信時に音楽を楽しむことができ、またさらに、携帯情報端末をカラオケ装置やゲーム機器として利用することができる。   2. Description of the Related Art Recent advances in information communication technology have promoted the expansion of functions of portable information terminals such as cellular phones and PDAs. One of the expanded functions is a music playback function. That is, a sound source device to which technology such as a music synthesizer is applied is incorporated in a portable information terminal such as a mobile phone so that higher quality music can be enjoyed. By operating such a sound source device, the user can enjoy music when receiving a telephone call or an e-mail, and further, the portable information terminal can be used as a karaoke device or a game device.

図4に、携帯情報端末に採用される従来の音源装置の構成例を示す。この音源装置SD2は、携帯情報端末の全体の制御を行うCPU(Central Processing Unit)100から、インタフェースIFを介して発音情報(音階:pitch、発音開始/終了時刻:note on,note off、発音音量:volume、発音強度:velocity、音色情報:program numberなどの発音に関する情報)を受ける。   FIG. 4 shows a configuration example of a conventional sound source device employed in a portable information terminal. The sound source device SD2 is provided with sound information (pitch, pitch start / end time: note on, note off, sound volume) from a CPU (Central Processing Unit) 100 that controls the entire portable information terminal via an interface IF. : Volume, pronunciation intensity: velocity, timbre information: information on pronunciation such as program number).

発音情報は一旦、FIFO(First In First Out)メモリMMに格納され、シーケンサーSQが発音開始時刻などを参照しつつFIFOメモリMMから順次、発音情報を読み出す。   The sound generation information is temporarily stored in a FIFO (First In First Out) memory MM, and the sequencer SQ sequentially reads out the sound generation information from the FIFO memory MM while referring to the sound generation start time and the like.

そして、読み出した発音情報の一連の時系列たるシーケンスデータを用いて、シーケンサーSQは、音源SS1〜SS8に発音情報を割り当てて、音楽を再生する。音源SS1〜SS8はそれぞれ、各種音色のサンプリング波形を記憶しており、シーケンサーSQの制御により音の波形をそれぞれ出力可能である。   Then, the sequencer SQ assigns the sound information to the sound sources SS1 to SS8 and reproduces the music by using the sequence data as a series of time series of the read sound information. Each of the sound sources SS1 to SS8 stores sampling waveforms of various timbres, and can output a sound waveform under the control of the sequencer SQ.

このときシーケンサーSQは、同時発音可能数(すなわち音源数)による制限や使用音色等を勘案しつつ、ポリフォニック(同時多声)発音が可能となるよう、音源SS1〜SS8のそれぞれに適宜、シーケンスデータを割り当てる。なお、図4の場合、シーケンサーSQが制御可能な音源数は、音源SS1〜SS8の8個である。また、FIFOメモリMMには、複数のチャンネル(例えば1〜8Ch)ごとの発音情報が記憶されていてもよい。なお、チャンネル数と音源数とは対応しているわけではなく、和音の場合など1Chで多数の音源を占有する場合もありうる。   At this time, the sequencer SQ appropriately assigns sequence data to each of the sound sources SS1 to SS8 so as to enable polyphonic (simultaneous polyphonic) sound while taking into account the limitation by the number of simultaneously soundable sounds (that is, the number of sound sources) and the used timbre. Assign. In the case of FIG. 4, the number of sound sources that can be controlled by the sequencer SQ is eight sound sources SS1 to SS8. The FIFO memory MM may store sound information for each of a plurality of channels (for example, 1 to 8 Ch). Note that the number of channels and the number of sound sources do not correspond to each other, and a large number of sound sources may be occupied by 1 Ch, such as a chord.

図4においては音源SS1〜SS8に加えて、音源SS9〜SS16も設けられている。これらの音源は、シーケンサーSQが音源SS1〜SS8を用いて音楽を再生している場合であっても、例えば携帯情報端末の操作音や効果音等を即時に鳴らす(割り込み鳴動させる)ために設けられた音源である。   In FIG. 4, sound sources SS9 to SS16 are provided in addition to the sound sources SS1 to SS8. Even if the sequencer SQ is playing music using the sound sources SS1 to SS8, these sound sources are provided for, for example, immediately sounding an operation sound or a sound effect of a portable information terminal (interrupting sound). It is a sound source.

仮に、操作音や効果音等の情報をFIFOメモリMMに与えて、シーケンサーSQで操作音や効果音等を鳴らそうとすると、FIFOメモリMMには例えば5秒分程度のシーケンスデータが既に入っているために、それらを再生し終わってからでないと操作音や効果音等を鳴らせないこととなる。操作音や効果音等は、携帯情報端末を操作したと同時に、あるいは、電子メール着信等のイベントが発生すると同時に、鳴ることが望ましい。   If information such as an operation sound and a sound effect is given to the FIFO memory MM and the sequencer SQ attempts to generate an operation sound and a sound effect, the sequence data of, for example, about 5 seconds is already stored in the FIFO memory MM. Therefore, the operation sound, the sound effect, and the like cannot be sounded until after the reproduction thereof. It is desirable that the operation sound, the sound effect, and the like sound at the same time as the operation of the portable information terminal or at the same time as the occurrence of an event such as an incoming e-mail.

そのため、音源装置SD2においては、操作音や効果音等を、シーケンサーSQの行う制御によってではなく、携帯情報端末のCPU100からの音源SS9〜SS16への(インタフェースIFを介しての)直接制御によって鳴らす。   Therefore, in the sound source device SD2, the operation sound, the sound effect, and the like are sounded not by the control performed by the sequencer SQ but by the direct control (via the interface IF) from the CPU 100 of the portable information terminal to the sound sources SS9 to SS16. .

なお、この出願の発明に関連する先行技術文献情報としては次のものがある。   Prior art document information related to the invention of this application includes the following.

特開平7−210159号公報JP-A-7-210159

図4の音源装置SD2の場合、シーケンサーSQを内蔵しているにもかかわらず、割り込み鳴動を行うために、音源装置の外部のCPU100が直接、音源の制御を行う必要がある。そのため、CPU100の負担が大きい。音源を直接、制御する場合には、CPU100が発音のタイミングをとる必要や、各音源での発音の同期をとる必要があるからである。シーケンサーSQは、CPU100にそのような負担をかけないために導入されているのであり、図4の音源装置SD2はその点で改善の余地があった。   In the case of the sound source device SD2 of FIG. 4, the CPU 100 outside the sound source device needs to directly control the sound source in order to perform the interrupting sound despite the built-in sequencer SQ. Therefore, the load on the CPU 100 is large. This is because when directly controlling a sound source, the CPU 100 needs to take timing of sound generation and synchronize the sound generation of each sound source. The sequencer SQ is introduced so as not to impose such a burden on the CPU 100, and the tone generator SD2 in FIG. 4 has room for improvement in that respect.

図5は、上記の観点から音源装置SD2を改良した構成の一例を示す図である。図5に示すように、この音源装置SD3は、着信メロディ等の音楽を鳴らすためのFIFOメモリMM1およびシーケンサーSQ1と、操作音や効果音等を鳴らすためのFIFOメモリMM2およびシーケンサーSQ2とを備えている。   FIG. 5 is a diagram showing an example of a configuration in which the sound source device SD2 is improved from the above viewpoint. As shown in FIG. 5, the sound source device SD3 includes a FIFO memory MM1 and a sequencer SQ1 for playing music such as a ring tone, and a FIFO memory MM2 and a sequencer SQ2 for playing operation sounds and sound effects. I have.

このようにメモリおよびシーケンサーを2系列備えておれば、外部のCPU100が音源を直接制御する必要が無いので、CPU100の負担が軽くなる。CPU100は、着信メロディ等の音楽の発音情報についてはFIFOメモリMM1に入力されるように制御し、操作音や効果音等の発音情報についてはFIFOメモリMM2に入力されるように制御するだけでよい。   If the memory and the sequencer are provided in two series, the external CPU 100 does not need to directly control the sound source, so that the load on the CPU 100 is reduced. The CPU 100 only needs to control the sound information of the music such as the incoming melody so as to be input to the FIFO memory MM1 and to control the sound information such as the operation sound and the sound effect to be input to the FIFO memory MM2. .

そして、FIFOメモリMM2には、音楽に比べて発音時間が短い操作音等の発音情報が入力されるので、発音の処理が迅速に行える。よって、シーケンサーSQ2は、FIFOメモリMM2に発音情報が入力されたときに、即座に発音処理を行うことができる。   Then, since the sound information such as the operation sound whose sounding time is shorter than the music is input to the FIFO memory MM2, the sounding process can be performed quickly. Therefore, the sequencer SQ2 can immediately perform the sound generation process when the sound generation information is input to the FIFO memory MM2.

しかし、図4の音源装置SD2および図5の音源装置SD3、いずれの場合も、音楽の発音情報に使用される音源と、操作音や効果音等の発音情報に使用される音源とが区分されている(音楽の発音情報には音源SS1〜SS8が、操作音や効果音等の発音情報には音源SS9〜SS16が、固定的に割り当てられている)。操作音や効果音等の発音情報は、一般的に音楽に比べて発音時間が短いので、一度鳴らした後には音源SS9〜SS16が使用されない状態が続く場合があり、図4や図5の場合のように内蔵音源数が多数あったとしても、その全てを有効に利用しているとはいえなかった。   However, in each of the sound source device SD2 of FIG. 4 and the sound source device SD3 of FIG. 5, the sound source used for the sound information of the music and the sound source used for the sound information such as the operation sound and the sound effect are separated. (The sound sources SS1 to SS8 are fixedly assigned to the sound information of the music, and the sound sources SS9 to SS16 are fixedly assigned to the sound information such as the operation sound and the sound effect.) Since the sounding information such as operation sounds and sound effects is generally shorter in sounding time than music, after sounding once, the sound source SS9 to SS16 may not be used in some cases. Even if there are many built-in sound sources like this, it could not be said that all of them were used effectively.

そこで、この発明の課題は、音楽を鳴らしつつ操作音や効果音等を鳴らすことが可能で、内蔵音源を有効に利用できる音源装置を提供することにある。   SUMMARY OF THE INVENTION It is an object of the present invention to provide a sound source device that can emit an operation sound, a sound effect, and the like while playing music, and can effectively use a built-in sound source.

請求項1に記載の発明は、発音情報をそれぞれ記録可能な複数のメモリと、音の波形をそれぞれ出力可能な複数の音源と、前記複数のメモリから前記発音情報を順次読み出し、前記複数の音源に割り当てて発音させるシーケンサーとを備え、前記発音情報の出自に基づいて、どの発音情報を優先して発音させるべきか、について記述した優先度情報が定められ、前記複数の音源の数よりも発音すべき発音情報の数の方が多い場合には、前記優先度情報に基づいて、前記シーケンサーは発音させる発音情報を選択して前記複数の音源のそれぞれに割り当て、前記発音情報の出自とは、前記発音情報が前記複数のメモリのうちどのメモリから出力されたか、のことである音源装置である。   The invention according to claim 1, wherein a plurality of memories each capable of recording pronunciation information, a plurality of sound sources each capable of outputting a sound waveform, and the plurality of sound sources are sequentially read out from the plurality of memories, and the plurality of sound sources are read out. And a sequencer for assigning sound to the sound source. Based on the origin of the sound information, priority information describing which sound information should be preferentially sounded is determined, and sound is generated more than the number of the plurality of sound sources. If the number of pronunciation information to be greater, the sequencer selects the pronunciation information to be emitted and assigns it to each of the plurality of sound sources based on the priority information, and the origin of the pronunciation information is A sound source device that indicates which of the plurality of memories the pronunciation information has been output from.

請求項2に記載の発明は、請求項1に記載の音源装置であって、前記複数の音源のそれぞれには前記発音情報の出自の情報を記憶するポート情報記憶部をさらに備える音源装置である。   The invention according to claim 2 is the sound source device according to claim 1, wherein each of the plurality of sound sources further includes a port information storage unit that stores information on the origin of the pronunciation information. .

請求項3に記載の発明は、請求項1または請求項2に記載の音源装置であって、前記複数のメモリの少なくとも一つには、他の前記複数のメモリからの発音情報の読み出しを一時停止させること、あるいは、他の前記複数のメモリからの発音情報中の音量情報の値を一時的に下げることに関する前記シーケンサーの制御を行う制御情報が含まれている音源装置である。   According to a third aspect of the present invention, in the sound source device according to the first or second aspect, at least one of the plurality of memories temporarily stores reading of pronunciation information from the other plurality of memories. A sound source device including control information for controlling the sequencer for stopping or temporarily lowering the value of volume information in the sound information from the plurality of memories.

請求項1に記載の発明によれば、優先度情報に基づいて、シーケンサーは発音させる発音情報を選択して複数の音源のそれぞれに割り当てる。よって例えば、複数のメモリを、着信メロディ等の音楽の発音情報を記憶するメモリと、操作音や効果音等の発音情報を記憶するメモリとに分けておき、後者のメモリの優先度を前者のメモリの優先度よりも高く設定しておく。そうすれば、音楽再生時は内蔵音源を充分に使用可能で、一方、操作音や効果音等を同時に鳴らすときには操作音や効果音等の発音情報を音源に優先的に割り当てることの可能な音源装置が得られる。これにより、音楽を鳴らしつつ操作音や効果音等を鳴らすことが可能で、内蔵音源を有効に利用できる音源装置が実現できる。また、発音情報の出自とは、発音情報が複数のメモリのうちどのメモリから出力されたか、のことである。よって、メモリの優先度を設定することにより、発音情報の音源への詳細な割り当てが可能となる。   According to the first aspect, the sequencer selects sound generation information to be sounded and assigns the sound generation information to each of the plurality of sound sources based on the priority information. Therefore, for example, a plurality of memories are divided into a memory that stores pronunciation information of music such as a ringtone melody and a memory that stores pronunciation information such as operation sounds and sound effects, and the priority of the latter memory is set to the former. Set higher than the memory priority. By doing so, the built-in sound source can be used fully during music playback, while sound sources such as operation sounds and sound effects can be preferentially assigned to sound sources when operating sounds and sound effects are played simultaneously. A device is obtained. As a result, it is possible to produce a sound source device that can emit operation sounds and sound effects while playing music, and can effectively use the built-in sound source. The origin of the pronunciation information indicates from which of the plurality of memories the pronunciation information was output. Therefore, by setting the priority of the memory, it is possible to allocate sound information to sound sources in detail.

請求項2に記載の発明によれば、複数の音源のそれぞれには発音情報の出自の情報を記憶するポート情報記憶部をさらに備える。よって、シーケンサーが、発音させる発音情報を選択して複数の音源のそれぞれに割り当てる際に、現在、占有されている音源のうちどの音源に優先度の高い発音情報を割り当てればよいのか、判断がしやすい。   According to the second aspect of the invention, each of the plurality of sound sources further includes a port information storage unit that stores information on the origin of the pronunciation information. Therefore, when the sequencer selects sound information to be sounded and assigns it to each of the plurality of sound sources, the sequencer determines which sound source among the currently occupied sound sources should be assigned the sound information with higher priority. It's easy to do.

請求項3に記載の発明によれば、複数のメモリの少なくとも一つには、他の複数のメモリからの発音情報の読み出しを一時停止させること、あるいは、他の前記複数のメモリからの発音情報中の音量情報の値を一時的に下げることに関するシーケンサーの制御を行う制御情報が含まれている。よって、シーケンサーに対して、他のメモリからの発音情報の読み出しを一時停止させる、あるいは、発音情報中の音量情報の値を一時的に下げる、制御を行わせることができる。   According to the third aspect of the present invention, at least one of the plurality of memories temporarily suspends reading of the pronunciation information from the other plurality of memories, or the pronunciation information from the other plurality of memories. Control information for controlling the sequencer relating to temporarily lowering the value of the medium volume information is included. Therefore, it is possible to cause the sequencer to temporarily stop reading the pronunciation information from another memory, or to control the sequencer to temporarily lower the value of the volume information in the pronunciation information.

本発明の実施の形態は、メモリを複数設け、一つのシーケンサーで複数のメモリから発音情報を読み出す音源装置であって、どのメモリやチャンネルからの発音情報を優先して発音させるべきか、について記述した優先度情報に基づいて、シーケンサーが発音すべき発音情報を選択して複数の音源のそれぞれに割り当てる音源装置である。そして、複数のメモリを、着信メロディ等の音楽の発音情報を記憶するメモリと、操作音や効果音等の発音情報を記憶するメモリとに分けておき、後者のメモリの優先度を前者のメモリの優先度よりも高く設定しておく。そうすれば、音楽再生時は内蔵音源を充分に使用可能で、一方、操作音や効果音等を同時に鳴らすときには操作音や効果音等の発音情報を音源に優先的に割り当てることの可能な音源装置が得られる。これにより、音楽を鳴らしつつ操作音や効果音等を鳴らすことが可能で、内蔵音源を有効に利用できる音源装置が実現できる。   The embodiment of the present invention describes a sound source device that has a plurality of memories and reads out pronunciation information from a plurality of memories with one sequencer, and describes which memory or channel from which the pronunciation information should be given priority to generate sound. The sound source device selects sound generation information to be sounded by the sequencer based on the priority information and assigns the sound generation information to each of the plurality of sound sources. A plurality of memories are divided into a memory for storing pronunciation information of music such as a ringtone melody and a memory for storing pronunciation information such as operation sounds and sound effects, and the priority of the latter memory is set to the former memory. Higher than the priority of. By doing so, the built-in sound source can be used fully during music playback, while sound sources such as operation sounds and sound effects can be preferentially assigned to sound sources when operating sounds and sound effects are played simultaneously. A device is obtained. As a result, it is possible to produce a sound source device that can emit operation sounds and sound effects while playing music, and can effectively use the built-in sound source.

図1は、この発明の実施の形態に係る音源装置を示す図である。図1に示す通り、この音源装置SD1は、携帯情報端末の全体の制御を行うCPU100から発音情報を受けるインタフェースIFを備えている。そして、図5の音源装置SD3と同様に、着信メロディ等の音楽を鳴らすためのFIFOメモリMM1と、操作音や効果音等を鳴らすためのFIFOメモリMM2とを備えている。   FIG. 1 is a diagram showing a sound source device according to an embodiment of the present invention. As shown in FIG. 1, the sound source device SD1 includes an interface IF that receives pronunciation information from a CPU 100 that controls the entire portable information terminal. As with the sound source device SD3 of FIG. 5, a FIFO memory MM1 for playing music such as a ringtone melody and a FIFO memory MM2 for playing operation sounds and sound effects are provided.

また、この音源装置SD1においても、外部のCPU100が音源を直接制御する必要が無いので、CPU100の負担は軽い。CPU100は、着信メロディ等の音楽の発音情報についてはFIFOメモリMM1に入力されるように制御し、操作音や効果音等の発音情報についてはFIFOメモリMM2に入力されるように制御するだけでよい。   Also in the sound source device SD1, the external CPU 100 does not need to directly control the sound source, so that the load on the CPU 100 is light. The CPU 100 only needs to control the sound information of the music such as the incoming melody so as to be input to the FIFO memory MM1 and to control the sound information such as the operation sound and the sound effect to be input to the FIFO memory MM2. .

ただし、音源装置SD3の場合と異なり、シーケンサーは一つ設けられているだけである。シーケンサーSQは、発音開始時刻などを参照しつつFIFOメモリMM1,MM2に格納された発音情報を順次、読み出す。   However, unlike the case of the tone generator SD3, only one sequencer is provided. The sequencer SQ sequentially reads out the sounding information stored in the FIFO memories MM1 and MM2 while referring to the sounding start time and the like.

そして、読み出した発音情報の一連の時系列たるシーケンスデータを用いて、シーケンサーSQは、音源SS1〜SS16に発音情報を割り当てて、音楽を再生する。音源SS1〜SS16はそれぞれ、各種音色のサンプリング波形を記憶しており、シーケンサーSQの制御により音の波形をそれぞれ出力可能である。   Then, the sequencer SQ assigns the sound information to the sound sources SS1 to SS16 and reproduces the music by using the sequence data as a series of time series of the read sound information. Each of the sound sources SS1 to SS16 stores sampling waveforms of various timbres, and can output a sound waveform under the control of the sequencer SQ.

なお、図4および図5の場合と異なり、シーケンサーSQは複数のFIFOメモリから発音信号を受けることになるが、これはシーケンサーSQの入力ポートを増やすことで容易に対応可能である。また、シーケンサーSQは音源SS1〜SS16の全てを制御することになるが、これもシーケンサーSQの出力ポートを増やすことで容易に対応可能である。   4 and 5, the sequencer SQ receives tone generation signals from a plurality of FIFO memories, but this can be easily dealt with by increasing the number of input ports of the sequencer SQ. The sequencer SQ controls all of the sound sources SS1 to SS16, but this can be easily dealt with by increasing the output ports of the sequencer SQ.

音楽再生の際、音源の数よりも発音すべき数の方が少ない、または等しい場合には、シーケンサーSQは、ポリフォニック発音が可能となるよう、音源SS1〜SS16のそれぞれに適宜、シーケンスデータを割り当てる。なお、図1の場合、シーケンサーSQが制御可能な音源数は、音源SS1〜SS16の16個である。また、FIFOメモリMM1,MM2には、複数のチャンネル(例えば1〜16Ch)ごとの発音情報が記憶されていてもよい。なお、チャンネル数と音源数とは対応しているわけではなく、和音の場合など1Chで多数の音源を占有する場合もありうる。   At the time of music reproduction, if the number to be sounded is smaller than or equal to the number of sound sources, the sequencer SQ appropriately assigns sequence data to each of the sound sources SS1 to SS16 so as to enable polyphonic sounding. . In the case of FIG. 1, the number of sound sources that can be controlled by the sequencer SQ is 16 sound sources SS1 to SS16. The FIFO memories MM1 and MM2 may store sound generation information for each of a plurality of channels (for example, 1 to 16 Ch). Note that the number of channels and the number of sound sources do not correspond to each other, and a large number of sound sources may be occupied by 1 Ch, such as a chord.

一方、音源の数よりも発音すべき数の方が多い場合には、シーケンサーSQは、どの発音情報を優先して発音させるべきか選択する必要がある。この場合の処理を行うために、シーケンサーSQには、発音情報の出自に基づいてどの発音情報を優先して発音させるべきかについて記述したFIFO優先度情報TBが与えられる。また、各音源SS1〜SS16にはそれぞれ、発音情報の出自の情報を記憶する、すなわち、FIFOメモリMM1,MM2のうちどのメモリからの発音情報が現在、割り当てられているのかを記憶するポート情報記憶部PM1〜PM16が設けられている。   On the other hand, if the number of sounds to be produced is larger than the number of sound sources, the sequencer SQ needs to select which piece of pronunciation information should be given priority. In order to perform the processing in this case, the sequencer SQ is provided with FIFO priority information TB which describes which pronunciation information should be given priority to be pronounced based on the origin of the pronunciation information. Further, each of the sound sources SS1 to SS16 stores information on the origin of the pronunciation information, that is, port information storage for storing which of the FIFO memories MM1 and MM2 is currently assigned with the pronunciation information. Parts PM1 to PM16 are provided.

FIFO優先度情報TBとポート情報記憶部PM1〜PM16とを有する構成の音源装置の動作を説明する。   An operation of the sound source device having the configuration including the FIFO priority information TB and the port information storage units PM1 to PM16 will be described.

まず、図1では、発音情報の出自が複数のメモリのうちどのメモリからであるのか、の場合が示されている。そして、FIFO優先度情報TBとして、FIFOメモリごとの優先度が設定されている。   First, FIG. 1 shows a case in which the pronunciation information is from which of a plurality of memories. Then, a priority for each FIFO memory is set as the FIFO priority information TB.

すなわち、FIFO優先度情報TBでは例えば、FIFOメモリMM1からの発音情報ならば(どのチャンネルであっても)優先度は10、FIFOメモリMM2の発音情報ならば(どのチャンネルであっても)優先度は15などのように設定されている。   That is, in the FIFO priority information TB, for example, the priority is 10 (for any channel) if the sound information is from the FIFO memory MM1, and the priority is (if any channel) if the sound information is for the FIFO memory MM2. Is set as 15 or the like.

シーケンサーSQは、読み込んだ発音情報のうち、その優先度の大小を比較して、発音すべき発音情報を選択する。そして、音源SS1〜SS16のそれぞれに発音すべき発音情報を割り当てる。   The sequencer SQ compares the priority of the read pronunciation information and selects the pronunciation information to be pronounced. Then, sound information to be sounded is assigned to each of the sound sources SS1 to SS16.

例えばFIFOメモリMM1の発音情報と、FIFOメモリMM2の発音情報とを比較した場合、後者の優先度の方が高いので、音源への割り当てが競合した場合には後者の発音情報が優先される。   For example, when the pronunciation information of the FIFO memory MM1 is compared with the pronunciation information of the FIFO memory MM2, the latter has a higher priority. Therefore, when the assignment to the sound source conflicts, the latter is given priority.

すなわち例えば、もし仮に各音源SS1〜SS16の全てが、音楽の発音情報を記憶したFIFOメモリMM1からの発音情報(16和音分)によって現在、占有されていたとしても、操作音や効果音としての発音情報がFIFOメモリMM2から入力された場合、シーケンサーSQは各音源SS1〜SS16のいずれか任意の音源にFIFOメモリMM2の発音情報を割り当てることになる。   That is, for example, even if all of the sound sources SS1 to SS16 are currently occupied by the pronunciation information (for 16 chords) from the FIFO memory MM1 that stores the pronunciation information of the music, the sound as the operation sound or the sound effect is generated. When the sound information is input from the FIFO memory MM2, the sequencer SQ assigns the sound information of the FIFO memory MM2 to any one of the sound sources SS1 to SS16.

よって、FIFOメモリMM1,MM2のような複数のメモリを、着信メロディ等の音楽の発音情報を記憶するメモリと、操作音や効果音等の発音情報を記憶するメモリとに分けておき、後者のメモリの優先度を前者のメモリの優先度よりも高く設定しておく。そうすれば、音楽再生時は内蔵音源を充分に使用可能で、一方、操作音や効果音等を同時に鳴らすときには操作音や効果音等の発音情報を音源に優先的に割り当てることの可能な音源装置が得られる。これにより、音楽を鳴らしつつ操作音や効果音等を鳴らすことが可能で、内蔵音源を有効に利用できる音源装置が実現できる。   Therefore, a plurality of memories such as the FIFO memories MM1 and MM2 are divided into a memory for storing pronunciation information of music such as a ring tone and a memory for storing pronunciation information such as operation sounds and sound effects. The priority of the memory is set higher than the priority of the former memory. By doing so, the built-in sound source can be used fully during music playback, while sound sources such as operation sounds and sound effects can be preferentially assigned to sound sources when operating sounds and sound effects are played simultaneously. A device is obtained. As a result, it is possible to produce a sound source device that can emit operation sounds and sound effects while playing music, and can effectively use the built-in sound source.

次に、図1のポート情報記憶部PM1〜PM16について説明する。優先度の上位の発音情報のうち未割り当ての発音情報を、現在割り当て済みの音源に新たに割り当てるには、現在その音源がどのFIFOメモリのデータに占有されているかをシーケンサーSQが知る必要がある。   Next, the port information storage units PM1 to PM16 in FIG. 1 will be described. In order to newly assign the unassigned sound information among the sound information of higher priority to the currently assigned sound source, the sequencer SQ needs to know which FIFO memory data the sound source is currently occupied by. .

ポート情報記憶部PM1〜PM16は、このために設けられているのであって、各音源を占有している発音情報の出自についての情報を記憶している。   The port information storage units PM1 to PM16 are provided for this purpose, and store information on the origin of the pronunciation information occupying each sound source.

このように、ポート情報記憶部PM1〜PM16を備えておれば、シーケンサーSQが、発音させる発音情報を選択して複数の音源のそれぞれに割り当てる際に、現在、占有されている音源のうちどの音源に優先度の高い発音情報を割り当てればよいのか、判断がしやすい。   As described above, if the port information storage units PM1 to PM16 are provided, when the sequencer SQ selects sound generation information to be sounded and assigns it to each of the plurality of sound sources, any of the sound sources currently occupied by the sound source is selected. It is easy to determine whether or not to assign high-priority pronunciation information to.

また、発音情報の出自の情報として、どのメモリのどのチャンネルから出力されたか、を採用するようにしてもよい。   Further, as the information on the origin of the pronunciation information, information on which channel of which memory is output may be adopted.

その場合、図2に示す通り、FIFO優先度情報TBは、例えばFIFOメモリMM1,MM2のうちどのメモリのどのチャンネルからの発音情報を優先して発音させるべきか、について記述したテーブル情報となる。図2においては、その優先度を数の大小で表している。   In this case, as shown in FIG. 2, the FIFO priority information TB is, for example, table information describing which channel of which of the FIFO memories MM1 and MM2 should be given priority to generate sound information. In FIG. 2, the priority is represented by the magnitude of the number.

例えばFIFOメモリMM1の発音情報のうちCh1の発音情報と、FIFOメモリMM2の発音情報のうちCh1の発音情報とを比較した場合、前者は優先度128と設定され、後者は192と設定されている。すなわち、後者の優先度の方が高いので、音源への割り当てが競合した場合には後者の発音情報が優先される。   For example, when the pronunciation information of Ch1 in the pronunciation information of the FIFO memory MM1 is compared with the pronunciation information of Ch1 in the pronunciation information of the FIFO memory MM2, the former is set to the priority 128 and the latter is set to 192. . That is, since the latter has a higher priority, when the assignment to the sound source conflicts, the latter pronunciation information has priority.

シーケンサーSQでは、FIFOメモリMM1,MM2のそれぞれのチャンネルの発音情報が入り乱れて入力されることもある。例えば、FIFOメモリMM1からCh1〜13の発音情報が入力され、FIFOメモリMM2からCh12〜15の発音情報が入力される場合が考えられる。このとき、合計17個の発音情報が入力されているので、どれか一つの発音情報が選択されないことになる。   In the sequencer SQ, sound information of each channel of the FIFO memories MM1 and MM2 may be mixed and input. For example, there may be a case where the sound information of Ch1 to Ch13 is input from the FIFO memory MM1 and the sound information of Ch12 to Ch15 is input from the FIFO memory MM2. At this time, since a total of 17 pieces of pronunciation information have been input, any one piece of pronunciation information will not be selected.

このような場合、FIFOメモリMM2の発音情報であるからといって、必ずしも発音すべきであるとは限らない。その場合には、各発音情報の優先度を比較することで、どの発音情報を消してどの発音情報を出力すべきか判断する。このことを説明するのが、図3のフローチャートである。   In such a case, just because the sound information is the sound information of the FIFO memory MM2, the sound should not necessarily be sounded. In this case, the priority of each pronunciation information is compared to determine which pronunciation information should be erased and which pronunciation information should be output. This is illustrated in the flowchart of FIG.

すなわち、シーケンサーSQは、外部からの制御クロック周期等に基づいて定期的に各FIFOメモリMM1,MM2内の発音情報を取り込む(ステップS01)。このとき、発音すべき数が音源数を超えているかどうか判断を行う(ステップS02)。もし超えていなければ、音源には空きがある、または空きが生じるので、現在割り当て済みの音源以外の空いた音源に、追加の発音情報を割り当てる(ステップS03)。そして、各音源に発音させる(ステップS04)。そして、再びステップS01に戻る。   That is, the sequencer SQ periodically takes in the sound generation information in each of the FIFO memories MM1 and MM2 based on an external control clock cycle or the like (step S01). At this time, it is determined whether or not the number to be sounded exceeds the number of sound sources (step S02). If it does not exceed, the sound source has a vacancy or a vacancy occurs, so additional sound information is allocated to a vacant sound source other than the currently allocated sound source (step S03). Then, each sound source is caused to sound (step S04). Then, the process returns to step S01.

一方、発音すべき数が音源数を超えていれば、音源への発音情報の割り当てが競合するので、シーケンサーSQは、FIFO優先度情報TBを参照して割り当てるべき発音情報の選択を行う。この選択は例えば、各発音情報の優先度をFIFO優先度情報TBから読み出して、優先度の上位から音源の数の分だけの発音情報を選択し(ステップS05)、その中で未割り当ての発音情報を、現在割り当て済みの音源に新たに割り当てることにより行えばよい(ステップS03)。そして、各音源に発音させればよい(ステップS04)。   On the other hand, if the number to be sounded exceeds the number of sound sources, the allocation of sound information to sound sources competes, so the sequencer SQ selects sound information to be assigned with reference to the FIFO priority information TB. For this selection, for example, the priority of each pronunciation information is read from the FIFO priority information TB, and the pronunciation information corresponding to the number of sound sources is selected from the highest priority (step S05), and the unassigned sounds are selected among them. Information may be newly assigned to the currently assigned sound source (step S03). Then, each sound source may be caused to sound (step S04).

このように、FIFO優先度情報TBに、複数のチャンネルのうちどのチャンネルからの発音情報を優先して発音させるべきかについても記述しておけば、FIFOメモリの優先度だけでなく、チャンネルの優先度も設定することによって、発音情報の音源へのより詳細な割り当てが可能となる。   In this way, if the FIFO priority information TB also describes from which of the plurality of channels the sound generation information should be given priority, not only the priority of the FIFO memory but also the priority of the channel is described. By setting the degree, more detailed assignment of the pronunciation information to the sound source is possible.

なお、FIFO優先度情報TBについては、図2のようなテーブル形式でなくてもよい。例えばFIFOメモリMM1の各チャンネルについてだけ優先度を設定しておき、FIFOメモリMM2の各チャンネルについては、それぞれ1.5倍した値を採用する、などのように計算を行って求めるようにしてもよい。   Note that the FIFO priority information TB need not be in the table format as shown in FIG. For example, the priority may be set only for each channel of the FIFO memory MM1, and for each channel of the FIFO memory MM2, a value multiplied by 1.5 may be used to calculate and obtain. Good.

なお、図2の場合、FIFOメモリMM1,MM2のそれぞれにおいて、チャンネル数が増すごとにその優先度が低くなるよう設定されている(ただし、チャンネル10は例外)。これは、スタンダードMIDI(Musical Instrument Digital Interface)ファイル等で採用されることの多い考え方に倣ったものである。すなわち、低い数字のチャンネルにはメロディやリズムセクション等の、欠落があっては音楽として成り立ちにくい要素を割り当て、高い数字のチャンネルには装飾的な弦楽器音等のパートを割り当てているのである(なお、チャンネル10はドラムセクションが割り当てられることが多いため、高いチャンネル数であるにもかかわらず優先度が高く設定されている)。   In the case of FIG. 2, in each of the FIFO memories MM1 and MM2, the priority is set to decrease as the number of channels increases (except for the channel 10). This is based on a concept often adopted in standard MIDI (Musical Instrument Digital Interface) files and the like. That is, low-numbered channels are assigned elements such as melody and rhythm sections that are difficult to form as music if they are missing, and high-numbered channels are assigned parts such as decorative stringed instrument sounds. , Channel 10 is often assigned a drum section, and therefore has a high priority despite the high number of channels.)

図2のような優先度情報を採用する場合には、ポート情報記憶部PM1〜PM16は、FIFOメモリMM1,MM2のうちどのメモリのどのチャンネルからの発音情報を割り当てられているのかを記憶する。そうすれば、上記と同様、シーケンサーSQが、発音させる発音情報を選択して複数の音源のそれぞれに割り当てる際に、現在、占有されている音源のうちどの音源に優先度の高い発音情報を割り当てればよいのか、判断がしやすい。   When the priority information as shown in FIG. 2 is adopted, the port information storage units PM1 to PM16 store which channel of which of the FIFO memories MM1 and MM2 is assigned with the sound generation information. Then, similarly to the above, when the sequencer SQ selects the sound information to be sounded and assigns it to each of the plurality of sound sources, it assigns the sound information with high priority to any sound source currently occupied. It is easy to make a decision as to what should be done.

なお、FIFOメモリMM1およびMM2には、発音情報以外にも、他のメモリからの発音情報に関するシーケンサーSQの制御を行う制御情報が含まれていてもよい。   Note that the FIFO memories MM1 and MM2 may include control information for controlling the sequencer SQ relating to the sound generation information from another memory, in addition to the sound generation information.

例えば、操作音や効果音としての発音情報がFIFOメモリMM2からシーケンサーSQに入力された場合、FIFOメモリMM1から入力されている音楽の発音を一時的にミュートしたい場合などが考えられる。このようなときは、発音情報に加えてFIFOメモリMM2から、FIFOメモリMM1からの発音情報に関するシーケンサーSQの制御を行う制御情報が出力されれば、シーケンサーSQに対して、FIFOメモリMM1からの音楽の発音情報の読み出しを一時停止させる、あるいは、発音情報中の音量情報の値を一時的に下げる、などの制御を行わせることができる。   For example, there may be a case where sound information as operation sounds or sound effects is input from the FIFO memory MM2 to the sequencer SQ, or a case where it is desired to temporarily mute the sound of music input from the FIFO memory MM1. In such a case, if control information for controlling the sequencer SQ relating to the sound generation information from the FIFO memory MM1 is output from the FIFO memory MM2 in addition to the sound generation information, the music from the FIFO memory MM1 is transmitted to the sequencer SQ. Control such as temporarily stopping the reading of the pronunciation information of, or temporarily lowering the value of the volume information in the pronunciation information.

この発明の実施の形態に係る音源装置を示す図である。FIG. 1 is a diagram showing a sound source device according to an embodiment of the present invention. この発明の実施の形態に係る音源装置の優先度情報を示す図である。FIG. 4 is a diagram showing priority information of the sound source device according to the embodiment of the present invention. この発明の実施の形態に係る音源装置の動作を示すフローチャートである。5 is a flowchart showing an operation of the sound source device according to the embodiment of the present invention. 従来の音源装置を示す図である。FIG. 10 is a diagram illustrating a conventional sound source device. 従来の音源装置を示す図である。FIG. 10 is a diagram illustrating a conventional sound source device.

符号の説明Explanation of reference numerals

100 CPU
IF インタフェース
MM,MM1,MM2 FIFOメモリ
SQ,SQ1,SQ2 シーケンサー
SS1〜SS16 音源
TB FIFO優先度情報
PM1〜PM16 ポート情報記憶部
100 CPU
IF interface MM, MM1, MM2 FIFO memory SQ, SQ1, SQ2 Sequencer SS1 to SS16 Sound source TB FIFO priority information PM1 to PM16 Port information storage

Claims (3)

発音情報をそれぞれ記録可能な複数のメモリと、
音の波形をそれぞれ出力可能な複数の音源と、
前記複数のメモリから前記発音情報を順次読み出し、前記複数の音源に割り当てて発音させるシーケンサーと
を備え、
前記発音情報の出自に基づいて、どの発音情報を優先して発音させるべきか、について記述した優先度情報が定められ、
前記複数の音源の数よりも発音すべき発音情報の数の方が多い場合には、前記優先度情報に基づいて、前記シーケンサーは発音させる発音情報を選択して前記複数の音源のそれぞれに割り当て、
前記発音情報の出自とは、前記発音情報が前記複数のメモリのうちどのメモリから出力されたか、のことである
音源装置。
A plurality of memories each capable of recording pronunciation information,
Multiple sound sources that can output sound waveforms,
A sequencer that sequentially reads out the pronunciation information from the plurality of memories and assigns sound to the plurality of sound sources,
Based on the origin of the pronunciation information, priority information describing which pronunciation information should be preferentially pronounced is determined,
If the number of pieces of sound information to be pronounced is larger than the number of the plurality of sound sources, the sequencer selects sound information to be sounded and assigns the sound information to each of the plurality of sound sources based on the priority information. ,
The source of the pronunciation information refers to a memory from which of the plurality of memories the pronunciation information is output.
請求項1に記載の音源装置であって、
前記複数の音源のそれぞれには前記発音情報の出自の情報を記憶するポート情報記憶部
をさらに備える音源装置。
The sound source device according to claim 1,
A sound source device further comprising a port information storage unit for storing information on the origin of the pronunciation information in each of the plurality of sound sources.
請求項1または請求項2に記載の音源装置であって、
前記複数のメモリの少なくとも一つには、他の前記複数のメモリからの発音情報の読み出しを一時停止させること、あるいは、他の前記複数のメモリからの発音情報中の音量情報の値を一時的に下げることに関する前記シーケンサーの制御を行う制御情報が含まれている
音源装置。
The sound source device according to claim 1 or 2, wherein
At least one of the plurality of memories temporarily suspends reading of pronunciation information from the other plurality of memories, or temporarily stores a value of volume information in the pronunciation information from the other plurality of memories. A sound source device that includes control information for controlling the sequencer with respect to lowering the sound source.
JP2004040123A 2004-02-17 2004-02-17 Sound generator Expired - Fee Related JP3795495B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004040123A JP3795495B2 (en) 2004-02-17 2004-02-17 Sound generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004040123A JP3795495B2 (en) 2004-02-17 2004-02-17 Sound generator

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2001213872A Division JP3537783B2 (en) 2001-07-13 2001-07-13 Sound source device

Publications (2)

Publication Number Publication Date
JP2004171027A true JP2004171027A (en) 2004-06-17
JP3795495B2 JP3795495B2 (en) 2006-07-12

Family

ID=32709531

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004040123A Expired - Fee Related JP3795495B2 (en) 2004-02-17 2004-02-17 Sound generator

Country Status (1)

Country Link
JP (1) JP3795495B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007028634A (en) * 2005-07-19 2007-02-01 Lg Electronics Inc Mobile terminal having jog dial and control method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007028634A (en) * 2005-07-19 2007-02-01 Lg Electronics Inc Mobile terminal having jog dial and control method thereof
JP4621637B2 (en) * 2005-07-19 2011-01-26 エルジー エレクトロニクス インコーポレイティド Mobile terminal equipped with jog dial and control method thereof
US8278546B2 (en) 2005-07-19 2012-10-02 Lg Electronics Inc. Mobile terminal having jog dial and controlling method thereof

Also Published As

Publication number Publication date
JP3795495B2 (en) 2006-07-12

Similar Documents

Publication Publication Date Title
KR100517536B1 (en) Portable phone equipped with composing function
KR100724918B1 (en) Musical sound generation control apparatus, control method for the same, and medium
KR100450871B1 (en) Portable telephone and music reproducing method
US20180277073A1 (en) Musical sound generation device
US10475425B2 (en) Musical sound generation device
JP2002055678A (en) Compression method for midi film
JPH11112615A (en) Portable telephone set
KR100503617B1 (en) Music reproducing apparatus, music reproducing method, machine readable medium containing the method, and telephone terminal device
JP4513625B2 (en) Musical sound generator and musical sound generation processing program
US6956160B2 (en) Tone generator apparatus sharing parameters among channels
JP4012682B2 (en) Sound source system
JP2019168517A (en) Electronic musical instrument, method, and program
JP3795495B2 (en) Sound generator
JP3537783B2 (en) Sound source device
JPH117281A (en) Sound source device for electronic musical instrument
JP2008209826A (en) Mobile terminal device
JP2009145382A (en) Portable terminal, and program
JPS63316095A (en) Automatic performer

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051220

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060203

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060412

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090421

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120421

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150421

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees