JayLL13 commited on
Commit
0927daf
·
verified ·
1 Parent(s): f6054eb

feat: add Anime OP style preset

Browse files
app.py CHANGED
@@ -17,6 +17,8 @@ STYLE_PRESETS = {
17
  "R&B": "R&B, smooth, soulful, electric piano, groove bass, female lead vocal",
18
  "Acoustic": "Folk, acoustic guitar, gentle, intimate, male lead vocal",
19
  "Cinematic": "Cinematic pop, orchestral, epic build, choir, female lead vocal",
 
 
20
  }
21
  PLANNING_CHOICES = [("Melody + chords", "full"), ("Melody only", "melody"), ("No score", "off")]
22
  QUALITY_CHOICES = [("Fast · 16 steps", 16), ("Best quality · 32 steps", 32)]
 
17
  "R&B": "R&B, smooth, soulful, electric piano, groove bass, female lead vocal",
18
  "Acoustic": "Folk, acoustic guitar, gentle, intimate, male lead vocal",
19
  "Cinematic": "Cinematic pop, orchestral, epic build, choir, female lead vocal",
20
+ "Anime OP": "Anime opening, J-rock, energetic, fast electric guitar riffs, driving drums, bright synth, "
21
+ "soaring female lead vocal, uplifting, 170 BPM",
22
  }
23
  PLANNING_CHOICES = [("Melody + chords", "full"), ("Melody only", "melody"), ("No score", "off")]
24
  QUALITY_CHOICES = [("Fast · 16 steps", 16), ("Best quality · 32 steps", 32)]
plans/reports/research-261014-1435-yue2-style-support.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # YuE2-3B style support
2
+
3
+ Date: 2026-10-14. Status: research only, nothing changed in the app.
4
+
5
+ ## Outcome
6
+
7
+ YuE2-3B has no official list of supported styles. The style prompt is free text, and the official docs only say what kinds of information to put in it. The technical report, which would describe training data and genre coverage, is not published yet. Which genres sound good can only be confirmed by listening tests.
8
+
9
+ ## What the official sources say
10
+
11
+ The YuE2 generation guide and the repo's agent skill give the same rule: put genre, instruments, vocal character, language and tempo in `style`. They give no ordering, length limit, genre list, or list of things that work poorly.
12
+
13
+ Official example style strings:
14
+
15
+ | Source | Style string |
16
+ |---|---|
17
+ | `examples/song.json` (GitHub) | English, warm piano pop, expressive female voice, acoustic piano, rounded bass and light drums, lyrical memorable melody, unhurried phrasing at 88 BPM (end paraphrased) |
18
+ | Model card | Jazz-funk, warm lead vocal, Rhodes piano, electric bass, tight drums |
19
+ | Model card | Jazz, expressive lead vocal, piano, tenor saxophone, upright bass, brushed drums, no guitar, spacious modern harmony |
20
+ | `examples/tonight-awake.json` (model repo) | City Pop, upbeat, danceable, groovy bass, electric guitar, synth, energetic, joyful, neon city night |
21
+ | GitHub README | English, jazz-funk, warm lead vocal, Rhodes, bass and drums |
22
+
23
+ Demo labels on the model card: Cyber Metal, Mandarin funk / nu-disco, English rock, jazz-funk cover, ballad cover, heavy metal cover.
24
+
25
+ Points the examples show:
26
+ - Comma-separated descriptors work.
27
+ - A language word ("English") and a tempo ("88 BPM") are used.
28
+ - Exclusions such as "no guitar" are used.
29
+ - Mood words ("joyful", "energetic") and scene words ("neon city night") are used.
30
+
31
+ Officially supported languages: English and Chinese (Mandarin).
32
+
33
+ ## YuE v1 tag list (reference only, not confirmed for YuE2)
34
+
35
+ The earlier YuE model shipped `top_200_tags.json` with genre, instrument, mood, gender and timbre tags. Its 200 genre tags include pop, rock, electronic, classical, R&B, folk, hip-hop, jazz, country, metal subgenres, reggae, K-pop, house, techno, disco, Latin, bossa nova, gospel, ambient and many more. Its guide recommended covering genre, instrument, mood, gender and timbre, and picking tags from the list for more stable results.
36
+
37
+ YuE2 is a new architecture, and none of its docs mention this list. Treat it as a hint about the training vocabulary, not as a supported list.
38
+
39
+ ## How the app compares
40
+
41
+ The 8 presets (Pop, Ballad, Lo-fi, Rock, EDM, R&B, Acoustic, Cinematic) already use the comma-separated format with genre, mood, instruments and vocal gender. They do not include a language word or a tempo, which the official guide asks for.
42
+
43
+ ## Options
44
+
45
+ 1. Keep the 8 presets and add "English" and a tempo (BPM) to each. Smallest change, follows the official guide.
46
+ 2. Option 1, plus a few presets taken from official demos: City Pop, Jazz-funk, Jazz, Metal, Funk / nu-disco.
47
+ 3. Replace the presets with a builder: chips for genre, mood, vocal (female or male) and tempo that compose the style string. More control, but more UI to learn.
48
+
49
+ Recommendation: option 2. It follows the official guide and only adds genres the authors have demoed. Then run one listening test: render every preset with the same lyrics and seed (about 13 renders, which uses ZeroGPU quota) and drop presets that sound weak.
50
+
51
+ ## Unresolved
52
+
53
+ - Genre coverage and weak spots stay unknown until the YuE2 technical report is out or listening tests are run.
54
+ - Whether "no X" exclusions are reliable has not been tested.
55
+
56
+ ## Sources
57
+
58
+ - https://huggingface.co/m-a-p/YuE2-3B
59
+ - https://huggingface.co/m-a-p/YuE2-3B/raw/main/examples/tonight-awake.json
60
+ - https://github.com/multimodal-art-projection/YuE
61
+ - https://github.com/multimodal-art-projection/YuE/blob/main/docs/generation.md
62
+ - https://raw.githubusercontent.com/multimodal-art-projection/YuE/main/examples/song.json
63
+ - https://raw.githubusercontent.com/multimodal-art-projection/YuE/main/skills/yue2-music/SKILL.md
64
+ - https://github.com/multimodal-art-projection/YuE/blob/YuE-v1/top_200_tags.json
65
+ - https://huggingface.co/m-a-p/yue2-vae (technical report "coming soon")