From 0c837189f4de22382fed78ebb4a8860d38d742d6 Mon Sep 17 00:00:00 2001 From: Nova deViator Date: Wed, 9 Sep 2015 20:13:15 +0200 Subject: [PATCH] padLeft --- scd/snd_lines.scd | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scd/snd_lines.scd b/scd/snd_lines.scd index 06cea21..44f94d8 100644 --- a/scd/snd_lines.scd +++ b/scd/snd_lines.scd @@ -287,7 +287,7 @@ post(" "); nextdelta = siLines[step+2][0].asFloat - nextplayhead; //action::documentation - post("\n~" + step); + post("\n~" + step.asString.padLeft(3)); post("|"); post(siLines[step][1]); post("| "); @@ -297,9 +297,9 @@ post(" "); post(" | "); // post(siLines[step][2]); // post( "nm | " ); - post(frequency.round(1)); + post(frequency.round(1).asString.padLeft(5)); post("Hz | "); - post(frequency_alt.round(1)); + post(frequency_alt.round(1).asString.padLeft(5)); post("Hz | "); post(amp.ampdb.round(1)); post("dB \\ "); @@ -311,9 +311,9 @@ post(" "); post("| "); post(delta.round(1)); post("s / "); - post(nextfrequency.round(1)); + post(nextfrequency.round(1).asString.padLeft(5)); post("Hz | "); - post(nextfrequency_alt.round(1)); + post(nextfrequency_alt.round(1).asString.padLeft(5)); post("Hz | "); post(nextamp.ampdb.round(1)); post("dB \\ ");