Audacity comes to mind or better yet:
Code:
sudo apt-get install vorbis-tools Code:
oggenc -h Code:
oggenc -q 3 -o NoName.ogg NoName.wav |
Quote:
Quote:
Debian7 is still reluctant.. |
Quote:
Quote:
Quote:
searching the web for "linux wav adpcm codec" gives many relevant-looking results, but nothing conclusive on first glance. maybe the app can be told to use a different codec? try different media players and install all optional dependencies, too (aka install-recommends). |
Thanks for the answer. I contacted philips for help. Lets see if they answer.
The PC is updated and rebooted. My thoughts are (according a previous post): translating the file in a new format (using sox ffmpeg or others). File info with the command Quote:
But this is going to be very specific task behind my knowledge.. lets further dig.. slowly.. carefully.. any advise is welcome. Update: I start audacity and try to import the raw data with diverse parameter. I don't know what parameter to use so far in order to have the correct sound output. Here is the app creating the wav file https://www.dictation.philips.com/ro...eries/support/ |
Quote:
See if that plays. If it does you can convert the file with sox to more common formats supported by most players. Change the .wav to .riff and see if the usual players recognize it. You might also try to use avplay or ffplay on the file. |
Quote:
aplay: test_wavefile:898: kann WAVE-Datei-Format 0x7259 nicht abspielen; ist weder PCM noch FLOAT I could load the raw data in audacity. But I dont know how to make the parameter setup in order to listen to it (sound comes out but this is not understable). |
Riff seems to be a container format. Perhaps a .aiff file extension would work. The .iff is supposed to be the same, but big-endian, not little-endian bit ordering. That must be an oldy for sure.
How about: $ sox -t raw -f S32_LE -c 1 -r 16000 file.wav -c2 -r 48000 -t wav convert.wav $ play convert.wav +/- a few options. There's likely some meta data in there which will be noise, but if the sound is PCM-ish format it should convert. And you can trim off the noise in audacity. A sample clip would go a long way in making something useful if that doesn't work. |
Quote:
what operating system is the phone? certainly there are other (better) apps available to record sound? |
Quote:
Code:
sox -t raw -f S32_LE -c 1 -r 16000 filewav.wav -c2 -r 48000 -t wav convert.wav sox FAIL formats: can't open input file `filewav.wav': Unknown WAV file encoding (type 7259) |
Quote:
Phone: blackberry Q10 (specific OS; non android) Another app "Perrot" works on that blackberry Q10 phone. Perhaps I will have to stay with "Perrot" if the "Philips dictation app for blackberry Q10" dont make a WAV file understood by common linux programms (aplay, audacity etc.). |
sox -t raw -f S32_LE -c 1 -r 16000 filewav.wav -c2 -r 48000 -t wav convert.wav
Yeah, I forgot about that change. Code:
sox -v 0.5 -t raw -e signed -b 32 --endian little \ |
Quote:
A "aplay convert.wav" command dont give an audible sound. I will check here what parameter I should use in order to have something audible (in audacity, with aplay or others). Code:
avprobe convert.wav built on Jul 25 2014 07:50:40 with gcc 4.7 (Debian 4.7.2-5) configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/x86_64-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus --enable-fontconfig --enable-libfdk-aac --enable-libdc1394 --disable-altivec --dis libavutil 51. 73.101 / 51. 73.101 libavcodec 54. 59.100 / 54. 59.100 libavformat 54. 29.104 / 54. 29.104 libavdevice 54. 2.101 / 54. 2.101 libavfilter 3. 17.100 / 3. 17.100 libswscale 2. 1.101 / 2. 1.101 libswresample 0. 15.100 / 0. 15.100 libpostproc 52. 0.100 / 52. 0.100 [wav @ 0xac8cc0] max_analyze_duration 5000000 reached at 5002667 Input #0, wav, from 'convert.wav': Duration: 00:00:08.16, bitrate: 3072 kb/s Stream #0:0: Audio: pcm_s32le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s32, 3072 kb/s Code:
file convert.wav I had a mail exchange (in german) with phillips in order to know how to read the files in a linux programm. The answer is Quote:
I will try to convert the file in win .. :-( http://www.wikihow.com/Convert-Any-T...s-Media-Player |
Unless the file is all zeroes, you should have had something audible. Maybe not legible, but audible. You can take the linux kernel and create white noise from it doing the sox method.
Open it in audacity and look at the resulting waveform. If it's a flat line then the file was all zeroes or the volume is too low. Effect -> Amplify can increase the audio level in audacity. If it's zeroed, then 50 will be the max amplification. The -v 0.5 at the front can probably be ommited for more gain. But it's needed if sending it raw CD data or the linux kernel. The 32 might need to be 16, or someother value depending on bits. A sample file goes a long way. |
Quote:
|
Quote:
Sorry, but I am totally incompetent. So, I need clear command lines or commands.. I tried Code:
sox -t raw -e signed -b 32 --endian little -c 1 -r 16000 org.wav -t wav -c 2 -r 48000 convert.wav Quote:
Code:
aplay convert.wav give the message: Quote:
Code:
audacity convert.wav Code:
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear |
All times are GMT -5. The time now is 10:26 PM. |