diff options
| -rw-r--r-- | artnet.c | 5 | ||||
| -rw-r--r-- | monster.cfg | 12 | 
2 files changed, 11 insertions, 6 deletions
| @@ -50,6 +50,11 @@ static int artnet_listener(char* host, char* port){  			fprintf(stderr, "Failed to set SO_BROADCAST on socket\n");  		} +		yes = 0; +		if(setsockopt(fd, IPPROTO_IP, IP_MULTICAST_LOOP, (void*)&yes, sizeof(yes)) < 0){ +			fprintf(stderr, "Failed to unset IP_MULTICAST_LOOP option: %s\n", strerror(errno)); +		} +  		status = bind(fd, addr_it->ai_addr, addr_it->ai_addrlen);  		if(status < 0){  			close(fd); diff --git a/monster.cfg b/monster.cfg index 128efcd..194b115 100644 --- a/monster.cfg +++ b/monster.cfg @@ -12,21 +12,21 @@ read = BCF  write = BCF  [midi lc1] -;read = Launch Control -;write = Launch Control +read = Launch Control +write = Launch Control  [midi xlate]  [artnet net1]  net = 0 -uni = 0 +uni = 1  output = true  [map]  bcf.cc0.81 = lc1.cc0.1 -lc1.cc0.1 = bcf.cc0.81 -bcf.cc0.82 = lc1.note0.9 -net1.15 = bcf.cc0.82 +bcf.cc0.82 = lc1.note0.1 +bcf.cc0.83 = lc1.cc0.9 +net1.15 = lc1.cc0.1  bcf.cc0.1 = net1.1  bcf.cc0.2 = net1.3  ;net1.257 = bcf.cc0.81 | 
