cpal icon indicating copy to clipboard operation
cpal copied to clipboard

Add sample-based generation example: synth_tones

Open Wandalen opened this issue 3 years ago • 0 comments

It is refactored version of the example beep. I bubbled up a callback to generate a sample. Also, I replaced unwrap with proper handling of errors. That does not add complexity because anyhow and ? are already in use. That's the first step I would like it was done for me to start playing with cpal and integrating it into my projects.

Hopefully, it will be useful for not only me.

#612

Wandalen avatar Nov 02 '21 11:11 Wandalen