特殊:Badtitle/NS100:Audacity/zh:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Snowtown86留言 | 贡献
以内容'{{From|https://help.ubuntu.com/community/Audacity}} {{Languages|UbuntuHelp:Audacity}} Audacity 是一个自由开源的供录制编辑音频之用的应用程序。更多…'创建新页面
 
Snowtown86留言 | 贡献
无编辑摘要
第1行: 第1行:
{{From|https://help.ubuntu.com/community/Audacity}}
{{From|https://help.ubuntu.com/community/Audacity}}
{{Languages|UbuntuHelp:Audacity}}
 
Audacity 是一个自由开源的供录制编辑音频之用的应用程序。更多信息请参照: [http://audacity.sourceforge.net/ Audacity project home page].
Audacity 是一个自由开源的供录制编辑音频之用的应用程序。更多信息请参照: [http://audacity.sourceforge.net/ Audacity project home page].
== 安装 Audacity ==
== 安装 Audacity ==
第12行: 第12行:
安装完成后,点击 ''应用程序 -> Sound & Video -> Audacity''启动Audacity。
安装完成后,点击 ''应用程序 -> Sound & Video -> Audacity''启动Audacity。
== Audacity 和 PulseAudio ==
== Audacity 和 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.
从Ubuntu 8.04开始,ubuntu使用PulseAudio作为默认的音频服务。 你务必保证Audacity和PulseAudio不能同时使用声音设备。
=== Use the pulse device ===
=== 使用Pulse设备 ===
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).
对于Ubuntu 9.04 以上的版本,在Audacity的首选项对话框里有列出"ALSA: pulse"一项。 请确保它被选中。 (若无 "ALSA: pulse",请尝试 "ALSA: default") 现在Audacity录音和播放音频时都通过!PulseAudio,并且你也可以使用PulseAudio的一些特性了 (例如录制监视流).
==== Intrepid (8.10) ====
==== 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.  
为了能够使用上面提到的"ALSA: pulse"设备,David Henningsson已经打包了修复过的软件包;可以通过添加他的PPA来使用。PPA: https://edge.launchpad.net/~diwic/+archive.  
=== Suspend PulseAudio ===
=== 挂起 PulseAudio ===
If the above solution does not work for you, start audacity with this terminal command:
如果上述方法无效,请使用这个命令启动Audacity:
"pasuspender -- audacity"
"pasuspender -- audacity"
This will temporarily pause !PulseAudio while running audacity (causing other applications to stop sound input/output).  
这将在您使用Audacity的时候暂时暂停!PulseAudio (使其他程序停止声音的输入/输出).  
== Troubleshooting xruns ==
== 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).  
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 ==
== 导出MP3文件的时候定位libmp3lame.so ==
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]].)
默认的情况下ubuntu没有安装libmp3lame.so库。请根据您的ubuntu版本并通过下面的表格来找出你要安装的软件包的名字。(更多安装软件的方法信息请看 [[UbuntuHelp:InstallingSoftware|InstallingSoftware]].)
* Dapper (6.06), Hardy (8.04): package <code><nowiki>liblame0</nowiki></code> from the <code><nowiki>Multiverse</nowiki></code> software channel.
* 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.
* 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.
* 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.
您可以在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.
当Audacity问你libmp3lame.so在哪儿时,您可以在 <code><nowiki>/usr/lib</nowiki></code> 找到并且可以导出MP3文件了。
== Old / outdated information ==
== 过时的信息 ==
I believe the information below is old and outdated. It could apply if you're running 7.10 or earlier.
下面的信息对7.10以前的版本有效。
=== Troubleshooting ===
=== 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.''"
第44行: 第44行:
</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 ===
=== 安装Audacity Beta版 ===
If you're running the 1.2.x version of Audacity and like to install the beta version of Audacity, see [[UbuntuHelp:InstallingAudacityBeta|InstallingAudacityBeta]].
如果您在使用1.2.x版并想使用Beta版请参照[[UbuntuHelp:InstallingAudacityBeta|InstallingAudacityBeta]].
----  
----  
[[category:CategorySoftware]] [[category:CategoryAudio]]
[[category:CategorySoftware]] [[category:CategoryAudio]]


[[category:UbuntuHelp]]
[[category:UbuntuHelp]]

2010年8月26日 (四) 12:54的版本

Audacity 是一个自由开源的供录制编辑音频之用的应用程序。更多信息请参照: Audacity project home page.

安装 Audacity

Ubuntu默认不安装Audacity. 想用Audacity的话, 这样安装

sudo apt-get install audacity

更多安装软体的方法请参照InstallingSoftware.

安装完成后,点击 应用程序 -> Sound & Video -> Audacity启动Audacity。

Audacity 和 PulseAudio

从Ubuntu 8.04开始,ubuntu使用PulseAudio作为默认的音频服务。 你务必保证Audacity和PulseAudio不能同时使用声音设备。

使用Pulse设备

对于Ubuntu 9.04 以上的版本,在Audacity的首选项对话框里有列出"ALSA: pulse"一项。 请确保它被选中。 (若无 "ALSA: pulse",请尝试 "ALSA: default"。) 现在Audacity录音和播放音频时都通过!PulseAudio,并且你也可以使用PulseAudio的一些特性了 (例如录制监视流).

Intrepid (8.10)

为了能够使用上面提到的"ALSA: pulse"设备,David Henningsson已经打包了修复过的软件包;可以通过添加他的PPA来使用。PPA: https://edge.launchpad.net/~diwic/+archive.

挂起 PulseAudio

如果上述方法无效,请使用这个命令启动Audacity: "pasuspender -- audacity" 这将在您使用Audacity的时候暂时暂停!PulseAudio (使其他程序停止声音的输入/输出).

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).

导出MP3文件的时候定位libmp3lame.so

默认的情况下ubuntu没有安装libmp3lame.so库。请根据您的ubuntu版本并通过下面的表格来找出你要安装的软件包的名字。(更多安装软件的方法信息请看 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.

您可以在Edit -> Preferences... -> Libraries -> MP3 Export Library确认此库。 当Audacity问你libmp3lame.so在哪儿时,您可以在 /usr/lib 找到并且可以导出MP3文件了。

过时的信息

下面的信息对7.10以前的版本有效。

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.

安装Audacity Beta版

如果您在使用1.2.x版并想使用Beta版请参照InstallingAudacityBeta.