diff --git a/README.md b/README.md index 965b4cc..0efc082 100644 --- a/README.md +++ b/README.md @@ -46,8 +46,8 @@ vad$vad_segments Example of a simple plot of these audio and voice segments ```{r} -library(av) -x <- read_audio_bin(file) +library(wav) +x <- read_wav(file) plot(seq_along(x) / 16000, x, type = "l", xlab = "Seconds", ylab = "Signal") lines(vad$vad$millisecond / 1000, vad$vad$probability * max(x), type = "l", col = "red", lwd = 2) ``` diff --git a/tools/example-detection.png b/tools/example-detection.png index 5b51161..4d84385 100644 Binary files a/tools/example-detection.png and b/tools/example-detection.png differ