# Is there a way to make a square wave sound more like an instument in a simple circuit? [closed]

Basically I've built a simple circuit that outputs a square wave of different frequencies (i.e. a DIY tone generator), but it obviously sounds very robotic. Are there any small, simple devices that could take an input of a certain frequency and output something that sounds more like an instrument? Like a single note played on a piano or a bell corresponding to the frequency input. This is just a simple DIY side project so I'm trying not to have anything too large or expensive.

I know very little about electronic sound generation so sorry if this has an obvious answer; I haven't been able to find anything through google.

• This probably would be a better fit for dsp.stackexchange.com or electronics.stackexchange.com – Tetsujin Jun 7 at 17:23
• You're doing the wrong search. A Google search for "sound synthesis" turns up lots of articles – PiedPiper Jun 7 at 20:32
• The question as asked does not make a lot of sense. The "square" wave will have some harmonic content. An "instrument" will have some other harmonic content. You cannot make one sound like the other except to alter the first so that it is no longer a square, which defeats the point. – ggcg Jun 7 at 22:51
• @ggcg as I read it, rather than defeating the point, that is the point? Perhaps hard to do with something small/simple though. – topo Reinstate Monica Jun 8 at 9:18

More electronics than music but try playing with some capacitors. In parallel with the load, these could dampen the high harmonics of the square wave and round off its edges. A variable capacitor would let you play with the effect. You'd need to judge yourself whether your existing circuit would tolerate this addition. Start with a small value capacitor and work up until either you get the sound you want or your circuit burns out.

My thought would be....what if you add many square waves together?

What sound would you get?