rename choke -> clip

This commit is contained in:
Felix Roos
2022-06-28 21:50:08 +02:00
parent cf564a7d06
commit 55f91143d9
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ const maxPan = toMidi('C8');
const panwidth = (pan, width) => pan * width + (1 - width) / 2;
Pattern.prototype.piano = function () {
return this.choke(1)
return this.clip(1)
.s('piano')
.fmap((value) => {
// pan by pitch
+1 -1
View File
@@ -1015,7 +1015,7 @@ x=>x.add(7).color('steelblue')
.cutoff(sine.slow(7).range(200,4000))
.resonance(10)
//.hcutoff(400)
.choke(1)
.clip(1)
.stack(s("bd:1*2,~ sd:0,[~ hh:0]*2"))
.out()
.pianoroll({vertical:1})`;