Sounds like you are the first to try it with that many speakers! My guess is that something that allocates memory is hard-coded to a pretty short number. I've used it a lot for 6 speakers and had no crashes.
Try changing this in vbap.h: #define MAX_LS_AMOUNT 55
.hc
On Dec 21, 2012, at 6:41 PM, Zack Settel wrote:
Hi List,
It seems that VBAP v 1.0.3.2 (downloaded sources from puredata.info/downloads/vbap/releases/1.0.3.2) is crashing when send the define-loudspeakers message.
When sent:
define_loudspeakers 3 0 90 -7.5 55 52.5 55 112.5 55 172.5 55 -127.5 55 -67.5 55 7.5 20 37.5 20 67.5 20 97.5 20 127.5 20 157.5 20 -172.5 20 -142.5 20 -112.5 20 -82.5 20 -52.5 20 -22.5 20 7.5 -15 37.5 -15 67.5 -15 97.5 -15 127.5 -15 157.5 -15 -172.5 -15 -142.5 -15 -112.5 -15 -82.5 -15 -52.5 -15 -22.5 -15
the length of the list is 64
an error appears on the PD console :
vbap loudspeaker-matrices: param 11132 is not a float pd: getbytes() failed -- out of memory vbap: Configure loudspeakers first!
context: pd vanilla 0.43-3 vbap: 1.0.3.2
mac OSX 10.8.2
Note: does not crash when same message is truncated to a length of 16,