Skip to main content

Class NotesToFrequency

A utility class for converting musical notes to their corresponding frequencies in hertz

Assembly: MicroAudio.dll
View Source
Declaration
public class NotesToFrequency

Properties

A4Frequency

The frequency of the A4 note, in hertz

View Source
Declaration
public static Frequency A4Frequency { get; set; }

Methods

ConvertToFrequency(Note)

Converts the specified musical note to its frequency in hertz

View Source
Declaration
public static Frequency ConvertToFrequency(Note note)
Returns

Meadow.Units.Frequency: The frequency of the note in hertz

Parameters
TypeNameDescription
Meadow.Foundation.Audio.NotenoteThe musical note to convert