makesong: Makes a song from a vector of notes/chords

Description Usage Arguments Examples

Description

Makes a song from a vector of notes/chords

Usage

1
  makesong(songnotes, baseduration = NULL)

Arguments

songnotes

A character vector containing valid notes and/or chords. Currently these need to be of the form "3_A1.B2.C3"

baseduration

The length (in seconds) each individual note should take. If this is NULL it will check songnotes for a baseduration attribute and if present will use that. If there is no attribute then it defaults to 1/4.

Examples

1
2
song <- c("A5", "B5", "C5", "B5", "A5")
mysong <- makesong(song)

Dasonk/musicmakeR documentation built on May 6, 2019, 1:38 p.m.