I’m trying to design a little custom Euclidian app, just in the design stage (I have finished all the Csound code but new to Cabbage Graphics).
Iain’s Bassline looks like this:
I copied some of the style code but mine looks like this:
How do I get a similiar effect with the sliders having the fade out on the top left (or right etc)?
Also, is it possible to use actual images for the background or sliders etc.? I suppose I should RTFM first but that this might be quicker. Relevant Links For Dummies welcome!
Here is the little bit of graphics code I’ve attempted as an initial test:
form caption("Euclidian"), size(470, 260), pluginID("band"), guirefresh(10) image bounds( 0, 0,615,220), colour("grey"), shape("sharp"), outlinecolour("white"), line(4)#define RSliderStyle # trackercolour(255,255,255), colour( 0, 55,100), textcolour(0,0,0), outlinecolour(50,50,50)#
;rslider bounds( 45, 15, 45, 45), text(“1”), channel(“Note1”), range(24, 96, 60, 1, 1), $RSliderStyle
rslider bounds(10, 10, 60, 60), text(“Kick Vol”), channel(“Volume”), range(0, 1, .5, 1, .1), $RSliderStyle
rslider bounds(100, 10, 60, 60), text(“Snare Vol”), channel(“Volume”), range(0, 1, .5, 1, .1), $RSliderStyle
rslider bounds(200, 10, 60, 60), text(“HiHat Vol”), channel(“Volume”), range(0, 1, .5, 1, .1), $RSliderStyle
instr 1
kData1 chnget “rslider1”
kData2 chnget “rslider2”
kData3 chnget “rslider3”
Euclidian kData1+kData2+kData3, “localhost”, 7770, “/foo/bar”, “ff”, kData1, kData2
endin
i 1 0 [3600*24*7]