playWave method
Play a wave of the given waveType
at the given frequency
through this
channel.
If waveType
is WaveType.sine, then partials
are ignored.
If partials
is < 1
, then StateError is thrown.
Implementation
@override
SilentWave playWave({
required final WaveType waveType,
required final double frequency,
final int partials = 1,
final double gain = 0.7,
}) =>
SilentWave(gain: gain);