JP3795495B2 - Sound generator - Google Patents

Sound generator Download PDF

Info

Publication number
JP3795495B2
JP3795495B2 JP2004040123A JP2004040123A JP3795495B2 JP 3795495 B2 JP3795495 B2 JP 3795495B2 JP 2004040123 A JP2004040123 A JP 2004040123A JP 2004040123 A JP2004040123 A JP 2004040123A JP 3795495 B2 JP3795495 B2 JP 3795495B2
Authority
JP
Japan
Prior art keywords
information
sound
pronunciation
sequencer
pronunciation information
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
JP2004040123A
Other languages
Japanese (ja)
Other versions
JP2004171027A (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.)
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

Landscapes

  • Electrophonic Musical Instruments (AREA)
  • Telephone Function (AREA)

Description

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

近年の情報通信技術の進展は、携帯電話やPDA等の携帯情報端末の機能の拡大を促進している。その拡大された機能のひとつに音楽再生機能がある。すなわち、携帯電話等の携帯情報端末においてもより高音質な音楽が楽しめるようにと、音楽用シンセサイザ等の技術を応用した音源装置がその内部に組み込まれている。このような音源装置の作動によって、ユーザは電話や電子メールの着信時に音楽を楽しむことができ、またさらに、携帯情報端末をカラオケ装置やゲーム機器として利用することができる。   Advances in information communication technology in recent years have promoted the expansion of functions of portable information terminals such as mobile phones and PDAs. One of the expanded functions is a music playback function. That is, a sound source device using a technology such as a music synthesizer is incorporated in a mobile information terminal such as a mobile phone so that higher quality music can be enjoyed. By the operation of such a sound source device, the user can enjoy music when an incoming call or e-mail is received, 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. This tone generator SD2 receives sound information (musical scale: pitch, sound start / end time: note on, note off, sound output volume) via an interface IF from a CPU (Central Processing Unit) 100 that controls the entire portable information terminal. : Volume, pronunciation intensity: velocity, timbre information: information about 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 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 pronunciation information to the sound sources SS1 to SS8 and reproduces the music by using a series of time-series sequence data of the read pronunciation information. Each of the sound sources SS1 to SS8 stores sampling waveforms of various timbres, and can output sound waveforms 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 applies sequence data to each of the sound sources SS1 to SS8 so that polyphonic (simultaneous polyphonic) sound generation is possible while taking into consideration restrictions on the number of simultaneously soundable sounds (that is, the number of sound sources) and the timbre used. 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 generation 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, in addition to the sound sources SS1 to SS8, sound sources SS9 to SS16 are also provided. These sound sources are provided, for example, to immediately sound (interrupt) the operation sound or sound effect of the portable information terminal even when the sequencer SQ is playing music using the sound sources SS1 to SS8. Sound source.

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

そのため、音源装置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) to the sound sources SS9 to SS16 from the CPU 100 of the portable information terminal. .

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

特開平7−210159号公報Japanese Patent Laid-Open No. 7-210159

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

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

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

そして、FIFOメモリMM2には、音楽に比べて発音時間が短い操作音等の発音情報が入力されるので、発音の処理が迅速に行える。よって、シーケンサーSQ2は、FIFOメモリMM2に発音情報が入力されたときに、即座に発音処理を行うことができる。   Since the sound generation information such as the operation sound having a shorter sound generation time than the music is input to the FIFO memory MM2, the sound generation 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 both of the sound source device SD2 in FIG. 4 and the sound source device SD3 in FIG. 5, the sound source used for the sound generation information of music and the sound source used for the sound generation information such as operation sounds and sound effects are separated. (Sound sources SS1 to SS8 are fixedly assigned to the pronunciation information of music, and sound sources SS9 to SS16 are fixedly assigned to the pronunciation information such as operation sounds and sound effects). Sound generation information such as operation sounds and sound effects generally has a shorter sound generation time than music. Therefore, after sounding once, the sound sources SS9 to SS16 may not be used in some cases, as shown in FIG. 4 and FIG. Even if there were a large number of built-in sound sources, it could not be said that all of them were used effectively.

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

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

