ccrma / chunity

ChucK in Unity
https://chuck.stanford.edu/chunity/
MIT License
12 stars 2 forks source link

2024 chuckathon findings #13

Open gewang opened 1 month ago

gewang commented 1 month ago

further investigations needed: 1) chuck SubInstance shred is still running after SubInstance is destroyed; note: audio is disconnected but otherwise shred is still executing in the VM; possible approach each SubInstance tracks shred ID to remove when it is destroyed 2) global dac replacements UGens need more cleanup: disconnect from blackhole; possible removal or recycle for future use

nshaheed commented 1 month ago

have a set of available replacements dac ugens?

I don't think this needs to be a set - it could just be a stack

Are subinstance construction/destruction multithreaded? In that case we would need some data structure with atomic find/add/remove