FAQ:Installazione e Plug-In

From Audacity Development Manual
Revision as of 13:57, 25 August 2012 by Gianni (talk | contribs)
Jump to: navigation, search

Installation and Plug-Ins FAQ : Installation et greffons Flag of Brazil small.jpg Flag of Germany small.png Flag of Spain small.png

>  Avanti a: FAQ:Registrazione - Soluzione dei problemi

<  Indietro a: FAQ:Riguardo Audacity

|< Indice delle domande frequenti


Cosa fare se ho problemi a scaricare o installare Audacity?

Se non puoi scaricare Audacity, o se il file di installazione che hai scaricato è corrotto, prova a scaricare da: alternate servers. Se ancora ricevi un file corrotto, è un'ottima idea, prima di riprovare a scaricare, azzerare la lista dei file scaricati o la "cache" (copia temporanea di quanto scaricato) nel tuo "browser" web o nel gestore dei "download" (scarichi da rete).

Può comparire l'errore "Application configuration incorrect" (Incorretta configurazione dell'applicazione) quando lanci Audacity subito dopo l'installazione. Questo problema si verifica principalmente su alcuni sistemi con Windows XP o 2000. Il problema può essere risolto scaricando ed installando l'appropriato "Redistributable Package" Microsoft da uno dei siti seguenti: Assicurati di scaricare il pacchetto giusto, a seconda che tu abbia un sistema Windows a 32 o 64 bit. Per verificarlo, clicca col bottone destro su Il mio computer e scegli Properties. Se non è menzionato "64 bit", il tuo sistema è a 32 bit.

torna in testa


Cosa fare se ricevo errori provando a compilare Audacity?

Audacity è fornito di un programma di installazione pronto all'uso per Windows e Mac, ma Audacity può anche essere compilato su qualsiasi piattaforma partendo dal codice sorgente. Con un po' di conoscenza, compilare in proprio è un ottimo modo di personalizzare Audacity! Per indicazioni in merito, guarda la documentazione Wiki per sviluppo su Windows, Mac e Linux.

Se ancora non riesci a compilare Audacity, chiedi lumi nella sezione "Compiling Audacity" (compilare Audacity) del Forum.

  • Per favore indicaci se stai compilando da una "release tarball" o "Audacity HEAD".
  • Per Windows, passaci tutti i messaggi di tipo "ERROR" che compaiono nella finestra di uscita di Visual Studio (compresi gli errori del Linker).
  • Per Mac e Linux, passaci le ultime linee dell'output di "configure" o "make" che è fallito.
    • Per Linux, trasmettici anche quale "distribution" o "release" stai usando (ad esempio, Ubuntu 11.10 o Fedora 16).

torna in testa


Windows: come installo Audacity e,se presente, devo prima disinstallare una versione precedente?

Tramite salvataggio:sulla "download page", clicca il link "Audacity x.y.z installer" per salvare l'installatore sul tuo computer. Se necessario, controlla le Preferenze del tuo browser per sapere dove vengono salvati i tuoi download. In alternativa, clicca col bottone destro sul link e scegli "Salva oggetto con nome..." (o frase equivalente) e scegli la locazione ove vuoi venga salvato il file. Fai poi doppio click sul file .exe del'installatore appena scaricato per lanciarlo. Per poterlo fare, devi essere un amministratore del computer oppure rispondere alle varie finestre di richiesta per confermare che hai i diritti per poter installare.

Con run diretto: Usando Internet Explorer e qualche altro browser, puoi cliccare il link dell'installatore e selezionare un'opzione di "Run" dell'installatore senza averlo prima scaricato. Questo scarica l'installatore in un'area temporanea del sistema, quindi attiva immediatamente il setup di Audacity. Nota: Qualche programma di sicurezza potrebbe bloccare, e chiedere conferma, un tentativo di run di un installatore scaricato nell'area temporanea del computer.

