Need help for a simple edit to M4L.chooser.js
Hi there,
I'm pretty sure it's a simple one for those who know javascript but it's not my case.
I'd like to edit the M4L.chooser.js to find and list only the audio tracks present in a Live set. I the want midi, returns and the master track to be ignored.
Can anyone help?
thx!
i had also a question on how to mod the chooser.js more than 2 years ago, nobody answered.
i wanted midi tracks only, but most importantly to fix some bugs it has, for example, moving or renaming tracks does not get refreshed on the chooser properly.
i ended up making my own chooser without javascript, and without the bugs present in chooser.js (search e.z.chooser in forum topics)
but then the commands i used became deprecated.
you could check brocs example patches on the following topics, and build something from there (no javascript knowledge required)
Thanks Mark, will check this.
Hey Mark,
The solution (thanks to Jeremy Bernstein) was to simply append the "m4l.chooser.js" maxpat with "trackaudio".
So for you that would be "trackmidi".
thanks valiumdupeuple, but i have decided long ago to not use m4l.chooser.js because of the other mentioned problems, and also because it is using the deprecated commands. unless they have re-written the script to fix all this? i haven't checked, but i seem to remember from some relatively recent forum posts it seems it still has these issues.
The track renaming/moving issue isn't fixed, but I don't know what deprecated commands you're talking about so I can't comment on this. I'm pretty sure it hasn't been updated anyway, so...