-
Notifications
You must be signed in to change notification settings - Fork 185
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
Implement seeking #4
Comments
+1 |
+1 - I don't usually post like this, but seeking, either in chunks (+/- 5 seconds) or in slider form would be extremely useful. |
+1 me too |
+1 :-) |
+1 Would it be possible to somehow start decoding from a arbitrary position in an mp3 file. I'm trying to implement real time decoding of an mp3, so I can feed the decoded pcm data directly into a JavascriptAudioNode's output. //example var startTime = 5; // in seconds var byteOffset = timeToByte(startTime); // convert seconds to byte location? asset.on('decodeStart', function() { asset.on('data', function(buffer) { asset.decoder.readChunk(); asset.start(); I'm fairly new to this type of low level audio programming, so if this is way off base please let me know. :) |
+1 |
As of 2ec2d60, basic support for seeking has been added to the namespace branch. It works fairly well as long as you don't try seeking to part of a file that hasn't been loaded yet - still need to work on that. Basically, uncompressed formats seek by using the format's Let me know if you have improvements or suggestions. Leaving this open for now. Cheers! |
Will the changes for seeking be moved into master? I noticed that this project has been inactive for 3 months. Is there a reason development has fallen off? |
Yes, they will. I've just been busy with other things lately. I'll get to it soon, but for now, I'd suggest just using the |
No description provided.
The text was updated successfully, but these errors were encountered: