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 :)
Shouldn't that be a separate object? Like [soundinfo] or something?