-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fast access to channel data #13
Comments
I like the idea of a shorter way to access that data But two questions I think of:
Agree with the doing it every |
Ok, audio-buffer is low-level enough structure to keep it sugar-free. |
Although what if we rename
|
Fixed in audio-buffer@4.0.0 |
Working with audio oftentimes there is
audio.read(time).getChannelData(channel)
to get raw array - pretty long. Is there a sense to provide id-access to channel to makeaudio.read(time)[channel]
? @jamenWe could do that by initializing object properties on AudioBuffer instance.
Or is it better to patch audioBuffer by audio itself? It is going to do that every
read
call, pretty slow.The text was updated successfully, but these errors were encountered: