Results 1 to 5 of 5

Thread: Multiple Audio Output

  1. #1
    VENDOR - SpatialMinds millec's Avatar
    Join Date
    Dec 2002
    Location
    Mt. Vernon, WA
    Posts
    204

    Question Multiple Audio Output

    I am looking for a way to have multiple audio outputs. I would like to have one going to the main cabin via an amplifier, and a second (and maybe third) going to headset jacks in the rear of the vehicle. Each audio output has different content being delivered. E.g. The main cabin might be watching/listening to a DVD, while the guy in the back is listening to MP3s, and his sister is also listening to MP3s (different ones).

    The problem here is that for each application that is fired up, I need to have a different audio output. This is no different than for example having a different shell for each user in a Unix box, except that even Unix boxes only allow audio for the person sitting at the console.

    I am comfortable using any OS, I just need a way to install 2-3 sound cards (or one soundcard with multiple output channels) and then tell each application as it starts up which sound card to use for dumping audio. I was thinking of using Linux/FreeBSD, MServ (MP3s), xawtv (DVD), and ??? for AM/FM Tuner.

    All of this stems from the fact that I have a Land Rover Discovery Series II that has headset jacks, volume control, and mode (CD, Tape, Radio) controls for each of the two users that sit in the jump seats in the very back of the truck. I am going to completely remove the headunit to put in a touchscreen LCD, and want all carputer functionality inside of the computer to be available to the users in the very back. See http://www.disco2.com/tech/bodyelec/ice.phtml for details of my existing system.

    Thanks for any suggestions/ideas you might have. I will post a summary of any responses that I receive.

    --Craig

  2. #2
    Low Bitrate
    Join Date
    Dec 2002
    Location
    East Tennessee
    Posts
    72
    I use two soundcards in windows with winamp on my gaming computer. There are also some expensive ones that are like having two sound cards in one (we used them at the radio station). I know this will work in windows 9x/NT/2000/XP but I haven’t a clue about in Linux/FreeBSD.
    Comp. Specs:Shuttle SS40G, Athlon XP 1700+, 256MB DDR, 40GB HD, Belkin Desktop 802.11b card (good range), SB 128 sound (onboard is a bit noisy), DVD ROM
    Toshiba 100CS laptop, P75 40mb ram, 550MB HD, Megahertz LAN/modem PC card, modified to run off 12VDC

    Other stuff:Generic USB hub & USB to serial adapters, BS2SX power control system w/battery buffer, Jazz 300W Inverter, FM Modulator, Palm Vx, & GPS

    Status: 80% complete (Almost done with the controle boxes)

  3. #3
    FLAC
    Join Date
    May 2002
    Location
    Sef'Kylar
    Posts
    1,421
    I think your best bet would be using two sound cards.

    At each station you could put a three position (on-off-on) dipole switch to select the signal. put the right signal on one pole, left on the other. Run the ground as a common... it doesn't need to go through the switch.. only the signal line.

    Let us know what you deside. Good luck!!
    aka Kumaneko
    "Don't make me moderate your ***!"
    Maxima of Doom - project thread - photo gallery
    mp3car system is currently FUBAR and finances do not allow for a correction of that situation
    Real computer hackers use a rotary cutting tool on their motherboard.

  4. #4
    Variable Bitrate
    Join Date
    Apr 2000
    Location
    Little Rock, Arkansas
    Posts
    321
    my soundblaster live value soundcard in my computer at home has 2 (i think even 3, but 3rd might be digital) sound outputs. Its mainly used for like 4 channel stereo and the such. I just use it as 1 to go out to my TV and one to goto my speakers. Then I have a program that came with it that allows you to set fade/balance. I got the card for only like $29 or so.
    The Grand aMP3 Project
    Car: 96 Pontiac Grand Am
    Current Setup: AMD K62 300MHz, 64MB DIMM RAM, 20GB WD Hard Drive, Basic Video & Sound

  5. #5
    VENDOR - SpatialMinds millec's Avatar
    Join Date
    Dec 2002
    Location
    Mt. Vernon, WA
    Posts
    204
    Under Linux and freebsd you can have multiple sound cards. You just tell the application which device to use when you start it up.


    This makes the whole problem go away for me. I am going to have three sound cards. One for the main cabin, one for the left rear jump seat, and one for the right rear jump seat.

    The main cabin is controlled from the touch screen and the steering wheel controls. Each jump seat has its own set of controls for selecting the mode, forward, reverse, volume up, and volume down. I am going to use an adapter that converts my manual controls (steering wheel, and jump seat controls) to infrared signals. I am going to have three IRMan inputs. I am going to use one of the many different available software packages for Linux/FreeBSD available to control software via an IRMan. I am going to have a master controller daemon that coordinates all of the input including the touchscreen input. That controller will pass the requests along to the software as appropriate specifying the appropriate output channel. Essentially, it is a classic Model-Viev-Controller (MVC) software design pattern applied to a car.

    I have a bit of code to write, but it is all pretty straight forward.

    --Craig

Bookmarks

Posting Permissions

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