Author

Topic: Bounty! 5 BTC for a little php script [closed] (Read 1602 times)

full member
Activity: 140
Merit: 100
Done.
full member
Activity: 140
Merit: 100
You would probably want something like http://flvar.com/

I don't want to record any audio.

For the time being, I just need to be able to save raw samples as a wav file. The raw audio will be algorithmically generated in PHP. I just need a script that'll take 2 arrays of samples, and spit them as stereo wav file.

Later on I can worry about using LAME to convert the wavs into mp3.
full member
Activity: 227
Merit: 100
You would probably want something like http://flvar.com/
full member
Activity: 227
Merit: 100
I think I have an idea for this...

pm me about it
full member
Activity: 140
Merit: 100
Hi,

I'm hoping this is quite straight forward  Undecided

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.

Cheers.



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.
member
Activity: 60
Merit: 10
How would the files be created?
sr. member
Activity: 504
Merit: 252
Elder Crypto God
Hi,

I'm hoping this is quite straight forward  Undecided

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.

Cheers.



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.
full member
Activity: 140
Merit: 100
Hi,

I'm hoping this is quite straight forward  Undecided

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.

Cheers.

Jump to: