Package org.vocvark.DataTypes

Examples of org.vocvark.DataTypes.FeatureDefinition


                try {
                    fe.numCepstra = Integer.parseInt(value);
                    String name = definition.name;
                    String description = definition.description;
                    String[] attributes = definition.attributes;
                    definition = new FeatureDefinition(name, description, true,
                            fe.numCepstra, attributes);
                } catch (NumberFormatException e) {
                    throw new Exception("Lambda value must be a double");
                }
                break;
View Full Code Here


                + "RMS less than the mean RMS in the last 100 windows. "
                + "This can indicate how much of a signal is quiet "
                + "relative to the rest of the signal.";
        boolean is_sequential = true;
        int dimensions = 1;
        definition = new FeatureDefinition(name, description, is_sequential,
                dimensions);

        dependencies = new String[number_windows];
        for (int i = 0; i < dependencies.length; i++)
            dependencies[i] = "Root Mean Square";
View Full Code Here

                + "Found by comparing the components of a window's "
                + "magnitude spectrum with the magnitude spectrum "
                + "of its neighbouring windows.";
        boolean is_sequential = true;
        int dimensions = 1;
        definition = new FeatureDefinition(name, description, is_sequential,
                dimensions);

        dependencies = new String[1];
        dependencies[0] = "Magnitude Spectrum";
View Full Code Here

                "of the power is at lower frequencies. This is a measure " + // System.getProperty("line.separator")
                // +
                "of the right-skewedness of the power spectrum.";
        boolean is_sequential = true;
        int dimensions = 1;
        definition = new FeatureDefinition(name, description, is_sequential,
                dimensions, new String[]{"Cutoff point (0-1)"});

        dependencies = new String[1];
        dependencies[0] = "Power Spectrum";
View Full Code Here

     */
    public Moments() {
        String name = "Method of Moments";
        String description = "Statistical Method of Moments of the Magnitude Spectrum.";

        definition = new FeatureDefinition(name, description, true, 5);
        dependencies = new String[]{"Magnitude Spectrum"};
        offsets = new int[]{0};
    }
View Full Code Here

    public PowerSpectrum() {
        String name = "Power Spectrum";
        String description = "A measure of the power 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

     * offsets) of this feature.
     */
    public PeakFinder() {
        String name = "Peak Detection";
        String description = "All peaks that are within an order of magnitude of the highest point";
        definition = new FeatureDefinition(name, description, true, 0,
                new String[]{"Threshold for peak detection"});
        dependencies = new String[]{"Magnitude Spectrum"};
        offsets = new int[]{0};
    }
View Full Code Here

        String description = "The standard deviation of the magnitude spectrum. " +
                "This is a measure of the variance of a signal's " +
                "magnitude spectrum.";
        boolean is_sequential = true;
        int dimensions = 1;
        definition = new FeatureDefinition(name,
                description,
                is_sequential,
                dimensions);

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

     * Basic constructor that sets dependencies, definition, and offsets.
     */
    public HarmonicSpectralCentroid() {
        String name = "Partial Based Spectral Centroid";
        String description = "Spectral Centroid calculated based on the center of mass of partials instead of center of mass of bins.";
        definition = new FeatureDefinition(name, description, true, 1);
        dependencies = new String[]{"Peak Detection"};
        offsets = new int[]{0};
    }
View Full Code Here

                "histogram bin. Not useful as a feature in itself, " +
                "but useful for calculating other features from " +
                "the beat histogram.";
        boolean is_sequential = true;
        int dimensions = 0;
        definition = new FeatureDefinition(name,
                description,
                is_sequential,
                dimensions);

        dependencies = new String[1];
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.