Appendix F. Window Functions
Prev |  | Next

# Appendix F. 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 F.1. Hamming window function statement

    f81   0   8192   20   1   1

Hamming Window Function.

Hanning.

Example F.2. Hanning window function statement

    f82   0   8192   20   2   1

Hanning Window Function

Bartlett.

Example F.3. Bartlett window function statement

    f83   0   8192   20   3   1

Bartlett Window Function

Blackman.

Example F.4. Blackman window function statement

    f84   0   8192   20   4   1

Blackman Window Function

Blackman-Harris.

Example F.5. Blackman-Harris window function statement

    f85   0   8192   20   5   1

Blackman-Harris Window Function

Gaussian.

Example F.6. Gaussian window function statement

    f86   0   8192   20   6   1

Gaussian Window Function

Rectangle.

Example F.7. Rectangle window function statement

    f88   0   8192   -20   8   .1

Note: Vertical scale is exaggerated in this diagram.

Rectangle Window Function

Sync.

Example F.8. Sync window function statement

    f89   0   4096   -20   9   .75

Sync Window Function

Prev |  | Next
Appendix E. Modal Frequency Ratios | Home | Appendix G. SoundFont2 File Format