[PD] Dynamic range question

Miller Puckette mpuckett at man104-1.ucsd.edu
Fri Apr 29 19:52:40 CEST 2005

I think FP binary saving/restoring will make an exact reproduction of the
table, as long as table elements remain single precision.

I think you can also store 32 bit numbers in .wav files. This is an
unofficial extension of the "wav" format that seems to have been introduced
by Microsoft and is supported by some other software (audacity?)


AIFF format, but 

On Fri, Apr 29, 2005 at 07:42:36PM +0200, IOhannes m zmoelnig wrote:
> Jamie Bullock wrote:
> > So if I write a 32-bit floating point sound file to an array in PD the
> > visualisation is -1 to +1, but the data is still stored internally as
> > 32-bit?
> > 
> this depends on how you store the data: fixed-point formats will clip
> your data to -1..+1
> for floating point soundfiles, i guess it depends on the actual format
> you are using (but i am no expert here)
> i just tried to store a table with a maximum sample value of 2.9199 with
> the soundfile-object as 4byte floating-point (-nextstep -bytes 4), and
> lo and behold! the file restores to the exact values (maximum 2.9199)
> at least the arrays look the same, i haven't done any scientific
> comparision...
> mfg..wta.cwe
> IOhannes
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

More information about the Pd-list mailing list