BelaPlatform / Bela

Bela: core code, IDE and lots of fun!
Other
493 stars 139 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 5 years ago

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

jarmitage commented 5 years ago

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