Zvuk

Sekcia: Aplikácie & Desktop 04.06.2007 | 13:39
ziadny zvuk na ubuntu   Návštevník
pri starte mi nechce nabehnut zvuk ,obcas sa to podari rozbehnut po 2-3 restarte
neviete co s tym???
    • Re: Zvuk 04.06.2007 | 13:52
      Avatar Stanislav Hoferek Greenie 18.04  Používateľ
      zapnut repraky :)

      pozri v ovladacich paneloch zvuky. tam su take ukazky rozne pipnutia a tak... prehra Ti ich?
    • Re: Zvuk 04.06.2007 | 14:11
      Tomáš Hanzel   Návštevník
      Nedozrel náš svet k tomu, aby mohol predpovedať apokalypsu....

      Aká je to zvukovka? PCI, integrovaná, typ, čo modul? Zaviedol sa ti modul do systému? Odkedy sa ti stáva tento problém? Pred časom ti to "fičalo" vpohode? Nekompiloval si jadro? čo vípis lspci -v?
    • Re: Zvuk 04.06.2007 | 19:47
      Avatar Mirrec ubuntu 8.10  Používateľ
      mam sice trochu iny problem ale nechcem na to zakladat novy ony... :D

      mne ide zvuk ale mam repraky 5.1 a hraju mi iba predne dva (lavy a pravy)
      a kvalita zvuku je taka vselijaka... :-\

      je treba nainstalovat nejake ovladace? drivre alebo iba kdesi cosi nastavit?

      neviete mi poradit? (mam tiez ubuntu - konkretne 7.04)

      dakujem vopred
      • Re: Zvuk 04.06.2007 | 20:01
        Avatar samox86 arch, debian  Administrátor
        jo. takze to za tomasa zopakujem:
        Aká je to zvukovka? PCI, integrovaná, typ, čo modul? Nekompiloval si jadro? čo vípis lspci -v?
        lnx.sk - virtualne servery; Lnx@Lnx.sk
        • Re: Zvuk 04.06.2007 | 21:45
          Avatar Mirrec ubuntu 8.10  Používateľ
          zvukovka nie je integrovana, je PCI nekompiloval som jadro... ale nevim co mas na mysli ked sa pytas na modul

          vypis:
          mirrec@mirrec-desktop-ubuntu:~$ lspci -v
          00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
                  Subsystem: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
                  Flags: bus master, 66MHz, medium devsel, latency 0
                  Memory at c0000000 (32-bit, prefetchable) [size=256M]
                  Capabilities: <access denied>
          
          00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP] (prog-if 00 [Normal decode])
                  Flags: bus master, 66MHz, medium devsel, latency 0
                  Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
                  Memory behind bridge: e0000000-e1ffffff
                  Prefetchable memory behind bridge: d0000000-dfffffff
          
          00:08.0 Communication controller: Agere Systems 56k WinModem (rev 01)
                  Subsystem: Agere Systems LT WinModem 56k Data+Fax+Voice+Dsvd
                  Flags: bus master, medium devsel, latency 0, IRQ 5
                  Memory at e2021000 (32-bit, non-prefetchable) [size=256]
                  I/O ports at d000 [size=8]
                  I/O ports at d400 [size=256]
                  Capabilities: <access denied>
          
          00:09.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a)
                  Subsystem: Creative Labs SBLive! 5.1 eMicro 28028
                  Flags: bus master, medium devsel, latency 32, IRQ 11
                  I/O ports at d800 [size=32]
                  Capabilities: <access denied>
          
          00:09.1 Input device controller: Creative Labs SB Live! Game Port (rev 0a)
                  Subsystem: Creative Labs Gameport Joystick
                  Flags: bus master, medium devsel, latency 32
                  I/O ports at dc00 [size=8]
                  Capabilities: <access denied>
          
          00:0b.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 02)
                  Subsystem: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet Adapter
                  Flags: bus master, medium devsel, latency 32, IRQ 11
                  I/O ports at e000 [size=256]
                  Memory at e2020000 (32-bit, non-prefetchable) [size=4K]
                  [virtual] Expansion ROM at 40000000 [disabled] [size=128K]
                  Capabilities: <access denied>
          
          00:11.0 ISA bridge: VIA Technologies, Inc. VT8233A ISA Bridge
                  Subsystem: VIA Technologies, Inc. VT8233A ISA Bridge
                  Flags: bus master, stepping, medium devsel, latency 0
                  Capabilities: <access denied>
          
          00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
                  Subsystem: VIA Technologies, Inc. VT82C586/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE
                  Flags: bus master, medium devsel, latency 32, IRQ 5
                  [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
                  [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
                  [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
                  [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
                  I/O ports at e400 [size=16]
                  Capabilities: <access denied>
          
          00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 23) (prog-if 00 [UHCI])
                  Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
                  Flags: bus master, medium devsel, latency 32, IRQ 11
                  I/O ports at e800 [size=32]
                  Capabilities: <access denied>
          
          00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 23) (prog-if 00 [UHCI])
                  Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
                  Flags: bus master, medium devsel, latency 32, IRQ 11
                  I/O ports at ec00 [size=32]
                  Capabilities: <access denied>
          
          01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 440] (rev a3) (prog-if 00 [VGA])
                  Subsystem: Micro-Star International Co., Ltd. Unknown device 8783
                  Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 5
                  Memory at e0000000 (32-bit, non-prefetchable) [size=16M]
                  Memory at d0000000 (32-bit, prefetchable) [size=128M]
                  Memory at d8000000 (32-bit, prefetchable) [size=512K]
                  [virtual] Expansion ROM at d8080000 [disabled] [size=128K]
                  Capabilities: <access denied>
          
      • Re: Zvuk 04.06.2007 | 21:26
        WlaSaTy   Návštevník
        to ze pri hrani stereo nahravky hraju len dva predne repraky je normalne pretoze stereo neobsahuje viac kanalov, ale mozes si to predefinovat pomocou alsy.
        • Re: Zvuk 04.06.2007 | 21:46
          Avatar Mirrec ubuntu 8.10  Používateľ
          co kde tu alsu ci to je zozeniem?
          • Re: Zvuk 04.06.2007 | 21:48
            WlaSaTy   Návštevník
            alsu mas priamo v jadre, skus sa pozriet ci je tam:
            /sbin/lsmod | grep snd
            to by malo vypisat snd-nejaky-modul.
            • Re: Zvuk 04.06.2007 | 21:57
              Avatar Mirrec ubuntu 8.10  Používateľ
              vypisalo toto:
              mirrec@mirrec-desktop-ubuntu:~$ /sbin/lsmod | grep snd
              snd_mpu401              9256  0 
              snd_mpu401_uart         9472  1 snd_mpu401
              snd_emu10k1_synth       8192  0 
              snd_emux_synth         35456  1 snd_emu10k1_synth
              snd_seq_virmidi         7936  1 snd_emux_synth
              snd_seq_midi_emul       7680  1 snd_emux_synth
              snd_emu10k1           121248  2 snd_emu10k1_synth
              snd_ac97_codec         98464  1 snd_emu10k1
              ac97_bus                3200  1 snd_ac97_codec
              snd_pcm_oss            44544  0 
              snd_mixer_oss          17408  1 snd_pcm_oss
              snd_pcm                79876  3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
              snd_page_alloc         10888  2 snd_emu10k1,snd_pcm
              snd_util_mem            5760  2 snd_emux_synth,snd_emu10k1
              snd_hwdep               9988  2 snd_emux_synth,snd_emu10k1
              snd_seq_dummy           4740  0 
              snd_seq_oss            32896  0 
              snd_seq_midi            9600  0 
              snd_seq_midi_event      8448  3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
              snd_rawmidi            25472  4 snd_mpu401_uart,snd_seq_virmidi,snd_emu10k1,snd_seq_midi
              snd_seq                52592  9 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
              snd_timer              23684  3 snd_emu10k1,snd_pcm,snd_seq
              snd_seq_device          9100  8 snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
              snd                    54020  17 snd_mpu401,snd_mpu401_uart,snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
              soundcore               8672  1 snd
              

              co dalej?
              sorry ale ja som uplny zaciatocnik s ubuntu...
              • Re: Zvuk 04.06.2007 | 22:28
                WlaSaTy   Návštevník
                no nic, pytal si sa ako si nahodis alsu a sam vidis ze ju mas. ovladac snd_emu10k1 je zvukovy modul systemu alsa pre starsie verzie sb live zalozene na chipe emu10k1, teda aj pre tu tvoju - tolko k tvojej poslednej otazke.

                predpokladam ze si sa chcel skor spytat ako nastavis konfigurak alsy tak, aby hral stereo na vsetkych 4och reprakoch ci kolko mas zapojenych. skus prikaz:
                aplay -Dsurround40 soubor.wav
                samozrejme za subor.wav si dosad co potrebujes a pustaj to v terminali. potom uvidis ci budes potrebovat nieco predefinovat najme podla clanku, kapitola dsnoop.

                PS.: sice mam uvedenu kartu ale nemam viac ako dva repraky takze nemozem otestovat.
                • Re: Zvuk 04.06.2007 | 22:45
                  Avatar Mirrec ubuntu 8.10  Používateľ
                  no hej presne potreboujem to dat na priestorovy zvuk...

                  ale to co si napisal mi nejak nejde...

                  idem kuknut ten link:) zatim diky moc za info keby cosi tak napisem sem este
                  • Re: Zvuk 04.06.2007 | 23:06
                    WlaSaTy   Návštevník
                    skoda ze si nenapisal co ti nejde, bez toho je ti mozne poradit len to co uz robis. pozriet ten link.
                    • Re: Zvuk 05.06.2007 | 00:48
                      Avatar Mirrec ubuntu 8.10  Používateľ
                      no moj problem som napisal... mam repraky 5+1 ale v ubuntu mi zvuk ide iba cez lavy a pravy predny reprak

                      inak ani ten link nejak moc nepomohol :(
                      ale teraz na to moc nemam cas... ucim sa na skusku :D
                      keby si vedel o nejakom navode tak pls daj vediet ;) diky moc
                      • Re: Zvuk 05.06.2007 | 00:54
                        WlaSaTy   Návštevník
                        pisal si ze ti nejde prikaz "aplay -Dsurround40 soubor.wav " a zabudol si specifikovat co ti na nom nejde a aku chybu to pise. nejaku dokumentaciu mozem este dopisat, pockaj chvilku.
                        • Re: Zvuk 14.06.2007 | 18:12
                          Avatar Mirrec ubuntu 8.10  Používateľ
                          no uz sa mi to podarilo prehrat ten prikaz co si napisal ale stale idu iba predne dva repraky.
    • Re: Zvuk 14.06.2007 | 18:25
      Avatar Mirrec ubuntu 8.10  Používateľ
      este raz zhrniem moj problem. nejde mi priestorovy zvuk v ubuntu 7.04

      urobil som nasledovne zmeny
      som zaciatocnik a postupoval som podla tychto navodou uvedenych na stranke: http://ubuntuguide.org/wiki/Ubuntu:Feisty

      ----------------------
      | prva zmena |
      ----------------------


      How to configure sound to work properly in GNOME

      * Read #General Notes
      * Read #How to add extra repositories

      sudo killall esd
      sudo cp /etc/esound/esd.conf /etc/esound/esd.conf_backup
      gksudo gedit /etc/esound/esd.conf

      * Find this section

      ...
      auto_spawn=0
      spawn_options=-terminate -nobeeps -as 5
      ...

      * Replace with the following lines

      auto_spawn=1
      spawn_options=-terminate -nobeeps -as 2 -d default

      * Save the edited file

      sudo apt-get install libesd-alsa0
      gksudo gedit /etc/asound.conf

      * Insert the following lines into the new file

      pcm.card0 {
      type hw
      card 0
      }

      pcm.!default {
      type plug
      slave.pcm "dmixer"
      }

      pcm.dmixer {
      type dmix
      ipc_key 1025
      slave {
      pcm "hw:0,0"
      period_time 0
      period_size 2048
      buffer_size 32768
      rate 48000
      }
      bindings {
      0 0
      1 1
      }
      }

      * Save the edited file

      sudo ln -fs /usr/lib/libesd.so.0 /usr/lib/libesd.so.1

      System -> Preferences -> Sound
      Sound preferences

      General Tab -> Sounds for events (Un-Checked)

      * Save and close all opened applications, Reboot computer
      ------------------------
      | druha zmena |
      ------------------------

      How to setup the surround speakers (5.1 and others) with ALSA

      * Read #General Notes

      * Edit the ~/.asoundrc file, create it if it doesn't exist:

      gedit ~/.asoundrc

      * Enter the following section:

      pcm.!default {
      type plug
      slave.pcm "surround51"
      slave.channels 6
      route_policy duplicate
      }
      -------------------
      vysledky stav
      testujem to na tomto zvuku: http://files.myeburg.net/audio/chan-id.wav
      je pocut iba "predny lavy" z predneho laveho repraka, potom "predny pravy" z predneho praveho repraka. Nic viac
      nemate niekto radu ? pls