Skip to content

Fart pedal: a sampler of the owner's 25 fart recordings, pitched to t… - #9

Merged
singularity098 merged 1 commit into
mainfrom
claude/kind-ptolemy-93ybk0
Nov 10, 2026
Merged

singularity098 merged 1 commit into
mainfrom
claude/kind-ptolemy-93ybk0

Conversation

@singularity098

Copy link
Copy Markdown
Owner

…he note

The synthesized farts are replaced by real recordings (resources/farts/, 16-bit mono 48 kHz WAVs embedded at build time by cmake/EmbedFartSamples.cmake). tools/prepare_fart_samples.py makes them from the owner's MP3s: it cuts the two files of many farts apart by level, each from where it starts, trims every sample, mixes it to mono, peak-normalizes it, leaves out a near copy, and measures each one's pitch (YIN, or its spectral peak for hisses) and loudness.

Each pick plays a sample at the note, sampler style (cubic Hermite, 1/8 to 4 times its speed). Random picks among the samples within half an octave of the note, so low notes get rumbles and high notes squeaks, never the same twice running. New controls: Pitch (Follow/Natural) and Hold (One Shot/Held); Tone is now a low-pass/high-pass; Wetness is gone. Not released yet, so the controls were reordered freely.

Claude-Session: https://claude.ai/code/session_01PCZFbiA3fCi58pdpZqRWfY

…he note

The synthesized farts are replaced by real recordings (resources/farts/, 16-bit
mono 48 kHz WAVs embedded at build time by cmake/EmbedFartSamples.cmake).
tools/prepare_fart_samples.py makes them from the owner's MP3s: it cuts the two
files of many farts apart by level, each from where it starts, trims every
sample, mixes it to mono, peak-normalizes it, leaves out a near copy, and
measures each one's pitch (YIN, or its spectral peak for hisses) and loudness.

Each pick plays a sample at the note, sampler style (cubic Hermite, 1/8 to 4
times its speed). Random picks among the samples within half an octave of the
note, so low notes get rumbles and high notes squeaks, never the same twice
running. New controls: Pitch (Follow/Natural) and Hold (One Shot/Held); Tone is
now a low-pass/high-pass; Wetness is gone. Not released yet, so the controls
were reordered freely.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PCZFbiA3fCi58pdpZqRWfY
@singularity098
singularity098 merged commit e9a0b3e into main Nov 10, 2026
4 of 6 checks passed
@singularity098
singularity098 deleted the claude/kind-ptolemy-93ybk0 branch November 10, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants