You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah i did change all the variables. I tried making a mod that instandly saves a Song after starting the composer.py . With that Mod i got a 4min Song but without anything in it. If i remove the Mod it just errors out. Traceback (most recent call last): File "composer.py", line 542, in <module> play() File "composer.py", line 521, in play draw_notes(screen, notes_surface) File "composer.py", line 316, in draw_notes pygame.surfarray.blit_array(notes_surface, get_pianoroll_from_notes(current_notes)) File "composer.py", line 299, in get_pianoroll_from_notes measure = np.rot90(notes[ix]) IndexError: index 16 is out of bounds for axis 0 with size 16
Activity
ahfriedman commentedon Jul 26, 2019
For the generated songs during training, changing MAX_LENGTH in train.py (128 should be 3-4 mins)
For the live editor, changing num_measures should increase the length of the song.
MrKinauJr commentedon Jul 27, 2019
i changed all that but it still only saves about 35 seconds. Do i need to change something to save for longer?
ahfriedman commentedon Jul 27, 2019
What did you change the variables to and how are you generating the files (during training from train.py, live_editor.py etc)?
MrKinauJr commentedon Jul 27, 2019
Yeah i did change all the variables. I tried making a mod that instandly saves a Song after starting the composer.py . With that Mod i got a 4min Song but without anything in it. If i remove the Mod it just errors out.
Traceback (most recent call last): File "composer.py", line 542, in <module> play() File "composer.py", line 521, in play draw_notes(screen, notes_surface) File "composer.py", line 316, in draw_notes pygame.surfarray.blit_array(notes_surface, get_pianoroll_from_notes(current_notes)) File "composer.py", line 299, in get_pianoroll_from_notes measure = np.rot90(notes[ix]) IndexError: index 16 is out of bounds for axis 0 with size 16Daza99 commentedon Jan 3, 2021
What about for those who are not programmers? Is there a way to make it play longer within the app itself?