1. Wav files
- Posted by Andrew Sharp <asharp at CHILLI.NET.AU> Apr 27, 1999
- 379 views
I'm wondering if anyone would know how I could use Euphoria to make a .WAV file? Not to play one, just to make one. (For example, take a sequence of numbers and compile them into a xxxxx.wav (such that each number in the sequence represented the value of succesive samples in the wave) which could then be played with any .wav player. Does this code exist? If not, could it? If so, where could I find it? Thanks, Andrew
2. Re: Wav files
- Posted by Brian Jackson <bjackson at 2FARGON.HYPERMART.NET> Apr 27, 1999
- 358 views
>I'm wondering if anyone would know how I could use Euphoria to make a .WAV >file? >Not to play one, just to make one. (For example, take a sequence of numbers >and compile them into a xxxxx.wav (such that each number in the sequence >represented the value of succesive samples in the wave) which could then be >played with any .wav player. >Does this code exist? If not, could it? If so, where could I find it? >Thanks, >Andrew Andrew, The code that you want has been written into WINMM.DLL. The only function in there that I've ever used is PlaySound, but as I understand, all the MIDI and WAV functions are there, too. Brian Jackson
3. Re: Wav files
- Posted by Liquid-Nitrogen Software <nitrogen_069 at HOTMAIL.COM> Apr 28, 1999
- 368 views
>I'm wondering if anyone would know how I could use Euphoria to make a .WAV >file? >Not to play one, just to make one. (For example, take a sequence of numbers >and compile them into a xxxxx.wav (such that each number in the sequence >represented the value of succesive samples in the wave) which could then be >played with any .wav player. >Does this code exist? If not, could it? If so, where could I find it? >Thanks, >Andrew I have a wave file writer somewhere. It's pretty easy. I can look for it if you want. I think it needs a little adjusting tho. Do you want it to recieve the sample data in byte form or floating point to be converted? -Mark