Silent finder "Nyquist did not return audio"

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.1.x version.

Mac 0S X 10.3 and earlier are no longer supported but you can download legacy versions of Audacity for those systems HERE.
bigboss1927
Posts: 10
Joined: Thu Feb 17, 2011 2:54 am
Operating System: Please select

Re: Silent finder "Nyquist did not return audio"

Post by bigboss1927 » Sun May 29, 2011 5:51 pm

Hi Steve here is the error I got greeted by the debugger.

error: unbound function - DB-TO-LINEAR
Hi Steve here is the error I received after following your last suggestion.

error: unbound function - DB-TO-LINEAR

I attached the nyquist.lsp file that you asked.

Thanks.
Attachments
nyquist.lsp
uploaded file for Steve
(53.76 KiB) Downloaded 129 times

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

Re: Silent finder "Nyquist did not return audio"

Post by steve » Sun May 29, 2011 6:15 pm

This is really strange - the function "db-to-linear" is fully defined in nyquist.lsp and working :?

Let's try a couple more experiments;

Test 1
Create an empty track and select a couple of seconds, then open the "Nyquist Prompt" effect.
Copy and paste this code and click the Debug button.

Code: Select all

(clip (osc 0) 0.5 )
After showing an empty debug window it should produce something similar to this:
firsttrack003.png
firsttrack003.png (8.75 KiB) Viewed 1655 times
The important thing here is that there should be a generated waveform that is half the track height.

Test 2

With part of a track (any mono track) selected, open up the Nyquist Prompt effect again and copy paste the following code, then press the Debug button.

Code: Select all

(defun db-to-linear2 (x) 
  (cond ((numberp x)
     (exp (* ln10over20 x)))
    ((arrayp x)
     (let* ((len (length x))
        (result (make-array len)))
        (dotimes (i len)
        (setf (aref result i) 
              (snd-exp (snd-scale ln10over20 (aref x i)))))
        result))
    (t
     (snd-exp (snd-scale ln10over20 x)))))

(print (db-to-linear2 -6))
In both cases, what happens?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

bigboss1927
Posts: 10
Joined: Thu Feb 17, 2011 2:54 am
Operating System: Please select

Re: Silent finder "Nyquist did not return audio"

Post by bigboss1927 » Sat Jun 25, 2011 8:34 pm

Hello Steve,

And the testing is continuing...... :geek:

Test 1 result:

error: unbound function - CLIP

Test 2 result:

error: illegal character - -96

--------------

test 1 was using a blank audio mono file which last for 10 seconds, I used a 2.5 seconds section and it failed with the error via debbuger. I did not produced the result like it was supposed to do.

test 2 was using a 10 second mono noise which also failed. :(

Trialing and erroring keeps continuing....up until....:evil: LOL

Thanks.
BB

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

Re: Silent finder "Nyquist did not return audio"

Post by steve » Sun Jun 26, 2011 5:14 am

Oh, hello again :D
Glad you got back on this.

I think the problem is that the file access permissions is set incorrectly on the nyquist.lsp file.
I don't use Macs, so I don't know how to view or change file permissions, but that file (and all of those other .lsp files) need to have read permission for everyone. (Unix permissions 644 / rw-r-r). Close Audacity, then change the file permissions, then restart Audacity, then try running silence finder again.

If you don't know how to change file permissions, please say so and I'll ask one of the Mac guys to post instructions.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

bigboss1927
Posts: 10
Joined: Thu Feb 17, 2011 2:54 am
Operating System: Please select

Re: Silent finder "Nyquist did not return audio"

Post by bigboss1927 » Sat Jul 16, 2011 5:45 pm

steve wrote:Oh, hello again :D
Glad you got back on this.

I think the problem is that the file access permissions is set incorrectly on the nyquist.lsp file.
I don't use Macs, so I don't know how to view or change file permissions, but that file (and all of those other .lsp files) need to have read permission for everyone. (Unix permissions 644 / rw-r-r). Close Audacity, then change the file permissions, then restart Audacity, then try running silence finder again.

If you don't know how to change file permissions, please say so and I'll ask one of the Mac guys to post instructions.
Hi Steve,

I do not know how to change the file permissions I am on Snow Leopard 10.6.8. :? As summer is starting I am not often spending time on the computer. 8-)

This is why it takes me time to reply. :lol:

Yeah if you can ask anyone of the MAC guys that would really be much appreciated. :)

Thanks again!

kds-kds
Posts: 8
Joined: Tue Mar 29, 2011 6:23 am
Operating System: Please select

Re: Silent finder "Nyquist did not return audio"

Post by kds-kds » Sat Jul 16, 2011 6:07 pm

Hello,
If you are conversant with Unix, you can open a Terminal window in any OS X and use the chmod (or, if necessary, chown) commands on the command-line.
If you want to go the 'user friendly' route,
Go to Finder
Select the file whose perms need to be changed
Click on the 'i' in the blue circle on the shelf or choose 'Get Info' from the 'File' menu
In the panel that opens up, look at the 'Ownership & Permission' and 'Details' pane (near the bottom). If closed, expand it by clicking on the triangle.
You will see a padlock icon. If the padlock is open then go to the next step; if it is closed, then, if the perms of the file are incorrect and need to be changed, click on the padlock (assuming you're using an administrator account, which be default you should be). Enter your password at the prompt and the padlock will open up.
If the perms are incorrect, change them to what is required (read / execute /whatever).
I hope this helps!

kds-kds
Posts: 8
Joined: Tue Mar 29, 2011 6:23 am
Operating System: Please select

Re: Silent finder "Nyquist did not return audio"

Post by kds-kds » Sat Jul 16, 2011 6:32 pm

Hello again,
Should've mentioned something.
I think this .lsp is a file you have access to -– you know where it is.
But if you need to change the perms of some file inside Audacity (the application) which is really a directory, then get to the context menu and from there, choose 'Show Package Contents'. It will show the app as a directory in Finder. You should do this only if you really know what you're doing.
One way to get to the context menu is to go to Finder, select Audacity (or whatever), and then ctrl-click on it.
In Terminal, you can directly access files inside apps (assuming you have perms) because they're all just dirs.

bigboss1927
Posts: 10
Joined: Thu Feb 17, 2011 2:54 am
Operating System: Please select

Re: Silent finder "Nyquist did not return audio"

Post by bigboss1927 » Wed Aug 03, 2011 2:56 am

Hello Kds,

Thanks for the advice.

As it's been several years since I last used a UNIX terminal window I think I will skip this part. After checking the permissions for what you advised me above I still get the same symptom.

Frankly I am about to throw the towel at this. :? ....it is going nowhere lol....

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

Re: Silent finder "Nyquist did not return audio"

Post by steve » Wed Aug 03, 2011 3:12 am

I just know this will turn out to be something stupidly simple.
Where exactly do you have Audacity installed?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

bigboss1927
Posts: 10
Joined: Thu Feb 17, 2011 2:54 am
Operating System: Please select

Re: Silent finder "Nyquist did not return audio"

Post by bigboss1927 » Sun Aug 07, 2011 5:31 pm

You know what Steve?

You are correct......so simple issue.....unbelieveable! LOL It was installed a two subfolders (download folder and audio folder) when I moved the audacity folder to the applications section the silent finder now works perfectly! The error no longer pops up at all!

:lol: :D 8-)

Thanks a lot for the trouble. Hoping this will be added to a FAQ until it will be possible to have audacity install customized in specific location with the Nyquist plugin working too.

Locked