mirror of
https://github.com/kennethreitz/pytheory.git
synced 2026-06-05 06:46:14 +00:00
9fafca2b08
- docs/generate_audio.py renders 12 code examples as WAV files - Audio players embedded in sequencing and drums docs via raw HTML - Covers: piano hold, articulations, dynamics, filter ramp, rock, bossa nova, djembe, tabla, marching snare, ensemble, strum, swell - WAV files gitignored — generated at build time Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
5 lines
198 B
HTML
5 lines
198 B
HTML
<audio controls style="width: 100%; margin: 0.5em 0 1.5em 0;">
|
|
<source src="{{ pathto('_static/audio/' + file, 1) }}" type="audio/wav">
|
|
Your browser does not support the audio element.
|
|
</audio>
|