Trig-to-gate and Gate-to-trig object


#1

Hi there! im afraid im gonna make another newbie question again.
Is there an object that you can enter gate signals and pull trigger signal? and the opposite? its there and object that you can enter trigger signals and pull gate signal?(in this last case it would be nice if you can decide how long the gate is. with a knob if it possible.)
Maybe I should explain a little why im asking that. Im working on a "live" sampler machine based on this video from Mathew Tyas


(They are great tutorials BTW)
The main difference its that im using Twister Midi Fighter to sequence the 4 tracks. I find 2 main problem (for my knowledge level.....witch it very basic).
FIRST: the midi channel of the Twister Midi Fighters knobs (cc messages) and buttons (midi note messages) its 1
and the sequencer of the Twister Midi Fighter send midi notes and CC messages using channel 8.Which its good cause I already assigned al the knobs and midi notes of channel 1 to control all the audio effects a added on the patch and I still have channel 8 for the sampler controlling ... I read something about subpatches so you can have different midi channels in the same patch... but didn't jump to that rabbit hole yet. first I need to resolve the second problem.
SECOND: the sequencer from the Twister Midi Fighter send a gate on each step so if i active two consecutive step I only get the first one to trigger my sampler. Thats why im thinking in a gate-to-trigger or trigger-to-gate object or way to patch it my self.
Any suggestions? THANKS

PD: it will be also very nice to have the. drj/midi/note_tx but receiving version. It will be much more easier to control patches receiving midi from different midi channels.... just saying :sweat_smile:


#2

Trigger to gate signal can be done with the timer/pulselength object. You feed it a trigger, from a sequencer for example and the pulselength makes it into a gate signal, where you can set the time of the open gate by the dial.


#3

Great! what about the other way around?Gate to trigger


#4

I don't think you really have to do anything to do the other way around. When the gate is high, it sends out a 1, which I think could be used as a trigger. I am pretty sure I did that in the past. Did you try it?


#5

the problem Is if the first step its a gate and the second to there is no Zero in between so you loose a trig.

If I active all the steps I get only 1 trig when I start running the sequencer and no more triggering until I mute one step


#6

Depends on how long you hold the gate open, I guess. If the first notes gate time overlap with the next notes gate time, then yes there might be an issue. Can probably be fixed in the object that you use, but not sure which object you use and also not sure how to make it.

This object for example always retriggers the gate, which should give a trigger on each note, even if notes are overlapping: sss/timing/pulselengthI


#7

Thanks! Im going to try it right now!


#8

Not sure if it will solve your problem, as it really is a trigger to gate converter. but it is an example of that it should be possible to program it :slight_smile:


#9

OOOOOOOOOHH.... :cry: This object its not working for my needs ... But I just remembered I had this same problem trying to build a CV sequencer for triggering circuit bended toys. I gonna have to check if I find the right schematic but AND logic gate and using the clock signal an the gate signal together was the solution.... I will have a go with it and post here my result... maybe anyone will have the same problem in the future.


#10

Yes, a "logic and" function will probably work :slight_smile: Good call :slight_smile:


#11

twister synchro.axp (3.1 KB)

its kind of working BUT need more fine tuning. Now I have all the steps active and works good UNTIL I stop the sequencer and start it again,,, then the triggers are of beat. Don't really know why but I assume its something about where the clock its hitting.
No more time to play with Axoloti today for me. next day I will give it a go. and post the results.


#12

You are getting closer :slight_smile:

Will see if I have time to check the patch tomorrow :slight_smile:


#13

Just to let know any body interested in this treat.
Im controlling the LFO that I use like a clock with a knob of the Twister midi fighter so when I go out of "live" it goes to a very low frequency and now I don't have the "of beat" problem. The only inconvenient it's that when I go back to "live" I have to turn up the LFO knob so it start running to a higher frequency.


#14

trigger to gate:
rbrt/control/p2t

gate to trigger:
rbrt/control/t2p

cheers!


#15

Yeah!! Great to know! There are to many objects I still haven't checked. I'm going to jump straight to this one. Thanks!!