請求項2に記載の発明は、請求項1に記載の音源装置であって、前記複数の音源のそれぞれは前記発音情報の出自の情報を記憶するポート情報記憶部をさらに備え、前記シーケンサーは、優先度の上位の発音情報のうち未割り当ての発音情報を、現在割り当て済みの音源に新たに割り当てるために、前記複数の音源のそれぞれの前記ポート情報記憶部に記憶された前記発音情報の出自の情報を、参照する音源装置である。

According to a second aspect of the invention, a sound source apparatus according to claim 1,, respectively that of the plurality of sound sources further comprises a port information storing unit for storing information of origin of the sound information, the sequencer Of the pronunciation information stored in the port information storage unit of each of the plurality of sound sources in order to newly assign unassigned pronunciation information among the higher priority pronunciation information to the currently assigned sound sources. the information of origin, is a sound source device that reference.

請求項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 reads the pronunciation information from the other plurality of memories. The sound source device includes control information for controlling the sequencer related to stopping or temporarily lowering the value of the volume information in the pronunciation information from the other plurality of memories.

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

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

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

本発明の実施の形態は、メモリを複数設け、一つのシーケンサーで複数のメモリから発音情報を読み出す音源装置であって、どのメモリやチャンネルからの発音情報を優先して発音させるべきか、について記述した優先度情報に基づいて、シーケンサーが発音すべき発音情報を選択して複数の音源のそれぞれに割り当てる音源装置である。そして、複数のメモリを、着信メロディ等の音楽の発音情報を記憶するメモリと、操作音や効果音等の発音情報を記憶するメモリとに分けておき、後者のメモリの優先度を前者のメモリの優先度よりも高く設定しておく。そうすれば、音楽再生時は内蔵音源を充分に使用可能で、一方、操作音や効果音等を同時に鳴らすときには操作音や効果音等の発音情報を音源に優先的に割り当てることの可能な音源装置が得られる。これにより、音楽を鳴らしつつ操作音や効果音等を鳴らすことが可能で、内蔵音源を有効に利用できる音源装置が実現できる。   The embodiment of the present invention describes a sound source device in which a plurality of memories are provided and sound information is read from a plurality of memories by a single sequencer, and which sound information from which memory or channel should be preferentially sounded is described. On the basis of the priority information, the sound generator device selects the sound information to be generated by the sequencer and assigns it to each of a plurality of sound sources. A plurality of memories are divided into a memory for storing pronunciation information of music such as ringtones and a memory for storing pronunciation information such as operation sounds and sound effects, and the priority of the latter memory is assigned to the former memory. Set higher than the priority of. In this way, the built-in sound source can be fully used for music playback, while the sound source that can preferentially assign sound information such as operation sounds and sound effects to sound sources when operating sounds and sound effects are played simultaneously. A device is obtained. As a result, it is possible to realize a sound source device that can sound an operation sound, a sound effect, etc. while sounding music, and can effectively use a 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 in FIG. 5, a FIFO memory MM1 for sounding music such as a ringing melody and a FIFO memory MM2 for sounding operation sounds, sound effects, and the like are provided.

また、この音源装置SD1においても、外部のCPU100が音源を直接制御する必要が無いので、CPU100の負担は軽い。CPU100は、着信メロディ等の音楽の発音情報についてはFIFOメモリMM1に入力されるように制御し、操作音や効果音等の発音情報についてはFIFOメモリMM2に入力されるように制御するだけでよい。   Also in this sound source device SD1, since the external CPU 100 does not need to directly control the sound source, the burden on the CPU 100 is light. The CPU 100 only needs to control so that the pronunciation information of music such as an incoming melody is input to the FIFO memory MM1, and the pronunciation information such as operation sounds and sound effects is 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 sound generation information stored in the FIFO memories MM1 and MM2 while referring to the sound generation start time and the like.

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

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

