Jacky's Simple Audio Manager  3.0.0-preview
A decentralized audio playing system for Unity, designed for simplicity and built to scale!
JSAM.SoundFileObject Class Reference
Inheritance diagram for JSAM.SoundFileObject:
JSAM.BaseAudioFileObject

Public Member Functions

void Play (Transform transform=null, SoundChannelHelper helper=null)
 
void Play (Vector3 position, SoundChannelHelper helper=null)
 
- Public Member Functions inherited from JSAM.BaseAudioFileObject
void Initialize ()
 

Static Public Member Functions

static float GetRandomPitch (SoundFileObject audioFile)
 Given an AudioFileSoundObject, returns a pitch with a modified pitch depending on the Audio File Object's settings More...
 

Additional Inherited Members

- Public Attributes inherited from JSAM.BaseAudioFileObject
float loopStart
 Starting loop point, stored as time for accuracy sake, converted to samples in back-end More...
 
float loopEnd
 Ending loop point, stored as time for accuracy sake, converted to samples in back-end More...
 
int bpm = 120
 
float relativeVolume = 1
 
bool spatialize = false
 
float maxDistance
 
Priority priority = Priority.Default
 
float startingPitch = 1
 
float pitchShift = 0.05f
 
LoopMode loopMode = LoopMode.NoLooping
 
float delay = 0
 
bool ignoreTimeScale = false
 
uint maxPlayingInstances = 10
 
UnityEngine.Audio.AudioMixerGroup mixerGroupOverride = null
 
bool fadeInOut
 
float fadeInDuration
 
float fadeOutDuration
 
bool bypassEffects
 
bool bypassListenerEffects
 
bool bypassReverbZones
 
AudioChorusObj chorusFilter
 
AudioDistortionObj distortionFilter
 
AudioEchoObj echoFilter
 
AudioLowPassObj lowPassFilter
 
AudioHighPassObj highPassFilter
 
AudioReverbObj reverbFilter
 
bool neverRepeat
 
int lastClipIndex = -1
 
- Protected Attributes inherited from JSAM.BaseAudioFileObject
string safeName = ""
 
List< AudioClip > files = new List<AudioClip>()
 
- Properties inherited from JSAM.BaseAudioFileObject
string SafeName [get]
 
List< AudioClip > Files [get]
 

Member Function Documentation

◆ GetRandomPitch()

static float JSAM.SoundFileObject.GetRandomPitch ( SoundFileObject  audioFile)
static

Given an AudioFileSoundObject, returns a pitch with a modified pitch depending on the Audio File Object's settings

Parameters
audioFile

◆ Play() [1/2]

void JSAM.SoundFileObject.Play ( Transform  transform = null,
SoundChannelHelper  helper = null 
)

◆ Play() [2/2]

void JSAM.SoundFileObject.Play ( Vector3  position,
SoundChannelHelper  helper = null 
)

The documentation for this class was generated from the following file: