Reference > sampleRate
Wave
Spectrum
sampleRate
stores the audio sample rate, or sampling frequency, which is 44100 Hz.
The Nyquist theorem states that the highest frequency that can be represented by a sampling rate of f is f/2. sampleRate/2
is also referred to as the Nyquist Frequency, and in our case is above the high end of the human hearing range.
You can find the code for sampleRate
in the synthesine library.