pitch property

double get pitch

A double greater than 0. Changes both the pitch and the speed. Changing only one requires complex audio proccessing algorithms.

Implementation

double get pitch => _sound.pitch;
set pitch (double value)

Implementation

set pitch(double value) => _sound.pitch = value < 0 ? 0 : value;