Project

mvlc

0.0
No commit activity in last 3 years
No release in over 3 years
Control VLC Media Player with MIDI
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 5.5.0, ~> 5.5
>= 1.1.0, ~> 1.1
>= 10.4.2, ~> 10.4
>= 1.2.1, ~> 1.2

Runtime

>= 0.3, ~> 0
>= 0.3.9, ~> 0.3
>= 0.4.1, ~> 0.4
>= 0.4.3, ~> 0.4
>= 0.0.7, ~> 0.0
 Project Readme

mmplayer

Control VLC Media Player with MIDI

This is a fork of mmplayer, a gem to control MPlayer with MIDI

Enabling VLC to be controlled by MIDI opens up a host of possibilities for live video performance, media automation and more

This project provides a Ruby DSL to define realtime interactions between MIDI input and VLC

Install

You'll need to install VLC before using this. More information about that is available on the VLC website

This project itself can be installed as a Ruby Gem using

gem install mvlc

Or if you're using Bundler, add this to your Gemfile

gem "mvlc"

Usage

require "mvlc"

@input = UniMIDI::Input.gets

@player = MVLC.new(@input) do

  rx_channel 0

  system(:start) { play("1.mov") }

  note(1) { play("2.mov") }
  note("C2") { play("3.mov") }

  cc(1) { |value| set_volume(value) }
  cc(20) { |value| seek_percent(to_percent(value)) }

  eof { puts "finished" }

end

@player.start

An annotated breakdown of this example can be found here

License

Apache 2.0, See LICENSE file

Copyright (c) 2017 Ari Russo