diff --git a/a_lot_of_tiles_trivial_scan_score.pdf b/a_lot_of_tiles_trivial_scan_score.pdf index 09c6feb..ac1b0f5 100644 Binary files a/a_lot_of_tiles_trivial_scan_score.pdf and b/a_lot_of_tiles_trivial_scan_score.pdf differ diff --git a/supercollider/a_lot_of_tiles_trivial_scan_gui.scd b/supercollider/a_lot_of_tiles_trivial_scan_gui.scd index a78feea..2369910 100644 --- a/supercollider/a_lot_of_tiles_trivial_scan_gui.scd +++ b/supercollider/a_lot_of_tiles_trivial_scan_gui.scd @@ -125,9 +125,9 @@ transportView = { if(measure.size == 1, {measure = " " ++ measure}); if(measure.size == 2, {measure = " " ++ measure}); measure ++ ":" ++ beat}; - // [-30, -105, -104].collect(_.asAscii).as(String) and [-30, -105, -113].collect(_.asAscii).as(String) are unicode inverse bullet and normal bullet, respectively - metronomeStringFunc = {arg curBeat; case {curBeat % 8 < 1} {[-30, -105, -104].collect(_.asAscii).as(String)} - {curBeat % 2 < 1} {[-30, -105, -113].collect(_.asAscii).as(String)} {true} {" "}}; + // [-30, -105, -104] and [-30, -105, -113] are unicode inverse bullet and normal bullet, respectively + metronomeStringFunc = {arg curBeat; case {curBeat % 8 < 1} {[-30, -105, -104].collect({arg int; int.asAscii}).as(String)} + {curBeat % 2 < 1} {[-30, -105, -113].collect({arg int; int.asAscii}).as(String)} {true} {" "}}; metronomeColorFunc = {arg curBeat; case {curBeat % 32 < 1} {Color.red} {curBeat % 8 < 1} {Color.blue} {true} {Color.black}}; // get current time and call update clock and metronome @@ -212,12 +212,12 @@ transportView = { startPosText.string = clockStringFunc.value((pos.value * 129).trunc * 8); startPos = ((pos.value * 129).trunc * 8) / (129 * 8); clock.string = clockStringFunc.value((startPos * 129).trunc * 8)}.inEnvir), stretch: 1], - startPosText = StaticText().string_(" 1:1").font_(Font("Monaco", 15)), nil); + startPosText = StaticText().string_(" 1:1").font_(Font("Liberation Mono", 15)), nil); HLayout([VLayout(HLayout( - clock = StaticText().string_(" 1:1").font_(Font("Monaco", 200)), - StaticText().string_("|").font_(Font("Monaco", 200)), - metronome = StaticText().string_([-30, -105, -104].collect(_.asAscii).as(String)).font_(Font("Monaco", 300)).stringColor_(Color.red)), nil, transport), + clock = StaticText().string_(" 1:1").font_(Font("Liberation Mono", 200)), + StaticText().string_("|").font_(Font("Liberation Mono", 200)), + metronome = StaticText().string_([-30, -105, -104].collect({arg int; int.asAscii}).as(String)).font_(Font("Liberation Mono", 300)).stringColor_(Color.red)), nil, transport), alignment: \top])}; // mixer diff --git a/supercollider/a_lot_of_tiles_trivial_scan_transcriber.scd b/supercollider/a_lot_of_tiles_trivial_scan_transcriber.scd index 868104c..a857b11 100644 --- a/supercollider/a_lot_of_tiles_trivial_scan_transcriber.scd +++ b/supercollider/a_lot_of_tiles_trivial_scan_transcriber.scd @@ -75,7 +75,7 @@ lilyString = lilyString ++ if((curTime % 2 == 0), {"|"}, {""}); lilyString = lilyString ++ colors ++ lilyNote; lilyString = lilyString ++ if(drawAmps && (group[0] != lastVal), - {"-\\tweak Y-offset #-5.5 _" ++ (target.trunc(0.1) * 10).asString}, {""}); + {"-\\tweak Y-offset #-5.5 _" ++ (target.trunc(0.1) * 10).asInteger.asString}, {""}); lilyString = lilyString ++ if(drawAmps, {"\n"}, {""}); lastVal = group[0];