You are here

fluidsynth dssi problems

Hello, I'm very new to qtractor. I have a project with many midi tracks, many of which are going out to Hydrogen and two have each their fluidsynth-dssi plugin.

In the track properties of each of these two tracks I select bank and a different program - one track has a bass sound and the other a rhodes. They play fine.

However, after I save, quit and reopen the project, both tracks are set to bass or rhodes, depending which was the last I changed.

This is very strange, it's like if there were only one istance of the plugin, but there are clearly two - I can see them in the mixer, one for each track.

Am I missing something or is it a bug?

nareto

Forums: 

I have a separate midi bus for Hydrogen which is set as output for all midi tracks except these two, who have the "Master" midi bus as output.

rncbc's picture

Instrument mapping is historically aggregated by MIDI channel and output bus, so that you cannot have different instrument patch settings addressed via bank+program numbers) for the same channel and bus. Maybe it's your trouble. Try using a distinct MIDI channels for each of those tracks/fluidsynth-dssi instances.

Tell me more.

Cheers

thanks, assigning a different channel for each track solves the problem. But I'm confused: the two plugins were assigned each to its own track, how is it they can incluence each other? I think it's not clear to me how midi routing works in qtractor, if one uses dssi plugins on midi tracks

rncbc's picture

nothing to do with MIDI routing but to way Qtractor does MIDI track instrument patch mapping (bank+program to respective patch/preset names).

cheers

Hi; I installed fluidsynth dssi hoping to load SF2 files inside a qtractor track instead of load qsynth and the hassle of all the connections. SF2 loads OK but when a note is played it sound intermitent, not continuous as it should be. Any idea about how to correct this?
Thanks in advance

By the way, I have qtractor 0.5.4.
I would like to try 0.5.6, it would be great if you could name the packages needed. Its been hard for me to find the ladspa package (I have ladspa-sdk, is this it?)
I made a first attemtp and got this on config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Qtractor configure 0.5.6, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = fn-desktop
uname -m = i686
uname -r = 2.6.33-19-realtime
uname -s = Linux
uname -v = #13 SMP PREEMPT RT Tue Aug 30 10:07:33 UTC 2011

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/lib/libfm
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2816: checking for gcc
configure:2832: found /usr/bin/gcc
configure:2843: result: gcc
configure:3072: checking for C compiler version
configure:3081: gcc --version >&5
gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3092: $? = 0
configure:3081: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5.1' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1) 
configure:3092: $? = 0
configure:3081: gcc -V >&5
gcc: '-V' option must have argument
configure:3092: $? = 1
configure:3081: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3092: $? = 1
configure:3112: checking whether the C compiler works
configure:3134: gcc    conftest.c  >&5
configure:3138: $? = 0
configure:3186: result: yes
configure:3189: checking for C compiler default output file name
configure:3191: result: a.out
configure:3197: checking for suffix of executables
configure:3204: gcc -o conftest    conftest.c  >&5
configure:3208: $? = 0
configure:3230: result: 
configure:3252: checking whether we are cross compiling
configure:3260: gcc -o conftest    conftest.c  >&5
configure:3264: $? = 0
configure:3271: ./conftest
configure:3275: $? = 0
configure:3290: result: no
configure:3295: checking for suffix of object files
configure:3317: gcc -c   conftest.c >&5
configure:3321: $? = 0
configure:3342: result: o
configure:3346: checking whether we are using the GNU C compiler
configure:3365: gcc -c   conftest.c >&5
configure:3365: $? = 0
configure:3374: result: yes
configure:3383: checking whether gcc accepts -g
configure:3403: gcc -c -g  conftest.c >&5
configure:3403: $? = 0
configure:3444: result: yes
configure:3461: checking for gcc option to accept ISO C89
configure:3524: gcc  -c -g -O2  conftest.c >&5
configure:3524: $? = 0
configure:3537: result: none needed
configure:3562: checking how to run the C preprocessor
configure:3593: gcc -E  conftest.c
configure:3593: $? = 0
configure:3607: gcc -E  conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:3607: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Qtractor"
| #define PACKAGE_TARNAME "qtractor"
| #define PACKAGE_VERSION "0.5.6"
| #define PACKAGE_STRING "Qtractor 0.5.6"
| #define PACKAGE_BUGREPORT "rncbc@rncbc.org"
| #define PACKAGE_URL ""
| #define CONFIG_PREFIX "/usr/local"
| /* end confdefs.h.  */
| #include 
configure:3632: result: gcc -E
configure:3652: gcc -E  conftest.c
configure:3652: $? = 0
configure:3666: gcc -E  conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:3666: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Qtractor"
| #define PACKAGE_TARNAME "qtractor"
| #define PACKAGE_VERSION "0.5.6"
| #define PACKAGE_STRING "Qtractor 0.5.6"
| #define PACKAGE_BUGREPORT "rncbc@rncbc.org"
| #define PACKAGE_URL ""
| #define CONFIG_PREFIX "/usr/local"
| /* end confdefs.h.  */
| #include 
configure:3752: checking for g++
configure:3782: result: no
configure:3752: checking for c++
configure:3782: result: no
configure:3752: checking for gpp
configure:3782: result: no
configure:3752: checking for aCC
configure:3782: result: no
configure:3752: checking for CC
configure:3782: result: no
configure:3752: checking for cxx
configure:3782: result: no
configure:3752: checking for cc++
configure:3782: result: no
configure:3752: checking for cl.exe
configure:3782: result: no
configure:3752: checking for FCC
configure:3782: result: no
configure:3752: checking for KCC
configure:3782: result: no
configure:3752: checking for RCC
configure:3782: result: no
configure:3752: checking for xlC_r
configure:3782: result: no
configure:3752: checking for xlC
configure:3782: result: no
configure:3806: checking for C++ compiler version
configure:3815: g++ --version >&5
./configure: line 3817: g++: command not found
configure:3826: $? = 127
configure:3815: g++ -v >&5
./configure: line 3817: g++: command not found
configure:3826: $? = 127
configure:3815: g++ -V >&5
./configure: line 3817: g++: command not found
configure:3826: $? = 127
configure:3815: g++ -qversion >&5
./configure: line 3817: g++: command not found
configure:3826: $? = 127
configure:3830: checking whether we are using the GNU C++ compiler
configure:3849: g++ -c   conftest.cpp >&5
./configure: line 1608: g++: command not found
...
configure:3858: result: no

