{"id":16871915,"url":"https://github.com/maxim-zhao/sampletowav","last_synced_at":"2025-04-11T10:58:33.748Z","repository":{"id":83439020,"uuid":"48261322","full_name":"maxim-zhao/SampleToWav","owner":"maxim-zhao","description":"Converts sampled audio data inside ROM files to a WAV file","archived":false,"fork":false,"pushed_at":"2016-03-18T14:49:10.000Z","size":22,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T07:22:24.807Z","etag":null,"topics":["rom-hacking","sega-master-system"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxim-zhao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2015-12-18T23:37:52.000Z","updated_at":"2024-04-19T06:24:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"094da6d4-6ebb-4417-af3d-8c5a027d09c9","html_url":"https://github.com/maxim-zhao/SampleToWav","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxim-zhao%2FSampleToWav","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxim-zhao%2FSampleToWav/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxim-zhao%2FSampleToWav/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxim-zhao%2FSampleToWav/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxim-zhao","download_url":"https://codeload.github.com/maxim-zhao/SampleToWav/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248381678,"owners_count":21094524,"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":["rom-hacking","sega-master-system"],"created_at":"2024-10-13T15:11:12.262Z","updated_at":"2025-04-11T10:58:33.733Z","avatar_url":"https://github.com/maxim-zhao.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SampleToWav\nConverts sampled audio data inside ROM files to a WAV file\n\nThis is a small program which allows you to convert data stored in binary files (initially targetting ROM images for Sega 8-bit home video game systems) into minimally-adjusted WAV representations of the same data.\n\n![Screenshot](http://i.imgur.com/mAZhVHB.png)\n\nThis covers three aspects:\n\n## Data extraction\n\nCurrently supported formats are:\n\n* 4-bit SN76489 volume control data (stored in big-endian or little-endian order)\n* 8-bit unsigned PCM data\n* 1-bit [PDM](https://en.wikipedia.org/wiki/Pulse-density_modulation) data (stored in big-endian or little-endian order)\n\n## Data conversion to linear PCM\n\nCurrent adjustments are:\n\n* Convert SN76489 volume control values (attenuation at 2dB per step) to linear PCM\n* Pass-through (treat source data as linear PCM)\n* 8-bit data truncation to SN76489 volume control values (to match operation of some sample players)\n\n## Output conversion to WAV\n\nOutput formats are:\n\n* 8-bit unsigned\n* 16-bit signed\n* 32-bit float\n\nThe sampling rate is entirely under the control of the user, subject to the WAV format's limitation of integer Hz values.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxim-zhao%2Fsampletowav","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxim-zhao%2Fsampletowav","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxim-zhao%2Fsampletowav/lists"}