The present invention relates to a music device with an image display. More particularly, it relates to a technology for expressing music information as visual information.
Conventionally, a color converter for converting a sound signal by using a frequency-division assignment conversion method is known as an apparatus which outputs an image while associating it with a sound (for example, refer to patent reference 1). This color converter artificially associates a frequency spectrum of a sound, such as a musical sound, a voice, or a mechanical noise, with colors on an octave-by-octave basis, converting these colors into trichromatic electric signals and compositing these electric signals into a signal, converting the sound signal into variations in the colors by using the composite signal, and carries out a color demonstration corresponding to the sound or makes a prediction of dangers.
As another apparatus which associates a sound with an image and outputs the sound, a musical piece playback system which correctly analyzes a rhythm component included in musical piece data, and makes the analysis result be reflected in the display form of characters is known (for example, refer to patent reference 2). This musical piece playback system assigns favorite rhythm components to the characters in advance, respectively, and further assigns inherent pose expression abilities to the characters in advance, respectively. A sound-pressure-data generating unit then creates sound pressure data for each of two or more frequency bands from the musical piece data, and a frequency band specifying unit specifies a frequency band in which the rhythm beats most frequently. A rhythm estimating unit estimates a rhythm component on the basis of the time period of change in the sound pressure data of the specified frequency band. A character management unit changes the pose expression ability cumulatively according to the degree of matching between the estimated rhythm component and the favorite rhythm component. A display control unit changes the display pose of the character according to the pose expression ability when the musical piece data are played back.
A problem with the sound-signal-to-color converter as disclosed in above-mentioned patent reference 1 is, however, that because the frequency spectrum of the sound signal is associated with only colors, it is deficient in the color demonstration of the sound signal. Therefore, it is desired that an apparatus which can express sound colorfully is provided.
Although the musical piece playback system disclosed in patent reference 2 can change the pose of a character according to the rhythm of a musical piece, it is desired that an apparatus which can express a character which has various poses, various colors, etc. according to the characteristics of a musical sound is provided.
The present invention is made in order to respond to the above-mentioned desires, and it is therefore an object of the present invention to provide a music device equipped with an image display which can display an image with a variety of representations according to the various characteristics of music (a musical piece).
In accordance with the present invention, there is provided a music device equipped with an image display, the device including: a characteristic extraction means for extracting two or more characteristics included in music information from the music information; an image generating means for generating an image which has variations which differ dependently upon each of the two or more characteristics extracted by the characteristic extraction means; and a monitor for displaying the image generated by the image generating means.
The music device in accordance with the present invention is so constructed as to extract two or more characteristics included in music information from the music information, generate an image which has variations which differ dependently upon each of the two or more characteristics extracted, and display the image on the monitor. Therefore, the music device can display an image with a variety of representations according to the various characteristics of music (a musical piece). As a result, the user can enjoy visually an image outputted with a different representation according to music (a musical piece) when listening to the music.
Hereafter, in order to explain this invention in greater detail, the best mode of carrying out the invention will be described with reference to the accompanying drawings.
A characteristic extraction means of the present invention is implemented by the Fourier transform means 103. An image generating means of the present invention is implemented by the increase-or-decrease rule defining means 106, the character number increase-or-decrease judgment means 107, the frequency amplitude level table 108, the character drawing rule defining means 109, the inside-of-character drawing means 110, and the drawing means 111.
The music information storage means 101 is comprised of, for example, a storage which stores music information, such as a CD (Compact Disc), a DVD (Digital Versatile Disk), or an HDD (Hard Disk Drive). The music information stored in this music information storage means 101 is sent to both the Fourier transform means 103 and the amplifier 113.
As a time division, the synchronous timer 102 generates an event signal every 100 milliseconds (abbreviated as “msec” from here on), and sends it to the Fourier transform means 103, the memory stack 104, the frequency difference counter 105, the increase-or-decrease rule defining means 106, the character number increase-or-decrease judgment means 107, the drawing means 111, the inside-of-character drawing means 110, and the character drawing rule defining means 109. Each of these components runs in synchronization with the event signal from the synchronous timer 102.
The Fourier transform means 103 performs a Fourier transform on the music information sent from the music information storage means 101 in response to the event signal sent from the synchronous timer 102. As divisions of the speech frequency characteristics of a frequency spectrum acquired through this Fourier transform, the amplitude levels (in the unit mVs: millivolt second) of frequency components of frequencies 1 kHz, 2 kHz, 3 kHz, . . . , and 11 kHz (a frequency peak table can be prepared so that the speech frequency characteristics can be freely divided according to a music media format to be handled) are sent to the memory stack 104. The amplitude level of the frequency component of 900 Hz (the representative frequency of the voice band of the frequency spectrum acquired through the Fourier transform can be set up freely according to the music media format to be handled) is sent to the frequency difference counter 105 as the representative frequency of the voice band.
A frequency peak table as shown in
The frequency difference counter 105 saves, as a constant D2, a constant D1 which it is storing at that time in synchronization with the event signal sent from the synchronous timer 102, and then stores, as the constant D1, the amplitude level of the frequency component of 900 Hz sent from the Fourier transform means 103. The frequency difference counter then calculates a change range of the amplitude level of the frequency component of 900 Hz which is measured every 100 msec, i.e., the absolute value of “constant D1−constant D2”, and stores it as a constant Y. This constant Y is sent to the increase-or-decrease rule defining means 106.
The increase-or-decrease rule defining means 106 determines a rule which defines an increase-or-decrease parameter in synchronization with the event signal sent from the synchronous timer 102 and according to the constant Y sent from the frequency difference counter 105, i.e., the degree of a change with time in the amplitude level of the specific frequency component acquired through the Fourier transform. To be more specific, in a case in which a length from an amplitude level of zero to the maximum is divided into 10 levels, the increase-or-decrease parameter is incremented by “1” when the constant Y sent from the frequency difference counter 105 is equal to or larger than “4”, the increase-or-decrease parameter is incremented by “2” when the constant Y is equal to or larger than “6”, and the increase-or-decrease parameter is incremented by “1” when the constant Y is smaller than “2.” The increase-or-decrease parameter calculated by this increase-or-decrease rule defining means 106 is sent to the character number increase-or-decrease judgment means 107.
The character number increase-or-decrease judgment means 107 defines increase or decrease in the number of characters which are to be outputted to the monitor 112 for the increase-or-decrease parameter of the rule defined by the increase-or-decrease rule defining means 106 in synchronization with the event signal sent from the synchronous timer 102. For example, when the current number of characters is “1”, the character number increase-or-decrease judgment means does not decrease the number of characters to a smaller one (minimum regulation). When the current number of characters is “10”, the character number increase-or-decrease judgment means does not increase the number of characters to a larger one (maximum regulation). When a result of accumulating the increase-or-decrease parameter exceeds “10”, the character number increase-or-decrease judgment means increases the number of characters and initializes the increase-or-decrease parameter (increase regulation). In contrast, when the result of accumulating the increase-or-decrease parameter is smaller than “−10”, the character number increase-or-decrease judgment means decreases the number of characters and initializes the increase-or-decrease parameter (subtraction regulation). The number C of characters determined by the control carried out by this character number increase-or-decrease judgment means 107 is sent to the drawing means 111.
The frequency amplitude level table 108 stores part representation tables. In a part representation table, parts (a face's parts, body parts, or the like) of a character are assigned to the frequency components of frequencies ranging from 1 kHz to 11 kHz, and the representations of the parts of the character are determined respectively according to the peak amplitude levels (peak spectrum) of the frequency components.
The character drawing rule defining means 109 captures the five amplitude levels of each of the frequency components of frequencies of 1 kHz to 11 kHz from the frequency peak table of the memory stack 104 in synchronization with the event signal sent from the synchronous timer 102. For each of the frequency components, the character drawing rule defining means calculates a maximum of the amplitude levels which are measured at predetermined intervals from 100 msec to 500 msec, and stores this calculation result, as a peak amplitude level, at a location specified by (the peak spectrum, PkHz) of the frequency peak table. In this case, P=1, 2, . . . , or 11, and, in the following explanation, P shows the same variable. The character drawing rule defining means then extracts contents to be drawn which correspond to the peak amplitude level from the part representation tables included in the frequency amplitude level table 108, and stores it at a location specified by (the contents-to-be-drawn, PkHz) of the frequency peak table. The character drawing rule defining means 109 reads the frequency peak table which has been created in the memory stack 104 in this way, and sends it to the inside-of-character drawing means 110.
The inside-of-character drawing means 110 processes parts to be drawn on the basis of the contents to be drawn which are stored at the location specified by (the contents to be drawn, PkHz) of the frequency peak table sent from the character drawing rule defining means 109 in synchronization with the event signal sent from the synchronous timer 102, and then sends the processed parts to the drawing means 111 as parts-to-be-drawn information.
The drawing means 11 draws a whole image including characters on the basis of the parts-to-be-drawn information sent from the inside-of-character drawing means 110 and the number C of characters sent from the character number increase-or-decrease judgment means 107 in synchronization with the event signal sent from the synchronous timer 102, and sends the whole image to the monitor 112 as a video signal. The monitor 112 displays the image according to the video signal sent from the drawing means 111.
The amplifier 113 generates a musical sound signal on the basis of the music information sent from the music information storage 101, and amplifies the musical sound signal. The musical sound signal amplified by this amplifier 113 is then sent to the speaker 114. The speaker 114 converts the musical sound signal sent from the amplifier 113 into a musical sound, and outputs it. As a result, music according to the music information stored in the music information storage means 101 is sounded out.
Next, the operation of the music device equipped with an image display in accordance with embodiment 1 of the present invention which is so constructed as mentioned above will be explained with reference to flowcharts shown in
Next, a variable I which is used in order to count the number of times that a Fourier transform is carried out in the Fourier transform process which will be mentioned later is set to its initial value “0” (in step ST23). The constant D1 indicating the amplitude level of the frequency component of 900 Hz is then set to its initial value “0” (in step ST24). The increase-or-decrease parameter Z is then set to its initial value “0” (in step ST25). The number C of characters is then set to its initial value “1” (in step ST26). Apart to be drawn which the music device will start drawing is then set to its initial value (in step ST27).
After the above-mentioned initialization process is completed, the Fourier transform process is then carried out (in step ST12). In this Fourier transform process, a process of starting an event timer is carried out first as shown in the flow chart of
In the main process routine, the character number increase-or-decrease judging process is then carried out (in step ST13). In this character number increase-or-decrease judging process, as shown in the flow chart of
In the main process routine, the inside-of-character drawing process is then carried out (in step ST14). In this inside-of-character drawing process, as shown in the flow chart of
In the main process routine, the drawing process is then carried out (in step ST15). In this drawing process, as shown in the flowchart of
Next, the details of the process of starting the event timer which is carried out in step ST31 of the above-mentioned Fourier transform process (
In the process of starting the event timer, the count t of the timer counter is initialized to a value k first (in step ST71). Whether a value which is obtained by adding a predetermined event starting constant T which is different according to the function to the value k becomes equal to the count t of the timer counter is then checked to see (in step ST72). In this step ST72, when it is judged that the obtained value does become equal to the count t of the timer counter, this step ST72 is carried out repeatedly. When it is then judged that the obtained value becomes equal to the count t of the timer counter while step ST72 is carried out repeatedly, an event signal is produced (in step ST73). After that, the sequence is returned to a routine called.
Next, the details of the Fourier transform synchronization process carried out in step ST32 of the above-mentioned Fourier transform process (refer to
Whether or not the variable S is larger than “11” is then checked to see 8 step ST84). When, in this step ST84, it is judged that that the variable S is not larger than “11”, i.e., the variable S is equal to or smaller than “11”, the variable S is incremented (+1) (in step ST85). After that, the sequence is returned to step ST83 and the above-mentioned process is repeated. When, in step ST84, it is judged that the variable S becomes larger than “11” while the above-mentioned process is carried out repeatedly, it is judged that the processes corresponding to all the frequency components have been completed, and the value of the constant D1 in the frequency difference counter 105 is moved to the constant D2 (in step ST85). The amplitude level of the frequency component of 900 Hz which is acquired through the Fourier transform is then set to the constant D1 (in step ST87).
Whether or not the variable I is “5” is then checked to see (in step ST88). When, in this step ST88, it is judged that variable I is not “5”, it is judged that the Fourier transform has not been carried out five times and the sequence is returned to the Fourier transform process routine (
Whether or not the variable P is “11” is then checked to see (in step ST91). When, in this step ST91, it is judged that the variable P is not “11”, the variable P is incremented (+1) (in step ST92). After that, the sequence is returned to step ST90 and the above-mentioned process is repeated. In contrast, when, in step ST91, it is judged that the variable P is “11”, the variable I is initialized to “0” (in step ST93). After that, the sequence is returned to the Fourier transform process routine (
Next, the details of the process by the increase-or-decrease rule defining means 106 which is carried out in step ST42 of the above-mentioned character number increase-or-decrease judging process (
When, in above-mentioned step ST102, it is judged that the constant Y is lower than level 6, whether or not the constant Y is equal to or higher than level 4 is then checked to see (in step ST104). When, in this step ST104, it is judged that the constant Y is level 4 or higher, “1” is added to the increase-or-decrease parameter Z (in step ST105). After that, the sequence is returned to the character number increase-or-decrease judging process routine (
When, in above-mentioned step ST104, it is judged that the constant Y is lower than level 4, whether or not the constant Y is equal to or higher than level 2 is then checked to see (in step ST106). When, in this step ST106, it is judged that the constant Y is level 2 or higher, “1” is added to the increase-or-decrease parameter Z (in step ST107). After that, the sequence is returned to the character number increase-or-decrease judging process routine (
Next, the details of the process by the character number increase-or-decrease judgment means 107 which is carried out in step ST43 of the above-mentioned character number increase-or-decrease judging process (
When, in this step ST112, it is judged that the number C of characters is “10”, the sequence is returned to the character number increase-or-decrease judging process routine (
When, in above-mentioned step ST111, it is judged that the number C of characters is smaller than “10”, whether or not the increase-or-decrease parameter Z is smaller than “−10” is then checked to see (in step ST115). When, in this step ST115, it is judged that the increase-or-decrease parameter Z is smaller than “−10”, whether or not the number C of characters is “1” is checked to see (in step ST116). When, in this step ST116, it is judged that the number C of characters is not “1”, “1” is subtracted from the number C of characters (in step ST117). After that, the sequence is advanced to step ST114 and the increase-or-decrease parameter Z is then initialized to “0” as mentioned above.
When, in above-mentioned step ST116, it is judged that the number C of characters is “1”, the sequence is returned to the character number increase-or-decrease judging process routine (
Next, the details of the process by the character drawing rule defining means 109 which is carried out in step ST52 of the above-mentioned inside-of-character drawing process (
Contents at (R, PkHz) of the part representation tables in the frequency amplitude level table 108 are then set to the location specified by (the contents to be drawn, PkHz) of the frequency peak table in the memory stack 104 (in step ST123). Whether or not the variable P is “11” is then checked to see (in step ST124). When, in this step ST124, it is judged that the variable P is not “11”, “1” is added to the variable P (in step ST125). After that, the sequence is returned to step ST122. In contrast, when, in step ST124, it is judged that the variable P is “11”, the sequence is returned to the inside-of-character drawing process routine (
Next, the details of the process by the inside-of-character drawing means 110 which is carried out in step ST53 of the above-mentioned inside-of-character drawing process (
Whether or not the variable P is “11” is then checked to see (in step ST133). When, in this step ST133, it is judged that the variable P is not “11”, “1” is added to the variable P (in step ST134). After that, the sequence is returned to step ST132 and the above-mentioned process is repeated. In contrast, when, in step ST133, it is judged that the variable P is “11”, information about the processed parts is delivered to the drawing means 111, and only the processed parts to be drawn of each of the number C of characters are drawn (in step ST135). After that, the sequence is returned to the inside-of-character drawing process routine (
Next, the details of the process by the drawing means 111 which is carried out in step ST62 of the above-mentioned drawing process (
The above-explained music device equipped with an image display is so constructed as to determine the contents to be drawn according to frequency components and amplitude levels which it has acquired by performing a Fourier transform on the music information. The music device can be so constructed as to determine the contents to be drawn by further using the phases of the frequency components acquired through the Fourier transform.
For example, a color definition table for associating phases with chrominance signals (R, G, B), as shown in
As previously explained, the music device equipped with an image display in accordance with embodiment 1 of the present invention is so constructed as to extract frequency components, amplitudes, and phases which form music information which defines music by performing a Fourier transform on the music information, generate a character which has variations which differ dependently upon each of the extracted frequency components, amplitudes, and phases, and display it on the monitor 112. Therefore, the music device can display an image including a character with a variety of representations according to the various characteristics of music (a musical piece). As a result, the user can enjoy visually an image containing an animation character displayed with a different representation according to music (a musical piece) when listening to the music.
As mentioned above, the music device equipped with an image display in accordance with the present invention can display an image with a variety of representations according to the various characteristics of music (a musical piece) so as to enable the user to enjoy visually the music, and is therefore suitable for use in music apparatus with image display.
Number | Date | Country | Kind |
---|---|---|---|
2005-151208 | May 2005 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2006/301789 | 2/2/2006 | WO | 00 | 8/14/2007 |