|-||about 1 year ago|
|Apache License 2.0||Apache License 2.0|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Hey Rustaceans! Got a question? Ask here (9/2023)!
5 projects | /r/rust | 27 Feb 2023
One of the simplest encodings would be WAV, for which the crate hound exists (it's linked from rodio's README): https://github.com/ruuda/hound/blob/master/examples/append.rs
BWF WAV Reading/Processing/Writing
2 projects | /r/rust | 8 Jan 2023
Create audio "file" from opus packets
2 projects | /r/rust | 4 Oct 2021
I'm no expert when it comes to audio, but this works and is basically copied from the readme.md in hound's repository, along an utility trait that adds ringbuffer-like behavior to VecDeque. How does decoding Opus come into play here?2 projects | /r/rust | 4 Oct 2021
To convert the buffer of samples into a playable file, you can use a library such as hound. It doesn't seem to be the fastest (it looks like you can only write 1 sample at a time which means the compiler will be unlikely to vectorize writes), but again, it's likely sufficient and appears very easy to use.
What audio library to use?
4 projects | /r/rust | 4 Jan 2021
To load the audio data from file you need a separate library, e.g. hound for .wav files.
What are some alternatives?
rust-portaudio - PortAudio bindings and wrappers for Rust.
rust-fmod - A rust binding for the FMOD library
rust-vst2 - VST 2.4 API implementation in rust. Create plugins or hosts.
minimp3-rs - minimp3 rust bindings + wrapper
rodio - Rust audio playback library
portmidi-rs - High-level PortMidi bindings and wrappers for Rust
ears - Easy Api in Rust to play Sounds
cpal - Cross-platform audio I/O library in pure Rust