Author |
Message |
reve

Joined: Feb 23, 2008 Posts: 149 Location: USA
|
Posted: Sat Feb 23, 2008 1:42 pm Post subject:
Converting V-Trig (gate) to S-Trigger Subject description: Will a transistor and a resistor do? |
 |
|
Hey gang. So I'm in a bit of a quandary and I'm hoping to draw off your collective expertise.
I built a PAIA Fatman that spits out linear pitch CV and a positive gate. 0v off, 5v On.
I have a Yamaha CS-15D that expects linear pitch CV and negative (moog style, s-trigger) gate. 5v Off, 0v On.
If I hook them up and control the Yamaha through the Fatman's MIDI interface, all is well except that the gates are backwards. Hold a key down, the VCA turns off. Let go of the key, the EG triggers and the note sounds.
So I need to convert positive gate to negative gate. Seems simple, right? My favorite search engine said I should make this transistor-resistor concoction:
http://www.doepfer.de/faq/gen_faq.htm#S-Trig
... but it didn't *quite* work (see below). In desperation, I added a switching diode that I don't think really does anything, as illustrated in this nearly identical schematic:
http://www.synthesizers.com/moog_trigger-convert.jpg
When I say it doesn't quite work, I mean that when a key is depressed the voltage drops from 0.5V to 0V. So in a sense, it's doing what it should. But the 0.5V idle voltage isn't enough -- I reckon it's gotta be closer to 5v for the Yamaha to fire. Furthermore, I don't understand where the idle 5v that the Yamaha wants to see would come from without an external power source.
So I'm trying to figure out whether:
a) this is expected behavior,
b) these transistors are bad, or
c) something else funky's going on.
I would also like to what the heck I can do to make something that works.
Thanks all!
- RM |
|
Back to top
|
|
 |
blue hell
Site Admin

Joined: Apr 03, 2004 Posts: 24372 Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320
|
Posted: Sat Feb 23, 2008 2:21 pm Post subject:
|
 |
|
reve
the diode is just there to protect the transistor I guess against reversed polarity, doesn't make too much sense to me, the transistor should survive anyway with 100 k.
Anyway, when you just connect a plug to the trigger input (and nothing connected to the plug) what voltage do you then read over the plug pins?
There should be something like 5V I'd think, if not there doesn't seem to be an internal pull up in the yamaha ... which seems to imply it wants an external 5V source ... or it's defect maybe ... _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
ian-s

Joined: Apr 01, 2004 Posts: 2672 Location: Auckland, New Zealand
Audio files: 42
G2 patch files: 626
|
Posted: Sat Feb 23, 2008 5:56 pm Post subject:
|
 |
|
I have used the moog circuit (without diode) to connect an MC202 to a Minimoog.
The S-Trigger is not so much 5V->0V, more like 'floating'->connected to Gnd, for moog and korg s-triggers at least.
cheers |
|
Back to top
|
|
 |
reve

Joined: Feb 23, 2008 Posts: 149 Location: USA
|
Posted: Sat Feb 23, 2008 7:15 pm Post subject:
|
 |
|
Hi Blue Hell! Thanks for the response. (Long time listener, first time caller here...)
I sorta figured it was a polarity protection diode but like I said, I was deperate to make things happen.
The S-Trig INPUT of the Yamaha floats at -0.78V with nothing connected. I don't think it's a defect; when you plug something into the input the gate produced by the internal keyboard is disconnected. If I press keys nothing happens because it's looking for an external siginal. However, if I manually route the trigger out to the trigger in, it works again. Which to me implies that the Yamaha is performing as expected -- though that may not involve playing nice with other manufacturers' equipment. If other manufacturers float at 5v, that sure serves to answer my "where's the 5 volts coming from?"
g2ian:
But wouldn't it have to drop a certain amount? Wouldn't I need if not 5, 2 volts or something? |
|
Back to top
|
|
 |
blue hell
Site Admin

Joined: Apr 03, 2004 Posts: 24372 Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320
|
Posted: Sat Feb 23, 2008 7:30 pm Post subject:
|
 |
