RustAudio / dsp-chain

A library for chaining together multiple audio dsp processors/generators, written in Rust!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Synthesis Fundamentals - Oscillator

mitchmindtree opened this issue · comments

The Oscillator struct will be the core building block for synthesis. It will implement the DSP Node trait and override the audio_requested default method to procedurally generate samples for output.

The example code has almost a fully functional Oscillator. It just lacks volume and an enum for the shape of the sound wave.

I think it'd be best to flesh synthesis stuff more in a separate crate, I like the idea of keeping this a super simple crate with the basics for building modular dsp on top :)