{"id":20364495,"url":"https://github.com/rezonality/zing","last_synced_at":"2025-10-15T22:14:57.828Z","repository":{"id":163912967,"uuid":"639333298","full_name":"Rezonality/zing","owner":"Rezonality","description":"Audio Integration Library","archived":false,"fork":false,"pushed_at":"2025-01-15T19:00:17.000Z","size":35821,"stargazers_count":35,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-12T04:45:08.178Z","etag":null,"topics":["ableton","ableton-link","audio","audio-analysis","audio-processing","audio-visualizer","cpp","cpp17","imgui","midi","portaudio","profiler","soundfont","vulkan"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rezonality.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-11T08:57:55.000Z","updated_at":"2025-03-26T00:11:02.000Z","dependencies_parsed_at":"2024-05-31T10:15:38.190Z","dependency_job_id":null,"html_url":"https://github.com/Rezonality/zing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rezonality%2Fzing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rezonality%2Fzing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rezonality%2Fzing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rezonality%2Fzing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rezonality","download_url":"https://codeload.github.com/Rezonality/zing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248519472,"owners_count":21117757,"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":["ableton","ableton-link","audio","audio-analysis","audio-processing","audio-visualizer","cpp","cpp17","imgui","midi","portaudio","profiler","soundfont","vulkan"],"created_at":"2024-11-15T00:12:13.443Z","updated_at":"2025-10-15T22:14:52.795Z","avatar_url":"https://github.com/Rezonality.png","language":"C","readme":"[Zing](https://github.com/Rezonality/zing) - A Simple Audio Integration Library\n===================================================================================================\n[![Builds](https://github.com/Rezonality/zing/workflows/Builds/badge.svg)](https://github.com/Rezonality/zing/actions?query=workflow%3ABuilds)\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Rezonality/zing/blob/master/LICENSE)\n\nZing is an audio integration library designed to get ImGui Apps up and running with audio I/O.  It builds cross platform, but has so far only been tested on windows.  It's a grab-bag of useful stuff to get you started in audio.  The code is simple C++.  It needs a helper library submodule containing some useful c++ stuff, and some packages.  You can probably drop this code into your app and start playing; mostly it is structs and functions.  The built in profiler is useful for seeing where your time is spent; I find it invaluable for threading situations.  For the best introduction, see the short video overview below.\n\nThe demo lets you tweak parameters and generates a tone sound using the soundpipe library, in addition to the metronome that Ableton link provides (assuming you have sound output enabled).  It reads in a simple midi stream and plays it back using the tsf midi renderer library (the midi messages are streamed to the audio pipeline using a concurrent queue).\n\n- Configuration UI for the audio, using the Port Audio library.\n- FFT analysis of the incoming audio in seperate threads, and simple display of the spectrum and audio waveform.\n- Ableton Link integration, for sharing tempo with other applications.\n- Integrates Soundpipe for simple effect/audio processing modules.\n- Simple thread profiler so you can see live what the UI and audio threads are doing.\n- Basic MIDI data visualization.\n- Save/Load of all settings to a TOML file.\n- Management of the audio device using port audio.\n- Load of Midi and playback\n\n## Video Overview\n[![Zing Overview](screenshots/youtube.png)](https://youtu.be/wCY025pFJAo \"Zing Overview\")\n\n## Screenshot\n![ImGui](screenshots/sample.png)\n\n## Building\n``` bash\ngit pull\ngit submodule update --init --recursive\nprebuild.bat OR prebuild.sh\nconfig.bat OR config.sh\nbuild.bat OR build.sh\n```\n\n## Sound Font\nThe included sound font is a small/simple/free general midi sound font from here (233 pop rock bank):\n\nhttps://www.zanderjaz.com/downloads/soundfonts/pianos/\nhttps://www.zanderjaz.com/soundfonts/pianos/233_poprockbank.sf2\n\nInstalling a more powerful soundfont will produce a better result, such as this one:\n\nhttps://musical-artifacts.com/artifacts/1176\n\nYou can change the font loaded in demo.cpp\n\n## Libraries Used\n\nSee prebuilt.bat for the full list\n\n### Sound\n[SoundPipe](https://github.com/shybyte/soundpipe)\n\n[PortAudio](https://github.com/PortAudio/portaudio)\n\n[EarLevel](https://www.earlevel.com/main/2012/05/03/a-wavetable-oscillator�introduction)\n\n[Ableton Link](https://github.com/Ableton/link)\n\n### Other\n[ImGui](https://github.com/ocornut/imgui)\n\n[Concurrent Queue](https://github.com/ikiller1/moodycamel-ConcurrentQueue)\n\n[TomlPlusPlus](https://github.com/marzer/tomlplusplus)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frezonality%2Fzing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frezonality%2Fzing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frezonality%2Fzing/lists"}