+so uhh what if UTAU but i made it and it's like mostly in the terminal...
+haha
+
+parts:
+1. render
+(run colon3utau render <file> <options>)
+Renders a UST. The UST && the voice files are assumed to be in the default
+windows JP locale encoding. (codepage 932, also known as shift_jis). This can
+probably be changed (i havent started working on this yet lmao)
+
+Flags:
+--voice-encoding: Encoding the voice filenames (and oto.ini) are in
+--ust-encoding: Encoding the UST file is in
+-e: Sets all encoding options (probably)
+--voice: Set the filepath for the voice (surround by quotes probably ig)
+--resampler: Filepath/command for resampler
+--wavtool: Filepath/command for wavtool
+--ask: Ask for all filepaths (if using someone else's UST useful)
+[i havent actually implemented any of these LMAOOO]
+
+2. tui
+a terminal ui. probably will have controls similar to vim tbh because im a nerd
+
+
+
+
+NOTES ON THE STRUCTURE OF USTs
+
+##Version section##
+Starts with "[#VERSION]" on its own line
+has a line like "UST Version1.2" idk
+
+##Setting section##
+Starts with "[#SETTING]" on its own line
+Lines in mine: (// is my own comments, not from UST)
+Tempo=120.00
+Tracks=1
+ProjectName=New Project
+VoiceDir=%VOICE%[UTAUloid folder name]
+OutFile=
+CacheDir=test.cache
+Tool1=D:\projects\colon3wavtool\a.exe
+Tool2=resampler.exe
+Mode2=True
+
+##Note section##
+1 for each note
+Starts with "[#0000]" (or other number) on its own line
+Example:
+[#0000]
+Length=480 //the "ticks" variable, in x@y[+-]z it is x
+Lyric=ど //Lyric entered into note.
+NoteNum=60 //No idea tbh ;-; //I THINK THIS IS THE MIDI THING LMAO. UTAU SAVES IT AS A NUMBER BUT GIVES IT AS A STRING TO THE RESAMPLER LOL
+PreUtterance=
+Intensity=100 //iirc volume
+Modulation=0 //lwk forgor what this does...
+
+R doesnt have anything but Length, Lyric, and NoteNum
+
+Other lines ive seen:
+PBS=-43
+PBW=84 //NO IDEA LOL but a lot have this!! (slightly diff values)
+Envelope=p1,p2,p3,v1,v2,v3,v4,%,p4,p5,v5 //idk what % is.. maybe it's ove and i did smth wrong?? //not ove
+VoiceOverlap=ove
+Velocity=(consonant velocity)
+PreUtterance=pre
+Flags=(flags)
+StartPoint=STP
+VBR=<seemingly the pitch...> *actually this might be just vibrato??? //yeah just vibrato
+
+PBS, PBW, PBY, PBM -- pitch
+
+
+#At the end#
+[#TRACKEND]
+
+NOTES ON HOW OTO.INI WORKS
+<filename>=<alias>,<"left blank"/左/offset>,<??/子/consonant>,<right blank/右/cutoff>,<"先行?声"/先/preutterance>,<"overlap"/オ/overlap>
+between 左 and 右 is the actual phoneme.
+between 左 and 先 is the zB "k" in "ka"
+between 先 and オ is the part that will overlap with the previous note
+between 先 and 子 is the part that will be looped if the note is longer
+between 子 and 右 is the rest of the note
+
+
+
+
+NOTES ON WHAT arguments UTAU CALLS RESAMPLER + WAVTOOL WITH
+(taken from notes from various gh stuff + my own ig)
+from <https://github.com/CdrSonan/ESPER-Utau>
+resampler <input file> <output file> <MIDI pitch (like C4, C#4)> <velocity (0-127)> <flags> <offset (from oto.ini)> <output length (ms)> <consonant length (oto)> <cutoff (oto)> <volume multipiplier> <modulation strength (0.0-1.0)> <tempo multiplier (x1.0 for no change, etc)> <pitch bend data (UTAU prop. format)>
+from <https://github.com/m13253/wavtool-yawu>
+wavtool <input file> <output file> <STP> <length> [<p1> <p2> <p3> <v1> <v2> <v3> [<v4> <overlap> <p4> [<p5> <v5>]]]
+
+> My personal notes on how to do this...
+RESAMPLER:
+<input file> -- Search the first part of each filename, if not there search aliases, otherwise just give a fake name *also store the oto line :3
+<output file> -- like [num]_[name]_[note]_[uhh something so that it doesnt do the same note twice but does it twice if it's like different]
+<MIDI pitch> -- Turn NoteNum into a note name...
+<velocity> -- Velocity (i THINK)
+<flags> -- Flags
+<offset> -- from oto
+<output length (ms)> -- length/tempo/8 (for in seconds) then that * 1000
+<consonant length> -- consonant from oto (i THINK.)
+<cutoff> -- from oto
+<volume multiplier>