Browse Source

padLeft

master
Nova deViator 6 years ago
parent
commit
0c837189f4
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      scd/snd_lines.scd

+ 5
- 5
scd/snd_lines.scd View File

@ -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 \\ ");


Loading…
Cancel
Save