Value not in range error when generating a tone

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
boshea
Posts: 4
Joined: Tue Oct 09, 2018 10:36 pm
Operating System: OS X 10.9 Mavericks

Value not in range error when generating a tone

Post by boshea » Tue Oct 09, 2018 10:46 pm

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:

https://manual.audacityteam.org/man/gen ... .html#tone

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,
-brian
Attachments
40HzSineWaveToneError.png
40HzSineWaveToneError.png (102.82 KiB) Viewed 455 times

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

Re: Value not in range error when generating a tone

Post by steve » Tue Oct 09, 2018 11:32 pm

The "project rate" (bottom left corner) is way too low.
Typically it should be set at 44100.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

boshea
Posts: 4
Joined: Tue Oct 09, 2018 10:36 pm
Operating System: OS X 10.9 Mavericks

Re: Value not in range error when generating a tone

Post by boshea » Mon Oct 15, 2018 9:15 pm

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.

Post Reply