The invention pertains to a method for rendering a music signal compatible with a discontinuous transmission codec, such as is found in telecommunications networks, in particular networks using the Internet protocol. A codec has the particular function of converting an audio signal into a digital signal. Some codecs are called discontinuous transmission codecs because they include a voice activity detector which detects the period of silence and prevents the encoding of the audio signal during these periods of silence. Thus, the use of resources to transmit data which actually represents only background noise is avoided. More precisely, a brief indication of silence is transmitted, which orders, in the remote decoder, the production of an artificial noise, for the listener's comfort.
If it is desired to transmit a music signal within an audio channel which goes through such a discontinuous transmission codec, the music signal is interrupted every time that a drop in amplitude is interpreted as silence by the voice activity detection circuit. Such a codec is therefore incompatible with the transmission of a music signal. This is very bothersome if it is desired to transmit music during an advertising message, or while a user is on hold, for example.
One known solution consists of commanding the codec from the application that is to produce a music signal, so as to inhibit the detection of periods of silence while that application is sending a music signal to the codec. However, this solution is only applicable if the application which produces the music signal can send such a command signal to the codec. This is not possible if the codec is remote.
The purpose of the invention is to render a music signal compatible with a discontinuous transmission codec, even if the application which produces that signal is not capable of inhibiting within that codec the detection of the periods of silence while that application is sending a music signal to the codec.
The object of the invention is a method for rendering a music signal compatible with a discontinuous transmission codec, comprising the steps of:
The method thereby characterized renders a music signal compatible with a discontinuous transmission codec because the final signal still has sufficient amplitude not to be detectable as silence by a discontinuous transmission codec.
Another object of the invention is a device for rendering a music signal compatible with a discontinuous transmission codec, which comprises means for implementing the inventive method.
The invention will be better understood and other characteristics will become apparent with the help of the description below and the accompanying figures:
During a period of silence S, the final signal SF1 is obtained by replacing the initial signal SI (background noise) with the auxiliary signal SA1 which is preferably a sine wave signal of a predetermined amplitude that is low compared to the amplitude of the initial signal SI, and a fixed frequency, equal to 2100 Hz plus or minus 15 Hz (the signal conventionally used to block an echo canceller). In another example, the frequency used is equal to 2093 Hz and corresponds to the musical note MI in the seventh octave. The auxiliary signal SA1 is produced by conventional means, for example a signal processor running a conventional program.
During the period of silence S, the final signal SF2 is obtained by replacing the initial signal SI (background noise) with the auxiliary signal SA2 which is preferentially a sine wave signal whose amplitude is low compared to the initial signal SI, and whose frequency is variable, equal to 1/T where T is the fundamental frequency period of the initial signal SI just before the period of silence S.
This frequency is determined conventionally by a signal processor, by means of a Fourrier transform. Next, this processor produces a sine wave signal at that frequency, by running a conventional program. This auxiliary signal SA2 replaces the initial signal SI during the periods of silence.
According to another embodiment, the auxiliary signal is a periodic signal, but not a sine wave signal, which is the sum of multiple sine wave signals, each one having a low amplitude compared to the initial signal SI, and frequencies respectively equal to multiples of 1/T:
1/T, 2/T, 3/T, etc.
During the period of silence S, the final signal SF3 is obtained by replacing the initial signal SI (background noise) with an auxiliary signal which is preferentially equal to the initial signal SI, just before the period of silence S, but with a greatly reduced amplitude. According to one embodiment, this auxiliary signal is determined by recording the initial signal SI in a sliding time window, and by extracting from this recording a music signal period AB, occurring just before the period of silence S. When a period of silence S is detected, the music signal period AB is determined just before the period of silence S in the recording by detecting two successive passes through zero, in a conventional manner, by a signal processor. Next, this processor rereads the recording of the period AB repeatedly, and plays it back with a reduced amplitude, in order to fill the entire period of silence S.
According to another embodiment, the auxiliary signal SA3 is obtained by running the initial signal SI through a conventional reverberation circuit, the reverberation duration being chosen as greater than the maximum duration of the periods of silence. This auxiliary signal SA3 replaces the initial signal SI during the periods of silence.
In all of these embodiments, the auxiliary signal has an amplitude less than that of the initial signal SI, outside of the periods of silence, but one high enough to not be detectable as silence, by a discontinuous transmission codec. The relative level of the auxiliary signal may, for example, be −31 dB.
The initial signal SI is applied to an input of the device DPS for detecting a period of silence, to an input of the device DPA for producing an auxiliary signal, and to the first input of the switching device C. An output of the device DPS for detecting a period of silence is connected to the input of the command of the switching device C. An output of the device DPA for producing an auxiliary signal is connected to the second input of the device DPS for detecting a period of silence. The output of the switching device C constitutes the output which provides a final signal SF.
When the device DPS for detecting a period of silence does not detect a period of silence, it orders the switching device C to transmit the initial signal SI to the output of the device DCOMP.
When the device DPS for detecting a period of silence detects a period of silence, it orders the switching device C to transmit the auxiliary signal to the output of the device DCOMP throughout the duration of the entire period of silence.
These devices DPS and DPA may be constructed in the form of a signal processor equipped with a program, or in the form of cabled circuits. The device for producing an auxiliary signal comprises means for implementing one of the variants of the inventive method, as described above.
Number | Date | Country | Kind |
---|---|---|---|
09 55963 | Sep 2009 | FR | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2010/060455 | 7/20/2010 | WO | 00 | 2/28/2012 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2011/026685 | 3/10/2011 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
6633841 | Thyssen | Oct 2003 | B1 |
8538565 | Kawakami et al. | Sep 2013 | B2 |
20050250554 | Chen et al. | Nov 2005 | A1 |
20080008298 | Kirla | Jan 2008 | A1 |
Number | Date | Country |
---|---|---|
WO-0109878 | Feb 2001 | WO |
WO-2008003834 | Jan 2008 | WO |
Entry |
---|
International Search Report. |
Number | Date | Country | |
---|---|---|---|
20120158164 A1 | Jun 2012 | US |