Skip to content

JSON block format

Persune edited this page Oct 25, 2022 · 4 revisions

Dn-FT JSON block format version 1.1

must always be backwards compatible using a never remove, only add strategy

{
	// Device mixing offsets, described in centibels. too late to change to millibels.
	// range is +- 12 db.
	"apu1-offset": 0,
	"apu2-offset": 0,
	"fds-offset": 0,
	"mmc5-offset": 0,
	"n163-offset": 0,
	"s5b-offset": 0,
	"vrc6-offset": 0,
	"vrc7-offset": 0,

	// Use external OPLL instead of VRC7
	"use-opll-ext": false,

	// User-defined hardware patch set for external OPLL
	"use-opll-patches": [
		0, 0, 0, 0, 0, 0, 0, 0,		// patch 0 must always be 0
		0, 0, 0, 0, 0, 0, 0, 0,
		0, 0, 0, 0, 0, 0, 0, 0,
		0, 0, 0, 0, 0, 0, 0, 0,
		0, 0, 0, 0, 0, 0, 0, 0,
		0, 0, 0, 0, 0, 0, 0, 0,
		0, 0, 0, 0, 0, 0, 0, 0,
		0, 0, 0, 0, 0, 0, 0, 0,
		0, 0, 0, 0, 0, 0, 0, 0,
		0, 0, 0, 0, 0, 0, 0, 0,
		0, 0, 0, 0, 0, 0, 0, 0,
		0, 0, 0, 0, 0, 0, 0, 0,
		0, 0, 0, 0, 0, 0, 0, 0,
		0, 0, 0, 0, 0, 0, 0, 0,
		0, 0, 0, 0, 0, 0, 0, 0,
		0, 0, 0, 0, 0, 0, 0, 0,
		0, 0, 0, 0, 0, 0, 0, 0,
		0, 0, 0, 0, 0, 0, 0, 0,
		0, 0, 0, 0, 0, 0, 0, 0
	],

	// User-defined hardware patch names for external OPLL
	"use-opll-patch-names": [
		"(custom instrument)"		// patch 0 must always be named "(custom instrument)"
		""
		""
		""
		""
		""
		""
		""
		""
		""
		""
		""
		""
		""
		""
		""
		""
		""
		""
	],

	// Use better mixing values derived from survey: https://forums.nesdev.org/viewtopic.php?f=2&t=17741
	"use-survey-mix": false
}