From 386ae1269c6c8ee07e1205a8e100711c98aeafb9 Mon Sep 17 00:00:00 2001 From: Bubobubobubobubo Date: Sun, 27 Aug 2023 20:41:15 +0000 Subject: [PATCH] deploy: f84141c1e899602a076a74aa473ec59ebfc32580 --- .../{index-a2bcf964.js => index-2fc7f83c.js} | 48 +++++++++---------- index.html | 2 +- 2 files changed, 25 insertions(+), 25 deletions(-) rename assets/{index-a2bcf964.js => index-2fc7f83c.js} (99%) diff --git a/assets/index-a2bcf964.js b/assets/index-2fc7f83c.js similarity index 99% rename from assets/index-a2bcf964.js rename to assets/index-2fc7f83c.js index ff037ce..80a22aa 100644 --- a/assets/index-a2bcf964.js +++ b/assets/index-2fc7f83c.js @@ -81,11 +81,15 @@ ${r[i]} Welcome to the Topos documentation. These pages are offering you an introduction to the software and to the ideas behind it. You can jump here anytime by pressing ${_t("Ctrl + D")}. Press again to make the documentation disappear. All your contributions are welcome! ${t("Welcome! Eval to get started",` + mod([1/4,1/8,1/16].div(8)):: sound('sine') .freq([100,50].div(16) + 50 * ($(1)%10)) .gain(0.5).room(0.9).size(0.9) .sustain(0.1).out() -mod(1) :: sound('kick').out()`,!0)} +mod(1) :: sound('kick').out() +mod(2) :: sound('dr').n(5).out() +div(3) :: mod([.25,.5].div(.5)) :: sound('dr') + .n([8,9].pick()).gain([.8,.5,.25,.1,.0].div(.25)).out()`,!0)} ## What is Topos? @@ -108,33 +112,29 @@ Topos is deeply inspired by the [Monome Teletype](https://monome.org/). The Tele Press ${_t("Ctrl + G")} to switch to the global file. This is where everything starts! Evaluate the following script there by pasting and pressing ${_t("Ctrl + Enter")}. You are now making music: ${t("Drums and arpeggios",` -bpm(80) -mod(0.25) && sound('sawtooth') - .note(seqbar( - [60, 67, 63].pick() - 12, [60, 67, 63].pick() - 12, - [60, 67, 63].pick() - 12 + 5, [60, 67, 63].pick() - 12 + 5, - [60, 67, 63].pick() - 12 + 7, [60, 67, 63].pick() - 12 + 7) + (sometimes() ? 24 : 12) - ) - .sustain(0.1).fmi(8).fmh(4).room(0.9) - .gain(0.75).cutoff(500 + usine(8) * 10000) - .delay(0.5).delaytime(bpm() / 60 / 4 / 3) - .delayfeedback(0.25) +bpm(110) +mod(0.125) && sound('sawtooth') + .note([60, 62, 63, 67, 70].div(.125) + + [-12,0,12].beat() + [0, 0, 5, 7].bar()) + .sustain(0.1).fmi(0.25).fmh(2).room(0.9) + .gain(0.75).cutoff(500 + usine(8) * [500, 1000, 2000].bar()) + .delay(0.5).delayt(0.25).delayfb(0.25) .out(); mod(1) && snd('kick').out(); mod(2) && snd('snare').out(); -mod(.5) && snd('hat').out(); -`,!0)} +mod(.5) && snd('hat').out();`,!0)} -${t("Resonant madness",`mod(.5)::snd('synth2') - .freq([50,50*1.25,50*1.5,50*1.75].div(8) / 2) - .cutoff(usine(.5) * 5000).resonance(15).end(0.8).room(0.9).size(0.9).n(7).out(); -mod(.25)::snd('synth2') - .freq([50,50*1.25,50*1.5,50*1.75].div(.5)) - .cutoff(usine(.5) * 5000).resonance(15) - .end(0.2).room(0.9).size(0.9).n(14).out() -mod(1)::snd('kick').out() -mod(2)::snd('snare').shape(0.5).out() -mod(.75)::snd('hat').shape(0.4).out()`,!1)} +${t("Resonant madness",` +mod(.25)::snd('arpy') + .note(30 + [0,3,7,10].beat()) + .cutoff(usine(.5) * 5000).resonance(10).gain(0.3) + .end(0.8).room(0.9).size(0.9).n(0).out(); +mod([.25,.125].div(2))::snd('arpy') + .note(30 + [0,3,7,10].beat()) + .cutoff(usine(.5) * 5000).resonance(20).gain(0.3) + .end(0.8).room(0.9).size(0.9).n(3).out(); +mod(.5) :: snd('arpy').note( + [30, 33, 35].repeatAll(4).div(1) - [12,0].div(0.5)).out()`,!1)} `,i=` # Interface diff --git a/index.html b/index.html index 4a390ac..2aeb5fb 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ Topos - +