You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this is the section you're referring to?
The number of channels and the size of the vectors are properties of the audio_bundle. Use the channelcount() and framecount() methods to access the dimensions and the samples() method to gain access to the vector data for a specified channel.
It looks like the audio_bundle struct has both methods defined:
You'd have to call input_bundle.channelcount() on the input_bundle rather than channelcount() as a free function. Usually you see audio_bundles passed in as arguments to the perform method of an audio-rate object (e.g. operator())
The document "Writing Audio Objects with Min” (http://cycling74.github.io/min-devkit/guide/audio http://cycling74.github.io/min-devkit/guide/audio) has errors: in particular the "Vector Operators” code will not compile because the function names
channelcount()
andframecount()
do not exist in the current API.The text was updated successfully, but these errors were encountered: