function [features] = getFeatures(data, feature_choice)
    for i = 1:length(feature_choice)
        switch lower(feature_choice(i).name)
            case {'zerocross'}
                features(i) = mirgetdata(mirzerocross(data));
            case {'spectralcentroid'}
                features(i) = mirgetdata(mircentroid(data));
            case {'spread'}
                features(i) = mirgetdata(mirspread(data));
            case {'skewness'}
                features(i) = mirgetdata(mirskewness(data));
            case {'kurtosis'}
                features(i) = mirgetdata(mirkurtosis(data));
            case {'rolloff'}
                features(i) = mirgetdata(mirrolloff(data));
            case {'brightness'} 
                features(i) = mirgetdata(mirbrightness(data));
        end
    end
end
