// Welcome to Zen!
// Press shift+enter to hear this example
// Press esc to stop
// Learn more about Zen using the docs link at the bottom of the page
bpm = 140
xps=[
'dist 0.5',
'_chorus rand 0.01 0.15',
'chfb 1',
'_chfreq 1000',
'reverb 0.2',
'revtime 0.25',
'_rate rand 1 2 0.001 2',
'lag 1'
];
zps=['n scale c`dorian 16', '+n 12']
const bi = 1234 + (t%q)
const si = 876786
const zPat = floor(noise((t%q)/q) * 8) * (s/8)
s1.xps=['inst sampler', 'bank cpu2', 'cut [0,1,2,4]', 'rate 0.75']
s1.yps=['i range 0 16 1', 'dur seq 1 0.1', 'delayfb range 0.75 0.25',