Code Monkey home page Code Monkey logo

libjack-ffi-ruby's Introduction

Introduction

This is a wrapper for JACK.

Here’s a quick code sample. Currently no docs.

require 'jack'

JACK::Client.new("myname") do |jack|
  port = jack.port_by_name("system:capture_1")
  port.connect("system:playback_1")
  sleep 5
  port.disconnect("system:playback_1")
end

Please notice that code is rather alpha-version and can contain bugs.

Installation

Ruby Versions

It was tested with ruby 1.8.7 (2010-01-10 patchlevel 249).

Gems

The driver’s gems are hosted at Rubygems.org. Make sure you’re using the latest version of rubygems:

$ gem update --system

Then you can install the jack-ffi gem as follows:

$ gem install jack-ffi

Ubuntu/Debian packages

You can grab this source code from GitHub as follows:

$ git clone http://github.com/saepia/libjack-ffi-ruby.git
$ cd libjack-ffi-ruby/
$ ./build-debian-package.sh
$ sudo dpkg -i libjack-ffi-ruby1.8_`cat VERSION`_all.deb libjack-ffi-ruby_`cat VERSION`_all.deb

From the GitHub source

The source code is available at github.com/saepia/libjack-ffi-ruby. You can either clone the git repository or download a tarball or zip file. Once you have the source, you can unpack it and use from wherever you downloaded.

libjack-ffi-ruby's People

Contributors

mspanc avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.