Mercurial > cortex
diff org/hearing.org @ 167:9e6a30b8c99a
renamed some functions in eyes.org
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 04 Feb 2012 04:07:25 -0700 |
parents | e4c2cc79a171 |
children | 94b79c191fc7 |
line wrap: on
line diff
1.1 --- a/org/hearing.org Sat Feb 04 03:38:05 2012 -0700 1.2 +++ b/org/hearing.org Sat Feb 04 04:07:25 2012 -0700 1.3 @@ -741,22 +741,13 @@ 1.4 1.5 * Finally, Ears in clojure! 1.6 1.7 -Now that the infrastructure is complete (modulo a few patches to 1.8 -jMonkeyEngine3 to support accessing this modified version of =OpenAL= 1.9 -that are not worth discussing), the clojure ear abstraction is rather 1.10 -simple. Just as there were =SceneProcessors= for vision, there are 1.11 +Now that the infrastructure is complete the clojure ear abstraction is 1.12 +simple. Just as there were =SceneProcessors= for vision, there are 1.13 now =SoundProcessors= for hearing. 1.14 1.15 #+include "../../jmeCapture/src/com/aurellem/capture/audio/SoundProcessor.java" src java 1.16 1.17 1.18 -Ears work the same way as vision. 1.19 - 1.20 -(hearing creature) will return [init-functions sensor-functions]. The 1.21 -init functions each take the world and register a SoundProcessor that 1.22 -does foureier transforms on the incommong sound data, making it 1.23 -available to each sensor function. 1.24 - 1.25 1.26 #+name: ears 1.27 #+begin_src clojure 1.28 @@ -866,7 +857,6 @@ 1.29 (for [ear (ears creature)] 1.30 (hearing-fn creature ear))) 1.31 1.32 - 1.33 #+end_src 1.34 1.35 * Example