% henter alt TimbreData, (dataset, hvor 1 = test, 4 = alle)

Sektion = [];

dataset == 4

[ZCData,AntalDJs,DJlangliste,Sektion,ZCVariables] = getGenericData('zerocross');
[BrData,AntalDJs,DJlangliste,Sektion,BrVariables] = getGenericData('brightness');
[ROData,AntalDJs,DJlangliste,Sektion,ROVariables] = getGenericData('rolloff');
[RNData,AntalDJs,DJlangliste,Sektion,RNVariables] = getGenericData('roughness');
[ReData,AntalDJs,DJlangliste,Sektion,ReVariables] = getGenericData('regularity');
[FlData,AntalDJs,DJlangliste,Sektion,FlVariables] = getGenericData('flux');

%MFCC'er

[FlData,AntalDJs,DJlangliste,Sektion,FlVariables] = getMfccStats(4);

% rytme

[EDData,AntalDJs,DJliste,Sektion,EDVariables] = getGenericData('eventdensity'); 
[MetroidData,AntalDJs,DJliste,Sektion,MetroidVariables] = getMetroidData(dataset);
[PCData,AntalDJs,DJliste,Sektion,PCVariables] = getGenericData('pulseclarity') ;
[LLEData,AntalDJs,DJliste,Sektion,LLEVariables] = getLLEData;
[TempoData,AntalDJs,DJliste,Sektion,TempoVariables] = getTempoData(dataset);

%tonale
[ModeData,AntalDJs,DJliste,Sektion,ModeVariables] = getGenericData('mode');
[HCDFData,AntalDJs,DJliste,Sektion,HCDFVariables] = getGenericData('hcdf');
[IHData,AntalDJs,DJliste,Sektion,IHVariables] = getGenericData('eventdensity');


TimbreData = [ZCData,ROData,BrData,RNData,ReData,FlData];
TimbreVariables = [ZCVariables,ROVariables,BrVariables,RNVariables,ReVariables,FlVariables];

RytmeData = [EDData,LLEData,MetroidData,PCData,TempoData,MetroidData(:,1)./TempoData(:,1)];
RytmeVariables = [EDVariables,LLEVariables,MetroidVariables,PCVariables,TempoVariables,'Metroid/Tempo'];

TonalData = [ModeData,HCDFData,IHData];
TonalVariables = [EDVariables,HCDFVariables,IHVariables];



Artists = DJliste;

% save('DJRytmeData','RytmeData','RytmeVariables');



end



