@thestigh so, you want to slide the mic to someone else, and back… fun times…
PSC-node needs a start and stop, separate from constructor, right now the constructor does an implict start
the start does the spawn (save id)
the stop does a kill (id)
then MMM-Voice node helper needs commands to stop and restart/start.
right now its all ‘start’
the PSC on handlers have to be redone on start/restart, cause the background process stdout is closed and reopened on new spawn.
then the MMM-Voice has to have added function to receive request to yield and issue request to obtain control.
there may be some additional recovery work on resumption of listen to the mic after the prior process was killed…(abruptly)