Make a dotplot where x axis is time, y axis is pitch, and each dot is a beep.
1 2 3 4 5 6 7 8 9 10 11 12 | compose_dotplot(
data,
main,
time,
pitch,
filename,
handle_collisions = "superimpose",
envelope.shape = "hairpin",
chart.duration = 10,
beep.duration = 0.1,
...
)
|
data |
Dataframe in long format. |
main |
Character of length 1. Chart title. |
time |
@param pitch Columns from |
filename |
Where to put results. This should end in |
chart.duration |
How many seconds the sound file plays for. |
beep.duration |
How many seconds an individual beep or point lasts. |
... |
Args sent to scale_pitch(). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.