(have to pack now :((( )
+struct UPitch {
+ struct PitchPoint data[];
+ bool snapFirst; //default true
+ void AddPoint(PitchPoint p) { data.add(p); data.sort() };
+ void RemovePoint(PitchPoint p) { data.remove(p); };
+ struct UPitch Clone(); //exactly what it sounds like
+ //lots of random shit
+};
+
+struct PitchPoint {
+ float X; //position relative to the beginning of note in milliseconds
+ float Y; //pitch relative to the tone of the note in 0.1 semi-tones (WTF IS A SEMITONE??)
+ PitchPointShape shape;
+ //other random shit
+};
+
+so i dont want to just copy openutau but i might have to copy the base64 stuff because no idea of how else to do it LMAO
+DONT FORGET TO ADD THE MIT LICENSE
+
+
+***
+
+i used code from openUtau to help make this
+im so glad openUtau exists
+i would be so cooked otherwise ;-;
+especially since UTAU has a very cooked pitch format lmao
+
+here is the mit license from it so that i comply with the licnese:
+
+-------------------------------------------------------------------------------
+The MIT License (MIT)
+
+Copyright (c) 2014 StAkira
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+-------------------------------------------------------------------------------
+
+yeah ok tyty chat
+