From b349f2b9df59548f1fca8bdbfdf3a2e885b4edca Mon Sep 17 00:00:00 2001 From: Michael Winter Date: Mon, 15 Jun 2020 22:26:54 -0400 Subject: [PATCH] 2020.06.15.03 --- supercollider/cicc_musical_data_generator.scd | 2 +- supercollider/cicc_transcriber.scd | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/supercollider/cicc_musical_data_generator.scd b/supercollider/cicc_musical_data_generator.scd index 90784a3..7cad402 100644 --- a/supercollider/cicc_musical_data_generator.scd +++ b/supercollider/cicc_musical_data_generator.scd @@ -36,7 +36,7 @@ genInitSeq = {arg seed = 20200525; res = []; //notes before the more static repetitions are put in //~~~~run routine and create template sequence - ({sectionCount < 6}).while({ + ({sectionCount < 20}).while({ var alterPattern; //alter string pattern or not diff --git a/supercollider/cicc_transcriber.scd b/supercollider/cicc_transcriber.scd index 0ea76d9..6ac96d2 100644 --- a/supercollider/cicc_transcriber.scd +++ b/supercollider/cicc_transcriber.scd @@ -295,6 +295,9 @@ lilyString.findRegexp("r4 r4 r4 r4 r4 r4").clump(2).do({arg match; lilyString = lilyString.replace(match[0][1], "R1*3/2")}); + lilyString.findRegexp("r4 r4 r4 r4 r4").clump(2).do({arg match; + lilyString = lilyString.replace(match[0][1], "r4 r1")}); + lilyString.findRegexp("r4 r4 r4 r4").clump(2).do({arg match; lilyString = lilyString.replace(match[0][1], "r1")});