public class TestDFT6 { public static void main (String[] argv) { // 8192 = 2^13 samples per second. int samplesPerSecond = 8192; byte[] samples = SignalProcUtil.makeMusic ("CCCC", "CCGG", samplesPerSecond); // Window size of N=1024 int N = 1024; int numWindows = samples.length / N; System.out.println ("Number of windows: " + numWindows); byte[] filteredBytes = new byte [samples.length]; // Process each window separately. for (int w=0; w