Hi there. I’m trying to build a patch which converts guitar sound into square wave. Probably the best way is push sound into [>] or [<], but in my case (I have crappy Chinese Stratocaster, with very short sustain), it works really bad. So I decided to use fft. I’m not familiar with fft and  I thought – What if I replace original amplitudes with amplitudes of square wave? But it’s still doesn’t work. As I think, because I should do something with phases. But I don’t know what exactly I should do. Thanks for attention. 
- 
				
				
				
				Guitar sound to square wave. 
 
- 
				
				
				
				Why not use pitch tracking, say with [fiddle~] and send the frequency to a square wave oscillator? 
- 
				
				
				
				Try this. 
- 
				
				
				
				Why i didn't thought about that before? ) It's simple and effective ) Thanks. 
 
					