minor pd changes

This commit is contained in:
Hugvey Central Command 2019-05-10 15:03:41 +02:00
parent 9239aac3d5
commit d262947b93
2 changed files with 17 additions and 16 deletions

View file

@ -1,33 +1,34 @@
#N canvas 557 181 583 527 10; #N canvas 137 370 679 478 10;
#X obj 155 392 dac~; #X obj 155 392 dac~;
#X obj 155 342 readsf~; #X obj 155 342 readsf~;
#X msg 81 297 0; #X msg 81 297 0;
#X obj 233 324 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 #X obj 233 324 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1; -1 -1;
#X text 254 315 (re-)start loop; #X text 254 315 (re-)start loop;
#X obj 45 64 oscparse; #X obj 239 60 oscparse;
#X obj 45 89 list trim; #X obj 239 85 list trim;
#X obj 45 42 netreceive -u -b 5555; #X obj 239 38 netreceive -u -b 5555;
#X obj 167 171 route 1; #X obj 339 163 route 1;
#X obj 241 168 route 0; #X obj 425 162 route 0;
#X obj 145 123 route trigger; #X obj 339 119 route trigger;
#X text 69 276 stop loop; #X text 69 276 stop loop;
#X text 32 12 listen to osc at port XXXX; #X obj 508 205 print "starting loop";
#X obj 314 209 print "starting loop"; #X obj 509 228 print "stopping loop";
#X obj 315 232 print "stopping loop"; #X msg 163 258 open testaudio.wav \, 1;
#X msg 156 285 open /home/a/projects/pd-play/testaudio.wav \, 1; #X text 233 18 listen to osc at port 5555;
#X text 163 233 change audiofile HERE;
#X connect 1 0 0 0; #X connect 1 0 0 0;
#X connect 1 0 0 1; #X connect 1 0 0 1;
#X connect 1 1 3 0; #X connect 1 1 3 0;
#X connect 2 0 1 0; #X connect 2 0 1 0;
#X connect 3 0 15 0; #X connect 3 0 14 0;
#X connect 5 0 6 0; #X connect 5 0 6 0;
#X connect 6 0 10 0; #X connect 6 0 10 0;
#X connect 7 0 5 0; #X connect 7 0 5 0;
#X connect 8 0 3 0; #X connect 8 0 3 0;
#X connect 8 0 13 0; #X connect 8 0 12 0;
#X connect 9 0 2 0; #X connect 9 0 2 0;
#X connect 9 0 14 0; #X connect 9 0 13 0;
#X connect 10 0 8 0; #X connect 10 0 8 0;
#X connect 10 0 9 0; #X connect 10 0 9 0;
#X connect 15 0 1 0; #X connect 14 0 1 0;

View file

@ -25,7 +25,7 @@ while(1):
print("sending start to {0} on port {1}".format(args.ip, args.port)) print("sending start to {0} on port {1}".format(args.ip, args.port))
client.send_message("/trigger", 1) client.send_message("/trigger", 1)
time.sleep(2) time.sleep(2)
print("sending start to {0} on port {1}".format(args.ip, args.port)) print("sending stop to {0} on port {1}".format(args.ip, args.port))
client.send_message("/trigger", 0) client.send_message("/trigger", 0)
time.sleep(2) time.sleep(2)