[SHR - Latest unstable] Dictator

2009-07-15 Thread Tony Berth
did install on the latest SHR unstable and works fine.

The only problem, when I try to play the recorded wav with other than the
'Dictator' application I get a corrupted sound! Is that wav file something
'special'? I tried to play with VLC and Audacity but no luck!

Thanks

Tony
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR - Latest unstable] Dictator

2009-07-15 Thread matthias
It's an issue I'm aware of, but I don't know what the heck is going on.
Must be something with python-alsaaudio or python-wav or something. The
encoding seem to be quite odd. It's an issue with all distributions I
tried it out on.
I hope i can fix this soon.

Matthias

Tony Berth schrieb:
 did install on the latest SHR unstable and works fine.

 The only problem, when I try to play the recorded wav with other than
 the 'Dictator' application I get a corrupted sound! Is that wav file
 something 'special'? I tried to play with VLC and Audacity but no luck!

 Thanks

 Tony


 

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
   

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR - Latest unstable] Dictator

2009-07-15 Thread Tony Berth
On Wed, Jul 15, 2009 at 1:56 PM, matthias matthiasfels...@web.de wrote:

 It's an issue I'm aware of, but I don't know what the heck is going on.
 Must be something with python-alsaaudio or python-wav or something. The
 encoding seem to be quite odd. It's an issue with all distributions I
 tried it out on.
 I hope i can fix this soon.

 Matthias

 Tony Berth schrieb:
  did install on the latest SHR unstable and works fine.
 
  The only problem, when I try to play the recorded wav with other than
  the 'Dictator' application I get a corrupted sound! Is that wav file
  something 'special'? I tried to play with VLC and Audacity but no luck!
 
  Thanks
 
  Tony
 
 


Thanks for your prompt reply

Cheers

Tony
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR - Latest unstable] Dictator

2009-07-15 Thread David Garabana Barro
On Wednesday 15 July 2009 13:56:14 matthias wrote:

 I hope i can fix this soon.

In my case sound is not corrupted, but 1/2 speed.
If you force mplayer to play at double speed, you'll get original sound:

For example, with

mplayer -speed 2 file.wav

it sounds OK

If you force (without resampling) samplerate from 8 KHz to 16 KHz in 
Audacity, you also obtain correct speed.

Might be they are 16 KHz samples with an incorrect 8 KHz header?

Hope to be of help.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR - Latest unstable] Dictator

2009-07-15 Thread Tony Berth
On Wed, Jul 15, 2009 at 2:41 PM, David Garabana Barro da...@garabana.comwrote:

 On Wednesday 15 July 2009 13:56:14 matthias wrote:

  I hope i can fix this soon.

 In my case sound is not corrupted, but 1/2 speed.
 If you force mplayer to play at double speed, you'll get original sound:

 For example, with

 mplayer -speed 2 file.wav

 it sounds OK

 If you force (without resampling) samplerate from 8 KHz to 16 KHz in
 Audacity, you also obtain correct speed.

 Might be they are 16 KHz samples with an incorrect 8 KHz header?

 Hope to be of help.


Thanks for your feedback.

 do you probably know how to 'force' Audacity to do so? I'm right now in a
Mickey Mouse M$ env. and don't have mplayer :( Tried vlc tough but didn't
find a way either. Tried the --key-faster flag but no change :(

Thanks

Tony
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR - Latest unstable] Dictator

2009-07-15 Thread Tony Berth
On Wed, Jul 15, 2009 at 3:40 PM, Tony Berth tonybe...@googlemail.comwrote:

 On Wed, Jul 15, 2009 at 2:41 PM, David Garabana Barro 
 da...@garabana.comwrote:

 On Wednesday 15 July 2009 13:56:14 matthias wrote:

  I hope i can fix this soon.

 In my case sound is not corrupted, but 1/2 speed.
 If you force mplayer to play at double speed, you'll get original sound:

 For example, with

 mplayer -speed 2 file.wav

 it sounds OK

 If you force (without resampling) samplerate from 8 KHz to 16 KHz in
 Audacity, you also obtain correct speed.

 Might be they are 16 KHz samples with an incorrect 8 KHz header?

 Hope to be of help.


 Thanks for your feedback.

  do you probably know how to 'force' Audacity to do so? I'm right now in a
 Mickey Mouse M$ env. and don't have mplayer :( Tried vlc tough but didn't
 find a way either. Tried the --key-faster flag but no change :(

 Thanks

 Tony


I think I was a bit too quick with my answer! :)

Well, at least in Audacity, when you open the wav file, you get in the left
hand side a box with info like file name, sound quality, sample rate etc. On
top of that box there is a drop-down list where you can set different
parameters. I changed the 'Set Rate' entry to 16000Hz from 8000 Hz and
indeed works fine.

Hope the above description will be of a help to other users as well.

Thanks

Tony
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community