The present invention relates to the synthesis of sound. More in particular, the present invention relates to a device and a method for synthesizing sound represented by sets of parameters, each set comprising noise parameters representing noise components of the sound and other parameters representing other components.
It is well known to represent sound by sets of parameters. So-called parametric coding techniques are used to efficiently encode sound, representing the sound by a series of parameters. A suitable decoder is capable of substantially reconstructing the original sound using the series of parameters. The series of parameters may be divided into sets, each set corresponding with an individual sound source (sound channel) such as a (human) speaker or a musical instrument.
The popular MIDI (Musical Instrument Digital Interface) protocol allows music to be represented by sets of instructions for musical instruments. Each instruction is assigned to a specific instrument. Each instrument can use one or more sound channels (called “voices” in MIDI). The number of sound channels that may be used simultaneously is called the polyphony level or the polyphony. The MIDI instructions can be efficiently transmitted and/or stored.
Synthesizers typically contain sound definition data, for example a sound bank or patch data. In a sound bank samples of the sound of instruments are stored as sound data, while patch data define control parameters for sound generators.
MIDI instructions cause the synthesizer to retrieve sound data from the sound bank and synthesize the sounds represented by the data. These sound data may be actual sound samples, that is digitized sounds (waveforms), as in the case of conventional wavetable synthesis. However, sound samples typically require large amounts of memory, which is not feasible in relatively small devices, in particular hand-held consumer devices such as mobile (cellular) telephones.
Alternatively, the sound samples may be represented by parameters, which may include amplitude, frequency, phase, and/or envelope shape parameters and which allow the sound samples to be reconstructed. Storing the parameters of sound samples typically requires far less memory than storing the actual sound samples. However, the synthesis of the sound may be computationally burdensome. This is particularly the case when many sets of parameters, representing different sound channels (“voices” in MIDI), have to be synthesized simultaneously (high degree of polyphony). The computational burden typically increases linearly with the number of channels (“voices”) to be synthesized, that is, with the degree of polyphony. This makes it difficult to use such techniques in hand-held devices.
The paper “Parametric Audio Coding Based Wavetable Synthesis” by M. Szczerba, W. Oomen and M. Klein Middelink, Audio Engineering Society Convention Paper No. 6063, Berlin (Germany), May 2004, discloses an SSC (SinusSoidal Coding) wave-table synthesizer. An SSC encoder decomposes the audio input into transients, sinusoids and noise components and generates a parametric representation for each of these components. These parametric representations are stored in a sound bank. The SSC decoder (synthesizer) uses this parametric representation to reconstruct the original audio input. To reconstruct the noise components, the temporal envelopes of the individual sound channels are combined with the respective gains and added, after which white noise is mixed with this combined temporal envelope to produce a temporally shaped noise signal. Spectral envelope parameters of the individual channels are used to produce filter coefficients for filtering the temporally shaped noise signal so as to produce a noise signal that is both temporally and spectrally shaped.
Although this known arrangement is very effective, determining both the temporal envelope and the spectral envelope for many sound channels involves a substantial computational load. In many modern sound systems, 64 sound channels can be used and larger numbers of sound channels are envisaged. This makes the known arrangement unsuitable for use in relatively small devices having limited computing power.
On the other hand there is an increasing demand for sound synthesis in hand-held consumer devices, such as mobile telephones. Consumers nowadays expect their hand-held devices to produce a wide range of sounds, such as different ring tones.
It is therefore an object of the present invention to overcome these and other problems of the Prior Art and to provide a device and a method for synthesizing the noise components of sound, which device and method are more efficient and reduce the computational load.
Accordingly, the present invention provides a device for synthesizing sound represented by sets of parameters, each set comprising noise parameters representing noise components of the sound, the device comprising:
selecting means for selecting a limited number of sets from the total number of sets on the basis of a perceptual relevance value, and
synthesizing means for synthesizing the noise components using the noise parameters of the selected sets only.
By selecting a limited number of parameter sets and using only this limited number of parameters sets for the synthesis, effectively disregarding the remaining sets, the computational load of the synthesis can be significantly reduced. By selecting the sets using a perceptual relevance value, the perceptual effect of not using some sets of parameters is surprisingly small.
It would be expected that using, for example, only five out of 64 sets of parameters would seriously affect the perceived quality of the reconstructed (that is, synthesized) sound. However, the inventors have found that by properly selecting five sets as in the present example, the sound quality is not affected. When the number of sets is further reduced, a degradation of the sound quality results. However, this degradation is gradual and a number of three selected sets may still be acceptable.
The sets of parameters may, in addition to noise parameters representing noise components of the sound, also comprise other parameters representing other components of the sound. Accordingly, each set of parameters may comprise noise parameters and other parameters, such as sinusoidal and/or transient parameters. However, it is also possible for the sets to contain noise parameters only.
It is noted that the selection of sets of noise parameters is preferably independent of any other parameters, such as sinusoids and transients parameters. However, in some embodiments the selecting means are also arranged for selecting a limited number of sets from the total number of sets on the basis of one or more other parameters representing other sound components. That is, any sinusoidal and/or transient component parameters of a set may be involved in, and thereby influence, the selection of noise parameters of the set.
In a preferred embodiment, the device comprises a decision section for deciding which parameter sets to select, and a selection section for selecting parameter sets on the basis of information provided by the decision section. However, embodiments can be envisaged in which the decision section and selection section constitute a single, integral unit. Alternatively, the device may comprise a selection section for selecting parameter sets on the basis of perceptual relevance values contained in the sets of parameters. If the perceptual relevance values, or any other values which may determine the selection without any further decision process, are contained in the sets of parameters, the decision section is no longer required.
The synthesizing device of the present invention may comprise a single filter for spectrally shaping the noise of all selected sets, and a Levinson-Durbin unit for determining filter parameters of the filter, wherein the single filter preferably is constituted by a Laguerre filter. In this way, a very efficient synthesis is achieved.
Advantageously, the device of the present invention may further comprise gain compensation means for compensating the gains of the selected noise components for any energy loss due to any rejected noise components. The gain compensation means allow the total energy of the noise to remain substantially unaffected by the selection process as the energy of any rejected noise components is distributed over the selected noise components.
In addition, the present invention provides an encoding device for representing sound by sets of parameters, each set of parameters comprising noise parameters representing noise components of the sound, the device comprising a relevance detector for providing relevance values representing the perceptual relevance of the respective noise parameters. The relevance parameters are preferably added to the respective sets and may be determined on the basis of perceptual models. The resulting sets of parameters may be reconverted into sound by a synthesizing device as defined above.
The present invention also provides a consumer device comprising a synthesizing device as defined above. The consumer device is preferably but not necessarily portable, still more preferably hand-held, and may be constituted by a mobile (cellular) telephone, a CD player, a DVD player, an MP3 player, a PDA (Personal Digital Assistant) or any other suitable apparatus.
The present invention further provides a method of synthesizing sound represented by sets of parameters, each set comprising noise parameters representing noise components of the sound, the method comprising the steps of:
selecting a limited number of sets from the total number of sets on the basis of a perceptual relevance value, and
synthesizing the noise components using the noise parameters of the selected sets only.
In the method of the present invention, the perceptual relevance value may be indicative of the amplitude of the noise and/or of the energy of the noise.
The sets of parameters may contain only noise parameters, but may also contain other parameters representing other components of the sound, such as sinusoids and/or transients.
The method of the present invention may comprise the further step of compensating the gains of the selected noise components for any energy loss due to any rejected noise components. By applying this step, the total energy of the noise is substantially unaffected by the selection process.
The present invention additionally provides a computer program product for carrying out the method defined above. A computer program product may comprise a set of computer executable instructions stored on an optical or magnetic carrier, such as a CD or DVD, or stored on and downloadable from a remote server, for example via the Internet.
The present invention will further be explained below with reference to exemplary embodiments illustrated in the accompanying drawings, in which:
The noise synthesis device 1 shown merely by way of non-limiting example in
The noise parameters NP may be part of sets S1, S2, . . . , SN of sound parameters, as illustrated in
Each set Si may represent a single active sound channel (or “voice” in MIDI systems).
The selection of noise parameters is illustrated in more detail in
A suitable constituent parameter is a gain gi. In the preferred embodiment, gi is the gain of the temporal envelope of the noise of set Si (see
The decision section 21 decides which noise parameters are to be used for the noise synthesis. The decision is made using an optimization criterion which is applied on the perceptual relevance values, for example finding the five highest gains out of the available gains gi. The corresponding set numbers (for example 2, 3, 12, 23 and 41) are fed to the selection section 22. In some embodiments, selection parameters (that is, relevance values) may already be included in the noise parameters NP. In such embodiments, the decision section 21 may be omitted.
The selection section 22 is arranged for selecting the noise parameters of the sets indicated by the decision section 21. The noise parameters of the remaining sets are disregarded. As a result, only a limited number of noise parameters is passed on to the synthesizing unit (3 in
The inventors have gained the insight that the number of noise parameters used for synthesis can be drastically reduced without any substantial loss of sound quality. The number of selected sets can be relatively small, for example 5 out of a total of 64 (7.8%). In general, the number of selected sets should be at least approximately 4.5% of the total number to prevent any perceptible loss of sound quality, although at least 10% is preferred. If the number of selected sets is further reduced below approximately 4.5%, the quality of the synthesized sound gradually decreases but may, for some applications, still be acceptable. It will be understood that higher percentages, such as 15%, 20%, 30% or 40% may also be used, although this will increase the computational load.
The decision which sets to include and which not, made by the decision section 21, is made on the basis of a perceptual relevance value, for example the amplitude (level) of the noise components, articulation data from the sound bank (controlling the envelope generator, low frequency oscillator, etc.) and information from MIDI data, for example note-on velocity and articulation related controllers. Other perceptual relevance values may also be utilized. Typically, a number of M sets having the largest perceptual values are selected, for example the highest noise amplitudes (or gains).
Additionally, or alternatively, other parameters from each set may be used by the decision section 21. For example, sinusoidal parameters can be used to reduce the number of noise parameters. Using sinusoidal (and/or transient) parameters, a masking curve can be constructed such that noise parameters having an amplitude lower than the masking curve can be omitted. The noise parameters of a set may thus be compared with the masking curve. If they fall below the curve, the noise parameters of the set may be rejected.
It will be understood that the sets Si (
An exemplary embodiment of the synthesis unit 3 of
Temporal envelope generators 311, 312 and 313 receive envelope parameters bi (i=1 . . . M) corresponding with the selected sets Si respectively. In accordance with the present invention, the number M of selected sets is smaller than the number N of available sets. The temporal envelope parameters bi define temporal envelopes which are output by the generators 311-313. Multipliers 331, 332 and 333 multiply the temporal envelopes by respective gains gi. The resulting gain adjusted temporal envelopes are added by an adder 341 and fed to a further multiplier 339, where they are multiplied with (white) noise generated by noise generator 350. The resulting noise signal, which has been temporally shaped but typically has a virtually uniform spectrum, is fed to an (optional) overlap-and-add circuit 360. In this circuit, the noise segments of subsequent time frames are combined to form a continuous signal which is fed to the filter 390.
As mentioned above, the gains g1 to gM correspond with the selected sets. As there are N available sets, the gains gM+1 to gN correspond with the rejected sets. In the preferred embodiment illustrated in
Accordingly, the embodiment of
It will be understood that the adder 343, the scaling unit 349 and the adders 334, 335, . . . are optional and that in other embodiments these units may not be present. The scaling unit 349, if present, may alternatively be arranged between the adder 341 and the multiplier 339.
The filter 390, which in the preferred embodiment is a Laguerre filter, serves to spectrally shape the noise signal. Spectral envelope parameters ai, which are derived from the selected sets Si, are fed to autocorrelation units 321 which calculate the autocorrelation of these parameters. The resulting autocorrelations are added by an adder 342 and fed to a unit 370 to determine the filter coefficients of the spectral shaping filter 390. In the preferred embodiment, the unit 370 is arranged for determining filter coefficients in accordance with the well-known Levinson-Durbin algorithm. The resulting linear filter coefficients are then converted into Laguerre filter coefficients by a conversion unit 380. The Laguerre filter 390 is then used to shape the spectral envelope of the (white) noise.
Instead of determining an autocorrelation function of each group of parameters ai, a more efficient method is used. The power spectra of the selected sets (that is, of the selected active channels or “voices”) are calculated and then an auto-correlation function is computed by inversely Fourier transforming the summed power spectra. The resulting auto-correlation function is then fed to the Levinson-Durbin unit 370.
It will be understood that the parameters ai, bi, gi and λ are all part of the noise parameters denoted NP in
A sound synthesizer in which the present invention may be utilized is schematically illustrated in
The synthesizer 5 may be part of an audio (sound) decoder (not shown). The audio decoder may comprise a demultiplexer for demultiplexing an input bit stream and separating out the sets of transients parameters (TP), sinusoidal parameters (SP), and noise parameters (NP).
The audio encoding device 6 shown merely by way of non-limiting example in
In the first stage, any transient signal components in the audio signal s(n) are encoded using the transients parameter extraction (TPE) unit 61. The parameters are supplied to both a multiplexing (MUX) unit 68 and a transients synthesis (TS) unit 62. While the multiplexing unit 68 suitably combines and multiplexes the parameters for transmission to a decoder, such as the device 5 of
In the second stage, any sinusoidal signal components (that is, sines and cosines) in the intermediate signal are encoded by the sinusoids parameter extraction (SPE) unit 64. The resulting parameters are fed to the multiplexing unit 68 and to a sinusoids synthesis (SS) unit 65. The sinusoids reconstructed by the sinusoids synthesis unit 65 are subtracted from the intermediate signal at the second combination unit 66 to yield a residual signal.
In the third stage, the residual signal is encoded using a time/frequency envelope data extraction (TFE) unit 67. It is noted that the residual signal is assumed to be a noise signal, as transients and sinusoids are removed in the first and second stage. Accordingly, the time/frequency envelope data extraction (TFE) unit 67 represents the residual noise by suitable noise parameters.
An overview of noise modeling and encoding techniques according to the Prior Art is presented in Chapter 5 of the dissertation “Audio Representations for Data Compression and Compressed Domain Processing”, by S. N. Levine, Stanford University, USA, 1999, the entire contents of which are herewith incorporated in this document.
The parameters resulting from all three stages are suitably combined and multiplexed by the multiplexing (MUX) unit 68, which may also carry out additional coding of the parameters, for example Huffman coding or time-differential coding, to reduce the bandwidth required for transmission.
It is noted that the parameter extraction (that is, encoding) units 61, 64 and 67 may carry out a quantization of the extracted parameters. Alternatively or additionally, a quantization may be carried out in the multiplexing (MUX) unit 68. It is further noted that s(n) is a digital signal, n representing the sample number, and that the sets Si(n) are transmitted as digital signals. However, may also be applied to analog signals.
After having been combined and multiplexed (and optionally encoded and/or quantized) in the MUX unit 68, the parameters are transmitted via a transmission medium, such as a satellite link, a glass fiber cable, a copper cable, and/or any other suitable medium.
The audio encoding device 6 further comprises a relevance detector (RD) 69. The relevance detector 69 receives predetermined parameters, such as noise gains gi (as illustrated in
Although the relevance detector (RD) 69 is shown in
The audio encoding device 6 of
The synthesizing device of the present invention may be utilized in portable devices, in particular hand-held consumer devices such as cellular telephones, PDAs (Personal Digital Assistants), watches, gaming devices, solid-state audio players, electronic musical instruments, digital telephone answering machines, portable CD and/or DVD players, etc.
From the above it will be clear that the present invention also provides a method of synthesizing sound represented by sets of parameters, wherein each set of parameters comprises both noise parameters representing noise components of the sound and optionally also other parameters representing other components, such as transients and/or sinusoids. The method of the present invention essentially comprises the steps of:
selecting a limited number of sets from the total number of sets on the basis of a perceptual relevance value, and
synthesizing the noise components using the noise parameters of the selected sets only.
The method of the present invention may additionally comprise the optional step of compensating the gains of the selected noise components for any energy loss caused by rejecting noise components. Further optional method steps can be derived from the description above.
Additionally, the present invention provides an encoding device for representing sound by sets of parameters, each set of parameters comprising noise parameters representing noise components of the sound and preferably also transients and/or sinusoids parameters, the device comprising a relevance detector for providing relevance values representing the perceptual relevance of the respective noise parameters.
The present invention is based upon the insight that selecting a limited number of sound channels when synthesizing noise components of sound may result in virtually no degradation of the synthesized sound. The present invention benefits from the further insight that selecting the sound channels on the basis of a perceptual relevance value minimizes or eliminates any distortion of the synthesized sound.
It is noted that any terms used in this document should not be construed so as to limit the scope of the present invention. In particular, the words “comprise(s)” and “comprising” are not meant to exclude any elements not specifically stated. Single (circuit) elements may be substituted with multiple (circuit) elements or with their equivalents.
It will be understood by those skilled in the art that the present invention is not limited to the embodiments illustrated above and that many modifications and additions may be made without departing from the scope of the invention as defined in the appending claims.
Number | Date | Country | Kind |
---|---|---|---|
05100948 | Feb 2005 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB2006/050338 | 2/1/2006 | WO | 00 | 9/11/2007 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2006/085244 | 8/17/2006 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
4942799 | Suzuki | Jul 1990 | A |
5029509 | Serra et al. | Jul 1991 | A |
5220629 | Kosaka et al. | Jun 1993 | A |
5248845 | Massie et al. | Sep 1993 | A |
5401897 | Depalle et al. | Mar 1995 | A |
5686683 | Freed | Nov 1997 | A |
5698807 | Massie et al. | Dec 1997 | A |
5744742 | Lindemann | Apr 1998 | A |
5763800 | Rossum et al. | Jun 1998 | A |
5880392 | Wessel et al. | Mar 1999 | A |
5886276 | Levine | Mar 1999 | A |
5900568 | Abrams | May 1999 | A |
5920843 | Fay | Jul 1999 | A |
5977469 | Smith | Nov 1999 | A |
6240386 | Thyssen et al. | May 2001 | B1 |
6675144 | Tucker et al. | Jan 2004 | B1 |
6919502 | Yamamoto | Jul 2005 | B1 |
7259315 | Tamura et al. | Aug 2007 | B2 |
7319756 | Oomen et al. | Jan 2008 | B2 |
20010027392 | Wiese, Jr. | Oct 2001 | A1 |
20020053274 | Yahata | May 2002 | A1 |
20020154774 | Oomen et al. | Oct 2002 | A1 |
20020156619 | Van De Kerkhof et al. | Oct 2002 | A1 |
20050004791 | Van De Kerkhof | Jan 2005 | A1 |
20050021328 | Van De Kerkhof et al. | Jan 2005 | A1 |
20060149532 | Boillot et al. | Jul 2006 | A1 |
20070124136 | Den Brinker et al. | May 2007 | A1 |
20080052783 | Levy | Feb 2008 | A1 |
20090308229 | Szczerba et al. | Dec 2009 | A1 |
Number | Date | Country |
---|---|---|
200011649 | Mar 2000 | WO |
Number | Date | Country | |
---|---|---|---|
20080184871 A1 | Aug 2008 | US |