Audio rendering of an electromagnetic metal detection signal
A method includes compressing the dynamic range of the target detection signal so as to correspond to the desired dynamic range ( 60 ) of the audio signal ( 81 ) that is generated in order to acoustically render this detection signal to the user, so that the quietest signals are audible, the loudest signals do not cause hearing damage for the user, and that the sound volume is able to be perceived gradually for the intermediate-level signals. This avoids losing variations in the detection signal that are below the audibility threshold ( 63 ) and clipping them above a maximum hearing comfort threshold ( 64 ) in the corresponding audio signal ( 71 ) that would be generated according to the prior art.
1 . A method for generating an audio signal suitable for the acoustic rendering, to the user of a portable metal detection apparatus, using at least one electroacoustic transducer, of an electromagnetic target detection signal the amplitude of which may vary with a determined amplitude dynamic range, the method comprising the following steps:
reducing the amplitude dynamic range of the detection signal so that it corresponds to a desired dynamic range of the audio signal, said amplitude dynamic range applied to the detection signal being the difference between the lowest amplitude and the highest amplitude of said detection signal; and
generating the audio signal on the basis of the detection signal with the reduced dynamic range,
wherein:
reducing the dynamic range of the detection signal comprises:
clipping the detection signal on the basis of a determined detection threshold; said clipping the detection signal comprising clipping said detection signal below the detection threshold;
applying, to the clipped detection signal, an overall determined dynamic range compression rate, between 0 and 1, which depends on the ratio between the dynamic range of the detection signal and the desired dynamic range of the audio signal; and
shifting the compressed detection signal so as to set a desired minimum level of the audio signal; and in that
applying an overall dynamic range compression rate to the clipped detection signal comprises segmenting the dynamic range of the detection signal into a plurality of separate portions, and also applying respective local dynamic range modification rates to different portions of the clipped detection signal.
2 . The method according to claim 1 , wherein at least one local dynamic range modification rate is greater than or equal to unity.
3 . The method according to claim 1 , wherein the detection threshold and/or the value corresponding to the desired minimum level of the audio signal are programmable.
4 . The method according to claim 1 , wherein generating the audio signal comprises generating an acoustic signal having a fundamental component of a determined level, and modulating said acoustic signal with the compressed and shifted detection signal.
5 . The method according to claim 1 , wherein reducing the dynamic range of the received detection signal furthermore comprises, after clipping the detection signal but before applying the overall dynamic range compression rate to the clipped detection signal, half-wave rectification of said clipped detection signal.
6 . The method according to claim 1 , wherein some portions of the dynamic range of the detection signal are defined by linear segments.
7 . The method according to claim 6 , wherein generating the audio signal furthermore comprises changing the timbre of the acoustic signal between two respective portions of the dynamic range of the detection signal.
8 . The method according to claim 7 , wherein the change in timbre of the acoustic signal between two contiguous portions of the dynamic range of the detection signal is gradual from one to the other.
9 . The method according to claim 1 , further comprising, before the step of reducing the dynamic range of the detection signal, logarithmic conversion of said detection signal on a logarithmic scale,
and wherein applying the overall dynamic range compression rate to the clipped detection signal or applying a local dynamic range modification rate to a determined portion of the clipped detection signal comprises multiplying said clipped detection signal or said clipped detection signal portion, respectively, by said overall dynamic range compression rate or by said local dynamic range modification rate, respectively.
10 . The method according to claim 9 , further comprising, after reducing the dynamic range of the detection signal and before generating the audio signal, inverse conversion of the logarithmic conversion of the received detection signal in order to return the dynamic range of the compressed and shifted detection signal to a linear scale.
11 . The method according to claim 9 , wherein said method further comprises:
shifting the compressed detection signal comprises adding a value corresponding to a desired minimum level of the audio signal.
12 . A non-transitory computer-readable storage medium, comprising:
instructions for execution on a computer with a data processor, said data processor configured to generate an audio signal suitable for acoustic rendering, to a user of a portable metal detection apparatus, using at least one electroacoustic transducer, of an electromagnetic target detection signal the amplitude of which may vary with a determined amplitude dynamic range by:
reducing the amplitude dynamic range of the detection signal so that it corresponds to a desired dynamic range of the audio signal, said amplitude dynamic range applied to the detection signal being the difference between the lowest amplitude and the highest amplitude of said detection signal; and
generating the audio signal on the basis of the detection signal with the reduced dynamic range,
wherein:
reducing the dynamic range of the detection signal comprises:
clipping the detection signal on the basis of a determined detection threshold; said clipping the detection signal comprising clipping said detection signal below the detection threshold;
applying, to the clipped detection signal, an overall determined dynamic range compression rate, between 0 and 1, which depends on the ratio between the dynamic range of the detection signal and the desired dynamic range of the audio signal; and shifting the compressed detection signal so as to set a desired minimum level of the audio signal; and in that
applying an overall dynamic range compression rate to the clipped detection signal comprises segmenting the dynamic range of the detection signal into a plurality of separate portions, and also applying respective local dynamic range modification rates to different portions of the clipped detection signal.
13 . A portable metal detection apparatus comprising a non-transitory computer-readable storage medium, with instructions for execution on a computer with a data processor, said data processor configured to generate an audio signal suitable for acoustic rendering, to a user of a portable metal detection apparatus, using at least one electroacoustic transducer, of an electromagnetic target detection signal the amplitude of which may vary with a determined amplitude dynamic range by:
reducing the amplitude dynamic range of the detection signal so that it corresponds to a desired dynamic range of the audio signal, said amplitude dynamic range applied to the detection signal being the difference between the lowest amplitude and the highest amplitude of said detection signal; and
generating the audio signal on the basis of the detection signal with the reduced dynamic range,
wherein:
reducing the dynamic range of the detection signal comprises:
clipping the detection signal on the basis of a determined detection threshold; said clipping the detection signal comprising clipping said detection signal below the detection threshold;
applying, to the clipped detection signal, an overall determined dynamic range compression rate, between 0 and 1, which depends on the ratio between the dynamic range of the detection signal and the desired dynamic range of the audio signal; and
shifting the compressed detection signal so as to set a desired minimum level of the audio signal; and in that
applying an overall dynamic range compression rate to the clipped detection signal comprises segmenting the dynamic range of the detection signal into a plurality of separate portions, and also applying respective local dynamic range modification rates to different portions of the clipped detection signal.