Examples of EDLFile


Examples of com.meapsoft.EDLFile

    this.binsNum = binsNum;
    //this.durRange = durRange;
    this.newPieceLength = newPieceLength;

        if(outFile == null)
            outFile = new EDLFile("");
    }
View Full Code Here

Examples of com.meapsoft.EDLFile

      {
        GUIUtils.ShowDialog("MashupComposer: Please select a chunk database features file!", GUIUtils.MESSAGE, meapsoftGUI.jframe);
        return -1;
      }
     
      edlFile = new EDLFile(dataDirectory + slash + dataBaseName + "_using_" +
        chunkDBFeaturesNameShort + ".edl");

            FeatFile chunkDBFile = new FeatFile(chunkDBFeaturesNameFull);
           
      if (!(new File(chunkDBFeaturesNameFull).exists()))
      {
        GUIUtils.ShowDialog("MashupComposer: Please select a chunk database features file!", GUIUtils.MESSAGE, meapsoftGUI.jframe);
        return -1;
      }
       
            composer = new MashupComposer(featFile, chunkDBFile, edlFile);
    }
    else if (selectedComposer.equals("MeapaeMComposer"))
    {
      composer = new MeapaeMComposer(featFile, edlFile);
    }
    else if (selectedComposer.equals("IntraChunkShuffleComposer"))
    {
      int numSubChunks = 4;
     
      try
      {
        numSubChunks = new Integer(intraChunkShuffleNumChunksField.getText()).intValue();
      }
      catch (Exception e)
      {
        GUIUtils.ShowDialog("The number of sub chunks must be >= 2.", GUIUtils.MESSAGE, meapsoftGUI.jframe);
                return -1;
      }
      composer = new IntraChunkShuffleComposer(featFile, edlFile, numSubChunks);
    }
    else if (selectedComposer.equals("HeadBangComposer"))
    {
      composer = new HeadBangComposer(featFile, edlFile, headbangBinSlider.getValue(), headbangLengthSlider.getValue());
    }
    else if (selectedComposer.equals("ThresholdComposer"))
    {
      double top = new Double(thresholdTopField.getText()).doubleValue();
      double bottom = new Double(thresholdBottomField.getText()).doubleValue();
      composer = new ThresholdComposer(featFile, edlFile, top, bottom, insideThresholdButton.isSelected());
    }
    else if (selectedComposer.equals("RotComposer"))
    {
      int bpm = new Integer(rotBeatsPerMeasureField.getText()).intValue();
      int positions = new Integer(rotNumPositionsField.getText()).intValue();
      composer = new RotComposer(featFile, edlFile, bpm, positions, rotLeftButton.isSelected());
    }
    else if (selectedComposer.equals("EDLComposer"))
    {
      EDLFile input = new EDLFile(inputEDLFileNameFull);
      composer = new EDLComposer(input, edlFile);
    }
    else if (selectedComposer.equals("VQComposer"))
    {
      composer = new VQComposer(featFile, edlFile);
View Full Code Here

Examples of com.meapsoft.EDLFile

        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

Examples of com.meapsoft.EDLFile

        this(featFN, outFN, new EuclideanDist());
    }

    public SortComposer(String featFN, String outFN, ChunkDist cd)
    {
        this(new FeatFile(featFN), new EDLFile(outFN), cd);
    }
View Full Code Here

Examples of com.meapsoft.EDLFile

        outFile = outFN;
        dist = cd;
        featdim = cd.featdim;

        if(outFile == null)
            outFile = new EDLFile("");
    }
View Full Code Here

Examples of com.meapsoft.EDLFile

        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

Examples of com.meapsoft.EDLFile

    boolean debug = false;
    boolean normalizeFeatures = true;

    public EDLComposer(String inEDLFN, String outEDLFN)
    {
        this(new EDLFile(inEDLFN), new EDLFile(outEDLFN));
    }
View Full Code Here

Examples of com.meapsoft.EDLFile

    {
        this.inEDLFile = inEDL;
        outFile = outEDL;

        if(outFile == null)
            outFile = new EDLFile(outFileName);
       
        //make sure we write out the edl file   
    writeMEAPFile = true;
    }
View Full Code Here

Examples of com.meapsoft.EDLFile

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

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

Examples of com.meapsoft.EDLFile

  }
 
  public RotComposer(String featFN, String outFN, int beatsPerMeasure,
      int numPositions, boolean left)
  {
    this(new FeatFile(featFN), new EDLFile(outFN), beatsPerMeasure,
        numPositions, left);
  }
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.