hsc3-0.18: Help/UGen/sampleRate.help.lhs
> import Sound.SC3 {- hsc3 -}
the current nominal sample rate of the server
> g_01 =
> let sr = 48000 {- 44100 -}
> f = mce2 sampleRate sr * 0.01
> in sinOsc AR f 0 * 0.1
The server status command can extract nominal and actual sample rates
from a running server.
> import Control.Monad
> withSC3 (liftM2 (,) serverSampleRateNominal serverSampleRateActual)