comparison data/fileio/test/CSVStreamWriterTest.h @ 1644:513192aa9b03 single-point

Further API updates
author Chris Cannam
date Wed, 13 Mar 2019 16:00:13 +0000
parents 560453546749
children 0d89abd631ac
comparison
equal deleted inserted replaced
1643:7a23dfe65d66 1644:513192aa9b03
295 }; 295 };
296 const auto cMajorPentatonic = pentatonicFromRoot(60.0); 296 const auto cMajorPentatonic = pentatonicFromRoot(60.0);
297 NoteModel notes(8 /* sampleRate */, 4 /* resolution */); 297 NoteModel notes(8 /* sampleRate */, 4 /* resolution */);
298 sv_frame_t startFrame = 0; 298 sv_frame_t startFrame = 0;
299 for (const auto& note : cMajorPentatonic) { 299 for (const auto& note : cMajorPentatonic) {
300 notes.addPoint({startFrame, note, 4, 1.f, ""}); 300 notes.add({startFrame, note, 4, 1.f, ""});
301 startFrame += 8; 301 startFrame += 8;
302 } 302 }
303 // qDebug("Create Expected Output\n"); 303 // qDebug("Create Expected Output\n");
304 304
305 // NB. removed end line break 305 // NB. removed end line break