| If there is a dependency on an fixed 0dbfs value in the internal
calculation of "compress", I think it would be an easy workaround to
pass the necessary 0dbfs value as an additional, optional parameter
which defaults to 32768. If done in that way, existing orchestra code
wouldn't be affected.
Best,
Jana
Am 29.07.2010 11:21, schrieb joachim heintz:
> hi -
>
> i just saw that the compress opcode just works with 0dbfs=32768
> (example below).
> is it easy to change the code to accept any 0dbfs value?
> if not, we should add an information on the manual page.
>
> joachim
>
>
>
>
>
> sr = 44100
> ksmps = 32
> nchnls = 1
> 0dbfs = 1; change to 32768
> instr 1
> asig soundin "fox.wav"
> acmpr compress asig, asig, 0, 48, 60, 1, .01, .1, .05
> out acmpr
> endin
>
>
> i 1 0 3
> e
>
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |