# NOT RUN {
sound = c(soundgen(), soundgen(nSyl = 4, sylLen = 50, pauseLen = 70,
formants = NA, pitchAnchors = c(500, 330)))
# playme(sound)
m1 = ssm(sound, samplingRate = 16000,
input = 'audiogram', simil = 'cor', norm = FALSE,
ssmWin = 10, kernelLen = 150) # detailed, local features
# }
# NOT RUN {
m2 = ssm(sound, samplingRate = 16000,
input = 'mfcc', simil = 'cosine', norm = TRUE,
ssmWin = 50, kernelLen = 600) # more global
# plot(m2$novelty, type='b') # use for peak detection, etc
# }
Run the code above in your browser using DataLab