Closed Thread Icon

Topic awaiting preservation: Audio waves... (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=24901" title="Pages that link to Topic awaiting preservation: Audio waves... (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Audio waves... <span class="small">(Page 1 of 1)</span>\

 
esskay
Nervous Wreck (II) Inmate

From:
Insane since: Jan 2005

posted posted 02-03-2005 18:34

So if Javascript can be used to generate reusable bitmapped images on the fly, can it be used to generate reusable wave style audio bits? The browser has the capacity for audio playback, but can the binary resource that it feeds from be dynamically generated/replaced with JavaScript code?

-SK

shingebis
Nervous Wreck (II) Inmate

From: UK
Insane since: Aug 2004

posted posted 02-03-2005 20:54

I looked into this a while back at the same time as my early experiments with GIFs, but ran into the same problem with not being able to output zero bytes - as I recall, the WAV format stores the sample rate as a 32-bit word, and somehow I don't think we'll have much success trying to play a 16MHz sample. Looks like you'd either have to sacrifice IE compatibility, or find a more obscure file format.

« BackwardsOnwards »

Show Forum Drop Down Menu