You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working on the functionality mentioned in issue #289. This feature would allow a user to select, say a Trumpet or Horn, and choose its key rather than having 8+ keys listed in the instrument name list. I currently have made a skeleton for this feature in brass.py and _base.py in scorewiz/parts (Which you can access below; I didn't want to commit this as it currently is broken).
I've created a new class in _base.py called "InstrumentKey" that allows a user to select the key of the instrument. Currently, only Horn has available keys. All the feature does is allow the user to choose the key. I have no idea where to go with scripting this. I have a lot of free time this week, so if someone could give me a pointer, I could finish this functionality by the weekend. I am still relatively new to Python, so any help would be great!
I'm currently working on the functionality mentioned in issue #289. This feature would allow a user to select, say a Trumpet or Horn, and choose its key rather than having 8+ keys listed in the instrument name list. I currently have made a skeleton for this feature in brass.py and _base.py in scorewiz/parts (Which you can access below; I didn't want to commit this as it currently is broken).
I've created a new class in _base.py called "InstrumentKey" that allows a user to select the key of the instrument. Currently, only Horn has available keys. All the feature does is allow the user to choose the key. I have no idea where to go with scripting this. I have a lot of free time this week, so if someone could give me a pointer, I could finish this functionality by the weekend. I am still relatively new to Python, so any help would be great!
Add these to frescobaldi_app/scorewiz/parts/ (and back up your originals, of course! :) )
:::::
brass.py: http://pastebin.com/tK4t4hFw
_base.py: http://pastebin.com/4JKg6XKN