音楽再生の際、音源の数よりも発音すべき数の方が少ない、または等しい場合には、シーケンサーSQは、ポリフォニック発音が可能となるよう、音源SS1〜SS16のそれぞれに適宜、シーケンスデータを割り当てる。なお、図1の場合、シーケンサーSQが制御可能な音源数は、音源SS1〜SS16の16個である。また、FIFOメモリMM1,MM2には、複数のチャンネル(例えば1〜16Ch)ごとの発音情報が記憶されていてもよい。なお、チャンネル数と音源数とは対応しているわけではなく、和音の場合など1Chで多数の音源を占有する場合もありうる。   When the number of sounds to be generated is less than or equal to the number of sound sources during music playback, the sequencer SQ assigns sequence data to each of the sound sources SS1 to SS16 as appropriate so that polyphonic sound can be generated. . 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, when the number of sounds to be generated is larger than the number of sound sources, the sequencer SQ needs to select which sound generation information should be preferentially generated. In order to perform the process in this case, the sequencer SQ is given FIFO priority information TB describing which sound generation information should be preferentially generated based on the origin of the sound generation information. Each of the sound sources SS1 to SS16 stores the origin information of the pronunciation information, that is, the port information storage for storing which of the FIFO memories MM1 and MM2 is currently assigned 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 the case where the pronunciation information originates from which of a plurality of memories. 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, if the sound generation information is from the FIFO memory MM1 (any channel), the priority is 10, and if it is the sound generation information from the FIFO memory MM2 (any channel), the priority is Is set to 15 or the like.

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

例えばFIFOメモリMM1の発音情報と、FIFOメモリMM2の発音情報とを比較した場合、後者の優先度の方が高いので、音源への割り当てが競合した場合には後者の発音情報が優先される。   For example, when the sound generation information in the FIFO memory MM1 and the sound generation information in the FIFO memory MM2 are compared, the latter priority is higher. Therefore, if the assignment to the sound source competes, the latter sound generation information has 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, When the pronunciation information is input from the FIFO memory MM2, the sequencer SQ assigns the pronunciation 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 ringing melody and a memory for storing pronunciation information such as operation sounds and sound effects. The memory priority is set higher than the former memory priority. In this way, the built-in sound source can be fully used for music playback, while the sound source that can preferentially assign sound information such as operation sounds and sound effects to sound sources when operating sounds and sound effects are played simultaneously. A device is obtained. As a result, it is possible to realize a sound source device that can sound an operation sound, a sound effect, etc. while sounding music, and can effectively use a 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 unassigned pronunciation information among the higher-priority pronunciation information to the currently assigned sound source, the sequencer SQ needs to know which FIFO memory data is currently occupied by the sound source. .

ポート情報記憶部PM1〜PM16は、このために設けられているのであって、各音源を占有している発音情報の出自についての情報を記憶している。   The port information storage units PM1 to PM16 are provided for this purpose, and store information about the origin of the pronunciation information that occupies 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 sounding information to be generated and assigns it to each of a plurality of sound sources, which sound source is currently occupied. It is easy to determine whether or not pronunciation information with high priority should be assigned to.

また、発音情報の出自の情報として、どのメモリのどのチャンネルから出力されたか、を採用するようにしてもよい。   Further, as the origin information of the pronunciation information, 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 table information describing, for example, which memory of which memory of the FIFO memories MM1 and MM2 is to be preferentially sounded. In FIG. 2, the priorities are represented by numbers.

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

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

このような場合、FIFOメモリMM2の発音情報であるからといって、必ずしも発音すべきであるとは限らない。その場合には、各発音情報の優先度を比較することで、どの発音情報を消してどの発音情報を出力すべきか判断する。このことを説明するのが、図3のフローチャートである。   In such a case, the sound generation information in the FIFO memory MM2 does not necessarily mean that the sound should be generated. In that case, it is determined which pronunciation information should be deleted and which pronunciation information should be output by comparing the priorities of the respective pronunciation information. This is explained in the flowchart of FIG.

