Package org.jsynthlib.xmldevice

Examples of org.jsynthlib.xmldevice.MidiSender


            XEnvelopeParamSpec xParam = nodeSpec.addNewXParam();
            YEnvelopeParamSpec yParam = nodeSpec.addNewYParam();
            xParam.setInvert(node.isInvertX());
            xParam.setMax(node.getMaxX());
            if (node.getSenderX() != null) {
                MidiSender midiSenderX = xParam.addNewMidiSender();
                setSender(midiSenderX, node.getSenderX());
            }
            xParam.setMin(node.getMinX());
            xParam.setName(node.getNameX());
            if (node.getPmodelX() != null) {
                ParamModel paramModelX = xParam.addNewParamModel();
                setParamModel(paramModelX, node.getPmodelX());
            }
            xParam.setUuid(generateUuid());

            yParam.setBase(node.getBaseY());
            yParam.setMax(node.getMaxY());
            if (node.getSenderY() != null) {
                MidiSender midiSenderY = yParam.addNewMidiSender();
                setSender(midiSenderY, node.getSenderY());
            }
            yParam.setMin(node.getMinY());
            yParam.setName(node.getNameY());
            if (node.getPmodelY() != null) {
View Full Code Here


        intParamSpec.setName(name);
        intParamSpec.setUuid(generateUuid());
        if (base != 0) {
            intParamSpec.setBase(base);
        }
        MidiSender midiSender = intParamSpec.addNewMidiSender();
        setSender(midiSender, sender);
        ParamModel newParamModel = intParamSpec.addNewParamModel();
        setParamModel(newParamModel, paramModel);
    }
View Full Code Here

        IntParamSpec intParamSpec = patchParams.addNewIntParamSpec();
        intParamSpec.setMax(valueMax);
        intParamSpec.setMin(valueMin);
        intParamSpec.setName(name);
        intParamSpec.setUuid(generateUuid());
        MidiSender midiSender = intParamSpec.addNewMidiSender();
        if (sender == null) {
            LOG.warn("Found param w/o sender " + name);
        } else {
            setSender(midiSender, sender);
        }
View Full Code Here

TOP

Related Classes of org.jsynthlib.xmldevice.MidiSender

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.