|MinDistance|Float| Minimum distance you need to be from the source to hear the audio.
|MinDistance|Float| Minimum distance you need to be from the source to hear the audio.
|MaxDistance|Float| Maximum distance from the source until you no longer hear the audio.
|MaxDistance|Float| Maximum distance from the source until you no longer hear the audio.
|Priority|Int|
|Priority|Int|
|AudioTypeGroup|AudioTypeGroup| Changes what track of Audio the source should be. SoundEffects, Multimedia, Voice, User Interface.
|AudioTypeGroup|AudioTypeGroup| Changes what track of Audio the source should be. SoundEffects, Multimedia, Voice, User Interface.
|DistanceSpace|AudioDistanceSpace| Chooses rather the audio should use it's local scale or it's global scale.
|DistanceSpace|AudioDistanceSpace| Chooses rather the audio should use it's local scale or it's global scale.
Line 22:
Line 22:
|MaxScale|Float|
|MaxScale|Float|
|IgnoreReverbZones|Bool| If the Audio Source should ignore Reverb Zones.
|IgnoreReverbZones|Bool| If the Audio Source should ignore Reverb Zones.
|excludedUsers|SyncRefList`1|TypeString14=SyncRefList<User>| User references placed in here will be excluded from hearing the audio.
|excludedUsers|{{RootFieldType|SyncRefList`1|[[Type:User|User]]}}|TypeAdv14=true| User references placed in here will be excluded from hearing the audio.
}}
}}
Revision as of 10:17, 1 March 2024
This article or section is a stub. You can help the Resonite wiki by expanding it.
User references placed in here will be excluded from hearing the audio.
Usage
Audio Output is used to Output audio from a large variety of audio sources. From Audio Clips, Audio Streams, Opus Streams, etc. Be careful with how many Audio Outputs you have in a world at once or the Audio Buffer can be overfilled and you wont hear anymore Audio Sources until it's cleared. You can negate this by disabling the Active State of the Audio Output component when it's not in use.
Examples
In this example. I'm using a AudioClipPlayer that's going into the Audio Output Source. I set it's volume to .5 so it plays at half volume, disabled DopplerLevel by setting it to 0, changed it's RolloffMode to Linear drop off and made it so you'll only only hear the audio from 5 meters away. I also made it so a specific user can not hear the audio.