Bitcoin Forum

Economy => Marketplace => Topic started by: sortedmush on April 09, 2011, 12:49:29 AM



Title: Bounty! 5 BTC for a little php script [closed]
Post by: sortedmush on April 09, 2011, 12:49:29 AM
Hi,

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.

Cheers.



Title: Re: Bounty! 5 BTC for a little php script
Post by: NghtRppr on April 09, 2011, 03:38:31 AM
Hi,

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.

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.


Title: Re: Bounty! 5 BTC for a little php script
Post by: JamezQ on April 09, 2011, 04:02:50 AM
How would the files be created?


Title: Re: Bounty! 5 BTC for a little php script
Post by: sortedmush on April 09, 2011, 09:01:13 AM
Hi,

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.

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.


Title: Re: Bounty! 5 BTC for a little php script
Post by: graingert on April 09, 2011, 05:02:29 PM
I think I have an idea for this...

pm me about it


Title: Re: Bounty! 5 BTC for a little php script
Post by: graingert on April 10, 2011, 11:34:45 PM
You would probably want something like http://flvar.com/


Title: Re: Bounty! 5 BTC for a little php script
Post by: sortedmush on April 11, 2011, 12:42:31 AM
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.


Title: Re: Bounty! 5 BTC for a little php script [closed]
Post by: sortedmush on April 11, 2011, 12:56:20 PM
Done.