piper
piper copied to clipboard
Piper Nodejs, knowing when proccessing is done
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...
This issue maybe of help #376