October 20, 2015 at 20:02
· Filed under Electronics, Music, Random
I did a little rewiring of my keyboard rig on the weekend, in particular the pedal board I use to keep things organised and quick to set up. In the process of this I loomed three of the foot switches up together which necessitated re-terminating them with new plugs having cut the old ones off.
For future reference then, here is the wiring schema/colour codes for my particular pedals. If Google picks this page up, might save someone else a little hassle :)
Yamaha FC4 Footswitch
The FC4 is a conventional switch, Normally closed, contacts open when the pedal is pressed down
- Tip – N/C Contact – Inner conductor in cable
- Sleeve – N/C Contact – Shield in cable
Yamaha FC5 Footswitch
Electrically the same as the FC5, just a different physical form factor.
- Tip – N/C Contact – White conductor in cable
- Sleeve – N/C Contact – Black conductor in cable
Yamaha FC7 Footpedal
So with the FC7 footpedal, when it’s pressed all the way down, the minimum resistance (100 ohms or so) is between the ring and tip, and maximum resistance (50k ohm approx) between ring and sleeve. When the pedal is all the way up this reverses – the minimum resistance is between the ring and sleeve and maximum resistance between the ring and tip.
- Tip – “Down” end of 50k ohm pot – White conductor in cable
- Ring – Wiper of 50k ohm pot – Red conductor in cable
- Sleeve – “Up” end of 50k ohm pot – Shield of cable
Permalink
September 26, 2015 at 18:13
· Filed under Electronics, Music, Tech
As I mention elsewhere in the pages I’ve been playing keyboards on and off for over 30 years now, a passion that came about from being interested in electronics and computers first, then wondering how to make music with them second.
So anything that combines the two is bound to be a bit of fun in my book. I did just that this morning and thought would post what I learned along the way – might be of interest to others and I’ll know where to find it too :)
Back in about ’87 or ’88 I had a keyboard rig that used two Yamaha KX-76 controller keyboards – for anyone unfamilar these are keyboards that just produce a MIDI data stream that in turn goes into some other device to create the actual sounds. To this day I’ve still got the two KXs and consider them one of the better feeling “synth action” keybeds out there. A little noisy acoustically – so perhaps not ideal in a studio setting, but for band work ideal. In any case, I digress…
Like most keyboards the KX-76s are velocity sensitive – the harder/faster you press, the louder the sound. Velocity sensitivity is generated by firmware in the keyboard by working out how quickly the key has been pressed. In practice this is usually accomplished by each key having a pair of switches (or a single leaf style switch with two positions as is the case in the KXs) that are set up so they change state one after the other as the key moves. Time how long it is between the first one switching and the second one and you have a figure that can be turned into velocity.
The above is all stuff I’ve understood intuitively for some time, but I’ve often wondered just how quick this time interval between the two switches is – one day I’d like to build a controller of my own and this is a fairly important design consideration. So this morning with a bit of tinkering around I was able to do some experiments to find this out – hence the setup in the photo above.
Turns out the shortest interval is around 5ms up to 20ms+ for a very slowly played key. Anything over about 10ms seemed to be interpreted as the “minimum” velocity of (0x01). I couldn’t manage an interval of less than 5ms or so – this corresponded to a velocity of 105 which is the maximum a KX-76 will send anyway (this a throwback to limitations of the original DX-7 as I recall which also stopped short of the 127 maximum velocity). Also a fair bit of “keybounce” for a ms or so after contact close/open.
Key up time was 9ms if the key was allowed to return to it’s original position via the spring.
Screen capture below is typical for a mid-velocity press.
One other detail I should add – the keyboard in the KX-76 is a matrix with notes as columns and octaves as rows. It’s scanned by the microcontroller on the main board such that each note is checked once per millisecond. The scanning appears to stop until the key down time is captured, then continues.
Oh and yes, the KX-76 survived the ordeal of being poked and prodded :)
Permalink