{"id":23501528,"url":"https://github.com/brenekh/etc-express-midi","last_synced_at":"2025-04-28T10:58:21.522Z","repository":{"id":238934387,"uuid":"638109017","full_name":"BrenekH/etc-express-midi","owner":"BrenekH","description":"Rust library to control the ETC Express lighting console using MIDI commands.","archived":false,"fork":false,"pushed_at":"2023-08-02T22:33:31.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-25T08:47:30.593Z","etag":null,"topics":["crate","electronic-theatre-controls","etc","etc-express","lighting-console","midi","midi-show-control","rust","rust-crate","rust-lang","rust-library"],"latest_commit_sha":null,"homepage":"https://docs.rs/etc-express-midi","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BrenekH.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-09T05:22:59.000Z","updated_at":"2025-01-12T06:46:58.000Z","dependencies_parsed_at":"2024-05-09T01:27:49.606Z","dependency_job_id":"59c25874-8a00-4f53-b60a-ac6c97a8fadb","html_url":"https://github.com/BrenekH/etc-express-midi","commit_stats":null,"previous_names":["brenekh/etc-express-midi"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrenekH%2Fetc-express-midi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrenekH%2Fetc-express-midi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrenekH%2Fetc-express-midi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrenekH%2Fetc-express-midi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BrenekH","download_url":"https://codeload.github.com/BrenekH/etc-express-midi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239156987,"owners_count":19591233,"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":["crate","electronic-theatre-controls","etc","etc-express","lighting-console","midi","midi-show-control","rust","rust-crate","rust-lang","rust-library"],"created_at":"2024-12-25T07:18:24.112Z","updated_at":"2025-02-16T16:30:13.845Z","avatar_url":"https://github.com/BrenekH.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ETC Express MIDI\n\n![Crates.io](https://img.shields.io/crates/v/etc-express-midi)\n![docs.rs](https://img.shields.io/docsrs/etc-express-midi)\n\nRust library to control the [ETC Express](https://www.etcconnect.com/Products/Legacy/Console/Others/Express/Support-Articles.aspx) lighting console using MIDI commands.\n\nThis library contains 2 methods of interacting with the Express console:\n- [Method 1](ConsoleETCMidi) uses MIDI instrument commands to interact with the cue and macro functionality\n  of the Express.\n  Any USB to MIDI adapter should work with this method.\n\n- [Method 2](ConsoleMSC) uses MIDI Show Control to operate the Express.\n  This method requires a MIDI adapter that passes [SysEx](https://en.wikipedia.org/wiki/MIDI#System_Exclusive_messages) commands.\n\n## Examples\n\n### ETC MIDI\n\n```rust\nuse etc_express_midi::{MidiOutput, ConsoleETCMidi, FaderPair};\n\nfn main() -\u003e Result\u003c(), Box\u003cdyn std::error::Error\u003e\u003e {\n    let midi_client = MidiOutput::new(\"ETC MIDI Example\")?;\n    let midi_ports = midi_client.ports();\n\n    let midi_port_index = 0; // The index of the desired controller\n    let midi_conn = midi_client.connect(\u0026(midi_ports[midi_port_index]), \"Example Output\")?;\n\n    let express_midi_channel = 1;\n    let mut express_console = ConsoleETCMidi::new(midi_conn, express_midi_channel);\n\n    // Execute the next cue in the CD fader pair\n    express_console.go(FaderPair::CD)?;\n\n    Ok(())\n}\n```\n\n### MIDI Show Control\n\n```rust\nuse etc_express_midi::{MidiOutput, ConsoleMSC, FaderPair};\n\nfn main() -\u003e Result\u003c(), Box\u003cdyn std::error::Error\u003e\u003e {\n    let midi_client = MidiOutput::new(\"ETC MSC Example\")?;\n    let midi_ports = midi_client.ports();\n\n    let midi_port_index = 0; // The index of the desired controller\n    let midi_conn = midi_client.connect(\u0026(midi_ports[midi_port_index]), \"Example Output\")?;\n\n    let msc_device_id = 1;\n    let mut express_console = ConsoleMSC::new(midi_conn, msc_device_id);\n\n    // Execute the next cue in the CD fader pair\n    express_console.go(FaderPair::CD)?;\n\n    Ok(())\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrenekh%2Fetc-express-midi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrenekh%2Fetc-express-midi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrenekh%2Fetc-express-midi/lists"}