teotigraphix / Framework4Bitwig

Bitwig controller API framework extensions.
GNU Lesser General Public License v3.0
58 stars 13 forks source link

createCursorTrack behaving non-probabilistic #212

Closed git-moss closed 2 years ago

git-moss commented 6 years ago

just wrote a simple test script to answer a question of someone. I noticed that if you have a number at the end of the cursor track ID it is not pinnable (or does not work at all, havent tested):

E.g.:

cursorTrack = host.createCursorTrack("TM0", "TrackMonitor", 0, 0, true);

That works:

cursorTrack = host.createCursorTrack("T0M", "TrackMonitor", 0, 0, true); cursorTrack = host.createCursorTrack("0TM", "TrackMonitor", 0, 0, true);

git-moss commented 4 years ago

Just found out that the problem seems to be a different one! Bitwig seems to cache all Cursor Tracks with an ID until Bitwig is restarted and even shares them among all scripts and extensions!

git-moss commented 4 years ago

Needs further analysis and a test script.

git-moss commented 4 years ago

With the used ID in this demo script no names are output if the dumpNames() function is called. Changing the ID to e.g. "xyz" makes it work.

ParameterNameTest.control.zip

git-moss commented 2 years ago

Cannot be reproduced anymore in 4.3 Beta 4.