Stop sound and start over without "pop"

I need to be able to interrupt and restart a short (3-4 second) sound file while it's still playing. Seems simple enough, but with both SoundEngine and AudioServices it causing a "popping" sound as it restarts. Is there any way to avoid this? I tried stopping the sound first with SoundEngine before starting it but it doesn't make any difference. (The waveform for the sound starts at zero, in case you're wondering.) Thanks for any help you can give me on this...it's been driving me crazy.

Yes Craig, my response was assuming you were using AudioQueue - I do not know much about SoundEngine but I see from looking at the code that it is based on AudioQueue.
I disagree with ramping of the volume - it seems to me this is just masking a problem in management of the buffers. Whatever is in your buffer is what will be sent to the output device when you start it. That is why you prime the buffers in the first place. AudioQueue implements a pause. You may want to update SoundEngine to use that rather than do a start / stop. Although if your intention was to restart the track from the beginning you want to use stop then start and will have to make sure the buffers are cleared out and re-primed with data from the beginning of your audio file. I do not know if SoundEngine is set up to properly handle this use case.

Similar Messages

  • Can't download Mavericks. Download is stuck. How can I stop it and start over?

    Tried to download it several weeks ago and closed my macbook about halfway through. The download wouldn't resume. My only options are pausing and resuming it, neither of which work. It's just stuck there. My launchpad icon has the download bar underneath it halfway complete. How can I just cancel it and start over?

    http://www.apple.com/support/mac/app-store/contact/

  • HT4859 Can I download the icloud information to my computer and delete what is in the icloud and start over without buying more storage?

    Can I download the icloud information  off my iphone 4s to my computer and delete what is in the icloud right now?

    Welcome to the Apple Support Communities
    Sarahwalker310 wrote:
    Help! My photographer sent me a CD full of pictures that I can't access without having an icloud account.
    Can you explain that?
    You have to log in an iPod touch, iPhone, iPad or Mac before > http://www.apple.com/icloud/setup/

  • I have windows and I have synced my ipad for the first time.  I am at step 6 of 6 where it downloading Safari safe browsing data.  It has been at this step for over an hour.  Is  that normal or should I stop it and start over?

    I have windows and I have synced my ipad for the first time.  I'm at step 6 of 6 Downloading Safari safe browsing data. I have been here at this step going on 2 hours.  Is this normal or is something wrong.

    Lyrics aren't supported in the Music app on iOS 5 on the iPad. These are user-to-user forums, they are not monitored by Apple (there are too many forums/threads/messages for that to happen). If you want to leave feedback for Apple then you can do so here : http://www.apple.com/feedback/ipad.html

  • HT4623 please help - installed IOS7 and now I am having problems playing Words Free on my Iphone.  It gives me a pop up telling me to connect to ITunes but will not connect.  Cannot get out and have to continually shut down my phone and start over.

    please help - installed IOS7 and now I am having problems playing Words Free on my Iphone.  It gives me a pop up telling me to connect to ITunes but will not connect.  Cannot get out and have to continually shut down my phone and start over.

    Hi, jeantwin.
    Thank you for visiting Apple Support Communities.
    The steps in the article below may help you resolve the issue with push notifications.
    iPad and iPod touch: Unable to use YouTube or Push notifications
    http://support.apple.com/kb/ts3305
    If the issue persists, try signing out of your Apple ID and then sign back in.
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/HT1311
    Cheers,
    Jason H.

  • The spinning "wheel of death" does NOT go away! I've loaded too much stuff on my computer (including the entire Adobe CS6 software) and I want to delete everything on my macbook pro and start over? How do I clean everything up without buying MacKeeper?

    I use my MacBook Pro (Late 2009) for EVERYTHING and I have loaded so many apps, even doubles of some, I think!   My computer is running really SLOW and I think it is because I don't have enough memory. 
    I just installed the new Adobe CS6 and that was a BIG mistake.  The spinnning wheel of death doesn't stop! I wish I could load that program on my computer so I can use it "on the go", but I can't stand the spinning wheel! 
    I want to clean up my computer and get rid of EVERYTHING on it!!     Then, re-install the factory settings to run Lion.  I believe this will make the wheel stop spinning.
    However, how do I make sure that all of the extra stuff that is attached to the app, ( including all the cache') is deleted too?   I don't want to have to buy MacKeeper! 
    I am hoping the computer wizards or the apple team can give me an answer on how to clean up everything and start over.  I have saved everything on my desktop mac. 

    Thank you so much for the help!  I had heard bad things about MacKeeper and I don't want to screw up my macbook  any more than it already is!  I will do as you suggest.  Do you believe this is the best solution for the problem I described?
    Should I load my Adobe Creative Suite 6 (in the cloud version) on an external hard drive? 
    I am so tired of this spinning wheel....should I avoid putting the CS6 on my macbook pro altogether?
    I have it on my desk top mac, but wanted to be able to take the photo editing with me when I am "out and about".  I know I should probably buy the ipad, which would transport much easier, but even the ipad probably doesn't have the capacity to hold all the Adobe CS6 apps, correct?

  • Previously downloaded songs stop and start over during re-download.

    I have several questions, and I'm hoping that someone can help me out with at least one of them. I have a 4th generation iPod Touch, and recently I had to start syncing to another computer after all of the USB ports on my computer stopped working out of nowhere (help on that issue would also be appreciated). Everything seemed to be working fine, I was manually managing my music and burned some CDs to transfer to my iPod. They transferred smoothly, and then afterwards I moved all of the tracks on the computer onto an external hard drive and deleted them from iTunes because the memory was getting too full. I hadn't even plugged the iPod back in or synced it wirelessly after that, but out of nowhere all of the music from the CDs and 78 tracks that I purchased on the iPod just deleted. I got all but one of the purchased songs back, and with that one, when I re-download it the meter fills almost all the way and starts over (this is all being done from the iPod itself). It has been doing this for several hours. In attempt to move all of the music from the CDs back, I took the music from the external hard drive and manually moved it to my iPod through iTunes. When I look at the iPod in iTunes, it appeared as if all of my music was back. On the device, however, the CDs still weren't there. I eventually gave up hope and ejected my iPod, only to realize that some of my music purchased on the iPod had lost its cover art. In effort to fix this (and this has worked before), I erased all of said songs and started to re-download from the Purchased list in iTunes (on the device). Now, all of the songs in the process of being re-downloaded have a gray music note next to them in the Downloads list and either say "Download error", act like the song mentioned earlier, or do nothing at all. I really just want my purchased music back, so if you know anything about the issue or have experienced something similar, please help me!

    I suggest for you to add all the songs to your iTunes library. Once everything is in place, sync it to your iPod. You may also try wireless syncing as well.

  • My brother-in-law recently passed away. My sister gave his MacBook Pro to my niece. When she opens and starts the laptop, it shows my brother-in-laws name. Is there a way to change his name to her name without formatting the device and starting over?

    My brother-in-law recently passed away. My sister gave his MacBook Pro to my niece. When she opens and starts the laptop, it shows my brother-in-laws name. Is there a way to change his name to her name without formatting the device and starting over?

    BigTex415,
    my condolences for your family’s loss. If all she seeks to do is to change the display name, and she’s willing to leave the account name unchanged, then she could do the following: log in as the administrative user and open the Users & Groups pane of System Preferences. If the padlock in the lower-left corner is locked, unlock it. Select the account that shows your brother-in-law’s name on the left-hand side of the window, and then on the right-hand side, change the text in the “Full name” textbox to her preferred display name. If desired, click on the padlock in the lower-left corner to relock it.

  • I set up time capsule using a wireless 4g modem.  it's been five hours and it still is saying making backup disk available (4.97 GB of 18.52 GB).  Can I stop the whole thing, get a ethernet cable and start over to increase the speed of the backup?

    I set up a new time capsule on a wireless 4g modem.  I started the initial backup.  It's been five hours and it still says "making backup disk available (4.97 GB of 18.52 GB)."  Can I stop the whole thing, connect my computer to the time machine using an ethernet cable and start over to increase the speed of the backup?
    Thanks,
    David

    Bunce wrote:
    oh i already did that. Im working on my imac and looking into this on my macbook. Was able to reproduce the issue again by trying to open TM. Locked out the finder again and had to restart. I checked the serial number and it was an early 2009 purchase with no coverage.
    If you bought a Mac and got AppleCare with it, within 2 years of buying the TC, the TC is covered, too.
    I have to admit that this $500 unit was the first to apparently junk out. The western digital that had my main data on that is my daily external that I store about 2TB of data on is still perfect and the new technology TM appears to already be cashed. Love the computers, not to big of a fan on the externals of the apple TV's. No life expectancy. Neither here nor there.
    suggestions before I either get this looked at or scrap the HD on it and move forward.?
    Reset the TC. See [Resetting an AirPort Base Station or Time Capsule FAQ|http://support.apple.com/kb/ht3728].
    Try a "full reset" of Time Machine, per #A4 in [Time Machine - Troubleshooting|http://web.me.com/pondini/Time_Machine/Troubleshooting.html] (or use the link in *User Tips* at the top of the +Time Machine+ forum).
    If all else fails, take it to your local Apple Store or Authorized Repair location, they may be able to determine whether the disk is dead.
    If it is, they might replace the TC for you. If not, they won't repair it, but if the electronics are ok, you can replace the HD yourself, if you want to. See http://discussions.apple.com/thread.jspa?threadID=2542983

  • My IPhone is asking me to type in my password for my old Apple ID that does not exist anymore. I cant set up ICloud without typing in a password to a Apple ID that does not exist, so do I have to remove everything from my IPhone and start over?

    my IPhone is asking me to type in my password for my old Apple ID that does not exist anymore. I cant set up ICloud without typing in a password to a Apple ID that does not exist, so do I have to remove everything from my IPhone and start over?

    Hello miamat2017
    You should see an option to skip that step and then sign out of it when looking in Settings. Check out the article below for more information.
    iOS 7: If you're asked for the password to your previous Apple ID when signing out of iCloud
    http://support.apple.com/kb/ts5223
    Regards,
    -Norm G.

  • My video download gets about 2/3 of the way through, stops, and starts over

    My video download gets about 2/3 of the way through, stops, and starts over (as if I had never downloaded anything). I have DSL, and it's the only video downloading. Why does it stop and start all over again, over and over? It's really bumming out my iTunes experience. Oh, and I'm running XP, not XPpro.

    Let it go... these DL's take forever, depending on the spped of your connection and the traffic on the servers.
    If by morning it is still sitting there restart and the DL should pick up from where it left off.

  • Is it possible to deauthorize or unsync an iPad without wiping it and starting over?

    Is it possible to deauthorize or unsync an iPad without wiping it and starting over?  My ipad3 and my ex's ipad2 are both synced with my computer.  I have to sign in under his id to update the apps purchased thru his ipad/id (and vice versa) and we'd like to be rid of the connection.  My apps are on his ipad and his are on mine.  We synced both through my computer.  Is there any way to separate the two?

    Once I deauthorize his device from my computer, can he still use the apps under my ID on his ipad?
    I am not familiar with how you would deauthorize his device from your computer, aside from wiping his iPad and not allowing him further access to your account or your content. If he knows your password you need to change it.
    Also, does deleting his apps from my ipad and computer affect the apps from his ID on his ipad?No, his content should be fine on his iPad.

  • HT4889 Hi. I`ve just started transferring from my old Imac to a new Macbook, using the WIFI. But I realize it will take days to get it done. Can I cancel the process, and start over again using the thunderbolt port? Without causing any trouble?

    Hi. I`ve just started transferring from my old Imac to a new Macbook, using the WIFI. But I realize it will take days to get it done. Can I cancel the process, and start over again using the thunderbolt port? Without causing any trouble?

    See Pondini's Setup New Mac guide for possible answers.

  • When you upgrade from Lion to ML, do you need to erase your external backup drive and start over in Time Machine, or does it just automatically pick up from where it stopped with Lion?

    This is a 500 GB G-Drive mobile external hard drive that I've been using since I got my MacBook Pro in '09. So I've had it from Leopard through Lion. Should I have been erasing it each time a new operating system comes out and starting over?

    No - just continue to use Time Machine as you have always been.
    Not only is erasing it unnecessary, doing that would eliminate the only practicable way of undoing an OS X upgrade.

  • Blue screen after reinstall of 10.1, how to remove OS X and start over?

    I updated 10.1 to 10.1.5 a month ago, then Software Update found additional updates to 10.1.5. After running them, several applications (especially Flash) stopped working correctly.
    I attempted Disk Utility etc and found nothing wrong. I then attempted to uninstall 10.1.5 with the original 10.1 install disc but it does not allow that option. In desperation I tried installing 10.1 from the DVD, which it said was successful, but on reboot (after the normal MAc OSX bootup window) I get a blue screen with black-lettered clock in the upper right and a moveable mouse pointer but no desktop and all keys give only the submarine sound.
    I am now running from the 10.1 System on another drive.
    How do I remove all OSX stuff from my original hardrive and start over?

    You cannot install a previous version of OS X over a more recent version without first erasing the hard drive (at least in your case because of the versions involved.) To reinstall 10.1 over 10.1.5 requires that you erase the hard drive, then install 10.1.
    You might have saved some time and trouble by simply updating the software that wasn't working to newer versions that are compatible with the version of OS X you have installed.

Maybe you are looking for