#define PITCH_STANDARD_A 440.0f
#endif
-static float compute_freq_for_midi_note(uint8_t note)
+float compute_freq_for_midi_note(uint8_t note)
{
// https://en.wikipedia.org/wiki/MIDI_tuning_standard
return pow(2.0, (note - 69) / 12.0) * PITCH_STANDARD_A;
}
__attribute__ ((weak))
-void audio_on_user() {}
\ No newline at end of file
+void audio_on_user() {}