ChucK code to connect MIDI controller to some UGen STK
Hi - I'm new to ChuK and I have a few questions: (1) I would like to experiment with coding different sound textures in ChucK, but then play with a WX-5, rather than ChucK code. To not re-invent the wheel, I'm looking first for ChucK code that would capture the messages sent by a MIDI wind controller (using ChucK's MIDI events), and drive a ChucK STK UGen (such as a clarinet, or other). (2) I have not found this in http://wiki.cs.princeton.edu/index.php/ChucK/Programs, and I was wondering if there are any other source repositories (unfortunately, Googling for anything + ChucK is no good, as Chuck is such a common word… ) (3) Finally, is there a way to search the full user archives (in https://lists.cs.princeton.edu/pipermail/chuck-users/) without opening every month's entry? Thanks! --Dan
Hi Daniel:
I wrote a pretty comprehensive real-time ChucK setup a few years back that
used MIDI and GameTrax controllers. It doesn't use a wind controller per
se, but it's cleanly written; you might find it useful. You can find it in:
https://github.com/rdpoor/chuck_performance_setup
As the README says, let me know if you have questions and I can document on
demand...
- Rob
On Tue, Aug 12, 2014 at 10:05 AM, Daniel Chapiro
Hi - I'm new to ChuK and I have a few questions:
(1) I would like to experiment with coding different sound textures in ChucK, but then play with a WX-5, rather than ChucK code. To not re-invent the wheel, I'm looking first for ChucK code that would capture the messages sent by a MIDI wind controller (using ChucK's MIDI events), and drive a ChucK STK UGen (such as a clarinet, or other).
(2) I have not found this in http://wiki.cs.princeton.edu/index.php/ChucK/Programs, and I was wondering if there are any other source repositories (unfortunately, Googling for anything + ChucK is no good, as Chuck is such a common word… )
(3) Finally, is there a way to search the full user archives (in https://lists.cs.princeton.edu/pipermail/chuck-users/) without opening every month's entry?
Thanks! --Dan _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Hello Daniel,
For yet another example,
https://github.com/heuermh/lick/blob/master/examples/circleRampMidiAlesisQX2...
This is the "patch"
CircleRamp circleRamp => Saturate saturate => TubeWarmth tubeWarmth => dac;
Then small functor classes are defined to respond to MIDI CC
class CircleRampDelay extends IntProcedure { ... }
and MIDI key on/off
class KeyOn extends IntIntProcedure { ... }
Those classes are "wired" to a class that handles the MIDI mappings
for an QX25 MIDI controller
KeyOn keyOn;
CircleRampDelay circleRampDelay;
AlesisQX25 qx25;
keyOn @=> qx25.keyOn;
circleRampDelay @=> qx25.rotary1;
qx25.open(1);
See also
https://github.com/heuermh/lick/blob/master/AlesisQX25.ck
michael
On Tue, Aug 12, 2014 at 8:19 PM, Robert Poor
Hi Daniel:
I wrote a pretty comprehensive real-time ChucK setup a few years back that used MIDI and GameTrax controllers. It doesn't use a wind controller per se, but it's cleanly written; you might find it useful. You can find it in:
https://github.com/rdpoor/chuck_performance_setup
As the README says, let me know if you have questions and I can document on demand...
- Rob
On Tue, Aug 12, 2014 at 10:05 AM, Daniel Chapiro
wrote: Hi - I'm new to ChuK and I have a few questions:
(1) I would like to experiment with coding different sound textures in ChucK, but then play with a WX-5, rather than ChucK code. To not re-invent the wheel, I'm looking first for ChucK code that would capture the messages sent by a MIDI wind controller (using ChucK's MIDI events), and drive a ChucK STK UGen (such as a clarinet, or other).
(2) I have not found this in http://wiki.cs.princeton.edu/index.php/ChucK/Programs, and I was wondering if there are any other source repositories (unfortunately, Googling for anything + ChucK is no good, as Chuck is such a common word… )
(3) Finally, is there a way to search the full user archives (in https://lists.cs.princeton.edu/pipermail/chuck-users/) without opening every month's entry?
Thanks! --Dan _______________________________________________ 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
Hi Michael, Rob, and Spencer, Thanks a lot for all your help with the examples, the code in Github, and the offer for more documentation! I look forward to the coding and the noise ;-) Best, Daniel On Aug 13, 2014, at 9:53 AM, Michael Heuer wrote:
Hello Daniel,
For yet another example,
https://github.com/heuermh/lick/blob/master/examples/circleRampMidiAlesisQX2...
This is the "patch"
CircleRamp circleRamp => Saturate saturate => TubeWarmth tubeWarmth => dac;
Then small functor classes are defined to respond to MIDI CC
class CircleRampDelay extends IntProcedure { ... }
and MIDI key on/off
class KeyOn extends IntIntProcedure { ... }
Those classes are "wired" to a class that handles the MIDI mappings for an QX25 MIDI controller
KeyOn keyOn; CircleRampDelay circleRampDelay;
AlesisQX25 qx25; keyOn @=> qx25.keyOn; circleRampDelay @=> qx25.rotary1;
qx25.open(1);
See also
https://github.com/heuermh/lick/blob/master/AlesisQX25.ck
michael
On Tue, Aug 12, 2014 at 8:19 PM, Robert Poor
wrote: Hi Daniel:
I wrote a pretty comprehensive real-time ChucK setup a few years back that used MIDI and GameTrax controllers. It doesn't use a wind controller per se, but it's cleanly written; you might find it useful. You can find it in:
https://github.com/rdpoor/chuck_performance_setup
As the README says, let me know if you have questions and I can document on demand...
- Rob
On Tue, Aug 12, 2014 at 10:05 AM, Daniel Chapiro
wrote: Hi - I'm new to ChuK and I have a few questions:
(1) I would like to experiment with coding different sound textures in ChucK, but then play with a WX-5, rather than ChucK code. To not re-invent the wheel, I'm looking first for ChucK code that would capture the messages sent by a MIDI wind controller (using ChucK's MIDI events), and drive a ChucK STK UGen (such as a clarinet, or other).
(2) I have not found this in http://wiki.cs.princeton.edu/index.php/ChucK/Programs, and I was wondering if there are any other source repositories (unfortunately, Googling for anything + ChucK is no good, as Chuck is such a common word… )
(3) Finally, is there a way to search the full user archives (in https://lists.cs.princeton.edu/pipermail/chuck-users/) without opening every month's entry?
Thanks! --Dan _______________________________________________ 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
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
https://github.com/heuermh/lick/wiki
Actually, was working on something similar for bcf2000 controler. Anyone
else doing such a thing?
Has anyone had a problem running chuck --loop on windows7 64-bit? I get an
error when I try and add to the running instance. I've tried with cmd.exe
shell as well as bash (part of msysgit - git for windows).
-- Rich
-----Original Message-----
From: Michael Heuer
Sent: Wednesday, August 13, 2014 12:53 PM
To: ChucK Users Mailing List
Subject: Re: [chuck-users] ChucK code to connect MIDI controller to someUGen
STK
Hello Daniel,
For yet another example,
https://github.com/heuermh/lick/blob/master/examples/circleRampMidiAlesisQX2...
This is the "patch"
CircleRamp circleRamp => Saturate saturate => TubeWarmth tubeWarmth => dac;
Then small functor classes are defined to respond to MIDI CC
class CircleRampDelay extends IntProcedure { ... }
and MIDI key on/off
class KeyOn extends IntIntProcedure { ... }
Those classes are "wired" to a class that handles the MIDI mappings
for an QX25 MIDI controller
KeyOn keyOn;
CircleRampDelay circleRampDelay;
AlesisQX25 qx25;
keyOn @=> qx25.keyOn;
circleRampDelay @=> qx25.rotary1;
qx25.open(1);
See also
https://github.com/heuermh/lick/blob/master/AlesisQX25.ck
michael
On Tue, Aug 12, 2014 at 8:19 PM, Robert Poor
Hi Daniel:
I wrote a pretty comprehensive real-time ChucK setup a few years back that used MIDI and GameTrax controllers. It doesn't use a wind controller per se, but it's cleanly written; you might find it useful. You can find it in:
https://github.com/rdpoor/chuck_performance_setup
As the README says, let me know if you have questions and I can document on demand...
- Rob
On Tue, Aug 12, 2014 at 10:05 AM, Daniel Chapiro
wrote: Hi - I'm new to ChuK and I have a few questions:
(1) I would like to experiment with coding different sound textures in ChucK, but then play with a WX-5, rather than ChucK code. To not re-invent the wheel, I'm looking first for ChucK code that would capture the messages sent by a MIDI wind controller (using ChucK's MIDI events), and drive a ChucK STK UGen (such as a clarinet, or other).
(2) I have not found this in http://wiki.cs.princeton.edu/index.php/ChucK/Programs, and I was wondering if there are any other source repositories (unfortunately, Googling for anything + ChucK is no good, as Chuck is such a common word… )
(3) Finally, is there a way to search the full user archives (in https://lists.cs.princeton.edu/pipermail/chuck-users/) without opening every month's entry?
Thanks! --Dan _______________________________________________ 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
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Hi Dan,
2.) It sounds like youre looking for source code for larger, real-world
programs, but you should also check out
http://chuck.stanford.edu/doc/examples/, which has numerous basic examples
for what you are doing.
3.) Check out this page, which has a search tool for each of the
chuck-related mailing lists.
http://chuck.stanford.edu/community/
spencer
On Tue, Aug 12, 2014 at 10:05 AM, Daniel Chapiro
Hi - I'm new to ChuK and I have a few questions:
(1) I would like to experiment with coding different sound textures in ChucK, but then play with a WX-5, rather than ChucK code. To not re-invent the wheel, I'm looking first for ChucK code that would capture the messages sent by a MIDI wind controller (using ChucK's MIDI events), and drive a ChucK STK UGen (such as a clarinet, or other).
(2) I have not found this in http://wiki.cs.princeton.edu/index.php/ChucK/Programs, and I was wondering if there are any other source repositories (unfortunately, Googling for anything + ChucK is no good, as Chuck is such a common word… )
(3) Finally, is there a way to search the full user archives (in https://lists.cs.princeton.edu/pipermail/chuck-users/) without opening every month's entry?
Thanks! --Dan _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (5)
-
Daniel Chapiro
-
Michael Heuer
-
Rich Caloggero
-
Robert Poor
-
Spencer Salazar