Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jul 1997 18:44:27 -0400
From:      Randall Hopper <rhh@ct.picker.com>
To:        Amancio Hasty <hasty@rah.star-gate.com>
Cc:        multimedia@FreeBSD.ORG
Subject:   Re: guspnp9: Warp speed /dev/audio!
Message-ID:  <19970713184427.05917@ct.picker.com>
In-Reply-To: <199707132155.OAA00289@rah.star-gate.com>; from Amancio Hasty on Sun, Jul 13, 1997 at 02:55:28PM -0700
References:  <19970713170346.27065@ct.picker.com> <199707132155.OAA00289@rah.star-gate.com>

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

[-- Attachment #1 --]
Amancio Hasty:
 |Does this happen the first time or always?
 |Do you happen to know at what frequency was james-earl-jones-CNN.au
 |recorded at?
 |
 |From The Desk Of Randall Hopper :
 |>      cat james-earl-jones-CNN.au  > /dev/audio
 |> 
 |> this 5 second clip flies by in less than one second! :-) The frequency is

 |If you can't find au file which has been recorded at 8khz ,
 |feel free to download :
 |ftp://rah.star-gate.com/pub/sorrydave.au

Thanks, I had one.  Just running many more tests to try and provide more
info for you.

sorrydave.au plays at light speed as well on guspnp9; plays fine on Vox30
(current drivers).

Here's a salient piece of info.  On guspnp9 if I record a 8012Hz mono 8-bit
sample via /dev/dsp that's 6.5 seconds long, I get a file that's 327k long
instead of around 56k (simple record and play test code attached).  If I
play it also via guspnp9 it sounds fine.  I think this is the underlying
problem.

Seems like /dev/audio and /dev/dsp are reading/writing bigger samples than
they should.

If I use the same code to record a 8012Hz mono 8-bit sample on Vox30,
verify it plays fine on Vox30, verify the size makes sence, and then play
it with guspnp9, I get light speed mice.  Seems to confirm the sample size
discrepency.

BTW, in case it helps, I was able to play prerecorded 8000k/8012k .au's OK
on guspnp7, so it's likely a recent change that's the culprit.

Randall

[-- Attachment #2 --]
X3Tmo6lRעgNNk E0dAET"5ﻓldϽ=yR$yqFHÏQ{eZHTv)1%sɘah*oqd%7Vkh`!S<Қe+ѩUV>xPH{i>SzӨ5_g0rX&+\Y2]ة3|Y\[KHm/J:tQ2g=>洛%3%U?y{FI|)-(}F8׃B2X6UJ>AVyr(l`45B_dsrSQ|4+H9Si_K^"Wɩ.5AHgs\oϠC[8k4ƓOV|`fV5UɃR㪎TdYtxC6;M&9J];M|QfX]EA34CQpz7%(N'(
 mldިc)X|SJ-^Aj!k")`td~*t6ʇG|3败>h[Sc<3f-e9ٖAw.>͗"\͗Nj"dt`P7-4ah)ajf9۬	^lժߣ謃$;|:_nz~Nǰէxp,7v@$wq^#dq`ג0E6!ͳ~KT_IC\G8"0y8XeƠzqEz
[-- Attachment #3 --]
X3Tao0[4vEPѢ1U}i,;NKA H(QBtå!:R[-)rxaEg)*,be'!cNC Fˆ23(VELkMePaC[4{IqԨrIVD:ˊ22JH݅b])
t._`!զz
Z:	L6fVA*¥KP@Z(ұVI\ς|4
H]Fvl?w;IN6NzG}&["LtY
G٠-2s$KWX2R\gyE~Q0NJ	Όd'}FcY'rR\Mʠ`RR9rn3f޷7Q=Oc%[Sزۇz_}&
Ity+BF-9*zs'Uz3:zvΜ=٠ӥ2}}ffEppEtNc>5sFǠgzcZwb2oIusrO4v3(^֊_묉Pr'0Ħq9Noc^;6tLwu=)|zZO|ȺXt>]͈K'|>ZחJj5yBuZIs,NCz'p۶3aJ-OP̔ƥD'ƢAH,&PJЛDٜ!D#PwrԢr

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