CGS saw pitch shifter/wave multiplier (previous version)

Jump to navigation Jump to search

CGS38 the CGS saw pitch shifter/wave multiplier (v1.0) is an experimental combination of op-amp summers and comparators with surprising results, ranging from complex wave shaping to pitch shifting of saw tooth waves.

While untested, the module should work on +/-12 volts though the wave levels will be affected.

Some ideas on how to use this module

As a waveform mangler - feed it any combination of waveforms, or a waveform and a control voltage and adjust as needed. For example, feed a waveform from a VCO or LFO into one input, and adjust the input level for differing effects. Use a control voltage as an offset signal to introduce variation. This can be from an envelope generator, keyboard or LFO or another VCO.

As a sawtooth frequency doubler - feed in a single sawtooth wave, and adjust the associated gain. When the gain reaches 2, assuming a 0 to 5 volt waveform, the result will be a sawtooth of twice the frequency at the first output.

As a sawtooth pitch shifter - feed an audio frequency sawtooth wave into one input, and a sawtooth wave from an LFO into the other. Disable one input using the switch, then adjust the input level of the other input until the LED lights, then back off until it goes out. Disable the other input using the switch, then repeat the procedure for the other input. Return the switch to the center position. The LED will now work as a "signal present" indicator and can be ignored. One output will be the sum of the two frequencies, and the other should be the difference, depending on the relative slopes of the two sawtooth signals. If the result sounds rough, tweak one of the inputs until it sounds clean.

Note that getting the pitch shift to work correctly takes some experimenting and tweaking. The input waveforms should be in the range of 0 to 5 volts - specifically with the bottom of the waveforms actually hitting 0 volts. An external offset may need to be mixed in if this cannot be achieved. The downward shift output is very sensitive to gains and offsets, and is unlikely to be as pure as the upward shift output. If you want a more accurate downward shift, swap the direction of one of the input waves, and upward shift output will act as a downward shift output and vice versa. Some very powerful sound can result, even with impurities in the shifting, especially when the incoming frequency, and the up and down outputs are mixed together.

Also note that this is NOT a frequency shifter - the relationship between the harmonics are preserved.

A little on how it works

The schematic of the Saw Pitch Shifter/Wave Multiplier.

The first half of the circuit is essentially a mixer. The two incoming waveforms are buffered the sent through the "setup matrix" that allows grounding of one signal or the other to help setting up the signal levels. The two signals are then summed and fed to another summer and a comparator. The second summer adds the voltages from the comparator, and a fixed reverence voltage that compensates for the offset introduced by the comparator.

Note that the processing between the two summers actually occurs while the signal is inverted. If the output of the first summer exceeds the preset value of 5 volts, the comparator output changes, subtracting 5 volts from the total present at the output. This means that if the instantaneous voltage of an incoming wave has passed 5 volts, it will suddenly be converted to 5 volts - 5 volts (i.e. 0 volts) where it will continue to rise at the previous rate until it reaches its peak. When the waveform again falls below 5 volts, the comparator will switch back, restoring the original input output relationship. The LED lights when the comparator is subtracting 5 volts from the output.

The downward shift output is generated in much the same way, with the exception that the second incoming signal is inverted and offset before being fed into the associated summer. There are no setup matrix present or monitoring LED for this output.

Construction

The component overlay. Connections can be determined from the circuit diagram.

Before you start assembly, check the board for etching faults. Look for any shorts between tracks, or open circuits due to over etching. Take this opportunity to sand the edges of the board if needed, removing any splinters or rough edges.

Several 600k resistors are specified, though purchasing these may prove difficult. If so, simply use a pair of 1.2 meg resistors in parallel, or use a 604k instead. (Note: on the prototype run, these are incorrectly marked as 300k. On the Rev1 board, one of these resistors is still incorrectly marked as 300k).

When you are happy with the printed circuit board, construction can proceed as normal, starting with the resistors first, followed by the IC socket if used, then moving onto the taller components.

Take particular care with the orientation of the polarized components such as electrolytics, diodes, transistors and ICs.

When inserting ICs into sockets, take care not to accidentally bend any of the pins under the chip. Also, make sure the notch on the chip is aligned with the notch marked on the PCB overlay.

Setting up

With the unit set to do basic pitch shifting as described above, using an LFO and a VCO, watch each output in turn with a CRO, and adjust the trimpots until a smooth sawtooth wave results. There may be a spike there that cannot be adjusted away. What you are trying to achieve is to line up the two parts of the slope so it looks like a single slope, irrespective of the spike. The spike can be suppressed by adding a 0.047 uf (47n) capacitor at the output socket between the output and 0 volts/ground.

Do this for both outputs.

If you do not have a CRO, adjust each trimpot so that the value of the trimpot and 470k resistor in series with it add to a little under 600k.

Parts list

This is a guide only. Parts needed will vary with individual constructor's needs.

Part Quantity
Capacitors
100n 3
10uF 25V 2
Resistors
1k 3
18k 1% 2
47k 2
82k 1% 2
100k 1% 9
200k 1% 3
470k 2
600k 1% (604k) 3
100k lin pot 2
200k trim 2
Semi's
TL071 1
TL074 2
BC547 1
1N4148 1
LED 1
Misc
Center off SPDT switch 1
Ferrite bead (or 10R resistor) 2
0.156 4 pin connector 1
CGS38 PCB 1

Notes

  • A 10 to 22 ohm resistor can be used instead of the ferrite beads. If you don't care about power-rail noise, just use a link instead.
  • PCB is 6" x 1" with 3mm mounting holes 0.15" in from the edges.

CC-BY-NC

Readers are permitted to construct these circuits for their own personal use only. Ken Stone retains all rights to his work.

See also

References

External links