Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def write_song():
|
|
46 |
start_times=[0, 0, 4, 8],
|
47 |
bpm=165)
|
48 |
#current_daw.play(result)
|
49 |
-
current_daw.export(
|
50 |
# a wav file named "my first song.wav"
|
51 |
return 'song.wav'
|
52 |
|
|
|
46 |
start_times=[0, 0, 4, 8],
|
47 |
bpm=165)
|
48 |
#current_daw.play(result)
|
49 |
+
current_daw.export(result, filename='song.wav') # export the piece type current_song to
|
50 |
# a wav file named "my first song.wav"
|
51 |
return 'song.wav'
|
52 |
|