Topic awaiting preservation: Audio waves... (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: |
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? |
Nervous Wreck (II) Inmate From: UK |
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. |