doctorvivin commited on
Commit
93f9dea
·
verified ·
1 Parent(s): 458a5ec

Update music.py

Browse files
Files changed (1) hide show
  1. music.py +2 -2
music.py CHANGED
@@ -161,9 +161,9 @@ def music_gen(difficulty,time_Signature, Key_Signature):
161
 
162
  # hack to include dictionary at the beginning of every abc file
163
  # will add a more sophisticated way to generate the values in the future
164
- title = "Markov Song {}".format(dob)
165
  final_timeS,numOfnotes = time_sigFinder(time_Signature)
166
- songbeginning = ['X:1','T:' + title, 'R:song', 'C:Visakh Ajith', 'Z:id:hn-song-111', final_timeS, 'L:1/8', 'Q:1/4=120', 'K:G'
167
  ]
168
  songbeginning = [x+"\n" for x in songbeginning]
169
 
 
161
 
162
  # hack to include dictionary at the beginning of every abc file
163
  # will add a more sophisticated way to generate the values in the future
164
+ title = "SpriFi MusicGen {}".format(dob)
165
  final_timeS,numOfnotes = time_sigFinder(time_Signature)
166
+ songbeginning = ['X:1','T:' + title, 'R:AI generated by SpriFi', 'C:MusicGen v2 Pro', 'Z:id:hn-song-111', final_timeS, 'L:1/8', 'Q:1/4=120', 'K:G'
167
  ]
168
  songbeginning = [x+"\n" for x in songbeginning]
169