{"id":13768278,"url":"https://github.com/skratchdot/soundfont2mp3","last_synced_at":"2025-04-10T11:23:49.840Z","repository":{"id":57366435,"uuid":"11799004","full_name":"skratchdot/soundfont2mp3","owner":"skratchdot","description":"soundfont2mp3 is a command line utility that lets you extract single note mp3s from soundfont files.","archived":false,"fork":false,"pushed_at":"2018-12-05T07:38:38.000Z","size":37,"stargazers_count":14,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-20T10:46:43.910Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/skratchdot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-31T19:16:41.000Z","updated_at":"2023-11-16T19:57:58.000Z","dependencies_parsed_at":"2022-08-23T19:30:54.815Z","dependency_job_id":null,"html_url":"https://github.com/skratchdot/soundfont2mp3","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skratchdot%2Fsoundfont2mp3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skratchdot%2Fsoundfont2mp3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skratchdot%2Fsoundfont2mp3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skratchdot%2Fsoundfont2mp3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skratchdot","download_url":"https://codeload.github.com/skratchdot/soundfont2mp3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248208612,"owners_count":21065203,"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-08-03T16:01:19.043Z","updated_at":"2025-04-10T11:23:49.817Z","avatar_url":"https://github.com/skratchdot.png","language":"JavaScript","readme":"# soundfont2mp3\n\nsoundfont2mp3 is a command line utility that lets you extract\nsingle note mp3s from soundfont files.\n\n\n## Installation ##\n\nInstall the command line tool globally by running:\n\n\tnpm install -g soundfont2mp3\n\n\n## Usage ##\n\n\tUsage: soundfont2mp3 [options]\n\n\n## Options ##\n\n\t-h, --help                     output usage information\n\t-v, --version                  output the version number\n\t-c, --channel \u003cchannel\u003e        the midi channel\n\t-i, --instrument \u003cinstrument\u003e  the midi instrument\n\t-n, --note \u003cnote\u003e              the midi note to export\n\t-d, --duration \u003cduration\u003e      the duration of the note in ticks. there are\n\t                               128 ticks per beat, so a quarter note has a\n\t                               duration of 128.\n\t-v, --velocity \u003cvelocity\u003e      the velocity of the note\n\t-g, --gain \u003cgain\u003e              the velocity of the note\n\t-e, --endtick \u003cendtick\u003e        the tick number of the end of the track\n\t-s, --soundfont \u003csoundfont\u003e    the soundfont file\n\t-o, --output \u003coutput\u003e          the .mp3/.wav/.js/.mid file to output\n\t--no-reverb                    don't add reverb\n\t--no-chorus                    don't add chorus\n\n\n\n## Dependencies\n\n- [FluidSynth](http://sourceforge.net/apps/trac/fluidsynth/)\n\n- [Lame](http://lame.sourceforge.net/)\n\n- [Sox](http://sox.sourceforge.net/)\n\n- A valid soundfont file (see [Free Soundfonts](https://github.com/skratchdot/soundfont2mp3/#free-soundfonts))\n\n\n## Free Soundfonts\n\n- [S. Christian Collins GeneralUser GS](http://www.schristiancollins.com/generaluser.php) - 30 MB\n\n- [Fluid (R3) General MIDI SoundFont (GM)](http://packages.debian.org/search?keywords=fluid-soundfont-gm) - 140 MB\n\n\n## Example Usage\n\n```bash\n#!/bin/bash\nBASE_FOLDER=\".\"\nSOUNDFONT=\"./gs.sf2\"\n\n# make channel folder\nmkdir -p \"$BASE_FOLDER/channel\"\nmkdir -p \"$BASE_FOLDER/channel/0\"\nmkdir -p \"$BASE_FOLDER/channel/0/instrument\"\n\nfor i in {0..127}\ndo\n\tmkdir -p \"$BASE_FOLDER/channel/0/instrument/$i\";\n\tfor j in {0..127}\n\tdo\n\t\tsoundfont2mp3 -i $i -n $j -s \"$SOUNDFONT\" -o \"$BASE_FOLDER/channel/0/instrument/$i/$j.mp3\"\n\tdone\ndone\n```\n\n","funding_links":[],"categories":["Sound assets"],"sub_categories":["SoundFonts"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskratchdot%2Fsoundfont2mp3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskratchdot%2Fsoundfont2mp3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskratchdot%2Fsoundfont2mp3/lists"}