#audio-stream #stream #cross-platform #pcm #creative-coding #dsp

nannou_audio

The audio API for Nannou, the creative coding framework

8 releases (breaking)

0.19.0 Jan 17, 2024
0.18.0 Nov 18, 2021
0.17.0 Jun 20, 2021
0.16.0 Apr 22, 2021
0.1.0 Jun 6, 2019

#20 in #pcm

Download history 37/week @ 2024-07-22 77/week @ 2024-07-29 38/week @ 2024-08-05 50/week @ 2024-08-12 34/week @ 2024-08-19 32/week @ 2024-08-26 53/week @ 2024-09-02 50/week @ 2024-09-09 56/week @ 2024-09-16 94/week @ 2024-09-23 63/week @ 2024-09-30 2/week @ 2024-10-07 35/week @ 2024-10-14 31/week @ 2024-10-21 53/week @ 2024-10-28 34/week @ 2024-11-04

153 downloads per month
Used in libpd-rs

MIT license

58KB
1K SLoC

nannou_audio Crates.io Crates.io docs.rs

The audio API for nannou, the creative coding framework.

Please see the nannou guide for more information on how to get started with nannou!

Features

Some of the features of this API include:

  • Access to the available audio devices on the system.
  • Spawn any number of input and output audio streams.
  • Simple builder API for establishing streams with reasonable defaults.
  • Requesting consistent buffer sizes for input and output streams no matter the back-end.
  • An easy-to-use, non-blocking API.

nannou_audio uses and contributes to cpal - a pure-Rust, cross-platform audio library for handling the low-level cross-platform stuff under the hood.

Examples

You can find examples of nannou_audio in action at the nannou repository in the examples directory.

License

Licensed under either of

at your option.

Contributions

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.

Dependencies

~0.7–5.5MB
~99K SLoC