[chuck-users] Looping Sample Playback

Nelson Ferraz nferraz at gmail.com
Mon Feb 27 18:58:15 EST 2006


I wrote ChucKML to solve this kind of problem: it reads a xml file
describing which files should be played and when; and prints ChucK
source code to perform that.

 <chuckml>
   <wave src="wav/wave.wav" repeat_every="9::second"/>
   <wave src="wav/beat1.wav" start_after="3::second" repeat_every="3::second"/>
   <wave src="wav/beat2.wav" start_after="3::second" repeat_every="3::second"/>
 </chuckml>

http://wiki-new.cs.princeton.edu/index.php/ChucKML

I couldn't upload the tgz file to the wiki, but I'll post the source code there.


More information about the chuck-users mailing list