瀏覽代碼

Update Speaker.java

Janco Kock 11 年之前
父節點
當前提交
24a6529c03
共有 1 個文件被更改,包括 1 次插入16 次删除
  1. 1 16
      Speaker.java

+ 1 - 16
Speaker.java

@@ -20,19 +20,4 @@ public class Speaker
       speaker.freqout((frequency / 10), 1);
       speaker.freqout((frequency / 10), 1);
     }
     }
   }
   }
-
-  public static void main()
-  {
-    Speaker test = new Speaker(3);
-
-    test.playSound(1000, 100);
-    test.playSound(7000, 200);
-    test.playSound(9000, 100);
-    test.playSound(1000, 100);
-    test.playSound(10000, 200);
-    test.playSound(3000, 100);
-    test.playSound(20000, 100);
-    test.playSound(15000, 200);
-    test.playSound(12000, 100);
-  }
-}
+}