* use SoundFormatSigned24_32 format instead of SoundFormatSigned16
More detailed, and not much slower.
* fix ARM_MATH_NEON defines
---------
Co-authored-by: probonopd <probonopd@users.noreply.github.com>
The MIDIi defines would also be needed in uibuttons.cpp.
Create a common midi.h with the definitions.
---------
Co-authored-by: probonopd <probonopd@users.noreply.github.com>
The PCM510x has a zero-data detect function. When the device detects continuous zero data, it enters a full analog mute condition. The PCM510x counts zero data over 1024LRCKs (21ms @ 48kHz) before setting analog mute. This caused audible artifacts. Hence we are generating an inaudibly small signal to prevent the analog mute from kicking in.
Thanks @soyersoyer
Similar to soyersoyer#5
* Simple implementation of MIDI CC 11 (Expression) as a live, MIDI only, multiplier for channel volume.
* Add config option for global MIDI CC Expression channel
Since it wraps around since a while. (Not so sure we actually want it to wrap around in some but not other places, but for now it wraps around, so we should show both arrows.)
* Move button config into uibuttons rather than userinterface.cpp
* Implementation of Bank Select buttons and MIDI buttons.
* Fix MIDI button mapping issue.
* Initial implementation of system-level, i.e. all TG, MIDI control maps
* Ensure msg only handled once by the first TG with a matching receiving MIDI channel.
* Optimise system CC handling esp when unrecognised CCs are received.
* Update in optimisation of System CC handling.
* Initial commit for configuration TGs and polyphony across RPI1-5.
* Ensure unused TGs in a performance are MIDI disabled. Set polyphony to higher defaults on Pi 4 and 5.
* Actually, can just default to MIDI "disabled" directly in performance config if not present.
* Fix issue with choosing max polyphony