mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-05-23 01:25:09 +00:00
ddc86a2574
Per AUDIO-PLAN.md: - payload_type selects instrument (bell/marimba/piano/ethereal), scale (major penta/minor penta/natural minor/whole tone), and root key - sqrt(payload_length) bytes sampled evenly across payload for melody - byte value → pitch (quantized to scale) + note duration (50-400ms) - byte-to-byte delta → note spacing (30-300ms) - hop_count → low-pass filter cutoff (bright nearby, muffled far) - observation_count → volume + chord voicing (detuned stacked voices) - origin longitude → stereo pan - BPM tempo slider scales all timings - Volume slider for master gain - ADSR envelopes per instrument type - Max 12 simultaneous voices with voice stealing - Pure Web Audio API, no dependencies