Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Piper Nodejs, knowing when proccessing is done #481

Open
pixelblob opened this issue Apr 26, 2024 · 1 comment
Open

Piper Nodejs, knowing when proccessing is done #481

pixelblob opened this issue Apr 26, 2024 · 1 comment

Comments

@pixelblob
Copy link

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...

@chiefMarlin
Copy link

This issue maybe of help #376

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants