[chuck-users] (no subject)
Nelson Ferraz
nferraz at gmail.com
Sat Nov 5 16:02:39 EST 2005
I have created a script which reads XML and generates ChucK code. I
called it "ChucKML".
Here's a simple ChucKML file:
<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="6::second"
repeat_every="9::second"/>
</chuckml>
Reading your message, I added unix-like pattern matching to the filenames.
Now you can do that:
<chuckml>
<wave src="wav/*.wav" repeat_every="3::second"/>
</chuckml>
Let me know if you have any other ideas that could be implemented into ChucKML!
Nelson
--
Nelson Ferraz
GNU BIS - www.gnubis.com.br
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chuckml.tgz
Type: application/x-gzip
Size: 2064 bytes
Desc: not available
Url : http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20051105/2dd1c25d/chuckml.bin
More information about the chuck-users
mailing list