SoundDescriptor Script: Difference between revisions
Jump to navigation
Jump to search
imported>CraftySentinel m (→SKSE Member Functions: Reverted to List) |
|||
| Line 22: | Line 22: | ||
:'''Float [[GetDecibelAttenuation - SoundDescriptor|GetDecibelAttenuation]]()''' | :'''Float [[GetDecibelAttenuation - SoundDescriptor|GetDecibelAttenuation]]()''' | ||
:* | :*Get the decibel attenuation from the SoundDescriptor. | ||
:'''[[SetDecibelAttenuation - SoundDescriptor|SetDecibelAttenuation]](Float ''dbAttenuation'')''' | :'''[[SetDecibelAttenuation - SoundDescriptor|SetDecibelAttenuation]](Float ''dbAttenuation'')''' | ||
:* | :*Set the decibel attenuation of the SoundDescriptor. A value of 0 is maximum volume, the higher the value the quieter it is. Negative values should not be passed. | ||
:'''Int [[GetDecibelVariance - SoundDescriptor|GetDecibelVariance]]()''' | :'''Int [[GetDecibelVariance - SoundDescriptor|GetDecibelVariance]]()''' | ||
| Line 40: | Line 40: | ||
:'''Int [[GetFrequencyShift - SoundDescriptor|GetFrequencyShift]]()''' | :'''Int [[GetFrequencyShift - SoundDescriptor|GetFrequencyShift]]()''' | ||
:* | :*Get the frequency shift of the SoundDescriptor. | ||
:'''[[SetFrequencyShift - SoundDescriptor|SetFrequencyShift]](Int ''frequencyShift'')''' | :'''[[SetFrequencyShift - SoundDescriptor|SetFrequencyShift]](Int ''frequencyShift'')''' | ||
:* | :*Set the frequency shift of the SoundDescriptor. Positive values will make the SoundDescriptor higher pitched. Negative values make it lower pitched. | ||
Revision as of 23:05, 12 November 2025
Source: SKSE
Extends: Form Script
Flags: Hidden
Script for the manipulation of Sound Descriptors.
Definition
ScriptName SoundDescriptor extends Form Hidden
SKSE Member Functions
- Float GetDecibelAttenuation()
- Get the decibel attenuation from the SoundDescriptor.
- SetDecibelAttenuation(Float dbAttenuation)
- Set the decibel attenuation of the SoundDescriptor. A value of 0 is maximum volume, the higher the value the quieter it is. Negative values should not be passed.
- Int GetDecibelVariance()
- SetDecibelVariance(Int dbVariance)
- Int GetFrequencyVariance()
- SetFrequencyVariance(Int frequencyVariance)
- Int GetFrequencyShift()
- Get the frequency shift of the SoundDescriptor.
- SetFrequencyShift(Int frequencyShift)
- Set the frequency shift of the SoundDescriptor. Positive values will make the SoundDescriptor higher pitched. Negative values make it lower pitched.