playSine abstract method

Wave playSine({
  1. required double frequency,
  2. double gain = 0.7,
})

Play a sine wave.

Implementation

Wave playSine({
  required final double frequency,
  final double gain = 0.7,
});