{"id":41349471,"url":"https://github.com/spessasus/spessasynth_lib","last_synced_at":"2026-01-31T03:12:15.307Z","repository":{"id":287932393,"uuid":"966277291","full_name":"spessasus/spessasynth_lib","owner":"spessasus","description":"SoundFont/DLS MIDI Library for web browsers","archived":false,"fork":false,"pushed_at":"2026-01-22T14:03:39.000Z","size":3674,"stargazers_count":25,"open_issues_count":3,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-23T22:53:11.289Z","etag":null,"topics":["dls","midi","midi-files","midi-parser","midi-player","midi-sequencer","midi-synth","midi-synthesizer","sf2","sf3","sound-synthesis","soundfont","soundfont-player","soundfont-synthesizers","soundfont2","soundfont2-synthesizer-library","soundfonts","web-midi","web-midi-api","web-midi-synths"],"latest_commit_sha":null,"homepage":"https://spessasus.github.io/SpessaSynth/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spessasus.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-14T17:13:31.000Z","updated_at":"2026-01-22T14:05:51.000Z","dependencies_parsed_at":"2026-01-23T08:07:42.967Z","dependency_job_id":null,"html_url":"https://github.com/spessasus/spessasynth_lib","commit_stats":null,"previous_names":["spessasus/spessasynth_lib"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/spessasus/spessasynth_lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spessasus%2Fspessasynth_lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spessasus%2Fspessasynth_lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spessasus%2Fspessasynth_lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spessasus%2Fspessasynth_lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spessasus","download_url":"https://codeload.github.com/spessasus/spessasynth_lib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spessasus%2Fspessasynth_lib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28928062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T02:59:34.861Z","status":"ssl_error","status_checked_at":"2026-01-31T02:59:05.369Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dls","midi","midi-files","midi-parser","midi-player","midi-sequencer","midi-synth","midi-synthesizer","sf2","sf3","sound-synthesis","soundfont","soundfont-player","soundfont-synthesizers","soundfont2","soundfont2-synthesizer-library","soundfonts","web-midi","web-midi-api","web-midi-synths"],"created_at":"2026-01-23T07:16:21.734Z","updated_at":"2026-01-31T03:12:15.302Z","avatar_url":"https://github.com/spessasus.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003c!--suppress HtmlDeprecatedAttribute, HtmlRequiredAltAttribute, HtmlExtraClosingTag --\u003e\n\u003cp align='center'\u003e\n\u003cimg src='https://raw.githubusercontent.com/spessasus/SpessaSynth/refs/heads/master/src/website/spessasynth_logo_rounded.png' width='300' alt='SpessaSynth logo'\u003e\n\u003c/p\u003e\n\n_A powerful SF2/DLS/MIDI TypeScript/JavaScript library for the browsers, based on spessasynth_core.\nThis is a WebAudioAPI wrapper for the [spessasynth_core](https://github.com/spessasus/spessasynth_core) library._\n\nIt allows you to:\n\n- Play MIDI files using SF2/SF3/DLS files!\n- Read and write MIDI files!\n- Write SF2/SF3 files!\n- Convert DLS to SF2! (and back!)\n- [and more!](#current-features)\n\n\u003e **TIP:**\n\u003e\n\u003e Looking for a bare JS version that works without WebAudioAPI? Try [spessasynth_core](https://github.com/spessasus/spessasynth_core)!\n\n### [Project site (consider giving it a star!)](https://github.com/spessasus/spessasynth_lib)\n\n### Made with spessasynth_lib\n\n- [SpessaSynth - Online SF2/DLS MIDI Player](https://spessasus.github.io/SpessaSynth)\n- [SpessaFont - Online SoundFont/DLS Editor](https://spessasus.github.io/SpessaFont)\n\n### [Documentation](https://spessasus.github.io/spessasynth_lib)\n\n**SpessaSynth Project index**\n\n- [spessasynth_core](https://github.com/spessasus/spessasynth_core) - SF2/DLS/MIDI library\n- [spessasynth_lib](https://github.com/spessasus/spessasynth_lib) (you are here) - spessasynth_core wrapper optimized for browsers and WebAudioAPI\n- [SpessaSynth](https://github.com/spessasus/SpessaSynth) - online/local MIDI player/editor application\n- [SpessaFont](https://github.com/spessasus/SpessaFont) - online SF2/DLS editor\n\n## Current Features\n\n### [All the features of spessasynth_core!](https://github.com/spessasus/spessasynth_core?#current-features)\n\n### On top of that...\n\n- **Fully typed:** _Faster development and IDE auto-completion!_\n- **Modular design:** _Easy integration into other projects (load what you need)_\n- **[Detailed documentation:](https://spessasus.github.io/spessasynth_lib/)** _With [examples!](https://spessasus.github.io/spessasynth_lib/getting-started/#examples)_\n- **Easy to Use:** _Basic setup is just [two lines of code!](https://spessasus.github.io/spessasynth_lib/getting-started/#minimal-setup)_\n- **No external dependencies:** _Just spessasynth_core!_\n- **Reverb and chorus support:** [customizable](https://spessasus.github.io/spessasynth_lib/synthesizer/#effects-configuration-object) and can be used standalone!\n- **Export audio files** using [OfflineAudioContext](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext)!\n- **AudioWorklet synthesizer:**\n    - Runs in a **separate thread** for maximum performance!\n    - Does not stop playing even when the main thread is frozen!\n    - Supported by all modern browsers!\n- **Web Worker synthesizer:**\n    - Synthesize directly in the Web Worker!\n    - Direct audio engine access!\n    - Export audio automatically in the worker!\n    - Avoids [Chromium Audio Bugs](https://issues.chromium.org/issues/367304685)!\n- **High-performance mode:** Play Rush E! _note: may kill your browser ;)_\n\n### Special Thanks\n\n- [FluidSynth](https://github.com/FluidSynth/fluidsynth) - for the source code that helped implement functionality and fixes\n- [Polyphone](https://www.polyphone-soundfonts.com/) - for the sound bank testing and editing tool\n- [Meltysynth](https://github.com/sinshu/meltysynth) - for the initial low-pass filter implementation\n- [RecordingBlogs](https://www.recordingblogs.com/) - for detailed explanations on MIDI messages\n- [stbvorbis.js](https://github.com/hajimehoshi/stbvorbis.js) - for the Vorbis decoder\n- [fflate](https://github.com/101arrowz/fflate) - for the MIT DEFLATE implementation\n- [tsup](https://github.com/egoist/tsup) - for the TypeScript bundler\n- [foo_midi](https://github.com/stuerp/foo_midi) - for useful resources on XMF file format\n- [Falcosoft](https://falcosoft.hu) - for help with the RMIDI format\n- [Christian Collins](https://schristiancollins.com) - for various bug reports regarding the synthesizer\n- **And You!** - for checking out this project. I hope you like it :)\n\n### Basic example: play a single note\n\n```js\nimport { WorkletSynthesizer } from \"spessasynth_lib\";\n\n// SF2, SF3, SFOGG and DLS files are all supported!\nconst sfont = await (await fetch(\"soundfont.sf3\")).arrayBuffer();\nconst ctx = new AudioContext();\n// make sure you copied the worklet processor!\nawait ctx.audioWorklet.addModule(\"./spessasynth_processor.min.js\");\nconst synth = new WorkletSynthesizer(ctx);\nawait synth.soundBankManager.addSoundBank(sfont, \"main\");\nawait synth.isReady;\ndocument.getElementById(\"button\").onclick = async () =\u003e {\n    await ctx.resume();\n    synth.programChange(0, 48); // strings ensemble\n    synth.noteOn(0, 52, 127);\n};\n```\n\n# License\n\nCopyright © 2026 Spessasus\nLicensed under the Apache-2.0 License.\n\nSoundFont® is a registered trademark of Creative Technology Ltd.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspessasus%2Fspessasynth_lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspessasus%2Fspessasynth_lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspessasus%2Fspessasynth_lib/lists"}