-----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-----
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-----
On Mon, Aug 22, 2011 at 05:49, Tomtom
...what you are describing... is exactly how a MIDI file works...
So the logical thing would be to write a MIDI file interpreter in ChucK. Has anyone done that? Given ChucK's limited string and file processing it might be a challenge to write it in pure ChucK. You could write a MIDI to ChucK converter in [insert favorite language here], and define a standard library of ChucK instruments to match the standard MIDI instruments. Sounds like a worthwhile project for some ambitious music hacker.
Hi You don't need to write a translater - here is how I would do that : 1. load your midi file in a tracker - or any program that can read / edit MIDI 2. route the midi output of your tracker to ChucK and play the file 3. write a ChucK script that receives MIDI messages and translate them to sounds. Modularity for the win ! Tom Excerpts from Robert Poor's message of lun. août 22 17:08:44 +0200 2011:
On Mon, Aug 22, 2011 at 05:49, Tomtom
wrote: ...what you are describing... is exactly how a MIDI file works...
So the logical thing would be to write a MIDI file interpreter in ChucK. Has anyone done that?
Given ChucK's limited string and file processing it might be a challenge to write it in pure ChucK. You could write a MIDI to ChucK converter in [insert favorite language here], and define a standard library of ChucK instruments to match the standard MIDI instruments.
Sounds like a worthwhile project for some ambitious music hacker.
Or use chuck~ :-) brad http://music.columbia.edu/~brad On Aug 22, 2011, at 12:12 PM, Tomtom wrote:
Hi
You don't need to write a translater - here is how I would do that :
1. load your midi file in a tracker - or any program that can read / edit MIDI 2. route the midi output of your tracker to ChucK and play the file 3. write a ChucK script that receives MIDI messages and translate them to sounds.
Modularity for the win !
Tom
Excerpts from Robert Poor's message of lun. août 22 17:08:44 +0200 2011:
On Mon, Aug 22, 2011 at 05:49, Tomtom
wrote: ...what you are describing... is exactly how a MIDI file works...
So the logical thing would be to write a MIDI file interpreter in ChucK. Has anyone done that?
Given ChucK's limited string and file processing it might be a challenge to write it in pure ChucK. You could write a MIDI to ChucK converter in [insert favorite language here], and define a standard library of ChucK instruments to match the standard MIDI instruments.
Sounds like a worthwhile project for some ambitious music hacker.
chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (4)
-
Brad Garton
-
Robert Poor
-
tempjayren@gmail.com
-
Tomtom