Package org.vocvark.DataTypes

Examples of org.vocvark.DataTypes.FeatureDefinition


        String name = "Strongest Frequency Via Zero Crossings";
        String description = "The strongest frequency component of a signal, in Hz, " +
                "found via the number of zero-crossings.";
        boolean is_sequential = true;
        int dimensions = 1;
        definition = new FeatureDefinition(name,
                description,
                is_sequential,
                dimensions);

        dependencies = new String[1];
View Full Code Here


        String description = "The standard deviation of the frequency of the" +
                "power spectrum bin with the highest power over" +
                "the last 100 windows.";
        boolean is_sequential = true;
        int dimensions = 1;
        definition = new FeatureDefinition(name,
                description,
                is_sequential,
                dimensions);

        int number_windows = 100;
View Full Code Here

     * offsets) of this feature.
     */
    public RelativeDifferenceFunction() {
        String name = "Relative Difference Function";
        String decsription = "log of the derivative of RMS.  Used for onset detection.";
        definition = new FeatureDefinition(name, decsription, true, 1);
        dependencies = new String[]{"Root Mean Square", "Root Mean Square"};
        offsets = new int[]{0, -1};
    }
View Full Code Here

        String name = "Strength Of Strongest Beat";
        String description = "How strong the strongest beat in the beat histogram " +
                "is compared to other potential beats.";
        boolean is_sequential = true;
        int dimensions = 1;
        definition = new FeatureDefinition(name,
                description,
                is_sequential,
                dimensions);

        dependencies = new String[2];
View Full Code Here

        String name = "Strongest Frequency Via FFT Maximum";
        String description = "The strongest frequency component of a signal, in Hz, " +
                "found via finding the FFT bin with the highest power.";
        boolean is_sequential = true;
        int dimensions = 1;
        definition = new FeatureDefinition(name,
                description,
                is_sequential,
                dimensions);

        dependencies = new String[2];
View Full Code Here

    public RMS() {
        String name = "Root Mean Square";
        String description = "A measure of the power of a signal.";
        boolean is_sequential = true;
        int dimensions = 1;
        definition = new FeatureDefinition(name,
                description,
                is_sequential,
                dimensions);

        dependencies = null;
View Full Code Here

    public LPC() {
        String name = "LPC";
        String description = "Linear Prediction Coeffecients calculated using autocorrelation and Levinson-Durbin recursion.";
        String[] attributes = new String[]{"lambda for frequency warping",
                "number of coeffecients to calculate"};
        definition = new FeatureDefinition(name, description, true, 10,
                attributes);
        dependencies = null;
        offsets = null;
    }
View Full Code Here

        } else {
            numDimensions = n;
            String name = definition.name;
            String description = definition.description;
            String[] attributes = definition.attributes;
            definition = new FeatureDefinition(name, description, true, numDimensions, attributes);

        }
    }
View Full Code Here

    public MagnitudeSpectrum() {
        String name = "Magnitude Spectrum";
        String description = "A measure of the strength of different frequency components.";
        boolean is_sequential = true;
        int dimensions = 0;
        definition = new FeatureDefinition(name,
                description,
                is_sequential,
                dimensions);

        dependencies = null;
View Full Code Here

     */
    public MFCC() {
        String name = "MFCC";
        String description = "MFCC calculations based upon Orange Cow code";
        String[] attributes = new String[]{"Number of Coeffecients"};
        definition = new FeatureDefinition(name, description, true, 13, attributes);
        dependencies = new String[]{"Magnitude Spectrum"};
        offsets = new int[]{0};
        fe = new featureExtraction();
    }
View Full Code Here

TOP

Related Classes of org.vocvark.DataTypes.FeatureDefinition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.