Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
|
|
6 |
|
7 |
def write_song():
|
8 |
|
9 |
-
current_daw = daw(
|
10 |
#current_daw.load(0, 'EMU II ACOUSTIC GUITAR.sf2')
|
11 |
#current_daw.load(1, 'Arachno.sf2')
|
12 |
|
@@ -42,7 +42,7 @@ def write_song():
|
|
42 |
result = P(tracks=[bass_part, guitar_part, drum_part, synth_pad_part],
|
43 |
instruments=[34, 3, 1, 51],
|
44 |
channels=[0, 1, 9, 2],
|
45 |
-
daw_channels=[1, 0, 1, 1],
|
46 |
start_times=[0, 0, 4, 8],
|
47 |
bpm=165)
|
48 |
#current_daw.play(result)
|
|
|
6 |
|
7 |
def write_song():
|
8 |
|
9 |
+
current_daw = daw()
|
10 |
#current_daw.load(0, 'EMU II ACOUSTIC GUITAR.sf2')
|
11 |
#current_daw.load(1, 'Arachno.sf2')
|
12 |
|
|
|
42 |
result = P(tracks=[bass_part, guitar_part, drum_part, synth_pad_part],
|
43 |
instruments=[34, 3, 1, 51],
|
44 |
channels=[0, 1, 9, 2],
|
45 |
+
#daw_channels=[1, 0, 1, 1],
|
46 |
start_times=[0, 0, 4, 8],
|
47 |
bpm=165)
|
48 |
#current_daw.play(result)
|