Acoustic figures
Acoustic figures and diagrams using R.
Wave in air
This is created by the wave_particle() function of FigurEd.
Wave sampling
Sampling a wave
This is created by the waveSampled() function of FigurEd.
library(figuREd)
library(tuneR)
waveSampling(sine(freq=1), 2000)
A sampled wave
library(figuREd)
library(tuneR)
par(mfrow=c(2,1))
waveSampled(sine(freq=1), 1000, 10)
waveSampled(sine(freq=1), 1000, 50)