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
First of all, awesome crate, it is really powerful, I love it.
Second of all, I am kind of an audio noob, I'm trying to learn audio.
I was checking the source code of symphonia-play and wanted to see how you were writing the audio samples to the host machine ring-buffer (which I assume is provided by the OS for you to write on)
I wanted to know why the interleaving is necessary and just to be sure, when you create the audio_output using output::try_open(spec, duration).unwrap() those n_channels count are use for the interleaved decoding behind the scene, right?
As a more general question, where can I find good resources to learn how audio works in general and learn some audio algos like BPM solver for example
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey 👋
First of all, awesome crate, it is really powerful, I love it.
Second of all, I am kind of an audio noob, I'm trying to learn audio.
I was checking the source code of symphonia-play and wanted to see how you were writing the audio samples to the host machine ring-buffer (which I assume is provided by the OS for you to write on)
I came upon this code: https://github.com/pdeljanov/Symphonia/blob/a5ac0ec/symphonia-core/src/audio.rs#L819-L864 (copy_interleaved_*)
I wanted to know why the interleaving is necessary and just to be sure, when you create the audio_output using
output::try_open(spec, duration).unwrap()
those n_channels count are use for the interleaved decoding behind the scene, right?As a more general question, where can I find good resources to learn how audio works in general and learn some audio algos like BPM solver for example
Again, thanks a lot for the library 💜
Beta Was this translation helpful? Give feedback.
All reactions