Re: Teaching tool to visualize waveforms?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You're welcome, Kevin! Keep us posted how it works out.

On 2/20/24 10:49, Kevin Zembower wrote:
Fons, Dennis, davic and Lorenzo,

Thanks very much for your responses to my question.

I never thought of GNU Octave and gunplot for this task, mostly because
of the extra steps it would require to listen to the resultant audio
file. But, there are definite posibilities there.

I've never heard of PureDAta or CSound, but will explore these
programs. I also wasn't aware of Sonic Visualizer or Glava, but will
explore these, too.

Thanks, again, for your advice and guidance. I really appreciate your
work to assist me.

-Kevin


On Tue, 2024-02-20 at 12:00 +0100,
Message: 1
Date: Mon, 19 Feb 2024 14:41:49 +0100
From: Fons Adriaensen <fons@xxxxxxxxxxxxxx>
Subject:  Re: Teaching tool to visualize waveforms?
To: linux-audio-user@xxxxxxxxxxxxxxxxxxxx
Message-ID: <ZdNanb9LkIQ2IduF@xxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset=us-ascii

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


--
David W. Jones
gnome@xxxxxxxxxxxxx
authenticity, honesty, community
http://dancingtreefrog.com
"My password is the last 8 digits of π."
_______________________________________________
Linux-audio-user mailing list -- linux-audio-user@xxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to linux-audio-user-leave@xxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux