Created
September 17, 2012 03:11
-
-
Save aoisensi/3735359 to your computer and use it in GitHub Desktop.
UTAU voice list
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
const char *str[] = { | |
"あ","い","いぇ","う","うぃ","うぇ","うぉ","え","お", | |
"か","が","き","ぎ","きぇ","きゃ","きゅ","ぎゅ","きょ","ぎょ","く","ぐ","け","げ","こ","ご", | |
"さ","ざ","し","じ","しぇ","じぇ","しゃ","じゃ","しゅ","じゅ","す","ず","すぃ","ずぃ","せ","ぜ","そ","ぞ", | |
"た","だ","ち","ちぇ","ちゃ","ちゅ","ちょ","つ","つぁ","つぃ","つぇ","つぉ","て","で","てぃ","でぃ","てゅ","でゅ","と","ど","とぅ","どぅ", | |
"な","に","にぇ","にゃ","にゅ","にょ","ぬ","ね","の", | |
"は","ば","ぱ","ひ","び","ぴ","ひぇ","びぇ","ぴぇ","ひゃ","びゃ","ぴゃ","ひゅ","びゅ","ぴゅ","ひょ","びょ","ぴょ","ふ","ぶ","ぷ","ふぁ","ふぃ","ふぇ","ふぉ","へ","べ","ぺ","ほ","ぼ","ぽ", | |
"ま","み","みぇ","みゃ","みゅ","みょ","む","め","も", | |
"や","ゆ","よ", | |
"ら","り","りぇ","りゃ","りゅ","りょ","る","れ","ろ", | |
"わ","を","ん" | |
}; | |
int main() | |
{ | |
int fileno = 0; | |
FILE *file; | |
int strlengh = sizeof(str) / sizeof(str[0]); | |
int c=0; | |
for(int i=0;i<32;++i) | |
{ | |
for(int j=0;j<strlengh;++j) | |
{ | |
for(int k=24;k<108;++k) | |
{ | |
if(c==0) | |
{ | |
char filename[256]; | |
sprintf(filename, "output%04d.ust", fileno); | |
file = fopen(filename, "w"); | |
fprintf(file, "[#SETTING]\nTempo=120.00\nTracks=1\nProjectName=音リスト%04d\nVoiceDir=%%VOICE%%uta\nOutFile=output%04d.wav\nCacheDir=音リスト%04d.cache\nTool1=wavtool.exe\nTool2=resampler.exe\n"); | |
} | |
fprintf(file,"[#%04d]\n",c); | |
fprintf(file,"Length=%d\n",(i+1)*240); | |
fprintf(file,"Lyric=%s\n", str[j]); | |
fprintf(file,"NoteNum=%d\n", k); | |
fprintf(file,"Intensity=100\n"); | |
fprintf(file,"Moduration=0\n"); | |
++c; | |
if(c == 10000) | |
{ | |
fprintf(file, "[#TRACKEND]"); | |
c = 0; | |
fclose(file); | |
++fileno; | |
} | |
} | |
} | |
} | |
fprintf(file, "[#TRACKEND]"); | |
fclose(file); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment