The Instrument window GUI needs refactoring
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 1.3k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 7
Description
The layout of the **instrument window** does not reflect its functionality, in several places.
This can be confusing to new users.
The layout can be streamlined as follows:
## Part-1: Relocation of the filter section:
In the instrument window, the sound processing is as follows:

Essentially, the user sets the instrument in two (optional) steps:
1. He applies envelope and LFO to the volume of the channel.
2. Then he selects a filter, and then applies envelope and LFO to its _cut off_ and _resolution_ parameters.
But this is not correctly reflected in the GUI.
Here, the user selects the second tab marked 
Then he selects one of three sub-tabs: 
At this stage, the rest of the GUI (till the end) must be related to his chosen combination.
But that's actually NOT the case: The **filter** section is common for all three sub-tabs.
You are not supposed to select three filters (a distinct filter for each sub-tab)!
Therefore the filter section must be moved above the three sub-tabs, as shown below.

## Part-2: The Keyboard can be shifted to a much more logical place!
The **pitch keyboard** section (reference pitch key) is also not related to any of the three sub-tabs.
(In fact, it is not related to any of the other main tabs also). Therefore, there is no need to attach the "keyboard" (Instrument's pitch) section to the bottom of the Instrument window.
Secondly, the pitch of the instrument is not changed so often. So we do not need to keep the keyboard so conspicuously accessible at all times. It can be tucked away in one of the tabs.
In fact, the best place for this widget is in the last  tab, where there is already an option to disable the master pitch. Thus the same page should hold the controls for the instrument's pitch also!

BTW if this change is implemented, change the symbol for this tab from "miscellaneous"  to "Pitch" 
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the instrument window GUI described in the issue and trace how its filter section, three sub-tabs, pitch keyboard, and final miscellaneous tab are assembled. Compare the current layout with the requested relationships, then verify that filters are shared, pitch controls are moved to the final tab, and the tab symbol is changed to Pitch.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- design, desktop
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100