{"id":17319706,"url":"https://github.com/scholtzan/rust-fluidsynth","last_synced_at":"2025-10-09T02:47:19.100Z","repository":{"id":31807719,"uuid":"35374324","full_name":"scholtzan/rust-fluidsynth","owner":"scholtzan","description":"FluidSynth bindings for Rust","archived":false,"fork":false,"pushed_at":"2019-03-09T17:24:24.000Z","size":39,"stargazers_count":7,"open_issues_count":2,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-29T22:48:32.402Z","etag":null,"topics":["fluidsynth","rust","rust-bindings"],"latest_commit_sha":null,"homepage":"","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/scholtzan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-10T14:32:53.000Z","updated_at":"2025-05-05T11:24:42.000Z","dependencies_parsed_at":"2022-09-15T14:01:46.158Z","dependency_job_id":null,"html_url":"https://github.com/scholtzan/rust-fluidsynth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scholtzan/rust-fluidsynth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scholtzan%2Frust-fluidsynth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scholtzan%2Frust-fluidsynth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scholtzan%2Frust-fluidsynth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scholtzan%2Frust-fluidsynth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scholtzan","download_url":"https://codeload.github.com/scholtzan/rust-fluidsynth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scholtzan%2Frust-fluidsynth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270957419,"owners_count":24675140,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"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":["fluidsynth","rust","rust-bindings"],"created_at":"2024-10-15T13:26:32.869Z","updated_at":"2025-10-09T02:47:14.066Z","avatar_url":"https://github.com/scholtzan.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rust-fluidsynth\n\n[![Build status (master)](https://api.travis-ci.org/scholtzan/rust-fluidsynth.svg?branch=master)](https://travis-ci.org/scholtzan/rust-fluidsynth)\n\n\u003e Note: This project is currently not under active development. Not all functionality to use fluidsynth is available yet. Nevertheless, feel free to fork and and send pull requests with additional functionality or bug fixes.\n\n__FluidSynth__ bindings for Rust.\n\nBindings for FluidSynth, a software synthesizer based on the SoundFont 2 specifications, in Rust.\n\nFluidSynth website [here](http://fluidsynth.elementsofsound.org/).\nA documentation of the FluidSynth API is available [here](http://fluidsynth.sourceforge.net/api/index.html).\n\n## Installation\n\nTo use `rust-fluidsynth` you must install FluidSynth on your computer and add this to `Cargo.toml`:\n\n```toml\n[dependencies.fluidsynth]\ngit = \"https://github.com/scholtzan/rust-fluidsynth\"\n```\n\n## Short example\n\n```Rust\nextern crate fluidsynth;\nextern crate rand;\nextern crate time;\n\nuse fluidsynth::*;\nuse rand::{thread_rng, Rng};\nuse std::thread;\n\nfn main() {\n    let mut settings = settings::Settings::new();\n    let mut syn = synth::Synth::new(\u0026mut settings);\n    let _adriver = audio::AudioDriver::new(\u0026mut settings, \u0026mut syn);\n    syn.sfload(\"/path/to/soundfont.sf2\", 1);\n\n    let interval = Duration::milliseconds(1000);\n\n    for _x in 0..12 {\n        let num: i32 = thread_rng().gen_range(0, 12);\n        let key = 60 + num;\n        syn.noteon(0, key, 80);\n        thread::sleep_ms(1000);\n        syn.noteoff(0, key);\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscholtzan%2Frust-fluidsynth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscholtzan%2Frust-fluidsynth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscholtzan%2Frust-fluidsynth/lists"}