use of blue.automation.ParameterList in project blue by kunstmusik.
the class ParameterHelper method appendAllParametersFromChannel.
private static void appendAllParametersFromChannel(ArrayList<Parameter> params, Channel channel) {
EffectsChain pre = channel.getPreEffects();
for (int i = 0; i < pre.size(); i++) {
ParameterList list = ((Automatable) pre.getElementAt(i)).getParameterList();
params.addAll(list);
}
EffectsChain post = channel.getPostEffects();
for (int i = 0; i < post.size(); i++) {
ParameterList list = ((Automatable) post.getElementAt(i)).getParameterList();
params.addAll(list);
}
Parameter levelParameter = channel.getLevelParameter();
// if(!levelParameter.isAutomationEnabled()) {
// levelParameter.setCompilationVarName(channel.getName());
// }
params.add(levelParameter);
}
Aggregations