Skip to content
/ gosc Public

A Go implementation of the OSC protocol that does not suck.

License

Notifications You must be signed in to change notification settings

loffa/gosc

Repository files navigation

GOSC

Gosc is a Go native implementation of the OSC protocol.

Protocol specification can be found at: https://ccrma.stanford.edu/groups/osc/spec-1_0.html

Example

package main

import (
	"github.com/loffa/gosc"
	"log"
)

func main() {
	cli, err := gosc.NewClient("127.0.0.1:1234")
	if err != nil {
		log.Fatalln(err)
	}
	err = cli.EmitMessage("/info")
	if err != nil {
		log.Fatalln(err)
    }
	log.Println("Info message sent!")
}

For more examples please look into the examples directory.

About

A Go implementation of the OSC protocol that does not suck.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages