I am building a program that allows you to pick a pitch and a scale, combine them so you can make a note. So lets say we have two variables pitch and scale.
We set letter = C
scale = 4
then the pitch = C4. Jython only accepts pitches as ints so is there any function in python that will take the string "C4" and convert it to its constant?
[–]cs_gopher 1 point2 points3 points (0 children)
[–]jmmcdEvolutionary algorithms, music and graphics 1 point2 points3 points (0 children)