I'm interested in converting an ultrasound time trace (voltage generated by the piezoelectric element of the ultrasound transducer VS time) to a .wav file.
My goal is to take advantage of the plethora of .wav/.mp3 javascript libraries to gain more insight.
I'm wondering (1) how can you convert a time trace to a .wav, (2) how to convert a .wav to a time trace, and (3) I'm also asking for any unbiased insight you might have to offer.