MCPcopy Index your code
hub / github.com/ardaku/wavy

github.com/ardaku/wavy @v0.9.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.9.1 ↗ · + Follow
197 symbols 276 edges 43 files 52 documented · 26% 1 cross-repo links updated 21mo ago★ 9810 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Wavy

Changelog | Source | Getting Started

tests docs crates.io

The sound waves are so wavy!

About

Library for asynchronous cross-platform real-time audio recording & playback. This library is great for if you need low-latency sound effects in video games, if you're making a multi-media player, Digital Audio Workstation, or building a synthesizer; anything that needs access to speakers or microphones.

Check out the documentation for examples.

Supported Platforms

Wavy targets all platforms that can run Rust. - Linux/Android Untested (Using ALSA C Library) - Web (Using JavaScript's Web Audio API) - MacOS/iOS WIP (Using AudioQueue C Library) - Windows Planned Next, after MacOS

License

Licensed under any of - Apache License, Version 2.0, (LICENSE_APACHE_2_0.txt or https://www.apache.org/licenses/LICENSE-2.0) - MIT License, (LICENSE_MIT.txt or https://mit-license.org/) - Boost Software License, Version 1.0, (LICENSE_BOOST_1_0.txt or https://www.boost.org/LICENSE_1_0.txt)

at your option.

Contribution

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 licensed as described above, without any additional terms or conditions.

Help

If you want help using or contributing to this library, feel free to send me an email at aldaronlau@gmail.com.

Extension points exported contracts — how you extend this code

SoundDevice (Interface)
(no doc) [2 implementers]
src/ffi/wasm/device_list.rs
SoundDevice (Interface)
(no doc) [2 implementers]
src/ffi/dummy/device_list.rs
SoundDevice (Interface)
(no doc) [2 implementers]
src/ffi/macos/device_list.rs
SoundDevice (Interface)
(no doc) [2 implementers]
src/ffi/linux/device_list.rs

Core symbols most depended-on inside this repo

state
called by 20
src/ffi/wasm/ffi.rs
channels
called by 9
src/ffi/wasm/speakers.rs
channels
called by 6
src/ffi/linux/speakers.rs
prepare
called by 5
src/ffi/linux/pcm.rs
writei
called by 3
src/ffi/linux/pcm.rs
lazy_init
called by 2
src/ffi/wasm/ffi.rs
device_list
called by 2
src/ffi/wasm/device_list.rs
open
called by 2
src/ffi/linux/pcm.rs

Shape

Method 100
Function 49
Class 34
Enum 10
Interface 4

Languages

Rust99%
C1%

Modules by API surface

src/ffi/linux/pcm.rs21 symbols
src/ffi/linux/speakers.rs15 symbols
src/ffi/linux/microphone.rs14 symbols
src/ffi/wasm/speakers.rs11 symbols
src/ffi/macos/speakers.rs11 symbols
src/ffi/macos/microphone.rs11 symbols
src/ffi/macos/audio_queue.rs11 symbols
src/ffi/wasm/microphone.rs10 symbols
src/ffi/dummy/speakers.rs10 symbols
src/ffi/dummy/microphone.rs10 symbols
src/speakers.rs9 symbols
src/microphone.rs9 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add wavy \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact