generating f(x) type wave forms?

Using Nyquist scripts in Audacity.
Post and download new plug-ins.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
dmonty
Posts: 20
Joined: Sat Feb 25, 2017 9:15 pm
Operating System: Linux *buntu

generating f(x) type wave forms?

Post by dmonty » Thu Mar 16, 2017 1:57 pm

How can I generate various y=f(x) wave forms using nyquist/audacity?

I'd like to work with this:
https://www.wolframalpha.com/input/?i=p ... %3D0+to+33

Thanks.

steve
Site Admin
Posts: 47285
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu
Contact:

Re: generating f(x) type wave forms?

Post by steve » Thu Mar 16, 2017 10:34 pm

There's an example in my most recent reply to your other topic: http://forum.audacityteam.org/viewtopic ... 16#p324116
This example generates a pulse derived from: y = c^-(x^2)

In brief, create an array to hold the 'y' values, and populate the array, mapping the array index values to 'x' values. Then use the "snd-from-array" function to translate the array into a sound (http://www.audacity-forum.de/download/e ... l#index158)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Trebor
Posts: 4506
Joined: Sat Dec 27, 2008 5:22 pm
Operating System: Windows Vista

Re: generating f(x) type wave forms?

Post by Trebor » Fri Mar 17, 2017 9:01 am

dmonty wrote:I'd like to work with this:
https://www.wolframalpha.com/input/?i=p ... %3D0+to+33
Goldwave audio-editor has a function-generator which does that sort of thing ....
https://www.goldwave.com/features.php#Evaluator

steve
Site Admin
Posts: 47285
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu
Contact:

Re: generating f(x) type wave forms?

Post by steve » Sun Mar 19, 2017 8:09 pm

dmonty wrote:How can I generate various y=f(x) wave forms using nyquist/audacity?

I'd like to work with this:
https://www.wolframalpha.com/input/?i=p ... %3D0+to+33
I thought this sounded interesting, so I've written a little plug-in here: http://forum.audacityteam.org/viewtopic ... 16#p324316
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply