iPhoneOS max/msp (via rtcmix~): iLooch

    Jul 06 2010 | 2:43 am
    Hey everyone --
    My very first iPhone/iPod-touch/iPad app has just been approved (yay!) by Apple and is available at the itunes app store. Check the web site here:
    It's yet another in the long line of "looching" generative/ambient/algorithmic music apps.
    Why is this of interest to max/msp developers? "ilooch" uses iRTcmix (http://music.columbia.edu/~brad/iRTcmix) for the audio engine, a port of the RTcmix (http://rtcmix.org) music programming language. I use max/msp as my development environment ([rtcmix~]) to build the essential music and audio-interactive parts of the app. It's not quit max/msp directly-translated to iPhoneOS (which would be *really* difficult), but it's a bit of a bridge.
    I made a short demo video of a very basic iPhone app-development process, available here:
    it shows what's involved. All the synthesis and sig-processing is done on the iPhone, it's not an OSC-wrapper for external hardware. Because iRTcmix is built using XCode and is fully-compiled into the finished app, it (obviously) meets the constraints for iPhone apps; i.e. you don't have to 'jailbreak' your device to use this.
    I hope you enjoy this -- drop me a note if you'd like. Life can be fun!

    • Jul 06 2010 | 6:17 pm
      Hey Brad
      Thanks a lot for this. It looks really really exciting. I will love to check it out.
      My only problem is that my rtcmix~ (and chuck~) has been crashing since I installed the FTM package. I have read an old thread about this subject but it does'nt seem that the problem has been solved. Do you have a solution for this ?
      Best regards,
    • Jul 06 2010 | 9:25 pm
      Unfortunately this is a problem that I cannot fix. I think IRCAM is using the same (common) parser-builder that we use in RTcmix (a yacc/lex variant of some kind), and apparently because they are communicating across various objects the main call to the parser is exposed. So when [rtcmix~] calls what it thinks is the RTcmix parser, it invokes the FTM parser instead. And as you noticed this also affects [chuck~], because the ChucK team also used the same scheme. The only thing to do is to move the FTM libs out of the search path when using [rtcmix~] or [chuck~], but that's kind of a pain. Sorry!
    • Jul 07 2010 | 4:43 pm
      Thanks for your answer,Brad !
      I wonder if it would be possible to create a Max patch that changes the search path and excludes the FTM libs at startup. If possible this patch could be activated when RTcmix~ or chuck~ is going to be used.
      Does anyone know if this can be done and how ?
    • Jul 09 2010 | 10:44 am
      Hi Brad,
      Great work!! Thanks for sharing. I have downloaded the zip file and tried to compile the source, but I found out in the "phone_libs" folders (both iRTcmix-iPhone-DEV and iRTcmis-iPhone-SIM), they only contain empty aliases. I did double-click "_COMPILE_IRTCMI_" and drag the parent folder into terminal window to compile. Maybe I have missed something.... any insight helps.
    • Jul 09 2010 | 1:43 pm
      Paul --
      Could you re-unpack the .zip file, and then run the _COMPILE_IRTCMIX_ command? When it finishes, do a "select all" in the window where the output from the _COMPILE_IRTCMIX_ command happened, and then paste it into e-mail to me: garton - at - columbia - dot -edu.
    • Jul 09 2010 | 7:30 pm
      I'm really enjoying working RTcmix in RTcmix~. the only problem is it keeps crashing.. normally at annoying moments. I've uninstalled FTM and gabor... are there any more libraries i need to un-install to get it all more stable??
      irtcmix works great btw, i'm loving the sounds of RTcmix ( i'm working through all the documentation ) i just wish i was more experienced in actual programming (i'm a patcher person at the minute ) specifically making algorithms and using RTcmix to generate the sound. are there any tutorials on patterns / algorithm making e.t.c. ?