Mercurial > hg > multitrack-audio-matcher
comparison src/RecordedMultitrackAudio.cpp @ 41:f3ac00083d5f
owkring version ahead of potential change to aubio pitch calculation
| author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
|---|---|
| date | Wed, 25 Apr 2012 14:21:01 +0100 |
| parents | f5de07b4d733 |
| children | 6a7982661703 |
comparison
equal
deleted
inserted
replaced
| 40:0d66ecd1f4d3 | 41:f3ac00083d5f |
|---|---|
| 14 | 14 |
| 15 trackScreenHeight = 0.15; | 15 trackScreenHeight = 0.15; |
| 16 | 16 |
| 17 printf("loaded max val is %f\n", loadedAudioFiles[0].fileLoader.onsetDetect.onsetDetector.maximumDetectionValue); | 17 printf("loaded max val is %f\n", loadedAudioFiles[0].fileLoader.onsetDetect.onsetDetector.maximumDetectionValue); |
| 18 | 18 |
| 19 int multitrackToLoad = 16; | 19 int multitrackToLoad = 18; |
| 20 setDifferentMultitracks(multitrackToLoad);//command to load this set of audio files - see below | 20 setDifferentMultitracks(multitrackToLoad);//command to load this set of audio files - see below |
| 21 | 21 |
| 22 //number 7 is problematic with memory | 22 //number 7 is problematic with memory |
| 23 | 23 |
| 24 printf("AFTER LOADING: \n"); | 24 printf("AFTER LOADING: \n"); |
| 152 bassfilename = "/Volumes/Supersaurus/TractorsAlbum/tractorsIdiotDance/tractorsSetToRecord2/Bounces/TakeThree/01bass_bip.wav"; | 152 bassfilename = "/Volumes/Supersaurus/TractorsAlbum/tractorsIdiotDance/tractorsSetToRecord2/Bounces/TakeThree/01bass_bip.wav"; |
| 153 snarefilename = "/Volumes/Supersaurus/TractorsAlbum/tractorsIdiotDance/tractorsSetToRecord2/Bounces/TakeThree/03snare_bip.wav"; | 153 snarefilename = "/Volumes/Supersaurus/TractorsAlbum/tractorsIdiotDance/tractorsSetToRecord2/Bounces/TakeThree/03snare_bip.wav"; |
| 154 guitarfilename = "/Volumes/Supersaurus/TractorsAlbum/tractorsIdiotDance/tractorsSetToRecord2/Bounces/TakeThree/04guitar di_bip.wav"; | 154 guitarfilename = "/Volumes/Supersaurus/TractorsAlbum/tractorsIdiotDance/tractorsSetToRecord2/Bounces/TakeThree/04guitar di_bip.wav"; |
| 155 break; | 155 break; |
| 156 | 156 |
| 157 | 157 case 18: |
| 158 | 158 kickfilename = "/Volumes/Supersaurus/TractorsAlbum/tractorsDiamondWhite/tractorsDiamondWhite/Bounces/diamondWhiteMultiTakeTwo/01bass di_bip.wav"; |
| 159 | 159 snarefilename = "/Volumes/Supersaurus/TractorsAlbum/tractorsDiamondWhite/tractorsDiamondWhite/Bounces/diamondWhiteMultiTakeTwo/02kick_bip.wav"; |
| 160 bassfilename = "/Volumes/Supersaurus/TractorsAlbum/tractorsDiamondWhite/tractorsDiamondWhite/Bounces/diamondWhiteMultiTakeTwo/03snare bottom_bip.wav"; | |
| 161 guitarfilename = "/Volumes/Supersaurus/TractorsAlbum/tractorsDiamondWhite/tractorsDiamondWhite/Bounces/diamondWhiteMultiTakeTwo/04guitar di_bip.wav"; | |
| 162 | |
| 163 break; | |
| 160 | 164 |
| 161 } | 165 } |
| 162 if (kickfilename != NULL) | 166 if (kickfilename != NULL) |
| 163 loadAudioTrack(kickfilename, 0); | 167 loadAudioTrack(kickfilename, 0); |
| 164 | 168 |