Installare su una versione precedente: Se installi una nuova versione di Audacity con una precedente già installata, l'installatore proporrà di usare la stessa cartella della precedente installazione. Se la versione precedente era Audacity 1.2 o 2.x, la cartella di installazione è normalmente Program Files\Audacity (o Program Files(x86)\Audacity su Windows a 64 bit). Se non cambi esplicitamente la cartella di installazione, Audacity installerà sopra la precedente versione 1.2 o 2.x, e qualsiasi plugin tu abbia aggiunto nella cartella "Plug-Ins" dopo la vecchia installazione, sarà ancora disponibile.</p> Se la precedente versione era 1.3.x, disinstallala prima di installare la nuova versione 2.x. Dopo aver disinstallato la 1.3.x, qualsiasi plugin da te aggiunto dopo la vecchia installazione verrà mantenuto, e potrai copiarlo nella cartella "Plug-Ins" della nuova installazione

Aggiornare le librerie opzionali: Se la vecchia versione era Audacity 1.3.6 o precedente, devi aggiornare la libreria di "encoding" MP3 alla versione più recente di LAME MP3 encoding library. Diversamente, non c'è necessità di aggiornare LAME o FFmpeg, a meno che questo non sia indicato nelle "Release Notes" della nuova versione di Audacity.

Se preferisci non usare l'installatore (o se restrizioni di sicurezza impediscono l'installazione di programmi), scegli il link per scaricare il file ",zip". Quindi, su Windows XP o successivi, clicca col destro sul file .zip scaricato e scegli una delle opzioni di estrazione dei contenuti. Puoi anche usare 7-zip o altre "utility" di compressione/estrazione.

torna in testa


Windows: Come faccio a disinstallare Audacity?

Audacity può essere disinstallato scegliendo "Aggiungi/rimuovi programm" oppure "Disinstalla un programma" o ancora "Programmi e funzionalità" nel pannello di controllo di Windows. Seleziona Audacity nella lista e segui le istruzioni che ne lanciano il programma di disinstallazione. Assicurati di aver chiuso Audacity prima di disinstallare, o riceverai segnalazioni di errore perchè non si sono potuti rimuovere alcuni file.

Se non riesci a disinstallare Audacity dal Pannello di Controllo, apri la cartella ove è installato Audacity e fai doppio click su "unins000.exe" (questo file potrebbe avere altri numeri nel nome). Ciò richiede la presenza di "unins000..dat" (o simile) nella stessa cartella.

Se ancora non riesci a disinstallare Audacity, scarica di nuovo l'installatore ed installa Audacity nella stessa cartella ove già era installato (cosa che accade "di dafault"). Ciò rimpiazzerà i file rovinati con delle copie buone, quindi puoi provare a rilanciare il disinstallatore.

La disinstallazione lascia i tuoi precedenti settaggi intatti, nel caso volessi in futuro reinstallare Audacity. Se vuoi rimuovere anche i settaggi, cancella la cartella di Audacity con i dati dell'applicazione, la cui collocazione e' definita qui.

Vedere anche: Come faccio a resettare i miei settaggi di Audacity?

torna in testa


Come faccio a resettare i miei settaggi di Audacity?

Disinstallare Audacity non rimuove né ripara i tuoi settaggi nelle Preferenze di Audacity. Se stai cercando di risolvere un problema con Audacity, agisci in uno dei modi seguenti.

  • Chiudi Audacity e resetta le Preferenze usando il file dei settaggi audacity.cfg. Non è necessario disinstallare e reinstallare
  • In alternativa, gli utenti Windows possono lanciare l'installatore e nella schermata "Seleziona task aggiuntivi" abilita ("check") la casella "resetta le preferenze". Completa l'installazione. Lancia Audacity e, solo la prima volta, comparrà una finestra di dialogo dove puoi confermare se vuoi resettare i settaggi oppure no.

See also: Come faccio a disinstallare Audacity?

torna in testa


How do I download and install the LAME MP3 encoder?

Because of software patents, we cannot distribute MP3 encoding software ourselves. Follow these instructions to use the free LAME encoder to export MP3 files with Audacity.

Windows

  1. Go to the download page
     Left-click this link, do not right-click.
  2. In "For Audacity on Windows", left-click the link Lame v3.99.3 for Windows.exe and save the file anywhere on your computer.
  3. Double-click "Lame v3.99.3 for Windows.exe" to launch it (you can safely ignore any warnings that the "publisher could not be verified").
  4. Follow the Setup instructions to install LAME for Audacity, making sure not to change the offered installation location of "C:\Program Files\Lame for Audacity" (or "C:\Program Files (x86)\Lame for Audacity" on a 64-bit version of Windows).

