Hi If I understand correctly what you are describing, it is exactly how a MIDI file works: music is described with a standard language (similar to a music score) and then interpreted by a program which converts instructions to sounds. tom Excerpts from tempjayren's message of lun. août 22 12:48:26 +0200 2011:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
something occurred to me, i don't know how this would work, or even if it would all that well. basically, the idea is a file containing notes, notelengths, octaves, and timing commands, then having a .ck interpreter read this file and play it, i'm picturing a language similar to what basic had available for audio, with extensions of course, because we can do rests, that didn't do rests as i recall. and we can include different basic sound generators, sinosc sqrosc etc and another small set of symbols to change those from within the music file. so, there'd be a .ck file, made to interpret this new language, let's call it an .imus (interpreted music file) the .ck file runs, reads the .imus file, and plays that. we could also tell it at the beginning of the .imus file, if we wanted to play it through the speakers, or record to output-of-imus-file.wav. anyway, just an idea to kick about. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJOUjP6AAoJEIaKvi7tbzRHpc4H/27v/YoSStk4O9X0dQYrzGzx SnYzFa7XNCacraZkX45GXVsho5rydkt7mKdb1gGo/xT/FhJccZgKThbQaDUJKg4W 7CH/Ut9QNVILajkPCNH9FBcOoq9HuZA6b6hOwKybMkaNRGFvGHqzEyj9U0QmPQfc BDnxF4vbX++cCNHoSEohErhKwrp0VLCi/8G/Fn3DMpcL4pJTy7cEuWckoCy2G/op 1GBk0ozLyS+pe9jawTk8F6UxlbFEKUTPXFHxMAZCQOBO+RHIESdjXmJ9OSx3IUMQ dMe+Db1R+IXd8Vz9lkDcTAEgDqcLbK7vwt4/VQPe5hGGNCm2fbH6ZIo6F+yttCE= =/8Qt -----END PGP SIGNATURE-----