What is KVR Audio? | Submit News | Advertise | Developer Account

Options (Affects News & Product results only):

OS:
Format:
Include:
Quick Search KVR

"Quick Search" KVR Audio's Product Database, News Items, Developer Listings, Forum Topics and videos here. For advanced Product Database searching please use the full product search. For the forum you can use the phpBB forum search.

To utilize the power of Google you can use the integrated Google Site Search.

Products 0

Developers 0

News 0

Forum 0

Videos 0

Search  

Key press stolen in FL / Studio One

DSP, Plug-in and Host development discussion.

Moderator: Moderators (Main)

KVRAF
 
4103 posts since 11 Feb, 2006, from Helsinki, Finland
 

Postby mystran; Mon Nov 19, 2012 7:11 am

Tale wrote:
mystran wrote:There's a "vendorSpecific" (not really, it's common to all hosts) in VST to handle mouse wheel: check for index == 0x73744341 && value == 0x57686565, then "opt" parameter will be -1 or 1 depending on direction.

edit:
Since I'm not sure if I've change the parameter names, here's the prototype

VstIntPtr MyPlug::vendorSpecific(VstInt32 index, VstIntPtr value, void* ptr, float opt);

Well, all hosts... REAPER doesn't seem to support it. But indeed FL Studio and VSTHost do, so thanks for the info. :)


Well "all hosts" in the sense of "not really vendor specific".
Image <- plugins | forum
User avatar
KVRist
 
371 posts since 12 Apr, 2010, from Lowlands of Holland
 

Postby Tale; Wed Nov 21, 2012 2:09 am

mystran wrote:Well "all hosts" in the sense of "not really vendor specific".

I found this, I now understand what you mean:
http://www.asseca.com/vst-24-specs/efVendorSpecific.html

Do we know which hosts do/don't support this? Here is my shortlist so far:

Hosts that support effVendorSpecific mouse wheel

  • FL Studio
  • VSTHost
  • Studio One

Hosts that don't

  • REAPER*
  • Mixcraft


* In REAPER the plug-in window does seem to receive WM_MOUSEWHEEL messages without setting keyboard focus
Martinic Combo Model F
KVRAF
 
4103 posts since 11 Feb, 2006, from Helsinki, Finland
 

Postby mystran; Wed Nov 21, 2012 8:46 am

What I personally do is synthesize WM_MOUSEWHEEL messages upon receiving the effVendorSpecific mouse-wheels, so if a host such as Reaper instead sends WM_MOUSEWHEEL messages I won't notice any difference. :P

But anyway, the situation kinda sucks.
Image <- plugins | forum
KVRAF
 
1931 posts since 16 Aug, 2004, from Vienna, Austria
 

Postby arakula; Thu Nov 29, 2012 11:18 pm

mystran wrote:There's a "vendorSpecific" (not really, it's common to all hosts) in VST to handle mouse wheel: check for index == 0x73744341 && value == 0x57686565, then "opt" parameter will be -1 or 1 depending on direction.

The reason for the funny numbers comes out better if you use the constants 'stCA' and 'Whee' instead.
"Until you spread your wings, you'll have no idea how far you can walk." Image
Previous

Moderator: Moderators (Main)

Return to DSP and Plug-in Development