[PD] soundfiler features

IOhannes m zmoelnig zmoelnig at iem.at
Thu Feb 23 11:09:14 CET 2017


(taking this back to pd-list)

On 2017-02-22 19:01, Lucas Cordiviola wrote:
> I seems that [soundfiler] correctly ignores metadata.
> [soundfile_info] counts it as length.
> At least for .wav files.

[soundfile_info] assumes that everything after the (1st) "data" chunk is
audio data.
this is obviously not true if you have other chunks (cue, ...) coming
after the audio.
i talked to thomas, and it seems that the behaviour was actually
intentional, meant to correctly handle truncated soundfile files (that
would be shorted than indicated in the data-chunk header)
as a side-effect, it would erroneously handle soundfiles that are longer
than indicated in the data-chunk header.

i fixed this in iemlib's git repository[1].
i'll try to talk thomas into doing a proper release via deken.

fmasdr
IOhannes

[1] https://git.iem.at/pd/iemlib

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170223/9f1ecc0d/attachment-0001.sig>


More information about the Pd-list mailing list