conformal_component

Module audio

Source
Expand description

Types and utilities for Audio Buffers.

In Conformal, components process audio in buffers. Buffers are groups of samples arranged into channels. In Conformal, each channel is represented by a &[f32].

Structs§

  • A buffer of audio samples that owns its data.

Enums§

Traits§

  • Represents a (potentially multi-channel) buffer of audio samples
  • A trait for index types that can be used in slice_buffer and slice_buffer_mut.
  • A mutable (potentially multi-channel) buffer of audio samples.

Functions§

  • Checks if all the values from two iterators of f32 values are within e of each other.
  • Checks if two f32 values a and b are within e of each other.
  • Checks two buffers are equal to within a tolerance e.
  • Returns an iterator for the channels of a buffer.
  • Returns an iterator for the channels of a mutable buffer.
  • Create a sub-buffer from a buffer using an index range.
  • Create a sub-buffer of a mutable buffer using an index range.