cplot_piano: Console piano plot for notes

View source: R/cplot_piano.R

cplot_pianoR Documentation

Console piano plot for notes

Description

Build an ASCII plot of notes on a piano

Usage

cplot_piano(notes = buildScale("C4", "minor"), blackKey.col = "white")

Arguments

notes

String, vector: Notes to highlight. Default = buildScale("C4", "minor")

blackKey.col

Color to use for black keys. Default = "white" for use on a dark terminal. Set to "black" for use on a light terminal.

Author(s)

E.D. Gennatas

Examples

cplot_piano(buildScale("B4", "minor"))

egenn/music documentation built on June 29, 2023, 6:30 p.m.