diff --git a/README.md b/README.md index 1df7f210..52b0a7b5 100644 --- a/README.md +++ b/README.md @@ -228,12 +228,12 @@ Note.f.sharp.majorTriad.add9().diminished; // F♯ dim. (F♯ A C G♯) Get the `Frequency` of a `Pitch`: ```dart -Note.a.inOctave(4).frequency(); // 440 Hz +Note.a.inOctave(4).frequency(); // 440 Note.b.flat.inOctave(4).frequency( referenceFrequency: const Frequency(256), tuningSystem: EqualTemperament.edo12(referencePitch: Note.c.inOctave(4)), - ); // 456.1401436878537 Hz + ); // 456.1401436878537 ``` Get the closest note from a given `Frequency`: diff --git a/example/main.dart b/example/main.dart index 5a1fc5c9..81219b85 100644 --- a/example/main.dart +++ b/example/main.dart @@ -98,12 +98,12 @@ void main() { Note.f.sharp.majorTriad.add9().diminished; // F♯ dim. (F♯ A C G♯) // Frequencies - Note.a.inOctave(4).frequency(); // 440 Hz + Note.a.inOctave(4).frequency(); // 440 Note.b.flat.inOctave(4).frequency( referenceFrequency: const Frequency(256), tuningSystem: EqualTemperament.edo12(referencePitch: Note.c.inOctave(4)), - ); // 456.1401436878537 Hz + ); // 456.1401436878537 const Frequency(432).closestPitch(); // A4-32 const Frequency(314).closestPitch(); // E♭4+16