I NEED TO COUNT THE TOTAL NUMBER OF SAMPLES BY USING A NYQUIST PROMPT, PLEASE.

Hi Everyone and Steve,

I need to calculate the number of Samples by using a Nyquist prompt instead of the reader at the bottom tab.

Any help will be greatly appreciated.

Thanks, in advance.

Trust all’s in order,
Byron Noemdoe. :smiley:

Nyquist in Audacity has a global variable “LEN”. The value of LEN is the length of the current selection in samples:

(print len)