Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

For several weeks now, my friend’s MacBook has been plagued by this sound, randomly occurring while running: http://c.abr.vg/321r2Q3Y2W0J

We’ve never been able to reproduce it, and it has persisted on her machine across Archive & Installs, and a clean reinstall (10.8.2) and migration via Migration Assistant (System Library and ‘Other Files’ deselected). We only even have a recording of it because I had her run QuickTime and record everything she was doing (audio only) until she caught it.

Now, the sound has manifested itself onto my Mac mini. I was previously blaming the hardware on her machine, but now I’m certain that there is an egregious software issue.

Both of our machines share little to no software. I’m a developer; she’s a human. ;)

What could be causing this?

share|improve this question
    
Report of a similar noise on iOS: “Sort of. CLose to it” from a relative of mine. Persists throughout restart [just began, only one restart tried yet], sounds whenever sending a message. “Sounds almost muffled […] like a Mario noise, when Mario jumps.” –  JoePasq Feb 22 '13 at 2:53
add comment

4 Answers

I don't recognise it immediately, but can perhaps suggest tools to help you find it.

As for identifying the file, the closest I could find in a short time on my computer was /Applications/Mail.app/Contents/Resources/No Mail.aiff but I think yours has a longer tone on the front. But perhaps you can find it yourself...

I'm assuming it's a file on your hard drive, somewhere... most applications store sound effects in .m4a or .aiff files. So my theory is you can find it by brute force... here's a command that'll find audio files, print their name and play them.

# find / -name "*.m4a" -or -name "*.aiff" -exec echo "Playing {}" \; -exec afplay "{}" \;

Note that this particular command plays all *.m4a and *.aiff files, so you might need to extend it with -or -name "*.mp3" or similar for other file types (e.g. .wav, not sure really what else to try!)

The two -exec arguments first print the file name, and then play the file. So you should see the name of each file appear, and then hear it played. Ctrl+C stops it if you find your match (and you can use afplay if necessary to re-play the last few if you're not sure which it was).

If you have lots of music on the computer as well, you may need to exclude your iTunes library or similar:

# find / -not -path "*/iTunes/*" \( -name "*.m4a" -or -name "*.aiff" \) -exec echo "Playing {}" \; -exec afplay "{}" \;

This excludes any files if their path includes a directory called iTunes (you can modify this to match your iTunes library folder).

That of course only tells you what the file was, not necessarily what was running it... if it's in the Resources directory within an Application package, or another helpful path, it might be clear that it's from some specific Application.

If not you could then try

# sudo opensnoop -f <filename>

and leave that running until you hear the sound effect. That should then show you what process played it...

Good luck!

(Incidentally, if you or your friend have housemates like mine, you'll probably find out its someone messing with you, SSHing into the computer and running afplay <sound> on a regular basis... or maybe they put it in the crontab...)

share|improve this answer
    
Wow, you put a lot of effort in that :) –  Michiel Feb 22 '13 at 9:44
add comment

It's indeed the sound Facebook makes when there is a new notification. Or at least, that's what it sound like (very much).

Recently, Facebook did some testing and as you can hear on the movie in the post, sounds are very similar.
Not very user-friendly, but luckily you can disable this sound if it's bothering you.

  1. Go to your Notifications account settings
  2. Uncheck the sound option

enter image description here

share|improve this answer
1  
Thanks, I didn't think to look for that on Facebook. I think what happened to me was I got a notification on my Mac while the Facebook page was open; so the sound didn't come from Notification Center then. I only heard it the first time today, so it must be new. –  Kirk McElhearn Feb 22 '13 at 9:20
add comment

Funny, I heard a sound similar to that this morning when I got a Facebook notification. I have Facebook in Notification Center, but there's no setting for sounds. I often get Facebook notifications but this is the first time I've ever heard a sound. I'm not sure it's the same sound, but it was an odd sort of beep. Do you have Facebook in Notification Center?

share|improve this answer
add comment

I was getting some similar sounds and was not understanding what was going on. Later figured out that when a buddy signs in/signs out we get a sound notification.

This can be changed by modifying the following setting Messages ==> Preferences ==> Alerts ==> Event (Buddy Becomes Available) Change it Similarly change for buddy becomes unavailable.

Hope this helps someone.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.