Commit Graph

48 Commits (81a84266d39abdee8516cbf16453409e9090ed3c)

Author SHA1 Message Date
Doug Coleman 8799cdb359 audio.engine: Fix docs 2013-03-25 11:57:25 -07:00
Doug Coleman c586ecec56 audio.engine: Rename audio-orientation 2013-03-23 23:15:16 -07:00
Joe Groff 9ee314b906 audio.gadget: create/dispose clip on graft/ungraft 2012-02-22 15:46:45 -08:00
Joe Groff 273b5115bf add content-gadget hook for inspector
Allow objects such as images, strings, and audio clips to display rich representations of themselves in the inspector by providing methods for a content-gadget generic.
2012-02-21 15:06:27 -08:00
Joe Groff ff990717f8 audio.gadget: printable audio play button 2012-02-20 23:49:01 -08:00
Doug Coleman 94db86a6db Make "foo.private" require load foo instead.
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201.
2011-11-02 11:50:03 -07:00
John Benediktsson 4f42c72012 specialized-arrays: performed some cleanup.
Specifically,
    •   Created >c-array to be replacement for >T-array.
    •   Created cast-array to be generic replacement for all T-array-cast words.
    •   Created c-array@ to be generic replacement for T-array@ words.
    •   Replaced usages of <T-array> with T <c-array>
    •   Replaced usages of <direct-T-array> with T <c-direct-array>
    •   Replaced usages of >T-array with T >c-array
    •   Replaced usages of T-array-cast with T cast-array
    •   Replaced usages of malloc-T-array with T malloc-array.
    •   Removed malloc-T-array.
    •   Removed T-array-cast.
    •   Removed T-array@.
    •   Removed >T-array.

I also added (but didn't change any code to use):
    •   T c-array-type, returns T-array
    •   T c-array?, returns T-array?
    •   c-array{ T ... }, returns T-array{ ... }

Bootstraps just find on Mac OS X.  Also `load-all test-all` works for me.
2011-09-26 11:37:51 -07:00
Slava Pestov 75560699ea Move <ref>, deref and little-endian? from alien.c-types to alien.data, remove <c-object> 2010-12-25 16:55:36 -08:00
Doug Coleman 67c37591ca Remove <uint> *uint and friends. Hopefully remove the last usages of these words 2010-10-25 15:54:42 -05:00
Doug Coleman 4ca9bd0bba Remove usages of <void*> and *void* 2010-10-25 13:22:50 -05:00
Doug Coleman a6f0abb9a2 Rename alarms -> timers 2010-06-10 16:39:13 -05:00
Doug Coleman e75b85de30 Update code base for new alarms api 2010-05-21 20:42:12 -05:00
Slava Pestov ea726f5680 Move remaining sequence operations from generalizations to sequences.generalizations where they belong 2010-05-18 18:36:47 -04:00
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