Skip to content

Commit f42bc44

Browse files
authored
Front end (#186)
* restyled most components for better visuals * added light and dark mode functionality for some components * added mobile responsive layout for smaller screens and removed redundant props * added ScrollView in replacement of regular div to remove unecessary horizontal bar * added animations for smoother light and dark mode transitions * removed border from buttons and added shadow instead * made score display on mobile reponsive with horizontal scrolling and removed the scroll bar indicators * adjusted header and footer styles to stick on top / bottom when scrolling happens * cleaned up code structure and removed themestyles * added node modules to gitignore file * Stop tracking node_modules
1 parent a6d302f commit f42bc44

File tree

16 files changed

+761
-195
lines changed

16 files changed

+761
-195
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,4 +165,5 @@ cython_debug/
165165
.vscode/
166166
.vscode/*
167167

168-
fluidsynth/
168+
fluidsynth/
169+
node_modules/

backend/app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import secrets
1111
from src.audio_generator import AudioGenerator
1212
from src.synchronizer import Synchronizer
13+
import sys
1314

1415
app = Flask(__name__)
1516
CORS(app) # Enable CORS for all routes and origins
@@ -59,6 +60,7 @@ def get_score(filename):
5960
def synthesize_audio(filename, tempo):
6061
# Get the session token from the request headers
6162
print("synthesize start")
63+
6264
session_token = request.headers.get('session-token')
6365
if not session_token or session_token not in SESSIONS:
6466
return 'Missing or invalid session token', 401

backend/data/midi/twelve_duets.mid

2.53 KB
Binary file not shown.

backend/data/musicxml/twelve_duets.mid

Whitespace-only changes.

0 commit comments

Comments
 (0)