begin webaudio tutorial
This commit is contained in:
parent
3c8acf9e0e
commit
e58aff41f9
3 changed files with 152 additions and 13 deletions
|
|
@ -82,14 +82,14 @@ export const loadGithubSamples = async (path, nameFn) => {
|
|||
};
|
||||
|
||||
/**
|
||||
* load the given sample map for webdirt
|
||||
* Loads a collection of samples to use with `s`
|
||||
*
|
||||
* @example
|
||||
* loadSamples({
|
||||
* bd: '808bd/BD0000.WAV',
|
||||
* sd: ['808sd/SD0000.WAV','808sd/SD0010.WAV','808sd/SD0050.WAV']
|
||||
* samples({
|
||||
* bd: '808bd/BD0000.WAV',
|
||||
* sd: '808sd/SD0010.WAV'
|
||||
* }, 'https://raw.githubusercontent.com/tidalcycles/Dirt-Samples/master/');
|
||||
* s("bd <sd!7 sd(3,4,2)>").n(2).webdirt()
|
||||
* s("[bd ~]*2, [~ hh]*2, ~ sd").out()
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue