Visualizing Sound
My sister’s boyfriend’s band, Vertigo Drift, recently came out with a new EP called Phase 3. It seemed like the perfect excuse for me to play around with gganimate to create a music video. Reading Audio Files The tuneR package provides excellent functions for reading audio files. Let’s download an example wave file. url <- "http://freewavesamples.com/files/Alesis-Fusion-Acoustic-Bass-C2.wav" command <- paste("wget", url) system(command) Let’s use tuneR to read the file. library(tuneR) wave <- readWave("Alesis-Fusion-Acoustic-Bass-C2....