{"id":18620685,"url":"https://github.com/codybloemhard/lv2-host-minimal","last_synced_at":"2026-05-14T21:05:36.025Z","repository":{"id":244909196,"uuid":"367736541","full_name":"codybloemhard/lv2-host-minimal","owner":"codybloemhard","description":"A minimal lv2 host","archived":false,"fork":false,"pushed_at":"2024-05-24T00:52:03.000Z","size":10295,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-13T10:36:15.448Z","etag":null,"topics":["audio","audio-processing","dsp","linux","lv2","lv2-host","lv2-plugins"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codybloemhard.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":"2021-05-15T21:54:52.000Z","updated_at":"2024-05-24T00:53:22.000Z","dependencies_parsed_at":"2024-06-18T08:16:57.932Z","dependency_job_id":null,"html_url":"https://github.com/codybloemhard/lv2-host-minimal","commit_stats":null,"previous_names":["ocdy1001/lv2-host-minimal"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codybloemhard/lv2-host-minimal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codybloemhard%2Flv2-host-minimal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codybloemhard%2Flv2-host-minimal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codybloemhard%2Flv2-host-minimal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codybloemhard%2Flv2-host-minimal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codybloemhard","download_url":"https://codeload.github.com/codybloemhard/lv2-host-minimal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codybloemhard%2Flv2-host-minimal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33043279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["audio","audio-processing","dsp","linux","lv2","lv2-host","lv2-plugins"],"created_at":"2024-11-07T04:07:27.728Z","updated_at":"2026-05-14T21:05:36.006Z","avatar_url":"https://github.com/codybloemhard.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lv2-host-minimal\nSimple library to host lv2 plugins.\nIs not meant to support any kind of GUI.\n\n- [x] Host fx plugins (audio in, audio out)\n- [x] Set parameters\n- [x] Host midi instruments (midi in, audio out)\n\n## Note\nI build this library when no other LV2 hosting crate for Rust existed.\nI am not really all that knowledgeable on LV2 and I want you to know that there is a slightly differnt\nbut overall better Rust LV2 hosting crate available since: [https://github.com/wmedrano/livi-rs](https://github.com/wmedrano/livi-rs).\nPlease check it out, to see if it might suit your goals better.\nIf you still want to contribute here, or report bugs, feel free to do so of course.\n\n## Example\n\n```rust\nuse lv2hm::Lv2Host;\n\nlet mut host = Lv2Host::new(1, 1, 44100);\nhost.add_plugin(\"http://calf.sourceforge.net/plugins/Monosynth\", \"Organ\".to_owned()).expect(\"Lv2hm: could not add plugin\");\nhost.set_value(\"Organ\", \"MIDI Channel\", 0.0);\n\nfor i in 0..44100 {\n    // alternate midi on and off messages, 5000 samples apart\n    let mut midimsg = Vec::new();\n    if (i % 10000) == 0 {\n        midimsg.push((0, [0x90, 72, 96]))\n    }\n    else if (i % 5000) == 0 {\n        midimsg.push((0, [0x80, 72, 96]))\n    }\n    let out = host.apply_multi(0, midimsg, [\u0026[0.0], \u0026[0.0]]).unwrap();\n    // do something with your audio\n    // here, `out` will contain one sample for each stereo channel.\n}\n```\n\n## License\n```\nCopyright (C) 2022 Cody Bloemhard\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodybloemhard%2Flv2-host-minimal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodybloemhard%2Flv2-host-minimal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodybloemhard%2Flv2-host-minimal/lists"}