auto generating bar lines, still buggy tho :/

This commit is contained in:
2026-01-14 10:31:26 +11:00
parent da25803519
commit a48f758bd0
10 changed files with 107 additions and 31 deletions

View File

@@ -1,19 +1,12 @@
from ui.app import AppUI
from project import Project, ProjectChannel, ChannelChunk, AudioChannelChunk
from ui.widgets.chunk_types.audio import AudioChunk
import librosa
from project import Project
if __name__ == "__main__":
test_project = Project(
[
ProjectChannel("my channel", chunks=[
ChannelChunk(name="hi"),
AudioChannelChunk(librosa.load("cool sample.mp3", sr=None, mono=False))
])
]
)
print("Loading project...")
test_project = Project.from_file("test_project.tdp")
# start the ui
print("Starting UI...")
app = AppUI(test_project)
app.run()