}
if(val instanceof de.maramuse.soundcomp.parser.Number){
return new SourceStore(ConstStream.c(val.asDouble()), StandardParameters.OUT.i);
}
if(val instanceof ConnectionPoint){
ConnectionPoint cp=(ConnectionPoint)val;
String elName=cp.getElementName();
String coName=cp.getConnectionName();
NamedSource src=subprocesses.get(elName);
if(src==null)throw new IllegalArgumentException("Element "+elName+" not found");
Parameter param=src.outputsByName().get(coName);
if(param==null)throw new IllegalArgumentException("Output "+coName+" not found in element "+elName);
return new SourceStore(src, param.i);