Wav file distortion problem

When putting radio programs together, I'm adding .wav files to .mp3 files in the multitrack view in Audition 3.0 and they sound fine to start with.  When I export the file to mp3 and listen to it in the edit view the .wav spots that I added sound distorted, as if there are 2 or 3 spots playing on top of each other.  I go back to Multitrack view and they also now sound distorted.  The other thing that happens is that sometimes once I export something of say 10mins, it only saves the first 20 seconds or so!  It doesn't happen every time but it is quite often.  If I go to another computer it seems to work fine and nobody else I know seems to get this problem which makes me think it must be my laptop.  Any idea what is causing these issues?  Maybe my Audio hardware or sample rate?  Please help!  Thanks.

jonnykibbs wrote:
To be honest I'm not sure what the levels are,
Surely you can see on Audition's meters what the signal is peaking at? If levels are peaking very near to '0' then when you encode to  a lossy format like .mp3 you can generate levels above '0' and which lead to clipping and distortion.

Similar Messages

  • Having problem storing incoming MU-LAW to PMC WAV file

    Hi,
    I am able to receive ULAW/rtp, 8000.0 Hz, 8-bit, Mono stream and play it using the Player class. What I need to do is to store the stream data into WAV file. I have followed the JMF tutorial to set the output file format. I can also create the WAV file no problem. But when I try to play the gnerated WAV file using Windows Media Player, it says : Windows Media Player cannot play the file. The Player might not support the fle type or might not support the codec that was used to compress the file.
    Does anyone know what is wrong with my code?
    I am attaching the code below:
    stream = ((NewReceiveStreamEvent)evt).getReceiveStream();
    DataSource ds = stream.getDataSource();
    // Find out the formats.
    RTPControl ctl = (RTPControl)ds.getControl("javax.media.rtp.RTPControl");
    if (ctl != null){
    System.err.println(" - Recevied new RTP stream: " + ctl.getFormat());
    } else
    System.err.println(" - Recevied new RTP stream");
    if (participant == null)
    System.err.println(" The sender of this stream had yet to be identified.");
    else {
    System.err.println(" The stream comes from: " + participant.getCNAME());
    synchronized (dataSync) {
    dataReceived = true;
    dataSync.notifyAll();
    ProcessorModel model = new ProcessorModel(ds,new Format[]{ }, new FileTypeDescriptor(FileTypeDescriptor.WAVE));
    Processor processor = Manager.createRealizedProcessor(model);
    boolean result = waitForState(processor, Processor.Configured);
    if (result == false)
    System.out.println("process is not configured");
    TrackControl[] tracks = processor.getTrackControls();
    if (tracks == null || tracks.length < 1)
    System.out.println( "Couldn't find tracks in processor");
    Format supported[];
    Format chosen = null;
    boolean atLeastOneTrack = false;
    for (int i = 0; i < tracks.length; i++)
    Format format = tracks.getFormat();
    if (tracks[i].isEnabled())
    supported = tracks[i].getSupportedFormats();
    // Here we choose the ULAW format ...
    if (supported.length > 0)
    for(int k=0; k<supported.length; k++)
    if(supported[k] instanceof AudioFormat)
    String encoding = supported[k].getEncoding();
    System.out.println("encoding = " + encoding);
    if(encoding.indexOf("LINEAR") != -1)
    chosen = supported[k];
    break;
    tracks[i].setFormat(chosen);
    //tracks[i].setFormat(new AudioFormat(AudioFormat.LINEAR,8000,16,1));
    System.err.println("Track " + i + " is set to transmit as: " + tracks[i].getFormat());
    atLeastOneTrack = true;
    } else
    tracks[i].setEnabled(false);
    } else
    tracks[i].setEnabled(false);
    if (!atLeastOneTrack)
    System.out.println( "Couldn't set any of the tracks to a valid RTP format");
    // create a player by passing datasource to the Media Manager
    result = waitForState(processor, Controller.Realized);
    if (result == false)
    System.out.println( "Couldn't realize processor");
    MediaLocator dest = new MediaLocator("file://c:\\tmp\\dddd.wav");
    DataSink sink = Manager.createDataSink(processor.getDataOutput(), dest);
    sink.open();
    sink.start();
    processor.start();
    Thread.sleep(5000);
    processor.stop();
    sink.stop();
    sink.close();
    System.out.println("sink close");
    Thank you very much in advance for all your help.
    JB

    outraspace wrote:
    Hi,
    I am able to receive ULAW/rtp, 8000.0 Hz, 8-bit, Mono stream and play it using the Player class. What I need to do is to store the stream data into WAV file. I have followed the JMF tutorial to set the output file format. I can also create the WAV file no problem. But when I try to play the gnerated WAV file using Windows Media Player, it says : Windows Media Player cannot play the file. The Player might not support the fle type or might not support the codec that was used to compress the file.
    Does anyone know what is wrong with my code? Lots of things. As tbm pointed out, don't use a processor model. Use create a regular processor, and then create a ContentDescriptor object with all of the formatting you want, and set that on the Processor.
    In your code "Here we choose the ULAW format", it doesn't appear that you're chosing ULAW. It appears you're chosing linear encoding. ULaw isn't linear, it's logarithmic, so certainly that's not the right format.
    In the examples I've seen, the processor is started before the DataSink is started. You're doing this in reverse.
    If you plan to configure a processor, do not get a realized one. That's like say "I'd like some ice cream", going out and buying ice-cream sandwiches and scraping out the ice cream...
    You should disable all of the tracks except the ones you want data from. That means if it's not an audio format, you'll want to go ahead and disable it.
    Without nitpicking anymore, I have no idea where your sample code came from, but it seems pretty useless. The best idea would be to take your code, delete it, and start over with the following code:
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/RTPExport.java]

  • Distortion after converting wav file to mp3

    Hello,
    I am working with a .wav file of 8k sample rate, 16-bit, mono of a Skype conference call that was recorded through the computer. The wav is file is Microsoft ACM: Microsoft ADPCM. The audio quality of the original is not great, as you can imagine, but when I make my edits and convert to mp3 it sounds horrible. I don't know the technical term for it, but it sounds muffled and distorted--the effect you get when you cup your hand in front of your mouth and move it around while talking. I'm at a loss for what to do. Is there some setting I need to change before converting? I know it's a low sample rate (I usually work with 44.1K), would that contribute to the problem?
    Any help is greatly appreciated!
    Thank you.

    In a quick test, I was able to get significantly better results with an 8K, 16-bit source converting to MP3 when changing the MP3 setting to 16Khz.  In the File > Save As dialog, after selecting MP3, click the "Change" button next to "Sample Type" and change the sample rate there.  The file size was practically unchanged, but the audio quality was increased and looking at both files in spectral view showed a definite improvement.
    Edit:  Oops, I responded via e-mail and didn't realize this was posted to the Audition 3 forum.  I suspect the results will still be better with the MP3 encoder in Au3 - both are by Fraunhofer.  Here were the differences I saw when writing to 8K vs. 16K.  The resulting file was 29KB in both cases.
    MP3 saved at 8K Sample Rate setting
    MP3 saved at 16K Sample Rate setting.

  • Tempo problems with imported wav files

    Hey everyone, sorry if there's a quick fix for this in the forums that I couldn't find, but I've been having some tempo problems with imported .wav files.
    Long story short, my system couldn't handle playing all the tracks for a song while recording drums, so I bounced out an mp3 of the song and put it in a new Logic file so my drummer could just play along to that as I recorded him. Unfortunately, the original song is at 167 bpm, but I forgot to change the bpm in the new Logic file with the .mp3 file of the song to 167 bpm, so it was left at the default 120 bpm.
    So, the drums were recorded at the correct 167 bpm, but Logic thinks that those new drum .wav files should be played at 120 bpm, so when I import my drum tracks back into the original file, they do not play correctly at all.
    I could get record it all again, but I wanted to check if there was a way I could salvage what I already have, since my drummer lives about an hour away right now and can't just come over whenever he wants.
    Thanks for the help! I really appreciate it.

    Hi,
    First, do not use MP3 in Logic, the sound quality is less than AIFF, WAV or CAF, and Logic has to decode it for playback, making it a heavier burden on the CPU than an uncoded audiofile, such as AIFF, WAV or CAF.
    Secondly, audio files are independent of Logic's tempo. If you bounce down an audio file in any format (other than Apple Loop), it will play back at the same speed, +regardless of Logics' tempo setting+, either at recording or playback. Logic doesn't 'think' anything. The BPM is only important to MIDI tracks, or to the spacing between audio files. The audio files themselves *are not affected* by the tempo setting. If you import an audio file of tempo 167 into a 120 BPM project, the file will still play at 167, only Logic will indicate the wrong bar positions.
    regards, Erik.

  • Problem in playing back mp3 which was recorded as wav file

    Hi all,
    I have recorded sound using my program. It uses classes like AudioSystem. And it's
    able to record and play also. but in my site I have an mp3 player. So i thought of converting the recorded wav file into mp3. For this i used LAME utility in Linux. And it was converted. Also it is being played in normal players like Winamp. But when i try to play this converted mp3 file using my player in my site it's having problem. Why is it like that?
    Should i do something while capturing the sound from microphone so that it can be converted into mp3 format??
    Or
    Can I directly capture voice to an mp3 file??
    In my program,
    targetDataLine.open(audioFormat) where audioFormat is like
    float sampleRate = 8000.0F;
    int sampleSizeInBits = 16;
    int channels = 1;
    boolean signed = true;
    boolean bigEndian = false;
    Should I do something more or change something??
    Please help me...
    Thanx and Regards,
    sand...

    Thanks Walter.
    Unfortunately, the same issue happens... In whichever window I select "Bounce" from -- Environment, Audio Mixer, or even FILE > BOUNCE -- a window titled "Bounce 'Output 1-2' " pops up. I'm guessing this is what you mean by the "Bounce Output Window." But, there I'm only able to name the file in the "Save As" field, choose where to bounce the file to on my harddrive, and then click on "Bounce" in the bottom-right of the window. I have no tabs or anything else to choose from. So I'm still a little stumped. Any additional thoughts?
    I really appreciate the help.

  • Problem with cdrdao reading .wav files

    Hi,
    I have being having problems with using cdrdao to read .wav files that I created from other sources (.flac, .ogg and .mp3) using flac123/ogg123/mpg123.
    Basically, this is the error
    [phil@discovery hack]$ cdrdao simulate --device /dev/cdrom1 toc
    Cdrdao version 1.2.3 - (C) Andreas Mueller <[email protected]>
    ERROR: ./01_achilles_last_stand.wav: not in PCM format.
    ERROR: Header of audio file "./01_achilles_last_stand.wav" is corrupted.
    The 'toc' file contains....
    [phil@discovery hack]$ cat toc
    CD_DA
    TRACK AUDIO
    COPY
    NO PRE_EMPHASIS
    TWO_CHANNEL_AUDIO
    FILE "./01_achilles_last_stand.wav" 0
    START 00:02:00
    Having used the 'cdrdao' program previously, I am pretty sure the 'toc' file is sane. 
    I then noticed a difference between .wav files using the 'file' program:
    [phil@discovery hack]$ file *.wav
    01_achilles_last_stand.wav: RIFF (little-endian) data, WAVE audio, stereo 44100 Hz
    test.wav:                   RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz
    I found that the 'test.wav' file  worked when substituted as the FILE in the 'toc' file......
    With a bit of research I found a work around, namely to convert the .wav file to another .wav file using 'ffmpeg'.
    [phil@discovery hack]$ ffmpeg -loglevel quiet -i  01_achilles_last_stand.wav -f wav -ar 44100 -ac 2 test2.wav
    The resulting files...
    01_achilles_last_stand.wav: RIFF (little-endian) data, WAVE audio, stereo 44100 Hz
    test.wav:                   RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz
    test2.wav:                 RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz
    Changing the 'toc' file to pick up the two test* files worked fine.
    Does anybody know either a better fix or the reasons why this is happening?
    Regards
    Phil Q

    I am not sure I understood what you actually did or intended.
    Did you plug in the camera cards into a card reader and import with Lightroom, copy to destination on one portable HD?
    That should work.
    As soon as you unplug the portable HD, the storage location will be labeled as offline and all thumbnails have the "?". As soon as you replug the portable HD and ensure that it has the same drive letter as before, the "?" will vanish.
    The "?" indicates that the file is not accessible at the storage location which you told LR during import.
    It has nothing to do with being able to save.
    Note: only in importing with "copy" chosen will LR actually touch a file (and copy it to the indicated storage location). Inside LR there are only records pointing to the image files and holding all sorts of descriptions, like metadata and develop instructions.
    If you use NX2 for the task to copy images from camera card to portable HD, and import them afterwards to LR (add in import settings), that makes no difference.
    LR will show the "?" whenever the portable HD is unavailable or the path invalid because with a different drive letter.
    Cornelia

  • Problem with .wav files not being able to play on CD players

    What am I doing wrong? I took some .wav recordings, loaded them into iTunes, then transferred to a CD-R. The files from the CD-R would play on both Mac and PC computers, but not on any CD players. When loading the files, they automatically went into iTunes. Should I have somehow put them into Garage Band - would that even make a difference? I thought maybe my discs were bad/wrong, so purchased Music CD-R and have the same problem.
    Please, can someone help? Thanks!

    Although WAV files have the same audio coding as an audio CD, a disc full of WAV files does not act like an audio CD; it lacks the indexing and ToC needed in order for a "regular" CD player to play it. As Diane notes, put your WAV files in an iTunes playlist and burn it as an *audio CD.*

  • Problem with an import of .wav files

    Hello everyone,
    I have a very annoying problem when I try to import a wave file: FCP doesn't respect the length of the audio file. It stretches it!
    The audio file is the final mix of my film which lasts 59min25sec.
    Exported from ProTools, the Finder sees the file as 59min25sec, idem for QuickTime Player 7. Everything is normal.
    When I import it in Final Cut, it sees it as 59min21sec Stretched...
    Help !

    Thanks for your answers!
    @ darbypsnm and 2reverb
    It's a stereo 48KHz 24bit file. I did a try with a 48KHz 16bit version: same problem...
    I can read it on the specs that show me Final Cut and when I place the sound file on the timeline of my editing, a progressive desync happens.
    @ Michael Grenadier
    Ok I will check this but I think I've already done it...
    I'm not sure it's a matter of frame rate because 4 seconds of length difference on a 1 hour film is not enough for a 25fps/30fps misunderstanding...
    I'll do some further tests based on all your advises. Thanks again!

  • Problems converting WAV file

    I'm trying to convert a ~250MB wav file to an MP3 using iTunes and I keep getting an error message that says:
    "The disk could not be read from or written to". I can't play the file in iTunes either.
    Does anyone know what the limit is for converting such files?
    Anyone have any suggestions? I'm gonna try using GarageBand to convert the file perhaps...

    If Garageband doesn't work, try Audacity.

  • ITunes update and WAV files

    I recently updated my iTunes and since then my WAV files playback very distorted. Not being a mac boffin I tried to retrieve my old iTunes through my timemachine. This told me that I didn't have enough privileges with iTunes to carry out the function.....now I can't access my iTunes at all. How can I sort this all out?

    VictorSMiller wrote:
    I have a number of WAV files on my PC (from an Olympus digital recorder). Before iTunes version 8, the played just fine. Starting with version 8, they all play extremely noisy and choppy. I've tried playing selected files on Quicktime and they all play just fine. Clearly some sort of bug was introduced in version 8. Has anyone else encountered this?
    Victor
    Yes, that problem with WAVs from voice recorders has been reported here several times. Haven't seen anything about a fix. Converting the files to MP3 will probably help.

  • Corrupt wav files in Adobe but play fine in other apps

    I have some old projects that have been backed up several times.  The problem is some of the sound files appear corrupt when I load them into Adobe Audition.  The sound plays all distorted with VERY LOUD clicks/pops in it.  However, I can play the same files just fine in any standard media player (Winamp, WMP, VLC player)
    I tried opening the project in the new Audition but same thing happens.  I've also tried the "Open As" option and specifying what windows reports as it's sample rate etc but it comes out the same.  Most of the other wav files in the projects work just fine, but one here and there is like this and is preventing me from remixing anything.  Worst case scenario I suppose I could play the file in winamp and record it but then I'd have to match the timing up and everything and I just don't have the motivation to do that on all these projects.
    http://home.comcast.net/~chicken3/Track17.zip
    This is one of the files if somebody wants to take a moment and look at it.  I just don't understand why winamp and all of them can play it fine if it was corrupt in any way, other than VLC which I know doesn't need file headers to play properly most of the time.
    Below is a pic of what the wave looks like in Audition.  Oh, and Reaper reads the files just fine as well, if I hadn't trimmed all my wav files down i'd just paste the whole project into Reaper and remix but unfortunately I trimmed all the files already.

    Well as I said it plays in standard media players such as Winamp (which generally will not play a file with a corrupt header or any sort of problem like that)  However I checked it out in that app you mentioned and the results seem normal to me.  I've tried Open As in Audition and I can choose the 44.1KHz and 32 bits but it opens the same as it did before.  So far I've only noticed 32 bit files with this problem but it's possible it has nothing to do with that.  Again, the file plays fine in all standard players, and Reaper and other audio apps open it just fine.  Audition will not.
    Format                           : Wave
    File size                        : 36.8 MiB
    Duration                         : 1mn 49s
    Overall bit rate                 : 2 822 Kbps
    Audio
    ID                               : 0
    Format                           : PCM
    Codec ID                         : 1
    Codec ID/Hint                    : Microsoft
    Duration                         : 1mn 49s
    Bit rate                         : 2 822 Kbps
    Channel(s)                       : 2 channels
    Sampling rate                    : 44.1 KHz
    Resolution                       : 32 bits
    Stream size                      : 36.8 MiB (100%)
    Edit: Downloaded goldwave trial just to see, it opens flawlessly in Goldwave.  I suppose I can try resaving the files from within goldwave and see what happens...Audition is really pissing me off.

  • HI, I am having trouble when importing .wav files into logic.

    Everytime I import this .wav file of a DJ set i recorded, it shows me the waveform but no sound comes out when its played. I have tried converting the bitrate to 16bit and the filetype to aiff as I saw it had helped people with similar problems but when i do this its boosts the gain massivly and the recrding becomes very distored? Really dont know what to try??
    Also the reason I am trying to get the Wav in was bevause i need to normalise it as it had to be recorded very quitely to avoid distortion on the recording. I recorded it by using the imput on the back of my monitors as they are usb, and th programme i used to record it is "audio recorder tool" from the app store
    Thanks for your help, Joe

    I think the problem is you're recorded 32-bit wav files which Logic doesn't support.
    (don't convert to aiff, unless you have the right program, that understands converting little endian 32 bit wavs to big endian aiff format, you will get distortion)
    I think your best bet is to download "Audacity" the free audio editor and convert to 24-bit WAV files. Re-save the audio file under a different name after converting. In Audacity this is done using the Export function, selecting other non-compressed formats.
    http://audacity.sourceforge.net/download/mac
    The reason you want 24-bit WAVs to work with is you're going to be raising the volume of the file, 24-bit files will suffer less damage when editing with plugins, normalizing...etc.

  • Merge/append/concatenate wav files

    hi,
    I would like to ask.. does anyone knows how i can go about appending 2 PCM wav files to a new wav file with different format without any sound distortions?
    Lets say i have 2 PCM wav files..
    Eg:
    1.wav
    numChannel = 1(mono)
    sampleRate= 16khz
    bitsPerSample = 16bits
    2.wav
    numChannel = 2(stereo)
    sampleRate= 44khz
    bitsPerSample = 16bits
    I am able to append 2.wav to 1.wav but because the new wav file's header takes the format of 1.wav, the sound for 2.wav gets distorted.
    What should i do/change so that both files when appended, play exactly as they originally sound without distortion to either file?
    Pls help. Any suggestions are appreciated. thanks.

    I doubt that the problem is coming from the joining. Try putting just one file through the process, without adding anything alse to it. Try to simulate it as closely as possible. If that eliminates the hissing, then check to make sure you're not coming in on the wrong offset. If that doesn't work, no clue.
    If it doesn't eliminate the hissing, there's probably a problem with data conversion, i.e. casting or chopping or mangling in general.
    if(simulate with one eliminates hissing)
          check for offfset errors;
          if(still hisses)
              no clue;
    else
          check for data mangling;
    }

  • Wav file from remix stem pack has no volume - Logic Pro 9

    I recently downloaded a remix stem pack and can't get the vocal wav file to play. It show's a wave form, but no volume. If I load a sample wav file, a drum hit for example, it will play no problem. Anyone have any idea's? It's not the wav file as it plays in itunes, and also plays in my friends logic pro.
    Thanks

    The hierarchy is [LOGIC FILE NAME]>LgDoc>(files ... Displaystate, DocumentData, Windowimage.jpg)
    Like this:
    You need to recreate the folder structure in order to be able to open the file.  (look at the path bar at the bottom of the picture.)
    Do not disassociate the displaystate from the documentData files.  They should be together.  The windowimage file is optional and will be recreated when the file is saved again.
    Hope this helps!

  • How can i create a .wav file from an array in v5.0?

    I am trying to output an aquired vibration trace as a .wav file.

    Hi Brian,
    no problem, see attached file.
    The file called "To Wav.vi"
    Hope it help you.
    Mike
    Brian wrote:
    > I am trying to output an aquired vibration trace as a .wav file.
    Attachments:
    To_Wav_Folder.zip ‏53 KB

Maybe you are looking for

  • Dynamic file name ?

    Hi, I am following this blog to name the target file/directory dynamically at the runtime : /people/sameer.shadab/blog/2005/09/23/an-interesting-usage-of-variable-substitution-in-xi But I am getting this error in the CC monitoring : Could not process

  • How to create a table in MS Access from Labview using ActiveX?

    I want to transfer datas from Labview to Access using activeX method. My only problem is to find out how to create a new table (array) in Access from the Labview program. Remarks: I use Labview 6i and MS Access 2000. For the moment I can write and re

  • Uifonts.ali/barcode font aliasing on Solaris

    Hello folks.. I'm running Oracle Reports 10g on a Solaris box. I am needing to print barcodes on PDF reports I generate. I have installed a TrueType font on my Windows box called Code39Azalea.ttf and did the same thing on the Solaris box. On the Sola

  • Posting incoming payment ismore than the net due

    Dear Experts, How can we do the transactions where in the customer incoming payment is more than the net due. with regards Ramesh Y

  • Making an image explode into particles

    I have a photo of a face and I want to have a small object move in and when it touches the face, the face explodes into a bunch of particles that swirl and fly away. I get a sort of kalaedoscopic effect when I just use make particle option on the fac