ReadonlydataThe raw parsed JSON data of the asset file.
ReadonlydocstringsAll JSDoc-style comment blocks parsed from this asset's source file,
in document order. Empty array when no /** … */ blocks are present.
ReadonlyfileAbsolute path to the asset's file on disk. Empty string in browser mode.
Returns all music definition IDs (context keys) in this file.
Returns the number of music definitions.
Returns all music definitions as an array.
Returns a single music definition by its context key, or undefined if not found.
Wraps the
sounds/music_definitions.jsonfile.Access via
addon.music.Example