piano_plot {voice} | R Documentation |
Piano plot
Description
Piano plot showing the notes in Scientific Pitch Notation.
Usage
piano_plot(data, num_fmt = 0)
Arguments
data |
Data frame or tibble containing the desired frequencies to be plotted. |
num_fmt |
Number of the desired formant (includes f0 for simplicity). Default: |
References
https://en.wikipedia.org/wiki/12_equal_temperament
https://en.wikipedia.org/wiki/Scientific_pitch_notation
Examples
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)
[Package voice version 0.5.4 Index]