(simple) problem changing pitch for makenote

hdouble's icon

I am trying to build a sequencer type device, the basic idea is that a metro object sends pulses through a pitch selector (I'm using a live.numbox, it could just as easily be a number object, a slider, etc.), which then goes to a makenote.

My problem is, when I change the pitch in the note selector (by dragging it with a mouse etc.), it outputs a huge blurt of notes every time the value is changed. What I want is for the makenote to not receive the changed pitch until the next metronome click.

I've tried setting up something with a gate, with the numbox feeding into the right inlet of the gate and the metro bang going into the left outlet of the gate, but gate doesn't work quite like that -- it seems to need a steady "on" (via a toggle etc.) in the left inlet.

Is there a way to get around this, to require an explicit bang (from the metro) before the new pitch value gets sent to makenote?

Screen-shot-2013-08-31-at-1.26.54-PM.png
png
brendan mccloskey's icon

Hi
Look at the helpfiles for [trigger] and [int], your answers lie there

Brendan

hdouble's icon

[int] is exactly what I needed. Thanks for the quick response!