On Mon, 2019-01-21 at 13:34 +0100, IOhannes m zmoelnig wrote: > On 21.01.19 12:48, Roman Haefeli wrote: > > On Mon, 2019-01-21 at 10:03 +0100, Antoine Rousseau wrote: > > > > make an addition to soundfiler to read binary characters into > > > > an > > > > array. > > > > > > wouldn't "read -raw 0 1 1 n" work? > > > > It would be cool if -raw would allow 1 byte per sample. But even if > > it > > worked this way, the result would be scaled to the range of -1 to > > 1, > > which is not so handy. A way to read bytes represented in the array > > as > > numbers in the range of 0 to 255 would make [soundfiler] really > > useful > > for dealing with binary files. > > > attached is a vanilla abstraction to read binary files like > [mrpeach/binfile].
Sweet! Thanks for sharing. Roman
signature.asc
Description: This is a digitally signed message part
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
