Documentation drumMachine
This commit is contained in:
@ -65,12 +65,12 @@ On this page, you will find an exhaustive list of all the samples currently load
|
|||||||
A very large collection of wavetables for wavetable synthesis. This collection has been released by Kristoffer Ekstrand: [AKWF Waveforms](https://www.adventurekid.se/akrt/waveforms/adventure-kid-waveforms/). Every sound sample that starts with <ic>wt_</ic> will be looped. Look at this demo:
|
A very large collection of wavetables for wavetable synthesis. This collection has been released by Kristoffer Ekstrand: [AKWF Waveforms](https://www.adventurekid.se/akrt/waveforms/adventure-kid-waveforms/). Every sound sample that starts with <ic>wt_</ic> will be looped. Look at this demo:
|
||||||
|
|
||||||
${makeExample(
|
${makeExample(
|
||||||
"Wavetable synthesis made easy :)",
|
"Wavetable synthesis made easy :)",
|
||||||
`
|
`
|
||||||
beat(0.5)::sound('wt_stereo').n([0, 1].pick()).ad(0, .25).out()
|
beat(0.5)::sound('wt_stereo').n([0, 1].pick()).ad(0, .25).out()
|
||||||
`,
|
`,
|
||||||
true,
|
true,
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|
||||||
Pick one folder and spend some time exploring it. There is a lot of different waveforms.
|
Pick one folder and spend some time exploring it. There is a lot of different waveforms.
|
||||||
@ -81,15 +81,16 @@ ${samples_to_markdown(application, "Waveforms")}
|
|||||||
|
|
||||||
## Drum machines sample pack
|
## 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 <ic>.bank()</ic> 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 <ic>.bank()</ic> parameter like so:
|
||||||
|
|
||||||
${makeExample(
|
${makeExample(
|
||||||
"Using a classic drum machine",
|
"Using a classic drum machine",
|
||||||
`
|
`
|
||||||
beat(0.5)::sound(['bd', 'cp'].pick()).bank("AkaiLinn").out()
|
beat(0.5)::sound(['bd', 'cp'].pick()).bank("AkaiLinn").out()
|
||||||
`,
|
`,
|
||||||
true,
|
true,
|
||||||
)}
|
)}
|
||||||
|
|
||||||
Here is the complete list of available machines:
|
Here is the complete list of available machines:
|
||||||
|
|
||||||
@ -98,6 +99,41 @@ Here is the complete list of available machines:
|
|||||||
${samples_to_markdown(application, "Machines")}
|
${samples_to_markdown(application, "Machines")}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
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** | <ic>bd</ic> |
|
||||||
|
| **Snare drum** | <ic>sd</ic> |
|
||||||
|
| **Rimshot** | <ic>rim</ic> |
|
||||||
|
| **Clap** | <ic>cp</ic> |
|
||||||
|
| **Closed hi-hat** | <ic>hh</ic> |
|
||||||
|
| **Open hi-hat** | <ic>oh</ic> |
|
||||||
|
| **Crash** | <ic>cr</ic> |
|
||||||
|
| **Ride** | <ic>rd</ic> |
|
||||||
|
| **Shakers (and maracas, cabasas, etc)** | <ic>sh</ic> |
|
||||||
|
| **High tom** | <ic>ht</ic> |
|
||||||
|
| **Medium tom** | <ic>mt</ic> |
|
||||||
|
| **Low tom** | <ic>lt</ic> |
|
||||||
|
| **Cowbell** | <ic>cb</ic> |
|
||||||
|
| **Tambourine** | <ic>tb</ic> |
|
||||||
|
| **Other percussions** | <ic>perc</ic> |
|
||||||
|
| **Miscellaneous samples** | <ic>misc</ic> |
|
||||||
|
| **Effects** | <ic>fx</ic> |
|
||||||
|
|
||||||
|
Note that there is also a <ic>drumMachine</ic> 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:
|
||||||
|
|
||||||
|
${makeExample(
|
||||||
|
"Using a classic drum machine",
|
||||||
|
`
|
||||||
|
beat(1/2)::sound(['bd', 'cp'].pick()).drumMachine(1).out()
|
||||||
|
`,
|
||||||
|
true,
|
||||||
|
)}
|
||||||
|
|
||||||
|
|
||||||
## FoxDot sample pack
|
## 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.
|
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.
|
||||||
@ -119,12 +155,12 @@ ${samples_to_markdown(application, "Amiga")}
|
|||||||
A collection of many different amen breaks. Use <ic>.stretch()</ic> to play with these:
|
A collection of many different amen breaks. Use <ic>.stretch()</ic> to play with these:
|
||||||
|
|
||||||
${makeExample(
|
${makeExample(
|
||||||
"Stretching an amen break",
|
"Stretching an amen break",
|
||||||
`
|
`
|
||||||
beat(4)::sound('amen1').stretch(4).out()
|
beat(4)::sound('amen1').stretch(4).out()
|
||||||
`,
|
`,
|
||||||
true,
|
true,
|
||||||
)}
|
)}
|
||||||
|
|
||||||
The stretch should be adapted based on the length of each amen break.
|
The stretch should be adapted based on the length of each amen break.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user