Author Topic: Horizontal Sample Map  (Read 2987 times)

Offline Paul Legovitch

  • Workaholic artist
  • ***
  • Posts: 145
    • http://legovitch.blogspot.com
Horizontal Sample Map
« 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).




Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,108
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
Re: Horizontal Sample Map
« Reply #1 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:



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.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline Paul Legovitch

  • Workaholic artist
  • ***
  • Posts: 145
    • http://legovitch.blogspot.com
Horizontal Sample Map
« Reply #2 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 ?

Offline Harbinger

  • Extreme artist
  • *****
  • Posts: 1,133
  • Gender: Male
  • Operating System: Windows XP
Horizontal Sample Map
« Reply #3 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?)

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,108
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
Horizontal Sample Map
« Reply #4 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...
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline Harbinger

  • Extreme artist
  • *****
  • Posts: 1,133
  • Gender: Male
  • Operating System: Windows XP
Horizontal Sample Map
« Reply #5 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:

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,108
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
Horizontal Sample Map
« Reply #6 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...
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline LPChip

  • Administrator
  • *****
  • Posts: 4,935
    • http://lpchip.nl
  • Operating System: Windows 7 (x64bit)
Horizontal Sample Map
« Reply #7 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.
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,108
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
Horizontal Sample Map
« Reply #8 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.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.