grid lines and some ui fixes :D
This commit is contained in:
14
src/main.py
14
src/main.py
@@ -1,10 +1,20 @@
|
||||
from ui.app import AppUI
|
||||
from project import Project
|
||||
from project import Project, ProjectChannel, AudioChannelChunk
|
||||
import librosa
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
print("Loading project...")
|
||||
test_project = Project.from_file("test_project.tdp")
|
||||
test_project = Project(channels=[
|
||||
ProjectChannel(chunks=[
|
||||
AudioChannelChunk(*librosa.load("120 bpm amen break.mp3"), position=0),
|
||||
AudioChannelChunk(*librosa.load("120 bpm amen break.mp3"), position=1),
|
||||
AudioChannelChunk(*librosa.load("120 bpm amen break.mp3"), position=2)
|
||||
], name="drums"),
|
||||
ProjectChannel(chunks=[
|
||||
|
||||
], name="piano")
|
||||
])#.from_file("test_project.tdp")
|
||||
|
||||
# start the ui
|
||||
print("Starting UI...")
|
||||
|
||||
Reference in New Issue
Block a user