Troubleshooting
Controll Breakpoint(s) with Faders
Started by agentsmith23 on .
Sign in or create an account to join the conversation.
hey,
i want to create a simple envelovpe, which i can controll with 4 faders.
fader1: Attack = point2.x
fader2: Decay = point3.x
fader3: Sustain = point3.y/point4.y
fader4: release = point4.x
i tried but i dont know how to script it..
help please^^
http://www.bilder-upload.eu/show.php?file=d1ff89-1360345981.jpg
i want to create a simple envelovpe, which i can controll with 4 faders.
fader1: Attack = point2.x
fader2: Decay = point3.x
fader3: Sustain = point3.y/point4.y
fader4: release = point4.x
i tried but i dont know how to script it..
help please^^
http://www.bilder-upload.eu/show.php?file=d1ff89-1360345981.jpg
Controlling individual points of a breakpoint with faders can be achieved with referencing them in scripts in your faders like this
insert script in fader, on expression x, any
However you will realize after doing this, that this is not exactly an accurate visual representation....For example raising the "attack" fader even if it correctly moves the second point along the X axis....the decay will "visually" become shorter.....so it should also relatively move the decay point too, wouldnt it?
In other words its more complex than the "moves" you have described in your post...
insert script in fader, on expression x, any
Breakpoint_name.x[1]=x;
where x[0] is the first point, x[1] the second and so on....However you will realize after doing this, that this is not exactly an accurate visual representation....For example raising the "attack" fader even if it correctly moves the second point along the X axis....the decay will "visually" become shorter.....so it should also relatively move the decay point too, wouldnt it?
In other words its more complex than the "moves" you have described in your post...
Here is an example with an effort to keep a "logical" visual representation of the envelope settings...Still though, you will have to map the faders to the envelope of your software and NOT the points - the breakpoint object in this case merely serves only as a visual representation and not as accurate midi messages one would map to an envelope attack, decay, sustain and release settings.
Breakpoint_envelope.jzml
Breakpoint_envelope.jzml
allright, thank you!!!
appreciate it!
did you have more of these example-parts?
regards!
appreciate it!
did you have more of these example-parts?
regards!
They are not something I have already in my arsenal - I created it when I read your post...Besides answering your question, it helps me practise scripting and possibly help me understand lemur scripting better and also deal with practicalities not apparent in initial ideas! 
ok!
if you want you can help me out further..
i'm trying to add a delay on each point in this project, so the points acting like a sine-wave..
its a very simple preset, one physic-fader which controls the y.axis of the breakpoints...
regards!!
Point Delay (Sine).jzml
if you want you can help me out further..
i'm trying to add a delay on each point in this project, so the points acting like a sine-wave..
its a very simple preset, one physic-fader which controls the y.axis of the breakpoints...
regards!!
Point Delay (Sine).jzml