DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

DIAdem wav files

Hi guys, sorry if this is the wrong place to post but hoping someone can help me out. How can I save channels as audio files? I can save wav files but they are silent, online info seems to suggest I need to scale it but I’m not sure what is required. Thanks, sorry if this isn’t appropriate here

0 Kudos
Message 1 of 2
(558 Views)

Not sure what the problem is without looking at an example file you are working with or any other hints.  What I did is took the example TDMS file (attached) and saved it as a WAV file using this command:

Call DataFileSave(MyFolderPath & "file_example_WAV_1MG_DIAdem.WAV", "Audio", True)

The resulting file plays fine.  The TDMS stores two-channel LPCM audio sampled at 44.1 kHz (or 8000 samples per second or 0.000125 seconds step width) with 16 bits per sample.  You can use this as a reference for you scaling issue or maybe provide some more info on your issue/requirements.  

0 Kudos
Message 2 of 2
(537 Views)