Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jul 1997 16:20:02 -0700
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        Randall Hopper <rhh@ct.picker.com>
Cc:        multimedia@FreeBSD.ORG
Subject:   Re: guspnp9: Warp speed /dev/audio! 
Message-ID:  <199707132320.QAA01104@rah.star-gate.com>
In-Reply-To: Your message of "Sun, 13 Jul 1997 18:44:27 EDT." <19970713184427.05917@ct.picker.com> 

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

It is hard for me to read the differences between guspnp7 and guspnp9 given
that guspnp9 was run thru indent. Typically , this should be done
after all the changes have gone in and the driver was tested.

So in the meantime, can you drop in the sb* from guspnp7 into guspnp9 and
see if you still have problems with recording? You will have to hack
the guspnp7 sb* code a little to get it  to compile with guspnp9.
I moved back guspnp7 to my  ftp site in case that you need it.

The speed or frequency problem is most likely related to the sb module
not setting properly the frequency .

	Tnks,
	Amancio

>From The Desk Of Randall Hopper :
> 
> --pWyiEgJYm5f9v55/
> Content-Type: text/plain; charset=us-ascii
> 
> 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
> 
> --pWyiEgJYm5f9v55/
> Content-Type: application/octet-stream
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment; filename="play.c.gz"
> 
> H4sIAJhYyTMAA41UbW/bNhD+bP2KqwfMUuHXousGZ06Xxk5rIJWL2kUwZIFBkZRFVCI1krLn
> Dvnvu5OUrs4WbIZk8Y7PvT3H4+h5APTAUoPPJOTMeZClcUZICOeSw49RH9Z7qeGNZVpInVR2
> B44pMSWzc7jJmAdh4GgqqJwEb6DM2XFkJTdWwGtoYOEhUzyD0pqdZQWgK8jMAbjRqdpVVoo+
> eJnnUEiQe2mPPlN6B9OoNV9npsoFMOhyDKdYwSavEuUdK8pcDlmFkJGQ+xGrhDJd2Km9rDOa
> vAKEgal8WfmvuVzAm+Vb4JiEEsxLSI1tqy/k4PdKOq+MHph0gMrBUTLbB2esPT6LyAG976SV
> wPAlM6OlgyVVPwTo5cp5qXugHBRGm4HR+bEPSeURy3zPASnIB9MGrS0ow30eRsAO7DiEHrHX
> g4NCMljuGjaJVYrkSsk+o8lB+axWDBx5cijzbPiQ3GDONMQSjTWJQtfLX2ThygxzHXJTtNBR
> EHynNM8r7PbPBeNIuhw5U2nBmRXD7Pxftktek6zM6bbzIlfJqS7l2uf/gDWWQcGUDpX2SOOO
> 94FnzMJzXO9v76Lgz6BDW6k4axaW2jSDn8aTF62Guk+aVnxgZgbjVoMONVWOqsmDqv3mUuOq
> jphU6e1k/OLl3VkQdPCM5njsQ442O+lN6cMmOUqrD107TaZ86rpRBM9msFhdRUEHM+00/EPI
> Ua4VHc5wFHquNyXh79wokU4nsSjTCvDXIG2DbMtk3qgQo2PY6CkL3lh8U+X/sUoaq5a8py3a
> Al63QWoha4TSIoUphN36YN4O3B3+8a90k2TrftEqqft095vuNgHkH8qHk0fB7gN8sDPotKWq
> 5bU+aFulU7PFY6I8gfEzpMjDZva3LWX0OdmWmhtBd8gMLj7Nl6vtIr5czZfx2+3Hi5sT5A4P
> IvXmh/GJumR0nc1gUDctFbg0pdRht75o2ino9mG1vfm4iq9/rYtqZjnF26wJul5slvHVqg/f
> o9/orIOVApIkm/oeOxWufNrhOp5fbq638/UH8nr1foNOidzHsNWneL79cPkevSw3C6x2s0Ak
> 8fMfyMt3F3G8uF4j+qGZZHH/zWDg4BDXkokwRY02Ic2zjuh+S/GSVF+kSUNcRzgi5zCmeThY
> 5WUdsMagFXq9D/4CwnGYRXoGAAA=
> 
> --pWyiEgJYm5f9v55/
> Content-Type: application/octet-stream; charset=iso-8859-1
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: attachment; filename="record.c.gz"
> 
> =1F=8B=08=00=99X=C93=00=03=8DTao=D30=10=FD=DC=FC=8A[=114=99=9AvE=08P=CB=06=
> =DB=DA=C1=A4=D1=A2=B5=08=A11U=8E}i,=12;=D8NKA=FB=EF=9C=93 =18H=88(Q=E3=97=
> =F7=EE=CE=EF=CE=1D=1EB=00=87t=C3=A5=02=97!=E4=CC:=C0R[-=10=C2)rx=16=F5a=B9E=
> =05g=86)=81*=A9=CC=06,=93b=ECe'=F0!c=0E=84=86=BD=AE=A0=B2=08NC=99=B3=FD=D0 =
> =D7F=C0=CB=86=15=EE2=C93(=8D=DE=18V=00E=82L=EF=80k=95=CAMeP=F4=C1a=9EC=81=
> =80[4{=97I=B5=81q=D4=A8=97=99=AEr=01=0C=BA=9C=92IV=B0=D1=D3D:=CB=8A2=C7=01=
> =AB=882=14=B8=1D=B2JH=DD=85=8D=DCb]=CF=E8)=10=0Dt=E5=CA=CA=FD=AC=E4=14=CE._=
> =03=A7=12=A4`=0E!=D5=A6=DDz=81=F1=97=0A=AD=93Z=C5:=8D	=8C=F7=C8L=1F=AC6f=7F=
> =10=B5V=BDA=83=C0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p=E4=DB=B63=D2a=98=92J=E9=90=E6=95=FE-=A2=96OP=D4=CC=94=BF=D2=C6=A5=10=
> =88D'=82=C6=A2=8E=1EA=CAH,&P=1F=13J=FA=D0=9BD=D9=9C!D=9B=B0=C6#=A0Pw=C1=0Fr=
> =1E=D4=A2r=05=00=00
> --pWyiEgJYm5f9v55/--





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