music.get_sample_rate¶
- music.get_sample_rate()[source]¶
The sample rate routines use when they are not given one.
- Returns:
intSamples per second: 44,100, unless
set_sample_rate()has changed it in this thread or task.
- Return type:
See also
set_sample_ratechange it, for a script or for one block.
Examples
>>> get_sample_rate() 44100