crashes if sending out too many messages
Closed this issue · 2 comments
iainctduncan commented
Discovered trying to do additive synthesis with csound~:
to replicate:
- make patcher that sends out 128 messages at once, hook up to metronome, run for a while, crashes.
(define (note dur amp cps partials)
(post "(note) cps: " cps "partials:" partials)
(for-each
(lambda(partial)
(let ((p-amp (/ amp partial))
;(p-cps (* cps partial)))
(p-cps cps))
(out 0 (list 'e 'i1 0 dur p-amp p-cps))))
(range 1 partials))
)
iainctduncan commented
it's the heap size, does not happen with heap size 64k, probably good to set default back to 64k and document this
iainctduncan commented
was another symptom of the erroneous gc locking in s4m_s7_obj_to_max_atom, fixed now