From e7d470e954d0a17ab1b2fe0065f46f78475272f9 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 8 Apr 2020 17:10:29 -0400 Subject: Add chickade 0.5.0 stuff. --- manuals/chickadee/The-Environment.html | 152 +++++++++++++++++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 manuals/chickadee/The-Environment.html (limited to 'manuals/chickadee/The-Environment.html') diff --git a/manuals/chickadee/The-Environment.html b/manuals/chickadee/The-Environment.html new file mode 100644 index 0000000..31ce861 --- /dev/null +++ b/manuals/chickadee/The-Environment.html @@ -0,0 +1,152 @@ + + + + + + +The Environment (The Chickadee Game Toolkit) + + + + + + + + + + + + + + + + + + + +
+

+Previous: , Up: Audio   [Contents][Index]

+
+
+

2.4.4 The Environment

+ +

The environment defines global parameters that govern how sound is +processed within the 3D modeling space. +

+
+
Procedure: doppler-factor
+

Return the current doppler factor. +

+ +
+
Procedure: speed-of-sound
+

Return the current speed of sound. +

+ +
+
Procedure: distance-model
+

Return the current distance model. +

+

Possible return values are: +

+
    +
  • none +
  • inverse-distance +
  • inverse-distance-clamped (the default) +
  • linear-distance +
  • linear-distance-clamped +
  • exponent-distance +
  • exponent-distance-clamped +
+ +
+ +
+
Procedure: set-doppler-factor! doppler-factor
+

Change the doppler factor to doppler-factor. +

+ +
+
Procedure: set-speed-of-sound! speed-of-sound
+

Change the speed of sound to speed-of-sound. +

+ +
+
Procedure: set-distance-model! distance-model
+

Change the distance model to distance-model. Valid distance +models are: +

+
    +
  • none +
  • inverse-distance +
  • inverse-distance-clamped +
  • linear-distance +
  • linear-distance-clamped +
  • exponent-distance +
  • exponent-distance-clamped +
+ +
+ + + + + + -- cgit v1.2.3