From 0f3da5be4abad3c2eaea65476e7a68d69b34b844 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 1 Jan 2023 10:05:58 +0000 Subject: [PATCH 01/41] 01 --- my-patterns/01.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 my-patterns/01.txt diff --git a/my-patterns/01.txt b/my-patterns/01.txt new file mode 100644 index 000000000..6478a38d9 --- /dev/null +++ b/my-patterns/01.txt @@ -0,0 +1,5 @@ +s("bd:7").struct("x x [~ x] [x x*2]".iter(8)) + .slow(1.4) + .off(0.25, x => x.speed(saw.range(3,2.5).color('green'))) + .room(3).size(saw.slow(4)) + .lastOf(4, x => x.bank("OberheimDMX")).legato(0.25) From b7624813ccd18914fe6ccce34f7bd49db82bcc3f Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 1 Jan 2023 11:49:20 +0000 Subject: [PATCH 02/41] custom domain --- website/astro.config.mjs | 2 +- website/public/CNAME | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/astro.config.mjs b/website/astro.config.mjs index 6714f5485..5d4791df2 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -30,7 +30,7 @@ export default defineConfig({ mdx(options), tailwind(), ], - site: `https://strudel.tidalcycles.org`, + site: `https://patterns.slab.org`, base: '', }); diff --git a/website/public/CNAME b/website/public/CNAME index 63687b2b1..ebb952ff9 100644 --- a/website/public/CNAME +++ b/website/public/CNAME @@ -1 +1 @@ -strudel.tidalcycles.org +patterns.slab.org From e9d965ce7aaf16b0069f9be459a5133f5e60f3ec Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 1 Jan 2023 14:22:19 +0000 Subject: [PATCH 03/41] 01b --- my-patterns/01b.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 my-patterns/01b.txt diff --git a/my-patterns/01b.txt b/my-patterns/01b.txt new file mode 100644 index 000000000..e1dff04fa --- /dev/null +++ b/my-patterns/01b.txt @@ -0,0 +1,3 @@ +stack(n("{4 [~ 4] ~ [4 ~ 3]@2, 2 ~ [3 7 5]@2}%4").s("snare_hi").speed(1.2), + s("clap:1 [~ clap:0] [~ clap:3]").iter(3).speed(1.5).gain(0.4).color("green") + ) From 98a83ddcc03ba07fbbca7dbaa40115469a54157c Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 1 Jan 2023 17:22:16 +0000 Subject: [PATCH 04/41] 01c --- my-patterns/01c.txt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 my-patterns/01c.txt diff --git a/my-patterns/01c.txt b/my-patterns/01c.txt new file mode 100644 index 000000000..7cbc0fcdd --- /dev/null +++ b/my-patterns/01c.txt @@ -0,0 +1,4 @@ +stack(n("{4 [~ 4] ~ [5*3 ~ 3]@2, 2 ~ [3 7 ~ 5]@2}%3").s("snare_rim ").gain(2).speed("[2,2 [2.02|2.03]]"), + s("clap:1 [~ clap:0] [~ clap:3]").iter(3).speed(1.5).gain(0.4).color("green").delay(0.25).delaytime(1/12).delayfeedback(0.6), + n("3 2 [1 5]").s("framedrum").gain(2).speed(2) + ).room(saw.range(0, 2).slow(32)).size(1.5) From 069d63e3cf0d77370f7f0b27426104de9d2b0251 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 2 Jan 2023 23:33:48 +0000 Subject: [PATCH 05/41] 02 --- my-patterns/02.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 my-patterns/02.txt diff --git a/my-patterns/02.txt b/my-patterns/02.txt new file mode 100644 index 000000000..a71f1d129 --- /dev/null +++ b/my-patterns/02.txt @@ -0,0 +1,8 @@ +s("bd hh sd oh".fast(2)) + .squeeze(n("<[0 1] 2 [0 4]>")) + .bank("RolandTR909") + .reset("1".euclidLegato("<3 2 3 5>","8")) + .sometimesBy("0.2", x => x.crush("3")) + .speed("[<1.02 1>,1.02]") + .when("0 0 [0|1] 0",x => x.fast(1.5).add(speed("-2"))) + .slow(1.7) From 64fd53a8e51f0edba8a6eebdc3468bb8b5981d33 Mon Sep 17 00:00:00 2001 From: Alex McLean Date: Tue, 3 Jan 2023 10:43:54 +0000 Subject: [PATCH 06/41] tweak --- my-patterns/02.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/my-patterns/02.txt b/my-patterns/02.txt index a71f1d129..0647d16f5 100644 --- a/my-patterns/02.txt +++ b/my-patterns/02.txt @@ -3,6 +3,6 @@ s("bd hh sd oh".fast(2)) .bank("RolandTR909") .reset("1".euclidLegato("<3 2 3 5>","8")) .sometimesBy("0.2", x => x.crush("3")) - .speed("[<1.02 1>,1.02]") + .speed("[<1.02 1>,1.03]") .when("0 0 [0|1] 0",x => x.fast(1.5).add(speed("-2"))) .slow(1.7) From 405c12ba3fbc4bf9c943b3f38f4764df7f7b6ba1 Mon Sep 17 00:00:00 2001 From: Alex McLean Date: Tue, 3 Jan 2023 10:47:20 +0000 Subject: [PATCH 07/41] deploy on push --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index dd08cfb87..1568a53ea 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,6 +1,6 @@ name: Build and Deploy -on: [workflow_dispatch] +on: [push] # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: From 9ec5787b4d03d966bc1bec8b7802b39ac98c376a Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 3 Jan 2023 21:26:56 +0000 Subject: [PATCH 08/41] 03 --- my-patterns/03.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 my-patterns/03.txt diff --git a/my-patterns/03.txt b/my-patterns/03.txt new file mode 100644 index 000000000..553433aea --- /dev/null +++ b/my-patterns/03.txt @@ -0,0 +1,10 @@ +stack(s("bd [~ sd] [sh bd] cb".fast("4")) + .bank("YamahaRY30") + .reset("1".euclidLegato("<3 5 7>","[8 16]")) + .early("<0 0.125>") + .speed(1.5) + .chunk(4,x => x.crush(5)) + .off("<0.5 0.125 0.0625>", x => x.speed(8).gain(0.25).pan(sine.slow(2))), + s("clap") +).slow(3.7) + From cf12ecfa348b62eec559e98bf6971c113078121a Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 4 Jan 2023 23:36:40 +0000 Subject: [PATCH 09/41] 04 --- my-patterns/04.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 my-patterns/04.txt diff --git a/my-patterns/04.txt b/my-patterns/04.txt new file mode 100644 index 000000000..af4f40d7f --- /dev/null +++ b/my-patterns/04.txt @@ -0,0 +1,13 @@ +samples({ + atlast: ['extra-samples/atlast/0_piano.wav', 'extra-samples/atlast/1_vocal.wav', 'extra-samples/atlast/2_hardly.wav'], +}, 'github:yaxu/spicule/master/'); + +s("atlast:2") + .chop(32) + .inside(4,iter("8")) + .room(0.3) + .size(0.6) + .jux(rev) + .when("[1 0 0 0]".iter(4).fast(4), x => x.slow(2).speed(0.5).crush(4)) + .slow(4.2) + From 41f5f3fe6e3c469dfadab233f564484afd6534de Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 5 Jan 2023 23:58:48 +0000 Subject: [PATCH 10/41] 05 --- my-patterns/05.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 my-patterns/05.txt diff --git a/my-patterns/05.txt b/my-patterns/05.txt new file mode 100644 index 000000000..2ceebb36f --- /dev/null +++ b/my-patterns/05.txt @@ -0,0 +1,26 @@ +var isSubset = (superObj, subObj) => { + return Object.keys(subObj).every(ele => { + if (typeof subObj[ele] == 'object') { + return isSubset(superObj[ele], subObj[ele]); + } + return subObj[ele] === superObj[ele] + }); +}; + +Pattern.prototype.match = function (o, f) { + return stack(this.filterValues(v => !isSubset(v,o)), f(this.filterValues(v => isSubset(v, o)))); +} + +x = s("bd sd [~ hh] sd [~ bd] [~ rd] rm bd*2") + .bank("SequentialCircuitsDrumtracks") + .off("1".div("[8 16]/1.2"), x => x.speed(2).gain(0.8).n(3)) + .speed(1.5) + .juxBy(0.25,rev) + .match({s: 'rd'}, pat => pat.crush(2).end(0.1)) + +y = s("bd:4(7,12,<0 2>)").gain(0.7).crush(3).speed(0.8).end(0.3) + .fast(16/12) + +stack(x,y) + .slow(2.1).when("<0!8 1!4>", x => x.speed(saw.add(1))) + From e56abaefd79f60692729ad7a03a7c7f33ae85e61 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 7 Jan 2023 00:02:39 +0000 Subject: [PATCH 11/41] 06 --- my-patterns/06.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 my-patterns/06.txt diff --git a/my-patterns/06.txt b/my-patterns/06.txt new file mode 100644 index 000000000..ffe8e6127 --- /dev/null +++ b/my-patterns/06.txt @@ -0,0 +1,9 @@ +var a = s("mt [ht lt] misc:1") + .off ("<0.25 0.125>", x => x.n(2).speed(2)) + .fast("<2 3@2>") + .bank("ViscoSpaceDrum") + .slow(4) + +var b = s("[clap:2 ~ clap:6]*2").speed(1.4) + +stack(a,b) From efa1cdfcb20be557e1f3ed64f04a7adb156b186f Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 7 Jan 2023 23:12:19 +0000 Subject: [PATCH 12/41] 07 --- my-patterns/07.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 my-patterns/07.txt diff --git a/my-patterns/07.txt b/my-patterns/07.txt new file mode 100644 index 000000000..8fd3ad9a7 --- /dev/null +++ b/my-patterns/07.txt @@ -0,0 +1,11 @@ +var a = s("mt mt rim") + .fast("<1@3 1.5@1 0.75@4>").gain(0.9) + .bank("ViscoSpaceDrum") + +var b = s("sd*<2@3 2@1 1.5@4 1@1>").gain(1) + .hcutoff(3000) +. +stack(a, + b + ) + From a7aa09a13ed1d2103e88eecd6d8e4c8eae5aafca Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 7 Jan 2023 23:15:50 +0000 Subject: [PATCH 13/41] 07 --- my-patterns/07.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/my-patterns/07.txt b/my-patterns/07.txt index 8fd3ad9a7..b60eb4faa 100644 --- a/my-patterns/07.txt +++ b/my-patterns/07.txt @@ -4,7 +4,7 @@ var a = s("mt mt rim") var b = s("sd*<2@3 2@1 1.5@4 1@1>").gain(1) .hcutoff(3000) -. + stack(a, b ) From c84714dc3adc68ec1be8ab39a143302be0d68cbc Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 8 Jan 2023 13:25:22 +0000 Subject: [PATCH 14/41] 08 --- my-patterns/08.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 my-patterns/08.txt diff --git a/my-patterns/08.txt b/my-patterns/08.txt new file mode 100644 index 000000000..bd0fff22c --- /dev/null +++ b/my-patterns/08.txt @@ -0,0 +1,7 @@ +s("bd [~ hh] sd ") + .off("<1 3>".div("<16 8 16>"), x => x.mix(speed("1(3,8,<0 2 3>)")).n("<0 1 2>")) + .off("<1 5 7>".div("<16 8>"), x => x.mix(speed("2(3,8,<0 2 3 4>)")).n("<0 1 2 3>").crush(4).speed(1.5)) + .bank("RolandTR808") + .slow(1.7) +.end(1).room(0.3).size(0.3) + From 3d48135b326884904104dfa1f8c75bc1da3312a9 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 9 Jan 2023 22:47:25 +0000 Subject: [PATCH 15/41] 09 --- my-patterns/09.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 my-patterns/09.txt diff --git a/my-patterns/09.txt b/my-patterns/09.txt new file mode 100644 index 000000000..2a3c6744c --- /dev/null +++ b/my-patterns/09.txt @@ -0,0 +1,15 @@ +var a = s("<[bd [~ sd] sd] !3 [bd [cb sd]]!3>") + .off("<1 3>".div("<16 8 16>"), x => x.mix(speed("1 2 3 [4 5]")).n("<0 1 2>")) + .off(0.125, x => x.mul(speed(2))) + .bank("ViscoSpaceDrum") + .jux(rev) + .end(0.3).room(0.3).size(0.3) + +var b = s("[[ lt:7/2 ht:6/3 ~] ~] sd [~ bd:2] sd") + .gain(1.8).speed("[2.1,2.11]".add(perlin.mul(0.5).slow(2))) + .crush(3).end(0.7) + .bank("RolandTR909") + +stack(a,b) + .slow(1.2) + From 0974540e5ff2753ede86d9ddd94949304395afa1 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Tue, 10 Jan 2023 00:21:54 +0100 Subject: [PATCH 16/41] fix: typo --- website/src/pages/learn/factories.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/pages/learn/factories.mdx b/website/src/pages/learn/factories.mdx index d98629d28..b61015944 100644 --- a/website/src/pages/learn/factories.mdx +++ b/website/src/pages/learn/factories.mdx @@ -17,7 +17,7 @@ These are the equivalents used by the Mini Notation: | `cat(x, y)` | `""` | | `seq(x, y)` | `"x y"` | | `stack(x, y)` | `"x,y"` | -| `timeCat([3,x],[2,y])` | `"x@2 y@2"` | +| `timeCat([3,x],[2,y])` | `"x@3 y@2"` | | `polymeter([a, b, c], [x, y])` | `"{a b c, x y}"` | | `polymeterSteps(2, x, y, z)` | `"{x y z}%2"` | | `silence` | `"~"` | From 08cd319a0b74ca1ee5431cbca0d412c19cac0f86 Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 10 Jan 2023 19:45:23 +0000 Subject: [PATCH 17/41] Revert "Merge branch 'main' into main" This reverts commit 896ec69329c2ef4392cb8eacb05d549a01f197e7, reversing changes made to 32e64bbb6e3f904d4dffce0a7975adf24214021a. --- .github/workflows/deploy.yml | 2 +- my-patterns/01.txt | 5 ----- my-patterns/01b.txt | 3 --- my-patterns/01c.txt | 4 ---- my-patterns/02.txt | 8 -------- my-patterns/03.txt | 10 ---------- my-patterns/04.txt | 13 ------------- my-patterns/05.txt | 26 -------------------------- my-patterns/06.txt | 9 --------- my-patterns/07.txt | 11 ----------- my-patterns/08.txt | 7 ------- my-patterns/09.txt | 15 --------------- website/astro.config.mjs | 2 +- website/public/CNAME | 2 +- 14 files changed, 3 insertions(+), 114 deletions(-) delete mode 100644 my-patterns/01.txt delete mode 100644 my-patterns/01b.txt delete mode 100644 my-patterns/01c.txt delete mode 100644 my-patterns/02.txt delete mode 100644 my-patterns/03.txt delete mode 100644 my-patterns/04.txt delete mode 100644 my-patterns/05.txt delete mode 100644 my-patterns/06.txt delete mode 100644 my-patterns/07.txt delete mode 100644 my-patterns/08.txt delete mode 100644 my-patterns/09.txt diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1568a53ea..dd08cfb87 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,6 +1,6 @@ name: Build and Deploy -on: [push] +on: [workflow_dispatch] # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: diff --git a/my-patterns/01.txt b/my-patterns/01.txt deleted file mode 100644 index 6478a38d9..000000000 --- a/my-patterns/01.txt +++ /dev/null @@ -1,5 +0,0 @@ -s("bd:7").struct("x x [~ x] [x x*2]".iter(8)) - .slow(1.4) - .off(0.25, x => x.speed(saw.range(3,2.5).color('green'))) - .room(3).size(saw.slow(4)) - .lastOf(4, x => x.bank("OberheimDMX")).legato(0.25) diff --git a/my-patterns/01b.txt b/my-patterns/01b.txt deleted file mode 100644 index e1dff04fa..000000000 --- a/my-patterns/01b.txt +++ /dev/null @@ -1,3 +0,0 @@ -stack(n("{4 [~ 4] ~ [4 ~ 3]@2, 2 ~ [3 7 5]@2}%4").s("snare_hi").speed(1.2), - s("clap:1 [~ clap:0] [~ clap:3]").iter(3).speed(1.5).gain(0.4).color("green") - ) diff --git a/my-patterns/01c.txt b/my-patterns/01c.txt deleted file mode 100644 index 7cbc0fcdd..000000000 --- a/my-patterns/01c.txt +++ /dev/null @@ -1,4 +0,0 @@ -stack(n("{4 [~ 4] ~ [5*3 ~ 3]@2, 2 ~ [3 7 ~ 5]@2}%3").s("snare_rim ").gain(2).speed("[2,2 [2.02|2.03]]"), - s("clap:1 [~ clap:0] [~ clap:3]").iter(3).speed(1.5).gain(0.4).color("green").delay(0.25).delaytime(1/12).delayfeedback(0.6), - n("3 2 [1 5]").s("framedrum").gain(2).speed(2) - ).room(saw.range(0, 2).slow(32)).size(1.5) diff --git a/my-patterns/02.txt b/my-patterns/02.txt deleted file mode 100644 index 0647d16f5..000000000 --- a/my-patterns/02.txt +++ /dev/null @@ -1,8 +0,0 @@ -s("bd hh sd oh".fast(2)) - .squeeze(n("<[0 1] 2 [0 4]>")) - .bank("RolandTR909") - .reset("1".euclidLegato("<3 2 3 5>","8")) - .sometimesBy("0.2", x => x.crush("3")) - .speed("[<1.02 1>,1.03]") - .when("0 0 [0|1] 0",x => x.fast(1.5).add(speed("-2"))) - .slow(1.7) diff --git a/my-patterns/03.txt b/my-patterns/03.txt deleted file mode 100644 index 553433aea..000000000 --- a/my-patterns/03.txt +++ /dev/null @@ -1,10 +0,0 @@ -stack(s("bd [~ sd] [sh bd] cb".fast("4")) - .bank("YamahaRY30") - .reset("1".euclidLegato("<3 5 7>","[8 16]")) - .early("<0 0.125>") - .speed(1.5) - .chunk(4,x => x.crush(5)) - .off("<0.5 0.125 0.0625>", x => x.speed(8).gain(0.25).pan(sine.slow(2))), - s("clap") -).slow(3.7) - diff --git a/my-patterns/04.txt b/my-patterns/04.txt deleted file mode 100644 index af4f40d7f..000000000 --- a/my-patterns/04.txt +++ /dev/null @@ -1,13 +0,0 @@ -samples({ - atlast: ['extra-samples/atlast/0_piano.wav', 'extra-samples/atlast/1_vocal.wav', 'extra-samples/atlast/2_hardly.wav'], -}, 'github:yaxu/spicule/master/'); - -s("atlast:2") - .chop(32) - .inside(4,iter("8")) - .room(0.3) - .size(0.6) - .jux(rev) - .when("[1 0 0 0]".iter(4).fast(4), x => x.slow(2).speed(0.5).crush(4)) - .slow(4.2) - diff --git a/my-patterns/05.txt b/my-patterns/05.txt deleted file mode 100644 index 2ceebb36f..000000000 --- a/my-patterns/05.txt +++ /dev/null @@ -1,26 +0,0 @@ -var isSubset = (superObj, subObj) => { - return Object.keys(subObj).every(ele => { - if (typeof subObj[ele] == 'object') { - return isSubset(superObj[ele], subObj[ele]); - } - return subObj[ele] === superObj[ele] - }); -}; - -Pattern.prototype.match = function (o, f) { - return stack(this.filterValues(v => !isSubset(v,o)), f(this.filterValues(v => isSubset(v, o)))); -} - -x = s("bd sd [~ hh] sd [~ bd] [~ rd] rm bd*2") - .bank("SequentialCircuitsDrumtracks") - .off("1".div("[8 16]/1.2"), x => x.speed(2).gain(0.8).n(3)) - .speed(1.5) - .juxBy(0.25,rev) - .match({s: 'rd'}, pat => pat.crush(2).end(0.1)) - -y = s("bd:4(7,12,<0 2>)").gain(0.7).crush(3).speed(0.8).end(0.3) - .fast(16/12) - -stack(x,y) - .slow(2.1).when("<0!8 1!4>", x => x.speed(saw.add(1))) - diff --git a/my-patterns/06.txt b/my-patterns/06.txt deleted file mode 100644 index ffe8e6127..000000000 --- a/my-patterns/06.txt +++ /dev/null @@ -1,9 +0,0 @@ -var a = s("mt [ht lt] misc:1") - .off ("<0.25 0.125>", x => x.n(2).speed(2)) - .fast("<2 3@2>") - .bank("ViscoSpaceDrum") - .slow(4) - -var b = s("[clap:2 ~ clap:6]*2").speed(1.4) - -stack(a,b) diff --git a/my-patterns/07.txt b/my-patterns/07.txt deleted file mode 100644 index b60eb4faa..000000000 --- a/my-patterns/07.txt +++ /dev/null @@ -1,11 +0,0 @@ -var a = s("mt mt rim") - .fast("<1@3 1.5@1 0.75@4>").gain(0.9) - .bank("ViscoSpaceDrum") - -var b = s("sd*<2@3 2@1 1.5@4 1@1>").gain(1) - .hcutoff(3000) - -stack(a, - b - ) - diff --git a/my-patterns/08.txt b/my-patterns/08.txt deleted file mode 100644 index bd0fff22c..000000000 --- a/my-patterns/08.txt +++ /dev/null @@ -1,7 +0,0 @@ -s("bd [~ hh] sd ") - .off("<1 3>".div("<16 8 16>"), x => x.mix(speed("1(3,8,<0 2 3>)")).n("<0 1 2>")) - .off("<1 5 7>".div("<16 8>"), x => x.mix(speed("2(3,8,<0 2 3 4>)")).n("<0 1 2 3>").crush(4).speed(1.5)) - .bank("RolandTR808") - .slow(1.7) -.end(1).room(0.3).size(0.3) - diff --git a/my-patterns/09.txt b/my-patterns/09.txt deleted file mode 100644 index 2a3c6744c..000000000 --- a/my-patterns/09.txt +++ /dev/null @@ -1,15 +0,0 @@ -var a = s("<[bd [~ sd] sd] !3 [bd [cb sd]]!3>") - .off("<1 3>".div("<16 8 16>"), x => x.mix(speed("1 2 3 [4 5]")).n("<0 1 2>")) - .off(0.125, x => x.mul(speed(2))) - .bank("ViscoSpaceDrum") - .jux(rev) - .end(0.3).room(0.3).size(0.3) - -var b = s("[[ lt:7/2 ht:6/3 ~] ~] sd [~ bd:2] sd") - .gain(1.8).speed("[2.1,2.11]".add(perlin.mul(0.5).slow(2))) - .crush(3).end(0.7) - .bank("RolandTR909") - -stack(a,b) - .slow(1.2) - diff --git a/website/astro.config.mjs b/website/astro.config.mjs index 93370893f..9dca58df5 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -30,7 +30,7 @@ export default defineConfig({ mdx(options), tailwind(), ], - site: `https://patterns.slab.org`, + site: `https://strudel.tidalcycles.org`, base: '/', }); diff --git a/website/public/CNAME b/website/public/CNAME index ebb952ff9..63687b2b1 100644 --- a/website/public/CNAME +++ b/website/public/CNAME @@ -1 +1 @@ -patterns.slab.org +strudel.tidalcycles.org From e9c1db020f7891c19064cf63a9b2e4f6828ac834 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Wed, 11 Jan 2023 22:11:22 +0100 Subject: [PATCH 18/41] hotfix: remove mocked .out --- test/runtime.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtime.mjs b/test/runtime.mjs index 444c5addc..25fd2ec79 100644 --- a/test/runtime.mjs +++ b/test/runtime.mjs @@ -116,7 +116,7 @@ strudel.Pattern.prototype.filter = function () { strudel.Pattern.prototype.adsr = function () { return this; }; -strudel.Pattern.prototype.out = function () { +strudel.Pattern.prototype.webaudio = function () { return this; }; strudel.Pattern.prototype.soundfont = function () { From a120a9895bae1a8758885ef0fcb12047973127f8 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Wed, 11 Jan 2023 22:48:33 +0100 Subject: [PATCH 19/41] fix: right sidebar width --- website/src/components/RightSidebar/RightSidebar.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/components/RightSidebar/RightSidebar.astro b/website/src/components/RightSidebar/RightSidebar.astro index be0df4c62..c110d9d88 100644 --- a/website/src/components/RightSidebar/RightSidebar.astro +++ b/website/src/components/RightSidebar/RightSidebar.astro @@ -12,7 +12,7 @@ const { headings, githubEditUrl } = Astro.props as Props; const currentPage = Astro.url.pathname; --- -