[PD] Dynamic range question

Jamie Bullock jamie at postlude.co.uk
Fri Apr 29 20:17:19 CEST 2005


Thanks Miller, Iohannes,

That is exactly the info I wanted. I am about to batch process a _lot_
of sound files using PD and a few other apps, and I wanted to be sure
that the bit resolution (32-bit sinlge) was being preserved throughout
the process.

Jamie


On Fri, 2005-04-29 at 10:52 -0700, Miller Puckette wrote:
> 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?)
> 
> cheers
> Miller
> 
> 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
> 
> _______________________________________________
> 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