https://github.com/maxim-zhao/wav_to_psg
Converts WAV data to SN76489 attenuation data with a novel algorithm to minimise quantisation error
https://github.com/maxim-zhao/wav_to_psg
sega-master-system sn76489
Last synced: 7 months ago
JSON representation
Converts WAV data to SN76489 attenuation data with a novel algorithm to minimise quantisation error
- Host: GitHub
- URL: https://github.com/maxim-zhao/wav_to_psg
- Owner: maxim-zhao
- Created: 2016-05-17T20:49:04.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-18T19:21:17.000Z (over 9 years ago)
- Last Synced: 2025-03-25T07:22:07.268Z (7 months ago)
- Topics: sega-master-system, sn76489
- Language: C++
- Size: 16.6 KB
- Stars: 10
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wav_to_psg
Converts WAV data to SN76489 attenuation data with a novel algorithm to minimise quantisation error
This is a clone and minor tweak to a program by [blargg](https://github.com/gblargg) which he [posted at SMS Power!](http://www.smspower.org/forums/9686#44103), without permission or licence. The program takes a WAV file and applies a low-frequency offset (pretty much dynamic DC offsetting) to make the "interesting" parts of the data coincide with the more densely-populated parts of the SN76489's possible output levels. It then quantises the data to those levels, to allow generation of sample data at higher perceived quality than a simple unadjusted quantisation.