You should now be able to export MP3s without any further configuration, choosing File > Export... then selecting "MP3 Files" in the File Export Dialog.

Troubleshooting

Occasionally, there can be .dll conflicts on the computer. Try right-clicking this alternative 3.98.4 build of lame_enc.dll. Choose "Save Target As" or "Save Link As" and save it to "C:\Program Files\Lame for Audacity" or "C:\Program Files (x86)\Lame for Audacity" according to where you installed LAME previously. Accept any prompts to replace the old file with the new one. Then try exporting an MP3 again.

If there are still problems, they will likely be due to a conflict with Audacity still trying to detect the path to an older lame_enc.dll file. To correct this:

  1. Ensure there are no older versions of lame_enc.dll in any locations where Audacity detects it, namely:
    • C:\Program Files\Lame for Audacity (where the installer puts the new .dll)
    • the Audacity installation folder (usually C:\Program Files\Audacity) or in the Plug-Ins folder inside that
  2. Exit Audacity and navigate to the 1.3 preferences .cfg file at:
    • Windows 2000/XP: Documents and Settings\<user name>\Application Data\Audacity\audacity.cfg
    • Windows Vista/7: Users\<user name>\AppData\Roaming\Audacity\audacity.cfg.
  3. Open audacity.cfg in a text editor such as Notepad, and delete the two lines starting with:
    • [MP3]
      MP3LibPath=
  4. Save the changes to audacity.cfg and restart Audacity
In order to see audacity.cfg, you may need to set the operating system to show hidden files and folders. See instructions for Windows 7 and Windows versions before 7.

Note that the above four steps will remove old paths to lame_enc.dll for Audacity version 1.3 and later only. If you still use (or have ever used) Audacity 1.2, that version will continue to look for the .dll in the location stored in its own Preferences setting.

Advice Merely exiting Audacity and deleting audacity.cfg will not remove old paths to lame_enc.dll for 1.3 if you have ever previously used a 1.2 version. In that case Audacity 1.3 and later would still look up the path from the 1.2 Preferences setting.

Mac OS X

On OS X 10.6 or later, Administrative (and occasionally, root) permissions may be needed on some machines to read the LAME library the installer places in /usr/local/lib/audacity.

In case of difficulty, please download the zip version "Lame_Library_v3.98.2_for_Audacity_on_OSX.zip" from "Alternative zip download for Lame 3.98.2" below and follow the instructions.

  • Installer
  1. Go to the LAME download page.
  2. Download Lame Library v3.98.2 for Audacity on OSX.dmg.
  3. When you have finished downloading, double-click the .dmg to mount it, then go to the Finder (in Safari, the "Lame Library v3.98.2 for Audacity" virtual disk image will be extracted and mounted automatically after downloading).
  4. Double-click "Lame Library v3.98.2 for Audacity.pkg"; the standard OS X Installer will start
  5. Click through the steps in the Installer, accepting the defaults in all cases; this will install the LAME binary "libmp3lame.dylib" in /usr/local/lib/audacity.
  6. Audacity should detect LAME automatically when you export as MP3. If Audacity cannot find LAME:
    1. Click Audacity > Preferences then choose "Libraries" on the left.
    2. Click "Locate..." under "MP3 Export Library", then "Browse..." in the "Locate Lame" dialog.
    3. The "Where is libmp3lame.dylib?" window will open at /usr/local/lib/audacity; select "libmp3lame.dylib", click "Open" then "OK" and "OK".
  • Alternative zip download for Lame 3.98.2
  1. Download http://lame1.buanzo.com.ar/Lame_Library_v3.98.2_for_Audacity_on_OSX.zip.
  2. Extract the contents of the zip to a folder called "Lame_Library_v3.98.2_for_Audacity_on_OSX" anywhere you have full permissions (such as your Desktop).
  3. Click Audacity > Preferences then choose "Libraries" on the left.
  4. Click "Locate..." under "MP3 Export Library", then "Browse..." in the "Locate Lame" dialog.
  5. Navigate to and open the folder you extracted the zip to, select "libmp3lame.dylib", click "Open" then "OK" and "OK".

