From a2e8b49f01720f2f4fd15fe7ea7d8258f0d94dab Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Tue, 26 Sep 2023 23:42:33 +0200 Subject: [PATCH] done with chord examples --- src/documentation/ziffers.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/documentation/ziffers.ts b/src/documentation/ziffers.ts index 4705726..d63822d 100644 --- a/src/documentation/ziffers.ts +++ b/src/documentation/ziffers.ts @@ -176,16 +176,18 @@ beat(4) :: sound('breaks165').stretch(4).out() ${makeExample( "Chord transposition with named chords", ` - z1('e C9:4 Emin:4 F7%-1:4 Emaj%-1:4') - .sound("stab").out() +z1('1/4 Cmin!3 Fmin!3 Fmin%-1 Fmin%-2 Fmin%-1') + .sound("sine").bpf(500 + usine(1/4) * 2000) + .out() ` )} ${makeExample( "Programmatic inversions", ` - z1('i v vi iv').invert([1,-1,-2,0].beat(4)) - .sound("sawtooth").out() +z1('1/6 i v 1/3 vi iv').invert([1,-1,-2,0].beat(4)) + .sound("sawtooth").cutoff(1000) + .lpadsr(2, 0, .2, 0, 0).out() ` )}