-
Notifications
You must be signed in to change notification settings - Fork 11
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
Example for using Kali in real time that produce reasonably good audio #5
Comments
You should not flush data if not after you finish to consume the input data, otherwise you will drop audio data and produce signal discontinuities. |
Thanks, I removed the kali.flush(), but still the same problem. the only thing I think is that I drop some part of the audio between two AudioBuffers. Edit : It seems to be good with only one channel |
@Willena: from my experiments kali+real time streaming is fine, at least if you correctly manage the AudioBuffer. For example in my case I have something like this for each processed chunk of input data:
The issue you noticed might be due to #6 in case it depends on the number of channels. |
Yes I've seen #6 and I will have a look at your code. |
Hi !
I am currently trying to use your project in a realtime project. Audio should be processed and pushed to speakers without the latency of processing the whole track.
I am using the scriptPrecessorNode witch is feeding the Kali instance with the buffer given by the scriptProcessor.
Actualy it is working but the sound is very bad. You can listen the audio sample to understand a bit more what it sound like.
Here the code I use :
Any ideas of what I am doing wrong ?
The text was updated successfully, but these errors were encountered: