at method

TuningFork at(
  1. Frequency frequency
)

Returns the TuningFork from this Pitch at a given frequency.

Example:

Pitch.reference.at(const Frequency(440)) == .a440
Note.c.inOctave(4).at(const Frequency(256)) == .c256

Implementation

TuningFork at(Frequency frequency) => TuningFork(this, frequency);