Update Functions-(Sound-Instances).md
parent
3b65b1f648
commit
34ce4c82fb
|
@ -177,4 +177,44 @@
|
|||
|`bandPassFilter` |number | |
|
||||
|`Q` |number | |
|
||||
|
||||
|
||||
|
||||
## `FAudioGMS_SoundInstance_GetPitch(soundInstanceID)`
|
||||
|
||||
**Returns:** Number, the pitch of the sound instance, with `1` being no pitch shift
|
||||
|
||||
|Argument |Datatype|Description |
|
||||
|-----------------|--------|--------------------------------------------------------|
|
||||
|`soundInstanceID`|number | |
|
||||
|
||||
|
||||
|
||||
## `FAudioGMS_SoundInstance_GetVolume(soundInstanceID)`
|
||||
|
||||
**Returns:** Number, the volume of the sound instance, from `0` (inaudible) to `1` (full volume)
|
||||
|
||||
|Argument |Datatype|Description |
|
||||
|-----------------|--------|--------------------------------------------------------|
|
||||
|`soundInstanceID`|number | |
|
||||
|
||||
|
||||
|
||||
## `FAudioGMS_SoundInstance_GetTrackLengthInSeconds(soundInstanceID)`
|
||||
|
||||
**Returns:** Number, the track length (in seconds)
|
||||
|
||||
|Argument |Datatype|Description |
|
||||
|-----------------|--------|--------------------------------------------------------|
|
||||
|`soundInstanceID`|number | |
|
||||
|
||||
|
||||
|
||||
## `FAudioGMS_SoundInstance_GetTrackPositionInSeconds(soundInstanceID)`
|
||||
|
||||
**Returns:** Number, the track position (in seconds)
|
||||
|
||||
|Argument |Datatype|Description |
|
||||
|-----------------|--------|--------------------------------------------------------|
|
||||
|`soundInstanceID`|number | |
|
||||
|
||||
|
Loading…
Reference in New Issue