playTriangle abstract method

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

Play a triangle wave.

Implementation

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