• Stars
    star
    186
  • Rank 200,022 (Top 5 %)
  • Language
    Go
  • License
    MIT License
  • Created over 10 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Open Sound Control (OSC) library for Golang. Implemented in pure Go.

GoOSC

Build GoDoc Coverage Status Go Report Card

Open Sound Control (OSC) library for Golang. Implemented in pure Go.

Features

  • OSC Bundles, including timetags
  • OSC Messages
  • OSC Client
  • OSC Server
  • Supports the following OSC argument types:
    • 'i' (Int32)
    • 'f' (Float32)
    • 's' (string)
    • 'b' (blob / binary data)
    • 'h' (Int64)
    • 't' (OSC timetag)
    • 'd' (Double/int64)
    • 'T' (True)
    • 'F' (False)
    • 'N' (Nil)
  • Support for OSC address pattern including '*', '?', '{,}' and '[]' wildcards

Install

go get github.com/hypebeast/go-osc

Usage

Client

import "github.com/hypebeast/go-osc/osc"

func main() {
    client := osc.NewClient("localhost", 8765)
    msg := osc.NewMessage("/osc/address")
    msg.Append(int32(111))
    msg.Append(true)
    msg.Append("hello")
    client.Send(msg)
}

Server

package main

import "github.com/hypebeast/go-osc/osc"

func main() {
    addr := "127.0.0.1:8765"
    d := osc.NewStandardDispatcher()
    d.AddMsgHandler("/message/address", func(msg *osc.Message) {
        osc.PrintMessage(msg)
    })

    server := &osc.Server{
        Addr: addr,
        Dispatcher:d,
    }
    server.ListenAndServe()
}

Tests

make test

More Repositories

1

micro-auth

A microservice that makes adding authentication with Google and Github to your application easy.
Lua
469
star
2

sqliteweb

Web-Based SQLite database browser
Go
100
star
3

flask-elm-starter-kit

Simple starter kit/boilerplate to get started with Flask, Elm and Brunch.
HTML
33
star
4

goji-boilerplate

Project skeleton for Goji GoLang web framework with Bootstrap and Font Awesome.
Go
28
star
5

OSCShark

OSC Shark is a tool for monitoring and analysing OSC (Open Sound Control) packets.
C++
27
star
6

ansible-flask-stack

Ansible role to setup and deploy Flask applications.
Shell
24
star
7

flask-gulp-starter-kit

Minimal boilerplate/starter project for Flask 0.11 with Gulp for managing frontend assets and BrowserSync for live-reloading.
Python
17
star
8

bundesliga-cli

Bundesliga results and stats for hackers.
Python
14
star
9

gojistatic

gojistatic is a middleware for Goji that serves static content from a directory
Go
12
star
10

PythonDrop

Python Dropbox Clone
Python
10
star
11

LineJumper

LineJumper is a Sublime Text 3 plugin that adds commands to move your cursor and select 10 lines at a time.
Python
9
star
12

surfraw-pinboard

Simple Python command line tool to download bookmarks from Pinboard and save it in the surfraw bookmark format.
Python
8
star
13

expressjs.bootstrap.knockoutjs.tutorials

Knockout.js tutorial code for http://learn.knockoutjs.com/ realized with Twitter Bootstrap, Node.js and Express.js
JavaScript
8
star
14

gostats

Daily statistics about Golang packages
Go
7
star
15

ansible-i3

Ansible role to install and configure i3 on Ubuntu.
7
star
16

JiraCards

JiraCards prints scrum cards for your physical board from Jira. The issues are read from a Jira Agile Board or individual issues can be provided to create single cards.
Python
7
star
17

oscchief

oscchief is a command line tool for sending and receiving OSC packets.
C
5
star
18

go-config

go-config makes it simple to work with cascading configuration files.
Go
4
star
19

dotfiles

My shareable dotfiles
Shell
4
star
20

fastify-simple-starter-kit

A simple starter kit for Fastify which tries to provide a simple but yet complete project structure suitable for small and medium sized applications.
JavaScript
4
star
21

ansible-i3-xfce

Ansible role to install i3 and integrate it with XFCE
3
star
22

yatir

yatir is a yet another Tumblr image ripper/downloader.
Python
3
star
23

docker-alpine-python

Docker containers running Alpine linux with Python and s6 for process management. Small and reliable containers to run Python applications (e.g. Flask web apps).
Makefile
3
star
24

cookiecutter-flask-seed-minimal

A minimal and simple Cookiecutter template for creating production-ready Flask applications. It includes uikit, Flask-SQLAlchemy, WTForms, jQuery 2, and various testing utilities out of the box.
Python
3
star
25

lapis-brunch-bootstrap

A starter project for Lapis, Brunch and Bootstrap
JavaScript
2
star
26

docker-lapis-quickstart

A docker image for Lapis (http://leafo.net/lapis) applications.
Nginx
2
star
27

Orca

Orca Drone
C
2
star
28

dext-npms-plugin

Dext plugin to search npms.io
JavaScript
2
star
29

gojistaticbin

Middleware for Goji (https://github.com/zenazn/goji) that serves static files from a go-bindata (https://github.com/jteeuwen/go-bindata) generated asset file.
Go
2
star
30

git-extensions

My personal git extensions
Shell
1
star
31

hypebeast.ruhoh.com

My ruhoh repository
Ruby
1
star
32

dext-application-plugin

Dext plugin to search local applications
JavaScript
1
star
33

hypebeast.github.com

My personal github page.
1
star
34

playground

My coding playground
CSS
1
star
35

piJukebox

piJukebox is a music player web app made for Raspberry Pi.
JavaScript
1
star
36

rstimeline

Simple time line control written in C#
1
star
37

node-typescript-starter-kit

NodeJs + ExpressJS + Typescript 2 starter kit
TypeScript
1
star
38

SebastianRuml.com

My Homepage
JavaScript
1
star
39

PicoUI

PicoUi is a mobile UI framework for the RaspberryPi. It's written in Go. More info is coming soon!
JavaScript
1
star
40

spike-directus

Spike plugin for integrating Directus CMS with a static site
JavaScript
1
star
41

django-htmx-starterkit

A simple Django starterkit with Django, HTMX and Hyperscript.
CSS
1
star
42

jira-info

Work in Progress!
Python
1
star
43

etapi

Eta Pi is a Raspberry PI based, Flask powered monitor for ETA Heizkessels. Work in Progress!!
Python
1
star
44

docker-alpine-flask

Docker containers based on Alpine Linux to run Flask applications.
Makefile
1
star