Forums

[Script] FL Studio 10

Music creation tool

Auteur Réponses
Jump to the page: 1 - 2
Ronin DUSETTE Mardi 16 Avril 2013 à 6:49
Ronin DUSETTE

This program installs and works well from what I tested. One thing I noticed was that there are a few graphical glitches in KDE. Im not sure if it does this in other DE's, but its still very usable. I was making music on it for a bit, and it doesnt crash or anything,

#!/bin/bash
# Date : (2013-04-15)
# Last revision : (2013-04-15)
# Distribution used to test : Kubuntu 12.04.2 LTS
# Author : DJYoshaBYD
# Licence : GPLv3
# PlayOnLinux: 4.2.1
     
     
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
     
PREFIX="FLStudio10"
WINEVERSION="1.4.1"
TITLE="FL Studio 10"
EDITOR="Image Line Software"
GAME_URL="http://www.image-line.com"
AUTHOR="DJYoshaBYD"
     
#Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
     
POL_Debug_Init
     
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
     
# Create Prefix
POL_SetupWindow_browse "$(eval_gettext 'Please select $TITLE install file:')" "$TITLE"
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
     
#Dependencies
     
# Configuration
Set_OS "winxp"
Set_SoundDriver "alsa"
     
# Installation
POL_SetupWindow_message "$(eval_gettext 'During installation, please UNCHECK the option for ASIO4ALL, and UNCHECK run FL Studio at end of install.')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"
     
# Create Shortcuts
POL_Shortcut "FL.exe" "$TITLE"
     
POL_SetupWindow_message "$(eval_gettext 'NOTICE: For low-latency audio, look into WineASIO. Your MIDI controllers should work as expected.')" "$TITLE"
    
POL_SetupWindow_Close
exit 0


Screenshots:







Resources:

http://djyoshabyd.quicktech209.com/repository/Resources/Screenshots/Wine/FLStudio/FLSTudio-48x48.png

http://djyoshabyd.quicktech209.com/repository/Resources/Screenshots/Wine/FLStudio/FLStudio-22x22.png

http://djyoshabyd.quicktech209.com/repository/Resources/Screenshots/Wine/FLStudio/left.png

http://djyoshabyd.quicktech209.com/repository/Resources/Screenshots/Wine/FLStudio/top.png

Edité par RoninDusette


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
petch Mardi 16 Avril 2013 à 7:38
petch

Hi DJYoshaBYD,
What about writing a function to install (optionally) Wineasio?
Ronin DUSETTE Mardi 16 Avril 2013 à 17:29
Ronin DUSETTE

I was just going to suggest that. That would really be dope, and would make sense for people that would want to do that.

BUT, if we do, the .deb would need to be downloaded and installed via sudo, and from what i understand, we dont use sudo in scripts.

I do agree wholeheartedly, that would help all kinds with people who want that low-latency loveliness. :)

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Ronin DUSETTE Mardi 16 Avril 2013 à 17:30
Ronin DUSETTE

Oh, petch - could you upload those resources for me, please? I got the screenshots up, but that is all that I have access to upload to the server.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
petch Mardi 16 Avril 2013 à 20:03
petch

Oops, yes, resources uploaded.

I didn't check exactly what getting Wineasio to work would require, I expected it to be simpler... Any link on the topic?
Ronin DUSETTE Mardi 16 Avril 2013 à 22:49
Ronin DUSETTE

Umm, let me see if I can find one. Essentially, its a .deb file (or you can build from source), you run it, and install it. Then, once installed, you can WINEPREFIX=foo regsvr32 wineasio. Then it will show up in the audio properties.

BUT, now that im thinking of it, thats for vanilla wine. Im wondering what it may take to register it without root access to install it?

Let me find some docs on it.

Oh, and thanks for the upload. :)

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Ronin DUSETTE Mardi 16 Avril 2013 à 22:52
Ronin DUSETTE

Here are some basics on its installation (from source, but the rest still is the same):

