Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2 GUI sample configuration problems

git_head
closed
nobody
None
2015-02-01
2013-03-13
No

When I set 2 samples (47 and 48) with different panning (-85, +85) the sampler behaves strangely, using only one one panning value (depending on which sample is selected in the GUI) and uses it on a random number of samples around it. If none of the 2 samples is selected in the GUI, no sample is panned.

This affects only when working with the sampler GUI, until you modify something (freshly opened session) or after you reload a preset, everything is ok.

Discussion

  • ack. might have been fixed already, although might break something else :)

    please test && tell whether svn trunk rev.162+ (drumkv1 0.3.2.1+) is any good.

    cheers

     
    • status: open --> pending
     
  • I have trouble building after upgrade to qt5 (archlinux):

    Now type 'make', followed by 'make install' as root.

    make[1]: Entering directory /var/abs/local/drumkv1/src' cd src/ && make -f drumkv1_lv2.mak.src_lv2 make[2]: Entering directory/var/abs/local/drumkv1/src/src'
    make[2]: No rule to make target /usr/share/qt/mkspecs/linux-g++/qmake.conf', needed bydrumkv1_lv2.mak.src_lv2'. Stop.
    make[2]: Leaving directory /var/abs/local/drumkv1/src/src' make[1]: *** [sub-src-src_lv2-pro-make_default] Error 2 make[1]: Leaving directory/var/abs/local/drumkv1/src'
    make:
    [lv2] Error 2

    Perhaps contact me on IRC to solve this?

     
    Last edit: Jiří Procházka 2013-03-14
  • please, do NOT build against qt5. unless you only run the stand-alone jack client stuff.

    although it should build fine with proper settings, ./configure --with-qt=/path/to/qt5/gcc-arch, the LV2 GUI's won't work and probably will crash any host as sson they're called to show. and it doesn't matter whether it's gtk or qt4 or even qt5.
    it's a show-stopper for lv2 plugins. period.

    please, ask arch maintainers to keep qt4 as the main and default development environment for desktop applications no matter what. seriously.

    nb. qt5 is currently targeted on mobile and touch devices. its support for X11 is to say the least severely crippled eg. qt5.0 hasn't (and won't have ever) a XEmbed API on which is fundamental to libsuil design and thus qt5.0 is a no-show for LV2 GUI plugins. maybe qt5.1 will get it back but let's get real, it might just never happen :(

    sad but true. anyway qt5 is no urgent replacement for qt4 anyhow. qt4 is still here for the next 10 years or so :)

    cheers

     
  • Well I AM building against qt4:

    # x86_64 lib path fix
    sed -i "s/lib64/lib/" drumkv1_lv2.pro

    qmake-qt4 drumkv1_lv2.pro
    #qmake samplv1_lv2.pro
    aclocal && autoheader && autoconf
    ./configure --prefix=/usr
    make

    However it doesn't work - the error I pasted previously.

     
  • full compilation output:

    At revision 164.
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking how to run the C preprocessor... gcc -E
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking how to run the C++ preprocessor... g++ -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking whether gcc needs -traditional... no
    checking for Qt library version >= 4.4... yes
    checking for qmake... /usr/lib/qt4/bin/qmake
    checking for moc... /usr/lib/qt4/bin/moc
    checking for uic... /usr/lib/qt4/bin/uic
    checking for main in -lm... yes
    checking for main in -lX11... yes
    checking for main in -lXext... yes
    checking for main in -ljack... yes
    checking for jack_set_session_callback in -ljack... yes
    checking for main in -lpthread... yes
    checking for main in -lasound... yes
    checking for main in -lsndfile... yes
    checking for ANSI C header files... yes
    checking for sys/wait.h that is POSIX.1 compatible... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking for sys/stat.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking signal.h usability... yes
    checking signal.h presence... yes
    checking for signal.h... yes
    checking jack/jack.h usability... yes
    checking jack/jack.h presence... yes
    checking for jack/jack.h... yes
    checking jack/session.h usability... yes
    checking jack/session.h presence... yes
    checking for jack/session.h... yes
    checking jack/midiport.h usability... yes
    checking jack/midiport.h presence... yes
    checking for jack/midiport.h... yes
    checking alsa/asoundlib.h usability... yes
    checking alsa/asoundlib.h presence... yes
    checking for alsa/asoundlib.h... yes
    checking lv2.h usability... yes
    checking lv2.h presence... yes
    checking for lv2.h... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating drumkv1.spec
    config.status: creating src/src.pri
    config.status: creating src/drumkv1.desktop
    config.status: creating src/config.h
    config.status: src/config.h is unchanged

    drumkv1 0.3.2.1

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

    JACK stand-alone build . . . . . . . . . . . . . .: yes
    JACK session support . . . . . . . . . . . . . . .: yes
    JACK MIDI support . . . . . . . . . . . . . . . .: yes
    ALSA MIDI support . . . . . . . . . . . . . . . .: yes
    LV2 plugin-in build . . . . . . . . . . . . . . .: yes

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

    Now type 'make', followed by 'make install' as root.

    make[1]: Entering directory /var/abs/local/drumkv1/src' cd src/ && make -f drumkv1_lv2.mak.src_lv2 make[2]: Entering directory/var/abs/local/drumkv1/src/src'
    make[2]: No rule to make target /usr/share/qt/mkspecs/linux-g++/qmake.conf', needed bydrumkv1_lv2.mak.src_lv2'. Stop.
    make[2]: Leaving directory /var/abs/local/drumkv1/src/src' make[1]: *** [sub-src-src_lv2-pro-make_default] Error 2 make[1]: Leaving directory/var/abs/local/drumkv1/src'
    make:
    [lv2] Error 2

     
  • Sorry it seems that when making a clean build,it compiles :)

     
  • Ok, it seems it's fixed!

     
    • status: pending --> closed