powered by
Build an ASCII plot of notes on a piano
cplot.piano(notes = buildScale("C4", "minor"), blackKey.col = "white")
String, vector: Notes to highlight. Default = buildScale("C4", "minor")
buildScale("C4", "minor")
Color to use for black keys. Default = "white" for use on a dark terminal. Set to "black" for use on a light terminal.
E.D. Gennatas
cplot.piano(buildScale("B4", "minor"))
Run the code above in your browser using DataLab