Mercurial > audio-send
comparison org/ear.org @ 22:616215c81d23
added footnote
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Thu, 03 Nov 2011 15:14:44 -0700 |
parents | 0ee04505a37f |
children | f4c7260d397a |
comparison
equal
deleted
inserted
replaced
21:0ee04505a37f | 22:616215c81d23 |
---|---|
637 0); | 637 0); |
638 return format; | 638 return format; |
639 } | 639 } |
640 #+end_src | 640 #+end_src |
641 | 641 |
642 *** Boring Device management stuff | 642 ** Boring Device management stuff |
643 This code is more-or-less copied verbatim from the other =OpenAL= | 643 This code is more-or-less copied verbatim from the other =OpenAL= |
644 backends. It's the basis for =OpenAL='s primitive object system. | 644 backends. It's the basis for =OpenAL='s primitive object system. |
645 #+srcname: device-init | 645 #+srcname: device-init |
646 #+begin_src C | 646 #+begin_src C |
647 //////////////////// Device Initialization / Management | 647 //////////////////// Device Initialization / Management |
823 | 823 |
824 This extremely basic program prints out the first sample it encounters | 824 This extremely basic program prints out the first sample it encounters |
825 at every time stamp. You can see the rendered sound begin printed at | 825 at every time stamp. You can see the rendered sound begin printed at |
826 the REPL. | 826 the REPL. |
827 | 827 |
828 - As a bonus, this method of capturing audio for AI can also be used | |
829 to capture perfect audio from a jMonkeyEngine application, for use | |
830 in demos and the like. | |
831 | |
832 | |
828 * COMMENT Code Generation | 833 * COMMENT Code Generation |
829 | 834 |
830 #+begin_src clojure :tangle ../../cortex/src/cortex/hearing.clj | 835 #+begin_src clojure :tangle ../../cortex/src/cortex/hearing.clj |
831 <<ears>> | 836 <<ears>> |
832 #+end_src | 837 #+end_src |