Closed mwgg closed 9 years ago
That's a great feature. Code seems fine, I'll do some testing when I get home and if everything works we can merge it.
As a follow-up to this patch I think it would be quite useful to add the ability to automatically determine the number of bars that best fit in the window based on a user defined bar width. Something like this:
Number of bars: [ ] manually: [0...2000] [ x ] auto: Bar width: [1...20]
Edit: oh and by the way, thx for contributing :)
Hi, no problem. Wanted this feature from the first minute I installed the plugin, so there ya go. I'll play around with the "auto" feature some time, would be a great addition.
Is there an easy way to disable the gap between bars? For higher bar count it would be helpful. I didn't dig deep enough to figure out an on/off solution.
Yes, disabling the gab should be possible. I'll have a look at that to make it configurable. Might look nice to have a 'solid' spectrum, instead of bars.
gab disabled: http://i.imgur.com/l9jOYll.png
edit: and you patch seems to work nicely
Added a checkbox to toggle gaps.
Merged. :) I did also a few modifications (like disable vertical grid when gap is disabled)
Adds an option in the Preferences->Plugins->Musical Spectrum->Configure window. Defaults to 126 to correspond to keys as intended. When changed, tooltips still display proper key.