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

Adds file property to WebAudioMedia for access to downloaded audio file data. #276

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

probityrules
Copy link

@probityrules probityrules commented Nov 20, 2024

It would be useful to make the raw audio data available from WebAudioMedia so things like meta ID3 tags can be accessed without requiring additional network calls. Here is my take, although I'm not sure if this is the best route for other use-cases. If not, it would still be great to have some way to access the response ArrayBuffer apart from this class's immediate conversion to an AudioBuffer.

If there's a standard way to extend `WebAudioMedia" and have Sound use the extended class instead, that could work as well: I just wasn't sure about how to approach that.

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

Successfully merging this pull request may close these issues.

1 participant