Record audio using a codec. Anyone?
Blitz3D Forums/Blitz3D Programming/Record audio using a codec. Anyone?
| ||
Last year i saw an example on how to record audio using a codec and transmit it over the internet on blitzcoder. I cant for the life of me remember what it was called or who it was by and doing a quick search in these forums and on blitzcoder, it seems it has dissapeared! Does anyone know of this code or an alternative? Thanx in advance. |
| ||
http://www.blitzbasic.com/codearcs/codearcs.php?code=517 http://www.blitzbasic.com/codearcs/codearcs.php?code=845 |
| ||
Thanx for the links, interesting stuff especially the second link. My problem now is how to compress the raw pcm audio to make it worth sending over the internet. Im sure somebody done this using a dll or something. |
| ||
you could use OGGENC.EXE, together with RUNFILE.EXE (or another soltution that allows to run a file non-visible), then call OGGENC to encode the WAV to OGG before you send it over the web. Tho, requires the player to know the OGG format. |
| ||
Ill try this out, thanx |