public static void main(String[] args) {

        /**
         *      Replace: directory.getAbsolutePath() + "/FIZZ.WAV"
         *      and directory.getAbsolutePath() + "/BANG.WAV"
         *      with the location of your files, or the working
         *      directory.
         */

        Fizz = new File(directory.getAbsolutePath() + "/FIZZ.WAV");
        Bang = new File(directory.getAbsolutePath() + "/BANG.WAV");
        String a;

        for (int j = 1; j <= 50; j++) {

            if (j % 3 == 0 && j % 5 == 0) {
                a = "FizzBang: ";
                audio(1);
                audio(2);
            } else if (j % 3 == 0) {
                a = "Fizz: ";
                audio(1);
            } else if (j % 5 == 0) {
                a = "Buzz: ";
                audio(2);
            } else {
                a = "";
            }

            System.out.println(a + j);

            try {
                Thread.sleep(500);
            } catch (InterruptedException e) {
                System.out.print(" :(");
            }

        }

        System.exit(0);
    }