File size: 2,279 Bytes
39f3704
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
package main

var files = [...]string{
	"hubert/hubert_base.pt",
	"rmvpe/rmvpe.pt",
	"rmvpe/rmvpe.onnx",

	"pretrained/D32k.pth",
	"pretrained/D40k.pth",
	"pretrained/D48k.pth",
	"pretrained/G32k.pth",
	"pretrained/G40k.pth",
	"pretrained/G48k.pth",
	"pretrained/f0D32k.pth",
	"pretrained/f0D40k.pth",
	"pretrained/f0D48k.pth",
	"pretrained/f0G32k.pth",
	"pretrained/f0G40k.pth",
	"pretrained/f0G48k.pth",

	"pretrained_v2/D32k.pth",
	"pretrained_v2/D40k.pth",
	"pretrained_v2/D48k.pth",
	"pretrained_v2/G32k.pth",
	"pretrained_v2/G40k.pth",
	"pretrained_v2/G48k.pth",
	"pretrained_v2/f0D32k.pth",
	"pretrained_v2/f0D40k.pth",
	"pretrained_v2/f0D48k.pth",
	"pretrained_v2/f0G32k.pth",
	"pretrained_v2/f0G40k.pth",
	"pretrained_v2/f0G48k.pth",

	"uvr5_weights/HP2-人声vocals+非人声instrumentals.pth",
	"uvr5_weights/HP2_all_vocals.pth",
	"uvr5_weights/HP3_all_vocals.pth",
	"uvr5_weights/HP5-主旋律人声vocals+其他instrumentals.pth",
	"uvr5_weights/HP5_only_main_vocal.pth",
	"uvr5_weights/VR-DeEchoAggressive.pth",
	"uvr5_weights/VR-DeEchoDeReverb.pth",
	"uvr5_weights/VR-DeEchoNormal.pth",
	"uvr5_weights/onnx_dereverb_By_FoxJoy/vocals.onnx",
}

const envtmpl = `sha256_hubert_base_pt = %s
sha256_rmvpe_pt      = %s
sha256_rmvpe_onnx    = %s

sha256_v1_D32k_pth   = %s
sha256_v1_D40k_pth   = %s
sha256_v1_D48k_pth   = %s
sha256_v1_G32k_pth   = %s
sha256_v1_G40k_pth   = %s
sha256_v1_G48k_pth   = %s
sha256_v1_f0D32k_pth = %s
sha256_v1_f0D40k_pth = %s
sha256_v1_f0D48k_pth = %s
sha256_v1_f0G32k_pth = %s
sha256_v1_f0G40k_pth = %s
sha256_v1_f0G48k_pth = %s

sha256_v2_D32k_pth   = %s
sha256_v2_D40k_pth   = %s
sha256_v2_D48k_pth   = %s
sha256_v2_G32k_pth   = %s
sha256_v2_G40k_pth   = %s
sha256_v2_G48k_pth   = %s
sha256_v2_f0D32k_pth = %s
sha256_v2_f0D40k_pth = %s
sha256_v2_f0D48k_pth = %s
sha256_v2_f0G32k_pth = %s
sha256_v2_f0G40k_pth = %s
sha256_v2_f0G48k_pth = %s

sha256_uvr5_HP2-人声vocals+非人声instrumentals_pth = %s
sha256_uvr5_HP2_all_vocals_pth =   %s
sha256_uvr5_HP3_all_vocals_pth =   %s
sha256_uvr5_HP5-主旋律人声vocals+其他instrumentals_pth = %s   
sha256_uvr5_HP5_only_main_vocal_pth = %s
sha256_uvr5_VR-DeEchoAggressive_pth = %s
sha256_uvr5_VR-DeEchoDeReverb_pth = %s
sha256_uvr5_VR-DeEchoNormal_pth =   %s
sha256_uvr5_vocals_onnx = %s
`