Mercurial > cortex
comparison org/hearing.org @ 222:49d0a545a872
added source links; next section
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 11 Feb 2012 12:21:33 -0700 |
parents | 7c374c6cfe17 |
children | 14718d7b19eb |
comparison
equal
deleted
inserted
replaced
221:7c374c6cfe17 | 222:49d0a545a872 |
---|---|
1127 | 1127 |
1128 #+begin_src sh | 1128 #+begin_src sh |
1129 cd /home/r/proj/cortex/render/worm-audio | 1129 cd /home/r/proj/cortex/render/worm-audio |
1130 ffmpeg -r 60 -i out/%07d.png -i audio.wav \ | 1130 ffmpeg -r 60 -i out/%07d.png -i audio.wav \ |
1131 -b:a 128k -b:v 9001k \ | 1131 -b:a 128k -b:v 9001k \ |
1132 -acodec libvorbis -vcodec libtheora worm-hearing.ogg | 1132 -c:a libvorbis -c:v libtheora worm-hearing.ogg |
1133 #+end_src | 1133 #+end_src |
1134 | 1134 |
1135 * Headers | 1135 * Headers |
1136 | 1136 |
1137 #+name: hearing-header | 1137 #+name: hearing-header |
1164 (:import (com.jme3.audio AudioNode Listener)) | 1164 (:import (com.jme3.audio AudioNode Listener)) |
1165 (:import com.jme3.scene.Node | 1165 (:import com.jme3.scene.Node |
1166 com.jme3.system.AppSettings)) | 1166 com.jme3.system.AppSettings)) |
1167 #+end_src | 1167 #+end_src |
1168 | 1168 |
1169 * Source Listing | |
1170 - [[../src/cortex/hearing.clj][cortex.hearing]] | |
1171 - [[../src/cortex/test/hearing.clj][cortex.test.hearing]] | |
1172 #+html: <ul> <li> <a href="../org/hearing.org">This org file</a> </li> </ul> | |
1173 - [[http://hg.bortreb.com ][source-repository]] | |
1174 | |
1169 | 1175 |
1170 * Next | 1176 * Next |
1171 - As a bonus, this method of capturing audio for AI can also be used | 1177 The worm can see and hear, but it can't feel the world or |
1172 to capture perfect audio from a jMonkeyEngine application, for use | 1178 itself. Next post, I'll give the worm a [[./touch.org][sense of touch]]. |
1173 in demos and the like. | |
1174 | 1179 |
1175 | 1180 |
1176 | 1181 |
1177 * COMMENT Code Generation | 1182 * COMMENT Code Generation |
1178 | 1183 |