Stepwise documentation tweaks, with mridangam samples (#1275)

* add mridangam sample bank
* stepwise documentation tweaks
This commit is contained in:
Alex McLean 2025-02-02 23:55:36 +00:00 committed by GitHub
parent ce9d23049a
commit 018d1ccd31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 695 additions and 331 deletions

View file

@ -76,8 +76,6 @@ This results in a dense pattern, because the different expanded versions are squ
<MiniRepl client:idle tune={`note("c a f e").sound("folkharp").expand("3 2 1 1 2 3").pace(8)`} />
## Deprecated aliases
Earlier versions of many of these functions had `s_` prefixes, and the `pace` function was previously known as `steps`. These still exist as aliases, but may have changed behaviour and will soon be removed. Please update your patterns!
## Stepwise functions

View file

@ -29,6 +29,7 @@ export async function prebake() {
tag: 'drum-machines',
}),
samples(`${baseNoTrailing}/EmuSP12.json`, undefined, { prebake: true, tag: 'drum-machines' }),
samples(`${baseNoTrailing}/mridangam.json`, undefined, { prebake: true, tag: 'drum-machines' }),
samples(
{
casio: ['casio/high.wav', 'casio/low.wav', 'casio/noise.wav'],