すなわち、シーケンサーSQは、外部からの制御クロック周期等に基づいて定期的に各FIFOメモリMM1,MM2内の発音情報を取り込む(ステップS01)。このとき、発音すべき数が音源数を超えているかどうか判断を行う(ステップS02)。もし超えていなければ、音源には空きがある、または空きが生じるので、現在割り当て済みの音源以外の空いた音源に、追加の発音情報を割り当てる(ステップS03)。そして、各音源に発音させる(ステップS04)。そして、再びステップS01に戻る。   That is, the sequencer SQ periodically captures the sound generation information in each of the FIFO memories MM1 and MM2 based on the control clock cycle from the outside (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 not, the sound source has a vacancy or a vacancy is generated, so that additional sound generation information is assigned to a vacant sound source other than the currently assigned sound source (step S03). Then, each sound source is caused to sound (step S04). And it returns to step S01 again.

一方、発音すべき数が音源数を超えていれば、音源への発音情報の割り当てが競合するので、シーケンサー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 assignment of sounding information to the sound sources competes, so the sequencer SQ selects sounding information to be assigned with reference to the FIFO priority information TB. In this selection, for example, the priority of each sounding information is read from the FIFO priority information TB, and sounding information corresponding to the number of sound sources is selected from the highest priority (step S05), and unassigned sounding is selected among them. Information may be newly assigned to a currently assigned sound source (step S03). Then, each sound source may be sounded (step S04).

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

なお、FIFO優先度情報TBについては、図2のようなテーブル形式でなくてもよい。例えばFIFOメモリMM1の各チャンネルについてだけ優先度を設定しておき、FIFOメモリMM2の各チャンネルについては、それぞれ1.5倍した値を採用する、などのように計算を行って求めるようにしてもよい。   Note that the FIFO priority information TB does not have to be in the table format as shown in FIG. For example, priority is set only for each channel of the FIFO memory MM1, and each channel of the FIFO memory MM2 is obtained by performing a calculation such as adopting a value multiplied by 1.5. 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 so as to decrease as the number of channels increases (except for the channel 10). This is in accordance with the concept that is often adopted in standard MIDI (Musical Instrument Digital Interface) files. In other words, low-numbered channels are assigned elements such as melodies and rhythm sections that are not likely to be music if they are missing, and high-numbered channels are assigned parts such as decorative stringed instrument sounds. Since the drum section is often assigned to the channel 10, the priority is set high 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 of the FIFO memories MM1 and MM2 is assigned the sound generation information from which channel. Then, as 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 which sound source among the currently occupied sound sources. It is easy to judge whether it should be done.

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

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

この発明の実施の形態に係る音源装置を示す図である。It is a figure which shows the sound source device which concerns on embodiment of this invention. この発明の実施の形態に係る音源装置の優先度情報を示す図である。It is a figure which shows the priority information of the sound source device which concerns on embodiment of this invention. この発明の実施の形態に係る音源装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the sound source device which concerns on embodiment of this invention. 従来の音源装置を示す図である。It is a figure which shows the conventional sound source device. 従来の音源装置を示す図である。It is a figure which shows the conventional sound source device.

符号の説明Explanation of symbols

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-SS16 Sound source TB FIFO priority information PM1-PM16 Port information storage unit

Claims (3)

発音情報をそれぞれ記録可能な複数のメモリと、
音の波形をそれぞれ出力可能な複数の音源と、
前記複数のメモリから前記発音情報を順次読み出し、前記複数の音源に割り当てて発音させるシーケンサーと
を備え、
前記発音情報の出自に基づいて、どの発音情報を優先して発音させるべきか、について記述した優先度情報が定められ、
前記複数の音源の数よりも発音すべき発音情報の数の方が多い場合には、前記優先度情報に基づいて、前記シーケンサーは発音させる発音情報を選択して前記複数の音源のそれぞれに割り当て、
前記発音情報の出自とは、前記発音情報が前記複数のメモリのうちどのメモリから出力されたか、のことである
音源装置。
Multiple memories that can record 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 the sound sources to generate sound,
Based on the origin of the pronunciation information, priority information describing which pronunciation information should be preferentially pronounced is defined,
When the number of pronunciation information to be pronounced is larger than the number of the plurality of sound sources, the sequencer selects the pronunciation information to be generated based on the priority information and assigns it to each of the plurality of sound sources. ,
The origin of the pronunciation information is a sound source device from which the pronunciation information is output from among the plurality of memories.
請求項1に記載の音源装置であって、
前記複数の音源のそれぞれは前記発音情報の出自の情報を記憶するポート情報記憶部
をさらに備え
前記シーケンサーは、優先度の上位の発音情報のうち未割り当ての発音情報を、現在割り当て済みの音源に新たに割り当てるために、前記複数の音源のそれぞれの前記ポート情報記憶部に記憶された前記発音情報の出自の情報を、参照す
音源装置。
The sound source device according to claim 1,
Wherein their respective of the plurality of sound sources further comprises a port information storing unit for storing information of origin of the sound information,
The sequencer stores the pronunciation information stored in the port information storage unit of each of the plurality of sound sources in order to newly assign unassigned pronunciation information among the higher-priority pronunciation information to a currently assigned sound source. the origin of information of information, reference to that tone generator.
請求項1または請求項2に記載の音源装置であって、
前記複数のメモリの少なくとも一つには、他の前記複数のメモリからの発音情報の読み出しを一時停止させること、あるいは、他の前記複数のメモリからの発音情報中の音量情報の値を一時的に下げることに関する前記シーケンサーの制御を行う制御情報が含まれている
音源装置。
The sound source device according to claim 1 or 2,
At least one of the plurality of memories temporarily stops reading the pronunciation information from the other plurality of memories, or temporarily stores the value of the volume information in the pronunciation information from the other plurality of memories. A sound source device including control information for controlling the sequencer related to lowering.
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 JP2004171027A (en) 2004-06-17
JP3795495B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070010589A (en) 2005-07-19 2007-01-24 엘지전자 주식회사 Mobile communication terminal with turn-table and its operating method

Also Published As

Publication number Publication date
JP2004171027A (en) 2004-06-17

Similar Documents

Publication Publication Date Title
KR100804914B1 (en) Portable terminal, musical sound generation and words display method, and medium
KR100517536B1 (en) Portable phone equipped with composing function
KR100450871B1 (en) Portable telephone and music reproducing method
KR20040058034A (en) Voice/music piece reproduction apparatus and method
JPH11112615A (en) Portable telephone set
JP2002055678A (en) Compression method for midi film
KR100503617B1 (en) Music reproducing apparatus, music reproducing method, machine readable medium containing the method, and telephone terminal device
JP7124371B2 (en) Electronic musical instrument, method and program
JP4513625B2 (en) Musical sound generator and musical sound generation processing program
JP4012682B2 (en) Sound source system
JP3722015B2 (en) Music generator
JP3666366B2 (en) Portable terminal device
JP3795495B2 (en) Sound generator
JP3646703B2 (en) Voice melody music generation device and portable terminal device using the same
JP3537783B2 (en) Sound source device
JP3214623B2 (en) Electronic music playback device
JP3637196B2 (en) Music player
JP2576764B2 (en) Channel assignment device
JP2003228385A (en) Portable terminal device
JPH04136997A (en) Electronic musical tone reproducing device
JP2008209826A (en) Mobile terminal device
JP2001045103A (en) Telephone system
JP2002123257A (en) Musical tone reproducing device
JP2009145382A (en) Portable terminal, and program
JP2004166290A (en) Mobile terminal equipment

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