[chuck-users] Creating Traditional Instrument Sounds Using OSC (ChucK vs. SuperCollider)...

DANIEL MAGNUSZEWSKI dmagnuszewski at mandtbank.com
Mon Feb 27 14:55:31 EST 2006


I hope this is not off topic :-)

I have been playing with SuperCollider for a week or two since reading
an article on creating live music with Perl code
(http://toplap.org/index.php/Hacking_perl_in_nightclubs). Note - I am
programmer (mainly Perl), but quite a newbie with live coding and I
know little to nothing
about writing ChucK/sclang code. 

Essentially, there is an editor called feedback.pl
that allows you to write Perl code that will create OSC messages that
will be sent to SuperCollider. SuperCollider is running the following
that, from my understanding, the simple.sc script listens for OSC
messages, of which I can send from feedback.pl using built in methods
'play' and 'trigger'. 

For Example (Perl Code): 

sub bang 
     my $self = shift;
     # play a "middle c" note every fourth bang
     $self->play({num => 60})
     if $self->{bangs} % 4 == 0;

I currently have this working, and I can make some pretty cool
"digital" sounding music. What I would like to be able to have these
sounds be conventional instrument sounds (Bass, Drums, Guitar,
Piano, etc). Is there a way to achieve this through ChucK, or do
I need to use a software synth like fluid-synth? I also want to be
to code, execute, and modify this live.

Is anyone else doing this? Thoughts?


More information about the chuck-users mailing list