The present invention relates generally to sound signal analyzing devices and methods for creating a MIDI file or the like on the basis of input sounds from a microphone or the like, and more particularly to an improved sound signal analyzing device and method which can effectively optimize various parameters for use in sound signal analysis.
Examples of the conventional sound signal analyzing devices include one in which detected volume levels and highest and lowest pitch limits, etc. of input vocal sounds have been set as parameters for use in subsequent analysis of sound signals. These parameters are normally set in advance on the basis of vocal sounds produced by ordinary users and can be varied as necessary by the users themselves when the parameters are to be put to actual use.
However, because the input sound levels tend to be influenced considerably by the operating performance of hardware components used and various ambient conditions, such as noise level, during sound input operations, there arises a need to review the level settings from time to time. Further, the upper and lower pitch limits would influence pitch-detecting filter characteristics during the sound signal analysis, and thus it is undesirable to immoderately increase a difference or width between the upper and lower pitch limits. Unduly increasing the width between the upper and lower pitch limits is undesirable in that it would result in a wrong pitch being detected due to harmonics and the like of the input sound. In addition, because the conventional sound signal analyzing devices require very complicated and sophisticated algorithm processing to deal with the pitch detection over a wide pitch range, the processing could not be readily carried out in real time. Moreover, even for some of the parameters appropriately modifiable by the users, it is necessary for the users to have a certain degree of musical knowledge, and therefore it is not desirable for the users to have freedom in changing the parameters. However, because some of the users may produce vocal sounds of a unique pitch range far wider than those produced by ordinary users or of extraordinary high or low pitches, it is very important that the parameters should be capable of being modified as necessary in accordance with the unique tendency and characteristics of the individual users.
It is therefore an object of the present invention to provide a device and method for analyzing a sound signal for representation in musical notation which can modify various parameters for use in the sound signal analysis in accordance with types of the parameters and characteristics of a user's vocal sound.
In order to accomplish the above-mentioned object, the present invention provides an improved sound signal analyzing device which comprises: an input section that receives a sound signal; a characteristic extraction section that extracts a characteristic of the sound signal received by the input section; and a setting section that sets various parameters for use in analysis of the sound signal, in accordance with the characteristic of the sound signal extracted by the characteristic extraction section. Because of the arrangement that a characteristic of the received or input sound signal is extracted via the extraction section, even when the received sound signal variously differs depending on its sound characteristic (such as a user's singing ability, volume or range), various parameters can be appropriately altered in accordance with the difference in the extracted characteristic of the sound signal, which thereby greatly facilitates setting of the necessary parameters.
For example, the characteristic extraction section may extract a volume level of the received sound signal as the characteristic, and the above-mentioned setting section may set a threshold value for use in the analysis of the sound signal, in accordance with the volume level extracted by the characteristic extraction section. Thus, by setting an appropriate threshold value for use in the sound signal analysis, it is possible to set appropriate timing to detect a start point of effective sounding of the received sound signal, i.e., key-on detection timing, in correspondence to individual users' vocal sound characteristics (sound volume levels specific to the individual users). As a consequence, the sound pitch and generation timing can be analyzed appropriately on the basis of the detection timing.
Alternatively, the characteristic extraction section may extract the upper and lower pitch limits of the sound signal as the characteristic, and the setting section may set a filter characteristic for use in the analysis of the sound signal, in accordance with the upper and lower pitch limits extracted by the characteristic extraction section. By the setting section setting the filter characteristic for the sound signal analysis to within an appropriate range, the characteristic of a band-pass filter or the like intended for sound pitch determination can be set appropriately in accordance with the individual users' vocal sound characteristics (sound pitch characteristics specific to the individual users). In this way, it is possible to effectively avoid the inconvenience that a harmonic pitch is detected erroneously as a fundamental pitch or a pitch to be detected can not be detected at all.
According to another aspect of the present invention, there is provided a sound signal analyzing device which comprises: an input section that receives a sound signal; a pitch extraction section that extracts a pitch of the sound signal received by the input section; a scale designation section that sets a scale determining condition; and a note determination section that, in accordance with the scale determining condition set by the scale designation section, determines a particular one of scale notes which the pitch of the sound signal extracted by the pitch extraction section corresponds to. Because each user is allowed to designate a desired scale determining condition by means of the scale designation section, it is possible to make an appropriate and fine determination of a scale note corresponding to the user-designated scale, without depending only on an absolute frequency of the extracted sound pitch. This arrangement allows each input sound signal to be automatically converted or transcribed into musical notation which has a superior musical quality.
For example, the scale designation section may be arranged to be able to select one of a 12-tone scale and a 7-tone scale as the scale determining condition. Further, when selecting the 7-tone scale, the scale designation section may select one of a normal scale determining condition for only determining diatonic scale notes and an intermediate scale determining condition for determining non-diatonic scale notes as well as the diatonic scale notes. Moreover, the note determination section may set frequency ranges for determining the non-diatonic scale notes to be narrower than frequency ranges for determining the diatonic scale notes.
Thus, the frequency ranges for determining the diatonic scale notes of the designated scale can be set to be narrower than those for determining the non-diatonic scale notes. For the diatonic scale notes, a pitch of a user-input sound, even if it is somewhat deviated from a corresponding right pitch, can be identified as a scale note (one of the diatonic scale notes); on the other hand, for the non-diatonic scale notes, a pitch of a user-input sound can be identified as one of the non-diatonic scale notes (i.e., a note deviated a semitone or one half step from the corresponding diatonic scale note) only when it is considerably close to a corresponding right pitch. With this arrangement, the scale determining performance can be enhanced considerably and any non-diatonic scale note input intentionally by the user can be identified appropriately, which therefore allows each input sound signal to be automatically converted or transcribed into musical notation having a superior musical quality. In addition, the arrangement permits assignment to appropriate scale notes (i.e., scale note determining process) according to the user's singing ability.
Further, the sound signal analyzing device may further comprise: a setting section that sets unit note length as a predetermined criterion for determining a note length; and a note length determination section that determines a length of the scale note, determined by the note determination section, using the unit note length as a minimum determining unit, i.e., with an accuracy of the unit note length. With this arrangement, an appropriate quantization process can be carried out by just variably setting the minimum determining unit, and an appropriate note length determining process corresponding the user's singing ability can be executed as the occasion demands.
The present invention may be implemented not only as a sound signal analyzing device as mentioned above but also as a sound signal analyzing method. The present invention may also be practiced as a computer program and a recording medium storing such a computer program.
For better understanding of the object and other features of the present invention, its preferred embodiments will be described in greater detail hereinbelow with reference to the accompanying drawings, in which:
The CPU 21 carries out various processes based on various programs and data stored in the program memory 22 and working memory 23 as well as musical composition information received from the external storage device 24. In this embodiment, the external storage device 24 may comprise any of a floppy disk drive, hard disk drive, CD-ROM drive, magneto-optical disk (MO) drive, ZIP drive, PD drive and DVD drive. Composition information and the like may be received from another MIDI instrument 2B or the like external to the personal computer, via the MIDI interface 2A. The CPU 21 supplies the tone generator circuit 2J with the composition information received from the external storage device 24, to audibly reproduce or sound the composition information through an external sound system 2L.
The program memory 22 is a ROM having prestored therein various programs including system-related programs and operating programs as well as various parameters and data. The working memory 23 is provided for temporarily storing data generated as the CPU 21 executes the programs, and it is allocated in predetermined address regions of a random access memory (RAM) and used as registers, flags, buffers, etc. Some or all of the operating programs and various data may be prestored in the external storage device 24 such as the CD-ROM drive rather than in the program memory or ROM 22 and may be transferred into the working memory or RAM 23 or the like for storage therein. This arrangement greatly facilitates installment and version-up of the operating programs etc.
Further, the personal computer of
It will be appreciated that the present invention may be implemented by a commercially-available electronic musical instrument or the like having installed therein the operating programs and various data necessary for practicing the present invention, in which case the operating programs and various data may be stored on a recording medium, such as a CD-ROM or floppy disk, readable by the electronic musical instrument and supplied to users in the thus-stored form.
Mouse 26 functions as a pointing device of the personal computer, and the mouse operation detecting circuit 25 converts each input signal from the mouse 26 into position information and sends the converted position information to the data and address bus 2P. Microphone 2C picks up a human vocal sound or musical instrument tone to convert it into an analog voltage signal and sends the converted voltage signal to the microphone interface 2D. The microphone interface 2D converts the analog voltage signal from the microphone 2C into a digital signal and supplies the converted digital signal to the CPU 21 by way of the data and address bus 2P. Keyboard 2E includes a plurality of keys and function keys for entry of desired information such as characters, as well as key switches corresponding to these keys. The keyboard operation detecting circuit 2F includes key switch circuitry provided in corresponding relation to the individual keys and outputs a key event signal corresponding to a depressed key. In addition to such hardware switches, various software-based button switches may be visually shown on a display 2G so that any of the button switches can be selectively operated by a user or human operator through software processing using the mouse 26. The display circuit 2H controls displayed contents on the display 2G that may include a liquid crystal display (LCD) panel.
The tone generator circuit 2J, which is capable of simultaneously generating tone signals in a plurality of channels, receives composition information (MIDI files) supplied via the data and address bus 2P and MIDI interface 2A and generates tone signals on the basis of the received information. The tone generation channels to simultaneously generate a plurality of tone signals in the tone generator circuit 2J may be implemented by using a single circuit on a time-divisional basis or by providing separate circuits for the individual channels on a one-to-one basis. Further, any tone signal generation method may be used in the tone generator circuit 2J depending on an application intended. Each tone signal generated by the tone generator circuit 2J is audibly reproduced or sounded through the sound system 2L including an amplifier and speaker. The effect circuit 2 is provided, between the tone generator circuit 2J and the sound system 2L, for imparting various effects to the generated tone signals; alternatively, the tone generator circuit 2J may itself contain such an effect circuit. Timer 2N generates tempo clock pulses for counting a designated time interval or setting a desired performance tempo to reproduce recorded composition information, and the frequency of the performance tempo clock pulses is adjustable by a tempo switch (not shown). Each of the performance tempo clock pulses generated by the timer 2N is given to the CPU 21 as an interrupt instruction, in response to which the CPU 21 interruptively carries out various operations during an automatic performance.
Now, with reference to
At first step of the main routine, a predetermined initialization process is executed, where predetermined initial values are set in various registers and flags within the working memory 23. As a result of this initialization process, a parameter setting screen 70 is shown on the display 2G as illustrated in
The recording/reproduction region 71 includes a recording button 71A, a MIDI reproduction button 71B and a sound reproduction button 71C. Activating or operating a desired one of the buttons starts a predetermined process corresponding to the operated button. Specifically, once the recording button 71A is operated, user's vocal sounds picked up by the microphone 2C are sequentially recorded into the sound signal analyzing device. Each of the thus-recorded sounds is then analyzed by the sound signal analyzing device to create a MIDI file. Basic behavior of the sound signal analyzing device is described in detail in Japanese Patent Application No. HEI-9-336328 filed earlier by the assignee of the present application, and hence a detailed description of the device behavior is omitted here. Once the MIDI reproduction button 71B is operated, the MIDI file created by the analyzing device is subjected to a reproduction process. It should be obvious that any existing MIDI file received from an external source can also be reproduced here. Further, once the sound reproduction button 71C is operated, a live sound file recorded previously by operation of the recording button 71A is reproduced. Note that any existing sound file received from an external source can of course be reproduced in a similar manner.
The rounding setting region 72 includes a 12-tone scale designating button 72A, an intermediate scale designating button 72B and a key scale designating button 72C, which are operable by the user to designate a desired scale rounding condition. In response to operation of the 12-tone scale designating button 72A by the user, analyzed pitches are allocated, as a scale rounding condition for creating a MIDI file from a recorded sound file, to the notes of the 12-tone scale. In response to operation of the key note scale designating button 72C, pitches of input sounds are allocated, as the rounding condition, to the notes of a 7-tone diatonic scale of a designated musical key. If the designated key scale is C major, the input sound pitches are allocated to the notes corresponding to the white keys. Of course, if the designated key scale is other than C major, the notes corresponding to the black keys can also become the diatonic scale notes. Further, in response to operation of the intermediate scale designating button 72B, a rounding process corresponding to the key scale (i.e., 7-tone scale) is, in principle, carried out, in which, only when the analyzed result shows that the pitch is deviated from the corresponding diatonic scale note approximately by a semitone or one half step, the pitch is judged to be as a non-diatonic scale note. Namely, this rounding process allows the input sound pitch to be allocated to a non-diatonic scale note.
The rounding setting region 72 also includes a non-quantizing button 72D, a two-part dividing button 72E, a three-part dividing button 72F and a four-part dividing button 72G, which are operable by the user to designate a desired measure-dividing condition for the sound signal analysis. Once any one of these buttons 72D to 72G is operated by the user, the sound file is analyzed depending on a specific number of divided measure segments (i.e., measure divisions) designated via the operated button, to thereby create a MIDI file. To the right of the buttons 72D to 72G of
Further, the user setting region 73 of
Once the sound pitch range setting button 73B is operated by the user, a pitch check screen is displayed as exemplarily shown in
With the parameter setting screen 70 displayed in the above-mentioned manner, the user can set various parameters by manipulating the mouse 2C. The main routine of
Next, in the main routine, a determination is made as to whether the level setting button 73A has been operated in the user setting area 73 of the parameter setting screen 70, and with an affirmative (YES) determination, a sound-volume threshold value setting process is carried out as shown in
Next, in the main routine of
Finally, in the main routine of
In summary, the present invention arranged in the above-mentioned manner affords the superior benefit that various parameters for use in sound signal analysis can be modified or varied appropriately depending on the types of the parameters and characteristics of user's vocal sounds.
Number | Date | Country | Kind |
---|---|---|---|
10-247208 | Sep 1998 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
3894186 | Humphrey et al. | Jul 1975 | A |
4024789 | Humphrey et al. | May 1977 | A |
4688464 | Gibson et al. | Aug 1987 | A |
4771671 | Hoff, Jr. | Sep 1988 | A |
4777649 | Carlson et al. | Oct 1988 | A |
4957552 | Iwase | Sep 1990 | A |
5025703 | Iba et al. | Jun 1991 | A |
5038658 | Tsuruta et al. | Aug 1991 | A |
5121669 | Iba et al. | Jun 1992 | A |
5171930 | Teaney | Dec 1992 | A |
5228098 | Crinon et al. | Jul 1993 | A |
5231671 | Gibson et al. | Jul 1993 | A |
5287789 | Zimmerman | Feb 1994 | A |
5446238 | Koyama et al. | Aug 1995 | A |
5488196 | Zimmerman et al. | Jan 1996 | A |
5524060 | Silfvast et al. | Jun 1996 | A |
5536902 | Serra et al. | Jul 1996 | A |
5721390 | Adachi et al. | Feb 1998 | A |
5936180 | Ando | Aug 1999 | A |
5981860 | Isozaki et al. | Nov 1999 | A |
6035009 | Shudo | Mar 2000 | A |
6140568 | Kohler | Oct 2000 | A |
6150598 | Suzuki et al. | Nov 2000 | A |
RE37041 | Koyama et al. | Feb 2001 | E |
6898291 | Gibson | May 2005 | B1 |
Number | Date | Country |
---|---|---|
2351421 | May 1974 | DE |
57-000693 | May 1982 | JP |
59-158124 | Sep 1984 | JP |
63-174096 | Jul 1988 | JP |
05-181461 | Jul 1993 | JP |
07-287571 | Oct 1995 | JP |
09-121146 | May 1997 | JP |
10-149160 | Jun 1998 | JP |
Number | Date | Country | |
---|---|---|---|
20020069050 A1 | Jun 2002 | US |