boomninjavanish / twitchPlaysTheSynth

0 stars 0 forks source link

remove mapper names from javascript array (mapperNames in twitchPlaysTheSynth.js) when tpts.paramamapper Live device is deleted #34

Open boomninjavanish opened 3 years ago

boomninjavanish commented 3 years ago

When the MFL device is deleted, the mapper names still reside within the array that keeps track of them. Find a way to remove all names from a device before it is removed.

Another solution would involve tracking each paramamapper device's mappers in a coll within the main patcher.

boomninjavanish commented 3 years ago

Note to self: will have to store device ID in coll, have paramamapper keep track of its ID for storing messages to the javascript array, and use that ID to delete items in javascript array

also: https://cycling74.com/forums/detect-when-device-is-deleted-in-live