Skip to main content
Participant
July 17, 2006
Question

Is this possible?

  • July 17, 2006
  • 1 reply
  • 181 views
I am creating an app that records the users voice to a file on the server by attacing to the microphone and publishing it. Very simple and it works.

Here is the part that I cannot get to work. I also have a sound streaming in from the server in a NetStream object. I want to include this to the file I am publishing back (effectivley overlaying the users microphone input on top of the incomming stream). I have tried attaching to both the microphone and the incoming stream but am only recording the microphone input. I also tried using the media components for the incoming stream and attaching to those as well as attaching to sound objects but to no avail! Can it be that I have no way to publish two audio inputs simultanously to one file? Is it even possible to publish incoming streams or only input from camera and microphones?
    This topic is closed to new replies. Start a new post to keep the conversation going.

    1 reply

    July 17, 2006
    Sounds like you're planning on a Karaoke sort of thing. I was approached about a similar system a few weeks ago, and here's what I've come up with (short of developing addtional activeX controls or plugins).

    You can't publish two audio sources to a single netstream, and you can't attach anything but a microphone as an audio source. The best you can do is change the recording source on your sound card mixer, assuming you have a sound card that has a mixer.

    In Windows, this is as easy as opening the recording properties of the sound mixer, and selecting the output mix as the record source. Then you get to use both your wav audio and your mic, and you can mix levels in the sound mixer.

    Mac seems to be a different story. I'm not a Mac guy, and the only Mac I have is a Mac Mini. On the mini, there is no sound mixer to speak of, only an input selector. It would seem that the Mac can't do this without extra software. Perhaps someone who knows OS X will have some advice on this one.