Adam Taylor
unread,Mar 13, 2019, 3:08:20 PM3/13/19Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to WaveSurfer
If you're using Matlab, you can use ws.loadDataFile() to read the
data, and then use csvwrite() to save to .csv, or save() with the
-ascii option to save as text. fprintf() and dlmwrite() are other
options for outputting to text files.
But: In the latest WaveSurfer release (0.981), there's a bug in
ws.loadDataFile() that causes it to not work on the Mac. There will
be a release in the next week or so that fixes this, but in the
meantime: Search for "ws.scaledDoubleAnalogDataFromRawMex" in the file
+ws/loadDataFile.m, and change it to
"ws.scaledDoubleAnalogDataFromRaw". (In other words, delete the "Mex"
part at the end.) This should make ws.loadDataFile() work on the Mac.
Hope this helps,
Adam