From 6983e53daae8cab25ff113c7b5ccd3b31f39fcbb Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Tue, 14 Feb 2023 16:34:40 -0500 Subject: Basic Song and chord structure --- song.cpp | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 song.cpp (limited to 'song.cpp') diff --git a/song.cpp b/song.cpp new file mode 100644 index 0000000..0f34782 --- /dev/null +++ b/song.cpp @@ -0,0 +1,54 @@ +#include "song.h" + +Song::Song(std::string chartFile) { + // TODO: import and parse chartFile +} + +Song::~Song() {}; + +void Song::consolidate() { + int totalSize = chords.size(); + // Check each chord against every other chord + for (int i=0; i Song::getChords() { + return chords; +} -- cgit v1.2.3