http://wiki.cockos.com/wiki/index.php/Installing_and_configuring_WineASIO

sourceforge page:

http://sourceforge.net/projects/wineasio/

I am very interested in helping to implement this, as its a very handy thing, and it wouldnt be hard to add it into the scripts previously created.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
framuslinuxop Mardi 28 Mai 2013 à 15:03
framuslinuxopAnonymous

hi to forum
i have too many unerruns with bad sticking sound..
i unchecked multithread option and it is little better but the problem still exists.
Also cpu usage >100% !!
Any help?
thank you
my cpu phenom II x4 3.8ghz
sound card esi xl24
8gb ram 1600 hz ....
Ronin DUSETTE Mardi 28 Mai 2013 à 16:25
Ronin DUSETTE

What version of Linux? Have you tried to install wineasio? How does that sound card perform in other programs on linux?

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
framuslinuxop Mercredi 29 Mai 2013 à 23:25
framuslinuxopAnonymous

debian jessie 64 bit
ia trying to install wineasio
my sound card acts perfect in other programs(i think!)


**make
gcc -c -I. -I/usr/include -I/usr/include -I/usr/include/wine -I/usr/include/wine/windows    -m32 -g -O2 -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -o asio.o asio.c
In file included from /usr/include/features.h:341:0,
                 from /usr/include/stdio.h:27,
                 from asio.c:33:
/usr/include/stdc-predef.h:30:26: fatal error: bits/predefs.h: file folder does not exist
compilation terminated.
make: *** [asio.o] Error 1


** i found a deb file and install it...but how can i add it to playonlinux?
i execute regsvr32 wineasio.dll
-> Successfully registered DLL wineasio.dll
so whats the next step to add it to flstudio playonlinux?


Edité par framuslinuxop

Ronin DUSETTE Jeudi 30 Mai 2013 à 14:48
Ronin DUSETTE

WINEPREFIX=~/.PlayOnLinux/wineprefix/FLStudio10/ regsvr32 wineasio.dll

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
framuslinuxop Samedi 1 Juin 2013 à 13:45
framuslinuxopAnonymous

I run this command and the final message was ok
but in audio settings of FL studio there isn't wineasio choice..
Why?
Ronin DUSETTE Samedi 1 Juin 2013 à 18:47
Ronin DUSETTE

It should just be ASIO, not WINE ASIO. And there is also a chance that your soundcard is not support by WineASIO, too. I just did it on my MobilePre USB yesterday, and it works fine. less than 5ms of latency.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
framuslinuxop Dimanche 2 Juin 2013 à 0:58
framuslinuxopAnonymous

http://www.esi-audio.com/products/u24xl/
so my card supports Asio.
No asio choice in audio tab.
I think that i have not install correctly wineasio
Ronin DUSETTE Dimanche 2 Juin 2013 à 8:25
Ronin DUSETTE

You may need to enable to a repository for that to be built. I have noticed a good increase in performance in audio applications when using the Ubuntu Studio repository, complete with the whole audio suite and the real-time kernel. This also installs wineasio by default.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
framuslinuxop Lundi 3 Juin 2013 à 20:30
framuslinuxopAnonymous

how can i enable a repo in my debian jessie 64 bit arch?
thank you
Ronin DUSETTE Mardi 4 Juin 2013 à 18:04
Ronin DUSETTE

Google search Ubuntu studio repository

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
framuslinuxop Dimanche 16 Juin 2013 à 23:14
framuslinuxopAnonymous

finally i cant install wineasio in my debian box
i installed it in my gentoo box but the driver can not play via jack...errors...

The solution was to set governor perfomance in cpufreq
Ronin DUSETTE Dimanche 16 Juin 2013 à 23:16
Ronin DUSETTE

Ah. ok. I mean, I just used Ubuntu and the RT kernel, with Jack and WineASIO and it worked. Actually, that is the basic Ubuntu Studio set up. You can actually install their whole distro, too. Its really nice. Ive used a bunch.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Deleted Wrong thread