Plug-ins, Hosts, Apps,
Hardware, Soundware
Developers
(Brands)
Videos Groups
Whats's in?
Banks & Patches
Download & Upload
Music Search
KVR
   
KVR Forum » Asseca
Thread Read
syntax for buttons
mmelon
KVRist
- profile
- pm
PostPosted: Sun Nov 06, 2011 9:05 am reply with quote
Hi Asseca,

I have been trying for hours to apply my brain to learning the mgui syntax but haven't had a lot of success.

I have succeeded in creating a knob to choose a pattern in the vaz plus sequencer:

p-63=-0,16,1,10,1,'Pattern','',~0,VB0800C

afaik that should be sending 0<>127 on controller 13 and labelling them 1-16 as I need.

Buttons seem much more complicated. In demo .dll we see:

p-5=0,1,1,1,0,'Sustain','#sw',~s,m10200000FF,v900024007F0080  ,VB080407F00,vB020407F000080,k4020807F0053

All I can understand there is the ~s tells it to work like a switch

the m1xxxxx is (i think) telling it to respond to the mouse clicking on it.

I am guessing the v90002xxxx is a midi note to switch sustain on/off.

the VB080407F00 seems to be sending 127 on controller 40H(64) and i think the extra 00 is telling it to toggle.

not sure what vB020407F000080 is doing.

How would I make a button that does for example:

c#10 val=1, c#11 val=127 on press, and
c#11 val=0 on release

so it's sending two cc's on press sequentially, and toggling the second one off on release.

Thanks for any insight.

Kind regards,
Mike
^ Joined: 28 Feb 2005  Member: #59746  
mmelon
KVRist
- profile
- pm
PostPosted: Sat Nov 12, 2011 7:16 am reply with quote
i found that the easiest way is to set up a control using the panel properties gui. Some of the extra digits I referenced above are min/max values but I am progressing now I use the panel to define my midi output.
^ Joined: 28 Feb 2005  Member: #59746  
All times are GMT - 8 Hours

Printable version
Page 1 of 1
Display posts from previous:   
ReplyNew TopicPrevious TopicNext Topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Username: Password:  
KVR Developer Challenge 2012