[share] Max For Live setlist server
Hi all.
For background on this, see my rant/whinge here: https://cycling74.com/forums/how-can-i-programatically-load-a-live-set
The included readme explains installation, configuration & usage. Any questions on installing Ruby or using the terminal, please direct to Google. Anything else, feel free to ask. Hope someone finds this useful, or at least interesting. Let me know if you get it working.
Cheers
[sb]
BTW if anyone desperately wants to use it but finds the folder structure requirements too stringent I MIGHT be persuaded to rewrite that bit.
Maybe.
[sb]
Hey this looks like something I could use; I've been trying to get it up, and I'm pretty sure I've got Ruby installed correctly and followed the directory structures you suggest, but I keep getting the following error after navigating to the setlists folder:
Jason-2:setlists jasongalpin$ ruby setlist_server.rb example_setlist.txt
setlist_server.rb:14: syntax error, unexpected '.', expecting kEND
.compact
^
setlist_server.rb:16: syntax error, unexpected '.', expecting kEND
.reject { |s| s.empty? }
^
Can you tell what I'm doing wrong? I admit to being a 'command_line_virgin'
Hi Jake -
That's weird. I think that usually means there is an end statement missing, but unless you've edited the script it can't be that. Are you definitely using Ruby 1.9.3?
[sb]
Ah yes, this is a Ruby version problem. I'm using a syntax which was illegal prior to v1.9:
If you upgrade to 1.9.3 it should work fine.
[sb]
Simonbreak!
Firstly can I say thank you so much for sharing this amazing piece of programming! Such a simple thing Ableton
left out - has been driving me crazy trying to work out how to do this. I have been avoiding Live for a few years
based on the fact that you can't switch out sets like that... So thank you!!
I did have a question though. And yep, i'm a newbie to Live, and Esp M4L. So apologies if it is simple..
I have successfully installed your sb.setlist plugin, and it works perfectly in Live (v8.1.4) when you click the
buttons with a mouse... However, the buttons aren't coming up purpled-out when i hit on the Ableton Midi-Map Mode.
Is this something that has to be done within the flowchart in M4L? And if so how would I go about it. My apologies,
i've had a google, and although i think i understand the theory, I can't for the life of me get it to work.
Many thanks in advance! really do appreciate your help.
Josh
Oh my goodness, this is a blast from the past! I actually don't know how you would map the buttons to midi events, I haven't used Live in a loooooong time. It shouldn't be any different to mapping midi to any other plugin parameter. You need to find someone with more Live skills than me, maybe try asking "How do I map midi events to buttons in M4L plugins" on the ableton forums?
Alternatively, you could get your hands dirty with M4L by opening up the setList plugin and routing midi events from the midi in of the plugin to the different buttons. So if you wanted to fire "Next" with a middle A, you would use the max midiparse object to get the note number, route it through "select 69", then to the NEXT button.
Good luck!