An updated WINE library/driver allowing Windows music apps to use ASIO fast audio routed thru JACK or JACK2 on Linux
Lossless/skipless FL Studio audio piped through JACK on Linux with Wine. Other Windoze audio programs that make use of ASIO should work as well.
(Per your Linux distribution.)
$ git clone https://github.com/wineasio/wineasio
$ cd wineasio
$ make
# make install
$ export WINEARCH=win64
$ wine64 regsvr32 wineasio.dll
make install
assumes Arch Linux. Adjust the Makefile
to specify the directory of your system-wide Wine libraries if necessary.
$ wine64 regedit setwin10.reg
$ wine64 ~/path/to/flstudio-20-win-installer.exe
You can download a free demo of FL Studio at https://www.image-line.com. All components are enabled except Save.
audio
group (if it does not already exist):# groupadd audio
audio
group:# usermod -a -G audio yourUserID
/etc/security/limits.conf
:@audio - rtprio 99
@audio - memlock unlimited
$ qjackctl
samplerate
to 44,100
Hz.frames/period
to 2,048
and periods/buffer
to 4
to begin with, and adjust up or down as required.$ wine64 ~/.wine/drive_c/Program\ Files/Image-Line/FL\ Studio\ 20/FL64.exe 2>&1 | tee /dev/null
(The somewhat bizarre tee
is necessary to prevent Wine from blocking indefinitely on start-up. If anyone knows why this is the case, kindly let me know.)
Options | Audio settings...
and set Device
to WineASIO
.Play the demo song, then dig in! :)