Look at the PlayFile sample code in the Core Reference Library for an example 
of how to loop an audio file.

Ed

On Feb 20, 2011, at 9:21 PM, Zachary Kaplan wrote:

> hello all,
> 
> i would like to loop an audio file seamlessly.
> 
> i have a file that, when looped in logic or garage band, sounds perfect.
> 
> an nssound object with "loops = true" in macruby using the same file
> however, has an audible pause between each iteration, meaning our loop
> is not seamless, ultimately ruining our users' audio enhanced
> experience.
> 
> could somebody please help me into the right direction :}
> 
> thanks in advance,
> -zak
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to