Mercurial > hg > multitrack-audio-matcher
diff src/RecordedMultitrackAudio.cpp @ 55:2eca10a31ae2
improving printing of information, looking at how tempo is modelled
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Mon, 10 Dec 2012 17:07:21 +0000 |
parents | 5274e3b5479d |
children | 4394c9490716 |
line wrap: on
line diff
--- a/src/RecordedMultitrackAudio.cpp Tue Aug 14 21:45:25 2012 +0100 +++ b/src/RecordedMultitrackAudio.cpp Mon Dec 10 17:07:21 2012 +0000 @@ -9,6 +9,7 @@ #include "RecordedMultitrackAudio.h" +static bool printOnsetInfo = false; void RecordedMultitrackAudio::loadTestAudio(){ @@ -16,15 +17,17 @@ numberOfAudioTracks = 4; - printf("loaded max val is %f\n", loadedAudioFiles[0].fileLoader.onsetDetect.onsetDetector.maximumDetectionValue); - + int multitrackToLoad = 27; setDifferentMultitracks(multitrackToLoad);//command to load this set of audio files - see below //number 7 is problematic with memory - printf("AFTER LOADING: \n"); - printInfo(); + if (printOnsetInfo){ + printf("loaded max val is %f\n", loadedAudioFiles[0].fileLoader.onsetDetect.onsetDetector.maximumDetectionValue); + printf("AFTER LOADING: \n"); + printInfo(); + }