53545556575859
// path to blip wav file String blipWav = "data" + System.getProperty("file.separator") + "blip.wav"; public BlipComposer(String featFN, String outFN) { this(new FeatFile(featFN), new EDLFile(outFN)); }
122123124125126127128129130131132
// 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] + "."); }
4445464748495051525354
GUIUtils.ShowDialog("VQComposer: Please select a valid feature file!", GUIUtils.MESSAGE, mParentTab.mMainScreen); return -1; } else vqc.setFeatsToQuantize(new FeatFile(vqFeaturesNameFull)); } if(mQuantizeChk.isSelected()) vqc.setFeatsToQuantize(mParentTab.featFile);
79808182838485
this(featFN, outFN, new EuclideanDist()); } public SortComposer(String featFN, String outFN, ChunkDist cd) { this(new FeatFile(featFN), new EDLFile(outFN), cd); }
160161162163164165166167168169170
// 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] + "."); }
54555657585960
int numPositions = 1; boolean rotateRight = true; public RotComposer(String featFN, String outFN, int beatsPerMeasure, int numPositions, boolean left) { this(new FeatFile(featFN), new EDLFile(outFN), beatsPerMeasure, numPositions, left); }
132133134135136137138139140141142
152153154155156157158159160161162
// 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] + "."); }
215216217218219220221222223224225226
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"); } }
57585960616263
initNameAndDescription("IntraChunkShuffle", new String(oldDesc)); } public IntraChunkShuffleComposer(String featFN, String outFN, int chunks) { this(new FeatFile(featFN), new EDLFile(outFN), chunks); }