comparison modules-and-plug-ins/python-module/btrack_python_module.cpp @ 22:a8e3e95d14e4 develop

Renamed many variables, functions and arguments so they have more sensible names. Also removed an apparently redundant variable in OnsetDetectionFunction called wframe
author Adam <adamstark.uk@gmail.com>
date Fri, 24 Jan 2014 21:45:55 +0000
parents baf35f208814
children deb49a2590f3
comparison
equal deleted inserted replaced
21:ef4721e7466c 22:a8e3e95d14e4
57 for (int n = 0;n < hopSize;n++) 57 for (int n = 0;n < hopSize;n++)
58 { 58 {
59 buffer[n] = data[(i*hopSize)+n]; 59 buffer[n] = data[(i*hopSize)+n];
60 } 60 }
61 61
62 df[i] = onset.getDFsample(buffer); 62 df[i] = onset.calculateOnsetDetectionFunctionSample(buffer);
63 63
64 } 64 }
65 65
66 ///////// End Processing Loop ///////////// 66 ///////// End Processing Loop /////////////
67 /////////////////////////////////////////// 67 ///////////////////////////////////////////