Is there any kind of API?

Locked New Topic
RELATED
PRODUCTS

Post

Does anyone know if cantabile has some sort of API that would allow me to get certain data from the application?

For example the name of the current session, the value of a parameter when it's changed via midi.

I'm using cantabile on stage and it's working pretty well for me. I can control it very well from my m-audio keystation pro (plenty of buttons, sliders, knobs) and the only thing that bothers me is to have a big screen on stage so I can see that I'm switching to the right session, and maybe some other parameters when I use a slider or so to change a parameter.

It would be great if it would be possible to get this information via api and maybe send it to something like a small LCD display (e.g. http://www.mini-box.com/picoLCD-20x2-OEM) or so that can easily be kept on the keyboard.

I have only limited .Net experience, but this doesn't look too difficult to do. I'd be even fine with just the session names. Like they are displayed on screen with the 2 second delay. I just want to be able to output that to a different screen.

Any ideas?

Post

I would be happy to help in this development if an API is available

Post

I don't know of an API but there is a Telnet Sever in Cantabile Solo/Performer. You will find a documentation at Topten Software web site.

You have to write a telnet client to use it. That's not as easy as using an API. I've experimented using this with C# this and it works for remote control - probably not in all aspects you've mentioned but many... If you want to discuss telnet more in detail please sent a PM.
Best regards, TiUser
...and keep on jamming...

Post

Cool ... I will see what I could do from that !

I would love having a remote GUI for Cantabile (like a native iPad app ...)

Post

Interesting. I have not much experience with telnet, but I'll look into it. Didn't even think about just using an iPad, phone or so as remote.

Post

Already built a small API to map all the telnet commands to something more structured in C#.

I will now build first a small windows app using it and then port it to iPad and Android using monoTouch ... So I should come soon with something usable

Post

I just took a closer look. This should do everything I was thinking of. It looks pretty easy to send a command and parse the response. I did a basic test with a windows app and it seems to work well.

I like the idea about the iPad/Android interface, since it has the added advantage of having the touchscreen as well.


pchanez, do you want to pool resources on this one? If you already have experience with those platforms it'll you're probably quicker than me :). My domain is more software testing anyways (I work as a test engineer for a software company).

Post

Glad to help introducing telnet and bringing this into focus.

Brad created this after I've pushed him to do anything like that during beta development of Cantabile 2 and I was really surprised what he came up with.

When you develop your own interfaces keep in mind that the more advanced things are dynamic and change from session to session - like rack or vst related parameters... It took me a while to handle this conveniently. But the basics are indeed not too difficult to use

Cantabile telnet is a text based networking protocoll - and the idea to do something for other devices like iPad would be nice. I have none and I do not intend to do this anytime.

If someone decides to do anythingthing for iPad - let me please know.

Keep also in mind that you can control multiple instances of cantabile simultanously using different port numbers... There are open doors - just we have to go through them... :wink:

I personally struggled a bit with automating all needed to use telnet... In other words writing routines that implant the telnet activation into cantabiles settings file, to connect to cantabile (and monitoing lost connection) and to find running telnet servers by a background process automatically...
Best regards, TiUser
...and keep on jamming...

Post

I wouldn't have even thought about telnet. But it's neat J. So, thank you TIuserJ

Personally I wouldn't have many requirements for a simple phone app to be used as a remote control. I have most of features I need to control cantabile are mapped to buttons/knobs/sliders on my keyboard.

I'd be totally happy with:

Main interface:

- Name of set list

- Previous / Current / Next Song (Display)

- Load Previous / Next Song

- Select Song (opening a menu to scroll through all songs in the current set list)

- Connection Status

- Audio Engine Status / Toggle button

Options:

-Load Setlist

Other features could be:

- Maybe some optional buttons that can be customized (Panic, Play, Record, Stop, Save Session, Midi Params)

- A Mixer on a 2 nd screen? (Map sliders to racks… But this can be cause issues if the racks change from session to session. These can be automated via midi anyways.)

- Metronome? (for visual feedback)

Personally, I think it would be cool to have a feature to map some text to a song name. That could be used to display Leadsheets, Lyrics or other notes once the session loaded. Maybe a little 'Teleprompt' feature J

Post

...probably I'm as usal too picky, LOL :hihi:

Maybe J. will do an iPad / Adnroid client? :love:


Some of your needs can probably done in other ways than using telnet. Cantabile can start external applications. That way you can start an image or text viewer with a session. Needs some experimentation...
Best regards, TiUser
...and keep on jamming...

Post

Did anyone get around to making an ipad client that uses the telnet server to control Cantabile? Since I am on the verge of buying Cantabile, this is of serious interest to me. if not, maybe I'll take a crack at it.

In the meantime I guess its always possible to use remote desktop client on an ipad as long as you have Professional version of windows that includes RDP server. But personally I like the idea of a dedicated client because then it can be dummied down so that you won't accidentally screw anything up during a gig.

One of the things I like about Forte is the scene view for gig time. Well the ipad app could essentially provide almost the same kind of full screen interface that just provides basic controls of switching songs, etc. and shows the set list on the screen too.

Anyway wondering if anyone did anything for this yet?

It would be even more awesome if midi CC messages could be passed to the Cantabile network server also and passed into Cantabile. Maybe it does already? This would make it possible to make an ipad app that has a very MainStage-ish look to it, to see the set list, change songs, and even if needed move some sliders or knobs on screen to effect VST parameters in cantabile. Imagine for example, B3 drawbars or whatever..

Post

One thing I'm putting together a display similar to what the Receptor has - a Crystalfontz 635 display in the 5.25" bay of my 2U rack pc. There are also a few LEDs on the side that I could potentially use for triggering high CPU values, low memory, disk, etc.

LCD Smartie is freeware that lets you display various things on the 20x4 LCD, and there is an "umbrella" plugin from eserver.gr that lets you pass text to it from outside of the software. I'm trying this now.

I know that Cantabile can pass parameters to external programs but couldn't find a list in the manual (did I miss it?). Can anyone point me to this?

My goal is to display the current session/subsession on the top line or 2, and then some basic metrics on lines 3/4 - CPU, memory, disk.

Once I get this all working I'll be happy to share a "how to".

I also ordered a DoubleSight DS-90U 9" LCD monitor that I'm trying as well - will run a USB cable back to the rack and clamp it onto my keyboard stand. the LCD display is my "backup".

Locked

Return to “Topten Software”