title: Playing a sequence of sounds without gaps (iPhone)
body: <p>I thought maybe the fastest way was to go with Sound Services. It is quite efficient, but I need to play sounds in a sequence, not overlapped. Therefore I used a callback method to check when the sound has finished. This cycle produces around 0.3 seconds in lag. I know this sounds very strict, but it is basically the main axis of the program.  </p>
  
  <p>EDIT: I now tried using <code>AVAudioPlayer</code>, but I can't play sounds in a sequence without using <code>audioPlayerDidFinishPlaying</code> since that would put me in the same situation as with the callback method of SoundServices.</p>
  
  <p>EDIT2: I think that if I could somehow get to join the parts of the sounds I want to play into a large file, I could get the whole audio file to sound continuously.</p>
  
  <p>EDIT3: I thought this would work, but the audio overlaps:  </p>
  
  <pre><code>waitTime = player.deviceCurrentTime;
  
      for (int k = 0; k &lt; [colores count]; k++)
      {    
          player.currentTime = 0;
          [player playAtTime:waitTime];
          waitTime += player.duration;
      }
  </code></pre>
  
  <p>Thanks</p>