Csound Csound-dev Csound-tekno Search About

[Cs-dev] OSCrecv

Date2005-06-15 17:03
FromIstvan Varga
Subject[Cs-dev] OSCrecv
Attachmentsoscr.csd  oscs.csd  
I have added an experimental opcode that can receive OSC messages
and create score events of type i, q, f, a, or e. As it is very simple
and limited, the opcode may be changed or removed later.

     OSCrecv iport, Spath[, iabsp2]

iport - port number
Spath - path name (corresponds to the destination argument of OSCsend)
         if empty, then matches any path
iabsp2 (optional, defaults to 0) - if non-zero, interprets p2 values
         as absolute times starting from the beginning of performance,
         rather than relative to the current time

To run the examples, first start oscr.csd, and, while it is still running,
start oscs.csd with another instance of Csound.

Date2005-06-15 18:03
Fromjpff@codemist.co.uk
SubjectRe: [Cs-dev] OSCrecv
Well that has made today a total waste of time.
==John ffitch


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-06-15 18:20
FromIstvan Varga
SubjectRe: [Cs-dev] OSCrecv
jpff@codemist.co.uk wrote:

> Well that has made today a total waste of time.

Not necessarily, as my opcode is very simple and experimental.
It can only create score events - rather like an OSC based
implementation of line events, even though it may be useful to allow
receiving k-rate signals or strings and store in variables.
It also does not make any use of OSC timestamp information, and
if the message cannot be parsed as a Csound score event, it is
simply ignored.


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-06-15 19:36
FromIstvan Varga
SubjectRe: [Cs-dev] OSCrecv
Istvan Varga wrote:

>     OSCrecv iport, Spath[, iabsp2]
> 
> iport - port number
> Spath - path name (corresponds to the destination argument of OSCsend)
>         if empty, then matches any path
> iabsp2 (optional, defaults to 0) - if non-zero, interprets p2 values
>         as absolute times starting from the beginning of performance,
>         rather than relative to the current time

The base time for the absolute p2 mode can be set with the 'T' event
(has no p-fields).


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net