Addition : listing .pdf as alternative source

This commit is contained in:
2024-02-23 09:55:01 +01:00
parent 2ee66cd9fb
commit 8b10af555c
2 changed files with 21 additions and 16 deletions

Binary file not shown.

View File

@ -1,6 +1,7 @@
import { makeExampleFactory, key_shortcut } from "../../Documentation";
import { type Editor } from "../../main";
import { examples } from "../../examples/excerpts";
import pdf from "./TOPOS_COMMANDS.pdf";
export const introduction = (application: Editor): string => {
const makeExample = makeExampleFactory(application);
@ -15,7 +16,7 @@ ${makeExample(
"Welcome! Eval to get started",
examples[Math.floor(Math.random() * examples.length)],
true,
)}
)}
# What is Topos?
@ -31,7 +32,7 @@ rhythm(.25, [5, 7].beat(2), 8) :: sound(['hc', 'fikea', 'hat'].pick(1))
beat([2,0.5].dur(13.5, 0.5))::snd('fsoftsnare')
.n(0).speed([1, 0.5]).o(4).out()`,
false,
)}
)}
${makeExample(
"Computer music should be immediate and intuitive",
@ -48,7 +49,7 @@ beat(.25)::snd('sine')
.room(0.5).size(8) // Reverb
.out()`,
false,
)}
)}
${makeExample(
"Making the web less dreadful, one beep at at time",
@ -59,7 +60,7 @@ beat(.25) :: sound('sid').note(
[34, 36, 41].beat(.25) + [[0,-24].pick(),12].beat())
.room(0.9).size(0.9).n(4).out()`,
false,
)}
)}
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 cousin of it! It is a sequencer, a scriptable interface, a companion for algorithmic music-making. Topos wishes to fullfill the same goal as the Teletype, keeping the same spirit alive on the web. It is free, open-source, and made to be shared and used by everyone. Learn more about live coding on [livecoding.fr](https://livecoding.fr).
@ -69,6 +70,10 @@ Reloading the application will get you one random song example to study every ti
"F5",
)} and listen to them all! The demo songs are also used a bit everywhere in the documentation to illustrate some of the working principles :).
## Alternative documentation source (.pdf)
You can also find a .pdf version listing the principal commands and functions [here](${pdf}). This document has been generated by Chris Collis. It recaps the main sections of this documentation and can be a good companion while learning Topos.
## Support
<p>You can <a href='https://ko-fi.com/I2I2RSBHF' target='_blank'><img height='36' style='display: inline; border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi3.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a> to support the development :) </p>