I’m making a lullaby patch that stops playing after a certain amount of time, designated by the user. That all works nicely but I’m wondering, is there is a module that can access the function to close the VCV Rack application? That way my computer could go to sleep once the patch finishes playing.
It’s certainly feasible to make such a module (it just needs to find the main window and call it’s close()).
I don’t know of one offhand. I can imagine a module that offers a knob to set a timeout, an input to trigger the timer to start, and a trigger input/button to close the app.
It may be a while before I update pachde1, but this would be fun to add, especially if there are other interesting scenarios to cover. I’m interested in the oddball but useful or even useless but funny functions (a crash Rack trigger, a reboot your computer trigger …).
There once was a “Feed the Cat” module (from JW), if you did not feed it fast enough it started to remove cables from your patch. Andrew B was not pleased and asked for it to be removed.
EDIT : it’s still there but it leaves your cables alone.
Oh and if you save a patch with a high gate attached to that input, you will have a hard time re-opening it. I ignore the first quarter second or so of triggers but you know. Beware. Turns out this is fine.
It might be worth putting some startup code such that it ignores any high gate on startup (the startup gate would have to go low before it recognizes the transition to high)