Refine Drum Synthesis Engine with Analog Modeling and Master Saturation#31
Refine Drum Synthesis Engine with Analog Modeling and Master Saturation#31Pitrat-wav wants to merge 1 commit intomainfrom
Conversation
- Updated `DrumMachine.ts` to route individual drum outputs through a master compressor and `WaveShaper` for "glue" effect and analog saturation. - Implemented micro-randomization (analog drift) across all drum models: - `TR808Kick`: Decay time variance. - `TR909Kick`: Pitch drift, random phase, filter cutoff variance, and decay time variance. - `TR808Snare`: Pitch drift, random phase for dual oscillators, filter cutoff variance, and decay time variance. - `TR909Snare`: Pitch drift, random phase, filter cutoff variance, decay time variance, and tweaked pitch sweep duration. - `TR808HiHat`: Random phase for the 6-oscillator matrix, filter cutoff variance for BPF/HPF, and decay time variance. - `TR808Clap`: Filter cutoff variance, snap interval variance, and decay time variance. - Enabled 4x oversampling on the master `WaveShaper` to reduce aliasing as recommended by research. - Verified all changes via TypeScript type checking. Co-authored-by: Pitrat-wav <255843145+Pitrat-wav@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This PR implements deep DSP refinements for the drum synthesis engine based on the provided research on virtual analog instruments. Key enhancements include:
WaveShaper(oversample: 4x, amount: 20) to achieve the "glue" effect characteristic of analog drum machines.PR created automatically by Jules for task 17872035354102568435 started by @Pitrat-wav