Converting .wav into a Mini-SEED format file

Hi there,

I am currently working on audio files (.wav) with recordings of earthquakes. I am new in ObsPy and I would like to know if it is possible to convert a .wav into a Mini-SEED format file.
With the package is possible to read and convert Mini-SEED in WAV file format. However, I did not find any function in this package doing the reverse.
Any suggestion will be greatly appreciated!

Thank you!
Best, Mary

Should work just the same…

from obspy import read

st = read('my_file.wav')
st.write('my_file.mseed', format='MSEED')

Thank you very much!
That’s work!
Best, Marianna.