mikrofon ide velmi potichu

Sekcia: Hardware a Drivery 13.11.2008 | 01:58
Avatar Zefram Cochrane MS Windows Vista Ultimate 64bi  Používateľ
V Ubuntu 8.04 ide velmi potichu mikrofon. Ked si ho dam priamo k ustam a normalne nahlas hovorim tak ide na cca 10% (nahral som to v audacious a tam po normalizacii bola kvalita ok takze s tym problem nebude). V alsamixer v capture aj playback mam vsetko na maxime. Presiel som web ale nic moc som nenasiel, len ze zapnut mic boost ale ten tam v alsamixeri nevidim. Neda sa nejako povedat aby pausalne vynasobil vstup mikrofonu 10x ? To by kompletne vyriesilo moj problem.

Doplnujuce info:

$ uname -r
2.6.24-21-generic

$ lspci -vv -s 00:1b.0
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
Subsystem: Intel Corporation Unknown device d603
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 21
Region 0: Memory at 502c0000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [70] Express Unknown type IRQ 0
Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
Device: Latency L0s <64ns, L1 <1us
Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
Link: Supported Speed unknown, Width x0, ASPM unknown, Port 0
Link: Latency L0s <64ns, L1 <1us
Link: ASPM Disabled CommClk- ExtSynch-
Link: Speed unknown, Width x0

