Peculiar MIDI Keyboard Issue

Having trouble with LMMS? Ask about it here.
Hello!
I have been using LMMS for some time now, and I like it a lot.
Recently, I purchased a Yamaha PSR-E433 digital keyboard, which I intend to use both as a standalone instrument and as a MIDI controller keyboard.
So far, I have been successful with connecting the keyboard and using it as a controller - save for one problem: I cannot get it to work with sf2 player!
When I try to use the keyboard to control other plugins, like zynaddsubfx and triple oscillator, there's no problem, but when I try to use sf2 player, there is no response whatsoever - no sound, no recording, nothing.
I tried to use the same soundfont in QSynth - and it works! What could be the problem?
I am using Linux Mint 16 32-bit Cinnamon edition, with LMMS 0.4.15. The soundfont I use was downloaded from the package fluid-soundfont-gm. I connect the keyboard with a regular USB. If there's any information missing, please tell me.
Thanks in advance!
-Amir
IIRC this is a bug in 0.4.15 which should be fixed in the latest version.

If you're comfortable with compiling from source, you can get the latest source either from git://github.com/LMMS/lmms.git, the branch name is stable-0.4 - or alternatively, you can get a source tarball from https://sourceforge.net/projects/lmms/f ... ms/0.9.90/ which is the first RC version for the coming release...

If you don't want to compile from source, then I'm afraid you'll just have to wait for the official release of 1.0.0 and for it to get packaged...
I see. Thank you for the quick answer.
At the moment, no matter what I try, I run into errors while trying to install a newer version from source.
I might try some workarounds, or using rosegarden in the meantime.
Thanks again!
-Amir
What kind of errors?
After following the instructions on https://github.com/LMMS/lmms/wiki/Compiling-lmms and getting to step 2 under "building on linux", this is what I get. I can't progress further with the steps in the site mentioned.

Code: Select all

amir@amir-desktop:~/git/lmms/build$ cmake .. -DCMAKE_INSTALL_PREFIX=../target
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 
PROCESSOR: i686
Machine: i686-linux-gnu
-- Target host is 32 bit
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for include file semaphore.h
-- Looking for include file semaphore.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file sys/ipc.h
-- Looking for include file sys/ipc.h - found
-- Looking for include file sys/shm.h
-- Looking for include file sys/shm.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/wait.h
-- Looking for include file sys/wait.h - found
-- Looking for include file sys/select.h
-- Looking for include file sys/select.h - found
-- Looking for include file stdarg.h
-- Looking for include file stdarg.h - found
-- Looking for include file signal.h
-- Looking for include file signal.h - found
-- Looking for include file sched.h
-- Looking for include file sched.h - found
-- Looking for include file sys/soundcard.h
-- Looking for include file sys/soundcard.h - found
-- Looking for include file soundcard.h
-- Looking for include file soundcard.h - not found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file sys/ioctl.h
-- Looking for include file sys/ioctl.h - found
-- Looking for include file ctype.h
-- Looking for include file ctype.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file process.h
-- Looking for include file process.h - not found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.4", minimum required is "4.3.0;COMPONENTS;QtCore;QtGui;QtXml") 
-- Found Qt translations in /usr/share/qt4/translations
-- checking for module 'sndfile>=1.0.11'
--   found sndfile, version 1.0.25
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Could NOT find SDL (missing:  SDL_LIBRARY SDL_INCLUDE_DIR) 
-- Found STK: /usr/lib/i386-linux-gnu/libstk.so
-- checking for module 'portaudio-2.0'
--   found portaudio-2.0, version 19
-- Found Portaudio: portaudio;asound;m;pthread
-- checking for module 'libpulse'
--   found libpulse, version 4.0
-- Found PulseAudio Simple: /usr/lib/i386-linux-gnu/libpulse.so
-- Looking for vorbis_bitrate_addblock in vorbis
-- Looking for vorbis_bitrate_addblock in vorbis - found
-- Found OggVorbis: /usr/lib/i386-linux-gnu/libogg.so;/usr/lib/i386-linux-gnu/libvorbis.so;/usr/lib/i386-linux-gnu/libvorbisfile.so;/usr/lib/i386-linux-gnu/libvorbisenc.so
-- Looking for snd_seq_create_simple_port in asound
-- Looking for snd_seq_create_simple_port in asound - found
-- Found ALSA: /usr/lib/i386-linux-gnu/libasound.so
-- Looking for include file machine/soundcard.h
-- Looking for include file machine/soundcard.h - not found
-- Looking for include file linux/awe_voice.h
-- Looking for include file linux/awe_voice.h - not found
-- Looking for include file awe_voice.h
-- Looking for include file awe_voice.h - not found
-- Looking for include file /usr/src/sys/i386/isa/sound/awe_voice.h
-- Looking for include file /usr/src/sys/i386/isa/sound/awe_voice.h - not found
-- Looking for include file /usr/src/sys/gnu/i386/isa/sound/awe_voice.h
-- Looking for include file /usr/src/sys/gnu/i386/isa/sound/awe_voice.h - not found
-- Looking for C++ include sys/asoundlib.h
-- Looking for C++ include sys/asoundlib.h - found
-- Looking for C++ include alsa/asoundlib.h
-- Looking for C++ include alsa/asoundlib.h - found
-- Looking for snd_pcm_resume in asound
-- Looking for snd_pcm_resume in asound - found
-- checking for module 'jack>=0.77'
--   found jack, version 1.9.10
-- checking for module 'fftw3f>=3.0.0'
--   found fftw3f, version 3.3.3
-- checking for module 'fluidsynth>=1.0.7'
--   found fluidsynth, version 1.1.6
-- Found Wine: /usr/lib/i386-linux-gnu/libwine.so  
-- checking for module 'samplerate>=0.1.8'
--   found samplerate, version 0.1.8
-- Found Git: /usr/bin/git (found version "1.8.3.2") 
CMake Error at /usr/share/cmake-2.8/Modules/FindX11.cmake:425 (message):
  Could not find X11
