[sc-users] Re: sending messages from SERVER to SCLANG

Joshua Parmenter josh at realizedsound.net
Sat Dec 2 13:21:31 PST 2006


You can send an Amplitude value back at a triggered rate inside your  
synthdef, then, when the responder gets the trigger and value (inside  
the msg part of the argument to the OSCresponderNode function), you  
can then you that value to create an OSC message and send it back to  
the server.

What are you trying to do? Is there any reason to not just write the  
Amplitude value out to a ControlBus with Out.kr, then read those  
value with In.kr in other synthdefs?

Best,

Josh

On Dec 2, 2006, at 1:14 PM, morgan packard wrote:

> thanks daniel,
>
> This is a step in the right direction.
>
> But can I send OSC messages from inside a SynthDef? I"m not sure  
> how I would go about translating data from Amplitude.kr in to an  
> OSC message.
>
> thanks,
>
> -morgan
>
> Daniel Peterson <dmartinp at gmail.com> wrote:
> Check out the OSCresponderNode helpfile, I think that will tell you  
> all you need to know.
>
> Daniel
>
> On Dec 2, 2006, at 12:59 PM, morgan packard wrote:
>
>> Scratch what I said aboutt NodeWatcher. Completely not what I'm  
>> looking for. So, again, anyone have any ideas how to get amplitude  
>> data (presumably using the Amplitude ugen) in to one of my own  
>> SCLang objects?
>>
>> thanks a bunch,
>>
>> -morgan
>>
>> morgan packard <morganpackard at yahoo.com> wrote:
>> Hello List,
>>
>> Here's what I'm trying to do:
>>
>> Read a sound file in to a buffer, track the amplitude of the  
>> soundfile in the buffer, and send that data to a SCLang object.  
>> Problem is, once I'm inside a synthdef, I'm not quite sure how to  
>> send info out, or access SCLang objects.
>>
>> The NodeMessaging helpfile mentions NodeWatcher, which I'm going  
>> to look in to now. If anyone has any better ideas, please let me  
>> know.
>>
>> thanks a bunch,
>>
>> -morgan
>>
>>
>> +++++++++++++++++++++++++++++++++++
>> morganpackard.com
>> myspace.com/morganpackard
>> +++++++++++++++++++++++++++++++++++
>>
>>
>>
>> +++++++++++++++++++++++++++++++++++
>> morganpackard.com
>> myspace.com/morganpackard
>> +++++++++++++++++++++++++++++++++++
>> _______________________________________________
>> sc-users mailing list
>> sc-users at create.ucsb.edu
>> http://www.create.ucsb.edu/mailman/listinfo/sc-users
>
> _______________________________________________
> sc-users mailing list
> sc-users at create.ucsb.edu
> http://www.create.ucsb.edu/mailman/listinfo/sc-users
>
>
>
> +++++++++++++++++++++++++++++++++++
> morganpackard.com
> myspace.com/morganpackard
> +++++++++++++++++++++++++++++++++++
> _______________________________________________
> sc-users mailing list
> sc-users at create.ucsb.edu
> http://www.create.ucsb.edu/mailman/listinfo/sc-users

******************************************
Joshua D. Parmenter
http://www.realizedsound.net/josh/

“Every composer – at all times and in all cases – gives his own  
interpretation of how modern society is structured: whether actively  
or passively, consciously or unconsciously, he makes choices in this  
regard. He may be conservative or he may subject himself to continual  
renewal; or he may strive for a revolutionary, historical or social  
palingenesis." - Luigi Nono


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.create.ucsb.edu/pipermail/sc-users/attachments/20061202/f9c75b4f/attachment-0001.htm


More information about the sc-users mailing list