[plt-scheme] (clarification) Looking for Psychology lab applications
Has anyone got this working? I've played around with SC in the past, so I got rsc but couldn't get it to work. Here's what I did:
darcs get http://www.slavepianos.org/rd/sw/sw-01
cd sw-01
open drscheme, load rsc.ss, run
(require rsc)
> (define server (open-udp* "localhost" 57110))
> (play server (SinOsc ar 440 0))
. . module/udp.ss::566: udp-receive!-evt: udp socket is not bound: #<udp-socket>
Any ideas?
N.
Email: noelwelsh yahoo com noel untyped com
AIM: noelhwelsh
Blogs: http://monospaced.blogspot.com/ http://www.untyped.com/untyping/
----- Original Message ----
From: Dave Griffiths <dave at pawfal.org>
To: Wayne Iba <iba at westmont.edu>
Cc: plt-scheme at list.cs.brown.edu
Sent: Friday, January 5, 2007 9:30:11 AM
Subject: Re: [plt-scheme] (clarification) Looking for Psychology lab applications
> To clarify: I am wondering about functions that perhaps would let me
> provide frequency, volume, and duration arguments and would play a
> simple tone (at the given frequency, etc).
>
> Just now I was successful at installing the sound teachpack identified
> for v.205 but it worked on 360 (under linux). But as far as I can
> tell, it is designed to play pre-recorded sound files. (At any rate,
> sound "can" work on linux.)
>
> The larger context for my query would be a lab setting where a human
> subject is waiting for a stimulus (e.g. listening for a certain tone)
> and then presses a certain key upon detection of a particular stimulus.
> The software controls timing of stimuli and records reaction time,
> etc.
One way of doing this is to use the Open Sound Control protocol (OSC)
network messages to trigger a synthesisier. One such way of doing this is
using rsc http://slavepianos.org/rd/f/306948/ as a way of using PLT with
supercollider.
cheers,
dave
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com