as you not posted your code i could only play with, what i have, the above mentioned
example for the processing sound lib.
/ File / Examples / Sound / Analysis / FFTSpectrum
or ( only little bit different )
why you not open / run it?
you will find the
int scale = 5;
my values are coming out usually about “0.00XXXe-6” or just tiny.
well, you know what FFT is?
if that frequency is not in the original song ( or not needed as harmonic
to simulate a signal
what is not in phase with the sample array )
it has to be small???
also that sin amplitude will vary with the internal amplification of the signal ( but NOT with the PC audio VOL setting )