I chose a small file and could see how soundfile_info is faster (btw, why
are you using -stdlib?)

So, shall we open a feature request on github?

Em sex., 28 de jan. de 2022 às 17:05, oliver <[email protected]> escreveu:

> Miller Puckette via Pd-list wrote:
> > Excellent - nothing to do then.  My favorite kind of dolist.
>
>
> Well, not quite ...
>
> Lucas' method of using [soundfiler] to get a (really long) soundfile's
> length still loads the complete file into RAM, as it would into an
> array. (i'm talking a 60 minute long audio file here)
>
> This has 3 drawbacks:
>
> 1.) audio dropout while loading, depending on the file's length
> 2.) can use huge amounts of RAM
> 3.) takes much longer than [soundfile_info]
>
> attached is an example patch that illustrates both approaches.
>
> (use the same long soundfile for each method to see what i mean)
>
>
>
> then again: since i use IEMLIB regularly it's not that much of a hassle.
> it's just not plain vanilla, that's all ...
>
>
> best
>
> oliver
> _______________________________________________
> [email protected] mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to