Closed giuliomoro closed 5 years ago
OK, Raphaël wrote this code which is actually different for the one in other architectures. So I just reworked it to match what is done in other architectures, see https://github.com/grame-cncm/faust/commit/68cd736b59f8cdb9821deb0399bee920f810bb39 (blind commit here...)
thanks. doesn't compile, I added some inline notes on the commit.
Almost. I have a couple of fixes in PR #258
nvoices
is only initialized#ifdef NVOICES
https://github.com/grame-cncm/faust/blob/master-dev/architecture/bela.cpp#L425 so that ifPOLY2
is defined buy notNVOICES, then
nvoices` is used uninitalized at rowwhat should
nvoices
be initialized to whenNVOICES
is not defined? It looks like bothnvoices
anddsp_poly
are needed only when at least one ofNVOICES
andPOLY2
are defined