piano_plot | R Documentation |
Piano plot showing the notes in Scientific Pitch Notation.
piano_plot(data, num_fmt = 0)
data |
Data frame or tibble containing the desired frequencies to be plotted. |
num_fmt |
Number of the desired formant (includes f0 for simplicity). Default: |
https://en.wikipedia.org/wiki/12_equal_temperament
https://en.wikipedia.org/wiki/Scientific_pitch_notation
library(voice)
# get path to audio file
path2wav <- list.files(system.file('extdata', package = 'wrassp'),
pattern = glob2rx('*.wav'), full.names = TRUE)
# Media dataset
M <- extract_features(path2wav)
piano_plot(M, 0)
piano_plot(M, 0:2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.