Convert any analog signal to a basic synth wave (sine, square, etc.)

William DeRocker's icon

So I'm taking on what I think is gonna be a rather ambitious project (less for me anyway. ) What I want to do is have an incoming analog signal (such as a guitar) be essentially sort of filtered into periodic waveforms such as a sine wave, square, etc. I'm basically trying to do what the Sy 300 from boss does (although I'm not sure that's how it's done exactly) because I want to make a guitar synth (although I'll end up using it on everything) that avoids pitch tracking like other guitar synths do because I find them to be glitchy and you have to adjust your playing for them to sound good. I'm not sure exactly where to start but I'd imagine what I have to do would be to extract the harmonics from the signal somehow (ftt~ I think? I'm a bit rusty) and take a bunch of snapshots of them as the cycles complete and then use a bunch of math and if/then statements to "redraw" a signal that conforms to that of a square or triangle or something and have that be the output. I think of it like how a photoshop filter will take a curved edge of something and make it straight instead. Let me know if you guys have any ideas on how I could go about this or point me in a direction that would be better at acheiving the results I'm looking for. Any help is appreciated :)

Source Audio's icon

I used something like that for polyphonic subharmonic
effect on 3 low guitar strings, with priority switching.
A very simple approach,
filter input to get rid of thumps or high frequencies,
apply distortion to get squarewave, filter again
and then one can do whatever one wants.
Pitch detectors work better when feeded such signal.
Having hexaphonic pickup is necessary for polyphonie.

William DeRocker's icon

That is not true. Polyphony can be acheived without a hexpickup. Lookup the Enzo by Meris and the Boss sy 300 they are both guitar synths that do this. The Enzo has really advanced pitch tracking which is cool but it's still pitch tracking where as the Sy 300 is doing some kind of magic I just don't understand because it actually somehow takes the input signal and mangles it into sounding like a synth.

Source Audio's icon

It is definitely root waveform extracting of some kind,
otherwise it will not be possible to produce polyphony.
And it is probably not possible to transpose per string,
use different sounds etc.