[][src]Trait bae_rs::generators::Generator

pub trait Generator {
    fn process(&mut self) -> SampleT;
}

The Generator trait defines types that create audio samples.

Required methods

fn process(&mut self) -> SampleT

Generates a rendered audio sample

Loading content...

Implementors

impl Generator for MonoWav[src]

impl Generator for Noise[src]

impl Generator for Sawtooth[src]

impl Generator for Sine[src]

impl Generator for Square[src]

impl Generator for Triangle[src]

impl Generator for Zero[src]

Loading content...