createTriangle method Null safety

FastSineBankGenerator createTriangle(
  1. double initialFrequency,
  2. int partials
)

Create a Tri8angle wave.

Implementation

FastSineBankGenerator createTriangle(
  final double initialFrequency,
  final int partials,
) =>
    FastSineBankGenerator.triangle(this, initialFrequency, partials);