<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Thank you Bob and Pierre,<div><br></div><div>I will try to use sox as first attempt and I will report my results.</div>
<div><br></div><div>Moreover the information about bit rate, channel and everything concerning audio file is very difficult to apply here, since the raw data are coming from a digitizer after several downsampling processes to have all the signals in the audio range (in fact they arise from the high frequency of nuclear spins, hundreds of MHz)</div>
<div><br></div></span>C<div><br></div><div>___<br><div class="gmail_quote">2010/12/11 Pierre <span dir="ltr">&lt;<a href="mailto:lists.stackp@online.fr">lists.stackp@online.fr</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The command line program sox should be able to handle that.<br>
</blockquote>
<br>
Indeed, this should work:<br>
<br>
sox -e raw -b 32 -c 1 -r SAMPLERATE --endian little data.raw -b 16 -c 1 -r 44100 sound.wav<br>
<br>
(change SAMPLERATE to the sampling rate in Hertz of your analytical instrument, data.raw to your input file name, and sound.wav to your output file name).<br>
<br>
Cheers,<br><font color="#888888">
Pierre</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Linux-audio-user mailing list<br>
<a href="mailto:Linux-audio-user@lists.linuxaudio.org" target="_blank">Linux-audio-user@lists.linuxaudio.org</a><br>
<a href="http://lists.linuxaudio.org/listinfo/linux-audio-user" target="_blank">http://lists.linuxaudio.org/listinfo/linux-audio-user</a><br>
</div></div></blockquote></div><br></div>