Home › Forums › General › Panels, Components, Macros › Mopho Desktop GUI
- This topic has 9 replies, 3 voices, and was last updated 8 years, 2 months ago by iZueL.
-
AuthorPosts
-
December 22, 2014 at 3:24 pm #34050
Hello
I’ve done a GUI for the Mopho that uses mainly Graphics() and no resources
it is in xml format so it should work on all platform
I represented some expressions
It doesn’t use extra mods excepts 4 pattern modulators and tabs
Normally all midi messages are there and vst indexes are scaled (not completely ) to edit buffer
It “just” needs dumps and patch name scripts (dunno how to use nrpn in lua , I could but it seems boring for now ๐ )
The 3 envelopes feedback control is not done for now , it’s the last script to doAtom do I upload it or give to you to experiment your midi lib & edit buffer stuff ?
The “stable”version used is 5.3.26 ( the last version has vst0 broken and in this panel linked without reason knew by me with vst32 )
Attachments:
You must be logged in to view attached files.December 22, 2014 at 3:29 pm #34054Upload it to the panel database please, that’s the best place for those.
December 22, 2014 at 3:43 pm #34055All right Atom
I upload it now
December 29, 2014 at 8:32 pm #34484Hi
I try to name my Rectangles to render the script more readable and useful to set
CbBg1 = Rectangle(72,33)
CbBg2 = Rectangle(70,31)console(string.format(“%s,%s,%s,%s”,CbBg1:getX () ,CbBg1:getY (),CbBg1:getWidth () ,CbBg1:getHeight ()))
CbBg1:setPosition(1168,320)
console(string.format(“%s,%s,%s,%s”,CbBg1:getX () ,CbBg1:getY (),CbBg1:getWidth () ,CbBg1:getHeight ()))
g:drawRoundedRectangle(CbBg1,2.0,1.0)
g:setColour(cBLK)
CbBg2:setPosition(1169,321)
g:fillRoundedRectangle(CbBg2,2.0)The console says my draw and fill line are wrong so I miss something
Ive also tried with float values but can’t get Rectangle float
in draw juce method
Any idea ?December 30, 2014 at 1:14 pm #34536Well the Rectangle() class is at fault here. The drawRectangle class and all draw classes expect the Rectangle() class to be float based and i bound the Rectangle class as an int based class (theese are c++ templates, this does not exist in Lua). So in order to go around that, whenever you pass the rectangle object to a draw method you need to call toFloat() on the Rectangle object, like this:
g:drawRoundedRectangle(CbBg1:toFloat(),2.0,1.0)
and
g:fillRoundedRectangle(CbBg2:toFloat(),2.0)
but i have to register the float version of the Rectangle class first in Lua (i already did that), and this will work (right now it will fail), but the next nightly will have it working (just tested this)
December 30, 2014 at 1:43 pm #34541Thank you Atom
Ah Ok , I’ve tried toFloat() , I saw that
Nice Thank you again
January 14, 2015 at 2:29 pm #35613Hello
Anyone knows how to set a minimum value for custom comp without sliders() functions ?
The tempo starts by 30 while and in the vst host , by 0
April 7, 2015 at 5:38 pm #43218Hello
I’m starting to replace customcomp by uislider and lookAndFeel
but i’ve a doubt :
for params that have more than 128 values : my drag method vs slider()
mydrag : very precise , i can adapt drag for each modulator ranges
but if i drag very fast then the drag breaksslider(): i can move the knob so fast but slowly it jumps values
i tried to play with velocity functions but not sure…So let me know if you prefer precision (especially with touch screen) or performance
April 8, 2015 at 2:21 pm #43311Solved : I go for look&feel with different mouse sensitivities. nice!
January 30, 2016 at 8:52 pm #68216I would prefer performance ๐
Anyway, Iยดm getting problems to get the values from the Mopho when I press the “Get” button, but the Send button works.
Do I have something wrong? (the MIDI Channel on the Mopho is 13 and the global settings are default)
Thanks!!
- This reply was modified 8 years, 2 months ago by iZueL.
-
AuthorPosts
- The forum ‘Panels, Components, Macros’ is closed to new topics and replies.