@vichug, yes, currently there is no way to get the samplerate of a sound file from within gen~ (I’ve added that as a feature request). But you could easily do that from the MSP patch using buffer~, and pass it into gen~ through a param.
C74 IN YOUR INBOX
C74 RSS Feed | © Copyright Cycling '74 | Terms & Conditions
Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.