46534

iPhone AVAudioPlayer loop stuttering?

Question:

I have a sound that is about 2 seconds long which I have set it's it's numberOfLoops property to -1, but it has a .5 second lag between loops i want the sound to fade into itself when it is looping. Help please!

Answer1:

You can try to use some low-level API to work with sound.I had good results using OpenAL on the iPhone. Also ideal looping is quiet hard, because your audio file should have, for example almost equivalent parameters(frequency, for example) to make people not to hear when the file is played from the beginning again.

Recommend

  • FOR /R - Using set /a [variable] = [variable] + %%~zA
  • Compare Pandas dataframes and add column
  • Web browser lock-down: How to?
  • I have a modal that opens a second modal and cannot close the first modal if open then close the sec
  • jQueryUI dialog replacement for confirm?
  • three.js WebVR example code works on threejs.org but not on my local server
  • Disabling sound of embedded flash object with html
  • div fade-in when window is scrolled a certain distance from the top
  • pandas computation in each group
  • Why isn't my “Fizz Buzz” test in R working?
  • Excel VBA How to populate a multi-dimensional (3d) array with values from multiple excel ranges?
  • Primefaces ManyCheckbox inside ui:repeat calls setter method only for last loop
  • bad substitution shell- trying to use variable as name of array
  • print() is showing quotation marks in results
  • Content-Length header not returned from Pylons response
  • How to attach a node.js readable stream to a Sendgrid email?
  • Play WS (2.2.1): post/put large request
  • Record samples being played with OpenAL
  • Q promise. Difference between .when and .then
  • How to access EntityManager inside Entity class in EJB3
  • Illegal mix of collations for operation for date/time comparison
  • Is my CUDA kernel really runs on device or is being mistekenly executed by host in emulation?
  • Different response to non-authenticated users and AJAX calls
  • C# - Serializing and deserializing static member
  • Can Jackson SerializationFeature be overridden per field or class?
  • Menu Color Fade on Hover with Jquery
  • Incrementing object id automatically JS constructor (static method and variable)
  • vba code to select only visible cells in specific column except heading
  • Redux, normalised entities and lodash merge
  • Hazelcast - OperationTimeoutException
  • Do create extension work in single-user mode in postgres?
  • R: gsub and capture
  • RestKit - RKRequestDelegate does not exist
  • jqPlot EnhancedLegendRenderer plugin does not toggle series for Pie charts
  • Comma separated Values
  • retrieve vertices with no linked edge in arangodb
  • Android Studio and gradle
  • Revoking OAuth Access Token Results in 404 Not Found
  • How to get NHibernate ISession to cache entity not retrieved by primary key
  • How to load view controller without button in storyboard?