Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ERROR: Wav file is unsupported type (must be standard PCM
or type 3 floating point PCM
ERROR: Input file "filewav.wav" is not a supported format
For reading the file in windows7 with the media player, I had to download the codec as indicated before from the philips pages http://www.dictation.philips.com/adpcmcodec (ZIP file), open the ZIP, install with the exe, and now I can listen the wav file in windows7/media player.
Debian7 is still reluctant..
Last edited by floppy_stuttgart; 07-02-2015 at 01:06 PM.
Angehngt ist eine Sprachaufnahme des Philips Diktiergerts fr Smartphones.
Aufnahmebezeichnung: Ohne Name4.wav
Datum: 29.06.2015 21:03
Gre: 510.5 Kb
Audio-Codec:
Bei einigen Media Playern ist der WAV-Codec nicht vorinstalliert. Sie knnen den Codec von unserer Website herunterladen: http://www.dictation.philips.com/adpcmcodec
some weird non-standard codec?
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
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/
Last edited by floppy_stuttgart; 07-04-2015 at 09:40 AM.
error.. 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).
Last edited by floppy_stuttgart; 07-06-2015 at 01:49 AM.
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.
what operating system is the phone?
certainly there are other (better) apps available to record sound?
Windows7 + codecs from philips works.
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.).
Last edited by floppy_stuttgart; 07-08-2015 at 02:37 PM.
sox -v 0.5 -t raw -e signed -b 32 --endian little \
-c 1 -r 16000 filewav.wav \
-t wav -c 2 -r 48000 convert.wav
That command works without error. the convert.wav file is there.
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).
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:
Von: "support@speech.com" <support@speech.com>
An: xxxxxx
Gesendet: 13:05 Dienstag, 14.Juli 2015
Betreff: Re: AW: Ticket (SUP-126398) DE - xxxxxx / 1713977606
Sehr geehrter Herr xxxxxx,
Philips versteht sich als Anbieter professioneller Diktiersysteme. In der Zielgruppe, die mit diesen Systemen arbeitet (Mediziner, Juristen, Architekten, Gutachter), spielt Linux faktisch keine Rolle. Die Entwicklung und Wartung von Anwendungen unter Linux wre also unwirtschaftlich und wrde unntig Entwickler-Resourcen binden. Es ist derzeit auch kein Trend erkennbar, dass Linux-Systeme in diesem Bereich zunehmen knnten. Oder ganz platt formuliert: Damit lsst sich einfach kein Geld verdienen.
Mit freundlichen Gren
Lutz Weidhase
Danke. Koennten sie diese Codecs fuer linux zur Verfgung stellen? Es gibt viele linux PCs weltweit und Philips wuerde damit sehr gut stehen.
Gruss,
xxxxxx
Gesendet von meinem BlackBerry 10-Smartphone.
=====
Sehr geehrter Herr xxxxxx,
der ADPCM-Codec steht nur fr Windows-Systeme zur Verfgung. Eine Version fr Linux-Systeme bieten wir nicht an.
Mit freundlichen Gren
===== original question =====
I cannot listen the WAV files created by the philips app in a linux programm (aplay, audacity etc.). It seems the format is only readable in windows7, after installing codecs.
Can you please help and advise how to play the file in "audacity" or with "aplay" ?
So, phillips has currently no interess to help because in the domain of dictation no money can be earn. Not a funny answer.
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.
Sehr geehrter Herr xxxxxx,
Philips versteht sich als Anbieter professioneller Diktiersysteme. In der Zielgruppe, die mit diesen Systemen arbeitet (Mediziner, Juristen, Architekten, Gutachter), spielt Linux faktisch keine Rolle. Die Entwicklung und Wartung von Anwendungen unter Linux wre also unwirtschaftlich und wrde unntig Entwickler-Resourcen binden. Es ist derzeit auch kein Trend erkennbar, dass Linux-Systeme in diesem Bereich zunehmen knnten. Oder ganz platt formuliert: Damit lsst sich einfach kein Geld verdienen.
well that sort of answer was to be expected... but that guy seems to have a sense of humour at least.
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.
With "not audible", I mean a "noise" which is not the original sound I should hear.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.