switch to act like slider
-
- Regular
- Posts: 72
- Joined: 26 Dec 2011 22:11
switch to act like slider
hey all,
currently building a lemur patch for my live set and am running into a wall with problems.
i want to use the switch object to control the beat division in ableton, having the switch split the same way: 2X4
but the switch only allows 127 for each switch. how can this be ramped in value so when i reach it is then 127. basically like a slider
i am working in midi rather than osc.
so say the first one is : 0-20
second: 21-40
and so forth
until you reach the last: 108-127
i will work through it to find out, but help would be nice
regards
lewis edwards
------
smokingbunny.co.uk
currently building a lemur patch for my live set and am running into a wall with problems.
i want to use the switch object to control the beat division in ableton, having the switch split the same way: 2X4
but the switch only allows 127 for each switch. how can this be ramped in value so when i reach it is then 127. basically like a slider
i am working in midi rather than osc.
so say the first one is : 0-20
second: 21-40
and so forth
until you reach the last: 108-127
i will work through it to find out, but help would be nice
regards
lewis edwards
------
smokingbunny.co.uk
lewis edwards
------
smokingbunny.co.uk
------
smokingbunny.co.uk
-
- Regular
- Posts: 72
- Joined: 26 Dec 2011 22:11
Re: switch to act like slider
Hi
Have you tried ' firstof(Switches.x) ' to give you which one you pressed and then mapping that info how you want ? . .
Cheers
MM
Have you tried ' firstof(Switches.x) ' to give you which one you pressed and then mapping that info how you want ? . .
Cheers
MM
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
-
- Regular
- Posts: 72
- Joined: 26 Dec 2011 22:11
Re: switch to act like slider
no i have not... yet
im still pretty new to lemur, was more a touchosc guy until lemur came out for the padi
but will try out what you said
im still pretty new to lemur, was more a touchosc guy until lemur came out for the padi
but will try out what you said
lewis edwards
------
smokingbunny.co.uk
------
smokingbunny.co.uk
-
- Regular
- Posts: 72
- Joined: 26 Dec 2011 22:11
Re: switch to act like slider
that has worked to some degree, so thanks.
but i am still unclear how to get it to act like a slider.
at the moment it acts like it is stepping along, when i press a switch [no matter which one] it steps up to the next value, basically going in a circle
but i am still unclear how to get it to act like a slider.
at the moment it acts like it is stepping along, when i press a switch [no matter which one] it steps up to the next value, basically going in a circle
lewis edwards
------
smokingbunny.co.uk
------
smokingbunny.co.uk
-
- Regular
- Posts: 72
- Joined: 26 Dec 2011 22:11
Re: switch to act like slider
ok...
have given this some thought over noodles and tea. the one thing i know is that it is scripting to assign each button.
only thing with that is that i dont know the script itself.
i have used the "firstof(Switches.x)" and has worked to some degree. but what would be the script to assign each switch
i was thinking something like
=scale-Switch.x0[0-15]
=scale-Switch.x1[16-31]
and so forth until i reach the end
but to be honest dont know much code.
have given this some thought over noodles and tea. the one thing i know is that it is scripting to assign each button.
only thing with that is that i dont know the script itself.
i have used the "firstof(Switches.x)" and has worked to some degree. but what would be the script to assign each switch
i was thinking something like
=scale-Switch.x0[0-15]
=scale-Switch.x1[16-31]
and so forth until i reach the end
but to be honest dont know much code.
lewis edwards
------
smokingbunny.co.uk
------
smokingbunny.co.uk
-
- Regular
- Posts: 72
- Joined: 26 Dec 2011 22:11
Re: switch to act like slider
hello... again
after some thought, searching and food. came across some things on the jazzmutant site. though the code does not seem to work as i thought it would.
the same is asked someone and seem to be answered, but im having trouble still
here is the source page
http://forum.jazzmutant.com/viewtopic.p ... amp+switch
after some thought, searching and food. came across some things on the jazzmutant site. though the code does not seem to work as i thought it would.
the same is asked someone and seem to be answered, but im having trouble still
here is the source page
http://forum.jazzmutant.com/viewtopic.p ... amp+switch
lewis edwards
------
smokingbunny.co.uk
------
smokingbunny.co.uk
Re: switch to act like slider
Hi
Does something like this help - MIDI map in LIVE
beatsw = Custom midi sending on CC#22 using stretch and firstof in value field of Custom MIDI . . .
labels() = onload setattributes to set multilabels . . .
Hope that helps
Cheers
MM
Does something like this help - MIDI map in LIVE
beatsw = Custom midi sending on CC#22 using stretch and firstof in value field of Custom MIDI . . .
labels() = onload setattributes to set multilabels . . .
Hope that helps
Cheers
MM
- Attachments
-
- BeatSwitches.jzlib.zip
- BeatSwitches for PingPong Delay
- (727 Bytes) Downloaded 178 times
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
-
- Regular
- Posts: 72
- Joined: 26 Dec 2011 22:11
Re: switch to act like slider
thats great, thank you for your time and help.
did think of a quick work-around to the problem. and it was to double the y axis as the division selector [dont know why i did not think before]. saves on landscape as well. but will be using both to accommodate.
but more than likely will use your example as it just makes more sense
again, thanks
did think of a quick work-around to the problem. and it was to double the y axis as the division selector [dont know why i did not think before]. saves on landscape as well. but will be using both to accommodate.
but more than likely will use your example as it just makes more sense
again, thanks
lewis edwards
------
smokingbunny.co.uk
------
smokingbunny.co.uk