Re: Dynamic Range Management

Steve Lhomme <[email protected]> Tue, 27 May 2003 00:04:03 +0200
Newsgroups gmane.comp.audio.mpc.devel
Message-ID <[email protected]>
Frank Klemm wrote:
>>You mean we could add DRC to MP3 this way ? 
>>
> 
> To any file format, also pure PCM. Losslessly.
> You have metadata in MATROSKA which postprocess the audio data
> between native decoder and User API.

Yes, but we have no idea, on the matroska side, of how many samples are 
in a frame... So as you seemed to imply, it's on a fixed number of 
samples, we might not be able to support it...

>>I dont understand how this could be done at all ?
> 
> Additional layer between native decoder and API.
> 
> 
> native decoder (float)
>     |
>     V
>    DRC (float)
>     |
>     V
>  Quantizer (int8...int24, float)
>     |
>     V
>    API

Why do you need a quantizer after the DRC ?
The API is the audio "renderer" ?

>>Note that it will be hard, at least on DirectShow, 
>>to add another filter *AFTER* the MP3 decoder, to alter the DRC.
>>
> 
> Bad design of DirectShow?

No, it's possible. But tricky...

http://mpc.corecodec.org