Closed bimole closed 9 years ago
Hi,
The problem here: the version of the LV2 headers on your system is too old (> 2 years).
But it is really odd, that you get this error. The makefile checks for this: pkg-config --atleast-version=1.4.6 lv2
. I cannot explain nor reproduce the error with setBfree+git.
Which version of setBfree is this? recent git? what version of lv2-dev is installed on the system?
Not a solution to this specific problem, but for inverting the drawbar direction (or any CC value), simply suffix the binding with a minus sign. e.g.
midi.controller.upper.24=upper.drawbar4-
(recent versions allow to shift+click in the GUI to bind the inverted range). One thing that I'm curious about: Did the GUI previously run on the RPi? Did OpenGL support finally land there?
Also there is no need to modify the makefile you can simply run
make OPTIMIZATIONS="-ffast-math -O3"
to get rid of the default sse.
Hi,
Thank you for your answer!
Using "make OPTIMIZATIONS= -O2" (how do you make these framework with instructions inside?!!) worked perfectly.
setBfree is the last version. I dowloaded it yesterday. I also update lv2-dev but it happens again. Actually I noticed that setBfree.exe is still built in the /src directory and when I copy it into the root directory /setBfree-master, I can launch it and it works perfectly, but it is in command line mode! I think (I'm a total newbie!) that the problem comes from the setBfreeGUI.exe which could not be created... I remeber that the guy who helped me at the first time told me that he had problem with the GUI. Anyway I have no need for the GUI interface for my application!
To invert the drawbar direction I found something which works for me : In "tonegene.c" find :
static void setMIDIDrawBar (int bus, unsigned char v) { setDrawBar (bus, (8 * ((unsigned int) (127 - v))) / 127); }
Just change "127 - v" with "v", recompile and it must work.
Another question : the V/C routing for UPPER and LOWER manual is made by a single CC#. The values between 0 and 127 are splitted in four regions : OFF, LOWER, UPPER, BOTH. So it is intended for use with a pot or slider rather than a switch button. It is a bit annoying since I have two switch button, one for UPPER and one for LOWER manual. I would like to assign these buttons respectively. I don't know where I can modify the script to do that...
An idea ?
".exe" ? really? Didn't you just mention RPI setBfree.exe
is the window version. it should be just setBfree
on OSX and Linux.
Would you mind posting a complete build-log? (the full error incl the compiler commandline that fails).
PS. Re: vibrato there is vibrato.knob
a single knob to control both. and vibrato.upper
+ vibrato.lower
to control them separately.
As ".exe" I meant the executable file created after compilation! Sorry, it's just Windows brainwashing!!
The tip for V/C is working!! Thank you!
Here is the complete build-log :
pi@raspberrypi ~/setBfree-master-bis $ make OPTIMIZATIONS="-ffast-math -O3"
make -C b_overdrive
make[1]: Entering directory '/home/pi/setBfree-master-bis/b_overdrive'
fatal: Not a git repository (or any of the parent directories): .git
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-DHAVE_LIBLO pkg-config --cflags liblo
-DHAVE_JACK pkg-config --cflags jack
-c -o overdrive.o overdrive.c
sed "s/@LV2NAME@/b_overdrive/;s/@LIB_EXT@/.so/" manifest.ttl.in > manifest.ttl
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-DHAVE_LIBLO pkg-config --cflags liblo
-DHAVE_JACK pkg-config --cflags jack
-fvisibility=hidden \
-o b_overdrive.so lv2.c overdrive.o \
-shared -Wl,-Bstatic -Wl,-Bdynamic
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-DHAVE_LIBLO pkg-config --cflags liblo
-DHAVE_JACK pkg-config --cflags jack
jboverdrive.c overdrive.o -lm pkg-config --libs liblo
pkg-config --libs jack
-o jboverdrive
make[1]: Leaving directory '/home/pi/setBfree-master-bis/b_overdrive'
make -C b_whirl
make[1]: Entering directory '/home/pi/setBfree-master-bis/b_whirl'
fatal: Not a git repository (or any of the parent directories): .git
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
pkg-config --cflags lv2
-fvisibility=hidden -c -o whirl.o whirl.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
pkg-config --cflags lv2
-fvisibility=hidden -c -o eqcomp.o eqcomp.c
sed "s/@LV2NAME@/b_whirl/;s/@LIB_EXT@/.so/" manifest.ttl.in > manifest.ttl
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
pkg-config --cflags lv2
-fvisibility=hidden \
-o b_whirl.so lv2.c whirl.o eqcomp.o \
-shared -Wl,-Bstatic -Wl,-Bdynamic
make[1]: Leaving directory '/home/pi/setBfree-master-bis/b_whirl'
make -C b_reverb
make[1]: Entering directory '/home/pi/setBfree-master-bis/b_reverb'
fatal: Not a git repository (or any of the parent directories): .git
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
pkg-config --cflags lv2
-fvisibility=hidden -c -o reverb.o reverb.c
sed "s/@LV2NAME@/b_reverb/;s/@LIB_EXT@/.so/" manifest.ttl.in > manifest.ttl
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
pkg-config --cflags lv2
-fvisibility=hidden \
-o b_reverb.so lv2.c reverb.o \
-shared -Wl,-Bstatic -Wl,-Bdynamic
make[1]: Leaving directory '/home/pi/setBfree-master-bis/b_reverb'
make -C b_conv
make[1]: Entering directory '/home/pi/setBfree-master-bis/b_conv'
fatal: Not a git repository (or any of the parent directories): .git
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/pi/setBfree-master-bis/b_conv'
make -C src
make[1]: Entering directory '/home/pi/setBfree-master-bis/src'
fatal: Not a git repository (or any of the parent directories): .git
"compiling w/o ZITA Convolution Reverb -- needs libzita-convolver3 and libsndfile"
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o midi.o midi.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o midi_aseq.o midi_aseq.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o state.o state.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o vibrato.o vibrato.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o tonegen.o tonegen.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o program.o program.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o pgmParser.o pgmParser.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o cfgParser.o cfgParser.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o main.o main.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o midnam.o midnam.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o memstream.o memstream.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
\
-o setBfree midi.o midi_aseq.o state.o vibrato.o tonegen.o program.o pgmParser.o cfgParser.o main.o midnam.o memstream.o ../b_reverb/reverb.c ../b_whirl/eqcomp.c ../b_whirl/whirl.c ../b_overdrive/overdrive.c \
-lm -lpthread pkg-config --libs alsa
pkg-config --libs jack
make[1]: Leaving directory '/home/pi/setBfree-master-bis/src'
make -C b_synth
make[1]: Entering directory '/home/pi/setBfree-master-bis/b_synth'
fatal: Not a git repository (or any of the parent directories): .git
sed "s/@LV2NAME@/b_synth/;s/@LIB_EXT@/.so/" manifest.ttl.in > manifest.ttl
sed "s/@LV2NAME@/b_synth/;s/@LV2GUI@/b_synthUI/;s/@LIB_EXT@/.so/;s/@UI_TYPE@/X11UI/" manifest.ui.ttl.in >> manifest.ttl
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../src -I../b_overdrive -I../b_reverb -I../b_whirl pkg-config --cflags lv2
-DLV2SYNTH -fvisibility=hidden -std=c99 \
-o b_synth.so \
lv2.c ../src/midi.c ../src/cfgParser.c ../src/program.c ../src/vibrato.c ../src/state.c ../src/tonegen.c ../src/pgmParser.c ../src/memstream.c ../b_whirl/eqcomp.c ../b_whirl/whirl.c ../b_overdrive/overdrive.c ../b_reverb/reverb.c \
-shared -Wl,-Bstatic -Wl,-Bdynamic -lm
cat b_synth.ttl.in > b_synth.ttl
sed "s/@UI_TYPE@/X11UI/;s/@UI_REQ@//;" b_synth.ui.ttl.in >> b_synth.ttl
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../src -I../b_overdrive -I../b_reverb -I../b_whirl pkg-config --cflags lv2
-DLV2SYNTH -fvisibility=hidden -std=c99 -I.. -DFONTFILE=\"/usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf\" pkg-config --cflags freetype2
pkg-config --cflags ftgl
-DHAVE_FTGL -DUINQHACK=Sbf \
-o b_synthUI.so ui.c -DCONFIGDOCONLY \
../src/midi.c \
../src/program.c \
../src/vibrato.c \
../src/tonegen.c \
../b_whirl/whirl.c \
../b_overdrive/overdrive.c \
../b_reverb/reverb.c \
-shared -Wl,-Bstatic -Wl,-Bdynamic ../pugl/pugl_x11.c -lX11 pkg-config --libs glu ftgl
make[1]: Leaving directory '/home/pi/setBfree-master-bis/b_synth'
make -C ui
make[1]: Entering directory '/home/pi/setBfree-master-bis/ui'
fatal: Not a git repository (or any of the parent directories): .git
make -C ../b_synth /usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf
make[2]: Entering directory '/home/pi/setBfree-master-bis/b_synth'
fatal: Not a git repository (or any of the parent directories): .git
make[2]: Nothing to be done for '/usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf'.
make[2]: Leaving directory '/home/pi/setBfree-master-bis/b_synth'
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../src -I../b_overdrive -I../b_reverb -I../b_whirl -I../b_synth/ pkg-config --cflags lv2
-DLV2SYNTH -std=c99 -I.. -DFONTFILE=\"/usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf\" pkg-config --cflags freetype2
pkg-config --cflags ftgl
-DHAVE_FTGL -DUINQHACK=Sbf \
-pthread \
-DXTERNAL_UI -DHAVE_IDLE_IFACE -DJACK_AUTOCONNECT=15 \
-DJACK_DESCRIPT=\"desc.h\" \
-o setBfreeUI \
jackwrap.c \
../src/midi.c ../src/cfgParser.c ../src/program.c ../src/vibrato.c ../src/state.c ../src/tonegen.c ../src/pgmParser.c ../src/memstream.c ../b_whirl/eqcomp.c ../b_whirl/whirl.c ../b_overdrive/overdrive.c ../b_reverb/reverb.c ../b_synth/lv2.c ../b_synth/ui.c \
../pugl/pugl_x11.c -lX11 pkg-config --libs glu ftgl
pkg-config --libs jack
\
-lm
../b_synth/ui.c:4717:1: error: unknown type name 'LV2UI_Idle_Interface'
../b_synth/ui.c:4717:1: warning: initialization makes integer from pointer without a cast [enabled by default]
../b_synth/ui.c:4717:1: warning: (near initialization for 'idle_iface') [enabled by default]
../b_synth/ui.c: In function 'extension_data':
../b_synth/ui.c:4724:8: error: 'LV2_UI__idleInterface' undeclared (first use in this function)
../b_synth/ui.c:4724:8: note: each undeclared identifier is reported only once for each function it appears in
../b_synth/ui.c:4724:8: warning: left-hand operand of comma expression has no effect [-Wunused-value]
../b_synth/ui.c:4724:8: warning: left-hand operand of comma expression has no effect [-Wunused-value]
Makefile:44: recipe for target 'setBfreeUI' failed
make[1]: * [setBfreeUI] Error 1
make[1]: Leaving directory '/home/pi/setBfree-master-bis/ui'
Makefile:13: recipe for target 'ui' failed
make: * [ui] Error 2
pi@raspberrypi ~/setBfree-master-bis $
Aah the new standalone JACK GUI. (not b_synth LV2 gui). that explains things.
Well, the lv2 version you have is still to old: "no idle interface" supported. The standalone JACK GUI does not even use it but should check and disable the relevant code anyway.
I'll fix it later today. It's a simple change, but I have to run now. give me a couple of hours.
Thanks!
You have all the time!
I've tried a new compilation with your bug fix but it still crashes at the end :
Here is the log :
pi@raspberrypi ~/setBfree-master_LV2_fix $ make OPTIMIZATIONS="-ffast-math -O3"
make -C b_overdrive
make[1]: Entering directory '/home/pi/setBfree-master_LV2_fix/b_overdrive'
fatal: Not a git repository (or any of the parent directories): .git
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-DHAVE_LIBLO pkg-config --cflags liblo
-DHAVE_JACK pkg-config --cflags jack
-c -o overdrive.o overdrive.c
sed "s/@LV2NAME@/b_overdrive/;s/@LIB_EXT@/.so/" manifest.ttl.in > manifest.ttl
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-DHAVE_LIBLO pkg-config --cflags liblo
-DHAVE_JACK pkg-config --cflags jack
-fvisibility=hidden \
-o b_overdrive.so lv2.c overdrive.o \
-shared -Wl,-Bstatic -Wl,-Bdynamic
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-DHAVE_LIBLO pkg-config --cflags liblo
-DHAVE_JACK pkg-config --cflags jack
jboverdrive.c overdrive.o -lm pkg-config --libs liblo
pkg-config --libs jack
-o jboverdrive
make[1]: Leaving directory '/home/pi/setBfree-master_LV2_fix/b_overdrive'
make -C b_whirl
make[1]: Entering directory '/home/pi/setBfree-master_LV2_fix/b_whirl'
fatal: Not a git repository (or any of the parent directories): .git
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
pkg-config --cflags lv2
-fvisibility=hidden -c -o whirl.o whirl.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
pkg-config --cflags lv2
-fvisibility=hidden -c -o eqcomp.o eqcomp.c
sed "s/@LV2NAME@/b_whirl/;s/@LIB_EXT@/.so/" manifest.ttl.in > manifest.ttl
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
pkg-config --cflags lv2
-fvisibility=hidden \
-o b_whirl.so lv2.c whirl.o eqcomp.o \
-shared -Wl,-Bstatic -Wl,-Bdynamic
make[1]: Leaving directory '/home/pi/setBfree-master_LV2_fix/b_whirl'
make -C b_reverb
make[1]: Entering directory '/home/pi/setBfree-master_LV2_fix/b_reverb'
fatal: Not a git repository (or any of the parent directories): .git
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
pkg-config --cflags lv2
-fvisibility=hidden -c -o reverb.o reverb.c
sed "s/@LV2NAME@/b_reverb/;s/@LIB_EXT@/.so/" manifest.ttl.in > manifest.ttl
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
pkg-config --cflags lv2
-fvisibility=hidden \
-o b_reverb.so lv2.c reverb.o \
-shared -Wl,-Bstatic -Wl,-Bdynamic
make[1]: Leaving directory '/home/pi/setBfree-master_LV2_fix/b_reverb'
make -C b_conv
make[1]: Entering directory '/home/pi/setBfree-master_LV2_fix/b_conv'
fatal: Not a git repository (or any of the parent directories): .git
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/pi/setBfree-master_LV2_fix/b_conv'
make -C src
make[1]: Entering directory '/home/pi/setBfree-master_LV2_fix/src'
fatal: Not a git repository (or any of the parent directories): .git
"compiling w/o ZITA Convolution Reverb -- needs libzita-convolver3 and libsndfile"
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o midi.o midi.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o midi_aseq.o midi_aseq.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o state.o state.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o vibrato.o vibrato.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o tonegen.o tonegen.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o program.o program.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o pgmParser.o pgmParser.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o cfgParser.o cfgParser.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o main.o main.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o midnam.o midnam.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
-c -o memstream.o memstream.c
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../b_overdrive/ -I../b_whirl -I../b_reverb -I../b_conv -DSHAREDIR="\"/usr/local/share/setBfree\"" -DHAVE_ASEQ pkg-config --cflags alsa
pkg-config --cflags jack
\
-o setBfree midi.o midi_aseq.o state.o vibrato.o tonegen.o program.o pgmParser.o cfgParser.o main.o midnam.o memstream.o ../b_reverb/reverb.c ../b_whirl/eqcomp.c ../b_whirl/whirl.c ../b_overdrive/overdrive.c \
-lm -lpthread pkg-config --libs alsa
pkg-config --libs jack
make[1]: Leaving directory '/home/pi/setBfree-master_LV2_fix/src'
make -C b_synth
make[1]: Entering directory '/home/pi/setBfree-master_LV2_fix/b_synth'
fatal: Not a git repository (or any of the parent directories): .git
sed "s/@LV2NAME@/b_synth/;s/@LIB_EXT@/.so/" manifest.ttl.in > manifest.ttl
sed "s/@LV2NAME@/b_synth/;s/@LV2GUI@/b_synthUI/;s/@LIB_EXT@/.so/;s/@UI_TYPE@/X11UI/" manifest.ui.ttl.in >> manifest.ttl
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../src -I../b_overdrive -I../b_reverb -I../b_whirl pkg-config --cflags lv2
-DLV2SYNTH -fvisibility=hidden -std=c99 \
-o b_synth.so \
lv2.c ../src/midi.c ../src/cfgParser.c ../src/program.c ../src/vibrato.c ../src/state.c ../src/tonegen.c ../src/pgmParser.c ../src/memstream.c ../b_whirl/eqcomp.c ../b_whirl/whirl.c ../b_overdrive/overdrive.c ../b_reverb/reverb.c \
-shared -Wl,-Bstatic -Wl,-Bdynamic -lm
cat b_synth.ttl.in > b_synth.ttl
sed "s/@UI_TYPE@/X11UI/;s/@UI_REQ@//;" b_synth.ui.ttl.in >> b_synth.ttl
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../src -I../b_overdrive -I../b_reverb -I../b_whirl pkg-config --cflags lv2
-DLV2SYNTH -fvisibility=hidden -std=c99 -I.. -DFONTFILE=\"/usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf\" pkg-config --cflags freetype2
pkg-config --cflags ftgl
-DHAVE_FTGL -DUINQHACK=Sbf \
-o b_synthUI.so ui.c -DCONFIGDOCONLY \
../src/midi.c \
../src/program.c \
../src/vibrato.c \
../src/tonegen.c \
../b_whirl/whirl.c \
../b_overdrive/overdrive.c \
../b_reverb/reverb.c \
-shared -Wl,-Bstatic -Wl,-Bdynamic ../pugl/pugl_x11.c -lX11 pkg-config --libs glu ftgl
make[1]: Leaving directory '/home/pi/setBfree-master_LV2_fix/b_synth'
make -C ui
make[1]: Entering directory '/home/pi/setBfree-master_LV2_fix/ui'
fatal: Not a git repository (or any of the parent directories): .git
make -C ../b_synth /usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf
make[2]: Entering directory '/home/pi/setBfree-master_LV2_fix/b_synth'
fatal: Not a git repository (or any of the parent directories): .git
make[2]: Nothing to be done for '/usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf'.
make[2]: Leaving directory '/home/pi/setBfree-master_LV2_fix/b_synth'
cc -ffast-math -O3 -Wall -fPIC -DVERSION="\"0.7.5\"" -DOLD_SUIL -DHAVE_MEMSTREAM pkg-config --cflags glu
-I../src -I../b_overdrive -I../b_reverb -I../b_whirl -I../b_synth/ pkg-config --cflags lv2
-DLV2SYNTH -std=c99 -I.. -DFONTFILE=\"/usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf\" pkg-config --cflags freetype2
pkg-config --cflags ftgl
-DHAVE_FTGL -DUINQHACK=Sbf \
-pthread \
-DXTERNAL_UI -DHAVE_IDLE_IFACE -DJACK_AUTOCONNECT=15 \
-DJACK_DESCRIPT=\"desc.h\" \
-o setBfreeUI \
jackwrap.c \
../src/midi.c ../src/cfgParser.c ../src/program.c ../src/vibrato.c ../src/state.c ../src/tonegen.c ../src/pgmParser.c ../src/memstream.c ../b_whirl/eqcomp.c ../b_whirl/whirl.c ../b_overdrive/overdrive.c ../b_reverb/reverb.c ../b_synth/lv2.c ../b_synth/ui.c \
../pugl/pugl_x11.c -lX11 pkg-config --libs glu ftgl
pkg-config --libs jack
\
-lm
/usr/bin/ld: /tmp/ccjhPAzj.o: undefined reference to symbol 'clock_gettime@@GLIBC_2.4'
//lib/arm-linux-gnueabihf/librt.so.1: error adding symbols: DSO missing from command line
collect2: ld returned 1 exit status
Makefile:44: recipe for target 'setBfreeUI' failed
make[1]: * [setBfreeUI] Error 1
make[1]: Leaving directory '/home/pi/setBfree-master_LV2_fix/ui'
Makefile:13: recipe for target 'ui' failed
make: * [ui] Error 2
pi@raspberrypi ~/setBfree-master_LV2_fix $
OK, another one that I missed. Should be fixed now. .. and you should be ready for the world smallest B3 and lightest leslie :)
Please let me knowi how well the openGL GUI works on the Pi. Cheers!
The compilation is now OK! Congrats!! A new binary file is created in the /ui directory : setBfreeUI When I try to launch it a window is appearing with nothing inside and I got the following error in the terminal :
JackEngine::XRun: client = setBfree DSP Tonewheel Organ was not run: state = 1 JackAudioDriver::ProcessGraphAsyncMaster: Process error
Many many times...
The CPU resource is >100% !
I thought so.
I suspect that the RPi you're using has no hardware accelerated openGL. Last time I tried it (some 2 years ago) it took the RPi about 4 minutes to render a single video-frame (using mesa GL software emulation). Still the audio-thread should not block, but on the RPi it will without a preempt-rt kernel. especially if you use a USB soundcard.
Eric Anholt is working on a proper GL stack for RPi. He did a recent (Jan'15) presentation at LCA, but I don't think this stuff is rolled out. Particularly since you have a 2 year old lv2-dev package, your RPi setup is unlikely to have that already.
It's not made for stuff like this, really. Even just using it as a synth (ui-less commandline app, midi-controlled) is somewhat questionable. It's a fun project, works very well for a prototype but is still not something I'd take on stage.
PS. Good to know that it starts and does not crash. I though that maybe some ARM-CPU specific alignment issues in the synth <> GUI protocol crept in.
I'm using an old version of the Raspberry. I will receive soon the model 2. I will try again. But no matter, I use setBfree in terminal mode without X11. All is working perfectly. I have some latency with the on-board audio but I expect much less with an USB sound stick. This is the last point to solve before I embed the RPi in my KORG CX-3, to renew his dusty sound engine!!
Thank you so much for your help!
Ooh nice. this is going inside a real keyboard and the CX-3 even has drawbars. Cool.
While the RPi is a fun toy for prototyping, getting pro-audio [USB] soundcards working with it reliably is far from trivial (if even possible). For the real thing, I recommend getting a slightly fancier single-board PC. e.g. Intel Atom (also supports sse, and has a FPU). It's a bit more expensive than a RPi but not by much. e.g: http://www2.advantech.com/atom/technology/technology.aspx or similar.YMMV.
Apart from the fact I'm still using the crappy on-board sound, it works quite good. Feeding a NeoVentilator 2 for the Leslie effect, I got beefy and very "analog" sound. I think that the special musical temperament (gear50) is responsible for these not-so-in-tune behaviour on some chords, and very accurate on others, it is very subtle. It only lacks a little on bass (a 2-band EQ would certainly help). With some scripts, setBfree and all necessary services (JACK, ttymidi and aconnect) self start and I can play within 1 min! Let's say that it is the time for tonewheels to warm up ;-) ! I plan to use a Terractec Aureon dual USB stick for the sound. Il offers also an optical out!! According to several reviews it may work with the Pi as well as the Behringer UCA202, which is bigger but has a better DAC (PCM 2902). I hope it will work with JACK. In the future, I would like to design a DAC board using GPIO pins. I know it exists (HiFiBerry) but it's not yet compatible with JACK (mmap issues...).
I will search informations about Intel ATOM platforms but I would no to spend more than 100€ for a single board PC. Advantech seems to be professionnal oriented platforms ans hence quite expensive... Maybe the Minnowboard could be an interresting alternative... And there is also tne RPi model 2!
I will keep you informed as soon as ill succeed (or fail)!
Hello,
I try to install setBfree with make OPTIMIZATIONS=-O2 (after having installed the mandatory libraries), but the compilation is very long (10-15 min) and it fails at the end :
../b_synth/ui.c:4717:1: error: unknown type name 'LV2UI_Idle_Interface' ../b_synth/ui.c:4717:1: warning: initialization makes integer from pointer without a cast [enabled by default] ../b_synth/ui.c:4717:1: warning: (near initialization for 'idle_iface') [enabled by default] ../b_synth/ui.c: In function 'extension_data': ../b_synth/ui.c:4724:8: error: 'LV2_UI__idleInterface' undeclared (first use in this function) ../b_synth/ui.c:4724:8: note: each undeclared identifier is reported only once for each function it appears in ../b_synth/ui.c:4724:8: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../b_synth/ui.c:4724:8: warning: left-hand operand of comma expression has no effect [-Wunused-value] Makefile:44: recipe for target 'setBfreeUI' failed make[1]: * [setBfreeUI] Error 1 make[1]: Leaving directory '/home/pi/setBfree-master/ui' Makefile:13: recipe for target 'ui' failed make: * [ui] Error 2
I have to precise that setBfree was working after a first attempt to install it. Someone helped me to install it. The only problem he met was the missing "sse2" message in common.mak. It was solved by commenting it. I wanted to re-compile it after a modification in tonegene.c (inverting values for drawbars).
Could you help me please?
PS : Many thanks to those who keep this beautiful project alive :-) !! :+1: