Page 1 of 1

Posted: 23 Dec 2007, 11:57
by jean-mi
Hello,
I'm currently modifying the live beatbox in order to use it with synths (soft or external) instead of samples, and it works fine
I automated the "tap" button with a midi note from my oxygen kb, but I would like to add a feature to this button : I want to be able to erase one note just by hitting the same midi key on my kb, at the time when the wrong recorded note is gonna be played.
I already spent five our six hours on this, trying wiring a "toggle" sub patch in the "set array value" sub patch, but it never works correctly.
I call this the "D20 sequencer3, cause it's the way the Roland D20 seq used to work in the late 80's : switch record on, play a drum note it gets recorded, play it again at the same time it gets erased..
Could someone help me on this?

Posted: 24 Dec 2007, 07:29
by bsork
Hello jean-mi,

you'll have to streamline this a bit, but I think this will help you on the way..:

In "set array value", disconnect the TAP button to SetArrayVal.value, create a Array/GetArrayVal and a Math/Logical/A xor B, and connect:

ArrayIn.in -> GetArrayVal.array in
(fader) index -> GetArrayVal.index
GetArrayVal.value -> XOR.A
TAP -> XOR.B
XOR.out -> SetArrayValue.value

XOR is the least common of the Boolean operators (AND, OR, NOT) and lacks in a lot of programming languages but can be quite useful sometimes and spare some convulted programming/patching. It means "TRUE if either A or B, but not both".