xxxxxxxxxx
// ctrl/cmd - enter to run the code.
"[120 240]*2".onEvent(e=>glicol.setBPM(e.value))
glicol.play({
"~t1": seq("60 _48 _72 67_67").sp("cb").mul("~p1"),
"~p1": sig( "[1 0.5 0.1 0.9]".take(1) ),
o: mix("~t..").plate(0.1)
})
// run "glicol.showAllSamples()" in console to see the loaded samples
// This is a combination of Glicol language/audio engine and Strudel/Tidal (mini) patterns.
// Find more on: https://glicol.org
// https://strudel.tidalcycles.org/tutorial
// Source code: https://github.com/glicol/glicol-strudel
// --example-- uncomment the item below to play
// glicol.play({
// "~t1": psampler( "[cb [rm sid] tok*3 talk1]*2".take(1) ).mul(0.2),
// "~t2": psampler( "[bin]*4".take(1)).mul(0.2),
// o: mix("~t1 ~t2").plate(0.1)
// })