Call Stack (most recent call first):
  plugins/zynaddsubfx/CMakeLists.txt:111 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
zorbama wrote:After following the instructions on https://github.com/LMMS/lmms/wiki/Compiling-lmms and getting to step 2 under "building on linux", this is what I get. I can't progress further with the steps in the site mentioned.

Code: Select all

amir@amir-desktop:~/git/lmms/build$ cmake .. -DCMAKE_INSTALL_PREFIX=../target
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 
PROCESSOR: i686
Machine: i686-linux-gnu
-- Target host is 32 bit
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for include file semaphore.h
-- Looking for include file semaphore.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file sys/ipc.h
-- Looking for include file sys/ipc.h - found
-- Looking for include file sys/shm.h
-- Looking for include file sys/shm.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/wait.h
-- Looking for include file sys/wait.h - found
-- Looking for include file sys/select.h
-- Looking for include file sys/select.h - found
-- Looking for include file stdarg.h
-- Looking for include file stdarg.h - found
-- Looking for include file signal.h
-- Looking for include file signal.h - found
-- Looking for include file sched.h
-- Looking for include file sched.h - found
-- Looking for include file sys/soundcard.h
-- Looking for include file sys/soundcard.h - found
-- Looking for include file soundcard.h
-- Looking for include file soundcard.h - not found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file sys/ioctl.h
-- Looking for include file sys/ioctl.h - found
-- Looking for include file ctype.h
-- Looking for include file ctype.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file process.h
-- Looking for include file process.h - not found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.4", minimum required is "4.3.0;COMPONENTS;QtCore;QtGui;QtXml") 
-- Found Qt translations in /usr/share/qt4/translations
-- checking for module 'sndfile>=1.0.11'
--   found sndfile, version 1.0.25
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Could NOT find SDL (missing:  SDL_LIBRARY SDL_INCLUDE_DIR) 
-- Found STK: /usr/lib/i386-linux-gnu/libstk.so
-- checking for module 'portaudio-2.0'
--   found portaudio-2.0, version 19
-- Found Portaudio: portaudio;asound;m;pthread
-- checking for module 'libpulse'
--   found libpulse, version 4.0
-- Found PulseAudio Simple: /usr/lib/i386-linux-gnu/libpulse.so
-- Looking for vorbis_bitrate_addblock in vorbis
-- Looking for vorbis_bitrate_addblock in vorbis - found
-- Found OggVorbis: /usr/lib/i386-linux-gnu/libogg.so;/usr/lib/i386-linux-gnu/libvorbis.so;/usr/lib/i386-linux-gnu/libvorbisfile.so;/usr/lib/i386-linux-gnu/libvorbisenc.so
-- Looking for snd_seq_create_simple_port in asound
-- Looking for snd_seq_create_simple_port in asound - found
-- Found ALSA: /usr/lib/i386-linux-gnu/libasound.so
-- Looking for include file machine/soundcard.h
-- Looking for include file machine/soundcard.h - not found
-- Looking for include file linux/awe_voice.h
-- Looking for include file linux/awe_voice.h - not found
-- Looking for include file awe_voice.h
-- Looking for include file awe_voice.h - not found
-- Looking for include file /usr/src/sys/i386/isa/sound/awe_voice.h
-- Looking for include file /usr/src/sys/i386/isa/sound/awe_voice.h - not found
-- Looking for include file /usr/src/sys/gnu/i386/isa/sound/awe_voice.h
-- Looking for include file /usr/src/sys/gnu/i386/isa/sound/awe_voice.h - not found
-- Looking for C++ include sys/asoundlib.h
-- Looking for C++ include sys/asoundlib.h - found
-- Looking for C++ include alsa/asoundlib.h
-- Looking for C++ include alsa/asoundlib.h - found
-- Looking for snd_pcm_resume in asound
-- Looking for snd_pcm_resume in asound - found
-- checking for module 'jack>=0.77'
--   found jack, version 1.9.10
-- checking for module 'fftw3f>=3.0.0'
--   found fftw3f, version 3.3.3
-- checking for module 'fluidsynth>=1.0.7'
--   found fluidsynth, version 1.1.6
-- Found Wine: /usr/lib/i386-linux-gnu/libwine.so  
-- checking for module 'samplerate>=0.1.8'
--   found samplerate, version 0.1.8
-- Found Git: /usr/bin/git (found version "1.8.3.2") 
CMake Error at /usr/share/cmake-2.8/Modules/FindX11.cmake:425 (message):
  Could not find X11
Call Stack (most recent call first):
  plugins/zynaddsubfx/CMakeLists.txt:111 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
Have you installed all the dependencies?
It would appear that I have missed a dependency. FFTW3. I can't seem to find it in the regular repositories, though. Any idea how I can get it?
zorbama wrote:It would appear that I have missed a dependency. FFTW3. I can't seem to find it in the regular repositories, though. Any idea how I can get it?
The package you need is libfftw3-dev and should be found in the regular repositories.
I see. Well, that seems to be installed. Then I believe I have all the dependencies. Still, I get the same errors.
Go to the build directory, and remove CMakeCache.txt, then try again.