[][src]Crate bae_rs

bae_rs

The Overly Complicated Audio Engine. A crate for processing audio samples for various uses.

Re-exports

pub use sample_format::*;

Modules

core

Sound Channels

generators

Generators

modifiers

Modifiers

sample_format

Sample Format

sounds

Sounds

tools

Tools

Constants

INV_SAMPLE_RATE

The inverse of the sampling rate for easy referencing.

SAMPLE_RATE

The sampling rate the engine is set to run at.

Functions

lerp

Linear interpolation of a given value.

samples_to_seconds

Converts a given sample count to seconds.

seconds_to_samples

Converts the given duration to samples, rounded to the nearest sample.

Type Definitions

MathT

Type to perform infrequenty mathematic operations with when accuracy is needed.

SampleT

Type to calculate samples with.

TrackT

Shorthand for a vector containing sample data.