On Tue, 24 Jul 2007, Rohan Drape wrote:

> followed wrong reply link, forwarding to list...
>
> ---------------------------- Original Message ----------------------------
> Subject: Re: [haskell-art] Re: Creating .wav or .aiff with
> SuperCollider/HSC3
> From:    "Rohan Drape" <[EMAIL PROTECTED]>
> Date:    Tue, July 24, 2007 9:52 am
> To:      "Henning Thielemann" <[EMAIL PROTECTED]>
> --------------------------------------------------------------------------
>
> On Tue, July 24, 2007 5:35 am, Henning Thielemann wrote:
> > I have used the TCP transport data type and derived a File data type from
> > it. However I got the error that the OSC message is longer than 8192
>
> what gives that error? hosc or hsc3 or scsynth?

scsynth

> >       let b = encodeOSC msg
> >           n = fromIntegral (B.length b)
> >       in  B.hPut fd (B.append (B.reverse (encode_u32 n)) b)
> >
> > Now it seems that the times are not interpreted properly:
>
> try unreversed encode_i32 (osc tends to use sized integers,
> this is the case also for bundle sizes)

Is the difference between u32 and i32, unsigned vs. signed?

> > Maybe this is still an issue of byte ordering. Server-Architecture.rtf
> > states that values must be in network byte order.  What is 'network byte
> > order' in the case of files?
>
> network order = big endian.  there are a few simple score functions at:
>
> http://slavepianos.org/rd/sw/sw-76/Rhs/Score.hs
>
> i've not used these recently though!

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

Reply via email to