openmovementproject / openmovement

Open Movement devices are miniature, embeddable, open source sensors developed at Newcastle University, UK. The source code for the firmware and software is available under a BSD 2-clause license, and the hardware (PCB designs, layouts and schematics), enclosure designs and documentation are available under a Creative Commons 3.0 BY Attribution License.
https://openmovement.dev
146 stars 76 forks source link

Not working : Export resampled WAV #39

Closed trubilo closed 3 years ago

trubilo commented 4 years ago

Hi,

I'm trying to export to WAV but I always get a 1kb WAV file with no data?

Kind regards, David

danielgjackson commented 3 years ago

Apologies for the very late response.

I assume that this reply will now be too late to help.

Just in case, and for anyone who finds this issue in the future:

I would first ensure you have the current version of OmGUI -- in particular, if you are using an AX6 device.

You can use the omconvert program (that OmGUI uses internally) from the command line to process your WAV file, and it may contain additional information as to what the issue may be. Common issues may be that your input file is empty (check in the OmGui preview graph), and that you have insufficient space/quota available on the destination drive.

  1. Use Windows File Manager to open the folder with your files in.

  2. Open a command prompt at this location by pressing Alt+D then typing cmd and pressing Enter.

  3. At the Command Prompt window, run omconvert manually (replacing CWA-DATA with the name of your .CWA data file):

    "%ProgramFiles(x86)%\Open Movement\OM GUI\Plugins\OmConvertPlugin\omconvert.exe" "CWA-DATA.cwa" -interpolate-mode 1 -calibrate 0 -out "CWA-DATA.wav" -info "CWA-DATA.txt"
  4. Check the output for any error messages, and the ".txt" file for any other information.