[sugar] olpc-games osc protocol

Noah Kantrowitz kantrn
Tue Jun 12 03:34:15 EDT 2007


Simon Schamijer wrote:
> Hi,
>
> memosono is using the osc protocol 
> (http://opensoundcontrol.org/spec-1_0) to communicate with the game 
> server and to talk to the csound server. I think it is an easy to use 
> protocol and maybe some other games or activities want to use it as well.
>
> An osc message consists of an OSC address pattern (a path) followed by 
> an OSC type tag string followed by zero or more OSC arguments.
>
> '/MEMOSONO/test', 'ifs', [1, 3.4, 'test']
>
> osc is callback based. On the receiver side the osc path and the type 
> tag is used to dispatch the right callback.
>
> A python implementation of the osc protocol and a basic api for 
> receiving and sending osc messages can be found in the memosono tree in 
> the osc folder. There exist python bindings for the osc library liblo as 
> well (http://das.nasophon.de/pyliblo/).
>
>   
What is the benefit of using this instead of SDL_mixer (as exposed
through pygame.mixer)? Most games have no need to deal with a remote
sound daemon, so I see no actual reason to use this.

--Noah

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.laptop.org/pipermail/sugar/attachments/20070612/53b4b727/attachment.pgp 



More information about the Sugar-devel mailing list