playSquare abstract method

Wave playSquare({
  1. required double frequency,
  2. int partials = 1,
  3. double gain = 0.7,
})

Play a square wave.

Implementation

Wave playSquare({
  required final double frequency,
  final int partials = 1,
  final double gain = 0.7,
});