Package com.meapsoft

Examples of com.meapsoft.EDLFile


     
    if (names[0] == null)
      return;
       
    //System.out.println("you selected EDLFile: " + names[0]);
    eDLInputFile = new EDLFile(names[0]);
    try
    {
      eDLInputFile.readFile();
    }
    catch(Exception e)
View Full Code Here


    String names[] = GUIUtils.FileSelector(GUIUtils.SAVEEDL, dataDirectory, mainWindow);
     
    if (names[0] == null)
      return;
   
    eDLOutputFile = new EDLFile(names[0]);
   
    Vector selectedChunks = drawingPanel.renderer.getSelectedEDLChunks();
   
    double currentTime = 0.0;
   
View Full Code Here

      cVI.dstTime);
  }
 
    public void playSelectedChunks(boolean addBlips)
    {
        EDLFile edl = new EDLFile("temp file");

        boolean playFeatChunks = playFeatChunksButton.isSelected();
        Vector selectedChunks = null;

  String blipWav = dataDirectory + System.getProperty("file.separator") + "blip.wav";
View Full Code Here

        playThread.start();
    }

    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)
    {
      e.printStackTrace();
      System.exit(1);
View Full Code Here

    protected static void initEDLFile()
    {       
        String fn = dataDirectory + slash + outputEDLFileName;

        if(edlFile == null || edlFile.filename != fn)
            edlFile = new EDLFile(fn);
    }
View Full Code Here

   
    FeatFile features = MEAPAppletUtils.getFeatures(segments, featureStrings);
   
    System.out.println("got features! " + features.filename);
   
    NNComposer nNComposer = new NNComposer(features, new EDLFile(features.filename + ".edl"));
   
    EDLFile edl = nNComposer.compose();
   
    MEAPAppletUtils.compose(edl, edl.filename + ".wav");
   
    System.out.println("done!");
    messageBox.setText("done!");
View Full Code Here

            controlPanel.add(beatPanel);
            RefreshGUI();
        }
    else if (command.equals("play_blips"))
        {
            EDLFile edl = new EDLFile("null");
            BlipComposer b = new BlipComposer(segmentFile, edl);
            b.setBlipWav(dataDirectory + slash + "blip.wav");
            b.compose();
            Synthesizer synth = new Synthesizer(edl, null);
           
View Full Code Here

    protected void initEDLFile()
    {       
        String fn = dataDirectory + slash + outputEDLFileName;

        if(edlFile == null || edlFile.filename != fn)
            edlFile = new EDLFile(fn);
    }
View Full Code Here

    trainFile = trainFN;
    outFile = outFN;

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

      printUsageAndExit();

    trainFile = new FeatFile(args[args.length - 1]);
    if (featsToQuantize == null)
      featsToQuantize = trainFile;
    outFile = new EDLFile(outFileName);

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

TOP

Related Classes of com.meapsoft.EDLFile

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.