{"id":21570402,"url":"https://github.com/arirusso/mvlc","last_synced_at":"2025-03-18T06:14:07.103Z","repository":{"id":56884903,"uuid":"94717074","full_name":"arirusso/mvlc","owner":"arirusso","description":"Control VLC Media Player with MIDI","archived":false,"fork":false,"pushed_at":"2017-06-27T15:58:15.000Z","size":491,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T18:42:01.079Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arirusso.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-18T22:40:39.000Z","updated_at":"2017-06-21T15:43:43.000Z","dependencies_parsed_at":"2022-08-21T00:50:09.997Z","dependency_job_id":null,"html_url":"https://github.com/arirusso/mvlc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arirusso%2Fmvlc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arirusso%2Fmvlc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arirusso%2Fmvlc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arirusso%2Fmvlc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arirusso","download_url":"https://codeload.github.com/arirusso/mvlc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244166759,"owners_count":20409179,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T11:12:32.455Z","updated_at":"2025-03-18T06:14:07.081Z","avatar_url":"https://github.com/arirusso.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mmplayer\n\nControl [VLC Media Player](https://en.wikipedia.org/wiki/VLC_media_player) with MIDI\n\n*This is a fork of [mmplayer](https://github.com/arirusso/mvlc), a gem to control MPlayer with MIDI*\n\nEnabling VLC to be controlled by MIDI opens up a host of possibilities for live video performance, media automation and more\n\nThis project provides a Ruby DSL to define realtime interactions between MIDI input and VLC\n\n## Install\n\nYou'll need to install VLC before using this.  More information about that is available on [the VLC website](http://www.videolan.org/vlc/index.html)\n\nThis project itself can be installed as a Ruby Gem using\n\n`gem install mvlc`\n\nOr if you're using Bundler, add this to your Gemfile\n\n`gem \"mvlc\"`\n\n## Usage\n\n```ruby\nrequire \"mvlc\"\n\n@input = UniMIDI::Input.gets\n\n@player = MVLC.new(@input) do\n\n  rx_channel 0\n\n  system(:start) { play(\"1.mov\") }\n\n  note(1) { play(\"2.mov\") }\n  note(\"C2\") { play(\"3.mov\") }\n\n  cc(1) { |value| set_volume(value) }\n  cc(20) { |value| seek_percent(to_percent(value)) }\n\n  eof { puts \"finished\" }\n\nend\n\n@player.start\n\n```\n\nAn annotated breakdown of this example can be found [here](https://github.com/arirusso/mvlc/blob/master/examples/simple.rb)\n\n## License\n\nApache 2.0, See LICENSE file\n\nCopyright (c) 2017 [Ari Russo](http://arirusso.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farirusso%2Fmvlc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farirusso%2Fmvlc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farirusso%2Fmvlc/lists"}