Value not in range error when generating a tone

Hello Audacity community,

This is the first time I have used Audacity, so apologies in advance if this has been answered before. I couldn’t find it by searching the forum, but there were so many irrelevant results matching my search terms that it was hard to sift through them all.

I am trying to generate a 40 Hz sine wave tone, and am following the documentation here:

However, I am getting an error saying “Value not in range: 1.0000000 to 20.0000000”. I am not sure which value it is referring to here, since the only inputs seem to have valid values, per the instructions. I tried changing the duration, in case it needed to be at least one second, but got the same error.

I am using Audacity 2.1.2 on Ubuntu Linux version 16.04. Attached is a screenshot of the error message, with the input parameters that I specified. What am I doing wrong?

Thanks in advance,

The “project rate” (bottom left corner) is way too low.
Typically it should be set at 44100.

Thanks, that appears to have fixed it. I might have accidentally set the project rate to 40 Hz, since I was trying to generate a 40 Hz tone.