view_pi_chord: View a pitch chord

Description Usage Arguments

View source: R/pi-chord.R

Description

Displays a musical chord, defined as a finite set of musical pitches.

Usage

1
2
view_pi_chord(x, play_midi = FALSE, download_midi = FALSE,
  staff_width = 100)

Arguments

x

Chord to display, expressed as a numeric vector of MIDI note numbers. Only integerish note numbers are supported.

play_midi

(Logical scalar) If TRUE, the display window will include a prompt whereby the user can play an audio rendition of the musical sequence.

download_midi

(Logical scalar) If TRUE, the display window will provide the user with an option to download a MIDI file representing the musical sequence.

staff_width

(Numeric scalar) staffwidth parameter passed to ABCJS.renderAbc.


pmcharrison/abcR documentation built on Sept. 21, 2019, 5:40 p.m.