I would like to manipulate a seewave
audio spectrogram and then convert it back to a .wav
file.
A quick example
library(tuneR)
library(seewave)
data(tico)
#generate spectrogram with phase information
spec_tico=spectro(tico,plot=FALSE,complex=TRUE,norm=FALSE,dB=NULL)
#manipulate spectrogram
spec_tico_new=dostuff(spec_tico)
#convert back into Wave object - but there is no function spectr2Wave!
tico_new=spectr2Wave(spec_tico_new,...)
I haven't been able to find anything close to spectr2Wave
in the seewave
documentation.
Do you guys know a way how to convert it back without digging into the wav
file specs and doing it manually? Thank you!