it's to control a selected device (blue hand)...logic_user99 wrote:Ah, excellent! Thanks, Jorg - that's cleared it up a spell... ish. I guess I'll just have to have a play with it and see what happens.
Can anyone tell me what the below commands are for?
Bank1Button: -1
Bank2Button: -1
Bank3Button: -1
Bank4Button: -1
Bank5Button: -1
Bank6Button: -1
Bank7Button: -1
Bank8Button: -1
NextBankButton: -1
PrevBankButton: -1
LockButton: -1
Tutorial for writing custom control surface scripts?
Re:

-
continuous
- Posts: 1012
- Joined: Sat Aug 06, 2005 7:11 pm
- Location: PDX
Re: Tutorial for writing custom control surface scripts?
I'm setting up an Instant Map for my X-Station.
Anybody know if you can control more than the first two sends of each track via Instant Map? Also, I guess tempo is not instant mappable?
cheers
Anybody know if you can control more than the first two sends of each track via Instant Map? Also, I guess tempo is not instant mappable?
cheers
Re: Tutorial for writing custom control surface scripts?
keep this thread going...
i wish i could change the buttons under my faders on the remote zero to solo instead of mute.
i wish i could change the buttons under my faders on the remote zero to solo instead of mute.
2.4 ghz Macbook Pro 8gb RAM, SSD, Live 9 Suite, Puremagnetik, Minimal Talent
-
fishmonkey
- Posts: 4479
- Joined: Wed Oct 24, 2007 4:50 am
Re: Tutorial for writing custom control surface scripts?
you can only instant map the stuff that is in the user config template...continuous wrote:I'm setting up an Instant Map for my X-Station.
Anybody know if you can control more than the first two sends of each track via Instant Map? Also, I guess tempo is not instant mappable?
cheers
-
continuous
- Posts: 1012
- Joined: Sat Aug 06, 2005 7:11 pm
- Location: PDX
Re: Tutorial for writing custom control surface scripts?
The Instant Mapping is a very cool feature but I do wonder why the Abe's keep it limited. What rational reason could there nbe not to allow control over more sends? 
-
doc holiday
- Posts: 1683
- Joined: Thu Jan 24, 2008 1:49 am
- Location: NOW
Re: Tutorial for writing custom control surface scripts?
does that custom map script properly map sends again?
-
continuous
- Posts: 1012
- Joined: Sat Aug 06, 2005 7:11 pm
- Location: PDX
Re: Tutorial for writing custom control surface scripts?
Has there been a problem with it previously? I am pretty new to the Custom Instant Mapping. Just have mapped a couple sends and they seem fine?
-
doc holiday
- Posts: 1683
- Joined: Thu Jan 24, 2008 1:49 am
- Location: NOW
Re: Tutorial for writing custom control surface scripts?
i haven't messed with it for a while. but the same script would map the sends in (i think) 6.07 and that was the only version it ever worked in for me. I haven't tried mapping the sends since. back then no one could get them to work
-
continuous
- Posts: 1012
- Joined: Sat Aug 06, 2005 7:11 pm
- Location: PDX
Re: Tutorial for writing custom control surface scripts?
I'll let you know how they work when I set them up tonight. I was kinda holding out to see if anybody knew how to alter the usercofiguration.txt file to add more sends so that I didn't get it all set up and then have to change it.
The x-station's editor makes it pretty painless... just wish they would let us control more (sends, tempo, maybe session/arrangement view) if they're not going to provide a map in the prefs.
Kinda weird they wouldn't provide one for the x-station...
The x-station's editor makes it pretty painless... just wish they would let us control more (sends, tempo, maybe session/arrangement view) if they're not going to provide a map in the prefs.
Kinda weird they wouldn't provide one for the x-station...
-
fishmonkey
- Posts: 4479
- Joined: Wed Oct 24, 2007 4:50 am
Re: Tutorial for writing custom control surface scripts?
can the x-station be programmed to send pitchbend messages using the sliders???
Re: Tutorial for writing custom control surface scripts?
Python based proper control surface scripts:
http://blogs.bl0rg.net/netzstaub/2008/0 ... e-scripts/
The text file method seems very limited in what can be done.
-Ben
http://blogs.bl0rg.net/netzstaub/2008/0 ... e-scripts/
The text file method seems very limited in what can be done.
-Ben
-
continuous
- Posts: 1012
- Joined: Sat Aug 06, 2005 7:11 pm
- Location: PDX
Re: Tutorial for writing custom control surface scripts?
Not sure about that... still trying to sort out my basic setup. Anybody?fishmonkey wrote:can the x-station be programmed to send pitchbend messages using the sliders???
Wow... thanks for posting up this info. I realize you are right, the userconfig.txt won't get me what I want but the Python is over my head! I'll try to take another look though.MrYellow wrote:Python based proper control surface scripts:
http://blogs.bl0rg.net/netzstaub/2008/0 ... e-scripts/
The text file method seems very limited in what can be done.
-Ben
I don't understand why they can't offer more control in the userconfig text. If you can offer control over 2 sends why not 4, 6 or 8? If I can control tempo with a bcr why not with the x-station? Pretty frustrating Abes!
Re: Tutorial for writing custom control surface scripts?
I've had no luck finding documentation from abes on the python control script API.
I believe the LiveAPI people documented it themselves though haven't dug though
their docs yet.
Says in that article that to learn the API he had to decompile (hack) the existing
compiled python scripts provided by abes.
Between his microkontrol and FBC1010 examples there is a good bit of un-compiled
raw script code to learn from. I'm a programmer so after learning 9-10 languages
another one is easy, um, not sure what is the best advice. Maybe starting with
some tutorial examples of python web scripts until you understand the syntax.
From there if you can construct the logic you should be able to copy paste some
syntax that will work. The hard part will be debugging as there is no external
debugging tool, live just crashes when you make a mistake no matter how small.
The link provides some methods for logging errors to text files so you can
debug from there.
First live learning project would be to take an existing script and tweak some
of it's functions and watch how the code changes effect live.
-Ben
I believe the LiveAPI people documented it themselves though haven't dug though
their docs yet.
Says in that article that to learn the API he had to decompile (hack) the existing
compiled python scripts provided by abes.
Between his microkontrol and FBC1010 examples there is a good bit of un-compiled
raw script code to learn from. I'm a programmer so after learning 9-10 languages
another one is easy, um, not sure what is the best advice. Maybe starting with
some tutorial examples of python web scripts until you understand the syntax.
From there if you can construct the logic you should be able to copy paste some
syntax that will work. The hard part will be debugging as there is no external
debugging tool, live just crashes when you make a mistake no matter how small.
The link provides some methods for logging errors to text files so you can
debug from there.
First live learning project would be to take an existing script and tweak some
of it's functions and watch how the code changes effect live.
-Ben
-
continuous
- Posts: 1012
- Joined: Sat Aug 06, 2005 7:11 pm
- Location: PDX
Re: Tutorial for writing custom control surface scripts?
I cannot enter that realm!
But ya... the only option will be to manually map the controls I want which of course stinks because I want to be able to use my controller with the hundred or so sketches I have done previously in Live. Thanks again for the info though Mr Yellow!
But ya... the only option will be to manually map the controls I want which of course stinks because I want to be able to use my controller with the hundred or so sketches I have done previously in Live. Thanks again for the info though Mr Yellow!
-
fishmonkey
- Posts: 4479
- Joined: Wed Oct 24, 2007 4:50 am
Re: Tutorial for writing custom control surface scripts?
what kinda computer are you using?