| 145 | } |
| 146 | |
| 147 | int main() |
| 148 | { |
| 149 | std::cout << "CHOC MIDI File Processing Example\n"; |
| 150 | std::cout << "=================================\n"; |
| 151 | |
| 152 | try |
| 153 | { |
| 154 | demonstrateMIDINoteUtilities(); |
| 155 | demonstrateMIDIMessageConstruction(); |
| 156 | createSimpleMIDISequence(); |
| 157 | demonstrateMIDIFileIO(); |
| 158 | |
| 159 | std::cout << "\n=== All demonstrations completed successfully! ===\n"; |
| 160 | } |
| 161 | catch (const std::exception& e) |
| 162 | { |
| 163 | std::cout << "Error: " << e.what() << "\n"; |
| 164 | return 1; |
| 165 | } |
| 166 | |
| 167 | return 0; |
| 168 | } |
nothing calls this directly
no test coverage detected