platypush/plugins/sound/core.py
def note_to_freq(cls, midi_note, A_frequency=STANDARD_A_FREQUENCY):
        """
        Converts a MIDI note to its frequency in Hz

        :param midi_note: MIDI note to convert
        :type midi_note: int

        :param A_frequency: Reference A4 frequency (default: 440 Hz)
        :type A_frequency: float
        """

        return (2.0 ** ((midi_note - cls.STANDARD_A_MIDI_NOTE) / 12.0)) \
               * A_frequency

        Converts a MIDI note to its frequency in Hz

        :param midi_note: MIDI note to convert
        :type midi_note: int

        :param A_frequency: Reference A4 frequency (default: 440 Hz)
        :type A_frequency: float
        
Converts a MIDI note to its frequency in Hz
Converts a MIDI note to its frequency in Hz
def note_to_freq(cls, midi_note, A_frequency=STANDARD_A_FREQUENCY):
        return (2.0 ** ((midi_note - cls.STANDARD_A_MIDI_NOTE) / 12.0)) \
               * A_frequency
def note_to_freq ( cls , midi_note , A_frequency = STANDARD_A_FREQUENCY ) : return ( 2.0 ** ( ( midi_note - cls . STANDARD_A_MIDI_NOTE ) / 12.0 ) ) * A_frequency
Converts a MIDI note to its frequency in Hz
Converts a MIDI note to its frequency in Hz
"""
        Converts a MIDI note to its frequency in Hz

        :param midi_note: MIDI note to convert
        :type midi_note: int

        :param A_frequency: Reference A4 frequency (default: 440 Hz)
        :type A_frequency: float
        """
cls
midi_note
MIDI note to convert
MIDI note to convert
A_frequency
Reference A4 frequency (default: 440 Hz)
Reference A4 frequency ( default : 440 Hz )