mljung: Could you send me some settings or something? I'm still not exactly sure what you are doing.
All MeldaProduction effects and MPowerSynth updated to 11.00 and MTurboReverb released
-
MeldaProduction MeldaProduction https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=176122
- KVRAF
- Topic Starter
- 14325 posts since 15 Mar, 2008 from Czech republic
thomekk: Thank you!! 
mljung: Could you send me some settings or something? I'm still not exactly sure what you are doing.
mljung: Could you send me some settings or something? I'm still not exactly sure what you are doing.
-
- KVRist
- 266 posts since 18 Oct, 2005
Just tried to replicate once more, but for some strange reason, this time it just worked as expected. I really can't tell what or why it happened, but I'm glad it works now. If the issue returns I'll post again.MeldaProduction wrote: mljung: Could you send me some settings or something? I'm still not exactly sure what you are doing.
Sorry for the confusion, and thanks Vojtech for your splendid service.
Best
Mads
-
- KVRian
- 1405 posts since 11 Nov, 2013
when the browser window is open in mconvolution, space key do not work to let play the daw. happen in reaper, cubase, mulab i see. in mutools forum there is a suggestion what plugin developer can do, maybe then space work, when browser is open
Request to Windows VST plug-in developers:
To workaround that shortcoming in Windows OS, please do this in your VST editor's window message function (pseudo code):
case WM_KEYDOWN:
case WM_KEYUP:
if (ProcessKey(Msg,wParam,lParam)) { // ProcessKey() forwards it to the relevant control in your UI and when they key is handled = consumed, it returns true
return(0);
}
else {
host_hwnd=(HWND)AEffEditor->systemWindow;
return(CallWindowProc((WNDPROC)GetWindowLongPtr(host_hwnd,GWLP_WNDPROC),host_hwnd,Msg,wParam,lParam));
}
win 11 64 25H2 ryzen 8600G (6*4.3 GHZ) 48 GB Ram
-
MeldaProduction MeldaProduction https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=176122
- KVRAF
- Topic Starter
- 14325 posts since 15 Mar, 2008 from Czech republic
KTLin: Thank you! 
magicmusic: That's actually a horrible nonsystemic solution, I'll try something better though.
magicmusic: That's actually a horrible nonsystemic solution, I'll try something better though.
-
MeldaProduction MeldaProduction https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=176122
- KVRAF
- Topic Starter
- 14325 posts since 15 Mar, 2008 from Czech republic
Updated to 11.01 
-
- KVRian
- 1405 posts since 11 Nov, 2013
if you find something better is good. there is a thread, it is explain more wy the problem with the keys happen. it seem better is when the plugin only forward space bar. because in sample tank and cubase and other it happen, when press backspace or delete and sample tank 3 window is active, sample tank 3 send also backspace and delete keys, so cubase or other delete phrasesMeldaProduction wrote:KTLin: Thank you!
magicmusic: That's actually a horrible nonsystemic solution, I'll try something better though.
http://www.kvraudio.com/forum/viewtopic ... 3#p6796823
win 11 64 25H2 ryzen 8600G (6*4.3 GHZ) 48 GB Ram
-
MeldaProduction MeldaProduction https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=176122
- KVRAF
- Topic Starter
- 14325 posts since 15 Mar, 2008 from Czech republic
The problem is that some hosts use this others that... So it's a little bit problematic. We'll see. Anyways systemic solution would be to keep forwarding the keys to parent windows. But then again this can lead to problems... The best solution is always to leave it and the host can "listen" to all the stuff that goes to all windows, but that means development on the host... Not sure yet, I'm worried about sideeffect of any message forwarding.
-
- KVRian
- 1405 posts since 11 Nov, 2013
it is a windows only problem. mac maybe work ok. only space need forward. he write this see in the link.
and if the Host create a input handler that watch for keys, it happen that space key in string gadgets not work. i read in forum that bitwig studio ignore spacesAnd besides that, there also is a non-comformity in Microsoft Windows: When a child window (the very VST editor) does report that a key press is unused and hence it gives the key message to DefWindowProc, Windows does not forward it to the parent window. That's a serious shortcoming in the Windows system. MuLab cannot do much about these cases except for this workaround: When you click the top control bar of a VST editor (thus in the MuTools GUI area) this will shift the GUI focus to the window's top level and hence key presses will be processed by MuLab. So that way you can quickly force a GUI focus shift to the MuLab GUI and hence eg pressing the spacebar will start/stop playing the composition.
win 11 64 25H2 ryzen 8600G (6*4.3 GHZ) 48 GB Ram
-
MeldaProduction MeldaProduction https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=176122
- KVRAF
- Topic Starter
- 14325 posts since 15 Mar, 2008 from Czech republic
Well, what he writes is a brutally simplified thinking - if an unused key would cause a parent window to receive the key as it was its own, lots of weird stuff would happen without the user even knowing... now when I think about it, it's probably better to leave it as it is, it's too dangerous. The host needs to do that in the global message loop if it wishes to receive these messages.
-
- KVRian
- 1405 posts since 11 Nov, 2013
cubase do too the code hat plugins should forward space key. sure it is dangerous when you forward other keys. but space if not process from plugin can without risc forward and do the job. i find a question, abotuz that. do you think this can work with VSTi. how can the DAW notice that your own create browser window is use ?
https://stackoverflow.com/questions/667 ... ent-window
how is it possible to do a global message loop in windows ? directx programmers too report problems.
i notice reaper do not load mmulticonvolution effect, because of name change. old mconvolution is delete from your installer. what can do that reaper keep the data and load new effect ?. i use this your effects in many reaper songs, with own presets and find out what a song use is really lots work
https://stackoverflow.com/questions/667 ... ent-window
how is it possible to do a global message loop in windows ? directx programmers too report problems.
i notice reaper do not load mmulticonvolution effect, because of name change. old mconvolution is delete from your installer. what can do that reaper keep the data and load new effect ?. i use this your effects in many reaper songs, with own presets and find out what a song use is really lots work
win 11 64 25H2 ryzen 8600G (6*4.3 GHZ) 48 GB Ram
-
- KVRist
- 308 posts since 11 Jul, 2016
Just a quick
on the v11 update! I'm sure it was a ridiculous amount of effort.
- KVRAF
- 13865 posts since 24 Jun, 2008 from Europe
What's horrible or nonsystemic about it? It's the natural flow of key events in every neatly organized UI system: First to the focused component aka widget aka control, then when it's not processed by that one, the key event should travel up the UI hierarchy ie towards the parents until it is processed. Don't you agree?MeldaProduction wrote:That's actually a horrible nonsystemic solution
The issue has also been discussed here:
viewtopic.php?f=7&t=482341
http://www.kvraudio.com/forum/viewtopic ... 3&t=365703
- KVRAF
- 13865 posts since 24 Jun, 2008 from Europe
Which weird stuff would happen?MeldaProduction wrote:Well, what he writes is a brutally simplified thinking - if an unused key would cause a parent window to receive the key as it was its own, lots of weird stuff would happen without the user even knowing
The problem with global hooks is that the user has no control on it. User control for key events is normally handled by using the UI focus. That's the standard and best way. And if every component in the system follows that protocol it works perfect, even between hosts and plugs.The host needs to do that in the global message loop if it wishes to receive these messages.
-
MeldaProduction MeldaProduction https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=176122
- KVRAF
- Topic Starter
- 14325 posts since 15 Mar, 2008 from Czech republic
Well, no offense, but you claimed how horrible design flaw of Windows it is, but it's absolutely natural NOT to send events higher. Imagine you work with say web browser and for some reason it shows a popup, with just something, doesn't matter. And user types something, while he was originally in some text field in the browser, which is now covered by the popup, and now he is typing to the edit field without even knowing it!
And that can be waaaaay worse with various control shortcuts.
So if an app wants to receive keyboard stuff, it needs to "work for it". I personally consider hooks a bit "hacky". But simply putting it into the global message loop should work just fine. I may not remember correctly, but I think by default the "accelerators", which was basically MFC's global keyboard shortcuts, were working like this.
So if an app wants to receive keyboard stuff, it needs to "work for it". I personally consider hooks a bit "hacky". But simply putting it into the global message loop should work just fine. I may not remember correctly, but I think by default the "accelerators", which was basically MFC's global keyboard shortcuts, were working like this.
