next up previous
Next: Segment type: twiggle Up: Project wigout Previous: Evaluation of the resulting

Segment type: wiggle

A wiggle has two variables, an amplitude height ($\pm 32767$), and sample length (0-1000).

Below is an example of an input file for creating seven segments, each of which is a wiggle.

The first line of each segment has its identifier and its type. The second line refers to the duration in samples, from left to right: the initial, maximum, minimum, and increment. The third line refers to the amplitudes, and again specifies the initial, maximum, minimum, and increment.

#init max    min   rate
w0    wiggle                # identifier, type
100   100    20    4.5      # (duration) initial, max, min, inc
10000 20000 -20000 10       # (amplitudes) initial, max, min, inc

w1     wiggle
20     130    20    4.5
-10000 10000 -10000 20

w2    wiggle
50    100    20    4.5
10000 20000 -20000 30

w3     wiggle
1      130    20    4.5
-10000 10000 -10000 40

w4    wiggle
1     100    20    4.5
10000 20000 -20000 50

w5     wiggle
1      130    20    4.5
-10000 10000 -10000 60

w6    wiggle
1     100    20    4.5
10000 20000 -20000 70

Graphs of this waveform at the 100th and the 700th iterations, followed by their respective harmonic spectra, are given below.

\includegraphics [width=2.5in]{graphics/w100.eps}
\includegraphics [width=2.5in]{graphics/w100f.eps}
\includegraphics [width=2.5in]{graphics/w700.eps}
\includegraphics [width=2.5in]{graphics/w700f.eps}

Here are the same segments, with the same variable magnitudes, but three of the seven segments are slanted. The data are followed by their waveforms, and the spectrum for each waveform. Note that the iteration number for each waveform below is the same as that of the waveforms above.

#init max    min   rate
w0    wiggle				# identifier, type
100   100    20    4.5		# (duration) initial, max, min, inc
10000 20000 -20000 10		# (amplitudes) initial, max, min, inc

w1     wiggle slanted
20     130    20    4.5
-10000 10000 -10000 20

w2    wiggle
50    100    20    4.5
10000 20000 -20000 30

w3     wiggle slanted
1      130    20    4.5
-10000 10000 -10000 40

w4    wiggle
1     100    20    4.5
10000 20000 -20000 50

w5     wiggle slanted
1      130    20    4.5
-10000 10000 -10000 60

w6    wiggle
1     100    20    4.5
10000 20000 -20000 70

\includegraphics [width=2.5in]{graphics/w100s.eps}
\includegraphics [width=2.5in]{graphics/w100sf.eps}
\includegraphics [width=2.5in]{graphics/w700s.eps}
\includegraphics [width=2.5in]{graphics/w700sf.eps}


next up previous
Next: Segment type: twiggle Up: Project wigout Previous: Evaluation of the resulting
Arun Chandra
arunc@evergreen.edu