Nope, none at all. There are 132 objects in /usr/lib/ladspa, and other software finds them.falkTX wrote:Can Carla at least find some LADSPAs?
KXStudio - Carla
Moderators: MattKingUSA, khz
- spm_gl
- Established Member
- Posts: 358
- Joined: Wed Apr 22, 2009 7:58 am
- Location: Spreewald, Germany
- Contact:
Re: KXStudio - Carla
- GMaq
- Established Member
- Posts: 2824
- Joined: Fri Sep 25, 2009 1:42 pm
- Has thanked: 530 times
- Been thanked: 572 times
Re: KXStudio - Carla
Hi falkTX,
Can Carla be built without Ubuntu specific dependencies? I'd like to have a look but if it's going to be a PITA with pure Debian I'll wait and see...Also generally speaking what are the dependencies?
This is looking amazing so far...Kudos to you and your hard work.
Can Carla be built without Ubuntu specific dependencies? I'd like to have a look but if it's going to be a PITA with pure Debian I'll wait and see...Also generally speaking what are the dependencies?
This is looking amazing so far...Kudos to you and your hard work.
- GMaq
- Established Member
- Posts: 2824
- Joined: Fri Sep 25, 2009 1:42 pm
- Has thanked: 530 times
- Been thanked: 572 times
Re: KXStudio - Carla
falkTXfalkTX wrote:Just take a look at INSTALL (updated).GMaq wrote:Hi falkTX,
Can Carla be built without Ubuntu specific dependencies? I'd like to have a look but if it's going to be a PITA with pure Debian I'll wait and see...Also generally speaking what are the dependencies?
This is looking amazing so far...Kudos to you and your hard work.
All you need is:AFAIK, these are present in Debian.Code: Select all
sudo apt-get install qt4-dev-tools python-qt4-dev pyqt4-dev-tools liblo-dev libjack-dev
This is pre-alpha software, so use with care.
I already have debian sources for these, so your work here is minimal.
Very nice, have it up and running and built no problem, obviously it is written for KXStudio so some things don't work with AV Linux (ie no JACK2, Dbus, no Ladish in AV Linux) so the Cadence JACK setup doesn't work nor did I expect it to. It also doesn't see our 2.6.39.1 Kernel as being -rt although it IS running with rtirq-init, you will probably need to look at that whenever KXStudio has a 2.6.39+ Kernel. Carla seems to work very well and looks fantastic.
I think users of other distros might be interested in having Carla as a standalone app, but of course that's up to you, I would guess you have enough work coding for KXStudio let alone tweaking for others! An excellent suite of tools...Well Done!!
- funkmuscle
- Established Member
- Posts: 2813
- Joined: Mon Jun 02, 2008 2:30 pm
- Has thanked: 132 times
- Been thanked: 34 times
Re: KXStudio - Carla
cool, because I'm pulling my hair out on my Arch box..falkTX wrote:I just installed Arch, I'll look into this in a few hours.spm_gl wrote:Nope, none at all. There are 132 objects in /usr/lib/ladspa, and other software finds them.falkTX wrote:Can Carla at least find some LADSPAs?
- funkmuscle
- Established Member
- Posts: 2813
- Joined: Mon Jun 02, 2008 2:30 pm
- Has thanked: 132 times
- Been thanked: 34 times
Re: KXStudio - Carla
so do I need to recompile after the rdflib installation?falkTX wrote:@spm_gl
Plugin check fixed.
It was a typo in the auto PATH variables setting (when *_PATHs are not set).
I just tested with Arch, LV2 Plugins are scanned, listed and working.
(Remember: Needs python-rdflib, or just 'rdflib' as Arch PKGBUILD)
- funkmuscle
- Established Member
- Posts: 2813
- Joined: Mon Jun 02, 2008 2:30 pm
- Has thanked: 132 times
- Been thanked: 34 times
Re: KXStudio - Carla
I'm still getting this:
$ carla
File "/usr/local/share/cadence/src/carla.py", line 240
print "plugin %s is blacklisted, skip it" % (ladspa_binaries)
^
SyntaxError: invalid syntax
$ carla
File "/usr/local/share/cadence/src/carla.py", line 240
print "plugin %s is blacklisted, skip it" % (ladspa_binaries)
^
SyntaxError: invalid syntax
- GMaq
- Established Member
- Posts: 2824
- Joined: Fri Sep 25, 2009 1:42 pm
- Has thanked: 530 times
- Been thanked: 572 times
Re: KXStudio - Carla
Editor Screenshot - Default AV Linux Theme
http://bandshed.net/images/screenshots/ ... efault.png
http://bandshed.net/images/screenshots/CarlaEditor.png
http://bandshed.net/images/screenshots/ ... efault.png
http://bandshed.net/images/screenshots/CarlaEditor.png
Last edited by GMaq on Sat Jul 16, 2011 5:37 pm, edited 1 time in total.
- GMaq
- Established Member
- Posts: 2824
- Joined: Fri Sep 25, 2009 1:42 pm
- Has thanked: 530 times
- Been thanked: 572 times
Re: KXStudio - Carla
I think the combo-boxes/progress bars for LADSPAs look great, certainly better than most hosts (ie Ardour), since most users will likely gravitate toward UI Plugins I don't think you need to pretty-up the combo-boxes any more than they are.falkTX wrote:Looks cool!GMaq wrote:Editor Screenshot - Default AV Linux Theme
http://bandshed.net/images/screenshots/ ... efault.png
I was afraid some stuff would look bad on bigger fonts or white themes, seems like it's not the case.
What do you think of the progress-bar/combo-box parameters?
(Note how Calf Reverb LADSPA uses a combo-box for room size)
A few comments in response to your earlier post:
AV Linux is based on Squeeze so there are no Debian pkg-multimedia ladish and related packages available through the official Squeeze repos and I haven't built any custom ones yet. I certainly have no problem with JACK2 or ladish but to be honest there has not been even one request for either on the AV Linux forums, I provide JACK1 Session support via Qjackctl and I personally do much prefer JACK1 and find it is a bit more reliable at low latencies especially with FireWire interfaces. I think most people know by now that if they want a good ladish environment with JACK2 then KXStudio is the ticket and I am 100% cool with that.
An option to build Carla, JACK Render, and the Virtual XY Controller as standalones would be awesome IMHO since they are most JACK2/ladish Independent but that is just in my selfish opinion, I don't know how difficult that is on your end. I would probably prefer to call it from make (ie 'make carla') that way the built files are all in order before the install phase which would make custom packaging them individually a bit easier. On the other hand if the sources were already 'Debianized' then as you said before most of the work is already done to create binaries with 'dpkg-buildpackage'.
Anyway this is all just thinking out loud, certainly there is no need to break them up individually unless you think that would also be beneficial for you in some way. I'm just stating an opinion. Regardless you should be very proud of your accomplishments so far both with KXStudio and Cadence.
- spm_gl
- Established Member
- Posts: 358
- Joined: Wed Apr 22, 2009 7:58 am
- Location: Spreewald, Germany
- Contact:
Re: KXStudio - Carla
Wow, looks I slept too long, so many new posts to read.
Anyway, Carla now finds all my plugins. Spits out a lot of LV2 related errors on the way, but I assume that is still very much WIP.
I love the simple midi controller configuration, but could you perhaps make the font colour red, when the controller is already assigned somewhere else? Or put a little bullet next to the name in the list?
Regarding the python choice on Arch (I have python, python2 and python3 installed), you could have the PKGBUILD automatically patch the bash script.
Anyway, Carla now finds all my plugins. Spits out a lot of LV2 related errors on the way, but I assume that is still very much WIP.
I love the simple midi controller configuration, but could you perhaps make the font colour red, when the controller is already assigned somewhere else? Or put a little bullet next to the name in the list?
Regarding the python choice on Arch (I have python, python2 and python3 installed), you could have the PKGBUILD automatically patch the bash script.
Here's one user who'd rejoice.falkTX wrote:Will users be mad if I switch to Arch?
Don't get me too excited. I'm longing for the ultimate poly-rhythmic midi step sequencer.falkTX wrote:In fact, I wish to do a MIDI sequencer myself someday, someday...
Re: KXStudio - Carla
if you simply want to check the kernel version, usefalkTX wrote: The kernel check is simply a parse of 'uname -a'. Sometimes it works, sometimes it doesn't. Kernel versions are displayed differently between distros, making my job harder...
Code: Select all
uname -r
Another thing: if you compile some C++ or C code, you can always retrieve the linux version by including
Code: Select all
#include <linux/version.h>
You can compare this value with any kernel version by using the macro KERNEL_VERSION(a,b,c), for example:
Code: Select all
if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) )
{
blablabla;
}
Re: KXStudio - Carla
ah, you are doing this from python ... how about using the "platform" class ?falkTX wrote: Your assumptions are wrong here, sorry.
Cadence is written in python, so "uname -a" is actually "os.uname()", which splits into 4 strings for me. The 3rd string is the kernel number, which I use and parse.
http://docs.python.org/library/platform.html
and then use platform.uname() ?
from the python website:
platform.uname()
Fairly portable uname interface. Returns a tuple of strings (system, node, release, version, machine, processor) identifying the underlying platform.
Note that unlike the os.uname() function this also returns possible processor information as additional tuple entry.
- spm_gl
- Established Member
- Posts: 358
- Joined: Wed Apr 22, 2009 7:58 am
- Location: Spreewald, Germany
- Contact:
Re: KXStudio - Carla
I'm sure there are a lot of people here more capable than me of doing this, but if for some reason no-one shouts "Here!", I guess I'll dig into it.falkTX wrote:That would require someone to do a PKGBUILD first...
Yes, it's in the AUR: http://aur.archlinux.org/packages.php?ID=34456falkTX wrote:Is ladish on Arch already..?
This is without any debug or verbose flags:falkTX wrote:The errors printed to terminal are useful reminders to me of features not yet done.
If you post here those errors, I'll appreciate.
Code: Select all
LV2_RDF - URI Type 'http://foltman.com/ns/MIDIPlugin' not handled (uri: http://calf.sourceforge.net/small_plugins/ccfilter_m)
LV2_RDF - Got an unknown port type ERROR - EventPort without EventType!
LV2_RDF - Got an unknown port type ERROR - EventPort without EventType!
LV2_RDF - Got an unknown port type ERROR - EventPort without EventType!
LV2_RDF - URI Type 'http://foltman.com/ns/IntegerPlugin' not handled (uri: http://calf.sourceforge.net/small_plugins/bit_xor_c)
LV2_RDF - URI Type 'http://foltman.com/ns/IntegerPlugin' not handled (uri: http://calf.sourceforge.net/small_plugins/bit_or_c)
LV2_RDF - URI Type 'http://foltman.com/ns/MIDIPlugin' not handled (uri: http://calf.sourceforge.net/small_plugins/setchannel_m)
- schivmeister
- Established Member
- Posts: 95
- Joined: Sat Apr 12, 2008 9:28 am
- Location: Singapore
- Contact:
Re: KXStudio - Carla
Since you're using Linux-specific commands anyway in your scripts, you can simply get this one done by using Bash's regexp conditional (since v3 [1]):falkTX wrote:it's the same thing:I'll still have to do string parsing anyway...Code: Select all
>>> platform.uname()[2] '2.6.32-32-generic-pae' >>> os.uname()[2] '2.6.32-32-generic-pae
Code: Select all
min_kernver = '2.6.33'
if os.system('[[ `uname -r` =~ ' + min_kernver + ' ]]'):
print "You do not have the minimum kernel required"
falkTX wrote:Can someone tell me a way to confirm 100% when a system is Arch?
Code: Select all
test -f /etc/arch-release
Otherwise, just leave it up to the packagers to fix the shebangs for python v2.
[1] http://tldp.org/LDP/abs/html/bashver3.html
Professor: Music is not a science, my son. It's an art.
Student: But art is science.
Student: But art is science.
Re: KXStudio - Carla
an alternative could be to parse the /boot/config-`uname -r` file if it exists (and it is quite standard in all linux distros). The thing about the kernel config is that it should have the same set of option defines (on or off depending) across linux installs.
Re: KXStudio - Carla
there's also /proc/config.gz which is a compressed config file of the running kernel.
But as far as I know, the kernel needs to be compiled with the option to have a gz config in /proc ON.
But as far as I know, the kernel needs to be compiled with the option to have a gz config in /proc ON.