Bitcoin Forum
May 08, 2024, 03:07:38 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bounty! 5 BTC for a little php script [closed]  (Read 1577 times)
sortedmush (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
April 09, 2011, 12:49:29 AM
Last edit: April 11, 2011, 12:55:52 PM by sortedmush
 #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.
1715137658
Hero Member
*
Offline Offline

Posts: 1715137658

View Profile Personal Message (Offline)

Ignore
1715137658
Reply with quote  #2

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

Activity: 504
Merit: 252


Elder Crypto God


View Profile WWW
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
Merit: 10


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

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

Activity: 140
Merit: 100


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
Merit: 100


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
Merit: 100


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

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

 *Image Removed*
sortedmush (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 100


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 (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 100


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

Done.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!