wavegraph 0.1.0

Pure Data-like embedded-oriented graph-based synthesis engine
Documentation
  • Coverage
  • 100%
    18 out of 18 items documented0 out of 7 items with examples
  • Size
  • Source code size: 12.7 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 161.0 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • fm1-rust/wavegraph
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • djcryptologist
wavegraph-0.1.0 has been yanked.

WaveGraph

Build status

WaveGraph is a no_std crate for building Pure Data-like audio patches. A patch object implements Process and declares its inlets and outlets in left-to-right order. A signal cord lends an upstream sample buffer to a downstream inlet. A message cord delivers a payload at a frame offset. Objects can process signals, messages, or both.

For example, a gain object can take a signal on inlet 0 and gain changes on inlet 1. A change at frame 97 affects sample 97. The same interface lets a sequencer send a note with accent and slide to a 303, or a mixer read several mono signals. The host owns the patch cords, schedule and buffers.

Patches select their message and sample types. For example, a message enum can represent bangs, numbers, symbols and lists. Signal samples default to f32, with 1.0 representing nominal full scale. A processor can use wavegraph_sample::Sample for format-generic arithmetic. The patch integration test runs the same pair of connected objects with f32 and signed 24-bit PCM and stores messages in a fixed-capacity heapless::Vec.

License

Licensed under the MIT License.