--- /dev/null
+OK i think this may be wrong lmao making my own list
+0: FULL path to program
+1: FULL path to input audio file (<teto voice>/<note>.wav)
+2: FULL path to output audio file (test.cache/3_etc_etc_etc.wav)
+3: Midi pitch ("F4")
+4: Velocity (100)
+5: Flags (nothing)
+6: 17.0 (oto[1])
+7: 550 (desired output length ig??)
+8: 238 (oto[2])
+9: 46 (oto[3])
+10: 100 (volume ?)
+11: 0 (modulation ?)
+12: !120 (the tempo)
+13: +0+x+u+q+m+j+h+i+l+r+z+8/G/R/a/k/s/z/5/9//AAAAD(something)+BJBTB(something)+Be(something)/3/N+r+8/N/e/p/t/y/n+p9g8/8/9C9CH(something)+D+R+e+s+5/G
+not typing that all skull
+NO idea how they got that ;-;
+for one where:
+literally nothing
+13: AA#95#AFANAYAmA3BJBc
+??
+For one where PBS=-43 and PBW=84
+13 = 9V9k91+l+b+u/B/S/h/u/3/9//
+ *
+ok i'd better look at the openutau code LOL
+So i dont speak c# but they're doing this to ENCODE it: (from what i can tell. rewritten more C)
+const string intToBase64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" //presumably just a key
+(to encode an int "data" with Base64EncodeInt12)
+if (data < 0) { data += 4096; } //no idea why this
+char[2] base64;
+base64[0] = intToBase64[(data >> 6) & 0x003F];
+//so. it seems this uhh divides data by 2^6 and then &s it with 0x003F haha idk. does this just make sure it's small enough??
+base64[1] = intToBase64[data & 0x003F] //is this doing two halves of the number?? OH so uhhhh
+// 0x003F is 63 i think that means it's 0111111 in binary. so it's making sure that only a number from 0 to 63 can be there.
+// so this is really just normally turning a number from 0 to 255 into base64. makes sense LOL
+// then the thing that's actually used is the "public" one iirc.
+// so there is the real code!
+it makes a List and adds the Base64 version of each number from data[] into it.
+then it turns the list into a string...
+by doing ts (C-ified)
+char *last = "";
+int dups = 0;
+(base64 is some string that has any length you want!! woah)
+for (int i = 0; i < data_length; i++) {
+ if (strcmp(last, l[i]) == 0) { dups++; } //check for duplicates
+ else if (dups == 0) { base64.append(l[i]); }
+ else { base64.Append('#'); base64.Append(dups); base64.Append('#'); dups = 0; base64.Append(l[i]); };
+ last = l[i];
+};
+ireturn base64.toString
+From this i conclude 1 this should have been a notes file 2 uhh this
+it takes the data. then it turns each int into a 2 character string in Base64. Then it sticks those all together with THESE rules:
+Just stick the string together BUT
+if there's a duplicate dont write it multiple times. Instead, when the string is the same as the last one, increment dups
+when the string is different from the duplicated one, add two #s with the amount of duplicates of the string between them.
+Then, append the new, /different/, string.
+God why is it so stupidly done???
+ok now to find out how to get "data" (technically this should probably be in colon3utau but who cares)
+THANK YOU OPENUTAU. time to paste the MIT license in lmao (later)
+
+ok so OPENUTAU gets some array called "points" like this: (possibly C-ified)
+actualyl fuck this
+im writing ts in colon3utau in a TEXT FILE. aa
+
+^ from colon3sampler/main.c
+
+OK so OPENUTAU gets points like this:
+
+(first making a "UPitch" by either creating a new one OR cloning an existing one. uaa)
+then points = pitch.data
+
+Just to get the (important parts) of UPitch:
+(have to pack now :((( )
+
+
(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)>
+//this seems to be WRONG or smth... or at least it doesnt make any sense lol... ill need to do some testing.
+from my testing:
+resampler <input path FULL> <output path FULL> <MIDI pitch> <velocity> <flags> <offset (oto)> <output length (ig??)> <consonant (oto) (子)> <cutoff (oto)> <volume (0-100+)> <modulation> <tempo w/! ?? (!120)> <pitch (WEIRD 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>]]]
<consonant length> -- consonant from oto (i THINK.)
<cutoff> -- from oto
<volume multiplier>
+
+WAVTOOL:
+<input file> -- output file from resampler
+<output file> -- temp.wav from the same path as the UST (DELETE IT AFTERWARDS?? ok actually no, utau does this but it lwk pmo)
+<STP> -- StartPoint
+<length> -- Length@Tempo[+-]??? [look at openUtau to see wtf that even is?]
+<p1..v5> -- Envelope
+
+yeah! :D