<div dir="ltr"><font size="1">"<i>IEEE-754 (which defines the exact format of single/double precision</i><i><br>floating point values as used by most systems) uses 24bits for the<br>significand, which will correspond to 24bit fixed point around the<br>values +-1., but will already correspond to 25bit fixed point around the<br></i><i>values +-0.5 and so on.</i>"</font><br><div><font size="1"><br></font></div><div>I'm not sure if I got this, but this is the kind of information I'm after. </div><div><br></div><div>It's clear to me that the resolution for audio streams sent from pd (with values between -1 and 1) can't be considered as "32 bits". My guess is that it'd be more like 24 bit precision or around that, considering most top notch audio cards only deal with 24 bit audio. </div><div><br></div><div>Does your answer state that audio in Pd is 24 bits? </div><div><br></div><div>Obviously, the actual resolution depends on the audio card. Which also makes me wonder how does the downscale/bit reduction work if, say, it's only a cheap 8 bit audio card, or 16 bits. I assume it's up to the audio card and audio driver, not Pd at all.</div><div><br></div><div>Cheers</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-22 15:30 GMT-03:00 IOhannes m zmölnig <span dir="ltr"><<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 04/22/2015 07:26 PM, Alexandre Torres Porres wrote:<br>
> Now, output audio values<br>
> is actually just from -1 to 1,<br>
<br>
</span>where did you get that from?<br>
there is no -1/+1 in "audio".<br>
<br>
instead "audio" will have many different values (and units), including:<br>
- sound-pressure in the air (hmm, hard to make any actual numbers)<br>
- voltage at your sound-card output (+- 1V, depending on the line level<br>
in use)<br>
- digital values fed to your soundcard (depending on the the bit<br>
resolution of your soundcard, this might be +-32768 (16bit) or +-8388608<br>
(24bit))<br>
- digital values output by Pd (many audio backends (e.g. jack) will use<br>
floating point as their intermediate format)<br>
<br>
<br>
now your question really only makes sense when you consider fixed-point<br>
values such as used by your typical soundcard (where you divide a range<br>
(e.g. +-1) into N equally small fractions (e.g. 1/32678 steps)<br>
<br>
but Pd uses floating point arithmetic, which does not have equal<br>
fractions but fractions depending on the current range of the value.<br>
so the quantization steps are rather largish when it comes to bigger<br>
numbers, but can be *very* small when it comes to small numbers.<br>
<br>
IEEE-754 (which defines the exact format of single/double precision<br>
floating point values as used by most systems) uses 24bits for the<br>
significand, which will correspond to 24bit fixed point around the<br>
values +-1., but will already correspond to 25bit fixed point around the<br>
values +-0.5 and so on.<br>
<br>
<br>
gfmsrd<br>
<span class="HOEnZb"><font color="#888888">IOhannes<br>
<br>
</font></span><br>_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>