playTriangle method
Play a triangle wave.
Implementation
@override
SilentWave playTriangle({
required final double frequency,
final int partials = 1,
final double gain = 0.7,
}) =>
playWave(
waveType: WaveType.triangle,
frequency: frequency,
gain: gain,
partials: partials,
);