<br><br><div class="gmail_quote">On Tue, Apr 26, 2011 at 9:36 PM, andy baxter <span dir="ltr">&lt;<a href="mailto:andy@earthsong.free-online.co.uk">andy@earthsong.free-online.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

I have a signal from a Supercollider program which goes into jack. I want to adjust the signal level so it&#39;s as loud as possible without clipping. Could someone tell me what is the loudest sound that doesn&#39;t get clipped in dB, as measured by ardour or meterbridge for example?<br>
</blockquote><div><br>To be nasty, 0dBFS... but that&#39;s not the answer you&#39;re looking for. JACK&#39;s audio is floating-point between -1 -&gt; 1.<br>Hence outputting all 0&#39;s is silence. If you scale your output to be between -1, 1 then you&#39;ve got what you want.<br>
<br>Note that inter-sample peaks in high frequencies will still go beyond your DAC&#39;s range, so there might be clipping in hardware... but I&#39;m not too certain in that field.<br><br>Cheers, -Harry<br></div></div>