Hi Geoff,

sorry for causing confusion with my typos. Teaches me not to write such
technical posts on the go, without access to a console. Glad you got it
sorted.

When you have it running and some time to spare, it would be very
interesting to get some profiling data from the Pi Zero. To compile
FluidSynth with profiling, you would need to enable it via cmake with:
 -Denable-profiling=1

Then start FluidSynth with the General User soundfont (without a MIDI file)
and execute the following commands in the FluidSynth shell:

prof_set_notes 40
prof_set_print 1
prof_start 5 1000

The prof_set_notes number (40 in the above commands) should be chosen so
that the total CPU percentage is below 100% in the profiling output (the
number below "total %"). I always  aim for around 85%.
More information about the profiling feature can be found with "help
profile" in the shell and in doc/FluidProfile_0004.pdf.

Cheers,

    Marcus

2018-06-01 10:04 GMT+02:00 Geoff Plitt <ge...@gweb.org>:

> That worked - thanks!
>
> On Thu, May 31, 2018 at 11:12 PM, Tom M. <tom.m...@googlemail.com> wrote:
>
>> You omitted the 'D'
>>
>> cmake -*D*enable-floats=1 ..
>>
>> See cmake --help for more info.
>>
>> Tom
>>
>>
>> 2018-06-01 0:37 GMT+02:00 Geoff Plitt <ge...@gweb.org>:
>>
>>> When I do that, it still seems to use double, is that what
>>> "enable_floats" is supposed to do?
>>>
>>> Step 2/19 : RUN wget https://github.com/FluidSynth/
>>> fluidsynth/archive/v2.0.0.beta1.tar.gz -O fluidsynth.tar.gz
>>>
>>>  ---> Using cache
>>>
>>>  ---> 6d1df039ca5e
>>>
>>> Step 3/19 : RUN tar xvzf fluidsynth.tar.gz
>>>
>>>  ---> Using cache
>>>
>>>  ---> eb162b053289
>>>
>>> Step 4/19 : RUN sudo apt-get update
>>>
>>>  ---> Using cache
>>>
>>>  ---> 5892ae7ddf78
>>>
>>> Step 5/19 : RUN sudo apt-get install -y build-essential cmake
>>> libasound2-dev libfluidsynth-dev
>>>
>>>  ---> Using cache
>>>
>>>  ---> 2ba470419107
>>>
>>> Step 6/19 : RUN cd fluidsynth-2.0.0.beta1 && mkdir build && cd build &&
>>> cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS_RELEASE="-ffast-math
>>> -O3" -enable-floats=true ..
>>>
>>>  ---> Running in a4114c37e718
>>>
>>> -- The C compiler identification is GNU 4.9.2
>>>
>>> -- 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
>>>
>>> -- Detecting C compile features
>>>
>>> -- Detecting C compile features - done
>>>
>>> -- Checking whether system has ANSI C header files
>>>
>>> -- Looking for 8 include files dlfcn.h, ..., float.h
>>>
>>> -- Looking for 8 include files dlfcn.h, ..., float.h - found
>>>
>>> -- Performing Test memchrExists
>>>
>>> -- Performing Test memchrExists - Success
>>>
>>> -- Performing Test freeExists
>>>
>>> -- Performing Test freeExists - Success
>>>
>>> -- ANSI C header files - found
>>>
>>> -- Looking for include file unistd.h
>>>
>>> -- Looking for include file unistd.h - found
>>>
>>> -- Looking for DIR in sys/stat.h;sys/types.h;dirent.h
>>>
>>> -- Looking for DIR in sys/stat.h;sys/types.h;dirent.h - found
>>>
>>> -- Looking for stdio.h
>>>
>>> -- Looking for stdio.h - found
>>>
>>> -- Looking for math.h
>>>
>>> -- Looking for math.h - found
>>>
>>> -- Looking for errno.h
>>>
>>> -- Looking for errno.h - found
>>>
>>> -- Looking for stdarg.h
>>>
>>> -- Looking for stdarg.h - found
>>>
>>> -- Looking for memory.h
>>>
>>> -- Looking for memory.h - found
>>>
>>> -- Looking for sys/mman.h
>>>
>>> -- Looking for sys/mman.h - found
>>>
>>> -- Looking for sys/time.h
>>>
>>> -- Looking for sys/time.h - found
>>>
>>> -- Looking for sys/ioctl.h
>>>
>>> -- Looking for sys/ioctl.h - found
>>>
>>> -- Looking for fcntl.h
>>>
>>> -- Looking for fcntl.h - found
>>>
>>> -- Looking for sys/socket.h
>>>
>>> -- Looking for sys/socket.h - found
>>>
>>> -- Looking for netinet/in.h
>>>
>>> -- Looking for netinet/in.h - found
>>>
>>> -- Looking for netinet/tcp.h
>>>
>>> -- Looking for netinet/tcp.h - found
>>>
>>> -- Looking for arpa/inet.h
>>>
>>> -- Looking for arpa/inet.h - found
>>>
>>> -- Looking for limits.h
>>>
>>> -- Looking for limits.h - found
>>>
>>> -- Looking for pthread.h
>>>
>>> -- Looking for pthread.h - found
>>>
>>> -- Looking for signal.h
>>>
>>> -- Looking for signal.h - found
>>>
>>> -- Looking for getopt.h
>>>
>>> -- Looking for getopt.h - found
>>>
>>> -- Performing Test _have_inline
>>>
>>> -- Performing Test _have_inline - Success
>>>
>>> -- Performing Test _have_vla
>>>
>>> -- Performing Test _have_vla - Success
>>>
>>> -- Check if the system is big endian
>>>
>>> -- Searching 16 bit integer
>>>
>>> -- Check size of unsigned short
>>>
>>> -- Check size of unsigned short - done
>>>
>>> -- Using unsigned short
>>>
>>> -- Check if the system is big endian - little endian
>>>
>>> -- Looking for pthread.h
>>>
>>> -- Looking for 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
>>>
>>> -- Looking for inet_ntop
>>>
>>> -- Looking for inet_ntop - found
>>>
>>> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
>>>
>>> -- Checking for modules 'glib-2.0>=2.6.5;gthread-2.0>=2.6.5'
>>>
>>> --   Found glib-2.0, version 2.42.1
>>>
>>> --   Found gthread-2.0, version 2.42.1
>>>
>>> -- Checking for module 'sndfile>=1.0.0'
>>>
>>> --   Found sndfile, version 1.0.25
>>>
>>> -- Checking for module 'sndfile>=1.0.18'
>>>
>>> --   Found sndfile, version 1.0.25
>>>
>>> -- Checking for module 'libpulse-simple>=0.9.8'
>>>
>>> --   Found libpulse-simple, version 5.0
>>>
>>> -- Checking for module 'alsa>=0.9.1'
>>>
>>> --   Found alsa, version 1.0.28
>>>
>>> -- Checking for module 'jack'
>>>
>>> --   Found jack, version 0.124.1
>>>
>>> -- Checking for module 'lash-1.0>=0.3'
>>>
>>> --
>>>
>>> -- Checking for module 'dbus-1>=1.0.0'
>>>
>>> --   Found dbus-1, version 1.8.22
>>>
>>> -- Looking for ladspa.h
>>>
>>> -- Looking for ladspa.h - not found
>>>
>>> -- Found READLINE: /usr/include
>>>
>>> -- Found OpenMP
>>>
>>> -- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
>>>
>>>
>>> **************************************************************
>>>
>>> Summary:
>>>
>>> Build type:            Release
>>>
>>> libsndfile:            yes (with ogg vorbis support)
>>>
>>> D-Bus:                 yes
>>>
>>> PulseAudio:            yes
>>>
>>> JACK:                  yes
>>>
>>> ALSA:                  yes
>>>
>>> PortAudio:             no
>>>
>>> OSS:                   yes
>>>
>>> MidiShare:             no
>>>
>>> CoreAudio:             no
>>>
>>> CoreMIDI:              no
>>>
>>> Windows:               no
>>>
>>> LADSPA support:        no
>>>
>>> LASH support:          no
>>>
>>> OS/2 DART support:     no
>>>
>>> Audio to file driver:  yes
>>>
>>> NETWORK Support :      yes
>>>
>>> IPV6 Support :         yes
>>>
>>> Readline:              yes (NOTE: GPL library)
>>>
>>> Samples type=float:    no (using double)
>>>
>>> Profiling:             no
>>>
>>> OpenMP 4.0:            yes
>>>
>>> Debug:                 no
>>>
>>> Trap on FPE (debug):   no
>>>
>>> Check FPE (debug):     no
>>>
>>> **************************************************************
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> fluid-dev mailing list
>>> fluid-dev@nongnu.org
>>> https://lists.nongnu.org/mailman/listinfo/fluid-dev
>>>
>>>
>>
>> _______________________________________________
>> fluid-dev mailing list
>> fluid-dev@nongnu.org
>> https://lists.nongnu.org/mailman/listinfo/fluid-dev
>>
>>
>
> _______________________________________________
> fluid-dev mailing list
> fluid-dev@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/fluid-dev
>
>
_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fluid-dev

Reply via email to