The Placebo file thread got me thinking... Anybody want to write me a script? $10 reward for it...

Viper GTS

Lifer
Oct 13, 1999
38,107
433
136
I want a script (or a compiled executable - even better - with source code) that will take three variables as input:

Time: In minutes and seconds
Starting frequency: In hz
Ending frequency: In hz

The output is a *.wav file of length time, sweeping evenly from the starting frequency to the ending frequency.

For example, a 74 minute frequency sweep from 0 to 25,000 hz.

Is this even possible with a script? I think it would be something like:

Write header info
Write audio data
Write footer info

Anybody know if this can be done? Anybody have any pointers if I decide to try this myself?

Viper GTS
 

Martin

Lifer
Jan 15, 2000
29,178
1
81
I might be able to write you a basic dos app that uses the PCSpeaker, but no wav output.


I'll see if I can do it (been a while since I've programmed), no need for payment.


And I don't think this can be done with any script...
 

Keego

Diamond Member
Aug 15, 2000
6,223
2
81
with the right library, I bet you could make a C script that does that...
 

Viper GTS

Lifer
Oct 13, 1999
38,107
433
136
If you can figure out how to do it that way it might get me started on doing the WAV output... Or give someone else the help they need.

I specifically need/want wav output for the ability to make CD's with it. :D

80 minute sweep from 0 to 25,000 would be a lot of fun to have.

:)

Viper GTS
 

worth

Platinum Member
Feb 4, 2001
2,369
0
0
Are the $10 US Dollars? I don't want to be ripped off like the last time and get Candian Dollars and only afford a can of RC Cola :|
 

Viper GTS

Lifer
Oct 13, 1999
38,107
433
136


<< Why would you want it 80 minutes long? >>



To fill an 80 minute CD, of course.



<< Are the $10 US Dollars? I don't want to be ripped off like the last time and get Candian Dollars and only afford a can of RC Cola >>



Of course it's US Dollars.

Viper GTS
 

worth

Platinum Member
Feb 4, 2001
2,369
0
0


<< The average American is just 30 IQ points from being legally retarded. >>



Oh, and peto, do you realize 30 IQ points is huge? An IQ score of 130 is considered average, while 160 is extremely intelligent(some might say genius starts here).

[edit]messed up on the quote[/i] >>

 

Evadman

Administrator Emeritus<br>Elite Member
Feb 18, 2001
30,990
5
81
Alrighty, I have program. That didn't take long :) It is an executable. Where you want me to send?

<edit>
you have mail :)
</edit>
 

Evadman

Administrator Emeritus<br>Elite Member
Feb 18, 2001
30,990
5
81
Fine. since everyone wants it, go ahead.

Sweep / tone Generator

From ZD-net. It is a tone generator ( Use for phone fun! ) but will also output sweeps to a .wav file.
 

Jerboy

Banned
Oct 27, 2001
5,190
0
0
Agilent Technology makes a function generator that can do this sort of thing.

Hook it up to input and record it to wav
 

Sigurd

Member
Aug 20, 2001
125
0
0


<<

<< The average American is just 30 IQ points from being legally retarded. >>



Oh, and peto, do you realize 30 IQ points is huge? An IQ score of 130 is considered average, while 160 is extremely intelligent(some might say genius starts here).

[edit]messed up on the quote
>>

[/i] >>



Nah, 100 is average, 130 is entry-genius (MENSA requires 132 i think), and 160 is extremely intelligent.