From the original SynthMaker forum (2004–2014), with its members’ names and dates.
Mue ·
Hi,
I tried to debug a problem with a code (see thread [old link]), but everytime I make a monoout in the code module and try to read values out of it with the Mono Readout module SM crashes. I use version 1.1.2 (personal edition).
Do the values of the mono types have to be between -1.0 and 1.0? I tried that to force the values in that range, but that leads to a crash, too.
Is there any other way to read floats out of a code module for debugging purposes?
infuzion ·
Hi Mue, welcome to SM.
Can you post an OSM please?
Mue ·
Ou sorry, of course:
MichaelBenjamin ·
its probably the mix of poly and mono in your codeblock, try making it all in poly, the result should be the same.
infuzion ·
Oh, I see.
Perhaps the mixing of Poly & Mono in Code is bad news for the Mono Readout? I'm thinking you should not every have Mono & Poly interact like that. I would change all the inputs/outputs to streamin/streamout, then use a Mono Readout after the Combiner &/or Poly Readout after the Code. Poly & mono are treated differently in SM; both have different behaviors.
malc ·
Mixing Poly and Mono sections be it using primitives or in a code component is a big no-no and a sure fire way to engineer a crash.
Ideally the software shouldn't allow you to create this kind of situation. We have mechanisms in place to stop it happening when you connect primitives but not within a code component so perhaps we need to look at that.
In the mean time always keep Poly and Mono sections separate and you should be fine.
Mue ·
malc wrote: In the mean time always keep Poly and Mono sections separate and you should be fine.
Right. Following that rule makes all work fine. Just a typical newbie mistake, I guess 😊
Wrote something here? To have a post removed or your name hidden, write to [email protected].