[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] gotcha! PulseDivider

Blast! There is always some stupid little detail that is not documented, that screws up what you're trying to do.

PulseDivider does not hold the trigger's actual level... it always outputs 1.0 for every trigger. I was using triggers for accenting notes, but when I switched to a synth with PulseDivider, all my accents were gone.

if (prevtrig <= 0.f && curtrig > 0.f) {
if (counter >= div) {
counter = 0;
/// why --->>>??
z = 1.f;
} else {
z = 0.f;
} else {

Should this perhaps be changed? That is, should it be expected that most of the trigger ugens would flatten the trigger levels to 1.0 or 0.0, or is it reasonable to expect them to hold the actual trigger level?


: H. James Harkins

: jamshark70@xxxxxxxxxxxxxxxxx

: http://www.dewdrop-world.net


"Come said the Muse,

Sing me a song no poet has yet chanted,

Sing me the universal."  -- Whitman