Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2003 19:05:33 -0700
From:      Ken Marx <kmarx@bigwoop.vicor-nb.com>
To:        Lucas Wilcox <lucasw@dam.brown.edu>
Cc:        FreeBSD Multimedia <freebsd-multimedia@FreeBSD.ORG>
Subject:   Re: Problems playing certain wav files
Message-ID:  <20030621020533.GS38525@bigwoop.vicor-nb.com>
In-Reply-To: <20030621013524.GA28965@r2d2.fdu.edu>
References:  <3EEA1948.7000100@vicor.com> <20030613191012.GA14158@r2d2.mh.lucent.com> <3EEA2FDE.1080508@vicor.com> <20030614143801.GB4882@r2d2.ri.cox.net> <20030614140515.694acb34.rpratt1950@earthlink.net> <20030614205151.GA6045@r2d2.ri.cox.net> <3EEE2C05.3000506@vicor.com> <20030616205718.GA1972@r2d2.mh.lucent.com> <3EF238CC.9080300@vicor.com> <20030621013524.GA28965@r2d2.fdu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Lucas,

You're a very brave man. Go for it. While you're in there,
see if you can get it to record for maestro-2. I seem to
recall Julian saying it didn't work. He'd be grateful.

Can you clarify one thing? You say:

> I see this similar behavior on 4.8.  In general the small files are the
> ones that do not play.  I too a small file that would not play
> ...

Does that mean waveplay exits but with now sound? Or is
it as I saw on 5.0 that it hangs.  You have to ctl-C to get the shell
prompt back.

I thought we had different behaviors on 4.8 vs. 5.0.

k.

On Fri, Jun 20, 2003 at 09:35:24PM -0400, Lucas Wilcox wrote:
> On Thu, Jun 19, 2003 at 03:27:24PM -0700, Ken Marx wrote:
> > Hi Lucas,
> > 
> > Sorry for the delay getting back to you. My friend, Julian,
> > just brought his laptop in today.
> No problem.
> 
> > 
> > Sorry for this, but we have a new dimension in behavior space:
> > 
> > On his 5.0 box neither your beep nor my converted beep file
> > plays. Not only this, but waveplay doesn't even exit!
> > Running under truss, we see it hang on a call to exit().
> I do not see this on 4.8, wavplay just exits quickly.
> > 
> > Longer files do play fine. So it appears that for small
> > files the device never flushes. Didn't do any checking
> > to see what this hypothesized data limit might be.
> I see this similar behavior on 4.8.  In general the small files are the
> ones that do not play.  I too a small file that would not play
> %wavplay KDE_Beep_Beep.wav       
>  Pathname:       KDE_Beep_Beep.wav
>  Device:         /dev/audio
>  Sampling Rate:  7418 Hz
>  Mode:           Mono
>  Samples:        1034
>  Bits:           8
> 
> Then I added about 3 seconds of silence using sweep and the following
> file did play with sox play and wavplay
> %wavplay KDE_Beep_Beep2.wav 
> Pathname:       KDE_Beep_Beep2.wav
> Device:         /dev/audio
> Sampling Rate:  7418 Hz
> Mode:           Mono
> Samples:        23046
> Bits:           8
> 
> So it looks to me like a size problem too.  I am thinking about looking
> at the driver and seeing what is going on.  I have no experience with
> drivers but wrote a little c in school we will see how far it goes.
> 
> Lucas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030621020533.GS38525>