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

Add onAudioStart and onAudioStop events to WaveStreamPlayer #45

Open
Stevenic opened this issue Oct 8, 2024 · 1 comment
Open

Add onAudioStart and onAudioStop events to WaveStreamPlayer #45

Stevenic opened this issue Oct 8, 2024 · 1 comment

Comments

@Stevenic
Copy link

Stevenic commented Oct 8, 2024

I need to know when playback of the generated audio stream finishes so I updated my copy of the WaveStreamPlayer class to include onAudioStart and onAudioStop events. It might be useful to just add these to that class. Here's the changes I made:

image

image

@khorwood-openai
Copy link
Contributor

This is helpful! I think the intention would be to open source this library; so let me look into that and update this when there's a decision there.

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