<div dir="ltr">According to Wikipedia<br><div><br></div><div>"as of 2007 digital audio converter technology is limited to a SNR of about 124 dB (21-bit) because of real-world limitations in integrated circuit design. Still, this approximately matches the performance of the human auditory system"<br></div><div><br></div><div><a href="http://en.wikipedia.org/wiki/Audio_bit_depth#Floating_point">http://en.wikipedia.org/wiki/Audio_bit_depth#Floating_point</a><br></div><div><br></div><div>So, yeah, apparently there's no circuitry technology to go anywhere near 32 bit, so a 32 bit DAC seems weird and pointless...</div><div><br></div><div>I guess a good way to approach this issue I raised is to be able to define what is the internal dynamic range in Pd for values between -1 and 1.</div><div><br></div><div>cheers</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-23 15:02 GMT-03:00 Alexandre Torres Porres <span dir="ltr"><<a href="mailto:porres@gmail.com" target="_blank">porres@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:12.8000001907349px">WOW... I just learned something important! So, my whole point here was that <span style="font-size:12.8000001907349px">I had the idea that DAWs like Ardour support 32-bit considering only values from -1 to 1. But that is just wrong!</span></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I just learned you can put a sound file with values in the hundreds / thousands in 32 bit float, load them into your DAW, and scale it down.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">I tried it by creating a sine wave in Pd with values from -100 to 100, exported as 32-bit float with writesf~, loaded into soundforge, then scaled it down 40 dB, and the sine wave was there!</span><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">So yeah, Pd's audio resolution is the same as DAW which say they handle 32-bit float sound files. My whole issue was that Pd had a different way of dealing with 32-bit float, but not at all. In Principle, other softwares out there also deal with 32-bit float outside the boundaries of -1 to 1!!!</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">That just answers my question then... once and for all and for good.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I guess the discussion I ended up promoting is a parallel issue... let me rephrase it then. </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Regarding 24 bit DAC converters in sound cards, the 24 bits in there are just for values from -1 to 1, right?</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">If so, then 32 bit float isn't really "8 more bits". And you've been also saying 24 bit converters are fixed, not float. So there's a weird relationship between this conversion from 32 bit float files to the soundcard.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">But then, I guess I'm happy with all I've learned so far.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">thanks</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-23 13:26 GMT-03:00 Jamie Bullock <span dir="ltr"><<a href="mailto:jamie@jamiebullock.com" target="_blank">jamie@jamiebullock.com</a>></span>:<div><div class="h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><p style="color:#000">On 22 April 2015 at 19:44:26, William Huston (<a href="mailto:williamahuston@gmail.com" target="_blank">williamahuston@gmail.com</a>) wrote:</p> <blockquote type="cite"><span><div><div></div><div>






On Wednesday, April 22, 2015, Jamie Bullock <<a href="mailto:jamie@jamiebullock.com" target="_blank">jamie@jamiebullock.com</a>>
wrote:<br>
><br>
> Pd is 32-bit *floating point*, so you have 32-bit resolution
between -1 and 1.<br>
<br>
I don't think that's right.<br>
<br>
The range of a single precision floating point number is from<br>
<br>
-3.4028234 × 10E38 to 3.4028234 × 10E38 (not from -1 to 1)<br>
<br></div></div></span></blockquote><div><br></div></span><div>True, but I didn’t say the range of 32-bit float was -1 to 1!</div><span><br><blockquote type="cite"><span><div><div>
There are only 23 bits of precision for the mantissa + 1 for sign
in a single precision float.<br><br>


</div></div></span></blockquote><br></span><div>Also true, but when I said “resolution” I didn’t mean “precision”. Because the exponent can be negative, resolution scales dynamically from 1..0 according to the value of the exponent, whilst precision stays fixed according to the number of bits in the mantissa. Thus for very small values the resolution (or quantisation step size) is far finer than can be represented with the mantissa alone. </div><div><br></div><div>What I was trying to put across (poorly!) in my original reply is that unlike fixed point where for lower order values fewer bits are available in the binary representation, with floating point, just because e.g. -1..1 is a smaller range than -3.4 x 10E38..3.4 x 10E38 it doesn’t imply “fewer are bits available”, e.g.</div><div><br></div><div>Sign<span style="white-space:pre-wrap">             </span>Exponent<span style="white-space:pre-wrap">                </span>Mantissa</div><div>0 <span style="white-space:pre-wrap">               </span>01111110  <span style="white-space:pre-wrap">     </span>11111111111111111111111 <span style="white-space:pre-wrap">        </span>-> 0.99999994</div><div>0 <span style="white-space:pre-wrap">               </span>00000001 <span style="white-space:pre-wrap">       </span>11111111111111111111111 <span style="white-space:pre-wrap">        </span>-> 2.3509886E-38</div><div>1<span style="white-space:pre-wrap">            </span>01000000        0000000000000000000000<span style="white-space:pre-wrap">      </span>-> -1.0842022E-19</div><div>1              011111110        0000000000000000000000<span style="white-space:pre-wrap">    </span>-> -1.0</div><div><br></div><div>Strictly speaking, I guess only 31 bits “count” in the range -1..1 due to a maximum of 7-bits being significant in the exponent.</div><div><br></div><div>best,</div><div><br></div><div>Jamie</div></div></blockquote></div></div></div><br></div>
</blockquote></div><br></div>