$ lsmod | grep snd
snd_hda_intel 344856 3
snd_pcm_oss 42144 0
snd_mixer_oss 17920 1 snd_pcm_oss
snd_pcm 78596 2 snd_hda_intel,snd_pcm_oss
snd_page_alloc 11400 2 snd_hda_intel,snd_pcm
snd_hwdep 10500 1 snd_hda_intel
snd_seq_dummy 4868 0
snd_seq_oss 35584 0
snd_seq_midi 9376 0
snd_rawmidi 25760 1 snd_seq_midi
snd_seq_midi_event 8320 2 snd_seq_oss,snd_seq_midi
snd_seq 54224 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 24836 2 snd_pcm,snd_seq
snd_seq_device 9612 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 56996 17 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 8800 1 snd
    • Re: mikrofon ide velmi potichu 13.11.2008 | 01:59
      Avatar Zefram Cochrane MS Windows Vista Ultimate 64bi  Používateľ
      $ amixer
      Simple mixer control 'Master',0
      Capabilities: pvolume pvolume-joined pswitch pswitch-joined
      Playback channels: Mono
      Limits: Playback 0 - 64
      Mono: Playback 46 [72%] [-18.00dB] [on]
      Simple mixer control 'Headphone',0
      Capabilities: pswitch
      Playback channels: Front Left - Front Right
      Mono:
      Front Left: Playback [on]
      Front Right: Playback [on]
      Simple mixer control 'PCM',0
      Capabilities: pvolume
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 255
      Mono:
      Front Left: Playback 255 [100%] [0.00dB]
      Front Right: Playback 255 [100%] [0.00dB]
      Simple mixer control 'Front',0
      Capabilities: pvolume pswitch
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 64
      Mono:
      Front Left: Playback 64 [100%] [0.00dB] [on]
      Front Right: Playback 64 [100%] [0.00dB] [on]
      Simple mixer control 'Front Mic',0
      Capabilities: pvolume pswitch
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 31
      Mono:
      Front Left: Playback 31 [100%] [12.00dB] [on]
      Front Right: Playback 31 [100%] [12.00dB] [on]
      Simple mixer control 'Surround',0
      Capabilities: pvolume pswitch
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 64
      Mono:
      Front Left: Playback 64 [100%] [0.00dB] [on]
      Front Right: Playback 64 [100%] [0.00dB] [on]
      Simple mixer control 'Center',0
      Capabilities: pvolume pvolume-joined pswitch pswitch-joined
      Playback channels: Mono
      Limits: Playback 0 - 64
      Mono: Playback 64 [100%] [0.00dB] [on]
      Simple mixer control 'LFE',0
      Capabilities: pvolume pvolume-joined pswitch pswitch-joined
      Playback channels: Mono
      Limits: Playback 0 - 64
      Mono: Playback 64 [100%] [0.00dB] [on]
      Simple mixer control 'Line',0
      Capabilities: pvolume pswitch
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 31
      Mono:
      Front Left: Playback 31 [100%] [12.00dB] [off]
      Front Right: Playback 31 [100%] [12.00dB] [off]
      Simple mixer control 'CD',0
      Capabilities: pvolume pswitch
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 31
      Mono:
      Front Left: Playback 25 [81%] [3.00dB] [on]
      Front Right: Playback 25 [81%] [3.00dB] [on]
      Simple mixer control 'Mic',0
      Capabilities: pvolume pswitch
      Playback channels: Front Left - Front Right
      Limits: Playback 0 - 31
      Mono:
      Front Left: Playback 31 [100%] [12.00dB] [on]
      Front Right: Playback 31 [100%] [12.00dB] [on]
      Simple mixer control 'IEC958',0
      Capabilities: pswitch pswitch-joined cswitch cswitch-joined
      Playback channels: Mono
      Capture channels: Mono
      Mono: Playback [off] Capture [off]
      Simple mixer control 'Capture',0
      Capabilities: cvolume cswitch
      Capture channels: Front Left - Front Right
      Limits: Capture 0 - 31
      Front Left: Capture 31 [100%] [33.00dB] [on]
      Front Right: Capture 31 [100%] [33.00dB] [on]
      Simple mixer control 'Channel Mode',0
      Capabilities: enum
      Items: '2ch' '6ch'
      Item0: '2ch'
      Simple mixer control 'Digital',0
      Capabilities: cvolume
      Capture channels: Front Left - Front Right
      Limits: Capture 0 - 120
      Front Left: Capture 120 [100%] [30.00dB]
      Front Right: Capture 120 [100%] [30.00dB]
      Simple mixer control 'Input Source',0
      Capabilities: cenum
      Items: 'Mic' 'Front Mic' 'Line' 'CD'
      Item0: 'Mic'
      • Re: mikrofon ide velmi potichu 13.11.2008 | 13:03
        qk   Návštevník
        A nebude to spis zvukovou kartou? upgradoval jsrm tatovi PC s XP a misto puvodni vic nez 5 let stary zvukovky jsem mu tam nechal jen integrovanou - vystup byl solidni, ale vstup byl naprosto neuveritelnej - i se solidnim mikrofonem byla uroven zvuku tesne nad urovni sumu - teprve kdyz jsem tam strcil tu puvodni zvukovku tak se to dalo pouzit...

        Zvuk by urcite sel nejak automaticky zesilit, bohuzel by to i 10x zesililo sum a tudiz to moc pouzitelny nebude...

        • Re: mikrofon ide velmi potichu 13.11.2008 | 15:12
          Avatar Zefram Cochrane MS Windows Vista Ultimate 64bi  Používateľ
          >> Zvuk by urcite sel nejak automaticky zesilit, bohuzel by to i 10x zesililo sum a tudiz to moc pouzitelny nebude...

          Prave ze toto je presne co potrebujem. Nahral som to v audacity a 10x zvysil hlasitost a zvuk je kristalovo cisty, ziaden problem zo sumom. Cize fakt len ten vstup potrebujem 10x zosilnit, nic viac.
          • Re: mikrofon ide velmi potichu 13.11.2008 | 17:04
            WlaSaTy   Návštevník
            mikrofon nemam a nepouzivam, ale nemalo by to byt nejako takto?
            $ cat ~/.asoundrc
            pcm.newdevice {
                    type            softvol
                    slave.pcm       "default"
                    control.name    "Softmaster"
                    control.card    0
                    max_dB          50.0
            }
            
            teda zvysenie hlasitosti by malo byt cez max_dB patch, ci ho mas zahrnuty v distribucii, to neviem. ja osobne nemozem skusit ani ci je v poslednej alse inak ako prehladanim changelogu.

            ale pozor aby ti to nezvysilo aj hlasitost vystupu, myslim ze ten max_dB by mal byt podla spravnosti v bloku pre mikrofon a nie v bloku pre celu zvukovku.

            teda mozno takto:
            $ cat ~/.asoundrc
            pcm.newdevice {
                type asym
                playback.pcm {
                    type softvol
                    slave.pcm       "default"
                    control.name "Master"
                    control.card 0
                }
                capture.pcm {
                    type softvol
                    slave.pcm       "default"
                    control.name "Maximum DB softvol mic"
                    control.card 0
                    max_dB 50.0
                }
            }
            

            fakt neviem. to druhe som zobral len z googla.
            • Re: mikrofon ide velmi potichu 13.11.2008 | 23:05
              Avatar Zefram Cochrane MS Windows Vista Ultimate 64bi  Používateľ
              Vdaka, toto nejak funguje. Treba spravit nieco specialne aby sa zmeny v tomto subore prejavili?

              Momentalne to funguje ze ked septam tak ma uplne normalne pocut co je super. Cez ten max_dB sa to nejak neda regulovat, myslel som ze je to zisk, asi nie. Vychodzie nastavenie bolo az priliz nahlas, V "Ovládanie hlasitosti" som prepol zariadenie na Capture: ALSA PCM on front:0 (ALC662 Analog) via DMA ()PulseAudio mixer) kde je jediny "teplomer" ktory som znizil na cca 90% a teraz ti ide presne tak ako som chcel. S tym ze v sluchatkach sa stale nepocujem ale pri nahravani zvuku a v skype je to presne na maxime takze ok.

              Jedina zrada je este v tom, ze ked v Skype na zalozke nastavenie zvuku dam apply, tak mi to pre ten mikrofon spravi mute. Ale ak to bude fungovat tak uz nepotrebujem nic v skype nastavovat takze snad ok. Vdaka.
              • Re: mikrofon ide velmi potichu 13.11.2008 | 23:46
                WlaSaTy   Návštevník
                Menej ako 5 minut na googli.

                Ako si si iste vsimol, tak zmeny sa prejavia po starte daneho programu takze uz nemusis robit nic. Programy si restartol a restart kompu je zbytocny, skor ho mozes na noc vypnut koli elektrike.

                Ten max_Db urcuje maximalne mozne zosilnenie, aktualne zosilnenie je v mixeri ako si si vsimol, tych 50 decibelov je strop.

                Tu chybu na skype nahlas jeho vyrobcovi, mozno to opravi.

                PS.: je mozne nieco taketo vo viste, teda softwerovo zvysit citlivost vstupu alebo vykon vystupu?