Appendix D. Window Functions
Prev |  | Next

## Appendix D. Window Functions

Windowing functions are used for analysis, and as waveform envelopes, particularly in granular synthesis. Window functions are built in to some opcodes, but others require a function table to generate the window. GEN20 is used for this purpose. The diagram of each window below, is accompanied by the f statement used to generate the it.

Hamming.

Example D.1. Hamming window function statement

    f81   0   8192   20   1   1

Hamming Window Function.

Hanning.

Example D.2. Hanning window function statement

    f82   0   8192   20   2   1

Hanning Window Function

Bartlett.

Example D.3. Bartlett window function statement

    f83   0   8192   20   3   1

Bartlett Window Function

Blackman.

Example D.4. Blackman window function statement

    f84   0   8192   20   4   1

Blackman Window Function

Blackman-Harris.

Example D.5. Blackman-Harris window function statement

    f85   0   8192   20   5   1

Blackman-Harris Window Function

Gaussian.

Example D.6. Gaussian window function statement

    f86   0   8192   20   6   1

Gaussian Window Function

Rectangle.

Example D.7. Rectangle window function statement

    f88   0   8192   -20   8   .1

Note: Vertical scale is exaggerated in this diagram.

Rectangle Window Function

Sync.

Example D.8. Sync window function statement

    f89   0   4096   -20   9   .75

Sync Window Function

Prev | Up | Next
Appendix C. Formant Values | Home | Appendix E. SoundFont2 File Format