I’m working on something else right now so can’t get into TT, but this is the Scene I wrote when I was just starting with TT to do something similar, and the delay workaround definitely worked - I know it’s not exactly what you’re trying to do, but the getting the CV in concept should be the same. Hope it can help. The remainder of this post is just copied from the previous one.
SAMPLE AND PLAY
This is a simple scene to collect an array of notes as one plays and
then have some of those notes play along with you in a semi random
fashion. The last 16 notes played are collected in P.N 0 with the latest
note played always being the first in the pattern, like a shift
register. The pattern is played by the metronome, accessing a random
position from 9-15, so not one of the last 8 notes played, but one of
the 8 before. That’s about it for now. I think it might be sightly more
musical is some semi random octaves were added. I think that could be
done with ADD X MUL 12 DRUNK. I’ll test that later.
Connections -
Keyboard v/oct CV > IN
Keyboard gate > TR In 1
TR A > TR In 2
CV 1 > v/oct of destination
TR A > Envelope
M:
M sub 1000 RSH PARAM 4
TR.PULSE A
P.I RRAND 9 15
I:
P.N 0
P.L 16
M.ACT 1
1:
DEL 75 : X DIV QT IN N 1 N 1
DEL 76 : P.INS 0 X
DEL 76 : P.L 16
DEL 76 : TR.PULSE B
2:
CV 1 N P.HERE
NOTE - the delays in script 1 are there because it seems my keyboard
tries to output the gates and change the v/oct out simultaneously, but
actually the CV changes slightly later, so I was needing to hit a key
twice to get CV 1 to change. This little delay gives the CV time to
catch up.