Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Figure53/qlab-ruby

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QLab

Interact with QLab from Ruby.

Installation

Add this line to your application's Gemfile:

gem 'qlab-ruby'

And then execute:

$ bundle

Or install it yourself as:

$ gem install qlab-ruby

Usage

> require 'qlab-ruby'
> machine = QLab.connect # defaults to ('localhost', 53000)
> machine.workspaces.first.go

And you're off.

A machine has one or more workspaces. A workspace has one or more cue_lists. A cue can respond to any of the QLab OSC commands.

> cue.start
> cue.stop

etc.

Most OSC commands that accept a single value can be called by their = versions. For example:

> cue.rate(0.5)

and

> cue.rate = 0.5

do the same thing.

OSC commands that require multiple arguments will still have to be called as methods.

> cue.sliderLevel(1, -5)

To set slider 1 to the value -5.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

A Ruby library for interacting with QLab.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.