Questions tagged [nyquist]

Use this tag for questions related to the Lisp-based Nyquist programming language dedicated to sound processing. Avoid using this tag for questions related to the Nyquist-Shannon sampling theorem or Strecker–Nyquist stability criterion.

nyquist is a programming language based on Lisp and dedicated to sound synthesis, analysis, and processing. The Audacity sound editor embeds a Nyquist interpreter and can run plug-ins written in the Nyquist language as well as ad-hoc Nyquist commands.

Nyquist is also available as a stand-alone interpreter often named ny.

53 questions
0
votes
1 answer

Nyquist criterion - undefined variable in algorithm

I write an algorithm that checks the stability of the closed system of the Nyquist criterion (http://en.wikipedia.org/wiki/Nyquist_stability_criterion) function answear=stability(re,im) %% Function check stability of system %re is real part of…
Kulis
  • 988
  • 3
  • 11
  • 25
0
votes
1 answer

Audacity - how to set the Nyquist Prompt control rate to match the audio rate?

I wish to use the Nyquist Prompt plugin in Audacity to construct a piece-wise linear waveform of 2048 samples in length. For example, I can generate a square pulse wave by starting with 2048 silent (zero) samples, selecting all, and then invoking…
davidA
  • 12,528
  • 9
  • 64
  • 96
0
votes
1 answer

Getting correct sampling frequency, how to?

I am trying to fully understand the sampling frequency concept. I got a useful answer from PaxRomana99 (I need help setting up the correct frequency vector) and it seems like the way to get the correct frequency vector is when you set up the time…
Amani Lama
  • 305
  • 7
  • 14
0
votes
1 answer

How to use sampling frequency concept when dealing with an array of sinusoidal data?

So first I was getting myself used to Matlab FFT, for example I would do the following: clc fs = 4; t = 0:1/fs:1-1/fs; x1 = sin((2*pi)*t); y1 = fft(x1,n); FT_power1 = abs(y1(1:floor(n/2))).^2; …
Amani Lama
  • 305
  • 7
  • 14
0
votes
1 answer

MATLAB Nyquist plot error

When i try to draw Nyquist plot for 1 / (s * (s^2+s+4) ) the curve does not move towards imaginary axis for w=infinity. It moves away from imaginary axis in MATLAB. I get same errors when there is 's' term in denominator.
Santosh
  • 1,871
  • 1
  • 19
  • 36
-1
votes
1 answer

Add anti-aliasing/bandlimit for looped wav sample (NOT Fourier transform)

How to build antialiasing interpolation using c++ code? I have a simple 4096 or 1024 buffer. Of course when I play this at high frequencies I get aliasing issues. to avoid this, the signal must be limited by the bandwidth at high frequencies.…
user1195202
  • 1,423
  • 1
  • 16
  • 20
-1
votes
1 answer

About Nyquist sampling example

If i have eight voltage levels (0v, 2, 4, 6, 8, 10, 12, 14v) with a bandwidth of 125MHz, what is my max data rate in Mbps? And if I increase to 200MHz?
Natã
  • 3
  • 1
-2
votes
1 answer

If signal sample length is N, it can stand for at most N/2 + 1 kinds of frequencies

How to prove the statement in the title? Here is how I understand it. Let's say we have 10 samples. Signal Peak: 1, 3, 5, 7, 9 Signal Valley:2, 4, 6, 8, 10. Frequencies we can extract from it is: (What are in the bracket are the waveform) freq…
hellocoding
  • 221
  • 4
  • 13
1 2 3
4