I just started editing wav files using audacity for my macbook air. I had been using audacity flawlessly for a long time on my pc. The problem I’m having is that when I add opening audio to my podcast and export the file it creates static within the first few seconds of the song. When I overlay audio at the end of my podcast this doesn’t happen. This doesn’t happen on my pc. I’m puzzled. Any ideas?
This is a know issue on Mac (and one that has been astoundingly difficult to pin down). It happens when there is “white space” (an area with no audio, not even silence) at the beginning of at least one track in a project.
The solution is to select the “white space” and do Generate > Silence into the white space.
Can you supply the parts, clips and songs you used to get this problem? Obviously, if this is a two hour long show with hundreds of clips, then no, but if it’s a simple show and you can make this failure whenever you feel like it, you have just become a celebrity.
When I said it is difficult to pin down, I meant that it is difficult to find in the code why it is happening, and only on Macs. It is pretty well guaranteed to happen on Mac, as I understand it. I can create a project in one minute that demonstrates it. Sometimes the buzzing is loud, sometimes it is “just there” but there is definitely something strange going on.
– Bill
I can’t reproduce the problem on my Mac Mini with the built-in sound device, merely by creating any arbitrary project where one track does not start at zero. But lots of people (not everyone) have that problem on MacBook Pro and/or external sound devices and/or Mavericks/Yosemite. Moreover, it’s often said that the problem only happens if the uppermost track has white space at time zero.
In reality there are several moonphase Mac playback issues which are very hard to disentangle. I don’t even know if Bugzilla entries would make much sense. One known issue is that later Mac OS X using later Audacity often requires lower “Audio to buffer” settings in Audacity recording preferences than earlier OS X/earlier Audacity does. At default 100ms, there may be crackle or buzzing even on single tracks that start at time zero.
Do you agree, Bill, that if you get an old enough Audacity version from Audacity 2.x or 1.3.x that your playback problem goes away where some tracks start with white space?
With my late-2011 iMac 27", with all standard drivers, I can create the buzzing, but (as Gale points out) only if it is the first track that does not start at zero. The export does not (in this case, anyway) contain the crackle (using triangle dither or no dither). Also, sometimes (but not always) clicking in the timeline to start playback after zero (but during the white space) does not produce crackling on playback.
I get the same crackle on my new mini, so now I just gotta get a build environment set on on Yosemite…did it once…reinstalled Yosemite…didn’t bother to set up the build env again.
Incidentally, I wasn’t getting the crackle at first. I then went into AMS and changed the output device to 48000, 24-bit integer. Then it started to happen. But, it only happens on the first play. Any subsequent play works fine.
Off the top of my head, it might be some left over cruft from the device scanning that is done at startup and that playing/stopping the device clears it.
I’m pretty sure it’s caused by a mismatch in sample rates between what the hardware is wanting and what Audacity is sending to it.
Using one of the crackle.aup project above, I’m able to make the problem stop by ensuring that the sample rate on Audacity’s Quality Preferences tab is the same as what I have set in AMS for my output device.
Any difference and the problem occurs.
Again, it’s only for the first Play. All subsequent ones are okay.
And (this really sucks) I can’t get it to happen in Debug builds, just Release builds.