docs(tonnetz): add explanation for composing functions for four-note chords.

This commit is contained in:
Edgar Delgado Vega
2024-04-15 12:10:17 -05:00
parent e06119ba8c
commit fcae478461

View File

@ -208,15 +208,18 @@ ${makeExample(
` `
z1("1.0 047{10}") z1("1.0 047{10}")
.scale('chromatic') .scale('chromatic')
.tetraTonnetz("o p18 q15 l13 n51 p19 q15") .tetraTonnetz("o p18 q15 p14p47r76 l13 n51 x p19rr39 r12")
.sound("sawtooth") .sound("sawtooth")
.cutoff(500 + usine(1/8) * 2000) .cutoff(500 + usine(1/8) * 2000)
.adsr(.5,0.05,0.25,0.5) .adsr(.5,0.05,0.25,0.5)
.dur(2.0) .dur(2.0)
.log("pitch")
.out()`, .out()`,
true, true,
)} )}
It is quite convenient to observe the resulting chords using <ic>log("pitch")</ic> 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 ## 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: 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: