ChucK a day + php syntax highlighter
hi, Hope this is appropriate here. After dipping in and out of Chuck for the last couple of years I have decided to dive in so have been doing my own ChucK a day thing you can see it at www.ablelemon.co.uk/chuckaday. If any one has any suggestions as to things to try please let me know. As part of the processes I have been building a chuck php syntax highlighter. At the moment it is a bit of a mess but am working to clean it up for release. happy ChucKer Scott
Scott;
If any one has any suggestions as to things to try please let me know.
*One of the most exciting things to me is always to try to write a function that generates a a melody without explicitly defining a scale or resorting to too much randomness. Going all atonal is easy... getting boring after a short while is easy... it's a thin balance. Bonus points for sounding like you are modulating between scales in a coherent way. Bonus points for two matching functions or two melodies from a single one that work well together. *Variation; generate evolving beats without using randomness. Bonus points if somebody dances to them. *Back to the old-school of ChucKing; crash ChucK in a new yet musically pleasing way. Bonus points if your bug-report gets complimented for musical value (has anyone actually achieved this yet?) *CPU efficient wave-shaping in new ways. *Submit a piece to the "one line ChucK crazy" topic on the forum (one line, 80 characters max, crazy) *ASCII-art that compiles and sounds good (just thought of this, never tried it myself) Happy ChucKing! Kas.
80 characters! The SC contest is 140, but I guess it only takes just
over half that to crash ChucK creatively.
By the way, Scott, congratulations on the readability of your code. I
think your PHP highlighter is the best. Share? Also suggestions:
imitate a few Minimalist techniques, like addition and subtraction or phasing.
make "Totalist" music (term a subject of debate) where the global
structure is determined by the local structure, and all of that is
determined by something like the prime factors of the number of high
school girlfriends you had. Bonus points if it's microtonal. More
bonus points if it crashes ChucK.
Andrew
2009/8/25 Kassen
Scott;
If any one has any suggestions as to things to try please let me know.
*One of the most exciting things to me is always to try to write a function that generates a a melody without explicitly defining a scale or resorting to too much randomness. Going all atonal is easy... getting boring after a short while is easy... it's a thin balance.
Bonus points for sounding like you are modulating between scales in a coherent way.
Bonus points for two matching functions or two melodies from a single one that work well together.
*Variation; generate evolving beats without using randomness.
Bonus points if somebody dances to them.
*Back to the old-school of ChucKing; crash ChucK in a new yet musically pleasing way.
Bonus points if your bug-report gets complimented for musical value (has anyone actually achieved this yet?)
*CPU efficient wave-shaping in new ways.
*Submit a piece to the "one line ChucK crazy" topic on the forum (one line, 80 characters max, crazy)
*ASCII-art that compiles and sounds good (just thought of this, never tried it myself)
Happy ChucKing!
Kas.
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
hi,
v0.9 of the php ChucK syntax highlighter is online @=>
http://www.ablelemon.co.uk/chuckhl
There are a couple of broken things,
numbers in variable names eg int broken1;
and strings within print eg. <<< "bob" >>>;
There is almost certainly a better way to do this but this works, and
Im not really interested in php.
By the way it needs php5 to work.
All the best
Scott
On Tue, Aug 25, 2009 at 7:25 PM, Andrew C. Smith
80 characters! The SC contest is 140, but I guess it only takes just over half that to crash ChucK creatively.
By the way, Scott, congratulations on the readability of your code. I think your PHP highlighter is the best. Share? Also suggestions:
imitate a few Minimalist techniques, like addition and subtraction or phasing.
make "Totalist" music (term a subject of debate) where the global structure is determined by the local structure, and all of that is determined by something like the prime factors of the number of high school girlfriends you had. Bonus points if it's microtonal. More bonus points if it crashes ChucK.
Andrew
2009/8/25 Kassen
: Scott;
If any one has any suggestions as to things to try please let me know.
*One of the most exciting things to me is always to try to write a function that generates a a melody without explicitly defining a scale or resorting to too much randomness. Going all atonal is easy... getting boring after a short while is easy... it's a thin balance.
Bonus points for sounding like you are modulating between scales in a coherent way.
Bonus points for two matching functions or two melodies from a single one that work well together.
*Variation; generate evolving beats without using randomness.
Bonus points if somebody dances to them.
*Back to the old-school of ChucKing; crash ChucK in a new yet musically pleasing way.
Bonus points if your bug-report gets complimented for musical value (has anyone actually achieved this yet?)
*CPU efficient wave-shaping in new ways.
*Submit a piece to the "one line ChucK crazy" topic on the forum (one line, 80 characters max, crazy)
*ASCII-art that compiles and sounds good (just thought of this, never tried it myself)
Happy ChucKing!
Kas.
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
php ChucK Syntax highlighter has made it to v0.9.1
v0.9.1 Corrected code to handle multi line comments
online at http://www.ablelemon.co.uk/chuckhl
all the best
scott
On Wed, Aug 26, 2009 at 6:21 PM, Scott Hewitt
hi,
v0.9 of the php ChucK syntax highlighter is online @=>
http://www.ablelemon.co.uk/chuckhl
There are a couple of broken things,
numbers in variable names eg int broken1;
and strings within print eg. <<< "bob" >>>;
There is almost certainly a better way to do this but this works, and Im not really interested in php.
By the way it needs php5 to work.
All the best
Scott
On Tue, Aug 25, 2009 at 7:25 PM, Andrew C. Smith
wrote: 80 characters! The SC contest is 140, but I guess it only takes just over half that to crash ChucK creatively.
By the way, Scott, congratulations on the readability of your code. I think your PHP highlighter is the best. Share? Also suggestions:
imitate a few Minimalist techniques, like addition and subtraction or phasing.
make "Totalist" music (term a subject of debate) where the global structure is determined by the local structure, and all of that is determined by something like the prime factors of the number of high school girlfriends you had. Bonus points if it's microtonal. More bonus points if it crashes ChucK.
Andrew
2009/8/25 Kassen
: Scott;
If any one has any suggestions as to things to try please let me know.
*One of the most exciting things to me is always to try to write a function that generates a a melody without explicitly defining a scale or resorting to too much randomness. Going all atonal is easy... getting boring after a short while is easy... it's a thin balance.
Bonus points for sounding like you are modulating between scales in a coherent way.
Bonus points for two matching functions or two melodies from a single one that work well together.
*Variation; generate evolving beats without using randomness.
Bonus points if somebody dances to them.
*Back to the old-school of ChucKing; crash ChucK in a new yet musically pleasing way.
Bonus points if your bug-report gets complimented for musical value (has anyone actually achieved this yet?)
*CPU efficient wave-shaping in new ways.
*Submit a piece to the "one line ChucK crazy" topic on the forum (one line, 80 characters max, crazy)
*ASCII-art that compiles and sounds good (just thought of this, never tried it myself)
Happy ChucKing!
Kas.
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
On Tue, Aug 25, 2009 at 9:27 AM, Scott Hewitt
hi,
Hope this is appropriate here. After dipping in and out of Chuck for the last couple of years I have decided to dive in so have been doing my own ChucK a day thing you can see it at www.ablelemon.co.uk/chuckaday.
If any one has any suggestions as to things to try please let me know.
As part of the processes I have been building a chuck php syntax highlighter. At the moment it is a bit of a mess but am working to clean it up for release.
happy ChucKer
Scott
I think this is great and just like you Scott I've played a bit with ChucK but never made much headway. I think I'll try to make a point of checking in on what you are doing each day to maybe bring my own capabilities along. Thanks for sharing! Cheers, Mark
participants (4)
-
Andrew C. Smith
-
Kassen
-
Mark Knecht
-
Scott Hewitt