I'm running FluidSynth v2.0.0.beta1 on Raspberry Pi Zero (ARM, 1 core), trying to play a few sample MIDIs with the "General User" soundfont (http://schristiancollins.com/generaluser.php
) and the CPU gets hosed, stuttering begins, etc.
I suspect the problem is it's running in soft-float mode.
The system reports its specs as:
$ uname -a
Linux raspberrypi 4.14.34+ #1110 Mon Apr 16 14:51:42 BST 2018 armv6l GNU/Linux
Does "armv6l" mean the kernel supports hard-float or not? I'm a bit confused by it. Another command I'm told can show "hard float" capability says:
$ readelf -A $(which dpkg)
Attribute Section: aeabi
Tag_ABI_FP_number_model: IEEE 754
Tag_ABI_align_preserved: 8-byte, except leaf SP
Tag_ABI_VFP_args: VFP registers
So I'm wondering if the Kernel is soft-float only (I need to find a better OS), or if I've mis-compiled FluidSynth.
Here's how I compile FluidSynth, is there a flag I'm missing to enable ARM hard-float?
tar xvzf fluidsynth.tar.gz
sudo apt-get update
sudo apt-get install -y build-essential cmake libasound2-dev libfluidsynth-dev
cd fluidsynth-2.0.0.beta1 && mkdir build && cd build && cmake ..
cd fluidsynth-2.0.0.beta1 && cd build && sudo make install
Any help appreciated, thanks.