{"id":20530200,"url":"https://github.com/hacktix/chromasynth","last_synced_at":"2025-03-06T02:21:37.630Z","repository":{"id":143894415,"uuid":"263468790","full_name":"Hacktix/ChromaSynth","owner":"Hacktix","description":"An audio synthesis extension for the Chroma framework.","archived":false,"fork":false,"pushed_at":"2020-06-18T19:47:38.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T11:51:32.242Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/Hacktix.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":"2020-05-12T22:44:25.000Z","updated_at":"2021-08-17T07:16:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"e1df7511-91d6-408b-a457-a16af2d2123d","html_url":"https://github.com/Hacktix/ChromaSynth","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/Hacktix%2FChromaSynth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hacktix%2FChromaSynth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hacktix%2FChromaSynth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hacktix%2FChromaSynth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hacktix","download_url":"https://codeload.github.com/Hacktix/ChromaSynth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242133967,"owners_count":20077171,"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-11-15T23:35:45.446Z","updated_at":"2025-03-06T02:21:37.603Z","avatar_url":"https://github.com/Hacktix.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChromaSynth\nThis library is an extension to Ciastex' Chroma Framework and allows for audio synthesis at runtime.\n\n![Nuget](https://img.shields.io/nuget/dt/ChromaSynth)\n![Nuget](https://img.shields.io/nuget/v/ChromaSynth)\n\n## Example\nThe extension is quick and easy to set up. The following is an example of how to generate a 440Hz sine wave and have it play continuously:\n```csharp\nusing Chroma;\nusing ChromaSynth\n\npublic class SomeGame : Game {\n\n    private SineWave sine; // Make sure you have an instance variable in your Game class.\n\n    public SomeGame() {\n        sine = new SineWave(Audio, 440); // Initialize the Sine Wave and set it to 440Hz\n\n        // Add a Hook to the Audio System and call \"GenerateChunk\" in the callback\n        Audio.HookPostMixProcessor\u003cfloat\u003e((chunk, bytes) =\u003e {\n            sine.GenerateChunk(ref chunk);\n        });\n    }\n}\n```\n\n## Features\n### Audio Formats\nCurrently ChromaSynth only supports the Float format.\n\n### Wave Modification\nWhile it is possible to make ChromaSynth take over Audio generation entirely, it is also possible to have the library generate an array of samples ready for further modification.\n\n### Additional Parameters\nWhile, of course, setting the volume for each Wave individually is possible, another feature included in ChromaSynth is Left/Right Stereo Channel Balancing.\n\n### On-the-Fly Modification\nAll variables such as Frequency, Volume and Left/Right Balance can be updated on-the-fly and changes will instantly be applied, allowing for easy implementation of things such as pitch or volume sliding.\n\n## Supported Waveforms\nCurrently the following Waveforms are supported:\n* Sine\n* Triangle\n* Square\n* Sawtooth","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhacktix%2Fchromasynth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhacktix%2Fchromasynth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhacktix%2Fchromasynth/lists"}