[MacRuby-devel] loop audio file seamlessly

Ed mred at dharmagaia.com
Sun Feb 20 19:02:26 PST 2011


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 at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list