| thank you,
just for feedback: I had time now to download and compile the git version. I can confirm - the compress opcode works now nicely wit 0dbfs=1 too (at least in double precision version, but hardly there is any difference with floats).
thanks and greetings,
tarmo
On Saturday 02 July 2011 19:23:07 Victor Lazzarini wrote:
> This is fixed now in GIT.
>
> Victor
> On 2 Jul 2011, at 14:17, Tarmo Johannes wrote:
>
> > Hello,
> >
> > I filed also a bug https://sourceforge.net/tracker/?func=detail&aid=3349333&group_id=81968&atid=564599john
> > but just for any case I write it also here:
> >
> > if you want to use compress opcode as a limiter and you have 0dbfs
> > set to 1, it does not work.
> >
> > There is the test code:
> >
> >
> >
> >
> >
> >
> > sr = 44100
> > ksmps = 10
> > nchnls = 1
> > 0dbfs = 32767 ;1
> >
> > instr 1
> > imaxamp=1.5 * 0dbfs
> > print imaxamp
> > kamp linseg 0, p3/2, imaxamp, p3/2,0
> > asine oscil kamp,220,1
> >
> > acomp compress asine,asine, 0,89,89, 100, 0.01, 0.1, 0.05
> > out acomp
> > endin
> >
> >
> >
> > f 1 0 2048 10 1 0.9 0.8 0.7
> >
> > i 1 0 5
> >
> >
> >
> >
> > if 0dbfs is set to 1, the result is:
> >
> > overall amps: 1.49972
> > overall samples out of range: 9763
> >
> > if to 32767:
> > overall amps: 31815.2
> > overall samples out of range: 0
> >
> >
> > I personally like the 0dbfs = 1 ideology very much. Hopefully it
> > will be possible to use also with compress soon.
> >
> > greetings!
> > tarmo
> >
> > Csound 5.13.0 double precision
> > openSuse Linux 11.3
> >
> >
> > Send bugs reports to the Sourceforge bug tracker
> > https://sourceforge.net/tracker/?group_id=81968&atid=564599
> > Discussions of bugs and features can be posted here
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body
> > "unsubscribe csound"
> >
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|