TangRain commited on
Commit
ef93097
·
1 Parent(s): 2c205ff

update instruction

Browse files
Files changed (1) hide show
  1. app.py +18 -13
app.py CHANGED
@@ -46,7 +46,7 @@ singer_embeddings = {
46
  "singer8 (female)": "resource/singer/singer_embedding_kising_orange.npy",
47
  "singer9 (male)": "resource/singer/singer_embedding_m4singer_Tenor-1.npy",
48
  "singer10 (female)": "resource/singer/singer_embedding_m4singer_Alto-4.npy",
49
- }
50
  }
51
 
52
  model_dict = {
@@ -214,33 +214,38 @@ Music score usually includes lyrics, as well as duration and pitch of each word
214
  <ol>
215
  <li><b>Choose Model-Language</b>:
216
  <ul>
217
- <li>"zh" indicates lyrics input in Chinese, and "jp" indicates lyrics input in Japanese.</li>
218
  <li>For example, "Model②(Mulitlingual)-zh" means model "Model②(Multilingual)" with lyrics input in Chinese.</li>
219
  </ul>
220
  </li>
221
- <li><b>[Optional] Choose Singer</b>: Choose one singer you like from the drop-down list.</li>
222
  <li><b>Input lyrics</b>:
223
  <ul>
224
- <li>Lyrics use Chinese characters when the language is 'zh' and hiragana when the language is 'jp'.</li>
225
- <li>Special characters such as 'AP' (breath), 'SP' (silence), and '-' (slur, only for Chinese lyrics) can also be used.</li>
226
- <li>Lyrics sequence should be separated by either a space (' ') or a newline ('\\n'), without the quotation marks.</li>
227
  </ul>
228
  </li>
229
  <li><b>Input durations</b>:
230
  <ul>
231
- <li>Durations use float number as input.</li>
232
- <li>Length of duration sequence should <b>be same as lyric sequence</b>, with each duration corresponding to the respective lyric.</li>
233
- <li>Durations sequence should be separated by either a space (' ') or a newline ('\\n'), without the quotation marks.</li>
234
  </ul>
235
  </li>
236
  <li><b>Input pitches</b>:
237
  <ul>
238
- <li>Pitches use MIDI note or MIDI note number as input. Specially, "69" in MIDI note number represents "A4" in MIDI note.</li>
239
- <li>Length of pitch sequence should <b>be same as lyric sequence</b>, with each pitch corresponding to the respective lyric.</li>
240
- <li>Pitches sequence should be separated by either a space (' ') or a newline ('\\n'), without the quotation marks.</li>
 
 
 
 
 
 
241
  </ul>
242
  </li>
243
- <li><b>Hit "Generate" and listen to the result!</b></li>
244
  </ol>
245
  </div>
246
 
 
46
  "singer8 (female)": "resource/singer/singer_embedding_kising_orange.npy",
47
  "singer9 (male)": "resource/singer/singer_embedding_m4singer_Tenor-1.npy",
48
  "singer10 (female)": "resource/singer/singer_embedding_m4singer_Alto-4.npy",
49
+ },
50
  }
51
 
52
  model_dict = {
 
214
  <ol>
215
  <li><b>Choose Model-Language</b>:
216
  <ul>
217
+ <li>Choose "zh" for Chinese lyrics input or "jp" for Japanese lyrics input.</li>
218
  <li>For example, "Model②(Mulitlingual)-zh" means model "Model②(Multilingual)" with lyrics input in Chinese.</li>
219
  </ul>
220
  </li>
221
+ <li><b>[Optional] Choose Singer</b>: Choose a singer from the drop-down menu.</li>
222
  <li><b>Input lyrics</b>:
223
  <ul>
224
+ <li>Input Chinese characters for "zh" and hiragana for "jp".</li>
225
+ <li>You may include special symbols: 'AP' for breath, 'SP' for silence, and '-' for slur (Chinese lyrics only).</li>
226
+ <li>Separate each lyric by either a space (' ') or a newline ('\\n') (no quotation marks needed).</li>
227
  </ul>
228
  </li>
229
  <li><b>Input durations</b>:
230
  <ul>
231
+ <li>Input durations as float numbers.</li>
232
+ <li>The durations sequence should <b>match the lyric sequence in length</b>, with each duration aligned to a lyric.</li>
233
+ <li>Separate each duration by a space (' ') or a newline ('\\n') (no quotation marks needed).</li>
234
  </ul>
235
  </li>
236
  <li><b>Input pitches</b>:
237
  <ul>
238
+ <li>Input MIDI note names or MIDI note numbers (e.g., MIDI note name "69" represents the MIDI note number "A4", and others follow accordingly).</li>
239
+ <li>The pitch sequence should <b>match the lyric sequence in length</b>, with each pitch corresponding to a lyric.</li>
240
+ <li>Separate each duration by a space (' ') or a newline ('\\n') (no quotation marks needed).</li>
241
+ </ul>
242
+ </li>
243
+ <li><b>Hit "Generate" and listen</b>:
244
+ <ul>
245
+ <li>"Running Status" shows the status of singing generatation. If any error exists, it will show the error information.</li>
246
+ <li>"Pseudo MOS" represents predicted mean opinion score for the generated song.</li>
247
  </ul>
248
  </li>
 
249
  </ol>
250
  </div>
251