Creates a Wave
object for a given chord
Usage
chord_synth(
chord,
signal = "tria",
duration_sec = 1,
velocity = 100,
sample_rate_hz = 48000,
bit_width = 24
)
Arguments
- chord
a vector of frequencies for the chord
- signal
The
seewave
signal type: "sine", "tria", "square" or "saw", default = "tria"- duration_sec
how many seconds to hold each note, default = 1
- velocity
MIDI velocity, default = 100, max is 127
- sample_rate_hz
sample rate in hz, default = 48000
- bit_width
bit width of samples, default = 24