MzxBox

Minium Studio supports four types of user plugins:

  • Performer for playing musical instruments
  • Sampler for playing drums
  • Filter for adding sound effects to audio
  • Action for changing notes and song tracks

Plugins are divided into a script loaded into the host application and an HTML page that is placed in an iframe.

Registration type:

type MZXBX_PluginRegistrationInformation = {
	label: string
	, kind: string
	, purpose: 'Action' | 'Filter' | 'Sampler' | 'Performer'
	, ui: string
	, evaluate: string
	, script: string
};

The plugin user interface communicates with the host application through messages.

Messages types:

type MZXBX_MessageToPlugin = {
	hostData: any
	, colors: {
		background: string// #101010;
		, main: string//#9cf;
		, drag: string//#03f;
		, line: string//#ffccff99;
		, click: string// #c39;
	}
	, screenData: number[] | null
	, langID: string
};
type MZXBX_MessageToHost = {
	dialogID: string
	, pluginData: any
	, done: boolean
	, screenWait: boolean
};

For more details, please refer to the examples.

Proudly powered by WordPress