Dec-07-2019, 08:31 PM
Thank you Larz60+ for the reply!
After a few hours of trying I need some more help.
musicTextPitch = "c4 e4 g4 c5"
Which need to be seperated, converted and added to this list:
musicNumberedPitch = [40, 44, 47, 52]
The conversion list/dictionary is:
{'c4':40, 'e4':44, 'g4':47, 'c5':52}
How do I glue this together?
After a few hours of trying I need some more help.
musicTextPitch = "c4 e4 g4 c5"
Which need to be seperated, converted and added to this list:
musicNumberedPitch = [40, 44, 47, 52]
The conversion list/dictionary is:
{'c4':40, 'e4':44, 'g4':47, 'c5':52}
How do I glue this together?