Trebleton v0.1 : Ableton clip launcher for Android (free)

For iOS (iPhone, iPad & iPod), Android, Windows Phone, etc. App and Hardware talk
Post Reply New Topic
RELATED
PRODUCTS

Post

AUTO-ADMIN: Non-MP3, WAV, OGG, SoundCloud, YouTube, Vimeo, Twitter and Facebook links in this post have been protected automatically. Once the member reaches 5 posts the links will function as normal.
Hi,
I'd like to introduce an Ableton clip launcher I wrote for Android.
It comes up as an interface file to load in the "Control" app.
It's meant to be run on a 10" Android tablet, although it should run on anything Android.

For those who don't know, "Control" is a free Android app which enable creation of OSC interfaces written in javascript, kinda like TouchOSC.

get Control here:
https://play.google.com/store/apps/deta ... ts.Control (https://play.google.com/store/apps/details?id=com.charlieroberts.Control)

get Trebleton here:
http://yourjavascript.com/5313355702/tr.js (http://yourjavascript.com/5313355702/tr.js)

Read instructions here:
https://maps.djtechtools.com/mappings/1341 (https://maps.djtechtools.com/mappings/1341)

Comments,suggestions are welcome!

And what would be a clip launcher without a screenshot:
http://imageshack.us/a/img802/6827/trebleton.jpg (http://imageshack.us/a/img802/6827/trebleton.jpg)

Post

Hi tretto,

Im insterested to find out, can this run on ipad? Is there any reason why its android specific?

Ive been playing around with the script to try and get it to work, but not having much luck.

I notice for instance that ios doesnt like this line

Code: Select all

 "oninit": "oscManager.sendOSC(['/remix/set_peer','si' ,'" + comp_ip + "',8080]);control.init_tracks_and_clips();",
Ios particularly doesnt like the square brackets, but also it doesnt like the comp_ip variable either. Making these changes results in this line working, but im struggling with the rest of the script.

Any tips would be most appreciated.

Cheers

Post

AUTO-ADMIN: Non-MP3, WAV, OGG, SoundCloud, YouTube, Vimeo, Twitter and Facebook links in this post have been protected automatically. Once the member reaches 5 posts the links will function as normal.
Hi johnnybe, and thanks for your interest in my work.

The main reason why it's android specific is that Android didn't have an ableton controller, so I did not bother getting it to work on apple devices.
Apple devices already have a lot of similar products.

Anyway, it should not be too difficult to "port".
there are only a few differences between Apple and Android syntax.

First interesting thing to know is that Apple devices know their IP address, so you don;t need a fixed IP from tethering as you need for Android.

So you can replace :

Code: Select all (#)

"oninit": "oscManager.sendOSC(['/remix/set_peer','si' ,'" + comp_ip + "',8080]);control.init_tracks_and_clips();",
with:

Code: Select all (#)

"oninit": "oscManager.sendOSC('/remix/set_peer','si' ,'" + window.ipAddress + "',8080);control.init_tracks_and_clips();",
And then you can remove the line number 5 of tr.js:

Code: Select all (#)

var comp_ip = '192.168.43.1';
then ipad should connect.


I remember there are a few differences in the way to formulate OSC messages, but that should not be too many changes.
I'll try with my old iphone someday and will let you know.

Good luck!

Post

tretto wrote: get Control here:
https://play.google.com/store/apps/deta ... ts.Control

get Trebleton here:
http://yourjavascript.com/5313355702/tr.js

Read instructions here:
https://maps.djtechtools.com/mappings/1341

Comments,suggestions are welcome!

And what would be a clip launcher without a screenshot:
http://imageshack.us/a/img802/6827/trebleton.jpg
Do you think it will work on a Galaxy Note S?

Post

AUTO-ADMIN: Non-MP3, WAV, OGG, SoundCloud, YouTube, Vimeo, Twitter and Facebook links in this post have been protected automatically. Once the member reaches 5 posts the links will function as normal.
thecontrolcentre wrote:
tretto wrote: get Control here:
https://play.google.com/store/apps/deta ... ts.Control (https://play.google.com/store/apps/details?id=com.charlieroberts.Control)

get Trebleton here:
http://yourjavascript.com/5313355702/tr.js (http://yourjavascript.com/5313355702/tr.js)

Read instructions here:
https://maps.djtechtools.com/mappings/1341 (https://maps.djtechtools.com/mappings/1341)

Comments,suggestions are welcome!

And what would be a clip launcher without a screenshot:
http://imageshack.us/a/img802/6827/trebleton.jpg (http://imageshack.us/a/img802/6827/trebleton.jpg)
Do you think it will work on a Galaxy Note S?
Yes I don't see why it wouldn't.
I realized instructions were not up to date, I just updated them.

Post

Hi Tretto,

I made all the changes, but alas, it's not working on the ipad. Basically, I upload the template fine, but when I go to select it in "interfaces", it does go to landscape mode but wont load the template. It seems that perhaps the "control.init_tracks_and_clips();" is not working?

Cheers for your help.

J

Post Reply

Return to “Mobile Apps and Hardware”