On Mon, Feb 19, 2024 at 09:21:37AM +0100, Lorenzo Sutton wrote: > On 18/02/2024 21:11, Kevin Zembower wrote: > > > However, we never saw a visual representation of the combined > > waveforms. As a former teacher, I thought it would enhance the lessons > > to also visualize the waveform. > > I would really recommend (as Dennis already suggested) to use Pure Data (aka > Pd) [1] in the teaching / learning pipeline. While it has a little learning > curve - basic examples like this are quite easy to create and students could > also install it and try out stuff and try 'hacking' the examples. Good advice. If you just want to show mathematically defined waveforms then gnuplot can be useful. For example gnuplot> set grid gnuplot> plot [0:12.6] sin(x) + sin(2*x)/2 + sin(3*x)/3 + sin(4*x)/4 + sin(5*x)/5 will show a nice approximation to a sawtooth. One thing I usually point out to students is that the shape of a waveform doesn't tell you much about how it will sound. For example, try gnuplot> plot [0:12.6] sin(x) + cos(2*x)/2 + cos(3*x)/3 + sin(4*x)/4 + sin(5*x)/5 which sounds just the same as the previous one but looks quite different. Ciao, -- FA _______________________________________________ Linux-audio-user mailing list -- linux-audio-user@xxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to linux-audio-user-leave@xxxxxxxxxxxxxxxxxxxx