Oddio is a game-oriented audio library that is:
Signal
for custom streaming synthesis and filteringSignal
s can be transformed without obstructing the inner Signal
's controls```rust let (mut scenehandle, scene) = oddio::spatial(samplerate, 0.1);
// In audio callback: let outframes = oddio::framestereo(data); oddio::run(&scene, outputsamplerate, out_frames);
// In game logic: let frames = oddio::FramesSignal::from(oddio::Frames::fromslice(samplerate, &frames)); let mut handle = scene_handle.play(frames, position, velocity, 1000.0);
// When position/velocity changes:
handle.control::