Need help for a simple edit to M4L.chooser.js

    Nov 11 2019 | 5:53 am
    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?

    • Nov 12 2019 | 8:33 am
      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)
    • Nov 14 2019 | 6:01 pm
      Thanks Mark, will check this.
    • Nov 16 2019 | 7:55 am
      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".
    • Nov 26 2019 | 10:44 am
      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.
    • Nov 29 2019 | 8:33 am
      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...