navigateIntoTrackGroup

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,

did anybody get the "navigateIntoTrackGroup" Function to work?
It seems to do nothing in my script.

The Problem seems to be old, but I hoped, that it's fixed by now.
https://github.com/teotigraphix/Framewo ... issues/127 (https://github.com/teotigraphix/Framework4Bitwig/issues/127)

Post

I havn't played with this... but what does your code look like? and what are you passing into the function?

I find it very interesting scripting in this API because there is sooo many things depreciated or changed and lots and lots of code written for API versions 1-10. but still stoked to have access into an the app in this fashion.
---------------------------------------------------------------
http://kirkwoodwest.com/

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.
EDIT: Solved it! my Mistake.

I Used Moss's ITrack:hasParent() Function to decide whether to enter or exit the group.
This returned true for the Group master Track for some reason, so my enterGroup Function was actually never called

_____________________________________________________________________

I am modding the 'DrivenByMoss' Script, so my overall Code is freaking Huge. (Moss really did a crazy thing there, such a complex and huge implementation!)

This is the actual Code Snipped:
(ITrack is Moss custom Track-Wrapper)

Code: Select all (#)

   
   @Override
    public void enterGroup(ITrack track) {
        this.application.navigateIntoTrackGroup(track.getTrack());
    }

    @Override
    public void exitGroup() {
        this.application.navigateToParentTrackGroup();
    }
    
The Exit function works, so the overall structure should be fine.
And I get a error message when I pass anything different as an argument, so this should be correct too.

__________

And yes the possibility to script custom Scripts for Bitwig is awesome!
Together with the crazy DrivenByMoss Script, this was my selling Point for Bitwig

Post

Glad you solved it man! 100% DrivenByMoss was my selling point as well.
---------------------------------------------------------------
http://kirkwoodwest.com/

Post

I really like to see your code more in detail. I do try it to get it work, too in the ITrack.java...

Post Reply

Return to “Controller Scripting”