Wohlstand / OPN2BankEditor

A small cross-platform editor of the OPN2 FM banks of different formats (Downloads in README below)
GNU General Public License v3.0
40 stars 8 forks source link

Rework layout for smaller screens #97

Open freq-mod opened 3 years ago

freq-mod commented 3 years ago

Anything below OP3 and OP4 "Detune" parameter is invisible, including piano keys and there is no way to resize the window for it to fit. The same applies to OPL3BE.

Wohlstand commented 3 years ago

:thinking: Снимок экрана_2020-07-05_18-03-18

freq-mod commented 3 years ago

:thinking: 1366x768

Wohlstand commented 3 years ago

The main reason to use smaller fonts on smaller screens :thinking:
Anyway, one another reason to make a different layout (horizontal only, not cubic) to avoid the hell on smaller screens...

freq-mod commented 3 years ago

make a different layout

TBH, thought about the same. Incompatibility with smaller screen aside, current one isn't flexible enough. YM2612 may be fine, but when thinking about full YM2608 (Wohlstand/libOPNMIDI#94), it won't lead anywhere - in addition to FM, there is a built-in PSG, wildly different than the one used in Mega Drives (hw and sw envelopes, noise + tone mixing on a single channel, non square waveforms, SSG-EG), ADPCM channel that's much more powerful than 2612's pathetic channel 6 output and there must be an option screen for all permutations of sound synthesis (FM + PCM, PSG + FM/2608 Rhythm, pseudo 8-op, etc...)

Home screen for OPN chip type selection, tabs for each synthesis type and BambooTracker or Deflemask-inspired instrument editor might be not the worst idea :man_shrugging:

Wohlstand commented 3 years ago

Снимок экрана от 2020-07-05 19-31-39 Just a local experiment. For extra non-FM setup, I have an idea on a separate branch to use separated tabs for them. For the FM setup layout it needs to give more compact combination of label+control.

freq-mod commented 3 years ago

FM setup layout it needs to give more compact combination of label+control.

Maybe short, 2~4 letter abbreviation of parameter labels (AR instead of Attack, MULT instead of Frequency Multiplication) and spinbox control? For description of parameter, mouse-hover can be used, like now

freq-mod commented 3 years ago

Is the horizontal layout still being worked on? Using bank editors is a bit of a problem (at least on Linux, much less so on Windows) with small screen device and I can't find any way to resize the window or reduce a font size. Changing lines 12 and 13 of bank_editor.ui didn't change anything: <width>973</width> <height>748</height>

Wohlstand commented 3 years ago

I didn't complete this yet, at least, I need to tune some. Until that, you have a workaround: try to reduce the font size in your settings, that should also reduce the size of controls

freq-mod commented 3 years ago

Did just that, didn't help. Font size of texts in BE isn't affected by fonts' system settings. Under Linux Mint, top of the window is off-screen - everything above "instrument list" is invisible, including menu bar.