Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:3.6

Description

Description:This command is used to gather information about the specified sound file:
  • Sound length in milliseconds
  • Sound sample rate in Hz
  • Sound output
    • "Mono"
    • "Stereo"
    • "5.1"
    • "7.1"
  • Substituted sound path (returns "", if this sound is not substituted)

Please note that this command is not supported and should not be used for anything other than internal debugging. Any found bugs concerning this command should not be reported.

Syntax

Syntax:getSoundInfo target
Parameters:
  • target: String - Path to the sound file.
Return Value:Array - [length, sample rate, output, substituted sound path]

Examples

Examples:
_resultArray = getSoundInfo "path\to\soundfile.wav"

Additional Information

See also: setSubstitutedSound, getSubstitutedSounds
Multiplayer: 
Problems: 

Notes