-
Notifications
You must be signed in to change notification settings - Fork 146
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
Short audios fail to play #91
Comments
Same problem here for making a drum sequencer. |
This is being caused by the ready this.readyMark = 64; in the function Queue(asset) { } Causes the queue.write method to never emit the ready event (despite else conditional). Guessing race time condition where ended event is never emited. In my case, I'm initializing aurora from a buffer. Once I have confirmed proper patch I will post. Lowering the this.readyMark to a lower number allowed playback, just not best patch to push. |
Abstracted out following logic from Queue.prototype.write: into own function. Calling function from: This has short file playback issue working properly for me. Doing additional testing then will do a push for it to potentially be pulled in for a fix. |
And forgot my skills with coffeescript are almost non-existent. I will do my best to get the above fixed and implemented properly. Until then, if you find the location of the above and do the same logic, the short playback will occur. Mainly just need to add the logic on the 'end' event to check again if it can initialize. |
Same problem here, any solution? |
I use it for playing for TTS alongside with Google (http://translate.google.com/translate_tts?ie=UTF-8&q=Ship&tl=en&total=1&idx=0&textlen=4). And, Aurora refuses to play short audio files.
E.g., if I want to play the only word "Ship", nothing happens.
The text was updated successfully, but these errors were encountered: