Henning Thielemann <[EMAIL PROTECTED]> writes:
> We need
>  encodeOSCZeroBase :: OSC -> B.ByteString
>   which converts a message by converting Double to Integer
>   and does the message encoding (which is currently done by encodeOSC)
>  delayOSC :: Double -> OSC -> OSC
>   which shifts a message in time (i.e. changes time base)
>  encodeOSC :: Double -> OSC -> B.ByteString
>   calls delayOSC and encodeOSCZeroBase
>
> encodeOSCZeroBase can be used for non-realtime synthesis and encodeOSC for
> realtime use.

i'm not sure about this.  encodeOSC uses the conventional
'unix/utc' epoch.  encodeOSCZeroBase would not be 'zero' 
it would be the rather more obscure 'ntp epoch'.

it just happens that scsynth requires that nrt scores 
begin on the first of january 1900.  

i think a better idea would be to patch scsynth to work 
with relative timestamps so scores could start at any 
absolute time. (ie. at first january 1970, in which case
you could write scores starting at utc/unix zero).

rd
_______________________________________________
haskell-art mailing list
haskell-art@lists.lurk.org
http://lists.lurk.org/mailman/listinfo/haskell-art

Reply via email to