summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-03-21 11:48:21 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-03-21 11:48:21 -0400
commit7fa3812f1297c444754f22c3141facecbda92ec7 (patch)
treee1242ab9948dd3b9198514b508db528d3de32ab1 /main.cpp
parent73d1b5bdda882a533767e06e75831cc5c9e552a5 (diff)
Trim ns to ms
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index c5e29cd..d72b1d0 100644
--- a/main.cpp
+++ b/main.cpp
@@ -75,6 +75,15 @@ int main()
{
repertoire.push_back(Song(songRoot + songFolders[i] + chartFile));
}
+ // Parse all the songs
+ for (int i = 0; i < repertoire.size(); i++)
+ {
+ repertoire[i].parseSync();
+ repertoire[i].parseChords(0);
+ repertoire[i].consolidateChords(0);
+ repertoire[i].trim(0);
+ cout << repertoire[i].getTitle() << " parsed!" << endl;
+ }
string displayString;