Using Vamp Plugins and Hosts > Getting and Using Vamp Plugins

Only Some Vamp Plug-Ins (SV on Mac OSX 10.4.11)?

(1/3) > >>

Chuck_1:
Hi Folks,
I downloaded and installed three sets of Vamp Plug-Ins (VPIs) but only the 'example' set seems to work so far. The VPIs are:
1. QM Vamp Plug-Ins;
2. Vamp Aubio; and
3. Vamp-Example.

The location (on Mac OSX 10.4.11) I used is System(HD)/Lib/Audio/Plug-Ins/Vamp/(Files) which is - if I understood correctly - the recommended location.

The files that I put in that location are always the two files: the dylib and the cat file for each VPI set. The only difference that I could discern between the sets is a veiled comment at the download site for the 'example' set (with the Software Developer Kit information) saying that the 'example' set has been especially set up to make it more easily recognizable by hosts.

Any ideas why only the 'example' set works or - more importantly - why the other two sets do not?

Thanks in advance - and congrats on a great job with SV!

cannam:

Hi -- I'm afraid I don't have any immediate ideas about this; I wonder if you can get some more information from the host about why it can't load the plugins?

Do you have the vamp-simple-host program that comes with the SDK?  (I can't actually remember offhand whether it's distributed with the example plugins for OS/X or in a separate package.)  If so, try running "vamp-simple-host -l" (that's a lower-case L) from a terminal window to get a list of the installed plugins.  If that list doesn't contain the aubio and QM plugins, perhaps it will have printed an error that gives some hint as to why.

For what it's worth, the text that I think you're referring to in the SDK download page is describing a facility added to the SDK that makes it easier to write hosts that discover and load plugins (i.e. it takes less code to write the host), not that makes it easier for any given plugin to be discovered and loaded.  There shouldn't be any significant difference between the example plugins and any others in this respect.

By the way, is this an Intel or PPC Mac?


Chris

Chuck_1:
Hi Chris,
Thanks for your helpful hints - here are my results so far (I once used to program in machine code and then in many other formats but it was a while ago... so I'd appreciate your patience with me!):

1. This is a PPC Mac: 1.25 GHz PowerPC G4 with 1 GB DDR SDRAM and more than 100 GB of free disk space.

2. You are absolutely correct about the text that I remembered from the SDK download page - it is: "designed to help hosts find and use plugins much more easily".

3. Here is what I had downloaded (and unzipped) before my first posting on this topic:

http://optusnet.dl.sourceforge.net/sourceforge/sv1/sonic-visualiser-1.0-osx-universal.zip
http://www.elec.qmul.ac.uk/digitalmusic/downloads/qm-vamp-plugins-1.3-osx-universal.tar.gz
http://optusnet.dl.sourceforge.net/sourceforge/vamp/vamp-example-plugins-1.1b-osx-universal.tar.gz

And after reading your reply - since I could not find the vamp-simple-host program that you mentioned - I then also downloaded (and unzipped) this (which contains it):

http://optusnet.dl.sourceforge.net/sourceforge/vamp/vamp-plugin-sdk-1.1b-binaries-osx-universal.tar.gz

4. Thus on my desktop I now have a folder entitled: "vamp-plugin-sdk-1.1b-binaries-osx-universal" which contains the following six items:

libvamp-hostsdk.a
libvamp-hostsdk.dylib
libvamp-sdk.a
libvamp-sdk.dylib
README.txt
vamp-simple-host

5. When I tried to run "vamp-simple-host -l" from a terminal window I got the following result:

Last login: Sun Jan 13 16:33:53 on ttyp1
Welcome to Darwin!
localhost:~ albertcharlesmonticone$ vamp-simple-host -l
-bash: vamp-simple-host: command not found
localhost:~ albertcharlesmonticone$

I then tried two other commands (-p and -v) and got the following - probably not surprising - results:

Last login: Sun Jan 13 17:30:26 on ttyp1
Welcome to Darwin!
localhost:~ albertcharlesmonticone$ vamp-simple-host -p
-bash: vamp-simple-host: command not found
localhost:~ albertcharlesmonticone$

Last login: Sun Jan 13 17:30:52 on ttyp1
Welcome to Darwin!
localhost:~ albertcharlesmonticone$ vamp-simple-host -v
-bash: vamp-simple-host: command not found
localhost:~ albertcharlesmonticone$

This all suggests to me that maybe I need to do more than simply have the vamp-simple-host program sitting in a folder on my desktop - maybe I should 'install' it (and perhaps other items, too) but if so... exactly how... and where?

6. By the way, the example plugins that do already seem to work for me - they are the only ones that appear so far in the 'Transform' tab of 'Sonic Visualiser' - are located (from my earlier downloading) on the desktop in a folder entitled: "vamp-example-plugins-1.1b-osx-universal" but I had already also copied them from there into my /Library/Audio/Plug-Ins/Vamp folder (as recommended for OSX). The two files (versions from 19 October 2007) are:

vamp-example-plugins.cat
vamp-example-plugins.dylib

7. If there is any more information that might help you to assist me, please do not hesitate to tell me and I'll do my best to find and provide it! Thanks for your patience!

Cheers, Charles


 

cannam:
Charles,

I think the "command not found" is probably simple enough -- I imagine it's just that the current working directory is not in your command path.  So, instead of running$ vamp-simple-host -ltry running$ ./vamp-simple-host -lwith the "./" at the start telling the command shell to run the program in the current directory instead of looking for it in your path.


Chris

Chuck_1:
Hi Chris,
Thanks for your help. I tried your suggestion two ways:

1. Without starting Sonic Visualizer, I opened Terminal and ran the command with the ./ as suggested. Here is my result:

Last login: Fri Jan 18 17:57:12 on console
Welcome to Darwin!
localhost:~ albertcharlesmonticone$ ./vamp-simple-host -l
-bash: ./vamp-simple-host: No such file or directory
localhost:~ albertcharlesmonticone$

2. After starting Sonic Visualiser, I repeated the process and unfortunately the result was the same.

Probably it is a case of 'thick as two short planks' but I get the feeling that I am missing something simple but vital! Could it be something to do with this:

"maybe I need to do more than simply have the vamp-simple-host program sitting in a folder on my desktop - maybe I should 'install' it (and perhaps other items, too) - but if so... exactly how... and where?" 

Thanks again for your patience - and your assistance.

Cheers, Charles

Navigation

[0] Message Index

[#] Next page

Go to full version