Nyquist returned the value X

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.
xgeminga
Posts: 11
Joined: Mon Aug 01, 2022 11:31 am
Operating System: Linux *buntu

Nyquist returned the value X

Post by xgeminga » Mon Aug 01, 2022 11:51 am

Hello folks,

İ am using Audacity for a very long time now on my Windows machine without any issues.
After installing Linux on my other machine İ get the error "Nyquist returned the value 0.250000" when trying to generate a rhythm track.
The strange thing is that it doesn't matter if I use Ubuntu, Arch or any other distro. Currently İ'm on Pop!os 22.04.
İ also tried the flatpak version - same issue.
apt install --install-recommends audacity doesn't help either.
İ tried audacity with the official repo version of 2.4.2 and also through the Pop!Shop with version 3.1.3.

What İ do:
-Open Audacity
-Go to Create->Rhythm Track

İ found several threads regarding this issue but nothing applies to my problem like the quotation mark bug for example.

The log only shows

Code: Select all

'Rhythm Track' returned:
error: unbound function - |LiST|
My system and Audacity language is set to Turkish. Don't know if that plays a role.
Any idea what to do here?

Thanks in advance

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

Re: Nyquist returned the value X

Post by steve » Mon Aug 01, 2022 10:44 pm

xgeminga wrote:
Mon Aug 01, 2022 11:51 am
My system and Audacity language is set to Turkish. Don't know if that plays a role.
It may do. If you can read English well enough to test it in English, please try it again with the language set to English ("Preferences > Interface > Language").

If you see the same error, try running it with the "Debug" button. That may show a more helpful error message.
Learn more about Nyquist programming at audionyq.com

xgeminga
Posts: 11
Joined: Mon Aug 01, 2022 11:31 am
Operating System: Linux *buntu

Re: Nyquist returned the value X

Post by xgeminga » Wed Aug 03, 2022 12:33 pm

Thank you very much for your reply!

After changing the language to English and 'restarting' Audacity, İ do not get any errors.
İt seems that the error is indeed caused by the different locale.

The debug button gives me the same as above:

Code: Select all

error: unbound function - |LiST|
What can we do to isolate the problem?

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

Re: Nyquist returned the value X

Post by steve » Wed Aug 03, 2022 1:00 pm

I've just tried "Rhythm Track" using Audacity 3.1.3 AppImage (from: https://www.audacityteam.org/download/) on Xubuntu 20.04, with the language set to Turkish. It runs correctly for me.
xgeminga wrote:
Wed Aug 03, 2022 12:33 pm

Code: Select all

error: unbound function - |LiST|
Is that all that it says in the debug window? (Debug error messages usually have a lot more information).
Learn more about Nyquist programming at audionyq.com

xgeminga
Posts: 11
Joined: Mon Aug 01, 2022 11:31 am
Operating System: Linux *buntu

Re: Nyquist returned the value X

Post by xgeminga » Thu Aug 04, 2022 4:27 pm

İ too installed the 3.1.3 version now, still having the same issue. This time the debug window gave me a lot more to work with.

Code: Select all

error: unbound function - |LiST|
if continued: try evaluating symbol again
1> "tr"
1> #\,
1> "/app/lib"
1> "/home/anka/.audacity-data"
1> "/app/share/audacity/help/manual"
1> "/var/tmp/audacity-anka"
1> "/tmp"
1> "/home/anka/Belgeler"
1> "/home/anka"
1> error: unbound function - |LiST|
if continued: try evaluating symbol again
2> error: unbound function - |LiST|
if continued: try evaluating symbol again
3> "/home/anka/.audacity-data/Plug-Ins"
3> error: unbound function - |LiST|
if continued: try evaluating symbol again
4> "04-08-2022"
4> "19:25:59"
4> "2022-08-04"
4> "19:25:59"
4> 2022
4> 4
4> 7
4> "A\304\237ustos"
4> "Per\305\237embe"
4> 1
4> ""
4> 44100
4> 1
4> 1
4> 0
4> 0
4> 0
4> 6
4> NIL
4> 0
4> 0
4> error: unbound function - |LiST|
if continued: try evaluating symbol again
5> 1
5> error: unbound variable - |NiL|
if continued: try evaluating symbol again
6> error: unbound variable - |NiL|
if continued: try evaluating symbol again
7> error: unbound variable - |NiL|
if continued: try evaluating symbol again
8> error: unbound variable - |NiL|
if continued: try evaluating symbol again
9> 1
9> "Ses izi"
9> "wave"
9> "Waveform"
9> 1
9> T
9> 0
9> 0
9> 1
9> 0
9> 44100
9> 32
9> error: unbound function - |LiST|
if continued: try evaluating symbol again
10> error: unbound variable - |NiL|
if continued: try evaluating symbol again
11> 0
11> 0.25
11> T
11> 120
11> 4
11> 0
11> 16
11> 0
11> 0
11> 0
11> 84
11> 80
11> ROUND-UP
11> |NORMALiZE|
11> S-REST-ABS
11> |DRiP|
11> |METRONOME-TiCK|
11> COWBELL
11> |GET-METRONOME-TiCK|
11> |GET-PiNG|
11> |GET-RESONANT-NOiSE|
11> |GET-NOiSE-CLiCK|
11> |GET-DRiP|
11> GET-COWBELL
11> |CLiCK|
11> |SWiNG-ADJUST|
11> MAKEMEASURE
11> SAMPLECOUNT
11> GET-MEASURE
11> |MAKE-CLiCK-TRACK|
11> 0.5
11> error: unbound function - |SiM|
if continued: try evaluating symbol again
Function: #<FSubr-SETF: #0x563f0e735688>
Arguments:
  *MEASURE*
  (|SiM| (S-REST (* |TiMESiG| BEATLEN)) (|CLiCK| |CLiCK-TYPE| 1) (|SiMREP| (X (- |TiMESiG| 1)) (AT-ABS (* BEATLEN (+ X 1 (|SWiNG-ADJUST| X |SWiNG|))) (CUE (|CLiCK| |CLiCK-TYPE| 0)))))
