diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2023-03-21 11:48:21 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2023-03-21 11:48:21 -0400 |
commit | 7fa3812f1297c444754f22c3141facecbda92ec7 (patch) | |
tree | e1242ab9948dd3b9198514b508db528d3de32ab1 /main.cpp | |
parent | 73d1b5bdda882a533767e06e75831cc5c9e552a5 (diff) |
Trim ns to ms
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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;
|