summaryrefslogtreecommitdiff
path: root/mechanical/motors/mesures-si2e-2007/b.raw
AgeCommit message (Expand)Author
2007-09-20Added measures done on SI2E 2007 robot.Nicolas Schodet
ef='#n35'>35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
#include "audio.h"
#include "process_audio.h"

static 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) * 440.0f;
}

bool process_au