rate
A value that changes the playback rate of the input signal.
Declaration
var rate: Float { get set }Discussion
A value of 2.0 results in the output audio playing one octave higher. A value of 0.5 results in the output audio playing one octave lower.
The default value is 1.0, and the range of valid values is 0.5 to 2.0. Only the AVAudioEnvironmentNode class implements this property.