Tuesday, March 31, 2009

Polyphonic Spree

Now that I've covered monophonic keyboards in detail, it's time to move on to scanning keyboards as used in the early polyphonics and monophonics with last-note priority/built-in sequencers. This type of keyboard is used only on microprocessor based synths because it requires a little software to decode the notes . This is not the method used on the Polymoog and other paraphonics whose keyboards are akin to organs.

To start off, let's ask a question. How many wires do you need between a CPU and keyboard to read keys being played? If you guessed at least one for every key, hello from the future. If you guessed one, to transmit serial data, slow down. The keyboard only has simple switches and components. We need to read the keyboard before we can transmit note data by MIDI or other means. Luckily smart people have already found the answer. We can use a switch matrix with inputs and outputs instead of individual inputs for all the keys. A switch matrix is used in all sorts of devices with keypads, buttons, or switches to scan . Using this method we need at least 2x the square root of the number of keys. For a 61 key synth that would be 2 x sqrt(61) = 15.6 or 16 data lines. Below is a schematic from the Jupiter-6 Service Manual.I've labeled the connection KC-1 in the upper left "Outputs from CPU" and KC-2 in the upper right "Inputs to CPU." Here's how it works. The CPU cycles through different outputs for KC-1. It will output 10000000, 01000000, 00100000, 00010000, 00001000, 00000100, 00000010, 00000001 in some predetermined order. For each of those outputs it will scan for a particular section of keys. For example, if the output is 10000000, pin 61 will get 5V and 62-68 will be 0V. That 5V is connected to the key contacts for notes C0, G#0, E1, C2, G#2, E3, C4, G#4. Those key contacts connect to separate buss bars. Each of those eight buss bars is connected to a separate input back into the CPU. If the CPU reads 00101100, we know E1, G2#, E3 are being played. Then the CPU changes it's output and checks for a different set of seven or eight keys.

The only components in this keyboard other than wires and switches are diodes for every key. Why do they need to be there? Let's imagine they aren't there. You play F1 and G#1 simultaneously. The CPU is outputting 01000000. The 5V from the F1 will go to the buss bar 3rd from the left and be read by the CPU. There's a problem though. Without the diodes, the 5V at the buss bar also goes back through the G#1 and back to that note's CPU output, which is 0V. A 5V and 0V output get shorted together which may or may not make sparks, let out smoke, and ruin the CPU.

Friday, March 27, 2009

ARP Axxe Sliders


I had to whip an ARP Axxe into shape for a client recently. I changed out two sliders with ones sold at synthrestore.co.uk. I was very happy with the feel. It would have been nice to do all new sliders they were all pretty nasty but it's hard to justify the cost for an Axxe that cost $250 (I know because I saw the craigslist post). I used the Mountain Switch slider caps from mouser.com to replace missing caps. As prescribed, I did need to heat them up. They didn't have the exact look of the originals. That maybe a function of 30+ years of aging. I see synthrestore is going to sell their reproductions which include the elusive pink. Those will probably be worth investigating.

Speaking of slider caps, I had to do some google image searches and piece together the correct color scheme from multiple pictures. I took pictures of the final result so it will be here for reference. The correct answer (unless I'm wrong) is: black, pink, pink, yellow, red, blue, pink, red, pink, white, green, blue, black, black, yellow, pink, red, black, red, red, red, red, red.


So the scheme is:
Pink (x5) - LFO
Red (x8)- ADSR
Yellow (x2)- S/H
Blue (x2) - Square/Pulse
Green (x1)- Sawtooth
White (x1)- Noise
Black (x4)- Other

Monday, March 9, 2009

Synthedit

So I recently got Synthedit. Apparently I'm getting into it pretty late. It seems that all the links and posts on the internet are from 2007. For my first project I'm making a Moog Rogue clone. I've also gathered from the internet that a Moog clone is the stereotypical first VST everyone makes in Synthedit. Oh well.

So far it's been hard to balance making a true clone of the rogue with all it's limitations or make a double ADSR, three oscillator Rogue from hell. I'm staying true but overcoming the Rogue's obvious limitations. If you own one you know them by heart:
  • Shared Waveform switch for both oscillators
  • Shared Octave switch for both oscillators
  • Pitch wheel tunes +/- 6th or something
It's also making me question user interfaces. Why on earth should any soft synth have a knob? I ironically came to the oposite conclusion about hardware. Why should any hardware synth have a slider? Knobs feel so much better. All sliders do is get dirty and you're lucky if you can find a replacement.