当前时区为 UTC + 8 小时

发表新帖 回复这个主题  [ 8 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 求助!!wine-asio (已解决)
帖子发表于 : 2007-10-14 13:02 

注册: 2007-04-30 0:34
帖子: 16
送出感谢: 0 次
接收感谢: 0 次



最后由 sunpeixi 编辑于 2007-10-15 21:37,总共编辑了 1 次

2 楼 
 文章标题 :
帖子发表于 : 2007-10-14 13:13 

注册: 2007-04-30 0:34
帖子: 16
送出感谢: 0 次
接收感谢: 0 次
非常希望得到版主支持。因为这实在太重要了! :oops:

3 楼 
 文章标题 :
帖子发表于 : 2007-10-14 15:30 

注册: 2007-04-30 0:34
帖子: 16
送出感谢: 0 次
接收感谢: 0 次
http://www.davehayes.org/2007/04/27/how ... -wineasio/

4 楼 
 文章标题 :
帖子发表于 : 2007-10-14 17:18 

注册: 2006-08-06 16:58
帖子: 618
地址: 北海
送出感谢: 0 次
接收感谢: 1


5 楼 
 文章标题 :
帖子发表于 : 2007-10-15 21:23 

注册: 2006-03-21 10:47
帖子: 406
送出感谢: 0 次
接收感谢: 0 次
HOWTO: reaper on ubuntu linux with wineasio

you may have already heard about reaper. if not, reaper is an extremely powerful digital audio workstation brought to you by the creator of winamp. it’s also very reasonably priced. unfortunately, it’s also windows based, which presents a problem for people like me who avoid microsoft products like the plague. reaper can run under linux with wine, but up until recently that solution has left a lot to be desired (even compared to current linux-based audio production solutions). the reason for this is because reaper had to use the standard wavemapper interface to get audio to play. to put it mildly, that sucks. even then it was very unreliable.

你可能听说过reaper。如果没有,reaper是由winamp的作者为你带来的非常强大的数字音乐工作站。它的价格也非常可观。很不幸的是,它是基于windows的软件,对于那些像我一样讨厌microsoft的人来说,这里就存在一个问题了。reaper可以用wine在linux下运行,但是but up until recently that solution has left a lot to be desired (even compared to current linux-based audio production solutions).(不知怎样翻译才合适)原因是reaper必须使用标准的wavemapper接口来播放音乐。to put it mildly, that sucks.甚至它非常不可靠。

the other day, my friend aaron (pipelineaudio) turned me on to a project called wineasio (or wine asio). what this does is allow reaper to use the asio interface, which works much better. wineasio takes the connections from the asio interface and exposes them to jack, which gives you a whole world of routing and configuration possibilities as well as a reasonably low latency interface to your soundcard. so, let’s get started.

有一天,我的朋友aaron(玩管弦乐的??)给我看了一个叫wineasio(wine asio)的工程。这个工程就是为了让reaper能够使用asio接口,这样效果会更好。wineasio takes the connections from the asio interface and exposes them to jack, which gives you a whole world of routing and configuration possibilities as well as a reasonably low latency interface to your soundcard.让我们开始吧。

first things first, you need to be running ubuntu and it needs to be the x86 desktop version 7.04 (feisty). you need to make sure you’re up to date and that your sound already works. if you need help with any of those things, please look for it in the ubuntu forums. once you’re sure you have all of those things, we need to install a few pieces of software. here are the packages we’ll be installing:



if one were so inclined, he could search for the above packages in synaptic and install them there, but we’ll be using apt-get to do this, so click on applications > accessories > terminal. type or copy and paste the following command to install everything:


sudo apt-get -y install wine wine-dev libjack0.100.0-dev \
qjackctl build-essential linux-lowlatency

after you put in your password, this is going to download and install about 64mb worth of stuff, so if you’re on a slow connection it might take a while. this is a good chance to get a cup of coffee, a sandwich or spend some time in the thinking room. when it finishes, go ahead and reboot your computer and be sure to boot up with our shiny new low-latency kernel.

(一段废话),安装完成后重启,用low-latency kernel启动。

once you’re back to your desktop, we need to jump on the web and download some more stuff. the first thing we need to get is wineasio. as of this writing, the file we need is wineasio-0.1.tar.gz. just download that right to your desktop. the next thing we need is the steinberg asio-sdk. unfortunately, i can’t provide a direct link to the archive, so you’ll need to agree to the license and enter some info to get to the download. the file you’re after is asiosdk2.2.zip, and make sure you put it on your desktop with wineasio-0.1.tar.gz. while you’re at it, go ahead and download the newest version of reaper to your desktop as well.

进入系统后,还需要下载一些东西才行。首先你要下载wineasio-0.1.tar.gz,另外你还需要下载the steinberg asio-sdk,就是asiosdk2.2.zip,最后就是下载最新版的reaper啦。所有文件都放在你的desktop文件夹下。

after you get those 2 files downloaded, let’s get back to our terminal. we need to change directories to the desktop with this command:


cd ~/Desktop

next we need to extract the two archives we just downloaded with these commands:


tar zxvf wineasio-0.1.tar.gz
unzip asiosdk2.2.zip

now, we need to change to the wineasio directory and copy in the asio.h file from the asio sdk. we can do that with these commands:

用以下命令复制asio sdk里面的asio.h到wineasio文件夹下

cd wineasio-0.1
cp ../ASIOSDK2/common/asio.h .

now we need to compile wineasio with one very simple command:



as long as you don’t see any errors (warnings are ok), then it compiled fine and we can install it with this command:

编译完成后就可以安装了,当然要没有任何 error ,有warning的话也没问题。

sudo make install

you may need to put in your password again before it will go. now we need to register the wineasio.dll with wine using this command:


regsvr32 wineasio.dll

now we need to create a symlink that wineasio looks for so it can use jack:


sudo ln -s /usr/lib/libjack-0.100.0.so.0 /usr/lib/libjack.so.0

now it’s time to set up wine to work with reaper. type this command at your terminal to bring up the wine configuration:



this will hopefully pop up the wine configuration window which should look something like this…

you need to change the “windows version” at the bottom to windows xp. then click on the audio tab at the top. there will probably be some delay and a popup telling you there is no default audio driver or something. go ahead and just close the popup and you should have the audio configuration window which looks something like this…


here you want to make sure that jack is the only driver selected. once you’ve done that, go ahead and click apply and then click ok.


now click on applications > sound & video > jack control. this little utility is very important. this is what you’re going to use to adjust your buffer settings and latency and whatnot. it should look like this:

点击applications > sound & video > jack control,这一步很重要。(按图片提示)

go ahead and click on the setup… button on the right, which will give you a screen similar to this one:


the settings in the screenshot are the ones that ended up working for me. you can use them as a starting point, but eventually you’ll want to experiment and find something that works best with your hardware. the frames/period and periods/buffer are what determine your latency. you can see in the lower right hand corner what your latency will be, so try to pick some settings that seem sane for your hardware. once you’re satisfied with what you’ve done, click ok to close the setup window.


hopefully, the display will light up like the above screenshot. if it does, you’re in business. now it’s time to install reaper. right click on the icon for the reaper install and choose “open with other application…” from the menu. you should get a window similar to this one:

click on “use a custom command” at the bottom of the window and type in wine like i did above. then just click the open button. this will run the reaper installer. just click through it like you normally would if you were running windows. when it asks if you want to run reaper, say yes. close the project settings window, close the error about not being able to initialize audio and close the registration window. in the very upper right hand corner, click where it says [audio device closed]. this will bring up the reaper preferences, which should look something like this:

in the audio system drop down box, choose asio. this should make your configuration look pretty similar to mine as shown above. we need to make sure we’re using the wine asio driver and that there are some inputs showing up. if there are, then click ok and try playing the sample project. with any luck, you’ll be treated to the glorious sounds of reaper. but, there’s probably a good chance it’s going to click and pop and stutter or do something else nasty. if it does, close reaper and stop the jack control. adjust the jack settings for latency we looked at earlier, start the jack server and double click the reaper icon on your desktop and try again. it’s a trial and error thing but you should eventually be able to get it to play smoothly.

lastly, if you click on the connect button on the jack control while reaper is running, you’ll get this screen:

from here you can do any routing you need to do. the alsa connections correspond to your hardware and the asio ones correspond to the ones in reaper.

anyway, that’s it. if you want to chat or discuss any of this, you can find me in #reaper on irc.cockos.com as daveisadork. good luck!


6 楼 
 文章标题 :
帖子发表于 : 2007-10-15 21:45 

注册: 2007-04-30 0:34
帖子: 16
送出感谢: 0 次
接收感谢: 0 次
你能理解吗?这将让我的很多想法得以实现。下一步我就将安装cubase进行进一步的测试(其实前面我装过,但是没有asio驱动无法工作).我想这是Linux音频驱动的一个里程碑!虽然目前还只能在wine的环境中实现。我坚信未来会有更加成熟的技术,实现原生的Linux ASIO!


7 楼 
 文章标题 :
帖子发表于 : 2007-10-15 21:53 

注册: 2007-03-13 17:26
帖子: 2254
送出感谢: 0 次
接收感谢: 1
低延迟 是什么意思?


8 楼 
 文章标题 :
帖子发表于 : 2007-10-15 22:01 

注册: 2007-04-30 0:34
帖子: 16
送出感谢: 0 次
接收感谢: 0 次

显示帖子 :  排序  
发表新帖 回复这个主题  [ 8 篇帖子 ] 

当前时区为 UTC + 8 小时


正在浏览此版面的用户:没有注册用户 和 3 位游客

不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译