[package]
name = "pm-synth"
version = "0.1.0"
edition = "2021"
description = "Polyphonic drum-voice synthesizer — a Rust port of engine.js's 808/909 voices. Transport-agnostic (offline render now; on-device real-time later)."

# `#![no_std]` f32 reference: the same code host-renders to .wav (synthrender) AND runs on a
# Cortex-M with an FPU (the Daisy Seed's STM32H750, via pm-daisy). Float math goes through `libm`
# so host and device compute identically. The RP2350/M0+ fixed-point port is still future work.
[dependencies]
libm = "0.2"                              # no_std transcendental math (sinf/cosf/powf/tanhf/floorf)
track-format = { path = "../track-format" } # Player schedules a parsed Track into the click timeline