Function: #<Closure-MAKEMEASURE: #0x563f0e760638>
Function: #<FSubr-SETF: #0x563f0e735688>
Arguments:
  *SYSTEM-TIME*
  (|LiST| 2022 216 19 25 59)
12> NIL
12> error: bad argument type - NIL
Function: #<Subr-/: #0x563f0e738ca0>
Arguments:
  NIL
  2
Function: #<FSubr-LET: #0x563f0e7358b0>
Arguments:
  ((|PREViEW| (/ (GET (QUOTE *PROJECT*) (QUOTE |PREViEW-DURATiON|)) (* |TiMESiG| BEATLEN))))
  (|iF| (NOT (GET (QUOTE *TRACK*) (QUOTE |ViEW|))) (SETQ BARS (|MiN| |PREViEW| BARS)))
Function: #<FSubr-SETF: #0x563f0e735688>
Arguments:
  *MEASURE*
  (|SiM| (S-REST (* |TiMESiG| BEATLEN)) (|CLiCK| |CLiCK-TYPE| 1) (|SiMREP| (X (- |TiMESiG| 1)) (AT-ABS (* BEATLEN (+ X 1 (|SWiNG-ADJUST| X |SWiNG|))) (CUE (|CLiCK| |CLiCK-TYPE| 0)))))
Function: #<Closure-MAKEMEASURE: #0x563f0e760638>
Function: #<FSubr-SETF: #0x563f0e735688>
Arguments:
  *SYSTEM-TIME*
  (|LiST| 2022 216 19 25 59)
13> error: unbound function - |iF|
if continued: try evaluating symbol again
Function: #<Closure-ROUND-UP: #0x563f0e71b270>
Arguments:
  16
Function: #<FSubr-SETQ: #0x563f0e7396a8>
Arguments:
  BARS
  (ROUND-UP BARS)
Function: #<Subr-/: #0x563f0e738ca0>
Arguments:
  NIL
  2
Function: #<FSubr-LET: #0x563f0e7358b0>
Arguments:
  ((|PREViEW| (/ (GET (QUOTE *PROJECT*) (QUOTE |PREViEW-DURATiON|)) (* |TiMESiG| BEATLEN))))
  (|iF| (NOT (GET (QUOTE *TRACK*) (QUOTE |ViEW|))) (SETQ BARS (|MiN| |PREViEW| BARS)))
Function: #<FSubr-SETF: #0x563f0e735688>
Arguments:
  *MEASURE*
  (|SiM| (S-REST (* |TiMESiG| BEATLEN)) (|CLiCK| |CLiCK-TYPE| 1) (|SiMREP| (X (- |TiMESiG| 1)) (AT-ABS (* BEATLEN (+ X 1 (|SWiNG-ADJUST| X |SWiNG|))) (CUE (|CLiCK| |CLiCK-TYPE| 0)))))
Function: #<Closure-MAKEMEASURE: #0x563f0e760638>
Function: #<FSubr-SETF: #0x563f0e735688>
Arguments:
  *SYSTEM-TIME*
  (|LiST| 2022 216 19 25 59)
14> 1.4112e+06
14> error: unbound function - |FUNCTiON|
if continued: try evaluating symbol again
Function: #<Closure-SAMPLECOUNT: #0x563f0e7600e0>
Arguments:
  0
Function: #<FSubr-SETF: #0x563f0e735688>
Arguments:
  ADDSAMPLES
  (SAMPLECOUNT 0)
Function: #<Closure-ROUND-UP: #0x563f0e71b270>
Arguments:
  16
Function: #<FSubr-SETQ: #0x563f0e7396a8>
Arguments:
  BARS
  (ROUND-UP BARS)
Function: #<Subr-/: #0x563f0e738ca0>
Arguments:
  NIL
  2
Function: #<FSubr-LET: #0x563f0e7358b0>
Arguments:
  ((|PREViEW| (/ (GET (QUOTE *PROJECT*) (QUOTE |PREViEW-DURATiON|)) (* |TiMESiG| BEATLEN))))
  (|iF| (NOT (GET (QUOTE *TRACK*) (QUOTE |ViEW|))) (SETQ BARS (|MiN| |PREViEW| BARS)))