configure: exit 1

rncbc's picture

you certainly need g++ (gnu c++ compiler) to compile qtractor.

cheers

Thanks for your reply. the configure stage was overcome, now there's some issues with the make stage.
I got the following (which I think is the cause of the problem; the additional points are mine, the command is too long), (I have installed the lilv-utils package (synaptic doesn't show another lilv package when searched):

Thanks again.

g++ -c -pipe -I/usr/include/suil-0 -I/usr/local/include - ........................................
qtractorDssiPlugin.cpp:433: warning: unused parameter ‘types’
qtractorDssiPlugin.cpp:433: warning: unused parameter ‘argc’
qtractorDssiPlugin.cpp:433: warning: unused parameter ‘user_data’
g++ -c -pipe -I/usr/include/suil-0 -I/usr/local/include -I/usr/include/lilv-0 -msse.......................

..........
............ (another series of commands)
..........

qtractorLv2Plugin.cpp:972: error: ‘lilv_port_get_index’ was not declared in this scope
qtractorLv2Plugin.cpp: In function ‘const void* qtractor_lv2_get_port_value(const char*, void*, uint32_t*, uint32_t*)’:
qtractorLv2Plugin.cpp:1003: error: ‘lilv_port_get_index’ was not declared in this scope
qtractorLv2Plugin.cpp: In constructor ‘qtractorLv2Plugin::qtractorLv2Plugin(qtractorPluginList*, qtractorLv2PluginType*)’:
qtractorLv2Plugin.cpp:1768: error: ‘lilv_plugin_get_related’ was not declared in this scope
qtractorLv2Plugin.cpp:1772: error: ‘lilv_world_load_resource’ was not declared in this scope
qtractorLv2Plugin.cpp:1794: error: ‘lilv_plugin_get_port_by_designation’ was not declared in this scope
qtractorLv2Plugin.cpp:1796: error: ‘lilv_port_get_index’ was not declared in this scope
qtractorLv2Plugin.cpp: In member function ‘virtual bool qtractorLv2Plugin::loadPreset(const QString&)’:
qtractorLv2Plugin.cpp:3190: error: ‘LilvState’ was not declared in this scope
qtractorLv2Plugin.cpp:3190: error: ‘state’ was not declared in this scope
qtractorLv2Plugin.cpp:3195: error: ‘lilv_state_new_from_file’ was not declared in this scope
qtractorLv2Plugin.cpp:3198: error: ‘lilv_state_new_from_world’ was not declared in this scope
qtractorLv2Plugin.cpp:3207: error: ‘lilv_state_restore’ was not declared in this scope
qtractorLv2Plugin.cpp:3210: error: ‘lilv_state_free’ was not declared in this scope
qtractorLv2Plugin.cpp: In member function ‘virtual bool qtractorLv2Plugin::savePreset(const QString&)’:
qtractorLv2Plugin.cpp:3219: error: ‘LilvState’ was not declared in this scope
qtractorLv2Plugin.cpp:3219: error: ‘state’ was not declared in this scope
qtractorLv2Plugin.cpp:3223: error: ‘lilv_state_new_from_instance’ was not declared in this scope
qtractorLv2Plugin.cpp:3228: error: ‘lilv_state_set_label’ was not declared in this scope
qtractorLv2Plugin.cpp:3245: error: ‘lilv_state_save’ was not declared in this scope
qtractorLv2Plugin.cpp:3247: error: ‘lilv_state_free’ was not declared in this scopeqtractorLv2Plugin.cpp:972: error: ‘lilv_port_get_index’ was not declared in this scope
qtractorLv2Plugin.cpp: In function ‘const void* qtractor_lv2_get_port_value(const char*, void*, uint32_t*, uint32_t*)’:
qtractorLv2Plugin.cpp:1003: error: ‘lilv_port_get_index’ was not declared in this scope
qtractorLv2Plugin.cpp: In constructor ‘qtractorLv2Plugin::qtractorLv2Plugin(qtractorPluginList*, qtractorLv2PluginType*)’:
qtractorLv2Plugin.cpp:1768: error: ‘lilv_plugin_get_related’ was not declared in this scope
qtractorLv2Plugin.cpp:1772: error: ‘lilv_world_load_resource’ was not declared in this scope
qtractorLv2Plugin.cpp:1794: error: ‘lilv_plugin_get_port_by_designation’ was not declared in this scope
qtractorLv2Plugin.cpp:1796: error: ‘lilv_port_get_index’ was not declared in this scope
qtractorLv2Plugin.cpp: In member function ‘virtual bool qtractorLv2Plugin::loadPreset(const QString&)’:
qtractorLv2Plugin.cpp:3190: error: ‘LilvState’ was not declared in this scope
qtractorLv2Plugin.cpp:3190: error: ‘state’ was not declared in this scope
qtractorLv2Plugin.cpp:3195: error: ‘lilv_state_new_from_file’ was not declared in this scope
qtractorLv2Plugin.cpp:3198: error: ‘lilv_state_new_from_world’ was not declared in this scope
qtractorLv2Plugin.cpp:3207: error: ‘lilv_state_restore’ was not declared in this scope
qtractorLv2Plugin.cpp:3210: error: ‘lilv_state_free’ was not declared in this scope
qtractorLv2Plugin.cpp: In member function ‘virtual bool qtractorLv2Plugin::savePreset(const QString&)’:
qtractorLv2Plugin.cpp:3219: error: ‘LilvState’ was not declared in this scope
qtractorLv2Plugin.cpp:3219: error: ‘state’ was not declared in this scope
qtractorLv2Plugin.cpp:3223: error: ‘lilv_state_new_from_instance’ was not declared in this scope
qtractorLv2Plugin.cpp:3228: error: ‘lilv_state_set_label’ was not declared in this scope
qtractorLv2Plugin.cpp:3245: error: ‘lilv_state_save’ was not declared in this scope
qtractorLv2Plugin.cpp:3247: error: ‘lilv_state_free’ was not declared in this scope
make[2]: *** [.obj/qtractorLv2Plugin.o] Error 1
make[2]: Leaving directory `/home/fn/Desktop/qtractor-0.5.6/src'
make[1]: *** [sub-src-make_default] Error 2
make[1]: Leaving directory `/home/fn/Desktop/qtractor-0.5.6'
make: *** [src/qtractor] Error 2

make[2]: *** [.obj/qtractorLv2Plugin.o] Error 1
make[2]: Leaving directory `/home/fn/Desktop/qtractor-0.5.6/src'
make[1]: *** [sub-src-make_default] Error 2
make[1]: Leaving directory `/home/fn/Desktop/qtractor-0.5.6'
make: *** [src/qtractor] Error 2

rncbc's picture

I have installed the lilv-utils package (synaptic doesn't show another lilv package when searched
depending on your distro you must install the -devel sort of packages eg. liblilv-dev. most probably lilv-utils is useless for compiling qtractor (or any other source build)

seeya

First of all, many thanks for your replies.

I already had installed libliv dev package before I got the previous messages. I guess that I should install lilv package because that is what message mentions.

I ran a google search for a lilv devel package and it leaded me to this page:

http://rpmfind.net/linux/rpm2html/search.php?query=lilv-devel

It seems this is a fedora packages site, There is no information about an ubuntu package or a tarball file (neither at synaptic).

Could you tell me please where I can find the proper lilv dev package (if according to your criteria, this is what is missing for success at make stage)

I was thinking that configure stage was for verifying that all dependencies are fulfilled; there was not any message about a missing package at configure stage.

Again, Thanks for your help.

Joaquin.

lilv just found, thank you.
But it seems that build liv depends on libserd-0-0>= 0.14. I have instaled version 0.5 and the required version is available only to Ubuntu 12.10 (the lastest one!!). Im still on Ubuntu 10.04.

I found all the dependencies, sorry for the hassle, it is the first time I do compile/build tasks.

Thanks.

Hi Rui, Finally Ive builded Qtractor, just some issues here. I got this "no" at configure stage:

checking for main in -lXext... no
...
checking for VST headers... no
...
LV2 Plug-in support (libslv2) (DEPRECATED) . . . .: no
...
X11 Unique/Single instance . . . . . . . . . . . .: no
...
...
Debugger stack-trace (gdb) . . . . . . . . . . . .: no

Could I have troubles in the future because these "no"?.

Thanks for your help.

rncbc's picture

i guess the answer is no :)

fyi. the official configure summary report for standard default release build (no debug), should be the following:

  Qtractor 0.5.6

  Build target . . . . . . . . . . . . . . . . . . .: release

  JACK Audio Connection Kit support  . . . . . . . .: yes
  ALSA MIDI Sequencer support  . . . . . . . . . . .: yes
  General audio file support (libsndfile)  . . . . .: yes
  Ogg Vorbis audio file support (libvorbis)  . . . .: yes
  MPEG-1 Audio Layer 3 file support (libmad) . . . .: yes
  Sample-rate conversion support (libsamplerate) . .: yes
  Pitch-shifting support (librubberband) . . . . . .: yes
  OSC service support (liblo)  . . . . . . . . . . .: yes
  Archive/Zip file support (zlib)  . . . . . . . . .: yes
  IEEE 32bit float optimizations . . . . . . . . . .: yes
  SSE optimization support (x86) . . . . . . . . . .: yes
  LADSPA Plug-in support . . . . . . . . . . . . . .: yes
  DSSI Plug-in support . . . . . . . . . . . . . . .: yes
  VST Plug-in support  . . . . . . . . . . . . . . .: yes
  LV2 Plug-in support  . . . . . . . . . . . . . . .: yes
  LV2 Plug-in support (libslv2) (DEPRECATED) . . . .: no
  LV2 Plug-in support (liblilv)  . . . . . . . . . .: yes
  LV2 Plug-in UI instantiation (libsuil) . . . . . .: yes
  LV2 Plug-in QT4 UI support . . . . . . . . . . . .: yes
  LV2 Plug-in GTK UI support . . . . . . . . . . . .: yes
  LV2 Plug-in External UI support  . . . . . . . . .: yes
  LV2 Plug-in MIDI/Event support . . . . . . . . . .: yes
  LV2 Plug-in MIDI/Atom support  . . . . . . . . . .: yes
  LV2 Plug-in Worker/Schedule support  . . . . . . .: yes
  LV2 Plug-in State support  . . . . . . . . . . . .: yes
  LV2 Plug-in State Files support (EXPERIMENTAL) . .: yes
  LV2 Plug-in Programs support . . . . . . . . . . .: yes
  LV2 Plug-in Presets support  . . . . . . . . . . .: yes
  LV2 Plug-in Time support . . . . . . . . . . . . .: yes

  JACK Session support . . . . . . . . . . . . . . .: yes
  JACK Latency support . . . . . . . . . . . . . . .: yes

  X11 Unique/Single instance . . . . . . . . . . . .: no
  VeSTige header support . . . . . . . . . . . . . .: no
  Gradient eye-candy . . . . . . . . . . . . . . . .: yes
  Debugger stack-trace (gdb) . . . . . . . . . . . .: no

  Install prefix . . . . . . . . . . . . . . . . . .: /usr/local

ps. if you bother whether VeSTige support is being listed as "no", just don't :) it's just like so if you're not using steinberg's vst-sdk. hint: README.VST

Hi Rui, the vst thing is already fixed. Now, Ive been testing this version of qtractor since the last time I wrote to you, and everything is fine except yesterday when I tried to insert IR LV2 plugin in an audio track.
I got a message stating that libgtk-x11.so is not found.
Any idea where could I get that file?. Could that be inside libgtk dev package?.

rncbc's picture

i can't really tell what the trouble is. qtractor does not use libgtk directly. most probably, libsuil does.

and yes, libgtk-x11.so might well be found on something like libgtk2-dev or else :)

cheers

Add new comment