Description Usage Arguments Details Value
Synthesizes many sounds and strings them together for a melody or combine them for a chord
1 2 3 4 5 6 7 8 9  | 
midi | 
 vector of midi notes in 0-127  | 
rhythms | 
 vector of rhythms in fractions of a measure, can be a constant rhythm  | 
harmonics | 
 vector of harmonics or list of vectors of harmonics (of possibly different lengths)  | 
type | 
 melody or chord  | 
n | 
 number of beats in a measure  | 
bpm | 
 the beats per minute  | 
sampleRate | 
 the sample rate of the device  | 
Harmonics may either be a single vector or a list of vectors of different lengths. The first entry must be unity and the rest must be in the unit interval.
vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.