BelaPlatform / Bela

Bela: core code, IDE and lots of fun!
Other
484 stars 138 forks source link

Bela library: instrument tuning utilities #554

Open jarmitage opened 5 years ago

jarmitage commented 5 years ago

[Once library infrastructure is merged]

Proposal to add some utility features such as:

std::map<std::string, int> midiNoteNames
float midiToFreq (int _note)
int freqToMidi (float _freq)
float noteNameToFreq (std::string noteName)
std::string midiToNoteName(int _note)
std::string freqToNoteName(float _freq)

Implementation:

roberthjack commented 4 years ago

I think this a great idea, we should try and build this into next update?

jarmitage commented 4 years ago

Go for it. Not sure what the best way to wrap it would be. Notes.h?