[aconnect] race condition?
"Peter P." <[email protected]>
| Newsgroups | gmane.comp.multimedia.puredata.general |
|---|---|
| Message-ID | <[email protected]> |
Hi list, I am using IOhannes' fantastic and useful [aconnect] external to make a midi connection to a software synthesizer using alsa midi on linux. I make the connection with a [loadbang] albeit it makes [aconnect] throw an error (code). If the loadbang goes into a [delay 0], the connection succeeds. See attached patch. Is this known (intended?) behavior? Thanks, best, Peter --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/CBYLHJGFPFR5WNOLORWI5UOIO4WSC6FJ/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
aconnectTest.pd
(text/plain, 433 B)
#N canvas 0 374 803 467 12; #X obj 86 123 aconnect; #X msg 86 97 connect Pure\ Data 1 FLUID\ Synth\ (qsynth) 0; #X obj 86 38 loadbang; #X text 36 175 return values: 0==success; #X text 141 189 >0:warning; #X text 141 201 <0:error; #X obj 107 67 delay 0; #X text 170 56 Aconnect will throw an error unless a [delay 0] is inserted.; #X obj 139 150 print; #X connect 0 1 8 0; #X connect 1 0 0 0; #X connect 2 0 6 0; #X connect 2 0 1 0;