I was inspired by this demo to make another stab at getting the Triad synth demo (
) to run in cpp target. I periodically test the triad demos in other targets to ensure I'm not drifting too far away from portability, but I've never succeeded in making the synth code run on any target but Flash.
This time, after maintaining/fixing some stuff not directly related to the sound generation(some Flash API usage, mixed Bytearray/Bytes loader code) Haxe 2.10 compiler succeeded, and then I got this MSVC message:
./src/com/ludamix/triad/audio/SFZ.cpp(3032) : fatal error C1061: compiler limit : blocks nested too deeply
(The original SFZ.hx is switching here on a giant Enum for all the opcodes defined in the SFZ format.)
I'm not planning to try resolving this right now, just a little "update" on how this code behaves in hxcpp.