Description Usage Arguments Details Value Examples
Apply transformations on an wav object for modelling purposes.
1 | tidy_audio(wav, sample_rate = 16000, bits = 16)
|
wav |
Wave object. Usualy returned by |
The transformations are:
- mp3 to wav - normalization - stereo to mono
a transformed Wave object.
1 2 3 4 5 6 | library(tuneR)
mp3_dir <- system.file("mp3_sample", package = "mestrado")
mp3_files <- list.files(mp3_dir, full.names = TRUE)
wav <- readMP3(mp3_files[1])
transformed_wav <- tidy_audio(wav)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.