Listener functionsSource functionsSlappy functionsSound functions
Types
SlappyError = object of IOError
- Source Edit
Procs
proc coneInnerAngle(source: Source): float32 {....raises: [], tags: [], forbids: [].}
- Source Edit
proc coneInnerAngle=(source: Source; v: float32) {....raises: [], tags: [], forbids: [].}
- Inner angle of the sound cone, in degrees. Default is 360. Source Edit
proc coneOuterAngle(source: Source): float32 {....raises: [], tags: [], forbids: [].}
- Source Edit
proc coneOuterAngle=(source: Source; v: float32) {....raises: [], tags: [], forbids: [].}
- Outer angle of the sound cone, in degrees. Default is 360. Source Edit
proc coneOuterGain(source: Source): float32 {....raises: [], tags: [], forbids: [].}
- Source Edit
proc coneOuterGain=(source: Source; v: float32) {....raises: [], tags: [], forbids: [].}
- The gain when outside the oriented cone. Source Edit
proc halfDistance(source: Source): float32 {....raises: [], tags: [], forbids: [].}
- Source Edit
proc halfDistance=(source: Source; v: float32) {....raises: [], tags: [], forbids: [].}
- The distance under which the volume for the source would normally drop by half (before being influenced by rolloff factor or maxDistance). Source Edit
proc maxDistance(source: Source): float32 {....raises: [], tags: [], forbids: [].}
- Source Edit
proc maxDistance=(source: Source; v: float32) {....raises: [], tags: [], forbids: [].}
- Set the Inverse Clamped Distance Model to set the distance where there will no longer be any attenuation of the source. Source Edit
proc rolloffFactor(source: Source): float32 {....raises: [], tags: [], forbids: [].}
- Source Edit
proc rolloffFactor=(source: Source; v: float32) {....raises: [], tags: [], forbids: [].}
- Set rolloff rate for the source. Default is 1.0. Source Edit
proc slappyClose() {....raises: [SlappyError], tags: [], forbids: [].}
- Call this on exit. Source Edit
proc slappyInit() {....raises: [SlappyError], tags: [], forbids: [].}
- Call this on start of your program. Source Edit
proc slappyTick() {....raises: [], tags: [], forbids: [].}
- Updates all sources and sounds. Source Edit