EDLFile input = new EDLFile(inputEDLFileNameFull);
composer = new EDLComposer(input, edlFile);
}
else if (selectedComposer.equals("VQComposer"))
{
composer = new VQComposer(featFile, edlFile);
VQComposer vqc = (VQComposer)composer;
vqc.setCodebookSize(vqNumCodewords.getValue());
vqc.setBeatsPerCodeword(vqBeatsPerCW.getValue());
if(vqFeaturesNameFull != null)
{
if (!(new File(vqFeaturesNameFull).exists()))
{
GUIUtils.ShowDialog("VQComposer: Please select a valid feature file!",
GUIUtils.MESSAGE, meapsoftGUI.jframe);
return -1;
}
else
vqc.setFeatsToQuantize(new FeatFile(vqFeaturesNameFull));
}
if(vqQuantizeTrainingFile.isSelected())
vqc.setFeatsToQuantize(featFile);
}
else if (selectedComposer.equals("HMMComposer"))
{
composer = new HMMComposer(featFile, edlFile);