UInt8

struct UInt8 : UnsignedInteger, Comparable, Equatable
  • Calculate frequency from a MIDI Note Number

    Declaration

    Swift

    public func midiNoteToFrequency(_ aRef: Double = 440.0) -> Double

    Parameters

    aRef

    Reference frequency of A Note (Default: 440Hz)