Get sample rate at which the plugin is run
sampleRate = getSampleRate(myAudioPlugin)
sampleRate = getSampleRate( returns
the sample rate in Hz at which the plugin is being run.
In a digital audio workstation (DAW) environment, the DAW user sets the sample rate.
getSampleRateinteracts with the DAW to determine the sample rate.
In the MATLAB® environment,
getSampleRatereturns the value set by a previous call to
setSampleRatehas not been called,
getSampleRatereturns the default value,