Learn R Programming

sequenceR (version 1.0.1)

noteFrequencyTable: Note-frequency table

Description

Builds a dataframe containing notes (in scientific pitch notation) and corresponding frequencies.

Usage

noteFrequencyTable(minOctave = 0, maxOctave = 8)

Value

a data frame with 4 columns: note name 1 (written with 'b'), note name 2 (written with '#'),index (in semitones with respect to A4) and frequency (in Hz)

Arguments

minOctave

integer, smallest (lowest-pitched) octave

maxOctave

integer, largest (highest-pitched) octave

Examples

Run this code
# example code
noteFrequencyTable()

Run the code above in your browser using DataLab