[chuck-users] chuck-users Digest, Vol 29, Issue 1

Alpha Core alphacore_noize at yahoo.com
Sat Dec 1 14:26:04 EST 2007

thank you for the help I think I understand it now I'll read the Kb.ck file and play around with it as far as Charcter variables in think you already answered it thanks Again..

chuck-users-request at lists.cs.princeton.edu wrote:
  Send chuck-users mailing list submissions to
chuck-users at lists.cs.princeton.edu

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
chuck-users-request at lists.cs.princeton.edu

You can reach the person managing the list at
chuck-users-owner at lists.cs.princeton.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of chuck-users digest..."
Today's Topics:

1. Re: Question about Routing instruments? (Kassen)
2. Re: parab0xx in Wired News (robin.escalation)
From: Kassen <signal.automatique at gmail.com>
Subject: Re: [chuck-users] Question about Routing instruments?
Date: Fri, 30 Nov 2007 19:58:37 +0100
To: "ChucK Users Mailing List" <chuck-users at lists.cs.princeton.edu>

Hi, Alpha!

My question is this Can I say create a Osc with setting that I want which i know how to do But can i say route it to the computer keyboard say trigger it  by pressing the letter A   
Yes, you can. This is quite easy. First thing to do would be to have a look at kb.ck in the /examples/hid/ folder, this will teach you how to use the keyboard as a input device. Run that, press the key you'd like to use and see what id it has. You then include a shred that reads from the keyboard like that file does, write some rules to detect the keys you are interested in and link those to commands like; 

if(msg.which == my_keynumber) my_envelope.keyOn;

Quite easy once you get the hang of it.
  or can I just setup a char. variable to trigger it?  
I don't quite understand this question, could you re-phrase it? What do you mean by "char. variable"?


From: "robin.escalation" <robin.escalation at acm.org>
Subject: Re: [chuck-users] parab0xx in Wired News
Date: Sat, 1 Dec 2007 05:07:51 -0800 (PST)
To: chuck-users at lists.cs.princeton.edu

AlgoMantra wrote:

> We didn't use ChucK in this one, but you can using OSC!
> I have used Python, and released the source too. Check out
> the story, and please feel free to embellish and improve upon
> the code for your own evil purposes. I'm also happy to look
> at collaborative opportunities/ideas. The code is at my website
> (see below).

That is pretty freakin' cool and similar to something I wanted to do
myself. Plus in Python... perfect! Will check out the details.

-- robin

Robin Parmar

chuck-users mailing list
chuck-users at lists.cs.princeton.edu

Get easy, one-click access to your favorites.  Make Yahoo! your homepage.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20071201/390b441c/attachment.htm 

More information about the chuck-users mailing list