From d7392b8ba11517117c25f6fc139da84873cb7cac Mon Sep 17 00:00:00 2001
From: Aidan Ross <aross02@fairport.org>
Date: Tue, 16 May 2023 19:35:33 -0400
Subject: Preliminary testing with converting the songPlayer class to JavaFX
 Code

---
 src/fallTest/NoteNode.java | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 src/fallTest/NoteNode.java

(limited to 'src/fallTest/NoteNode.java')

diff --git a/src/fallTest/NoteNode.java b/src/fallTest/NoteNode.java
new file mode 100644
index 0000000..c24e10f
--- /dev/null
+++ b/src/fallTest/NoteNode.java
@@ -0,0 +1,19 @@
+package fallTest;
+
+import javafx.animation.*;
+import javafx.util.Duration;
+
+public class NoteNode {
+	private NoteField info;
+	private Block vis;
+	TranslateTransition anim = new TranslateTransition(Duration.millis(TIME));
+	public NoteNode(NoteField newInfo, Block newVis) {
+		vis=newVis;
+		info = newInfo;
+		anim.setNode(vis);
+		anim.setByY();
+		anim.setCycleCount(1);
+		anim.setAutoReverse(false);
+		anim.play();
+	}
+}
-- 
cgit v1.2.3


From a7b4e891e02811222a2fcde1335b97ac1575bba9 Mon Sep 17 00:00:00 2001
From: Aidan Ross <aross02@fairport.org>
Date: Wed, 17 May 2023 08:55:09 -0400
Subject: Making the buttons smaller, and began setting up the note
 visualization

---
 src/fallTest/NoteNode.java | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/fallTest/NoteNode.java')

diff --git a/src/fallTest/NoteNode.java b/src/fallTest/NoteNode.java
index c24e10f..3a29142 100644
--- a/src/fallTest/NoteNode.java
+++ b/src/fallTest/NoteNode.java
@@ -4,6 +4,7 @@ import javafx.animation.*;
 import javafx.util.Duration;
 
 public class NoteNode {
+	private final int TIME = 20;
 	private NoteField info;
 	private Block vis;
 	TranslateTransition anim = new TranslateTransition(Duration.millis(TIME));
-- 
cgit v1.2.3


From bc7c7d96419a10d85e6b4a2ec5e1a2cbe78de9b1 Mon Sep 17 00:00:00 2001
From: Aidan Ross <aross02@fairport.org>
Date: Wed, 17 May 2023 09:05:37 -0400
Subject: resized buttons and set up infrastructure for the note animation

---
 src/fallTest/NoteNode.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/fallTest/NoteNode.java')

diff --git a/src/fallTest/NoteNode.java b/src/fallTest/NoteNode.java
index 3a29142..64e1b8a 100644
--- a/src/fallTest/NoteNode.java
+++ b/src/fallTest/NoteNode.java
@@ -12,7 +12,7 @@ public class NoteNode {
 		vis=newVis;
 		info = newInfo;
 		anim.setNode(vis);
-		anim.setByY();
+		anim.setByY(height);
 		anim.setCycleCount(1);
 		anim.setAutoReverse(false);
 		anim.play();
-- 
cgit v1.2.3