Function: #<FSubr-SETF: #0x563f0e735688>
Arguments:
  *MEASURE*
  (|SiM| (S-REST (* |TiMESiG| BEATLEN)) (|CLiCK| |CLiCK-TYPE| 1) (|SiMREP| (X (- |TiMESiG| 1)) (AT-ABS (* BEATLEN (+ X 1 (|SWiNG-ADJUST| X |SWiNG|))) (CUE (|CLiCK| |CLiCK-TYPE| 0)))))
Function: #<Closure-MAKEMEASURE: #0x563f0e760638>
Function: #<FSubr-SETF: #0x563f0e735688>
Arguments:
  *SYSTEM-TIME*
  (|LiST| 2022 216 19 25 59)
15> error: unbound function - |iF|
if continued: try evaluating symbol again
Function: #<Closure-SAMPLECOUNT: #0x563f0e7600e0>
Arguments:
  0
Function: #<FSubr-SETF: #0x563f0e735688>
Arguments:
  ADDSAMPLES
  (SAMPLECOUNT 0)
Function: #<Closure-ROUND-UP: #0x563f0e71b270>
Arguments:
  16
Function: #<FSubr-SETQ: #0x563f0e7396a8>
Arguments:
  BARS
  (ROUND-UP BARS)
Function: #<Subr-/: #0x563f0e738ca0>
Arguments:
  NIL
  2
Function: #<FSubr-LET: #0x563f0e7358b0>
Arguments:
  ((|PREViEW| (/ (GET (QUOTE *PROJECT*) (QUOTE |PREViEW-DURATiON|)) (* |TiMESiG| BEATLEN))))
  (|iF| (NOT (GET (QUOTE *TRACK*) (QUOTE |ViEW|))) (SETQ BARS (|MiN| |PREViEW| BARS)))
Function: #<FSubr-SETF: #0x563f0e735688>
Arguments:
  *MEASURE*
  (|SiM| (S-REST (* |TiMESiG| BEATLEN)) (|CLiCK| |CLiCK-TYPE| 1) (|SiMREP| (X (- |TiMESiG| 1)) (AT-ABS (* BEATLEN (+ X 1 (|SWiNG-ADJUST| X |SWiNG|))) (CUE (|CLiCK| |CLiCK-TYPE| 0)))))
Function: #<Closure-MAKEMEASURE: #0x563f0e760638>
Function: #<FSubr-SETF: #0x563f0e735688>
Arguments:
  *SYSTEM-TIME*
  (|LiST| 2022 216 19 25 59)
16> 15> 14> 13> 12> 11> 10> 9> 8> 7> 6> 5> 4> 3> 2> 1> 

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

Re: Nyquist returned the value X

Post by steve » Thu Aug 04, 2022 4:37 pm

That's very weird. It does not even look like a normal Nyquist error message.
Some of the symbols listed in that message (such as "*SYSTEM-TIME*") aren't even in the Rhythm Track code.

xgeminga wrote:
Thu Aug 04, 2022 4:27 pm
İ too installed the 3.1.3 version now
Where from?
Learn more about Nyquist programming at audionyq.com

xgeminga
Posts: 11
Joined: Mon Aug 01, 2022 11:31 am
Operating System: Linux *buntu

Re: Nyquist returned the value X

Post by xgeminga » Fri Aug 05, 2022 7:20 pm

steve wrote:
Thu Aug 04, 2022 4:37 pm
Where from?
Pop!_Shop - flatpak version.

xgeminga
Posts: 11
Joined: Mon Aug 01, 2022 11:31 am
Operating System: Linux *buntu

Re: Nyquist returned the value X

Post by xgeminga » Fri Aug 05, 2022 7:26 pm

I will set the system language to English and leave Audacity on Turkish when I get my hands on the Notebook tomorrow and test it that way.
If that works, we may be able to narrow down the problem further.

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

Re: Nyquist returned the value X

Post by steve » Sat Aug 06, 2022 1:53 pm

My suggestion is to try the official Audacity 3.1.3 AppImage from: https://www.audacityteam.org/download/
(works for me).
Learn more about Nyquist programming at audionyq.com

xgeminga
Posts: 11
Joined: Mon Aug 01, 2022 11:31 am
Operating System: Linux *buntu

Re: Nyquist returned the value X

Post by xgeminga » Sat Aug 06, 2022 3:42 pm

steve wrote:
Sat Aug 06, 2022 1:53 pm
My suggestion is to try the official Audacity 3.1.3 AppImage from: https://www.audacityteam.org/download/
(works for me).
Nope, doesn't help. Same error with the Appİmage.
Setting my system and formats language to English doesn't help either.
The only way to get things working is changing the Audacity language.
İ mean İ couldn't care less, İ can also use Audacity in English and German. But the goal here is to have a bug-free software.
So if there is anything İ can do to help identifying the problem, just let me know.

Post Reply