Class SpatialModifier
java.lang.Object
net.raphimc.audiomixer.soundmodifier.impl.SpatialModifier
- All Implemented Interfaces:
SoundModifier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatfloatfloatfloatfloatfloatfloatfloatfloatvoidmodify(AudioFormat audioFormat, int[] renderedSamples) setListenerX(float listenerX) setListenerY(float listenerY) setListenerYaw(float listenerYaw) setListenerYawDegrees(int listenerYaw) setListenerZ(float listenerZ) setMaxDistance(float maxDistance) setSoundX(float soundX) setSoundY(float soundY) setSoundZ(float soundZ)
-
Constructor Details
-
SpatialModifier
public SpatialModifier(float maxDistance)
-
-
Method Details
-
modify
- Specified by:
modifyin interfaceSoundModifier
-
getMaxDistance
public float getMaxDistance() -
setMaxDistance
-
getSoundX
public float getSoundX() -
setSoundX
-
getSoundY
public float getSoundY() -
setSoundY
-
getSoundZ
public float getSoundZ() -
setSoundZ
-
getListenerX
public float getListenerX() -
setListenerX
-
getListenerY
public float getListenerY() -
setListenerY
-
getListenerZ
public float getListenerZ() -
setListenerZ
-
getListenerYaw
public float getListenerYaw() -
setListenerYaw
-
getListenerYawDegrees
public float getListenerYawDegrees() -
setListenerYawDegrees
-