Sure, but that’s perhaps a second discussion.

In this case, [soundfiler] already has the pattern of “load a file into an 
array and send out the number of samples”.

I figure it would be easy to extend that into “load a file into an array and 
send out the number of samples as well as the sampelrate & number of channels”.

I agree an overall [soundfileinfo] to read the header info would be nice to 
have built in to vanilla but:

* there is an external which does this (in zexy I believe?)
* I’m working in little steps & at the very least coudl *really use* the 
samplerate when loading tables :)

--------
Dan Wilcox
@danomatika <https://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>
> On Apr 3, 2016, at 2:10 PM, Jonathan Wilkes <[email protected]> wrote:
> 
> Shouldn't that be a separate object? Like [soundinfo] or something?

_______________________________________________
Pd-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev

Reply via email to