Bug in /dev/dsp = problems at short wav-files (<2sec)

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug in /dev/dsp = problems at short wav-files (<2sec)

Dr. Alexander Kleinsorge
/dev/dsp has problems playing short wav-files!
# Cygwin 1.7.28 (32bit), Windows 7 (64 bit).

# get 2 test files here ( 25 kB both )
wget http://www.physik.tu-berlin.de/~aleks/wave14sL.wav
wget http://www.physik.tu-berlin.de/~aleks/wave16sL.wav

# Test that fails:
cp wave16sL.wav /dev/dsp ==> I hear something (file = 1.6 sec, 12 kB).
cp wave14sL.wav /dev/dsp ==> I hear nothing ! (file = 1.4 sec, 13 kB).
# Format: both 8000 Hz, mono, 8 bit. (but first file is played truncated!)
aplay same.wav # in Ubuntu 12.04 works fine.
# also any other player (Win32 or Ubuntu is able to play both files fine).

$ file wave14sL.wav wave16sL.wav
wave14sL.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit,
mono 8000 Hz
wave16sL.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit,
mono 8000 Hz

$ cat /proc/version
CYGWIN_NT-6.1-WOW64 version 1.7.28(0.271/5/3)
([hidden email]) (gcc version 4.8.2 20131016 (Fedora Cygwin
4.8.2-2) (GCC) ) 2014-02-09 21:06

Thanks for reply,
Alexander


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply | Threaded
Open this post in threaded view
|

Re: Bug in /dev/dsp = problems at short wav-files (<2sec)

Corinna Vinschen-2
On Mar 12 22:24, Dr. Alexander Kleinsorge wrote:
> /dev/dsp has problems playing short wav-files!

And you started a new thread to report this a second time, because...?

Here was my reply to your original thread:

  http://cygwin.com/ml/cygwin/2014-03/msg00217.html


Corinna

--
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

attachment0 (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Bug in /dev/dsp = problems at short wav-files (<2sec)

PolarStorm
Corinna Vinschen-2 wrote
Here was my reply to your original thread:
http://cygwin.com/ml/cygwin/2014-03/msg00217.html
That seem to link back to OP in THIS same thread. (at least it does so for me.)
Reply | Threaded
Open this post in threaded view
|

Re: Bug in /dev/dsp = problems at short wav-files (<2sec)

Andrey Repin
In reply to this post by Dr. Alexander Kleinsorge
Greetings, Dr. Alexander Kleinsorge!

> /dev/dsp has problems playing short wav-files!
> # Cygwin 1.7.28 (32bit), Windows 7 (64 bit).

http://cygwin.com/ml/cygwin/2014-03/msg00133.html
Please read that message.

> # get 2 test files here ( 25 kB both )
> wget http://www.physik.tu-berlin.de/~aleks/wave14sL.wav
> wget http://www.physik.tu-berlin.de/~aleks/wave16sL.wav

> # Test that fails:
> cp wave16sL.wav /dev/dsp ==> I hear something (file = 1.6 sec, 12 kB).
> cp wave14sL.wav /dev/dsp ==> I hear nothing ! (file = 1.4 sec, 13 kB).
> # Format: both 8000 Hz, mono, 8 bit. (but first file is played truncated!)
> aplay same.wav # in Ubuntu 12.04 works fine.
> # also any other player (Win32 or Ubuntu is able to play both files fine).

> $ file wave14sL.wav wave16sL.wav
> wave14sL.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit,
> mono 8000 Hz
> wave16sL.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit,
> mono 8000 Hz

> $ cat /proc/version
> CYGWIN_NT-6.1-WOW64 version 1.7.28(0.271/5/3)
> 4.8.2-2) (GCC) ) 2014-02-09 21:06

> Thanks for reply,
> Alexander


--
WBR,
Andrey Repin ([hidden email]) 13.03.2014, <02:23>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply | Threaded
Open this post in threaded view
|

Re: Bug in /dev/dsp = problems at short wav-files (<2sec)

Corinna Vinschen-2
In reply to this post by PolarStorm
On Mar 12 15:14, PolarStorm wrote:
> Corinna Vinschen-2 wrote
> > Here was my reply to your original thread:
> > http://cygwin.com/ml/cygwin/2014-03/msg00217.html
>
> That seem to link back to OP in THIS same thread. (at least it does so for
> me.)

Try http://cygwin.com/ml/cygwin/2014-03/msg00218.html


Corinna

--
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

attachment0 (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Bug in /dev/dsp = problems at short wav-files (<2sec)

Corinna Vinschen-2
On Mar 13 09:32, Corinna Vinschen wrote:
> On Mar 12 15:14, PolarStorm wrote:
> > Corinna Vinschen-2 wrote
> > > Here was my reply to your original thread:
> > > http://cygwin.com/ml/cygwin/2014-03/msg00217.html
> >
> > That seem to link back to OP in THIS same thread. (at least it does so for
> > me.)
>
> Try http://cygwin.com/ml/cygwin/2014-03/msg00218.html

Ouch, ENOCOFFEE.  Andrey pointed out the right link:

 http://cygwin.com/ml/cygwin/2014-03/msg00133.html


Sorry,
Corinna

--
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

attachment0 (836 bytes) Download Attachment