GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - xi-livecode/osc-ruby: Open Sound Control Library for Ruby

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

124 Commits
124 Commits

Folders and files

NameName
Last commit message
Last commit date
examples
examples
 
 
integration-test/chuck
integration-test/chuck
 
 
lib
lib
 
 
script
script
 
 
spec
spec
 
 
.gitignore
.gitignore
 
 
History.txt
History.txt
 
 
LICENSE
LICENSE
 
 
README.rdoc
README.rdoc
 
 
Rakefile
Rakefile
 
 
TODO
TODO
 
 
VERSION
VERSION
 
 
osc-ruby.gemspec
osc-ruby.gemspec
 
 

Repository files navigation

An OSC client for Ruby

opensoundcontrol.org/

Description

This OSC gem originally created by Tadayoshi Funaba has been updated for ruby 1.9 compatibility. I’ve made a point to make this code as expressive as possible and provide a test suite for confident hacking. It also should be flexible enough to support most crazy ideas.

Compatible with ruby 1.9, 2.0 and jruby

Install

sudo gem install osc-ruby

for the EMServer, you will need EventMachine

sudo gem install eventmachine

Event Machine Basic example

# compatible with ruby 1.9, 2.0 and jruby
require 'rubygems'
require 'osc-ruby'
require 'osc-ruby/em_server'

@server = OSC::EMServer.new( 3333 )
@client = OSC::Client.new( 'localhost', 3333 )

@server.add_method '/greeting' do | message |
  puts "#{message.ip_address}:#{message.ip_port} -- #{message.address} -- #{message.to_a}"
end

Thread.new do
  @server.run
end

@client.send( OSC::Message.new( "/greeting" , "hullo!" ))

sleep( 3 )

Credits

Originally created by…

Tadayoshi Funaba

www.funaba.org/en/

thx also to Toby Tripp, Brian McClain, Andreas Haller, and James Hughes

About

Open Sound Control Library for Ruby

Resources

Readme
MIT license
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.