Learn R Programming

music (version 0.1.2)

Learn and Experiment with Music Theory

Description

An aid for learning and using music theory. You can build chords, scales, and chord progressions using 12-note equal temperament tuning (12-ET) or user-defined tuning. Includes functions to visualize notes on a piano using ASCII plots in the console and to plot waveforms using base graphics. It allows simple playback of notes and chords using the 'audio' package.

Copy Link

Version

Install

install.packages('music')

Monthly Downloads

232

Version

0.1.2

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Efstathios D. Gennatas

Last Published

July 10th, 2022

Functions in music (0.1.2)

music-package

music: Learn and use music theory
formatNote

Format notes
strings

Separate notes into vector of strings
note2freq

Convert musical notes to frequencies
playProgression

Play Progression
playWave

Minimal "Polyphonic" Wave Player
playChord

Play Chord
noteDistance

Note distance in semitones
buildProgression

Build Chord Progression
freq2wave

Frequency to waveform
cplot.piano

Console piano plot for notes
buildChord

Build Chord
formatNotation

Format Notation
mplot

Plot waveform
buildScale

Build Scale
playFreq

Play frequency
playNote

Play Note