shorepine / amy

AMY - the Additive Music synthesizer librarY

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Propose adding sample_rate field per patch

octetta opened this issue · comments

For the purpose of keeping the 22050 Hz samples + adding 44100 Hz samples in the future.

As mentioned in #39, I can move frames to and from a capture buffer, but rather than changing any existing structures, I "stretch" samples out of the PCM patch samples (by simple duplication of adjacent elements), and "crunch" samples from capture to PCM.

This is messy but fun!