Our great sponsors
- Onboard AI - Learn any GitHub repo in 59 seconds
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- SaaSHub - Software Alternatives and Reviews
openal-rs | hound | |
---|---|---|
2 | 5 | |
76 | 392 | |
- | - | |
0.0 | 0.0 | |
- | about 1 year ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
openal-rs
Posts with mentions or reviews of openal-rs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-04.
-
What audio library to use?
That may work, but I haven't tried it since its LGPL licence. I'm using the alto crate and now that I've checked its repository is archived https://github.com/jpernst/alto
hound
Posts with mentions or reviews of hound.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-27.
-
Hey Rustaceans! Got a question? Ask here (9/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
-
Create audio "file" from opus packets
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?
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?
To load the audio data from file you need a separate library, e.g. hound for .wav files.
What are some alternatives?
When comparing openal-rs and hound you can also consider the following projects:
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