MZ Parameter type for "sound object"

Is there a "type" to use when creating a parameter for a plugin to directly pull up this window?
Spoiler: Sound Select Window
1662934531129.png

Like instead of using the type "file"...
I know I can use the following to get the filename of a bgm
@type file
@dir audio/bgm/

...but I was wondering if there is a direct way to access the whole sound selection window?
I'm guessing the answer is no and to just create my own struct to be used as a "type" to get all the necessary data but figured I would check here to see just in case.

Currently doing this:
Spoiler: BGM Parameter Setup
JavaScript:
/*~struct~BGM:
 * @param name
 * @text Filename
 * @type file
 * @dir audio/bgm/
 *
 * @param volume
 * @text Volume
 * @type number
 * @default 90
 *
 * @param pitch
 * @text Pitch
 * @type number
 * @default 100
 *
 * @param pan
 * @text Pan
 * @type number
 * @default 0
 *
 */
JavaScript:
 * @param BGM
 * @type struct<BGM>
 * @desc Default BGM
 * @default
Which looks like this:
Spoiler
1662935738997.png
It's cool because it does know to use an audio selector that allows the audio to be test played based on it being set in the audio directory
..but then it doesn't have the other options like pitch, pan & audio... so those have to be set manually via the object structure of the parameter. The only plus to setting them manually though is I don't have the limitations of the sound selector. eg. Pitch can be set higher then 150 or lower then 50.

...soo any chance there is something maybe I missed?
Is there a way to directly bring up a whole sound object type to be used as a plugin parameter?
Pretty you need a struct for this, like you've done. Note that @type number has additional directives to limit the min/max value, e.g.

* @param pan * @text Pan * @type number * @min -100 * @max 100 * @default 0
Probably still a good idea to do range validation after parsing the parameters, though, since @type doesn't prevent users from entering invalid values via the Text tab.
Pretty you need a struct for this, like you've done.

Ok dang bummer.. figured that was the case but thanks for confirming. ☺️

Probably still a good idea to do range validation after parsing the parameters, though, since @type doesn't prevent users from entering invalid values via the Text tab.
Yep yep good thinking. ☺️👍

Thanks again for the reply ☺️

Original thread: https://forums.rpgmakerweb.com/threads/parameter-type-for-sound-object.151235/