Quantcast
Channel: NAudio
Viewing all articles
Browse latest Browse all 5831

New Post: Math behind tone generator with Beats

$
0
0
ok this is an example:
        Frequency = 180 Hz
        Amplitude = 0.5 db
        Beat = 4 Hz
         waveform sampling rate is 44100 Hz
ok

1) Which the information above, does that mean that every 11025 samples there should be an beat ( meaning 0 s). I should add 0 ? The math I used was number for sample = (1D / Beat) / ( 1D/44100D)

2) if I solve for λ( wavelength) and make sure I do not start adding 0s before the λ starts again will that stop noise/ distortion in my tone ? I get ticks in my wave files, but if I do not interrupt the λ there should be no distortion or ticks right ?

3) From the information above λ should be (1/44100) / (180)
λ= 1.2597631645250692869740488788108e-7s
λ ( wavelength) = C/ F

Viewing all articles
Browse latest Browse all 5831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>