changePage via OSC

Home Forums Control changePage via OSC

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #93284
    psc
    Member

    sorry for the noise, found it (not tested) on this post:
    http://charlie-roberts.com/Control/?cat=3
    oscManager.delegate = {
    processOSC : function(oscAddress, typetags, args) {
    switch(oscAddress) {
    case “/nextPage”:
    control.changePage(‘next’);
    break;
    case “/previousPage”:
    control.changePage(‘previous’);
    break;
    case “/changeToPage”:
    control.changePage(args[0]);
    break;
    }
    }
    }

    #93285
    psc
    Member

    It’s working (Android version with PureData) BUT with this piece of code in my interface, I cannot update widgets anymore!

    What would be the solution to have both, custom delegate and the default behaviour on the widget (send /myslider 0.4)?

    My interface:
    https://github.com/patricksebastien/heavybox/blob/master/control/heavybox.js#L47

    Thanks!

    • This reply was modified 13 years, 3 months ago by psc.
    #93287
    psc
    Member

    Everyone, I am very sorry for this thread… I found the solution (I tried to delete my last question,  no option). For those interested:

    https://github.com/patricksebastien/heavybox/blob/master/control/heavybox.js#L47
    default:
    oscManager.processOSC(oscAddress, typetags, args);
    break;

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
This work is licensed under GPL - 2009 | Powered by Wordpress using a heavily modified version of the theme aav1