oh oh oh, this is perfect, I am sure I did test this a while back, and I did not get it to work this way. I must have been very tired at the time. Sorry for the noise. Oeyvind 2008/4/29, victor : > But they do. Or I did not understand your question. > > ampdbfs(0) = = 0dbfs > > eg.: > > 0dbfs = 1 > > instr 1 > print ampdbfs(-6) > endin > > results in > > instr 1: #i0 = 0.501 > > Victor > > > ----- Original Message ----- From: "Oeyvind Brandtsegg" > To: > Sent: Tuesday, April 29, 2008 8:32 AM > Subject: [Csnd] Re: Questions about dB opcodes > > > > > I have been wondering about this too (the dbfs opcodes range/resolution). > > I think it would be very useful if the dbfs opcodes ranges could be > > set automatically by the use of 0dbfs. > > > > Oeyvind > > > > 2008/4/29, David Akbari : > > > > > Hi List, > > > > > > I'm wondering what type of dB the opcode ampdb reports in? Is it dB SPL? > > > > > > Also, are the opcodes that include "fs" in their titles (eg. dbfsamp, > > > ampdbfs) normalized to 24 bit in Csound 5 or do they always assume 16 > > > bits of possible amplitude values? > > > > > > > > > > > > Thank you for your time and consideration, > > > > > > David Akbari > > > > > > > > > Send bugs reports to this list. > > > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe > csound" > > > > > > > > > > > > Send bugs reports to this list. > > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe > csound" > > > > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe > csound" >