electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » Instruments and Equipment » General Discussion
Converting V-Trig (gate) to S-Trigger
Post new topic   Reply to topic
Page 1 of 1 [12 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
reve



Joined: Feb 23, 2008
Posts: 149
Location: USA

PostPosted: 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?
Reply with quote  Mark this post and the followings unread

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. Smile

Thanks all!

- RM
Back to top
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24372
Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320

PostPosted: Sat Feb 23, 2008 2:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

welcome 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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
ian-s



Joined: Apr 01, 2004
Posts: 2672
Location: Auckland, New Zealand
Audio files: 42
G2 patch files: 626

PostPosted: Sat Feb 23, 2008 5:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
reve



Joined: Feb 23, 2008
Posts: 149
Location: USA

PostPosted: Sat Feb 23, 2008 7:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24372
Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320

PostPosted: Sat Feb 23, 2008 7:30 pm    Post subject: Reply with quote  Mark this post and the followings unread

It's good to read when people say they lurked for a long time Very Happy

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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
reve



Joined: Feb 23, 2008
Posts: 149
Location: USA

PostPosted: Sat Feb 23, 2008 11:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24372
Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320

PostPosted: Sun Feb 24, 2008 7:44 am    Post subject: Reply with quote  Mark this post and the followings unread

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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
ian-s



Joined: Apr 01, 2004
Posts: 2672
Location: Auckland, New Zealand
Audio files: 42
G2 patch files: 626

PostPosted: Sun Feb 24, 2008 9:19 am    Post subject: Reply with quote  Mark this post and the followings unread

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 Smile
Back to top
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24372
Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320

PostPosted: Sun Feb 24, 2008 9:46 am    Post subject: Reply with quote  Mark this post and the followings unread

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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
reve



Joined: Feb 23, 2008
Posts: 149
Location: USA

PostPosted: Sun Feb 24, 2008 4:52 pm    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:

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.


Yeah. To be fair, the only thing the Yamaha ever claimed in the manual was to work with other Yamaha CS-15Ds. Everything I've seen on the net says the CS series S-Trigger, and indeed an out of the box moog s-trigger would fire it, but... it's apparently not an s-trigger per se.

That or the 15D is the black sheep of the CS family. (Which it sort of is.) Or my particular 15D is a freakshow. Anyway, the circuit attached below worked for me.

I reckon the pull up resistor should be around 5k, but I don't really know. 4.7k worked for me... 1k didn't. Smile

However, it doesn't work as well as I'd like due in no small part to the fact we're having to use a wallwart. It swings from 5.3ish to like 0.03... which apparently is close enough, but I'd like to get it dropping a bit more before I stick it in a box and call it a day. Anyone have any suggestions on how to offset the voltage down a bit to make it drop below 0v?


paia-to-cs-gate.jpg
 Description:
Poorly scribbled schematic for a PAIA Fatman to Yamaha CS-15D gate converter.
 Filesize:  29.3 KB
 Viewed:  5824 Time(s)

paia-to-cs-gate.jpg


Back to top
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24372
Location: The Netherlands, Enschede
Audio files: 296
G2 patch files: 320

PostPosted: Sun Feb 24, 2008 5:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

Good work Very Happy

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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
reve



Joined: Feb 23, 2008
Posts: 149
Location: USA

PostPosted: Thu Feb 28, 2008 9:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1 [12 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » Instruments and Equipment » General Discussion
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use