[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] End to end amplitude control and system headroom?



On Jul 27, 2009, at 9:54 AM, Philip Galanter wrote:


When I recently changed a synth to use sampled sound via PlayBuf rather than oscillators I noticed a significant drop in overall loudness. There are a lot of reasons why that might happen but it leads me to a couple general questions regarding Supercollider.

First, I didn't see Buffer.read documented in terms of which audio file formats are supported. Right now I'm using mono 24-bit 44,100 samples/sec .aif files. Any worries there? It seems to work but the loudness thing has me wondering.

No

Also, what is the bit depth (floating point?) and sample rate of the server itself? Should I try to match sample files to that?

32 bit floats, sample rate is the sr of the computer or device you are running SC with. No worries there either. libsndfile converts anything it imports (16bit ints, 24bit ints, 32 bit floats) into the format needed for SC (32 bit floats)

Finally, if I have samples that use the full available range, and then use a factor of 1.0 where there is any kind of amplitude scaling, should I expect that the sound ultimately coming out of the DAC at the end will also be full range without clipping? Or does the system reserve some headroom in a way I should be aware of?

No - there isn't any headroom in the system that I know of. 1 in should give 1 out.

Thanks (again) for help with these beginner-like questions. There is a lot of SC documentation out there, but finding the right page isn't always so easy.

Best,

Josh

Phil

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/

******************************************
/* Joshua D. Parmenter
http://www.realizedsound.net/josh/

“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono
*/


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/