[package]
edition = "2024"
name = "embedded-audio-core"
version = "0.2.1"
authors = ["Gerzain Mata <leftger@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "no_std duty-modulated PWM audio: effect banks, tiered DSP, and mixing for Cortex-M"
readme = "README.md"
keywords = [
"embedded",
"audio",
"pwm",
"dsp",
"no-std",
]
categories = [
"embedded",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/leftger/embedded-audio"
resolver = "2"
[features]
default = []
dsp = ["dep:embedded-dsp"]
fm = []
std = []
[lib]
name = "embedded_audio"
path = "src/lib.rs"
[[bin]]
name = "eaf-bake"
path = "tools/bake/main.rs"
required-features = ["std"]
[[bin]]
name = "eaf-preview"
path = "tools/preview/main.rs"
required-features = ["std"]
[[example]]
name = "dac_dma_stream"
path = "examples/dac_dma_stream.rs"
[[test]]
name = "buffer_and_bake"
path = "tests/buffer_and_bake.rs"
[[test]]
name = "coverage_gaps"
path = "tests/coverage_gaps.rs"
[[test]]
name = "drums"
path = "tests/drums.rs"
[[test]]
name = "dsp"
path = "tests/dsp.rs"
[[test]]
name = "fm"
path = "tests/fm.rs"
required-features = ["fm"]
[[test]]
name = "new_features"
path = "tests/new_features.rs"
[[test]]
name = "pluck_and_fx"
path = "tests/pluck_and_fx.rs"
[[test]]
name = "preview"
path = "tests/preview.rs"
required-features = ["std"]
[[test]]
name = "synth_and_engine"
path = "tests/synth_and_engine.rs"
[[test]]
name = "tiers"
path = "tests/tiers.rs"
[dependencies.embedded-dsp]
version = "0.5.0"
features = [
"libm",
"filtering",
"window",
"transform",
"statistics",
]
optional = true
default-features = false
[dependencies.heapless]
version = "0.9"
[dev-dependencies.embedded-dsp]
version = "0.5.0"
features = [
"libm",
"filtering",
"window",
"transform",
"statistics",
]
default-features = false
[dev-dependencies.heapless]
version = "0.9"