Re: built-in mic configuration [compaq presario laptop]

2012-08-25 Thread Alexander Kapshuk

On 08/25/2012 09:50 PM, Matthias Apitz wrote:

For tests you might even record and playback the recorded with, for
example:

# dd if=/dev/dsp0 of=/tmp/recorded
# cat /tmp/recorded>  /dev/dsp0

   

Thanks. I'll fiddle with that.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: built-in mic configuration [compaq presario laptop]

2012-08-25 Thread Matthias Apitz
El día Saturday, August 25, 2012 a las 09:26:44AM -0700, Waitman Gobble 
escribió:

> Hi,
> 
> you need to specify the device, take a look at
> 
> # ls /dev/dsp*
> /dev/dsp0.0/dev/dsp0.1/dev/dsp1.0/dev/dsp2.0/dev/dsp2.1
> 
> for example, i can send audio output to headphone jack:
> # mplayer -zoom -x 1280 -y 720 -fs -ao oss:/dev/dsp1 -mixer /dev/mixer2
> /path/to/file

For tests you might even record and playback the recorded with, for
example:

# dd if=/dev/dsp0 of=/tmp/recorded
# cat /tmp/recorded > /dev/dsp0

> Haven't tried skype on FreeBSD but there should be a device setting. I've
> noticed that some machines seem to automatically switch, ie when I plug in
> headphones to the headphone jack or a mic into a microphone jack it "just
> works". But other machines don't work automatically and I have to set the
> device manually as above. A simple way, you can try setting each device to
> see which one works. :)

yes, Skype allows to configure this even on top of the emulation of
Linux; I do it all days

matthias
-- 
Matthias Apitz
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: built-in mic configuration [compaq presario laptop]

2012-08-25 Thread Alexander Kapshuk

On 08/25/12 19:26, Waitman Gobble wrote:

you need to specify the device, take a look at

# ls /dev/dsp*
/dev/dsp0.0/dev/dsp0.1/dev/dsp1.0/dev/dsp2.0 /dev/dsp2.1

for example, i can send audio output to headphone jack:
# mplayer -zoom -x 1280 -y 720 -fs -ao oss:/dev/dsp1 -mixer 
/dev/mixer2 /path/to/file


Haven't tried skype on FreeBSD but there should be a device setting. 
I've noticed that some machines seem to automatically switch, ie when 
I plug in headphones to the headphone jack or a mic into a microphone 
jack it "just works". But other machines don't work automatically and 
I have to set the device manually as above. A simple way, you can try 
setting each device to see which one works. :)



# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0:  (play)
pcm1:  (play/rec) default
pcm2:  (rec)

# mixer
Mixer vol  is currently set to  90:90
Mixer pcm  is currently set to  85:85
Mixer speaker  is currently set to 100:100
Mixer mic  is currently set to  67:67
Mixer mix  is currently set to   1:1
Mixer rec  is currently set to   1:1
Mixer ogainis currently set to 100:100
Recording source: mic

OK. Thanks.

I'll give that a try.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: built-in mic configuration [compaq presario laptop]

2012-08-25 Thread Waitman Gobble
On Sat, Aug 25, 2012 at 8:39 AM, Alexander Kapshuk <
alexander.kaps...@gmail.com> wrote:

> I would like to be able to use the built-in mic to record audio and to use
> Skype with. An external mic seems to work out-of-the-box.
>
> Any input would be appreciated.
>
> :; uname -a
> FreeBSD box2 9.0-RELEASE-p4 FreeBSD 9.0-RELEASE-p4 #0: Fri Aug 17 21:53:39
> EEST 2012 root@box2:/usr/obj/usr/src/**sys/GENERIC  i386
>
> :; dmesg | grep pcm
> pcm0:  at cad 0 nid 1 on hdac0
> pcm1:  at cad 2 nid 1 on hdac0
>
>
> __**_
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions
> To unsubscribe, send any mail to "freebsd-questions-**
> unsubscr...@freebsd.org "
>

Hi,

you need to specify the device, take a look at

# ls /dev/dsp*
/dev/dsp0.0/dev/dsp0.1/dev/dsp1.0/dev/dsp2.0/dev/dsp2.1

for example, i can send audio output to headphone jack:
# mplayer -zoom -x 1280 -y 720 -fs -ao oss:/dev/dsp1 -mixer /dev/mixer2
/path/to/file

Haven't tried skype on FreeBSD but there should be a device setting. I've
noticed that some machines seem to automatically switch, ie when I plug in
headphones to the headphone jack or a mic into a microphone jack it "just
works". But other machines don't work automatically and I have to set the
device manually as above. A simple way, you can try setting each device to
see which one works. :)


# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0:  (play)
pcm1:  (play/rec) default
pcm2:  (rec)

# mixer
Mixer vol  is currently set to  90:90
Mixer pcm  is currently set to  85:85
Mixer speaker  is currently set to 100:100
Mixer mic  is currently set to  67:67
Mixer mix  is currently set to   1:1
Mixer rec  is currently set to   1:1
Mixer ogainis currently set to 100:100
Recording source: mic

Waitman Gobble
San Jose California USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


re: built-in mic configuration [compaq presario laptop]

2012-08-25 Thread Alexander Kapshuk
I would like to be able to use the built-in mic to record audio and to 
use Skype with. An external mic seems to work out-of-the-box.


Any input would be appreciated.

:; uname -a
FreeBSD box2 9.0-RELEASE-p4 FreeBSD 9.0-RELEASE-p4 #0: Fri Aug 17 
21:53:39 EEST 2012 root@box2:/usr/obj/usr/src/sys/GENERIC  i386


:; dmesg | grep pcm
pcm0:  at cad 0 nid 1 on hdac0
pcm1:  at cad 2 nid 1 on hdac0


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"