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.
- Create an
audio
group (if it does not already exist):
# groupadd audio
- Add yourself to the
audio
group:
# usermod -a -G audio yourUserID
- Add to
/etc/security/limits.conf
:
@audio - rtprio 99
@audio - memlock unlimited
- Logout and login again.
$ qjackctl
- Set the
samplerate
to44,100
Hz. - Set the
frames/period
to2,048
andperiods/buffer
to4
to begin with, and adjust up or down as required. - Start the JACK server with qjackctl. Check for errors in the Messages/Status window. Be sure JACK is running in real-time mode.
$ 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.)
- On the main menu, click
Options | Audio settings...
and setDevice
toWineASIO
. - Observe the JACK graph in qjackctl. Eight (8) inputs and eight (8) outputs will be created and connected.
Play the demo song, then dig in! :)