diff --git a/assets/index-2fc7f83c.js b/assets/index-55ddb7d2.js similarity index 99% rename from assets/index-2fc7f83c.js rename to assets/index-55ddb7d2.js index 80a22aa..f2e01d8 100644 --- a/assets/index-2fc7f83c.js +++ b/assets/index-55ddb7d2.js @@ -82,36 +82,7 @@ Welcome to the Topos documentation. These pages are offering you an introduction ${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() -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? - -Topos is an _algorithmic_ sequencer. Topos uses small algorithms to represent musical sequences and processes. These can be written in just a few lines of code. Topos is made to be _live-coded_. The _live coder_ strives for the constant interaction with algorithms and sound during a musical performance. Topos is aiming to be a digital playground for live algorithmic music. - -${t("Small algorithms for direct musical expression","mod(1) :: sound(['kick', 'hat', 'snare', 'hat'].div(1)).out()",!1)} - -${t("Computer music should be immediate and intuitive",`mod(.5)::snd('sine') - .delay(0.5).delayt(0.25).delayfb(0.7) - .room(0.8).size(0.8) - .freq(mouseX()).out()`,!1)} - -${t("Making the web less dreadful, one beep at at time","mod(.5) :: sound(['sid', 'crow', 'zap'].pick()).n($(1) % 10).out()",!1)} - -Topos is deeply inspired by the [Monome Teletype](https://monome.org/). The Teletype is/was an open source hardware module for Eurorack synthesizers. While the Teletype was initially born as an hardware module, Topos aims to be a web-browser based software sequencer from the same family! It is a sequencer, a scriptable interface, a companion for algorithmic music-making. Topos wishes to fullfill the same goal than the Teletype, keeping the same spirit alive on the web. It is free, open-source, and made to be shared and used by everyone. - -## Demo Songs - -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(110) mod(0.125) && sound('sawtooth') .note([60, 62, 63, 67, 70].div(.125) + @@ -122,7 +93,48 @@ mod(0.125) && sound('sawtooth') .out(); mod(1) && snd('kick').out(); mod(2) && snd('snare').out(); -mod(.5) && snd('hat').out();`,!0)} +mod(.5) && snd('hat').out(); + +`,!0)} + + +## What is Topos? + +Topos is an _algorithmic_ sequencer. Topos uses small algorithms to represent musical sequences and processes. These can be written in just a few lines of code. Topos is made to be _live-coded_. The _live coder_ strives for the constant interaction with algorithms and sound during a musical performance. Topos is aiming to be a digital playground for live algorithmic music. + +${t("Small algorithms for direct musical expression",` +mod(1) :: sound(['kick', 'hat', 'snare', 'hat'].div(1)).out() +mod(.5) :: sound('jvbass').note(35 + [0,12].beat()).out() +mod([0.5, 0.25, 1, 2].div(1)) :: sound('east') + .room(.5).size(0.5).n(irand(1,5)).out()`,!1)} + +${t("Computer music should be immediate and intuitive",`mod(.5)::snd('sine') + .delay(0.5).delayt(0.25).delayfb(0.7) + .room(0.8).size(0.8) + .freq(mouseX()).out()`,!1)} + +${t("Making the web less dreadful, one beep at at time",` +mod(.5) :: sound('sid').n($(2)).out() +mod(.25) :: sound('sid').note( + [34, 36, 41].div(.25) + [[0,-24].pick(),12].beat()) + .room(0.9).size(0.9).n(4).out()`,!1)} + +Topos is deeply inspired by the [Monome Teletype](https://monome.org/). The Teletype is/was an open source hardware module for Eurorack synthesizers. While the Teletype was initially born as an hardware module, Topos aims to be a web-browser based software sequencer from the same family! It is a sequencer, a scriptable interface, a companion for algorithmic music-making. Topos wishes to fullfill the same goal than the Teletype, keeping the same spirit alive on the web. It is free, open-source, and made to be shared and used by everyone. + +## Demo Songs + +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("Obscure shenanigans",` + +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() +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)} ${t("Resonant madness",` mod(.25)::snd('arpy') diff --git a/index.html b/index.html index 2aeb5fb..a1cb90b 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@