Skip to content

Commit 4358d7a

Browse files
author
chuxij
committed
add edit examples
1 parent f79ac0f commit 4358d7a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+167
-8
lines changed

create_missing_txt.sh

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
#!/bin/bash
2+
3+
# Script to check for .flac files and create corresponding .txt files if they don't exist
4+
# Usage: ./create_missing_txt.sh
5+
6+
# Base directories
7+
FLAC_DIR="./flac"
8+
RAW_DIR="./raw"
9+
10+
# Create flac directory if it doesn't exist
11+
if [ ! -d "$FLAC_DIR" ]; then
12+
mkdir -p "$FLAC_DIR"
13+
echo "Created flac directory: $FLAC_DIR"
14+
fi
15+
16+
# Function to check and create txt files if they don't exist
17+
check_and_create_txt_files() {
18+
local flac_file="$1"
19+
local relative_path="${flac_file#$FLAC_DIR/}"
20+
local filename=$(basename "$relative_path" .flac)
21+
local directory=$(dirname "$relative_path")
22+
23+
# Create the corresponding directory in raw if it doesn't exist
24+
local raw_dir="$RAW_DIR/$directory"
25+
26+
# Check if the txt files exist, create them if they don't
27+
local txt_file="$raw_dir/$filename.txt"
28+
local prompt_txt_file="$raw_dir/${filename}_prompt.txt"
29+
30+
# Create directory if it doesn't exist
31+
if [ ! -d "$raw_dir" ]; then
32+
mkdir -p "$raw_dir"
33+
echo "Created directory: $raw_dir"
34+
fi
35+
36+
# Create .txt file if it doesn't exist
37+
if [ ! -f "$txt_file" ]; then
38+
touch "$txt_file"
39+
echo "Created: $txt_file"
40+
fi
41+
42+
# Create _prompt.txt file if it doesn't exist
43+
if [ ! -f "$prompt_txt_file" ]; then
44+
touch "$prompt_txt_file"
45+
echo "Created: $prompt_txt_file"
46+
fi
47+
}
48+
49+
# Find all flac files and check for corresponding txt files
50+
echo "Checking for missing txt files..."
51+
count=0
52+
53+
find "$FLAC_DIR" -type f -name "*.flac" | while read flac_file; do
54+
check_and_create_txt_files "$flac_file"
55+
((count++))
56+
done
57+
58+
if [ $count -eq 0 ]; then
59+
echo "No flac files found."
60+
else
61+
echo "Processed $count flac files."
62+
fi

generate_samples_json.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
'MultipleLang',
1414
'Controlability-retake',
1515
'Controlability-repaint',
16+
'Controlability-edit',
1617
'Application-Lyric2Vocal',
1718
'Text2Sample'
1819
];

index.html

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,9 +1019,7 @@ <h3>Table of contents</h3>
10191019
<ul>
10201020
<li><a href="#Controlability-retake">Variations Generation</a></li>
10211021
<li><a href="#Controlability-repaint">Repainting</a></li>
1022-
<li><a href="#LyricEdit">Lyric Edit (no change in melody)</a></li>
1023-
<li><a href="#Remix">Remix</a></li>
1024-
<li><a href="#Extend">Extend</a></li>
1022+
<li><a href="#Controlability-edit">Lyric Edit</a></li>
10251023
</ul>
10261024
</li>
10271025
<li><a href="#Application">Application</a></li>
@@ -1124,6 +1122,18 @@ <h2 id="DiverseStyles">Modeling Diverse Genres & Vocal Styles<a name="DiverseSty
11241122
<!-- Hidden audio element for the global player -->
11251123
<audio id="global-audio" preload="none"></audio>
11261124
</div>
1125+
<section class="main-content">
1126+
<h2 id="limitations" style="text-align: center;">Limitations & Future Improvements</h2>
1127+
<div style="border-left: 4px solid #FF3270; padding-left: 15px; margin-bottom: 20px;">
1128+
<ol>
1129+
<li><strong>Output Inconsistency:</strong> Highly sensitive to random seeds and input duration, leading to varied "gacha-style" results.</li>
1130+
<li><strong>Style-specific Weaknesses:</strong> Underperforms on certain genres (e.g. Chinese rap/zh_rap) Limited style adherence and musicality ceiling</li>
1131+
<li><strong>Continuity Artifacts:</strong> Unnatural transitions in repainting/extend operations</li>
1132+
<li><strong>Vocal Quality:</strong> Coarse vocal synthesis lacking nuance</li>
1133+
<li><strong>Control Granularity:</strong> Needs finer-grained musical parameter control</li>
1134+
</ol>
1135+
</div>
1136+
</section>
11271137
</body>
11281138

11291139
</html>
180 KB
Binary file not shown.
182 KB
Binary file not shown.
182 KB
Binary file not shown.
181 KB
Binary file not shown.
183 KB
Binary file not shown.
181 KB
Binary file not shown.
180 KB
Binary file not shown.

0 commit comments

Comments
 (0)