Last active
May 29, 2026 23:00
-
-
Save marcoonroad/f4853d090605ddb63f44fe01cf5eebf6 to your computer and use it in GitHub Desktop.
Some more Strudel music coding examples...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // pulsing reese saw bass (for texture) | |
| $: note("a#1") // base bass note | |
| .sound("sawtooth") | |
| .layer( | |
| pattern => pattern.struct("[x -]").transpose(0), | |
| pattern => pattern.struct("[- x]").transpose(12) // octave jump | |
| ) | |
| .cutoff(2000) | |
| .ftype("ladder") | |
| .fast(4) | |
| .transpose(sine.range(0, 3).segment(4).round().slow(4).mul(2).sub(2)) // LFO of semitones [ -2, 0, 2, 4 ] | |
| .cpm(130/4) // 130 BPM and time signature 4/4 | |
| ._punchcard({ labels: 1 }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment