From: Adam Hardy on
deloptes on 25/05/10 21:09, wrote:
> Adam Hardy wrote:
>
>> arecord -Dplughw:0,1 |aplay
>>
> I just also see that you are not using the command as suggested by me
>
> -f cd -vv /dev/null
>
> regards

er yes. sorry, figured i could either look up what that did or just leave it
out, so I chose to leave it out :O

adam(a)isengard:~$ arecord -Dplughw:0,0 -c1 -f cd -vv /dev/null
Recording WAVE '/dev/null' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Plug PCM: Hardware PCM card 0 'HDA Intel' device 0 subdevice 0
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 16384
period_size : 4096
period_time : 92879
tstamp_mode : NONE
period_step : 1
avail_min : 4096
start_threshold : 1
stop_threshold : 16384
silence_threshold: 0
silence_size : 0
boundary : 1073741824
#+ | 00%^C

Still not a whisper.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4BFC3D11.1040305(a)cyberspaceroad.com
From: deloptes on
Adam Hardy wrote:

> deloptes on 25/05/10 21:09, wrote:
>> Adam Hardy wrote:
>>
>>> arecord -Dplughw:0,1 |aplay
>>>
>> I just also see that you are not using the command as suggested by me
>>
>> -f cd -vv /dev/null

it says record with music cd format (I think 44100MHz), be very verbose
(-vv) and write to dev/null

>>
>> regards
>
> er yes. sorry, figured i could either look up what that did or just leave
> it out, so I chose to leave it out :O
>
> adam(a)isengard:~$ arecord -Dplughw:0,0 -c1 -f cd -vv /dev/null
> Recording WAVE '/dev/null' : Signed 16 bit Little Endian, Rate 44100 Hz,
> Stereo Plug PCM: Hardware PCM card 0 'HDA Intel' device 0 subdevice 0
> Its setup is:
> stream : CAPTURE
> access : RW_INTERLEAVED
> format : S16_LE
> subformat : STD
> channels : 2
> rate : 44100
> exact rate : 44100 (44100/1)
> msbits : 16
> buffer_size : 16384
> period_size : 4096
> period_time : 92879
> tstamp_mode : NONE
> period_step : 1
> avail_min : 4096
> start_threshold : 1
> stop_threshold : 16384
> silence_threshold: 0
> silence_size : 0
> boundary : 1073741824
> #+ | 00%^C
>
> Still not a whisper.

yes I could think of it. it changes for me if I set the input mic to
the "Front Mic" (it depends on your card). You mentioned the mic on your
usb is working, then it is a setting in your mixer that tells alsa to grab
from the usb mic.

amixer
....
....
....
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Mic' 'Front Mic' 'Line'
Item0: 'Mic'
....
....
....

or

amixer
....
....
....
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Mic' 'Front Mic' 'Line'
Item0: 'Front Mic'
....
....
....


thus for me the first one enables the USB mic and the second one the built
in mic in the notebook. (Line is self explaining)

Check out your mixer settings (amixer, alsamixer or kmix/gnome-mixer) and
switch to the other mic - try the first command and the indicator
#+ | 00%
should change when recording some sounds. i.e.
###### + | 87%

the nice thing with this test is that you don't need boxes or x to setup the
sound system - I love linux and debian in particular.

regards



--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/htjh35$l9q$1(a)dough.gmane.org
From: Adam Hardy on
deloptes on 26/05/10 17:09, wrote:
> yes I could think of it. it changes for me if I set the input mic to
> the "Front Mic" (it depends on your card). You mentioned the mic on your
> usb is working, then it is a setting in your mixer that tells alsa to grab
> from the usb mic.
>
> amixer
> ...
> ...
> ...
> Simple mixer control 'Input Source',0
> Capabilities: cenum
> Items: 'Mic' 'Front Mic' 'Line'
> Item0: 'Mic'
> ...
> ...
> ...
>
> or
>
> amixer
> ...
> ...
> ...
> Simple mixer control 'Input Source',0
> Capabilities: cenum
> Items: 'Mic' 'Front Mic' 'Line'
> Item0: 'Front Mic'
> ...
> ...
> ...
>
>
> thus for me the first one enables the USB mic and the second one the built
> in mic in the notebook. (Line is self explaining)
>
> Check out your mixer settings (amixer, alsamixer or kmix/gnome-mixer) and
> switch to the other mic - try the first command and the indicator
> #+ | 00%
> should change when recording some sounds. i.e.
> ###### + | 87%

It was muted. Ha! Discovered that in alsamixer eventually. Couldn't make sense
of amixer output - is it reading the same config as alsamixer? It's got to be,
right?

Alsamixer has a column for line, cd and mic which allowed me to take mute off
from mic and now it comes thro from this mic on the soundcard to the speakers,
but I still can't get anything with aplay or with audacity.

Audacity has recording device choices of ALSA HDA Intel ALC882 Analog hw:0,0,
hw:0,1 and hw:0,2

Don't know what to make of it. This is a amixer output:

[....]
Simple mixer control 'Front Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 24 [77%] [1.50dB] [on]
Front Right: Playback 24 [77%] [1.50dB] [on]
Simple mixer control 'Front Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 2 [67%]
Front Right: 2 [67%]
[....]
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Mic' 'Front Mic' 'Line' 'CD'
Item0: 'CD'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Mic' 'Front Mic' 'Line' 'CD'
Item0: 'CD'
Simple mixer control 'Input Source',2
Capabilities: cenum
Items: 'Mic' 'Front Mic' 'Line' 'CD'
Item0: 'Front Mic'


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4BFD6164.70104(a)cyberspaceroad.com
From: deloptes on
Adam Hardy wrote:

> It was muted. Ha! Discovered that in alsamixer eventually. Couldn't make
> sense of amixer output - is it reading the same config as alsamixer? It's
> got to be, right?

In amixer it's not that obvious

>
> Alsamixer has a column for line, cd and mic which allowed me to take mute
> off from mic and now it comes thro from this mic on the soundcard to the
> speakers, but I still can't get anything with aplay or with audacity.

may be you'll need to learn about alsa, or pulse audio (which will be the
interface of the future)

>
> Audacity has recording device choices of ALSA HDA Intel ALC882 Analog
> hw:0,0, hw:0,1 and hw:0,2
>
> Don't know what to make of it. This is a amixer output:

it means 3 inputs - identify and feed them

>
> [....]
> Simple mixer control 'Front Mic',0
> Capabilities: pvolume pswitch
> Playback channels: Front Left - Front Right
> Limits: Playback 0 - 31
> Mono:
> Front Left: Playback 24 [77%] [1.50dB] [on]
> Front Right: Playback 24 [77%] [1.50dB] [on]
> Simple mixer control 'Front Mic Boost',0
> Capabilities: volume
> Playback channels: Front Left - Front Right
> Capture channels: Front Left - Front Right
> Limits: 0 - 3
> Front Left: 2 [67%]
> Front Right: 2 [67%]
> [....]
> Simple mixer control 'Input Source',0
> Capabilities: cenum
> Items: 'Mic' 'Front Mic' 'Line' 'CD'
> Item0: 'CD'
> Simple mixer control 'Input Source',1
> Capabilities: cenum
> Items: 'Mic' 'Front Mic' 'Line' 'CD'
> Item0: 'CD'
> Simple mixer control 'Input Source',2
> Capabilities: cenum
> Items: 'Mic' 'Front Mic' 'Line' 'CD'
> Item0: 'Front Mic'

this means you have one built in mic ( a booster to it - it adds some db -
usually not needed)
then you have 3 other inputs that you can use.
you can usually setup one for recording at a time but perhaps jack or
something like audacity can use all 3 at a time.

changing the input source in alsamixer will do the job i.e.

> Simple mixer control 'Input Source',1
> Capabilities: cenum
> Items: 'Mic' 'Front Mic' 'Line' 'CD'
> Item0: 'CD'

I would change to

> Simple mixer control 'Input Source',1
> Capabilities: cenum
> Items: 'Mic' 'Front Mic' 'Line' 'CD'
> Item0: 'Mic'

regards


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/htjon7$rqb$1(a)dough.gmane.org
From: Adam Hardy on
deloptes on 26/05/10 19:19, wrote:
> Adam Hardy wrote:
>
>> It was muted. Ha! Discovered that in alsamixer eventually. Couldn't make
>> sense of amixer output - is it reading the same config as alsamixer? It's
>> got to be, right?
>
> In amixer it's not that obvious
>
>> Alsamixer has a column for line, cd and mic which allowed me to take mute
>> off from mic and now it comes thro from this mic on the soundcard to the
>> speakers, but I still can't get anything with aplay or with audacity.
>
> may be you'll need to learn about alsa, or pulse audio (which will be the
> interface of the future)
>
>> Audacity has recording device choices of ALSA HDA Intel ALC882 Analog
>> hw:0,0, hw:0,1 and hw:0,2
>>
>> Don't know what to make of it. This is a amixer output:
>
> it means 3 inputs - identify and feed them
>
>> [....]
>> Simple mixer control 'Front Mic',0
>> Capabilities: pvolume pswitch
>> Playback channels: Front Left - Front Right
>> Limits: Playback 0 - 31
>> Mono:
>> Front Left: Playback 24 [77%] [1.50dB] [on]
>> Front Right: Playback 24 [77%] [1.50dB] [on]
>> Simple mixer control 'Front Mic Boost',0
>> Capabilities: volume
>> Playback channels: Front Left - Front Right
>> Capture channels: Front Left - Front Right
>> Limits: 0 - 3
>> Front Left: 2 [67%]
>> Front Right: 2 [67%]
>> [....]
>> Simple mixer control 'Input Source',0
>> Capabilities: cenum
>> Items: 'Mic' 'Front Mic' 'Line' 'CD'
>> Item0: 'CD'
>> Simple mixer control 'Input Source',1
>> Capabilities: cenum
>> Items: 'Mic' 'Front Mic' 'Line' 'CD'
>> Item0: 'CD'
>> Simple mixer control 'Input Source',2
>> Capabilities: cenum
>> Items: 'Mic' 'Front Mic' 'Line' 'CD'
>> Item0: 'Front Mic'
>
> this means you have one built in mic ( a booster to it - it adds some db -
> usually not needed)
> then you have 3 other inputs that you can use.
> you can usually setup one for recording at a time but perhaps jack or
> something like audacity can use all 3 at a time.
>
> changing the input source in alsamixer will do the job i.e.
>
>> Simple mixer control 'Input Source',1
>> Capabilities: cenum
>> Items: 'Mic' 'Front Mic' 'Line' 'CD'
>> Item0: 'CD'
>
> I would change to
>
>> Simple mixer control 'Input Source',1
>> Capabilities: cenum
>> Items: 'Mic' 'Front Mic' 'Line' 'CD'
>> Item0: 'Mic'

I'm trying to pick this stuff up but I find the amixer man page quite obtuse,
and I'm not finding an alsa-oriented website that's any better either.

I can't figure out why you recommend changing 'input source 1'. What about 0 and
2? And anyway, I can't figure out how to change them in alsamixer (there seem to
be no options for anything except mute), nor in amixer with its sset and cset
parameters.

And if that doesn't sound like I'm having a bad time, Java has just decided it
is getting upset with what I'm doing and can't use sound anymore:

Error: Sound line is not available.javax.sound.sampled.LineUnavailableException:
line with format PCM_UNSIGNED 11025.0 Hz, 8 bit, mono, 1 bytes/frame, not
supported.

It was happy enough until I started messing with the mic - I wondered why my
Java app had gone silent. Not that it was that noisy.

Sorry if this is getting boring but if there's a good source for documentation
on this stuff, just point me at it and I'll figure it out.

rgds
Adam


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4BFD7E93.9060709(a)cyberspaceroad.com
First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4 5
Prev: Hola, Bienvenido.
Next: Motherboards