#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

#13 in #creative-coding

Download history 21/week @ 2023-12-22 5/week @ 2023-12-29 21/week @ 2024-01-05 42/week @ 2024-01-12 20/week @ 2024-01-19 10/week @ 2024-01-26 7/week @ 2024-02-02 23/week @ 2024-02-09 41/week @ 2024-02-16 69/week @ 2024-02-23 53/week @ 2024-03-01 66/week @ 2024-03-08 50/week @ 2024-03-15 38/week @ 2024-03-22 92/week @ 2024-03-29 35/week @ 2024-04-05

226 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.8–5MB
~96K SLoC