From 8fe3fda27f6dd1c786b7f240690de9a5bd9f8461 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Fri, 23 Dec 2022 18:24:40 +0100 Subject: [PATCH] update snapshots --- test/__snapshots__/examples.test.mjs.snap | 60 +++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/test/__snapshots__/examples.test.mjs.snap b/test/__snapshots__/examples.test.mjs.snap index 716c6aa4..0bc774fb 100644 --- a/test/__snapshots__/examples.test.mjs.snap +++ b/test/__snapshots__/examples.test.mjs.snap @@ -257,6 +257,19 @@ exports[`runs examples > example "apply" example index 0 1`] = ` ] `; +exports[`runs examples > example "attack" example index 0 1`] = ` +[ + "[ 0/1 → 1/2 | note:c3 attack:0 ]", + "[ 1/2 → 1/1 | note:e3 attack:0 ]", + "[ 1/1 → 3/2 | note:c3 attack:0.1 ]", + "[ 3/2 → 2/1 | note:e3 attack:0.1 ]", + "[ 2/1 → 5/2 | note:c3 attack:0.5 ]", + "[ 5/2 → 3/1 | note:e3 attack:0.5 ]", + "[ 3/1 → 7/2 | note:c3 attack:0 ]", + "[ 7/2 → 4/1 | note:e3 attack:0 ]", +] +`; + exports[`runs examples > example "bandf" example index 0 1`] = ` [ "[ 0/1 → 1/2 | s:bd bandf:1000 ]", @@ -608,6 +621,19 @@ exports[`runs examples > example "cutoff" example index 0 1`] = ` ] `; +exports[`runs examples > example "decay" example index 0 1`] = ` +[ + "[ 0/1 → 1/2 | note:c3 decay:0.1 sustain:0 ]", + "[ 1/2 → 1/1 | note:e3 decay:0.1 sustain:0 ]", + "[ 1/1 → 3/2 | note:c3 decay:0.2 sustain:0 ]", + "[ 3/2 → 2/1 | note:e3 decay:0.2 sustain:0 ]", + "[ 2/1 → 5/2 | note:c3 decay:0.3 sustain:0 ]", + "[ 5/2 → 3/1 | note:e3 decay:0.3 sustain:0 ]", + "[ 3/1 → 7/2 | note:c3 decay:0.4 sustain:0 ]", + "[ 7/2 → 4/1 | note:e3 decay:0.4 sustain:0 ]", +] +`; + exports[`runs examples > example "degrade" example index 0 1`] = ` [ "[ 0/1 → 1/8 | s:hh ]", @@ -2319,6 +2345,27 @@ exports[`runs examples > example "rarely" example index 0 1`] = ` ] `; +exports[`runs examples > example "release" example index 0 1`] = ` +[ + "[ 0/1 → 1/4 | note:c3 release:0 ]", + "[ 1/4 → 1/2 | note:e3 release:0 ]", + "[ 1/2 → 3/4 | note:g3 release:0 ]", + "[ 3/4 → 1/1 | note:c4 release:0 ]", + "[ 1/1 → 5/4 | note:c3 release:0 ]", + "[ 5/4 → 3/2 | note:e3 release:0 ]", + "[ 3/2 → 7/4 | note:g3 release:0 ]", + "[ 7/4 → 2/1 | note:c4 release:0 ]", + "[ 2/1 → 9/4 | note:c3 release:0.1 ]", + "[ 9/4 → 5/2 | note:e3 release:0.1 ]", + "[ 5/2 → 11/4 | note:g3 release:0.1 ]", + "[ 11/4 → 3/1 | note:c4 release:0.1 ]", + "[ 3/1 → 13/4 | note:c3 release:0.1 ]", + "[ 13/4 → 7/2 | note:e3 release:0.1 ]", + "[ 7/2 → 15/4 | note:g3 release:0.1 ]", + "[ 15/4 → 4/1 | note:c4 release:0.1 ]", +] +`; + exports[`runs examples > example "resonance" example index 0 1`] = ` [ "[ 0/1 → 1/2 | s:bd cutoff:2000 resonance:0 ]", @@ -2935,6 +2982,19 @@ exports[`runs examples > example "superimpose" example index 0 1`] = ` ] `; +exports[`runs examples > example "sustain" example index 0 1`] = ` +[ + "[ 0/1 → 1/2 | note:c3 decay:0.2 sustain:0 ]", + "[ 1/2 → 1/1 | note:e3 decay:0.2 sustain:0 ]", + "[ 1/1 → 3/2 | note:c3 decay:0.2 sustain:0.1 ]", + "[ 3/2 → 2/1 | note:e3 decay:0.2 sustain:0.1 ]", + "[ 2/1 → 5/2 | note:c3 decay:0.2 sustain:0.4 ]", + "[ 5/2 → 3/1 | note:e3 decay:0.2 sustain:0.4 ]", + "[ 3/1 → 7/2 | note:c3 decay:0.2 sustain:0.6 ]", + "[ 7/2 → 4/1 | note:e3 decay:0.2 sustain:0.6 ]", +] +`; + exports[`runs examples > example "timeCat" example index 0 1`] = ` [ "[ 0/1 → 3/4 | note:e3 ]",