|
It's good to read when people say they lurked for a long time
But ... hey ... the thing can self test! and it works as well, great!
So when you connect the trig in to the trig out what voltages do you measure for trig-on and trig-off conditions?
There really has to flow some current somewhere in order to be able to detect a trig from a non trig situation, so there has to be a voltage changing as well and a trig input needs some robustness so there should be something very visible under the right conditions. _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
reve

Joined: Feb 23, 2008 Posts: 149 Location: USA
|
Posted: Sat Feb 23, 2008 11:18 pm Post subject:
|
 |
|
Blue Hell wrote: | So when you connect the trig in to the trig out what voltages do you measure for trig-on and trig-off conditions?
|
Okay, I must not have been watching the meter when I first measured. I guess just saw that note off was high & the voltage dropped when I hit a note, so I assumed it was a "regular" S-Trigger prematurely. Here's what I actually see:
YAMAHA CS NOTE OFF: +4.85V
YAMAHA CS NOTE ON: -7.98V
Kind of a surprise. Disconnected I read +4.86 and -7.99 (from the output) for off and on respectively. So at least that's consistent.
But remember the PAIA will make the Yamaha trigger (when a key is released instead of pressed), so a regular 5v -> 0v Moog Style S-Trigger would do the trick in getting the Yamaha to fire.
So I'm still stuck asking my original question of "is my little transistor-resistor thing working as expected?" If so I guess I could squirt +5v into the collector and treat it like a regular inverter (I think?), but... I don't really "get" how the converter cable is supposed to work without a supply voltage. |
|
Back to top
|
|
 |
blue hell
Site Admin

Joined: Apr 03, 2004 Posts: 24372 Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320
|
Posted: Sun Feb 24, 2008 7:44 am Post subject:
|
 |
|
It looks like you need an external 5V indeed then ... too bad ...
edit: and the pull up resistor on the collector as well of course. _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
ian-s

Joined: Apr 01, 2004 Posts: 2672 Location: Auckland, New Zealand
Audio files: 42
G2 patch files: 626
|
Posted: Sun Feb 24, 2008 9:19 am Post subject:
|
 |
|
The S in S-Trig stands for 'switch'. It is not simply an inverted V-Trig.
If you have a normally open foot switch, plugging it into the S-Trig input will trigger the envelope when pressed. No voltage required, just close the contact. The transistor in the moog circuit is acting as a voltage controlled switch. You could use a relay to do the same thing but it would cost more and make little click noises  |
|
Back to top
|
|
 |
blue hell
Site Admin

Joined: Apr 03, 2004 Posts: 24372 Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320
|
Posted: Sun Feb 24, 2008 9:46 am Post subject:
|
 |
|
g2ian wrote: | The S in S-Trig stands for 'switch'. It is not simply an inverted V-Trig. |
That's understood Ian, thing is that the Yamaha doesn't seem to be S-trigger compatible even when it says it is. It seems to have inverted trigger with abnormal signal levels ... at least that's the impression I get here. _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
reve

Joined: Feb 23, 2008 Posts: 149 Location: USA
|
|
Back to top
|
|
 |
blue hell
Site Admin

Joined: Apr 03, 2004 Posts: 24372 Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320
|
Posted: Sun Feb 24, 2008 5:15 pm Post subject:
|
 |
|
Good work
There is no need I think to get it below 0 volt, and it would require a +/gnd/- dual power supply which is even less attractive ... 0.03 V means the transistor gets saturated heavily, I would have expected something like 0.3V, anyway, you'll not get it lower. 1k not working is because not enough current flows into the transistor's base (due to the 100k base resistor), but there is nothing wrong with 4k7.
Maybe you can modify the Yamaha and bring the 4k7 resistor into it connected to it's power supply, it probably has something around 5V somewhere. I don't think it would interfere with the original working. _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
reve

Joined: Feb 23, 2008 Posts: 149 Location: USA
|
Posted: Thu Feb 28, 2008 9:42 pm Post subject:
|
 |
|
Blue Hell wrote: |
Maybe you can modify the Yamaha and bring the 4k7 resistor into it connected to it's power supply, it probably has something around 5V somewhere. I don't think it would interfere with the original working. |
I just wanna thank you all for walking me through this -- it'd been been sitting on my table for the better part of 6 months, givin' me the evil eye. But no longer, thanks to you all! I figure in the long term I'll recase the fatman and add the inverted trigger to it... |
|
Back to top
|
|
 |
|