This is a good solution if Audacity does not recognize or work correctly with libmp3lame.dylib when installed to /usr/local/lib/audacity.

You should now be able to export MP3s without any further configuration, choosing File > Export... then selecting "MP3 Files" in the File Export Dialog.

In case of difficulty, or if you have an older version of Audacity, please view our detailed instructions on the Audacity Wiki.

Linux/Unix

Some Linux distributions (for example, Ubuntu) now package Audacity with MP3 encoding and FFmpeg support already linked dynamically to the relevant system libraries. In these packaged builds there is no need to locate LAME or FFmpeg, so Audacity will have no "Libraries" Preferences. Users compiling Audacity from source code must still follow the directions below.

Most distributions have some sort of package manager that fetches software packages from the Internet and installs them for you. Open that package manager, search for LAME, and install it if it is not already installed.

Ubuntu 11.10 and later

In Ubuntu 11.10 and later the default package manager is the "Ubuntu Software Center". It is often most convenient to install the "Ubuntu Restricted Extras" as this includes LAME, FFmpeg and other useful media encoding/decoding tools.

If you wish to install only the lame package required for MP3 export, search for LAME in the Ubuntu Software Center and install it.

Other Debian-based systems

The following are detailed instructions for installing LAME using the Synaptic package manager on recent Debian-based systems and in Ubuntu 11.04 and earlier.

  1. Open Synaptic:
    • In GNOME (the default desktop environment for many Debian based systems), access Synaptic by clicking System > Administration
    • In KDE there will be a similar menu accessible from the bottom-left of the screen
  2. Enter the root password when asked for it.
  3. In the Synaptic window, choose "Settings", then “Repositories”
  4. In the "distribution Software" tab, check the box for "non free" (on Ubuntu based systems this is called "multiverse"), then hit the Close button.
  5. Back in the main Synaptic Window, type “lame” in the "Quick search" box.
  6. The search results will show the packages “lame” and “libmp3lame0” at the top of the list; mark both for installation by double-clicking.
  7. Click "Apply", and on “OK” for any warnings; the LAME software will automatically download and install.
  8. Right-click over the entry for "libmp3lame0" > Properties
  9. On the "Installed Files" tab, note the location of "libmp3lame.so.0", probably at /usr/lib/libmp3lame.so.0
  10. Close all the Synaptic windows
  11. Open Audacity, click Edit > Preferences then on "Libraries" in the list on the left
  12. In "MP3 Export Library" check if a LAME version number displays to right of "MP3 Library Version". If so, LAME has been detected and you should now be able to export MP3 and skip the remainder of these instructions. If the MP3 Library is stated as "not found":
    1. Click the "Locate...” button
    2. In the "Locate Lame" dialog that appears, click "Browse"
    3. In the "Where is libmp3lame.so.0?" dialog, navigate to the location you noted in step 9, select "libmp3lame.so.0", click "Open", then "OK" and "OK" to exit Preferences

If your distribution does not have a LAME package, please view these instructions on the Audacity Wiki.

back to top


How do I download and install the FFmpeg Import/Export Library?

Advice

FFmpeg 0.6.2 for Windows and Mac listed below should be used with the latest version of Audacity from http://audacity.sourceforge.net/download/.

Windows

  1. Go to the download page
     Left-click this link, do not right-click.
  2. In "For Audacity on Windows", left-click the link FFmpeg_v0.6.2_for_Audacity_on_Windows.exe and save the file anywhere on your computer.
  3. Double-click "FFmpeg_v0.6.2_for_Audacity_on_Windows.exe" to launch the installer (you can safely ignore any warnings that the "publisher could not be verified").
  4. Read the License and click Next, Next and Install to install the required files to "C:\Program Files\FFmpeg for Audacity" (or "C:\Program Files (x86)\FFmpeg for Audacity" on a 64-bit version of Windows).
  5. Restart Audacity if it was running when you installed FFmpeg.
  6. If you have problems with Audacity detecting FFmpeg, follow the steps to manually locate FFmpeg.
  • Alternative zip download for FFmpeg 0.6.2 - extract the contents to a folder called "FFmpeg_v0.6.2_for_Audacity_on_Windows" anywhere on your computer, then follow the instructions below to locate avformat-52.dll using the Libraries Preferences.

