[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sound-makes only one click?



Jm wrote:
> 
> Thanks everybody for the advice, I put in a delay and it makes sound
> now. I'm trying to write a SHORT program that will allow basic to make
> different tones (whatever frequency needed) by calling it. Does a
> freeware one already exist?

Hi, I had this kicking around and thought it might come in 
handy.  The formula for figuring out any tone is, start
with a pitch (e.g. A 440 Hz and multiply it by this
New Pitch=440 * (1.059463094359300)^Z
where Z is the number of tones difference between A 440
and the tone you want.
(negatives exponents work, too)

	A	55.00
	Bb	58.27
	B 	61.74
	C	65.41
	Db	69.30
	D 	73.42
	Eb	77.78
	E 	82.41
	F	87.31
	Gb	92.50
	G 	98.00
	Ab	103.83
	A	110.00
 	Bb	116.54
	B 	123.47
	C	130.81
	Db	138.59
	D 	146.83
	Eb	155.56
	E 	164.81
	F	174.61
	Gb	185.00
	G 	196.00
	Ab	207.65
	A	220.00
 	Bb	233.08
	B 	246.94
	C	261.63
	Db	277.18
	D 	293.66
	Eb	311.13
	E 	329.63
 	F	349.23
	Gb	369.99
	G 	392.00
	Ab	415.30
	A	440.00
 	Bb	466.16
	B 	493.88
	C	523.25
	Db	554.37
 	D 	587.33
	Eb	622.25
	E 	659.26
 	F	698.46
	Gb	739.99
	G 	783.99
 	Ab	830.61
	A	880.00
 	Bb	932.33
	B 	987.77
 	C	1046.50
	Db	1108.73
 	D 	1174.66
	Eb	1244.51
	E 	1318.51
	F	1396.91
	Gb	1479.98
	G 	1567.98
	Ab	1661.22
	A	1760.00
	Bb	1864.66
	B 	1975.53
	C	2093.00
	Db	2217.46
	D 	2349.32
	Eb	2489.02
	E 	2637.02
	F	2793.83
	Gb	2959.96
	G 	3135.96
	Ab	3322.44
	A	3520.00
	Bb	3729.31
	B 	3951.07
	C	4186.01
	Db	4434.92
	D 	4698.64
	Eb	4978.03
	E 	5274.04
	F	5587.65
	Gb	5919.91
	G 	6271.93
	Ab	6644.88
	A	7040.00
	Bb	7458.62
	B 	7902.13
	C	8372.02
	Db	8869.84
	D 	9397.27
	Eb	9956.06
	E 	10548.08
	F	11175.30
	Gb	11839.82
	G 	12543.85
	Ab	13289.75
	A	14080.00
	Bb	14917.24
	B 	15804.27
	C	16744.04
	Db	17739.69
	D 	18794.55
	Eb	19912.13