public byte[] toByteArray(byte deviceID, int value) {
public byte[] toByteArray(byte deviceID, NameValue[] nameValues) {
    public byte[] toByteArray(byte deviceID, int value) {	// Replace the channel number	if (channelIndex != -1)	    sysex[channelIndex] = (byte) ((int) deviceID - 1);	if (channel16Index != -1)	    sysex[channel16Index] = (byte) ((int) deviceID - 1 + 16);	// Replace values	for (Enumeration en = vNameValueIndex.elements(); en.hasMoreElements();)	    sysex[((NameValue) en.nextElement()).getValue()] = (byte) value;	return sysex;    }