Hi list,
I've two questions :
1/ How could I get the patch filename ? In a dynamic context, I need to get the patch filename when user do a "save as", so the filename change. I use [iemguts/receivecanvas] - [route savetofile]. I wonder if it the best solution, if it takes too much cpu because [receivecanvas] get all messages and I need just one, when the patch is saved...
2/ I would like to detect if an Arduino is connected. My solution is to bang a [version< message to [arduino] et [route version] the second outlet of [arduino]. Is it the best solution ? The problem appears on Mac OS, because there are few devices like Bluetooth, so I need to get the ttyusbmodem* device. The easiest way would be to get consol messages when I ask [devices< and catch device names.
Thanks,
Jerome
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2013-12-17 12:45, JérÎme Abel wrote:
Hi list,
I've two questions :
please post one email per (unrelated) question.
1/ How could I get the patch filename ? In a dynamic context, I need to get the patch filename when user do a "save as", so the filename change.
in theory you should be able to do this with [savebangs]+[canvasname]. but it seems that [canvasname] won't return anything for top-level patches (and you cannot change the name of an instantiated abstraction).
i'll try to fix the former.
fgamsdr IOhannes