Mac OS X

On OS X 10.6 or later, Administrative (and occasionally, root) permissions may be needed on some machines to read the FFmpeg library the installer places in /usr/local/lib/audacity.

In case of difficulty, please download the zip version "FFmpeg_v0.6.2_for_Audacity_on_OSX.zip" from "Alternative zip download for FFmpeg 0.6.2" below and follow the instructions.

  • Installer:
  1. Go to the LAME download page
  2. Download FFmpeg (0.6.2 OSX 10.4+ DMG)
  3. When you have finished downloading, double-click the .dmg to mount it, then go to the Finder (in Safari, the "FFmpeg Libraries for Audacity" virtual disk image will be extracted and mounted automatically after downloading).
  4. Double-click "FFmpeg Libraries for Audacity.pkg" to launch the standard OS X Installer.
  5. Click through the steps in the Installer, accepting the defaults in all cases; this will install the FFmpeg libraries in /usr/local/lib/audacity
  6. Restart Audacity if it was running when you installed FFmpeg
  7. If you have problems with Audacity detecting FFmpeg, follow the steps to manually locate FFmpeg.
  • Alternative zip download for FFmpeg 0.6.2
  1. Download http://lame1.buanzo.com.ar/FFmpeg_v0.6.2_for_Audacity_on_OSX.zip
  2. Extract the contents to a folder called "FFmpeg_v0.6.2_for_Audacity_on_OSX" anywhere you have full permissions (such as your Desktop) then follow the instructions below to locate libavformat-52.dylib using the Libraries Preferences. This is a good solution if Audacity does not recognize or work correctly with libavformat-52.dylib when installed to /usr/local/lib/audacity.
  • You can also build Audacity from SVN and link to a system copy of FFmpeg built from source, using these instructions.

Linux/Unix

Some Linux distributions (for example, Ubuntu) now package Audacity with MP3 encoding and FFmpeg support already linked dynamically to the relevant system libraries. In these packaged builds there is no need to locate LAME or FFmpeg, so Audacity will have no "Libraries" Preferences. Users compiling Audacity from source code must still follow the directions below.
  • You may download (or build) a suitable FFmpeg library for your own purposes. To build, obtain the source code from the FFmpeg project. If you download a pre-built library, this might be either a "shared" or "static" build. A static build consists of a single libavformat library, whereas a shared build has at least three libraries (libavformat, libavcodec and libavutil). It is recommended to use a shared build, but Audacity will also work with a static build.
    If you compile Audacity from source code, it will link to the installed FFmpeg headers, which should always be compatible with an installed FFmpeg binary.
Advice FFmpeg version information: Audacity should support building against FFmpeg 0.5 through 0.8. It may not currently be possible to build Audacity against later versions of FFmpeg.

Locating the FFmpeg library manually

If you installed FFmpeg while Audacity was running, then the first time you use FFmpeg to import or export, Audacity will ask you to configure Preferences to locate the FFmpeg library. To do this, access Preferences then click the Locate... button, then Browse....

Gale 24Feb12: There is a white rectangle in this image to right of the tree. Probably it would be better to have two images (1) a partial view of Preferences just showing "Libraries" on the left with the FFmpeg numbers on the right (2) the "Locate FFmpeg" dialog.
  • Bill 16Jun12: I fixed the white patch.
FFmpeg Find Library and Download buttons

If the "FFmpeg Library Version" says "not found":

  1. Click "Find Library".
  2. If a "Success" message indicates Audacity has now automatically detected the library and asks if you want to detect them manually, click "No", then OK to close Preferences.
  3. If the "Locate FFmpeg" dialog appears, click "Browse...".
  4. Navigate to the avformat library, and select it. It may have different names, such as "avformat-52.dll" on Windows, "libavformat-52.dylib" on Mac or "libavformat.so.52" on Linux.
  5. Click "Open" then "OK", and "OK" again to close Preferences.

"FFmpeg Library Version" should now show a number. If not, you may have installed the wrong libraries. Click the "Download" button to obtain the correct library for your operating system.


