I'm hoping this is quite straight forward
I need a php script (or something that I can run on 1btchost) that'll enable me to save dynamically created audio files. Ideally I want it to convert 2 channels of raw samples into a stereo mp3 file.
Unfortunately, doing this entirely in PHP would be a nightmare. You could do it easily if you were allowed to run LAME from the command line but you mentioned 1btchost which I don't think will allow you to upload and run arbitrary executables.
Hmm. I'll have to send them an email. I don't want it running 24 hours. Possibly just 10 minutes a day. I'm guessing it would be just as much hassle to encode into other formats? And doing it in wav would be relatively easy, but then I've got a bandwidth issue. Wishful thinking that this was going to be straight forward.
A script that output a wav file would be fine for testing though. I'd be happy to pay the bounty for that.
How would the files be created?
The raw wav data will be generated mathematically in php, using basic wave forms.