linux 下录音软件,linux下录音软件Audacity[zt]

本文介绍了如何在Linux环境下安装开源录音软件Audacity,包括需要的依赖包wxGTK及其开发库的安装,以及解决初始化音频I/O层错误的方法。Audacity是一款免费、跨平台的音频编辑器,适合进行录音、编辑和转换音频文件。在遇到无法访问声卡的问题时,可以尝试关闭其他占用声卡的程序,调整采样率或者检查设备链接和权限设置。
摘要由CSDN通过智能技术生成

linux下录音软件Audacity[zt]

http://www.linux-ren.org/modules/newbb/viewtopic.php?post_id=5

许多朋友经常需要对一些音频进行编辑,但是被音频软件复杂的界面和昂贵的价格搞得无所适从。现在,可以试一试Audacity(http://audacity.sourceforge.net/)。 Audacity是一款免费、开放源码、易于使用的音频编辑器和录音器,可运行在Windows、Mac OS X、GNU/Linux及其它操作系统上。可以使用Audacity进行现场录音、将磁带和录音带转录为数字录音或CD、编辑MP3及WAV音频文件、剪 切、拷贝、接合及混音、改变录音的速率和音高等。

可见介绍:http://www.ossw.com.cn/bencandy.php?id=77

6_218.247.237.254__2005_09_13_16_44_26_.jpg

下载安装

安装环境为红旗桌面4.1plus,因为Audacity需要wxwindows支持,但是4.1plus并不带wxwindows所以需要单独下载。

下载Audacity的linux版本源码包,下载wxwindows的rpm包wxGTK-2.4.2-1.i386.rpm、wxGTK-devel -2.4.2-1.i386.rpm(如果下载的版本高会需要glibc2.4支持,而plus自带的gilbc2.3.2,如果升级glibc那就太麻 烦了)。安装wxGTK*.rpm,编译安装Audacity。

Audacity运行时可能会提示“初始化音频I/0层的时候发生错误,您将无法播放或录制音频”,这个问题可以从以下三方面分析:1、Audacity 运行前,其他程序不能占用声卡;2、调节采样率试一下;3、可能alsa驱动不行,请换oss驱动。我没有换oss驱动,但是最后搞好了。但怎么搞定的现 在也没有明白。首先关掉gaim,firefox,终端等,关掉所有可能出声的程序,然后重新配置了一下声卡。最后可以正常使用了。

测试了播放,肯定没有问题。录音也没有问题。感觉界面比较不错,功能还有待完善,不过现在完全能满足要求。

网上对于初始化音频I/O失败的解释

* If you get an error like this "Error Initializing Audio: There was an error initializing the audio i/o layer. You will not be able to play or record audio. Error: Host error." then audacity cannot access your sound card. Audacity cannot use the audio i/o layer when it is in use by another application. If you are using Gnome, KDE or another window manager, be sure to disable the system sounds before starting Audacity.

** If this still happens when nothing else is using audacity then you may have a sample rate selected that your card does not support. You can alter this by changing the Project Rate at the bottom left of the screen.

** Another possibility is that somehow, the link to /dev/dsp, or its permissions, were changed without your knowledge by an unknown process. What you should do (as root) is:

$ rm /dev/dsp;ln -s /dev/dsp0 /dev/dsp #also try /dev/dsp1,2,etc.

$ chmod 666 /dev/dsp0

$ chmod 666 /dev/dsp

If you are using udev in the 2.6 kernel then you may need to alter /etc/udev/rules.d/*.rules to set the correct permisions up permanently.

* If you are running a sound server as eSound, asd or aRts you will have to disable it before using Audacity. Check the last part of this URL: http://audacity.sourceforge.net/unix.php For users with OSS builds of audacity and aRts, you can also use the wrapper provided by aRts and run:

: $ artsdsp audacity

©著作权归作者所有:来自51CTO博客作者3444542的原创作品,如需转载,请注明出处,否则将追究法律责任

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值