From fa2ecef78f8159ded08cfd8ab37d961f3a1ec593 Mon Sep 17 00:00:00 2001 From: Michael Kesper Date: Sat, 23 Sep 2023 22:49:04 +0200 Subject: [PATCH] Workshop: Add note for multiple statements Executing multiple statements can be confusing until you note there have to be blank lines in between. --- docs/patternlib/tutorials/workshop.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/patternlib/tutorials/workshop.md b/docs/patternlib/tutorials/workshop.md index e786e7db2f..f94cc97027 100644 --- a/docs/patternlib/tutorials/workshop.md +++ b/docs/patternlib/tutorials/workshop.md @@ -70,6 +70,18 @@ d1 $ sound "drum" # n 1 Note that `s` is a synonym of `sound`, so `d1 $ s "drum" # n 1` is the same pattern. +## Multiple instructions + +NB: Seperate instructions have to be separated by a blank line like so: +```haskell +d1 $ sound "bd hh sn hh" + +setcps 0.6 + +d2 $ sound "sn bd sn:2 bd bd sn" +``` +(See below for what these examples mean). + ### Default sample library Some of the samples which come with **Tidal** are listed below. Try some out!