Customizing Sounds

Each sound effect is made up of a collection of properties that can be modified by a collection of knobs.

image alt text

Pixel Vision 8 uses an open-source sound engine called SFXR. Each set of properties are group together by categories to help make it clear which knob modifies which sound setting. The majority of the values range from 0 - 1 but a few go from -1 to 1. When you roll over a knob, it will show you the value below.

image alt text

To modify a value, click on the knob and drag it to the left or right. Each sound effect is saved as a string that PV8 parses when loading a game. These values are the same strings that SFXR generates so if you’ve used this in the past, you can manually copy those values over to the sounds.json file. Here is what sound json object looks like:

{

"name": "Melody",

"settings": "0,.5,,.2,,.2,.3,.1266,,,,,,,,,,,,,,,,,,1,,,,,,"

}

It’s important to note that not all of the properties SFXR uses are exposed in Pixel Vision 8’s sound tool but are supported by the sound chip. The ones that are visible in the Sound Tool simplify the properties to help create a more authentic 8-bit sound effect. If you chose to manually tweak the values in the json file, be warned that unsupported properties may not work as expected.