From 21cf15b595db76c0414af89c1ca2d8be0ad6cd4c Mon Sep 17 00:00:00 2001 From: Joshua Sigona Date: Tue, 19 Oct 2021 20:16:29 +0900 Subject: [PATCH] Adjust sound effect code --- LLSIG/src/main/java/LLSIG/Canvas.java | 8 ++--- LLSIG/src/main/java/LLSIG/LLSIG.java | 9 +++-- LLSIG/src/main/java/LLSIG/SoundLine.java | 44 ++++++++++++++++++++++++ 3 files changed, 52 insertions(+), 9 deletions(-) create mode 100644 LLSIG/src/main/java/LLSIG/SoundLine.java diff --git a/LLSIG/src/main/java/LLSIG/Canvas.java b/LLSIG/src/main/java/LLSIG/Canvas.java index 4b3bdbe..9daf495 100644 --- a/LLSIG/src/main/java/LLSIG/Canvas.java +++ b/LLSIG/src/main/java/LLSIG/Canvas.java @@ -68,10 +68,10 @@ public class Canvas extends JPanel implements AudioSpectrumListener{ final int NOTE_Y=(int)(MIDDLE_Y); for (int y=-BEAT_RANGE;y