# Technical Documentation: nannou-org/nannou_audio

> ℹ️ **Provenance:** In-Tree Documentation (2 Chapters) · [CodeWiki Reference](https://codewiki.google/github.com/nannou-org/nannou_audio) · Recency: Active (< 180 days)

## File: README.md

# NOTICE: nannou_audio has been moved [here](https://github.com/nannou-org/nannou/tree/master/nannou_audio).

---

# nannou_audio [](https://travis-ci.org/nannou-org/nannou_audio) [](https://crates.io/crates/nannou_audio) [](https://github.com/nannou-org/nannou_audio/blob/master/LICENSE-MIT) [](https://docs.rs/nannou_audio/)

**The audio API for** [**nannou**](https://nannou.cc)**, the creative coding
framework.**

Please see [**the nannou guide**](https://guide.nannou.cc) for more information
on how to get started with nannou!

## Features

Some of the features of this API include:

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

**nannou_audio** uses and contributes to
[**cpal**](https://github.com/tomaka/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](git@github.com:nannou-org/nannou.git) in the
[examples](https://github.com/nannou-org/nannou/tree/master/examples) directory.

## License

Licensed under either of

 * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
 * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)

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.

---

## File: .travis.yml

language: rust

cache: cargo

before_script:
- rustup component add rustfmt

addons:
    apt:
        packages:
            - libasound2-dev
rust:
    - nightly
    - beta
    - stable

script:
    - cargo fmt --all -- --check
    - cargo build -v
    - cargo test -v
    - cargo doc -v

--- METRICS ---
- Files Extracted: 2
- Estimated Token Budget: ~569 tokens
- Recency Window: Active (< 180 days)
- Canonical Reference: https://codewiki.google/github.com/nannou-org/nannou_audio
