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

Implement start-to-finish on-the-fly playback for large audio files #88

Open
kevinstadler opened this issue Sep 21, 2023 · 0 comments
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@kevinstadler
Copy link
Collaborator

The current SoundFile implementation decodes and loads the entire content of the audio file into RAM, which is the only reliable way to allow low-level buffer access, editing and scrubbing.

A currently unsupported use case is straightforward on-the-fly playback of long audio files that are too big to be kept in memory. This should be feasible by implementing a wrapper around the current JavaSound decoding functionality in SoundFile and packing it inside a UnitGenerator that passes the incrementally decoded audio to JSyn for immediate playback. (Pausing and restarting could even be supported, just no scrubbing/skipping or editing.)

@kevinstadler kevinstadler added enhancement New feature or request help wanted Extra attention is needed labels Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant