If I make a trackbank for the whole session on init with:
Code: Select all
tracks = host.createTrackBank(100,7,7);Code: Select all
tracks.scrollToChannel(3);Has anybody got this working?
Code: Select all
tracks = host.createTrackBank(100,7,7);Code: Select all
tracks.scrollToChannel(3);You may have run into a bug, send to tech support.fhill2 wrote:In API Manual it says I can make a track visible by using scrollToChannel ( int position ).
If I make a trackbank for the whole session on init with:
then using this command to make a track visible:Code: Select all
tracks = host.createTrackBank(100,7,7);
Doesn't work for meCode: Select all
tracks.scrollToChannel(3);![]()
Has anybody got this working?
This makes perfect sense, but I've been using a small bank size and it doesn't seem to matter.BufoBufo wrote:a smaller trackBank window of size 4 and you said trackBank.scrollToChannel(6), the trackBank would correctly switch to its second page. The (absolute) channel index 6 would then be represented by trackBank.getChannel(2).
Code: Select all (#)
trackBank = host.createMainTrackBank( 8, 0, 8 ); // 8 clips x 8 scenes
trackBank.scrollToScene( 5 ); // selects page but does not scroll to the scene
trackBank.getClipLauncherScenes().launch( 0 ); // launches clip #6 but does not scroll
trackBank.getTrack(0).getClipLauncherSlots().select(0); // selects clip #1 but does not scroll
trackBank.getTrack(0).getClipLauncherSlots().select(5); // selects clip #6 but also does not scroll
Code: Select all (#)
trackBank.scrollToScene( 8 ); // will set the window to "page 2" which contains scene 9
trackBank.getClipLauncherScenes().launch( 0 ); // launch first scene within page 2 (scene % pageSize) Submit: News, Plugins, Hosts & Apps | Advertise @ KVR | Developer Account | About KVR / Contact Us | Privacy Statement
© KVR Audio, Inc. 2000-2026