Send chuck-users mailing list submissions to
chuck-users@lists.cs.princeton.edu
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
or, via email, send a message with subject or body 'help' to
chuck-users-request@lists.cs.princeton.edu
You can reach the person managing the list at
chuck-users-owner@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@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@lists.cs.princeton.edu>
Hi, Alpha!
From: "robin.escalation" <robin.escalation@acm.org>
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"?
Yours,
Kas.
Subject: Re: [chuck-users] parab0xx in Wired News
Date: Sat, 1 Dec 2007 05:07:51 -0800 (PST)
To: chuck-users@lists.cs.princeton.edu
AlgoMantrawrote:
> 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
robinparmar.com
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users