From ebcc99fa5fd50c18d620b684ae6bbca8738172ef Mon Sep 17 00:00:00 2001 From: Jesse Wei Date: Sun, 26 Nov 2023 17:20:53 -0500 Subject: [PATCH] Working sound --- src/main/java/com/comp541/Main2.java | 10 ++++++++++ src/main/java/module-info.java | 1 + 2 files changed, 11 insertions(+) create mode 100644 src/main/java/com/comp541/Main2.java diff --git a/src/main/java/com/comp541/Main2.java b/src/main/java/com/comp541/Main2.java new file mode 100644 index 0000000..7c74bb3 --- /dev/null +++ b/src/main/java/com/comp541/Main2.java @@ -0,0 +1,10 @@ +package com.comp541; + +import org.jfugue.player.Player; + +public class Main2 { + public static void main(String[] args) { + Player player = new Player(); + player.play("C D E F G A B"); + } +} diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java index 3271ffa..180cde8 100644 --- a/src/main/java/module-info.java +++ b/src/main/java/module-info.java @@ -2,6 +2,7 @@ requires javafx.controls; requires javafx.fxml; requires org.json; + requires jfugue; exports com.comp541.GUI; opens com.comp541.GUI to javafx.fxml; exports com.comp541;