|
|
@ -24,8 +24,10 @@
|
|
|
|
leadSpace = (3 - measureString.size).collect({" "}).join;
|
|
|
|
leadSpace = (3 - measureString.size).collect({" "}).join;
|
|
|
|
leadSpace ++ measureString ++ "." ++ beatString
|
|
|
|
leadSpace ++ measureString ++ "." ++ beatString
|
|
|
|
};
|
|
|
|
};
|
|
|
|
// [-30, -105, -104].asAscii and [-30, -105, -113].asAscii are unicode inverse bullet and normal bullet, respectively
|
|
|
|
// [-30, -105, -104] and [-30, -105, -113] are unicode inverse bullet and normal bullet, respectively
|
|
|
|
metronomeStringFunc = { arg beat; if(beat == 1, {[-30, -105, -104].asAscii}, {[-30, -105, -113].asAscii}) };
|
|
|
|
metronomeStringFunc = { arg beat; if(beat == 1,
|
|
|
|
|
|
|
|
{[-30, -105, -104].collect({arg int; int.asAscii}).as(String)},
|
|
|
|
|
|
|
|
{[-30, -105, -113].collect({arg int; int.asAscii}).as(String)})};
|
|
|
|
metronomeColorFunc = { arg beat; if(beat == 1, {Color.red},{Color.black})};
|
|
|
|
metronomeColorFunc = { arg beat; if(beat == 1, {Color.red},{Color.black})};
|
|
|
|
|
|
|
|
|
|
|
|
win = Window("Counterfeiting in Colonial Connecticut", Rect(500, 500, 1100, 575), false).front;
|
|
|
|
win = Window("Counterfeiting in Colonial Connecticut", Rect(500, 500, 1100, 575), false).front;
|
|
|
@ -195,7 +197,7 @@
|
|
|
|
[VLayout(
|
|
|
|
[VLayout(
|
|
|
|
HLayout(clock = StaticText(win).string_(" 1.1").font_(Font("Monaco", 200)),
|
|
|
|
HLayout(clock = StaticText(win).string_(" 1.1").font_(Font("Monaco", 200)),
|
|
|
|
StaticText(win).string_("|").font_(Font("Monaco", 200)),
|
|
|
|
StaticText(win).string_("|").font_(Font("Monaco", 200)),
|
|
|
|
metronome = StaticText(win).string_([-30, -105, -104].asAscii).font_(Font("Monaco", 300)).stringColor_(Color.red)),
|
|
|
|
metronome = StaticText(win).string_([-30, -105, -104].collect({arg int; int.asAscii}).as(String)).font_(Font("Monaco", 300)).stringColor_(Color.red)),
|
|
|
|
nil, transport, nil,
|
|
|
|
nil, transport, nil,
|
|
|
|
HLayout(
|
|
|
|
HLayout(
|
|
|
|
tempo = TextField(view).string_("90"),
|
|
|
|
tempo = TextField(view).string_("90"),
|
|
|
|