Bitcoin Forum
December 10, 2016, 12:50:26 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bounty! 5 BTC for a little php script [closed]  (Read 1301 times)
sortedmush
Full Member
***
Offline Offline

Activity: 126


The geek shall inherit the earth.


View Profile
April 09, 2011, 12:49:29 AM
 #1

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.

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481374226
Hero Member
*
Offline Offline

Posts: 1481374226

View Profile Personal Message (Offline)

Ignore
1481374226
Reply with quote  #2

1481374226
Report to moderator
1481374226
Hero Member
*
Offline Offline

Posts: 1481374226

View Profile Personal Message (Offline)

Ignore
1481374226
Reply with quote  #2

1481374226
Report to moderator
NghtRppr
Sr. Member
****
Offline Offline

Activity: 476


View Profile
April 09, 2011, 03:38:31 AM
 #2

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.
JamezQ
Member
**
Offline Offline

Activity: 60


View Profile
April 09, 2011, 04:02:50 AM
 #3

How would the files be created?
sortedmush
Full Member
***
Offline Offline

Activity: 126


The geek shall inherit the earth.


View Profile
April 09, 2011, 09:01:13 AM
 #4

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.
graingert
Full Member
***
Offline Offline

Activity: 227


View Profile WWW
April 09, 2011, 05:02:29 PM
 #5

I think I have an idea for this...

pm me about it

 *Image Removed*
graingert
Full Member
***
Offline Offline

Activity: 227


View Profile WWW
April 10, 2011, 11:34:45 PM
 #6

You would probably want something like http://flvar.com/

 *Image Removed*
sortedmush
Full Member
***
Offline Offline

Activity: 126


The geek shall inherit the earth.


View Profile
April 11, 2011, 12:42:31 AM
 #7

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.
sortedmush
Full Member
***
Offline Offline

Activity: 126


The geek shall inherit the earth.


View Profile
April 11, 2011, 12:56:20 PM
 #8

Done.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!