Commit Graph

35 Commits (38bafd2be8844d759af8492d688f9deb01313e97)

Author SHA1 Message Date
Slava Pestov af0ddd5985 Specialized arrays, structs and other objects responding to the >c-ptr / byte-length protocol can now be written to binary streams 2010-02-24 20:18:41 +13:00
Joe Groff ad63314a9e audio.chunked-file: inline "check-chunk" so heap-size call can be folded away and audio can be deployed 2010-02-14 13:58:24 -08:00
Joe Groff ce5cf520b3 docs for audio.vorbis 2010-01-25 20:35:36 -08:00
Joe Groff 0cd75fb177 don't leak the Factor stream when the vorbis-stream finishes 2010-01-25 20:28:45 -08:00
Joe Groff 9e1f2f422f audio.loader docs 2010-01-25 20:12:22 -08:00
Joe Groff 1da5fe002e fix audio.vorbis streaming to read in data from factor stream whenever necessary to feed libogg a full page. fixes premature stops on some test files 2010-01-25 19:19:17 -08:00
Joe Groff 3487f3a5c5 tweak queue-clip-buffer to stop bothering the audio generator after generate-audio returns a size of 0 or f 2010-01-25 14:52:21 -08:00
Joe Groff bc14a7392b docs for audio.engine 2010-01-25 14:49:11 -08:00
Joe Groff 3a00d2573a docs for "audio" vocab 2010-01-25 13:14:12 -08:00
Joe Groff 841e267f0a tweak audio.vorbis to queue up a fixed-sized preallocated buffer instead of taking ogg packets in whatever bizarre size they come 2010-01-24 22:06:23 -08:00
Joe Groff a7bb13348d audio.vorbis phase 2—actually decode and supply audio 2010-01-24 12:47:10 -08:00
Joe Groff 91e014ef96 audio.engine: dispose generator for streaming-audio-clip when it finishes 2010-01-24 12:45:51 -08:00
Joe Groff 1ca0b14235 steal chris double's ogg.player code and turn it into an audio.engine compatible vorbis streamer. phase 1—read headers and determine stream audio format 2010-01-24 10:08:39 -08:00
Joe Groff a751ecd8b7 audio.engine: let audio generators determine their own buffer size 2010-01-24 10:07:14 -08:00
Joe Groff d58ac13101 remove debug prints 2010-01-20 15:23:48 -08:00
Joe Groff 90a065e690 rearrange order of <static-audio-clip> args to be consistent with <streaming-audio-clip> . add a streaming noise generator to audio.engine.test to ensure streaming clips work 2010-01-20 12:26:07 -08:00
Joe Groff 6b8c5bd101 tweak audio.engine generator interface 2010-01-20 11:48:48 -08:00
Joe Groff 92409fd3b6 mop up dead code and other debris from audio.engine 2010-01-20 11:40:13 -08:00
Joe Groff 8f9b5b8bc7 update audio.engine.test for audio.engine changes 2010-01-20 11:36:52 -08:00
Joe Groff 7a27d8a92b audio.engine improvements: support static and streaming audio clips. let openal handle static sources to avoid factor timer vagaries. rename (audio-clip) to <static-audio-clip>/<streaming-audio-clip>, and <audio-clip> to play-static-audio-clip/play-streaming-audio-clip 2010-01-20 11:35:02 -08:00
Joe Groff 2f8180faa6 allow audio-sources to control reference distance and rolloff factor 2010-01-19 17:54:55 -08:00
Joe Groff a99f1fd20e make a protocol for audio.engine sources/listeners. fix multiple clip play/pause/stop words, and fix when a clip gets disposed during update-audio 2010-01-19 17:39:11 -08:00
Joe Groff ab7d8aca7c add words to audio.engine for synchronized play/pause/stop of multiple clips 2010-01-19 13:16:45 -08:00
Joe Groff 303efda053 audio.loader vocab that reads audio file with reader appropriate to file extension 2010-01-19 12:46:06 -08:00
Joe Groff 0d57d0deb2 aiff audio file reader 2010-01-19 12:25:54 -08:00
Joe Groff 9c95b884dd make audio.wav endian-neutral 2010-01-19 11:24:13 -08:00
Joe Groff beb0e7ae5b oops. remove catheter and IVs from audio.engine 2010-01-19 10:42:38 -08:00
Joe Groff b8d4a3e51b make audio.engine actually work, add audio.engine.test to exercise it 2010-01-19 10:29:25 -08:00
Joe Groff ace167991d audio.engine initial code dump 2010-01-18 14:17:04 -08:00
Joe Groff 53752b4cfd update C-STRUCT:s in audio.wav 2009-09-18 16:14:02 -05:00
Joe Groff 076ab42dc3 move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab 2009-09-17 22:36:05 -05:00
Joe Groff 4038d30e7e die if wav fmt or data chunk is missing 2009-04-29 08:40:31 -05:00
Joe Groff aa3025ce23 ensure wav chunks are as big as they ought to be 2009-04-29 08:38:01 -05:00
Joe Groff 2741b3739d plug some holes in wav parser 2009-04-29 08:22:35 -05:00
Joe Groff 705e12445c wav file parser 2009-04-28 22:43:43 -05:00