title: How can I adjust the volume of my apps sound effects in xcode
body: <p>I have some button click sound effects in my app.  They are a bit loud to say the least.  I want to tone it down a bit.  Ive adjusted the volume of the Wav file in Audacity, however when played in the app its back at full volume, Can i adjust the volume in my code at all?</p>
  
  <pre><code>CFBundleRef mainBundle = CFBundleGetMainBundle();
  CFURLRef soundFileURLRef;
  soundFileURLRef = CFBundleCopyResourceURL(mainBundle, (CFStringRef) @"btn2", CFSTR 
                                            ("wav"), NULL);
  UInt32 soundID;
  AudioServicesCreateSystemSoundID (soundFileURLRef, &amp;soundID);
  AudioServicesPlaySystemSound (soundID);
  </code></pre>