Results 1 to 6 of 6

Thread: multiple sound outputs- how do I do it?

  1. #1
    Member registered user
    Join Date
    Dec 2004
    Posts
    30

    multiple sound outputs- how do I do it?

    So, in Windows, I can play a movie, and listen to music, and watch homestarrunner shorts at the same time, and they all will have sound. How do I do that in knoppix?

  2. #2
    Junior Member
    Join Date
    Apr 2005
    Posts
    7
    Its complicated.
    Either all apps use esound, or you use ALSA with dmix.

  3. #3
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    jehan60188,

    I use ALSA, and I am also on the ALSA email support group, which has enlightened me, to getting "neat" code fragments, like the following...

    If you are running ALSA for your sound, then, simply copy/paste the following code, into a file called .asoundrc (yes, there is a DOT in front of that file name), and place the file in your users home folder... i.e. /home/cuddles/.asoundrc (where my user name is "cuddles" and that is where my /home folder resides...)

    Code:
    pcm.!default {
            type plug
            slave.pcm "dmixer"
         }
    
    pcm.dmixer {
            type dmix
            ipc_key 1024
            slave {
               pcm "hw:0,0"
               rate 48000
            }
         }
    The above code, in the file I disclosed, has allowed me to play not only a DVD movie (with sound) and a Video Intensive Computer Game (with sound), at the same time.

    Hope this helps,
    Ms. Cuddles

  4. #4
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    19
    hi Cuddles i wanna ask u something
    is alsa is installed on knoppix as default or shall i install it?
    then if i install it ,how can i configure it

  5. #5
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    waellinux,

    How would you know if ALSA is installed?

    A: Take a look at the output of lsmod - this command will list out ALL modules that have been loaded.

    If ALSA is installed, and configured, you should see some, if not all, of the following within the output:
    Code:
    snd_emu10k1            94180  0
    snd_rawmidi            22368  1 snd_emu10k1
    snd_seq_device          7696  2 snd_emu10k1,snd_rawmidi
    snd_ac97_codec         79504  1 snd_emu10k1
    snd_pcm_oss            51936  0
    snd_mixer_oss          17856  1 snd_pcm_oss
    snd_pcm                90572  3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
    snd_timer              23560  2 snd_emu10k1,snd_pcm
    snd_page_alloc          8776  2 snd_emu10k1,snd_pcm
    snd_util_mem            3968  1 snd_emu10k1
    snd_hwdep               8416  1 snd_emu10k1
    snd                    50024  9 snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
    soundcore               8800  1 snd
    Note the presence of snd... devices, and that the "main" modules, named only snd is using a whole lot of other "snd..." modules... Definate sign that ALSA is installed, and running, and configured...

    How would one "install" ALSA, and configure it... ?
    A: use a very useful command, from within a root Command Line Prompt screen/window:
    /usr/sbin/alsaconf -=- or you can just use alsaconf since it is in the search PATH. Like this:
    root@neo:~# alsaconf

    This will attempt to locate your soundcard, configure it, and then apply all of what ALSA needs.

    Before running ALSA though, you should be sure that no other sound server is running, arts, OSS, etc...
    ( some of the "known" other sound server modules will be like: sound, uart401, any sound card codec's that depend on your cards chipsets, like ac97_codec, and card "audio" modules, like via82cxxx_audio - any of these things not having a snd_ in front of them )

    If you are booting off the Live CD, then its a lot easier, you just supply alsa on your boot: prompt line - ie boot: [your other commands] alsa

    It should be noted, and I already tried this, that you can not boot the Live CD with the "alsa" option, and then hard drive install, and STILL have alsa running - this trick USED TO work in versions of Knoppix, up to v3.3 - but this trick no longer works in newer versions - you will need to run alsaconf after you hard drive install.

    Hope this has helped,
    Ms. Cuddles

    if you have any problems, or questions, or concerns about ALSA, then, join the ALSA email support group, by going to the following web location, and signing up...
    ALSA Email Group

  6. #6
    Member registered user
    Join Date
    Dec 2004
    Posts
    30
    ok, well I'm on the alsa website, what do I need to download?

    ok, I went and downloaded the driver, and followed the instructions, but now my soundcard doesn't work. what am I doing wrong?!

Similar Threads

  1. Multiple shortcuts on multiple desktops in Knoppix 4.0.2
    By Dredman in forum Customising & Remastering
    Replies: 2
    Last Post: 10-07-2006, 10:42 PM
  2. Boot to multiple iso -- how?
    By stars in forum Customising & Remastering
    Replies: 9
    Last Post: 05-27-2005, 06:29 PM
  3. Dual audio outputs via USB and PCI
    By lilsirecho in forum Tips and Tricks
    Replies: 0
    Last Post: 12-14-2004, 04:07 PM
  4. Sound from multiple applications simultaneously
    By MasterRyu in forum General Support
    Replies: 2
    Last Post: 10-30-2004, 02:26 AM
  5. cant toggle video outputs
    By redss in forum Laptops
    Replies: 0
    Last Post: 08-09-2004, 08:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray picture

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray

$39.99



Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A

$64.00



HGST Ultrastar HUS726040AL5210 4TB 7200RPM SAS 12Gb/s Enterprise HDD picture

HGST Ultrastar HUS726040AL5210 4TB 7200RPM SAS 12Gb/s Enterprise HDD

$41.00



Tested WD Ultrastar DC HC520 12TB 7.2K RPM SATA 6Gb/s 3.5

Tested WD Ultrastar DC HC520 12TB 7.2K RPM SATA 6Gb/s 3.5" HDD HUH721212ALN600

$239.99



Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE picture

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE

$68.99



Seagate Barracuda ST1000DM003 1 TB SATA III 3.5 in Desktop Hard Drive picture

Seagate Barracuda ST1000DM003 1 TB SATA III 3.5 in Desktop Hard Drive

$23.99



Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5

Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5" Enterprise HDD

$339.00



Seagate ST3000NM0005 HDD 3TB SATA 6Gb/s 7.2K 3.5

Seagate ST3000NM0005 HDD 3TB SATA 6Gb/s 7.2K 3.5" 512 b/s

$59.00



Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS picture

Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS

$184.99



New Western Digital WD40EFPX 68C6CN0 4TB 3.5

New Western Digital WD40EFPX 68C6CN0 4TB 3.5" SATA III Internal NAS Red Plus HDD

$137.59