oddio-0.4.0 has been yanked.
Oddio
Oddio is a game-oriented audio library that is:
- Lightweight: Fast compilation, few dependencies, and a simple interface
- Sans I/O: Send output wherever you like
- Real-time: Audio output is efficient and wait-free: no glitches until you run out of CPU
- 3D: Spatialization with doppler effects and propagation delay available out of the box
- Extensible: Implement
Signalfor custom streaming synthesis and filtering - Composable:
Signals can be transformed without obstructing the innerSignal's controls
Example
let = split;
// In audio callback:
let out_frames = frame_stereo;
run;
// In game logic:
let frames = from;
let mut handle = scene_handle.
.play;
// When position/velocity changes:
handle..set_motion;
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.