From fcae478461a4f8489916c2295ace212f6aa9430b Mon Sep 17 00:00:00 2001 From: Edgar Delgado Vega Date: Mon, 15 Apr 2024 12:10:17 -0500 Subject: [PATCH] docs(tonnetz): add explanation for composing functions for four-note chords. --- src/Docs/patterns/ziffers/ziffers_tonnetz.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Docs/patterns/ziffers/ziffers_tonnetz.ts b/src/Docs/patterns/ziffers/ziffers_tonnetz.ts index cbf33f1..847aca1 100644 --- a/src/Docs/patterns/ziffers/ziffers_tonnetz.ts +++ b/src/Docs/patterns/ziffers/ziffers_tonnetz.ts @@ -208,15 +208,18 @@ ${makeExample( ` z1("1.0 047{10}") .scale('chromatic') - .tetraTonnetz("o p18 q15 l13 n51 p19 q15") + .tetraTonnetz("o p18 q15 p14p47r76 l13 n51 x p19rr39 r12") .sound("sawtooth") .cutoff(500 + usine(1/8) * 2000) .adsr(.5,0.05,0.25,0.5) .dur(2.0) + .log("pitch") .out()`, true, )} +It is quite convenient to observe the resulting chords using log("pitch") when you have many operations. As with functions for triads, the way to **compose functions** is to write them **without spaces**. Note that text strings that are not functions operate like the **identity transformation**. Only enabled functions will alter the final result. + ## Cyclic methods In addition to the traditional tonnetz transformations, Ziffers implements cyclic methods that can be used to cycle through the tonnetz space. Cyclic methods turns individual pitch classes to chords using the tonnetz. The cyclic methods are: