diff --git a/assets/index-52b3bd46.js.gz b/assets/index-52b3bd46.js.gz deleted file mode 100644 index 9ae0827..0000000 Binary files a/assets/index-52b3bd46.js.gz and /dev/null differ diff --git a/assets/index-52b3bd46.js b/assets/index-9b2f7d08.js similarity index 99% rename from assets/index-52b3bd46.js rename to assets/index-9b2f7d08.js index a56f738..39283d3 100644 --- a/assets/index-52b3bd46.js +++ b/assets/index-9b2f7d08.js @@ -801,7 +801,8 @@ ${ii(r,"Waveforms")} ## Drum machines sample pack -A set of 72 classic drum machines created by **Geikha**: [Geikha Drum Machines](https://github.com/geikha/tidal-drum-machines). To use them efficiently, it is best to use the .bank() parameter like so: +A set of 72 classic drum machines created by **Geikha**: [Geikha Drum Machines](https://github.com/geikha/tidal-drum-machines). To use them efficiently, it is best +to use the .bank() parameter like so: ${e("Using a classic drum machine",` beat(0.5)::sound(['bd', 'cp'].pick()).bank("AkaiLinn").out() @@ -814,6 +815,37 @@ Here is the complete list of available machines: ${ii(r,"Machines")} +In practice, using them will lead you to write short two letters long sample names, each one for a different piece of the kit: + +| Kit Piece | Short name | +|-----------|----------------| +| +| **Bass/kick drum** | bd | +| **Snare drum** | sd | +| **Rimshot** | rim | +| **Clap** | cp | +| **Closed hi-hat** | hh | +| **Open hi-hat** | oh | +| **Crash** | cr | +| **Ride** | rd | +| **Shakers (and maracas, cabasas, etc)** | sh | +| **High tom** | ht | +| **Medium tom** | mt | +| **Low tom** | lt | +| **Cowbell** | cb | +| **Tambourine** | tb | +| **Other percussions** | perc | +| **Miscellaneous samples** | misc | +| **Effects** | fx | + +Note that there is also a drumMachine function that allows you to play a random drum machine without even typing the name. +It takes a single argument, a number, that will pick a machine for you in the list: + +${e("Using a classic drum machine",` +beat(1/2)::sound(['bd', 'cp'].pick()).drumMachine(1).out() +`,!0)} + + ## FoxDot sample pack The default sample pack used by Ryan Kirkbride's [FoxDot](https://github.com/Qirky/FoxDot). It is a nice curated sample pack that covers all the basic sounds you could want. diff --git a/assets/index-9b2f7d08.js.gz b/assets/index-9b2f7d08.js.gz new file mode 100644 index 0000000..7b0d99f Binary files /dev/null and b/assets/index-9b2f7d08.js.gz differ diff --git a/index.html b/index.html index 5190cbe..6031ff7 100644 --- a/index.html +++ b/index.html @@ -15,7 +15,7 @@ - +