The present invention relates to techniques for varying characteristics of sounds.
So far, a variety of techniques have been proposed for imparting musical effects to sounds uttered or generated by users (hereinafter referred to as “input sounds”). For example, Japanese Patent Application Laid-open Publication No. HEI-10-78776 (in particular, see paragraph 0013 and FIG. 1 of the publication) discloses a technique in accordance with which a concord sound (i.e., sound forming a chord with an input sound), generated by converting the pitch of the input sound, is added with the input sound and outputs the result of the addition. Even where there is only one sound-uttering or sound-generating person, the arrangements disclosed in the No. HEI-10-78776 publication (hereinafter referred to as “patent literature”) can generate sounds as if a plurality of persons were singing different melodies in ensemble. For example, if the input sound is a performance sound of a musical instrument, the disclosed arrangements can generate sounds as if different melodies were being performed in ensemble via a plurality of musical instruments.
There are known various forms of ensemble singing and ensemble musical instrument performance, among which are the so-called “chorus” where a plurality of singers or performers sing or perform different melodies and the so-called “unison” where a plurality of singers or performers each sing or perform a same or common melody. The arrangements disclosed in the above-identified patent literature, where a consonant sound is generated by converting the pitch of an input sound, can not impart an input sound with an effect of a “unison” where a plurality of singers or performers each sing or perform a same or common melody, although the disclosed arrangements can generate sounds with an effect of a “chorus” where a plurality of singers or performers sing or perform different melodies. Even with the arrangements disclosed in the above-identified patent literature, it would be possible to impart a unison effect, in a fashion, as though a plurality of singers or performers were each singing or performing a common melody, by outputting, along with the input sound, a sound created by converting only an acoustic characteristic (sound quality) of the input sound without changing the pitch of the input sound. In this case, however, it is essential to provide arrangements for converting the input sound characteristic per input sound constituting unison sounds. Thus, in cases where unison sounds by a plurality of persons are to be achieved, electric circuitry employed for converting the characteristic of each input sound by hardware, such as a DSP (Digital Signal Processor), would become great in size or scale. If the input sound characteristic conversion is performed by software, on the other hand, processing load on an arithmetic operation device would become excessive.
In view of the foregoing, it is an object of the present invention to provide a technique for converting, with a simple structure, an input sound into sounds of ensemble singing or ensemble musical instrument performance by a plurality of persons.
In order to accomplish the above-mentioned object, the present invention provides an improved sound processing apparatus, which comprises: an envelope detection section that detects a spectrum envelope of an input sound; a spectrum acquisition section that acquires a converting spectrum that is a frequency spectrum of a converting sound comprising a plurality of sounds; a spectrum conversion section that generates an output spectrum created by imparting the spectrum envelope of the input sound, detected by the envelope detection section, to the converting spectrum acquired by the spectrum acquisition section; and a sound synthesis section that synthesize a sound signal on the basis of the output spectrum generated by the spectrum conversion section.
The converting sound contains a plurality of sounds generated at the same time, such as unison sounds. According to the present invention, where the envelope of the converting spectrum of the converting sound is adjusted to substantially accord with the spectrum envelope of the input sound, there can be generated an output sound signal representative of a plurality of sounds (i.e., sounds of ensemble singing or ensemble musical instrument performance) which have similar phonemes to the input sound. Besides, according to the present invention, arrangements or construction to convert an input sound characteristic for each of a plurality of sounds are unnecessary in principle, and thus, the construction of the inventive sound processing apparatus can be greatly simplified as compared to the construction disclosed in the above-discussed patent literature. It should be appreciated that the term “sounds” as used in the context of the present invention embraces a variety of types of sounds, such as voices uttered by persons and performance sounds generated by musical instruments.
As an example, the sound processing apparatus of the present invention includes an envelope adjustment section that adjusts the spectrum envelope of the converting spectrum to substantially accord with the spectrum envelope of the input sound detected by the envelope detection section. In this case, the “substantial accordance” between the spectrum envelope of the input sound detected by the envelope detection section and the spectrum envelope of the converting spectrum means that, when a sound is actually audibly reproduced (i.e., sounded) on the basis of the output sound signal generated in accordance with the frequency spectrum adjusted by the envelope adjustment section, the two spectrum envelopes are approximate (ideally identical) to each other to the extent that the audibly reproduced sound can be perceived to be acoustically or auditorily identical with phoneme to the input sound. Thus, it is not necessarily essential that the spectrum envelope of the input sound and the spectrum envelope of the converting spectrum adjusted by the envelope adjustment section completely agree with each other in the strict sense of the word “agreement”.
In the sound processing apparatus of the present invention, the output sound signal generated by the sound synthesis section is supplied to sounding equipment, such as a speaker or earphones, via which the output sound signal is output as an audible sound (hereinafter referred to as “output sound”). However, a specific form of use of the output sound signal may be chosen as desired. For example, the output sound signal may be first stored in a storage medium and then audibly reproduced as the output sound via another apparatus that reproduces the storage medium, or the output sound signal may be transmitted over a communication line to another apparatus and then audibly reproduced as a sound via the other apparatus.
Although the pitch of the output sound signal generated by the sound synthesis section (in other words, pitch of the output sound) may be a pitch having no relation to the pitch of the input sound, it is more preferable that the output sound signal be set to a pitch corresponding to the input sound (e.g., pitch substantially identical to the pitch of the input sound or a pitch forming consonance with the input sound). In the preferable embodiment, the spectrum conversion section includes: a pitch conversion section that varies frequencies of individual peaks in the converting spectrum, acquired by the spectrum acquisition section, in accordance with the pitch of the input sound detected by the pitch detection section; and an envelope adjustment section that adjusts a spectrum envelope of the converting spectrum, having frequency components varied by the pitch conversion section, to substantially agree with the spectrum envelope of the input sound detected by the envelope detection section. According to such an embodiment, the output sound signal is adjusted to a pitch corresponding to the input sound, so that the sound audibly reproduced on the basis of the output sound signal can be made auditorily pleasing.
In a more specific embodiment, the pitch conversion section expands or contracts the converting spectrum in accordance with the pitch of the input sound detected by the pitch detection section. According to this embodiment, the converting spectrum can be adjusted in pitch through simple processing of multiplying each of the frequencies of the converting spectrum by a numerical value corresponding to the pitch of the input sound. In another embodiment, the pitch conversion section displaces the frequency of each of spectrum distribution regions, including frequencies of the individual peaks in the converting spectrum (e.g., frequency bands each having a predetermined width centered around the frequency of the peak), in a direction of the frequency axis corresponding to the pitch of the input sound detected by the pitch detection section (see
Arrangements or construction to adjust the output sound to a pitch corresponding to the input sound may be chosen as desired. For example, the inventive sound processing apparatus may include a pitch detection section for detecting the pitch of the input sound, and the spectrum acquisition section may acquire a converting spectrum of a converting sound, among a plurality of converting sounds differing in pitch from each other, which has a pitch closest to (ideally, identical to) the pitch detected by the pitch detection section (see FIG. 6). Such arrangements can eliminate the need for a particular construction for converting the pitch of the converting spectrum. However, the construction for converting the pitch of the converting spectrum and the construction for selecting any one of the plurality of converting sounds differing in pitch from each other may be used in combination. For example, there may be employed arrangements where the spectrum acquisition section acquires a converting spectrum of a converting sound, among a plurality of the converting sounds corresponding to different pitches, which corresponds to a pitch closest to the pitch of the input sound, and where the pitch conversion section converts the pitch of the selected converting spectrum in accordance with pitch data.
In many cases, frequency spectrums (or spectra) of sounds uttered or generated simultaneously (in parallel) by a plurality of singers or musical instrument performers have bandwidths of individual peaks (i.e., bandwidth W2 shown in
From the aforementioned viewpoint, a sound processing apparatus according to another aspect of the present invention comprises: an envelope detection section that detects a spectrum envelope of an input sound; a spectrum acquisition section that acquires either a first converting spectrum that is a frequency spectrum of a converting sound, or a second converting spectrum that is a frequency spectrum of a sound having substantially the same pitch as the converting sound indicated by the first converting spectrum and having a greater bandwidth at each peak than the first converting spectrum; a spectrum conversion section that generates an output spectrum created by imparting the spectrum envelope of the input sound, detected by the envelope detection section, to the converting spectrum acquired by the spectrum acquisition section; and a sound synthesis section that synthesize a sound signal on the basis of the output spectrum generated by the spectrum conversion section.
In the sound processing apparatus arranged in the aforementioned manner, the spectrum acquisition section selectively acquires, as a frequency spectrum to be used for generating an output sound signal, either the first converting spectrum or the second converting spectrum, so that it is possible to selectively generate any desired one of an output sound signal of a characteristic corresponding to the first converting spectrum and an output sound signal of a characteristic corresponding to the second converting spectrum. When the first converting spectrum is selected, it is possible to generate an output sound uttered or generated by a single singer or musical instrument performer, while, when the second converting spectrum is selected, it is possible to generate output sounds uttered or generated by a plurality of singers or musical instrument performers. Whereas the sound processing apparatus of the present invention apparatus have been described as selecting the first or second converting spectrum, there may be employed any other converting spectrum for selection as the frequency spectrum to be used for generating an output sound signal. For example, a plurality of converting spectrums differing from each other in bandwidth of each peak may be stored in a storage device so that any one of the stored converting spectrums is selected to be used for generating an output sound signal.
The present invention may be constructed and implemented not only as the apparatus invention as discussed above but also as a method invention. Also, the present invention may be arranged and implemented as a software program for execution by a processor such as a computer or DSP, as well as a storage medium storing such a software program. Further, the processor used in the present invention may comprise a dedicated processor with dedicated logic built in hardware, not to mention a computer or other general-purpose type processor capable of running a desired software program.
The following will describe embodiments of the present invention, but it should be appreciated that the present invention is not limited to the described embodiments and various modifications of the invention are possible without departing from the basic principles. The scope of the present invention is therefore to be determined solely by the appended claims.
For better understanding of the objects and other features of the present invention, its preferred embodiments will be described hereinbelow in greater detail with reference to the accompanying drawings, in which:
<A. First Embodiment>
First, with reference to
As illustrated in
The frequency analysis section 10 is a means for identifying a pitch Pin and spectrum envelope EVin of the input sound signal Vin supplied from the sound input section 61. This frequency analysis section 10 includes an FFT (Fast Fourier Transform) section 11, a pitch detection section 12, and an envelope detection section 13. The FFT section 11 cuts or divides the input sound signal Vin, supplied from the sound input section 61, into frames each having a predetermined time length (e.g., 5 ms or 10 ms) and performs frequency analysis, including FFT processing, on each of the frames of the input sound signal Vin to thereby detect a frequency spectrum (hereinafter referred to as “input spectrum”) SPin. The individual frames of the input sound signal Vin are set so as to overlap each other on the time axis. Whereas, in the simplest form, these frames are each set to a same time length, they may be set to different time lengths depending on the pitch Pin (detected by a pitch detection section 12 as will be later described) of the input sound signal Vin. In
The pitch detection section 12 shown in
The spectrum conversion section 20 shown in
The spectrum acquisition section 30 is a means for acquiring the converting spectrum SPt, and it includes an FFT section 31, peak detection section 32 and data generation section 33. To the FFT section 31 is supplied a converting sound signal Vt read out from a storage section 50, such as a hard disk device. The converting sound signal Vt is a signal of a time-domain representing a waveform of the converting sound over a specific section (i.e., time length) and stored in advance in the storage section 50. The FFT section 31 cuts or divides each of the converting sound signal Vt, sequentially supplied from the storage section 50, into frames of a predetermined time length and performs frequency analysis, including FFT processing, on each of the frames of the converting sound signal Vt to thereby detect a converting spectrum SPt, in a similar manner to the above-described procedures pertaining to the input sound. The peak detection section 32 detects peaks pt of the converting spectrum SPt identified by the FFT section 31 and then detects respective frequencies of the peaks pt. Here, there is employed a peak detection scheme where a particular peak, having the greatest spectrum intensity among all of a predetermined number of peaks adjoining each other on the frequency axis, is detected as the peak pt.
The instant embodiment assumes, for description purposes, a case where sound signals obtained by the sound pickup device, such as a microphone, picking up sounds uttered or generated by a plurality of persons simultaneously at substantially the same pitch Pt (i.e., sounds generated in unison, such as ensemble singing or music instrument performance) are stored, as converting sound signals Vt, in advance in the storage section 50. Converting spectrum SPt obtained by performing, per predetermined frame section, FFT processing on such a converting sound signal Vt is similar to the input spectrum SPin of
The data generation section 33 shown in
As seen in
In section (b) of
The envelope adjustment section 22 is a means for adjusting the spectrum intensity M (in other words, spectrum envelope EVt) of the converting spectrum SPt, represented by the converting spectrum data Dt, to generate a new spectrum SPnew. More specifically, the envelope adjustment section 22 adjusts the spectrum intensity M of the converting spectrum SPt so that the spectrum envelope of the new spectrum SPnew substantially agrees with the spectrum envelope detected by the envelope detection section 13, as seen section (d) of
The envelope adjustment section 22 first selects, from the converting spectrum data Dt, one particular unit data Ut having the designator A added thereto. This particular unit data Ut includes the frequency Ft of any one of the peaks pt (hereinafter referred to as “object-of-attention peak pt”) in the converting spectrum SPt, and the spectrum intensity Mt (see
The operations by the pitch conversion section 21 and envelope adjustment section 22 are performed for each of the frames provided by dividing the input sound signal Vin. However, in many cases, the frames of the input sound and the frames of the converting sound do not agree with each other, because the number of the frames of the input sound differs depending on the time length of utterance or generation of the sound by the person while the number of the frames of the converting sound is limited by the time length of the converting sound signal Vt stored in the storage section 50. Where the number of the frames of the converting sound is greater than that of the input sound, then it is only necessary to discard a portion of the converting spectrum data Dt corresponding to the excess frame or frames. On the other hand, where the number of the frames of the converting sound is smaller than that of the input sound, it is only necessary to use the converting spectrum data Dt in a looped fashion, e.g. by, after having used the converting spectrum data Dt corresponding to all of the frames, reverting to the first frame to again use the converting spectrum data Dt of the frame. In any case, it is only necessary that any portion of the data Dt be used by any suitable scheme without being limited to the looping scheme, in connection with which arrangements are of course employed to detect a time length over which the utterance or generation of the input sound is lasting.
Further, the sound generation section 40 of
In the instant embodiment, where the spectrum envelope EVt of the converting sound including a plurality of sounds uttered or generated in parallel by a plurality of persons is adjusted to substantially agree with the spectrum envelope Evin of the input sound as set forth above, there can be generated an output sound signal Vnew indicative of a plurality of sounds (i.e., sounds of ensemble singing or musical instrument performance) having similar phonemes to the input sound. Consequently, even where a sound or performance sound uttered or generated by a single person has been input, the sound output section 63 can produce an output sound as if ensemble singing or musical instrument performance were being executed by a plurality of sound utters or musical instrument performers. Besides, there is no need to provide arrangements for varying an input sound characteristic for each of a plurality of sounds. In this manner, the sound processing apparatus D of the present invention can be greatly simplified in construction as compared to the arrangements disclosed in the above-discussed patent literature. Further, in the instant embodiment, the pitch Pt of the converting sound is converted in accordance with the pitch Pin of the input sound, so that it is possible to generate sounds of ensemble singing or ensemble musical instrument performance at any desired pitch. Further, the instant embodiment is advantageous in that the pitch conversion can be performed by simple processing (e.g., multiplication processing) of expanding or contracting the converting spectrum SPt in the frequency axis direction.
<B. Second Embodiment>
Next, a description will be given about a sound processing apparatus in accordance with a second embodiment of the present invention with primary reference to
Further, in the second embodiment, the spectrum acquisition section 30 includes a selection section 34 at a stage preceding the FFT section 31. The selection section 34 selects either one of the first and second converting sound signals Vt1 and Vt2 on the basis of a selection signal supplied externally and then reads out the selected converting sound signal Vt (Vt1 or Vt2) from the storage section 50. The selection signal is supplied from an external source in response to operation on an input device 67. The converting sound signal Vt read out by the selection section 34 is supplied to the FFT section 31. Construction and operation of the elements following the selection section 34 is the same as in the first embodiment and will not be described here.
Namely, in the instant embodiment, either one of the first and second converting sound signals Vt1 and Vt2 is selectively used in generation of the new spectrum SPnew. When the first converting sound signal Vt1 is selected, a single sound is output which contains both phonemes of the input sound and frequency characteristic of the input sound. When, on the other hand, the second converting sound signal Vt2 is selected, a plurality of sounds are output which maintain the phonemes of the input sound as in the first embodiment. Namely, in the second embodiment, the user can select as desired whether a single sound or plurality of sounds should be output.
Whereas the second embodiment has been described above as constructed so that a desired converting sound signal Vt is selected in response to operation on the input device 67, the selection of the desired converting sound signal Vt may be made in any other suitable manner. For example, switching may be made between the first converting sound signal Vt1 and the second converting sound signal Vt2 in response to each predetermined one of time interrupt signals generated at predetermined time intervals. Further, in a case where the embodiment of the sound processing apparatus D is applied to a karaoke apparatus, switching may be made between the first converting sound signal Vt1 and the second converting sound signal Vt2 in synchronism with a progression of a music piece performed on the karaoke apparatus. Further, whereas the second embodiment has been described in relation to the case where the first converting sound signal Vt1 representative of a single sound and the second converting sound signal Vt2 representative of a plurality of sounds are stored in advance in the storage section 50, the respective numbers of sounds represented by the first and second converting sound signals Vt1 and Vt2 are not limited to the aforementioned. For example, the first converting sound signal Vt1 used in the instant embodiment may be a signal representative of a predetermined number of sounds uttered or generated in parallel, and the converting sound signal Vt2 may be a signal representative of another predetermined number of sounds which is greater than the number of sounds represented by the first converting sound signal Vt1.
<C. Modification>
The above-described embodiments may be modified variously, and some specific examples of modifications are set forth below. These examples of modifications may be used in combination as necessary.
(1) Whereas each of the embodiments has been described in relation to the case where a converting sound signal Vt (Vt1 or Vt2) of a single pitch Pt is stored in the storage section 50, a plurality of converting sound signals Vt of different pitches Pt (Pt1, Pt2, . . . ) may be stored in advance in the storage section 50. Each of the converting sound signals Vt is a signal obtained by picking up a converting sound including a plurality of sounds uttered or generated in parallel. The sound processing apparatus illustrated in
(2) Further, whereas each of the embodiments has been described above in relation to the case where the frequency Ft included in each of the unit data Ut of the converting spectrum data Dt is multiplied by a particular numerical value (ratio “Pin/Pt”), to thereby expand or contract the converting spectrum SPt in the frequency axis direction, the scheme to convert the pitch Pt of the converting spectrum SPt may be changed as desired. For example, with the conversion schemes employed in the above-described embodiments, the converting spectrum SPt is expanded or contracted at the same rate throughout the entire band thereof, there may be a possibility of the bandwidth B2 of each of the peaks pt, having been subjected to the expansion/contraction control, notably expanding as compared the bandwidth B1 of the original pt. If, for example, the pitch Pt of the converting spectrum SPt shown in section (a) of
Further, whereas the embodiments have been described above in relation to the case where the pitch Pt is converted through the multiplication operation performed on the frequency F of each of the unit data Ut, the pitch Pt may be varied by dividing the converting spectrum SPt into a plurality of bands (hereinafter referred to as “spectrum distribution regions R”) on the time axis and displacing each of the spectrum distribution regions R in the frequency axis direction. Each of the spectrum distribution regions R is selected to include one peak pt and bands preceding and following (i.e., centered around) the peak pt. The pitch conversion section 21 displaces each of the spectrum distribution regions R in the frequency axis direction so that the frequencies of the peaks pt belonging to the individual spectrum distribution regions R substantially agree with the corresponding peaks p appearing in the input spectrum SPin (see section (c) of
(3) Further, whereas each of the embodiments has been described as identifying a converting spectrum SPt from a converting sound signal Vt stored in the storage section 50, it may employ an alternative scheme where converting spectrum data Dt representative of a converting spectrum SPt is prestored per frame in the storage section 50. According to such a scheme, the spectrum acquisition section 30 only has to read out the converting spectrum data Dt from the storage section 50 and then output the read-out converting spectrum data Dt to the spectrum conversion section 20; in this case, the spectrum acquisition section 30 need not be provided with the FFT section 31, peak detection section 32 and data generation section 33. Furthermore, whereas each of the embodiments has been described above as prestoring converting spectrum data Dt in the storage section 50, the spectrum acquisition section 30 may be arranged to acquire converting spectrum data Dt, for example, from an external communication device connected thereto via a communication line. Namely, the spectrum acquisition section 30 only has to be a means capable of acquiring a converting spectrum SPt, and it does not matter how and from which source a converting spectrum SPt is acquired.
(4) Further, whereas each of the embodiments has been described above as detecting the pitch Pin from the frequency spectrum SPin of the input sound, the pitch Pin may be detected in any other suitable manner than the above-described. For example, the pitch Pin may be detected from the time-domain input sound signal Vin supplied from the sound input section 61. The detection of the pitch Pin may be made in any of the various conventionally-known manners.
(5) Furthermore, whereas each of the embodiments has been described above in relation to the case where the pitch Pt of the converting sound is adjusted to agree with the pitch Pin of the input sound, the pitch Pt of the converting sound may be converted to a pitch other than the pitch Pt of the input sound. For example, the pitch conversion section 21 may be arranged to convert the pitch Pt of the converting sound to assume a pitch that forms consonance with the pitch Pt of the input sound. In addition, the output sound signal Vnew supplied from the output processing section 42 and the input sound signal Vin received from the sound input section 61 may be added together so that the sum of the two signals Vnew and Vin is output from the sound output section 63, in which case it is possible to output chorus sounds along with the input sound uttered or generated by a user. Namely, in the implementation provided with the pitch conversion section 21, it is only necessary that the pitch conversion section 21 vary the pitch Pt of the converting sound in accordance with the pitch of the input sound Pin (so that the pitch Pt of the converting sound varies in accordance with variation in the pitch Pin).
Number | Date | Country | Kind |
---|---|---|---|
2005-067907 | Mar 2005 | JP | national |