Package com.meapsoft

Examples of com.meapsoft.FeatFile


   
    numDrawableFeatures = 1;
    setProgress(new DefaultBoundedRangeModel());
   
    String fileName = args[args.length - 2];
    FeatFile fF = null;
    EDLFile eF = null;
   
    String featName = args[args.length-1];
   
    try
    {
      fF = new FeatFile(fileName);
      fF.readFile();
     
      if (edlFileName != null)
      {
        System.out.println("making EDLFile from " + edlFileName);
        eF = new EDLFile(edlFileName);
View Full Code Here


          
             //if we are blipping, create a blip composer
         if(mWithBlipsChk.isSelected())
         {
           //see which feat file we should use
           FeatFile file = playOriginal ? BasePanel.segmentFile : BasePanel.edlFile;
          
                BlipComposer b = new BlipComposer(file, edl);
                b.setBlipWav(BasePanel.dataDirectory + BasePanel.slash + "blip.wav");
                b.compose();
         }
View Full Code Here

    // parse arguments
    int ind = opt.getOptind();
    if(ind > args.length)
      printUsageAndExit();
       
    trainFile = new FeatFile(args[args.length-1]);
    outFile = new EDLFile(outFileName);

    System.out.println("Composing " + outFileName +
               " from " +  args[args.length-1] + ".");
  }
View Full Code Here

                transitionMatrix[x][y] /= s;
        }

        if(debug)
        {
            FeatFile f = new FeatFile("tmp");
            f.chunks = templateChunks;
            DSP.imagesc(f.getFeatures(), "codebook");
            DSP.imagesc(transitionMatrix, "transitionMatrix");
            DSP.imagesc(startProbs, "startProbs");
        }
    }
View Full Code Here

    {
        // parse arguments
        int[] featdim = MEAPUtil.parseFeatDim(args,"i:");
        String filename = args[args.length-1];

        FeatFile f = new FeatFile(filename);

        try
        {
            f.readFile();
        }
        catch(Exception e)
        {
            e.printStackTrace();
            System.exit(1);
        }
       
        DataDisplayPanel p = new DataDisplayPanel(f.getFeatures(featdim), filename);

        JFrame jframe = new JFrame(p.getClass().getName() + ": " + filename);
        jframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        jframe.setContentPane(p);
        jframe.pack();
View Full Code Here

 
  int numSubChunks = 4;
 
  public IntraChunkShuffleComposer(String featFN, String outFN, int chunks)
  {
    this(new FeatFile(featFN), new EDLFile(outFN), chunks);
  }
View Full Code Here

    // parse arguments
    int ind = opt.getOptind();
    if(ind > args.length)
      printUsageAndExit();
       
    featFile = new FeatFile(args[args.length-1]);
    outFile = new EDLFile(outFileName);

    System.out.println("Composing " + outFileName +
               " from " +  args[args.length-1] + ".");
  }
View Full Code Here

        dataDirectory, mainWindow);

    if (names[0] == null)
      return;

    featInputFile = new FeatFile(names[0]);
    try
    {
      featInputFile.readFile();
    }
    catch (Exception e)
View Full Code Here

        dataDirectory, mainWindow);

    if (names[0] == null)
      return;

    featOutputFile = new FeatFile(names[0]);

    Vector selectedChunks = drawingPanel.renderer.getSelectedFeatChunks();

    double currentTime = 0.0;
View Full Code Here

  }

  public static void main(String[] args)
  {
    EDLFile eDLFile = null;
    FeatFile featFile = null;

    if (args.length == 1)
    {
      featFile = new FeatFile(args[0]);
    }
    else if (args.length == 2)
    {
      featFile = new FeatFile(args[0]);
      eDLFile = new EDLFile(args[1]);
    }
    else
    {
      System.out
          .println("I don't understand your command line arguments.");
      System.exit(-1);
    }

    try
    {
      if (featFile != null)
        featFile.readFile();

      if (eDLFile != null)
        eDLFile.readFile();
    }
    catch (Exception e)
View Full Code Here

TOP

Related Classes of com.meapsoft.FeatFile

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.