ModPlug Central

OpenMPT Development (Archive) => Feature Requests => Topic started by: Paul Legovitch on August 02, 2010, 13:28:05

Title: Horizontal Sample Map
Post by: Paul Legovitch on August 02, 2010, 13:28:05
In the instrument editor, I'd like :

1) a horizontal Sample Map with a scrollbar (like the order view in the pattern editor).
It would be really easier to work with I think (since keys are horizontal on a keyboard), and the number of displayed notes could adapt to the window's width (like the order view).

2) a value box for each slider (Reso, Cutoff, Random Variations), exactly like the Ramping slider already has (since iIt's hard to have enough precision with a slider).



(http://miroir.perso.neuf.fr/msc/mpt/instrument.png)
Title: Re: Horizontal Sample Map
Post by: Saga Musix on August 02, 2010, 13:36:41
Quote from: "Paul Legovitch"2) a value box for each slider (Reso, Cutoff, Random Variations), exactly like the Ramping slider already has (since iIt's hard to have enough precision with a slider).
Actually, I wanted to re-do this a bit differently when/if we switch to Qt, with a custom slider control like it can be found in PhotoImpact:

(http://sagagames.de/ithumb/show/slider4309kx74.png)

As long as you press the "↓" button, a slider will become visible and you can use it to drag. I'd love to have such controls in OpenMPT. It's one of the best methods for numeric inputs I've ever experienced.
Title: Horizontal Sample Map
Post by: Paul Legovitch on August 02, 2010, 13:55:20
That's nice, but then you don't see the sliders when you don't touch them, right ?
II think it would be better to have both sliders and values visible all the time since sliders give you a graphic overview of the instruments parameters.
The Ramping slider+value is perfect for me, I wouldn't put more work into this ;)

Btw, It would be useful to also have a slider for Global Volume and Pan, don't you think ?
Title: Horizontal Sample Map
Post by: Harbinger on August 04, 2010, 21:58:13
All of these ideas sound good.

As a side note, you keep talking up Qt, and you have me sold, but what is it gonna take to transfer the code? Have you started or at least done any testing with MPT's GUI? Does it ALL hafta be Qt (is there any compatibility with Qt code and MFC code?)
Title: Horizontal Sample Map
Post by: Saga Musix on August 04, 2010, 22:02:12
It is possible to use MFC and Qt at the same time (though it will obviously bloat the executable a bit), so not all things have to be converted at the same time. So I hope it won't cause too much trouble once it's started...
Title: Horizontal Sample Map
Post by: Harbinger on August 04, 2010, 22:08:19
Well, you seem to show more creative solutions when you talk about MPT-Qt, and i would push for you to begin a project with an MFC-Qt hybrid as you work on features and fixes for the regular MPT builds. Damn the bloat! As long as Qt works in Windows XP, what's stopping you? :wink:
Title: Horizontal Sample Map
Post by: Saga Musix on August 04, 2010, 22:10:19
Quote from: "Harbinger"As long as Qt works in Windows XP, what's stopping you? :wink:
The fact that this is a rather big change and that I will most likely have to do it mostly alone and that I have to start somewhere...
Title: Horizontal Sample Map
Post by: LPChip on August 05, 2010, 09:57:20
I would start by only implementing the Qt and not make any changes yet. Add a debug/test button/control somewhere (you can even hide it during development) just to test if the Qt is implemented correctly, and once done, start changing the parts you want to change.
Title: Horizontal Sample Map
Post by: Saga Musix on August 06, 2010, 11:51:26
Quote from: "LPChip"I would start by only implementing the Qt
I would not start by implementing, but by looking for possible catches and problems, and where a good start could be done. The rest is relatively easy because there are guides how to transform a MFC application into a Qt application step by step.