-
divver
Ok so I'm fairly new to this, I'm finding it hard to find any resources even related to what I'm trying to do as I doubt many people would even want to do it but here goes.
I'm a volunteer working on the tannoy system at a local Rugby ground.
Our primary trouble was finding an efficient way to play specific songs for specific players within a short time delay after they scored.
I have an iPad 2 which I currently use with the TouchOSC app for controlling Traktor 2 for DJing on weekends and I thought well surely I can somehow remap that so I did.
I mapped 29 individual buttons to player's names which were they mapped directly to tracks in Ableton which I had pre-cut and edited a long with various other announcements and tracks.
I then took it upon myself to attempt to switch over to the OSC control side of TouchOSC rather than the midi aspect of it and in doing a little research I came across LiveOSC, the OSC API for Ableton.
So here I am, I've been working on a Pd file that basically processes the OSC stuff that Ableton chucks out. In my case all I want it for is for having dynamic buttons. I want the button labels to change to exactly what the track name is in Ableton so what I did was this.
Now the print function is out putting what I'd like, It's taking the column from Ableton and the track number and track name and putting them in console for example, 0 2 Grandmaster Flash, however I'm trying to tie those together as an OSC command so I can send them directly to TouchOSC in the form of /0/2/Grandmaster Flash and my trouble is that, in my setup above I have it set up for troubleshooting locally on this laptop, when it udpsends and then udpreceives as if it was TouchOSC it's putting no strings, just a silly amount of numbers.
Any help would be truly appreciated.
Thanks,
Dave -
divver
That's the iPad interface on TouchOSC right now.
All the button labels as well as the currently playing labels are sent from the LiveOSC API loaded in Ableton, unpacked in Pd, and then sent to TouchOSC.
Any clips added to an Ableton track have their names sent to the corresponding TouchOSC button within milliseconds. It's perfect for what I need it for and I'm very happy with the reponsiveness and quality of what I have so far hehe.Attached is my bridge although it's pretty useless with the edited LiveOSC API and my TouchOSC interface but it explains what I've been trying to do lol.
The iPad simply allows me for example, when someone scores, to find their name, touch it and fire off their song within a second on average. As compared to using a laptop, trying to find it on the Ableton track list and then clicking the play button.
-
divver
I am well aware of other apps for controlling ableton but thank you nestor.
I'm creating this as I work with my old man down at the local Rugby ground and I wanted to make our process for playing specific songs much smoother and after already using TouchOSC for Traktor with the Midi bridge I wanted to get into OSC.
Pure Data is a fun way of doing that and now I've decided to edit the actual LiveOSC API so it throws out commands with parameters I want for Pd instead of just setting up Pd to catch whatever it's throwing at me it works quite neatly hehe.
I will post a few photos of my project if you'd like.
Thank you very much for the help maelstrom.
-
divver
Thanks, I've come a long way with your help. Finally got my bridge between TouchOSC and Ableton LiveOSC API working and rather well.
Just working on some final tweaks and then I'll post what I've got, it's hard coded in quite a few places due to me not being able to change TouchOSC messages and such, but it works a treat and I'll be demoing it on Sunday at a rugby game with a crowd of a few thousand so if it buggers up I'll know about it haha
Another question for everyone if you don't mind.
I'm currently unpacking an OSC command, in the form of unpack f f f
I then take the f f f, I branch off the third float into a number and then into a select.I need to make it so if during the select it's 2 or 3 then it will pack f f f and continue however I'm having a lot of trouble with the structure.
From what I gather I can only pack f f f directly below my unpack f f f?
-
divver
Thank you very much for the promptly brilliant reply. I feel like a massive idiot for not considering the unpacking again hehe.
So one last question for your mass of Pd knowledge if you don't mind.
When I do sendtyped /label iis $1 $2 $3 it would typically output something like /label 0 1 Queen - We Will Rock You
I'd like to find a way to eliminate the spaces automatically placed between parameters $1 and $2 but from what I can understand string manipulation is very limited in Pd. Is this possible?