WE CAN HEAR THE AUDIO!!!! but uhh rendering to a file is cooked lmao

This commit is contained in:
2026-01-15 05:51:52 +11:00
parent 827f39afcc
commit 6350de7899
9 changed files with 151 additions and 48 deletions

View File

@@ -8,22 +8,17 @@ from ui.widgets.channel import Channel
from project import ProjectChannel
from song_player import SongPlayer
class AppUI(App):
CSS_PATH = "../assets/style.tcss"
theme = "tokyo-night"
#ENABLE_COMMAND_PALETTE = False
def __init__(self, project):
super().__init__()
self.zoom_level = 0.05
self.last_zoom_level = self.zoom_level
self.project = project
self.song_player = SongPlayer(self)
def create_channel(self, name: str):
self.query_one("#channels").mount(Channel(
@@ -36,9 +31,6 @@ class AppUI(App):
name
))
def on_mount(self):
self.song_player.play_song(self.app.project)
def compose(self) -> ComposeResult:
with Tabs(id="top-menu"):
yield Tab("File")