-
Notifications
You must be signed in to change notification settings - Fork 158
Closed
Labels
extensionInterface changes that extend without breaking.Interface changes that extend without breaking.
Milestone
Description
Following discussion in #179 (comment) we resolved to expose more audio sample formats. This has the benefit of potentially using less memory (vs always float32) and does less throw away conversion.
But, for decoding -> rendering scenarios, this will sometimes mean that apps need to take an additional step to convert, as WebAudio's AudioWorklet still only supports float32 planar.
I propose we offer helper method. Something like
AudioData.getAsPlanarFloat32() -> returns an ArrayBuffer
@padenot WDYT?
Metadata
Metadata
Assignees
Labels
extensionInterface changes that extend without breaking.Interface changes that extend without breaking.