## generating f(x) type wave forms?

Using Nyquist scripts in Audacity.

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

### generating f(x) type wave forms?

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=plot+x%5E3+*+e%5E(sin+(+x+*+3))+*+0.00001,+x%3D0+to+33

Thanks.
dmonty

Posts: 20
Joined: Sat Feb 25, 2017 9:15 pm
Operating System: Linux *buntu

### Re: generating f(x) type wave forms?

There's an example in my most recent reply to your other topic: viewtopic.php?p=324116#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)
steve

Posts: 46236
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

### Re: generating f(x) type wave forms?

Goldwave audio-editor has a function-generator which does that sort of thing ....
https://www.goldwave.com/features.php#Evaluator
Trebor

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

### Re: generating f(x) type wave forms?

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=plot+x%5E3+*+e%5E(sin+(+x+*+3))+*+0.00001,+x%3D0+to+33

I thought this sounded interesting, so I've written a little plug-in here: viewtopic.php?p=324316#p324316
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve