next up previous
Next: Conversion Charts Up: The Synthesis Algorithms Used Previous: How does a computer

What else do I need to know about the basis of TrikTraks and Wigout?

Not much. Remember that the frequency is the inverse of the waveform duration:

\begin{displaymath}
frequency~=~sampling\_rate~/~waveform\_duration\end{displaymath}

\begin{displaymath}
waveform\_duration ~ = ~ sampling\_rate ~ / ~ frequency\end{displaymath}

And also that the volume is

\begin{displaymath}
decibels~=~20~*~log_{10}(maximum\_displacement)\end{displaymath}

\begin{displaymath}
maximum\_displacement~=~10^{decibels/20}\end{displaymath}

So, if you wanted to create the frequency of 660 hertz (the E above A-440) and your sampling rate was 44100

66.81 = 44100 / 660

You would need a waveform duration of 67 samples (rounded up). If you wanted that waveform to have a loudness of 72 dB:

3981.07 = 1072/20

Its maximum displacement would have to be 3981.


next up previous
Next: Conversion Charts Up: The Synthesis Algorithms Used Previous: How does a computer
Arun Chandra
arunc@evergreen.edu