back to top


Why do I receive an error when I export to an FFmpeg format?

If you receive a "cannot find audio codec" error when exporting to an FFmpeg format, the FFmpeg library you are linking to does not support this codec. To export to this format, you will need a build of the FFmpeg library that supports this codec.

Distributable libraries will not include support for AMR WB (wide band), due to licensing issues. Exporting to AMR WB will return the error "FFmpeg cannot find audio codec 0x 12001". To obtain AMR WB export support, you could build FFmpeg yourself from source and enable the relevant library in the configure step.

back to top


How do I install VST plug-ins?

Audacity supports almost all VST effect plug-ins and should scan automatically for these when run for the first time. VST instrument (VSTi) plug-ins are not currently supported.

To install new VST effects, place them in the “Plug-ins” folder inside the Audacity installation folder. On Windows, this is usually under Program Files (or Program Files (x86) on 64-bit Windows); on Mac OS X, it is usually in the "Applications" folder. VST effects will also be found if they are added to (or already exist in) various system locations. To display the newly added plug-ins:

  1. Go to the Effects Preferences
  2. Under "VST Effects", put a check mark in "Rescan VST effects next time Audacity is started"
  3. Exit Audacity and launch it again.

There is no need to add the VST Enabler which was required by previous versions of Audacity.

See also: Why do some VST plug-ins not work or display incorrectly?

back to top


Why do some VST plug-ins not work or display incorrectly?

Audacity will by default display VST effect plug-ins with a full graphical interface where the plug-in supplies this. Any plug-in that requires to be left open while processing audio will not work correctly. VST instrument (VSTi) plug-ins are not currently supported.

If any plug-in displays incorrectly, you can uncheck "Display VST effects in graphical mode" in the Effects Preferences to display a simpler tabular interface for the plug-in (this also affects all other plug-ins).

If you experience a problem with a specific VST effect plug-in in Audacity, please contact us.

See also: How do I install VST plug-ins?

back to top


How do I install plug-ins on Linux?

Individual Nyquist and LADPSA plug-ins can be installed by putting the plug-ins into the Audacity Plug-ins folder:

  • /usr/share/audacity/plug-ins if Audacity was installed from a repository package
  • /usr/local/share/audacity/plug-ins if you compiled Audacity from source code.

These locations are usually set as read-only, so the plug-ins will need to be copied as root (for example, by issuing an appropriate root command in the terminal, or by using the terminal to open a file manager application with root permissions). Note that updating the repository package of Audacity may remove plug-ins that are not part of the package.

Alternatively you can create a folder called .audacity-files in your home directory, create a sub-folder called plug-ins then put your plug-ins into that. (Note: the dot in the name .audacity-files indicates that it is a hidden folder). This folder is then accessible without root permissions and will not be modified by installing a new Audacity package.

Many LADSPA plug-in packages are available in the repositories of most major Linux distributions. If Audacity is installed from a repository package it should automatically find plug-ins in their installed location of /usr/lib/ladpsa, but Audacity compiled from source may not find LADSPA plug-ins there.

If necessary you can set an environment variable to indicate to Audacity where LADSPA plug-ins are installed. For Debian based distributions this can be done by entering the following code at the command prompt (change <user> to your account user name):

  export LADSPA_PATH=$LADSPA_PATH:/home/<user>/.ladspa:/usr/local/lib/ladspa:/usr/lib/ladspa

If you wish this path to be set each time you boot, the LADSPA_PATH environment variable may be added to ~/.profile or this file may be added if it does not exist. An example of how to add the LADSPA_PATH environment variable:

  LADSPA_PATH=$LADSPA_PATH:/home/<user>/.ladspa:/usr/local/lib/ladspa:/usr/lib/ladspa
  export LADSPA_PATH

For OpenSuse 64, LADSPA plug-ins may be found in /usr/lib64/ladspa. This path can be set by adding the following line to your /etc/environment file:

  LADSPA_PATH=/usr/lib64/ladspa

back to top


>  Avanti a: FAQ:Registrazione - Soluzione dei problemi

<  Indietro a: FAQ:Riguardo Audacity

|< Indice delle domande frequenti