romapervushin1234/Pitch-Scapher — reverse-engineered prompt
Reverse engineered prompt
Build me a serious audio sampler plugin based on this repo. I want it to work as a JUCE C++ plugin that can export to common plugin formats like VST3, AU, and CLAP, and it should focus on clean real time audio behavior with no allocations in the audio callback.
The plugin should let me load samples, play them polyphonically, loop by default, and control pitch with editable curves. The pitch curve should be turned into a 128 note lookup table before playback so the audio thread stays fast. Add smooth filtering, good interpolation, hard output limiting, and a spacebar stop that fades out quickly without clicks and resets playback cleanly.
Please keep the UI simple but usable, with sample loading, transport controls, and a way to edit or apply pitch and warp curves. Use the existing CMake and JUCE setup, and make sure it builds on macOS, Linux, and Windows. Also add basic tests or validation helpers for fast stop start clicks, weird curve edge cases, and heavy curve updates while audio is running. Look up current JUCE docs if you need to.
Want more depth? Deep Reverse