From 1fec2f7a466e20d6e0d68f00c5d59ce07b4dcfd8 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Thu, 8 Jun 2023 21:31:32 +0200 Subject: [PATCH] fix: build --- website/package.json | 4 +- .../src/pages/de/workshop/mini-notation.mdx | 69 ------- website/src/pages/workshop/langebank.mdx | 190 ------------------ website/src/pages/workshop/mini-notation.mdx | 69 ------- 4 files changed, 2 insertions(+), 330 deletions(-) delete mode 100644 website/src/pages/de/workshop/mini-notation.mdx delete mode 100644 website/src/pages/workshop/langebank.mdx delete mode 100644 website/src/pages/workshop/mini-notation.mdx diff --git a/website/package.json b/website/package.json index d6100625..c595f5a6 100644 --- a/website/package.json +++ b/website/package.json @@ -4,11 +4,11 @@ "version": "0.6.0", "private": true, "scripts": { - "dev": "astro dev", + "dev": "astro dev --host 0.0.0.0", "start": "astro dev", "check": "astro check && tsc", "build": "astro build", - "preview": "astro preview --port 3009", + "preview": "astro preview --port 3009 --host 0.0.0.0", "astro": "astro" }, "dependencies": { diff --git a/website/src/pages/de/workshop/mini-notation.mdx b/website/src/pages/de/workshop/mini-notation.mdx deleted file mode 100644 index 86bef096..00000000 --- a/website/src/pages/de/workshop/mini-notation.mdx +++ /dev/null @@ -1,69 +0,0 @@ ---- -title: First Sounds -layout: ../../../layouts/MainLayout.astro ---- - -import { MiniRepl } from '../../docs/MiniRepl'; - -# Mini Notation - -Mini Notation is everything between the quotes. It the short rhythm language of Tidal. - -## Cycles - -**The longer the sequence, the faster it runs** - - - -**Play less sounds per cycle with \{curly braces\}** - - - -**Use \`backticks\` for multiple lines** - - - -**Play one sounds per cycle with \** - -")`} punchcard /> - -This is the same as `{...}%1` - -## Operators - -**Multiplication: Speed things up** - - - -**Division: Slow things down** - - - -`bd` will play only every second time - -## Combining it all - -**Speed up Sub-Sequences** - - - -**Slow down Sequences** - - - -**Parallel Sub-Sequences** - - - -**Sample Numbers on groups** - - diff --git a/website/src/pages/workshop/langebank.mdx b/website/src/pages/workshop/langebank.mdx deleted file mode 100644 index 6981fee7..00000000 --- a/website/src/pages/workshop/langebank.mdx +++ /dev/null @@ -1,190 +0,0 @@ - - -1. press play button to start -2. change `house` to `casio` -3. press refresh button to update -4. press stop button to stop - - - -**Change tempo** - - - -adding your own samples - - - -").slow(3)`} - punchcard -/> - -n(run(8)).sound("east") - -Shorter variant: - - - -polyrythms & polymeters - --- This can make for flexible time signatures: - -d1 $ sound "[bd bd sn:5] [bd sn:3]" - --- You can put subsequences inside subsequences: -d1 $ sound "[[bd bd] bd sn:5] [bd sn:3]" - --- Keep going.. -d1 $ sound "[[bd [bd bd bd bd]] bd sn:5] [bd sn:3]" - --- \* Polymetric / polyrhythmic sequences - --- Play two subsequences at once by separating with a comma: - -d1 $ sound "[voodoo voodoo:3, arpy arpy:4 arpy:2]" - --- compare how [,] and {,} work: - -d1 $ sound "[voodoo voodoo:3, arpy arpy:4 arpy:2]" - -d1 $ sound "{voodoo voodoo:3, arpy arpy:4 arpy:2}" - -d1 $ sound "[drum bd hh bd, can can:2 can:3 can:4 can:2]" - -d1 $ sound "{drum bd hh bd, can can:2 can:3 can:4 can:2}" - -d1 $ sound "[bd sn, can:2 can:3 can:1, arpy arpy:1 arpy:2 arpy:3 arpy:5]" - -d1 $ sound "{bd sn, can:2 can:3 can:1, arpy arpy:1 arpy:2 arpy:3 arpy:5}" - -**Play X per cycle with \{ \}** - - - - - -Try different numbers after `%` - -`{ ... }%1` is the same as `< ... >` - - - -## Bracket Recap - -- `[]` squeezes contents to 1 cycle -- `<>` plays one item per cycle -- `{}%x` plays x items per cycle - -/2")) -.sound("gm_synth_bass_1")`} -/> - -vertical - - -< 4 4 4 3> -<[2,7] [2,6] [1,6] [1,6]> -< 4 4 4 3> ->*2\`) -.scale("/4") -.sound("piano")`} -/> - -horizontal - -*2\`) -.scale("/4") -.sound("piano")`} -/> - -# dinge die es im alten tutorial gab, die jetzt noch nicht im workshop sind - -## `freq` - -To get maximum freedom, you can also use `freq` to directly control the frequency: - - - -## Hearing and frequency - -In the above example, we play A3 (220Hz), C#4 natural (275Hz), E4 (330Hz) and A4 (440Hz), mirroring our previous examples. - -But can you hear the difference between these individual frequencies? - - - -How about these? - - - -The higher we go up... - - - -The less distance we can hear between the frequencies! - - - -Why is this? [Human hearing operates logarithmically](https://www.audiocheck.net/soundtests_nonlinear.php). - -## coding syntax - -## getting-started - -## sounds diff --git a/website/src/pages/workshop/mini-notation.mdx b/website/src/pages/workshop/mini-notation.mdx deleted file mode 100644 index df1c8cbe..00000000 --- a/website/src/pages/workshop/mini-notation.mdx +++ /dev/null @@ -1,69 +0,0 @@ ---- -title: First Sounds -layout: ../../layouts/MainLayout.astro ---- - -import { MiniRepl } from '../../docs/MiniRepl'; - -# Mini Notation - -Mini Notation is everything between the quotes. It the short rhythm language of Tidal. - -## Cycles - -**The longer the sequence, the faster it runs** - - - -**Play less sounds per cycle with \{curly braces\}** - - - -**Use \`backticks\` for multiple lines** - - - -**Play one sounds per cycle with \** - -")`} punchcard /> - -This is the same as `{...}%1` - -## Operators - -**Multiplication: Speed things up** - - - -**Division: Slow things down** - - - -`bd` will play only every second time - -## Combining it all - -**Speed up Sub-Sequences** - - - -**Slow down Sequences** - - - -**Parallel Sub-Sequences** - - - -**Sample Numbers on groups** - -