playTriangle method

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

Play a triangle wave.

Implementation

@override
SynthizerWave playTriangle({
  required final double frequency,
  final int partials = 1,
  final double gain = 0.7,
}) =>
    playWave(
      waveType: WaveType.triangle,
      frequency: frequency,
      partials: partials,
      gain: gain,
    );