[PD] readsf problem

IOhannes m zmoelnig zmoelnig at iem.at
Wed Jun 16 11:43:39 CEST 2004


jim ruxton wrote:
> download aren't working. I just get noise. 
sounds like a problem with endianess. (e.g.: the 2 bytes of a 16bit 
sample are swapped)
this occurs when you try to play back files on a pc that have been 
created on a mac or vice versa.
there should be an option to [readsf~] where you can specify which 
endianess should be used (it defaults to your machine's endianess)
there is no such option with [sfplay], but you could use [swap~] to do a 
byte-swap manually -> this will only work if you haven't done anything 
to the data that is coming out of [sfplay] (e.g: no [*~])


mfg.asd.r
IOhannes




More information about the Pd-list mailing list