Mixing mp3 with recorded sound

I need to mix 2 sound data, one is a mp3 sound byteArray and the other one is a recorded sound byteArray.  I use URLLoader to load the mp3 external file into a byteArray.  The sound is recorded on a microhpone and stored in another byteArray.  I need to save to a file - the mp3 comes first and the recorded sound after.  I am using WavWriter to write it out as a wav file.
The mp3 is in 44Khz and 16-bit rate.  The recorded sound is in 44Khz and 8-bit.
Is there a way to do this?  I have researched for a few days already and tried a few things, but still cannot find the correct way to do this.
Any help is appreciated!
Thanks!

read about there three classes:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/Sound.html
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/SoundChanne l.html
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/SoundTransf orm.html
"All you have to do is load your different sounds (You have examples there on how to do that in the flash docs I've linked), and play the sounds according to your timeline. Each sound can be played on a different channel, and by this you can 'mix' them. Maintain a array of channels and do whatever you want with them at whatever time you need."
had the same question once, that the replay i've got and it answerd my problem.

Similar Messages

  • Attached mixing board with audigy sound card probl

    i am using a mixing board with an audigy sound card the porgram im using has 2 channels a and b the music plays only on one port i used to be able to sue up the 2 different songs on 2 volume controls now both songs play in the 2 channels but sound is only controlled by one volume control?it has played properly for over 3 years with no problems until tonight?anyone have any ideas?thanks

    Okay, I'm assuming you mean you have a stereo connection to rear Line-out and 2 and that you want both Line-outs to play the same stereo signal. If you are trying for something different, then post additional explanation, and we can go from there. I have not heard of an SB9400 before. You should be able to find the serial number on a white sticker on the card. That would identify the model. I think all Audigies have a Speaker Settings applet. So in Speaker Settings, do you have 4/4. speakers selected? If you have an EAX Console, do you have a CMSS3D option? (It might be called simply CMSS on some Audigies.) If so, select that. If you have a stereo surround option, select that. For the Audigy 2 ZS, for example, CMSS3D stereo surround will route the same stereo signal to Line-out & 2 (and optionally to Line-out 3).
    rle68 wrote:
    audigy sound card older card sb9400 ? sound about right ?
    program is pcdj this is the same sound card we used on an older pc same configuration... it worked fine for about an hour then stopped
    it plays fine sound is fine.. just plays out one port on the sound card only i need the second port
    o/s win2000
    just playing mp3's thru the mixing board out to 4 speakers
    everything worked then it stopped....just not sure if its a software setting the older pc was using xp pro
    this is a faster pc but i like 2000 better
    hope that helps and thanks
    Message Edited by Katman on 03-05-20060:20 PM

  • Issue with recorded sound- sounds like the recordings were made underwater.

    Hi, all.
    I'm running Adobe Audition CS5.5 on a Toshiba Satellite Pro C660-1UZ with Windows 7 Home Premium installed. My machine meets all of the system requirements, as far as I can tell, and yet recordings made in Adobe Audition sound like they were made underwater.
    For reference:
    http://www.soundclick.com/player/single_player.cfm?q=hi&songID=11138745
    I'm not using an interface at present, but would be willing if there were a cheap model available.
    Thanks for any help,
    Casey

    I have a slightly older Toshiba Satellite notebook that I use for recording and mixing and I can tell you that the built in audio interface (i.e. the mni jack mic input) is worse than bad.  I can get away with it for Skype phone calls but that's about it--and even for Skype I often plug in my interface.
    The other thing going on with the sample you posted is that the levels are very low so the need to crank things up to hear anything just accentuates the noise.
    Basically, Audition just takes the signal provided by your mic and interface and doesn't affect the sound in any way until you deliberately add processing.  You really do need to invest in an interface--pretty well any two track USB devices will be a vast improvement on the Toshiba mic input. 

  • Problems with recording sound

    Guys,
            I just installed Archlinux on Desktop. I also installed Skype which is my basic line of communication with my family. I cannot get the microphone to work. I fiddled with the Gnome Volume Control in every possible way i could think of. But still no luck. I probably need to get familiarised with the controls names and what they mean. I am using a Nvidia mother board rather i use a Dell Inspiron 531 desktop. I have three record options. Capture, Capture1, Digital. I don't know which one of them is the one that brings my headset mic to life. How the hell can i control the mic. I even enables input and tried to choose input from there. Guys need help to talk to my family. Please help.

    first things to try for "oddball" probs:
    http://www.bulletsandbones.com/GB/GBFAQ.html#oddballprobs

  • I am using iMac OS 10.7.2 with Garageband'11 6.0.4. I can't record sound from  mixer Behringer X1622USB using USB out. when I connect the mixer to iMac via USB  appears USB Audio CODEC on Sound and preferences but no sound from mixer to iMac. Need help.

    I am using iMac OS 10.7.2 with Garageband'11 6.0.4. I can't record sound from  mixer Behringer X1622USB using USB out. when I connect the mixer to iMac via USB  appears USB Audio CODEC on Sound and Preferences but I can't get no sound from mixer to iMac only sound from iMac to mixer. I only can record sound using microphone line in. Please help.

    Eric,
    Thanks for your reply. Realtek audio works only in playback. There is a stereo mix in the mixer but the recording controls are not operable with no sliders in the mixer for any recording option. Slider controls appear to be grayed out. Can't figure out how to enable them. Downloaded newest drivers to no avail.
    The M Audio control panel has no apparent option for recording stereo mix. Adobe ignores the sound from the DVD or CD and shows flatline.
    I'm trying to record the sound from the DVD not rip the track.
    When I go to Audio Driver Setup and select Audition 3.0 windows sound, there is no input device installed.
    I'm thinking of going back to a decent internal Soundblaster card like I have on my 8 year old machine I am replacing.

  • Recording vinyl to MP3 with Sound Blas

    Hi All,
    I'm a bit of a technophobe so please be kind.
    I've just bought a Sound Blaster to record my vinyl into MP3s and I am having a bit of difficulty. The problem being my turntable has two leads coming from it (one red and one white) and there is only one 'Line In'. I've tried with just the red lead from the turntable into the Sound Blaster and just the white lead - it records the song and downloads it into an MP3 but on play back there is no sound. One thought is that I need to somehow get both the red and white lead into the Sound Blaster at the same time - a cable that connects those leads and di'verts them into one lead into the Sound Blaster - will this help with the sound?
    Thanks for your patience,
    John

    Depends on soundblaster model and turntable system you have there but normally, you need
    - a phono pre-amp w/ RIAA sage between the turntable and soundcard ... and
    - a 2 x RCA to stereo mini jack adapter/cable to connect the turntable/pre-amp into soundcard
    RIAA EQ needed for vinyls can be done by the software as well but, as the recording levels you get are maybe too low (though, this can be fixed by adding gain using software) I suggest, if needed, you either get an external phono pre-amp ($30-$xxxxxx) or connect the turntable using the tape or aux I/O on your stereo system (if there is one). This is done by connecting the PC into your Hi-Fi system as you would connect a cassette deck ... and use exact same settings for recording from turntable using PC as you do when record using cassette deck.
    Some instructions over using software based RIAA EQ -
    http://forums.creative.com/creativelabs/board/message?board.id=profaudio&message.id=2838
    I think you get best results by using the 48kHz version + Voxengo recorder.
    jutapa
    Message Edited by jutapa on 03-29-2008 2:45 AM

  • Can't play / record sound on Yosemite with external Firewire audio interface

    I've got a Focusrite Saffire PRO 24 Firewire audio device. It worked perfectly until I upgraded to Yosemite. Even upgrading the driver to the last version (which suports Yosemite) I can't play sound in any way. Garageband crashes when I try to play my projects. Youtube videos on a browser stay paused on 00:00...
    Saffire pro 24 is detected. I can select it on System preferences or garageband settings. On Saffire Mix Control 3.5 I can see how audio inputs are ok, the input signal is received and the output is ok. According to Saffire Mix Control everything's fine, but I can't play audio nor record sound.
    If I switch to internal audio device everything works perfectly.
    I did some research and every time I try to play sound these errors are shown on the Console.
    11/12/14 21:06:52,045 AirPlayUIAgent[466]: 2014-12-11 09:06:52.045250 PM [AirPlayAVSys] ### Audio server died
    11/12/14 21:06:52,046 discoveryd[51]: AwdlD2d AwdlD2dStopBrowsingForKey: '_raop' Browsing service stopped
    11/12/14 21:06:52,047 discoveryd[51]: AwdlD2d AwdlD2dStopBrowsingForKey: '_airplay' Browsing service stopped
    11/12/14 21:06:52,050 com.apple.xpc.launchd[1]: (com.apple.audio.coreaudiod[1044]) Service exited due to signal: Segmentation fault: 11
    11/12/14 21:06:52,129 com.apple.audio.DriverHelper[1088]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class AMDRadeonX4000_AMDAccelDevice.
    11/12/14 21:06:52,130 com.apple.audio.DriverHelper[1088]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class AMDRadeonX4000_AMDAccelSharedUserClient.
    11/12/14 21:06:52,130 com.apple.audio.DriverHelper[1088]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class AMDSIVideoContext.
    11/12/14 21:06:52,130 com.apple.audio.DriverHelper[1088]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class Gen6DVDContext.
    11/12/14 21:06:52,130 com.apple.audio.DriverHelper[1088]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IGAccelDevice.
    11/12/14 21:06:52,130 com.apple.audio.DriverHelper[1088]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IGAccelSharedUserClient.
    11/12/14 21:06:52,130 com.apple.audio.DriverHelper[1088]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IGAccelVideoContextMain.
    11/12/14 21:06:52,131 com.apple.audio.DriverHelper[1088]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IGAccelVideoContextMedia.
    11/12/14 21:06:52,131 com.apple.audio.DriverHelper[1088]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IGAccelVideoContextVEBox.
    11/12/14 21:06:52,131 com.apple.audio.DriverHelper[1088]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IOBluetoothDeviceUserClient.
    11/12/14 21:06:52,131 com.apple.audio.DriverHelper[1088]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IOHIDParamUserClient.
    11/12/14 21:06:52,131 com.apple.audio.DriverHelper[1088]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IOSurfaceRootUserClient.
    11/12/14 21:06:52,132 com.apple.audio.DriverHelper[1088]: The plug-in named AirPlay.driver requires extending the sandbox for the mach service named com.apple.AirPlayXPCHelper.
    11/12/14 21:06:52,132 com.apple.audio.DriverHelper[1088]: The plug-in named AirPlay.driver requires extending the sandbox for the mach service named com.apple.wirelessproxd.
    11/12/14 21:06:52,146 coreaudiod[1087]: 2014-12-11 09:06:52.145826 PM [AirPlay] BTLE discovery removing all devices
    11/12/14 21:06:52,147 coreaudiod[1087]: 2014-12-11 09:06:52.146660 PM [AirPlay] Resetting AWDL traffic registration.
    11/12/14 21:06:52,147 coreaudiod[1087]: 2014-12-11 09:06:52.146988 PM [AirPlay] Deregister AirPlay traffic for AWDL at MAC 00:00:00:00:00:00 with target infra non critical PeerIndication=0 err=-3900
    11/12/14 21:06:52,149 discoveryd[51]: AwdlD2d AwdlD2dStartBrowsingForKey: '_raop' Browsing service started
    11/12/14 21:06:52,149 discoveryd[51]: AwdlD2d AwdlD2dStartBrowsingForKey: '_airplay' Browsing service started
    11/12/14 21:06:52,150 com.apple.audio.DriverHelper[1088]: The plug-in named BluetoothAudioPlugIn.driver requires extending the sandbox for the IOKit user-client class IOBluetoothDeviceUserClient.
    11/12/14 21:06:52,150 com.apple.audio.DriverHelper[1088]: The plug-in named BluetoothAudioPlugIn.driver requires extending the sandbox for the mach service named com.apple.blued.
    11/12/14 21:06:52,150 com.apple.audio.DriverHelper[1088]: The plug-in named BluetoothAudioPlugIn.driver requires extending the sandbox for the mach service named com.apple.bluetoothaudiod.
    11/12/14 21:06:52,153 coreaudiod[1087]: Logging disabled
    11/12/14 21:06:52,170 coreaudiod[1087]: 2014-12-11 09:06:52.170272 PM [AirPlay] AirPlay: Performing audio format change for 4 (AP Out) to PCM/44100/16/2 for output and  for input
    11/12/14 21:06:52,170 coreaudiod[1087]: 2014-12-11 09:06:52.170473 PM [AirPlay] AirPlay: Performing audio format change for 4 (AP Out) to PCM/44100/16/2 for output and  for input
    11/12/14 21:06:52,398 bluetoothaudiod[1089]: Logging disabled
    It looks like there's some problem with Airplay? I didn't even know what Airplay was until now but after looking for some information I don't understand what has Airplay to do with playing sound over firewire.
    I tried to disable Airplay on System Preferences > Display. I removed com.apple.airplay.plist from Library/Preferences but the results are the same
    Please a need help with this. It's getting really frustrating. I'm trying to get help from Focusrite support as well.

    In case another poor man like me run into this issue, here's how I solved it:
    First of all, I removed Saffire Mix Control entirely following this guide:
    http://global.focusrite.com/answerbase/how-do-i-remove-saffire-mixcontrol-from-m y-mac
    In addition to that I did this:
    1. Mac HD > Library > Preferences > Audio and in there please delete the two preference files
    2. Finder > Go > Hold down the "Alt" key and click on the library folder. In there please trash the file "com.apple.audiomidisetup.plist" (in case it exists)
    Then I emptied the trash, restarted system and reinstalled Saffire Mix Control 3.5
    Problem solved.

  • Mixing MP3 sound

    I have been trying to find a way to mix (not merge) multiple mp3 sources. JMF itself cannot do this, and the only example I can find of JavaSound (AudioConcat example) assumes the inputs are sampled source. This fails with a compressed format like MP3 which returns a frame size of -1 and causes an array size exception in the AudioConcat example:
    MixingAudioInputStream.read(byte[], int, int): begin
    MixingAudioInputStream.read(byte[], int, int): requested length: 4096
    MixingAudioInputStream.read(byte[], int, int): channels: 2
    MixingAudioInputStream.read(byte[], int, int): frame size: -1
    MixingAudioInputStream.read(byte[], int, int): sample size (bytes, storage size): 0
    MixingAudioInputStream.read(byte[], int, int): big endian: false
    MixingAudioInputStream.read(byte[], int, int): encoding: MPEG1L3
    Exception in thread "main" java.lang.NegativeArraySizeException
         at MixingAudioInputStream.read(MixingAudioInputStream.java:185)
         at java.io.SequenceInputStream.read(Unknown Source)
         at java.io.SequenceInputStream.read(Unknown Source)
         at java.io.InputStream.read(Unknown Source)
         at com.sun.media.sound.WaveFileWriter.writeWaveFile(Unknown Source)
         at com.sun.media.sound.WaveFileWriter.write(Unknown Source)
         at javax.sound.sampled.AudioSystem.write(Unknown Source)
         at AudioConcat.main(AudioConcat.java:289)Does anyone have example code to mix mp3 sound?
    Thanks!

    It may come to that... but this was intended to be an applet where the sound files are coming from the server, mixed in the applet (according to user control), and output to the user's sound card. The size of the WAV files might make this impractical, but it might be worth a try.
    I am wondering about the mp3 processing... is not the data uncompressed and at some point back in sampled form? I am just not sure where in the chain this happens, and if the samples can then be mixed in the usual way.

  • Can you record sounds and save as a ringtone with the IPhone4?

    I'm new to the IPhone. All other phones I' ve used in the past I could save sounds and use them as a ringtone. I just can't seem to figure it out with the I4. Can it be done?

    You can record sounds with the Voice Memos app, then sync them to your computer by selecting "Include voice memos" on the Music tab of y0ur iTunes sync settings and syncing your phone.  Once synced to your computer they will appear in a Voice Memos playlist that iTunes creates on the left sidebar.  Then you have to convert it to a ringtone using iTunes as shown here: Create free ringtones with iTunes 10.  After this is done, you can check the ringtone in your iTunes library, then check Sync Tones on the Tones tab of your iTunes sync settings and sync.  Custom ringtones will appear in Settings>Sounds>Ringtone at the top of the list.

  • We are recording 2 voices over an instrumental track. Every time there is a rest in the vocal part the volume of the instrumental track noticeable increases. Is this fixable? We are using Alesis multi mix 8 with 2 microphones.

    We are recording 2 voices over an instrumental track. Every time there is a rest in the vocal part the volume of the instrumental track noticeable increases. Is this fixable? We are using Alesis multi mix 8 with 2 microphones.

    Badger33rk wrote:
    Every time there is a rest in the vocal part the volume of the instrumental track noticeable increases.
    turn the Ducking menuItem off

  • Recording sound with Soundbooth

    I managed to record sound with the system 'sound recorder', but when I try to record sound in soundbooth with the same mic (simple cheap mic) there is nothing showing on the meter and nothing records. Can somebody please explain to me what is the problem?

    While Premiere and Soundbooth both support a Windows audio standard called ASIO, both also include a driver that will let you use audio devices that do not support this format.  The driver is configured by default, but may not always select the proper input port - depending on the audio device and what Windows reports to the application.
    Fortunately, it's not too difficult to tinker around and find the right setting.  In Soundbooth, choose Edit > Preferences > Audio Hardware...  In the dialog that pops up, you should see a drop-down labeled "Default Device"  If you are running Soundbooth CS4, you should see "Soundbooth 2.0 WDM Sound" listed here.  Click the Settings button, and in the new dialog, click the "Input" tab.  Here you'll see a list of input ports for your selected audio device.  Make certain your microphone port is enabled, and click OK a few times to get back to the main program.  Click the Record button and make sure the microphone input is selected in the Port: dropdown.  Try recording and see if this solves the problem.
    If it still does not record, or you do not see the proper input to enable, you may need to verify the proper audio device is selected, or if you're running Windows Vista, that the input port you want to use is enabled in Window's Audio settings.  You can find this by right clicking on the speaker icon in your system try and choose "Recording Devices."
    Good luck!
    Durin

  • Recording Sound with video

    I was previously able to record sound at the same time that I captured video, now I can't. I use the on board camera to capture video and an external mic. I need to know how to capture video and sound simultaneously.

    Go to your Sound in the System Preferences and see if it is set up properly and you can test the microphone there. Then open up iChat prefernces, Audio/Video and see how that is set up and see if your audio works as you speak there. there have been some problems with that, and i think you fix it by resetting the PRAM or NVRAM
    http://support.apple.com/kb/ht1379
    worth a try
    roger

  • IMovie not recording sound with iSight image

    In system preferences > sound, I have Built-in microphone selected. But Audacity won't record sound (never works anyway) and iMovie will record image from the iSight, but no sound.
    What am I missing?

    You're welcome. After further investigation, not only does the volume in the system preferences affect the mic, the actual "voice over" (microphone icon) does as well, even though I'm recording with iSight and not, specifically, a voice over.
    However, fantastic YouTube video diaries or whatever they're called must be done on a PC or a Mac that knows how to shut up. If there's one thing right now that's about to make this computer fly through the air, it's the fans that rev up to 6000 and even an external mic picks up the noise. Not much I can do about it. Maybe Snow Leopard and iLife '09 solved the issue.

  • Record sound from microphone with flash player lower than 10

    Hello,
    Is it possible for me to record sound from a microphone using a lower version of flash player, say Flash Player 9?
    Thanks
    PM

    As I know it's possible with Player 9:
    Package
    flash.media
    Class
    public final class Microphone
    Inheritance
    Microphone EventDispatcher Object
    Language Version :
    ActionScript 3.0
    Runtime Versions :
    AIR 1.0, Flash Player 9

  • Distorted / choppy recorded sound with Audigy 2 ZS and Vista 64-bit

    Hi, I wonder if anybody has any idea of why this issue is happening. First let me give you my PC specs:
    CPU: AMD Phenom II X4 940 @ 3.0 GHz
    Mobo: Gigabyte GA-M57SLI-S4 rev. 2.0
    Graphics: 2 x BFG GeForce 8800 GT 52MB
    RAM: 4 x GB G.Skill PC6400 @ 800 MHz
    Sound: Creative SB Audigy 2 ZS
    TV Tuner:? Hauppauge WinTV PVC PCI II (26xxx)
    OS: Windows Vista Ultimate 64-bit SP
    ?So here's the deal. I have no problems whatsoever with audio playback with this sound card. The issue I am having is while recording sound with it. When I record my voice via a Microphone with the Windows Sound Recorder and then play it back, my voice sounds very choppy. It sounds as if I was talking in front of a fan. The same happens with any program I try to use. If I use Audacity to record sound, the playback is also distorted / choppy. The main problem is with Skype, as I cannot use it to talk to people because they cannot understand what I'm saying because of the issue. Does anybody has any ideas why this happens? My PC is a dual boot PC with Vista 64-bit and XP 32-bit, and this issue only happens with Vista. Sound recorded plays back fine under Windows XP.
    I am using the latest drivers available for this card from the Creative site.
    I'd appreciate your help,
    Daniel

    StormPetrel wrote:
    A little bit off topic here, but 64bit does not mean more performance at all lol.
    Sure, but there are in some cases drastic performence diferences. Under a fresh installed Vista X64 i have less CPU usage, as under 32 bit. But of course X64 uses more RAM (some tasks are double 32 and 64 bit).But the main reason I have more performence is, that the games I often play, get almost a boost. Dont ask me why, but under 64 bit EAW and FOC have the same FPS as under 32 bit. But under X64 I use a bit more Details and a higher resolution. (both are 32 bit games, so its a bit funy )?______________________?Sure there are other ways to install the drivers. But if some Setup dosent work, the first thing I try is to get it via Divice Management. And as this worked for me, I dont waste time to try other methods (Had bad experience, you can break the driver faster than install it *G*)?______________________?Some Questions I have left (after a few hours undr X64 with Creative Drivers):?Could it be, that the driver causes sometimes havy CPU usage?Could it also be, that the driver causes some lags, after you copy a file (the end sound, copy is finihed, but takes more time for "final finish", than without the drivers) - I know that Vista has some problems, on some PCs with copy, and that MS has an inoficial Patch (but dosent help for my PC so far)

Maybe you are looking for

  • Labelling weeks in iCal (explanation inside)

    Hey My University uses a "week number" system in timetabling, so instead of saying "Week Beginning October 8 2007", the week of October 8 is referred to as "Week One" - the following week is "Week 2" and so on. Because of the number of lectures and s

  • Central Instance Error on WIndows 2003 MSCS on  oracle 10g

    HI All, Im installing central instance on node1 on local disk and im getting the following error.Can any one help me out pls sapinst log INFO 2008-01-23 15:24:42 Copied file 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/HA/ABAPJAVA/CI/keydb.xml'

  • HT204387 connect ipod to blackberry via bluetooth

    can anybody help me, how to connect ipod touch 5th to blackberry ? i tried to connect it but the message show "bluetooth not supported".

  • How can I get iPhoto on my Mac to recognize my new iPhone 6?  (iTunes does recognize it!)

    I got one of the new iPhone 6s (the smaller version) and it's been working great.  I was able to restore an old backup from my 4S and transferred everything over.  iTunes recognizes the new phone and I've had no problems bringing files within apps on

  • Sales order creation, Line item error

    Hi.... Iam created one sales order with BAPI techniue.i.e type stand alone order. After creation VBELN generated successfully. Now, if i save the order from VA02 it was displaying following message in popup window... LINE ITEMS HAVING NO QUOTA OR TER