Fellow ChucKists, This ; http://countercomplex.blogspot.com/2011/10/algorithmic-symphonies-from-one-l... ...will likely be of interest to people playing the "most interesting sounds in a single line of code" game. It's also quite inspiring as a source of ideas for very free-form synthesis of lo-fi sounds. Yours, Kas.
Yyyyyyyyyyyyyyyyyyyyyyes! XD
2011/10/11 Kassen
Fellow ChucKists, This ;http://countercomplex.blogspot.com/2011/10/algorithmic-symphonies-from-one-l... ...will likely be of interest to people playing the "most interesting sounds in a single line of code" game. It's also quite inspiring as a source of ideas for very free-form synthesis of lo-fi sounds. Yours, Kas. _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-- GNU/Linux User #479299 labmacambira.sf.net
2011/10/11 Kassen
Fellow ChucKists, This ;http://countercomplex.blogspot.com/2011/10/algorithmic-symphonies-from-one-l... ...will likely be of interest to people playing the "most interesting sounds in a single line of code" game. It's also quite inspiring as a source of ideas for very free-form synthesis of lo-fi sounds.
Very cool sounds! -- Tom Lieber http://AllTom.com/ http://infinite-sketchpad.com/
Very interesting videos and blog! I've been thinking of exploring chuck for writing samples directly to the dac and these videos inspired me :) Step s => dac; 0 => int t; while (true) { // your one-liner here t++; t*((t>>12|t>>8)&63&t>>4) $ float => s.next; 6::samp => now; } The result resembles the ones shown in the video (the code above is the first tune from the first video in the post) but is not so nice to my ears. Advancing time by 6 samples is the way I found to emulate a 8Khz sample rate, because I couldnt set it using the --srate parameter, but I dunno if this is correct at all. Also the Step ugen seems to want input between -1 and 1 and I don't know what's really happening to it when I feed him these absurd values... all I know is that it seems to work. Any suggestion on making this code better?
This stuff is so good.
On Wed, Oct 12, 2011 at 9:52 AM, Lucas Zawacki
Very interesting videos and blog! I've been thinking of exploring chuck for writing samples directly to the dac and these videos inspired me :)
Step s => dac; 0 => int t;
while (true) { // your one-liner here t++; t*((t>>12|t>>8)&63&t>>4) $ float => s.next; 6::samp => now; }
The result resembles the ones shown in the video (the code above is the first tune from the first video in the post) but is not so nice to my ears.
Advancing time by 6 samples is the way I found to emulate a 8Khz sample rate, because I couldnt set it using the --srate parameter, but I dunno if this is correct at all. Also the Step ugen seems to want input between -1 and 1 and I don't know what's really happening to it when I feed him these absurd values... all I know is that it seems to work.
Any suggestion on making this code better? _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
On Tue, Oct 11, 2011 at 6:52 PM, Lucas Zawacki
Step s => dac; 0 => int t;
while (true) { // your one-liner here t++; t*((t>>12|t>>8)&63&t>>4) $ float => s.next; 6::samp => now; }
The result resembles the ones shown in the video (the code above is the first tune from the first video in the post) but is not so nice to my ears.
Either they did some filtering for the video, or it happened as a result of the compression… listening to the output of these programs directly is much more painful. ;)
Advancing time by 6 samples is the way I found to emulate a 8Khz sample rate, because I couldnt set it using the --srate parameter, but I dunno if this is correct at all. Also the Step ugen seems to want input between -1 and 1 and I don't know what's really happening to it when I feed him these absurd values... all I know is that it seems to work.
Any suggestion on making this code better?
This just puts it within range: Step s => dac; 0 => int t; while (true) { t++; (t*(t>>5|t>>8))>>(t>>16) => int sa; (sa & 0xff) / 128. - 1. => s.next; 6::samp => now; } -- Tom Lieber http://AllTom.com/ http://infinite-sketchpad.com/
I made this a little while ago, I was trying to get it small enough to go in a tweet but just can't get it any smaller. It's like a sweet pipe organ melody. [0,2,3,5,7,8,10]@=>int n[];Phasor s=>blackhole;TriOsc t=>NRev r=>dac ;t.gain(.3);s.freq(2.75);while(1){Std.mtof(n[(s.last()*7)$int]+50+maybe*12 )=>t.freq;250::ms=>now;}
participants (5)
-
Kassen
-
Lucas Zawacki
-
Matt B.
-
Renato Fabbri
-
Tom Lieber