You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been looking through the dasp documentation and unless I'm missing something, there doesn't seem to be a struct for a buffer of audio samples? The dasp::slice module has functions for working with simple slices and dasp::signal::Signal trait has lots of neat tools, but it seems to be primarily designed for working with signal generators that can generate data infinitely. Unfortunately it seems that every crate is inventing their own solution right now, for example:
rubato is taking in a slice and outputting a vector of vectors
There's also the audio crate which has structs for audio buffers but doesn't have many tools for working with them like dasp::signal::Signal implements. Ideally what I'd want is something like the structs in the audio crate or symphonia_core::audio that provides an interface like dasp::signal::Signal which makes it easy to iterate over each frame in a buffer, then each channel so it would be easy to write code that is generic with regards to the sample layout (interleaved versus planar) and number of channels. It would be great to have one solution widely used in audio crates so data can be passed between them easily without consumers needing to learn the idiosyncratic API of every crate.
The text was updated successfully, but these errors were encountered:
I have been looking through the dasp documentation and unless I'm missing something, there doesn't seem to be a struct for a buffer of audio samples? The dasp::slice module has functions for working with simple slices and dasp::signal::Signal trait has lots of neat tools, but it seems to be primarily designed for working with signal generators that can generate data infinitely. Unfortunately it seems that every crate is inventing their own solution right now, for example:
There's also the audio crate which has structs for audio buffers but doesn't have many tools for working with them like dasp::signal::Signal implements. Ideally what I'd want is something like the structs in the audio crate or symphonia_core::audio that provides an interface like dasp::signal::Signal which makes it easy to iterate over each frame in a buffer, then each channel so it would be easy to write code that is generic with regards to the sample layout (interleaved versus planar) and number of channels. It would be great to have one solution widely used in audio crates so data can be passed between them easily without consumers needing to learn the idiosyncratic API of every crate.
The text was updated successfully, but these errors were encountered: