Hi Sean,
I have Intel HD audio controller(0x8086, 0x811b), by trying the
suggested
commands I am not able to all kinds of sounds. Not able to hear my
voice, but able to
hear knoking microphose and air blow sounds are audiable through the
speaker while
recording.
Thanks,
Venu.
Sean McEnroe wrote:
> Hi Venu:
>
> Garrett is right.
>
> For best results use
> audiorecord -v 80 -b 50 -m 80 -p mic -c 2 -s 48000 -e linear -t 60
> micoutputfile
>
> then use audioplay -v 80 -b 50 -p speaker micoutputfile
> to listen to your recording.
>
>
> This will record stereo 48KHz (not 44.1Khz) nicely for 60 seconds on
> most SUN HW as default is only uLAW 8Khz mono. Results go into
> micoutputfile which defaults to a .au file. the -e linear uses PCM
> Pulse Code Modulation recording. Most SUN audio chips support 48Khz as
> their native sampling frequency.
> man audiorecord for other file options.
>
> PS
> audiorecord assumes audio device is /dev/audio if yo want a different
> audio device use the -dev switch to specify.b Also, the -m is to
> listen (monitor) your recording on the monitor speaker (usually the
> internal speaker) omit if you do not wish to monitor.
>
>
> -Sean McEnroe
>
> On 2008年10月16日 19:10, Garrett D'Amore wrote:
>> Try the CLI tool "audiorecord". I find it works pretty well.
>>
>> -- Garrett
>>
>> Venu Chennupati wrote:
>>> Any idea on how to test audio using microphone. My question is
>>> generic,
>>> not specifc to to the pci8086,7270.
>>>
>>> On neveda build 100, I tried to record using "Sound recorder" tool
>>> available under
>>> All Applications/Sound & Video. Record from input is availabe as
>>> 'Gain' and 'Screen'
>>> I tried to record using input 'Gain' and played back. Nothing making
>>> sense heard.
>>>
>>> Also I tried "cat test.oga > /dev/audio" ( test.oga is recorded file
>>> using above method)
>>>
>>> I hear noice from audio output. Is there any better way to test
>>> audio input working?
>>>
>>>
>>> ---
>>> # prtconf -D | grep audio
>>> pci8086,7270, instance #0 (driver name: audiohd)
>>>
>>>
>>> pci8086,7270, instance #0
>>> System software properties:
>>> name='play-interrupts' type=int items=1
>>> value=000000af
>>> name='record-interrupts' type=int items=1
>>> value=000000af
>>> Driver properties:
>>> name='fm-errcb-capable' type=boolean dev=none
>>> name='fm-ereport-capable' type=boolean dev=none
>>> Hardware properties:
>>> name='pci-msi-capid-pointer' type=int items=1
>>> value=00000060
>>> name='acpi-namespace' type=string items=1
>>> value='\_SB_.PCI0.HDEF'
>>> name='assigned-addresses' type=int items=5
>>> value=8300d810.00000000.fdff4000.00000000.00004000
>>> name='reg' type=int items=10
>>>
>>> value=0000d800.00000000.00000000.00000000.00000000.0300d810.
>>> 00000000.00000000.00000000.00004000
>>> name='compatible' type=string items=13
>>> @
>>> @
>>> value='pciex8086,811b.8086.7270.6' +
>>> 'pciex8086,811b.8086.72
>>> 70' + 'pciex8086,811b.6' + 'pciex8086,811b' + 'pciexclass,040300' +
>>> 'pciexclass,
>>> 0403' + 'pci8086,811b.8086.7270.6' + 'pci8086,811b.8086.7270' +
>>> 'pci8086,7270' +
>>> 'pci8086,811b.6' + 'pci8086,811b' + 'pciclass,040300' +
>>> 'pciclass,0403'
>>> name='model' type=string items=1
>>> value='Mixed Mode device'
>>> name='power-consumption' type=int items=2
>>> value=00000001.00000001
>>> name='devsel-speed' type=int items=1
>>> value=00000000
>>> name='interrupts' type=int items=1
>>> value=00000001
>>> name='subsystem-vendor-id' type=int items=1
>>> value=00008086
>>> name='subsystem-id' type=int items=1
>>> value=00007270
>>> name='unit-address' type=string items=1
>>> value='1b'
>>> name='class-code' type=int items=1
>>> value=00040300
>>> name='revision-id' type=int items=1
>>> value=00000006
>>> name='vendor-id' type=int items=1
>>> value=00008086
>>> name='device-id' type=int items=1
>>> value=0000811b
>>> name='pcie-capid-pointer' type=int items=1
>>> value=00000070
>>> name='pcie-capid-reg' type=int items=1
>>> value=00000091
>>> Device Minor Nodes:
>>> dev=(83,0)
>>> dev_path=/[EMAIL PROTECTED],0/pci8086,[EMAIL
>>> PROTECTED]:sound,audio
>>> spectype=chr type=minor
>>> dev_link=/dev/sound/0
>>> dev=(83,1)
>>> dev_path=/[EMAIL PROTECTED],0/pci8086,[EMAIL
>>> PROTECTED]:sound,audioctl
>>> spectype=chr type=minor
>>> dev_link=/dev/sound/0ctl
>>>
>>> ---
>>>
>>> TIA,
>>> Venu.
>>>
>>>
>>> _______________________________________________
>>> driver-discuss mailing list
>>> [email protected]
>>> http://mail.opensolaris.org/mailman/listinfo/driver-discuss
>>>
>>
>> _______________________________________________
>> driver-discuss mailing list
>> [email protected]
>> http://mail.opensolaris.org/mailman/listinfo/driver-discuss
>
>
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss