This function create waves, savable as a wave file with save.wave
or playable with if possible depending on the audio package,
from a vector of string representing notes and a numeric vector representing how long are each notes
1 |
note_list |
vector of string containing the list of notes that should get played,
should have the same length as |
durations |
numeric vector containing the list of the duration of each notes in second,
should have the same length as |
harmonics |
numeric vector containing ratio between harmonics the rank is determine by the place of the number in the vector.
Harmonics vectors can be build using |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.