piper icon indicating copy to clipboard operation
piper copied to clipboard

Piper Nodejs, knowing when proccessing is done

Open pixelblob opened this issue 10 months ago • 1 comments

Im Using piper in nodejs alongside a discord.js voice bot, the bot only seems to start speaking when the stdout of piper ends (me manually killing it) but when I use it long running in the background, continusly piping text into it and piping voice data out it doesnt seem to ever start speaking, I currently have gotten around this by waiting until I stop recieving data from pipers stdin for a specifc amount of time but is there a better way to do this? some kind of event or charcter I can look for that signifys the end of proccessing? Please tell me if snippets are needed, my code is pretty ungodly looking...

pixelblob avatar Apr 26 '24 02:04 pixelblob

This issue maybe of help #376

chiefMarlin avatar Apr 26 '24 02:04 chiefMarlin