个人工具

“UbuntuHelp:Audacity”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/Audacity}} {{Languages|UbuntuHelp:Audacity}} Audacity is a free, open source application for recording and editing audio. For more information, s...)
 
 
(未显示同一用户的13个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/Audacity}}
 
{{From|https://help.ubuntu.com/community/Audacity}}
 
{{Languages|UbuntuHelp:Audacity}}
 
{{Languages|UbuntuHelp:Audacity}}
 
 
Audacity is a free, open source application for recording and editing audio. For more information, see the [http://audacity.sourceforge.net/ Audacity project home page].
 
Audacity is a free, open source application for recording and editing audio. For more information, see the [http://audacity.sourceforge.net/ Audacity project home page].
 
 
== Installing Audacity ==
 
== Installing Audacity ==
 
+
Audacity is not installed by default in Ubuntu. To start using Audacity, install the package <code><nowiki>audacity</nowiki></code> from the <code><nowiki>Universe</nowiki></code> software channel. For more information on installing packages, see [[UbuntuHelp:InstallingSoftware|InstallingSoftware]].
Audacity is not installed by default in Ubuntu. To start using Audacity, install the package <code><nowiki>audacity</nowiki></code> from the <code><nowiki>Universe</nowiki></code> software channel. For more information on installing packages, see InstallingSoftware.
+
 
+
 
Once installed, click ''Applications -> Sound & Video -> Audacity'' to start Audacity.
 
Once installed, click ''Applications -> Sound & Video -> Audacity'' to start Audacity.
 
+
== Audacity and PulseAudio ==
== Troubleshooting ==
+
Ubuntu 8.04 and above install PulseAudio as the default sound server. You have to make sure they don't both grab the sound device at the same time.
 
+
=== Use the pulse device ===
 +
For Ubuntu 9.04 and above, there is an "ALSA: pulse" device listed in Audacity's preferences dialog. Make sure it is selected. (If there is no "ALSA: pulse", try "ALSA: default".) Now audacity records and plays back via !PulseAudio, and with this you can also use !PulseAudio's features (such as e g recording monitoring streams).
 +
==== Intrepid (8.10) ====
 +
In order to get the "ALSA: pulse" device as mentioned above, David Henningsson has built fixed packages; they can be installed by adding his PPA as described in https://edge.launchpad.net/~diwic/+archive.
 +
=== Suspend PulseAudio ===
 +
If the above solution does not work for you, start audacity with this terminal command:
 +
"pasuspender -- audacity"
 +
This will temporarily pause !PulseAudio while running audacity (causing other applications to stop sound input/output).
 +
== Troubleshooting xruns ==
 +
XRuns are drop-outs and/or clicks in recording or playback that are caused by your computer doing other things than handling soundcard input/output buffers. In the Audacity layer you can try to increase the latency (edit -> preferences -> recording).
 +
== Locating libmp3lame.so When Exporting MP3 Files ==
 +
By default, the library libmp3lame.so is not installed in Ubuntu. Use the table below to find the name of the package you have to install depending on your Ubuntu version. (For more information on installing packages, see [[UbuntuHelp:InstallingSoftware|InstallingSoftware]].)
 +
* Dapper (6.06), Hardy (8.04): package <code><nowiki>liblame0</nowiki></code> from the <code><nowiki>Multiverse</nowiki></code> software channel.
 +
* Intrepid (8.10), Jaunty (9.04), Karmic (9.10): package <code><nowiki>libmp3lame0</nowiki></code> from the <code><nowiki>Multiverse</nowiki></code> software channel.
 +
* Lucid (10.04): package <code><nowiki>liblame0</nowiki></code> from the <code><nowiki>Multiverse</nowiki></code> software channel. Please note that Lucid regains the <code><nowiki>liblame0</nowiki></code> package name. This is just a virtual package provided by the real <code><nowiki>libmp3lame0</nowiki></code> package.
 +
You can verify Audacity finds the library going to: Edit -> Preferences... -> Libraries -> MP3 Export Library.
 +
When Audacity asks you to locate libmp3lame.so, you will be able to locate it in <code><nowiki>/usr/lib</nowiki></code> and export MP3 files.
 +
== Old / outdated information ==
 +
I believe the information below is old and outdated. It could apply if you're running 7.10 or earlier.
 +
=== Troubleshooting ===
 
After installation, you may receive the error message "''Error Initializing Audio''" with the explanation "''There was an error initializing the audio i/o layer. You will not be able to play or record audio. Error: Host error.''"
 
After installation, you may receive the error message "''Error Initializing Audio''" with the explanation "''There was an error initializing the audio i/o layer. You will not be able to play or record audio. Error: Host error.''"
 
 
To start Audacity without this error, press the <code><nowiki>Alt + F2</nowiki></code> keys on your keyboard and type the following into the box which appears:
 
To start Audacity without this error, press the <code><nowiki>Alt + F2</nowiki></code> keys on your keyboard and type the following into the box which appears:
 
 
<pre><nowiki>
 
<pre><nowiki>
gksu audacity
+
gksudo audacity
 
</nowiki></pre>  
 
</nowiki></pre>  
 
+
If Audacity now starts without the error message, you can alter its menu entry with the new command by using the Alacarte Menu Editor. To start Alacarte, select ''Applications -> Accessories -> Alacarte Menu Editor''. Note that you will need to install Alarte first. See [[UbuntuHelp:InstallingSoftware|InstallingSoftware]].
If Audacity now starts without the error message, you can alter its menu entry with the new command by using the Alacarte Menu Editor. To start Alacarte, select ''Applications -> Accessories -> Alacarte Menu Editor''.
+
 
+
 
If this method does not work, you can alternatively press the <code><nowiki>Alt + F2</nowiki></code> keys on your keyboard and type:  
 
If this method does not work, you can alternatively press the <code><nowiki>Alt + F2</nowiki></code> keys on your keyboard and type:  
 
 
<pre><nowiki>
 
<pre><nowiki>
 
aoss audacity
 
aoss audacity
 
</nowiki></pre>
 
</nowiki></pre>
 
 
This will run Audacity through the ALSA sound wrapper, instead of Audacity's default, OSS. For more information, see [[UbuntuHelp:alsa-oss|alsa-oss]].
 
This will run Audacity through the ALSA sound wrapper, instead of Audacity's default, OSS. For more information, see [[UbuntuHelp:alsa-oss|alsa-oss]].
 
+
=== Installing the Audacity Beta Version ===
== Locating libmp3lame.so When Exporting MP3 Files ==
+
If you're running the 1.2.x version of Audacity and like to install the beta version of Audacity, see [[UbuntuHelp:InstallingAudacityBeta|InstallingAudacityBeta]].
 
+
By default, the library libmp3lame.so is not installed in Ubuntu. To install this library, install the package <code><nowiki>liblame-dev</nowiki></code> from the <code><nowiki>Multiverse</nowiki></code> software channel. (For more information on installing packages, see InstallingSoftware.)
+
 
+
When Audacity asks you to locate libmp3lame.so, you will be able to locate it in <code><nowiki>/usr/lib</nowiki></code> and export MP3 files.
+
 
+
== Installing the Audacity Beta Version ==
+
 
+
This article pertains to the stable releases of Audacity. If you'd like to install the beta version of Audacity, see InstallingAudacityBeta.
+
 
+
== Additional Resources ==
+
 
+
* '''Audacity tips''' - http://www-users.york.ac.uk/~raa110/audacity/AudacityHelp.html
+
* '''Creative Commons audio search''' - http://creativecommons.org/find/
+
 
+
 
----  
 
----  
[[category:CategoryCleanup]]
+
[[category:CategorySoftware]] [[category:CategoryAudio]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2010年5月19日 (三) 21:38的最新版本


Audacity is a free, open source application for recording and editing audio. For more information, see the Audacity project home page.

Installing Audacity

Audacity is not installed by default in Ubuntu. To start using Audacity, install the package audacity from the Universe software channel. For more information on installing packages, see InstallingSoftware. Once installed, click Applications -> Sound & Video -> Audacity to start Audacity.

Audacity and PulseAudio

Ubuntu 8.04 and above install PulseAudio as the default sound server. You have to make sure they don't both grab the sound device at the same time.

Use the pulse device

For Ubuntu 9.04 and above, there is an "ALSA: pulse" device listed in Audacity's preferences dialog. Make sure it is selected. (If there is no "ALSA: pulse", try "ALSA: default".) Now audacity records and plays back via !PulseAudio, and with this you can also use !PulseAudio's features (such as e g recording monitoring streams).

Intrepid (8.10)

In order to get the "ALSA: pulse" device as mentioned above, David Henningsson has built fixed packages; they can be installed by adding his PPA as described in https://edge.launchpad.net/~diwic/+archive.

Suspend PulseAudio

If the above solution does not work for you, start audacity with this terminal command: "pasuspender -- audacity" This will temporarily pause !PulseAudio while running audacity (causing other applications to stop sound input/output).

Troubleshooting xruns

XRuns are drop-outs and/or clicks in recording or playback that are caused by your computer doing other things than handling soundcard input/output buffers. In the Audacity layer you can try to increase the latency (edit -> preferences -> recording).

Locating libmp3lame.so When Exporting MP3 Files

By default, the library libmp3lame.so is not installed in Ubuntu. Use the table below to find the name of the package you have to install depending on your Ubuntu version. (For more information on installing packages, see InstallingSoftware.)

  • Dapper (6.06), Hardy (8.04): package liblame0 from the Multiverse software channel.
  • Intrepid (8.10), Jaunty (9.04), Karmic (9.10): package libmp3lame0 from the Multiverse software channel.
  • Lucid (10.04): package liblame0 from the Multiverse software channel. Please note that Lucid regains the liblame0 package name. This is just a virtual package provided by the real libmp3lame0 package.

You can verify Audacity finds the library going to: Edit -> Preferences... -> Libraries -> MP3 Export Library. When Audacity asks you to locate libmp3lame.so, you will be able to locate it in /usr/lib and export MP3 files.

Old / outdated information

I believe the information below is old and outdated. It could apply if you're running 7.10 or earlier.

Troubleshooting

After installation, you may receive the error message "Error Initializing Audio" with the explanation "There was an error initializing the audio i/o layer. You will not be able to play or record audio. Error: Host error." To start Audacity without this error, press the Alt + F2 keys on your keyboard and type the following into the box which appears:

gksudo audacity

If Audacity now starts without the error message, you can alter its menu entry with the new command by using the Alacarte Menu Editor. To start Alacarte, select Applications -> Accessories -> Alacarte Menu Editor. Note that you will need to install Alarte first. See InstallingSoftware. If this method does not work, you can alternatively press the Alt + F2 keys on your keyboard and type:

aoss audacity

This will run Audacity through the ALSA sound wrapper, instead of Audacity's default, OSS. For more information, see alsa-oss.

Installing the Audacity Beta Version

If you're running the 1.2.x version of Audacity and like to install the beta version of Audacity, see InstallingAudacityBeta.