On Sat, 2 Dec 2017, King Beowulf wrote:
The "wav" files can be in a number of formats, not just straight uncompressed MS Windows audio PCM. You may want to search what format the device uses for storage and/or compression, perhaps amr, awb, 3gp, wavpack, or some other format. codecs exist for these on Slackbuilds.org, or via gst-plugins-{bad,ugly}. Wavpack is included in Slackware.
Ed, Other than playing downloaded .mp3 files I've not done anything with audio before now. I've no idea what format this Chinese (brand name Yemenren) device uses but lame tells me it's "Unsupported data format: 0x0011".
sox-14.4.2 is include with the full Slackware-14.2 installation.
Huh! I didn't look, just went to SBo where I found soxr which does not have built-in support for .mp2 or .mp3.
On http://sox.sourceforge.net/Docs/Features mp2/mp3 is supported if you install twolame and lame from Slackbuilds.org (libmad is already part of Slackware). Not every lib needs to be compiled into sox to work but can be supported as a run time dependency. For example, installing ffmpeg allows sox to handle MP4, AAC, AC3, WAVPACK, AMR-NB, AVI, WMV, Ogg Theora, and MPEG video files
Both lame and ffmpeg are installed here; twolame (isn't that the name of a university in New Orleans?) is not.
you can also use lame or ffmpeg to convert wav to mp3 directly.
Not as installed here: $ ffmpeg sr-500.wav roaster.mp3 ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 5.3.0 (GCC) configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --docdir=/usr/doc/ffmpeg-3.2.4/html --mandir=/usr/man --disable-debug --enable-shared --disable-static --enable-gpl --enable-version3 --enable-avresample --arch=i486 --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gnutls --enable-libcaca --enable-libcdio --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-opengl --enable-libopenjpeg --enable-libpulse --enable-libsmbclient --enable-libwavpack --enable-x11grab libavutil 55. 34.101 / 55. 34.101 libavcodec 57. 64.101 / 57. 64.101 libavformat 57. 56.101 / 57. 56.101 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libavresample 3. 1. 0 / 3. 1. 0 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 libpostproc 54. 1.100 / 54. 1.100 Output #0, wav, to 'sr-500.wav': Output file #0 does not contain any stream
Also, audacity (slackbuilds.org) may be of help in importing those wav files as it understands many wav format variants.
xmms (GUI)
Doesn't like the .wav file from this recorder.
mplayer (CLI, GUI)
Neither did this. Many thanks, Rich _______________________________________________ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug