Examples of AvgMelSpec


Examples of com.meapsoft.featextractors.AvgMelSpec

    threshMult = thresh;

    onsetFunction = new double[(int) numFrames];
    this.numFrames = numFrames;
    melSpec = new AvgMelSpec(swin / 2 + 1, sr, nmel);

    // low frequency boost for bass drum
    // double[] freqs = DSP.times(DSP.range(0,swin/2), sr/swin);
    // double[] lfboost =
    // DSP.times(DSP.log10(DSP.max(DSP.plus(DSP.rdivide(DSP.minus(200,
View Full Code Here

Examples of com.meapsoft.featextractors.AvgMelSpec

    double[] px = new double[length];
    double[] entropy = new double[1];
    entropy[0] = 0;
    int k = (int) Math.round(Math.sqrt(length));

    melSpec = new AvgMelSpec(swin / 2 + 1, sr, nmel);

    // min and max
    double maxVal = 0;
    double minVal = 0;
    for (int frame = 0; frame < length; frame++)
View Full Code Here

Examples of com.meapsoft.featextractors.AvgMelSpec

      }
    }

    // default to AvgMelSpec
    if (featExts.size() == 0)
      featExts.add(new AvgMelSpec());

    return featExts;
  }
View Full Code Here

Examples of com.meapsoft.featextractors.AvgMelSpec

    featFiles = infiles;
    outFile = outfile;
    featExts = extractors;

    if (extractors.size() == 0)
      extractors.add(new AvgMelSpec());
      }
View Full Code Here

Examples of com.meapsoft.featextractors.AvgMelSpec

            }
        }

        // default to AvgMelSpec
        if(featExts.size() == 0)
            featExts.add(new AvgMelSpec());

        return featExts;
    }
View Full Code Here

Examples of com.meapsoft.featextractors.AvgMelSpec

        featFiles = infiles;
        outFile = outfile;
        featExts = extractors;

        if(extractors.size() == 0)
            extractors.add(new AvgMelSpec());
    }
View Full Code Here

Examples of com.meapsoft.featextractors.AvgMelSpec

    {
      e1.printStackTrace();
    }

    Vector extractors = new Vector();
    extractors.add(new AvgMelSpec());

    FeatFile spectrumFeats = new FeatFile("temp.feat");

    FeatExtractor fE = new FeatExtractor(fF, spectrumFeats, extractors);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.