fix typo
This commit is contained in:
@ -1106,7 +1106,7 @@ export class UserAPI {
|
|||||||
*/
|
*/
|
||||||
const period = 1 / freq;
|
const period = 1 / freq;
|
||||||
const t = (Date.now() / 1000 + offset) % period;
|
const t = (Date.now() / 1000 + offset) % period;
|
||||||
return t / period < dutyCycle ? 1 : -1;
|
return t / period < duty ? 1 : -1;
|
||||||
};
|
};
|
||||||
|
|
||||||
usquare = (
|
usquare = (
|
||||||
|
|||||||
@ -36,7 +36,7 @@ mod(0.25) :: sound('sawtooth')
|
|||||||
pick(60, 67, 63) - 12 + 5, pick(60, 67, 63) - 12 + 5,
|
pick(60, 67, 63) - 12 + 5, pick(60, 67, 63) - 12 + 5,
|
||||||
pick(60, 67, 63) - 12 + 7, pick(60, 67, 63) - 12 + 7) + (sometimes() ? 24 : 12))
|
pick(60, 67, 63) - 12 + 7, pick(60, 67, 63) - 12 + 7) + (sometimes() ? 24 : 12))
|
||||||
.dur(0.1).fmi(8).fmh(4).room(0.9)
|
.dur(0.1).fmi(8).fmh(4).room(0.9)
|
||||||
.gain(0.25).cutoff(500 + usine(8) * 10000)
|
.gain(0.75).cutoff(500 + usine(8) * 10000)
|
||||||
.delay(0.5).delaytime(bpm() / 60 / 4 / 3)
|
.delay(0.5).delaytime(bpm() / 60 / 4 / 3)
|
||||||
.delayfeedback(0.25)
|
.delayfeedback(0.25)
|
||||||
.out()
|
.out()
|
||||||
|
|||||||
Reference in New Issue
Block a user