Window functions are required to achieve excellent frequency resolution, peak sidelobe ratio, and sidelobe decay. The cosine-sum window function satisfies these requirements. However, conventional cosine-sum windows limit the number of terms and coefficient values. Therefore, this study proposes a new class of cosine-sum windows that has more terms than those in the conventional cosine-sum window and considers positive and negative coefficients. For such windows, we present three design examples. The first is a window function with low sidelobe decay, which reduce the sidelobes by adding correction terms to the conventional windows without damaging the sidelobe decay. The second is a window function that improves the frequency resolution by emphasizing the discontinuities of the extracted signal. The third is a window function that reduces sidelobes further without deteriorating the frequency resolution by adding correction terms to the window functions, which are designed in advance. We confirmed the effectiveness of these examples of the proposed window function.INDEX TERMS Window function, cosine-sum windows, raised-cosine windows, Hann window, Blackman window.