summaryrefslogtreecommitdiff
path: root/song.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 /song.cpp
parent73d1b5bdda882a533767e06e75831cc5c9e552a5 (diff)
Trim ns to ms
Diffstat (limited to 'song.cpp')
-rw-r--r--song.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/song.cpp b/song.cpp
index cdffddc..9ac5f91 100644
--- a/song.cpp
+++ b/song.cpp
@@ -321,5 +321,11 @@ std::string Song::getAudioFile(){
return audioFile;
}
+void Song::trim(int difficulty){
+ // TODO: make this fuction use the difficulty parameter
+ std::vector<ChordNote>*chords = &expert;
+ chords->trim();
+}
+
// vim: syntax=cpp.doxygen