* Support hierarchic menus
This introduces a new menu engine implemented in the class CUIMenu,
which can be configured with C-tables. This should make it easier to
extend the menus, without modifying the code too much. The UI provides
a main menu, which selects the TG to be edited and a TG sub-menu, which
presents the already known TG parameters (voice bank, voice, volume,
pan, detune and channel). A sub-menu is entered with single click and
left with double click. There are arrows displayed on the LCD, which
show the direction(s), to which the knob can be moved. All TG related
parameters are maintained in the class CMiniDexed now.
* uimenu: Make the tables const
* uimenu: Add sub-menu "Edit Voice"
Menu items can be re-sorted, if necessary.
* uimenu: Add "Reverb" sub-menu
* Map reverb float parameters to range 0 .. 99
* minidexed: Add global (non-TG) parameters
* minidexed: Protect reverb module with spin lock
* Additions for compressor.
* Added code for enabling compressor of Synth_Dexed (with default values).
* First try for adding a reverb effect.
* Fixes for reverb.
* Added full implementation of plate reverb.
* -o KERNEL_MAX_SIZE=0x400000
https://github.com/probonopd/MiniDexed/pull/59#issuecomment-1086713102
Co-authored-by: Holger Wirtz <wirtz@parasitstudio.de>
Co-authored-by: probonopd <probonopd@users.noreply.github.com>
There has been a swap of the Stereo channels with HDMI. With the new
option "ChannelsSwapped=0|1" in minidexed.ini one can swap the channels
again, in case it is needed.
* dexedadapter: Protect setSustain() with spin-lock too
* Initial support for multiple Dexed instances
* Currently 2 similar instances, which work with the same parameters
* Only 1 instance with max. 8 notes polyphony on RPi 1
* Chunk size needs to be increased on RPi 1
* Support 8 Dexed instances (TGs) with multi-core
* Core 1 kicks core 2 and 3 and processes two TGs then
* Cores 2 and 3 wait for a kick and process three TGs each then
* When all cores are ready, the output will be summed up
* All 8 TGs generate the same sound at the moment
* The maximum chunk size is limited to 4096 now
* Maintain voice bank number per TG
* Support TG select in UI
* Active TG number is shown on LCD display
* Next TG is selected by double click
* MIDI receive and PC keyboard are still in omni mode
* pckeyboard: Fake MIDI events
* on MIDI cable 0, channel 0
* instead of calling key[down|up]()
* derive from class CMIDIDevice
* ui: Precede screen messages with TG number
* Configure MIDI mapping from UI
* ui: New menu item "MIDI" for configures assigned MIDI channel
* ui: Holding switch for at least one second returns to menu home
* ui: Do not show TG instance, if there is only one
* By default TG1 is in omni mode, all other TGs are not assigned
* config: Default chunk size is 1024 without multi-core
* Cleanup Makefile
* Update submodule circle-stdlib to v15.12
* System options can be defined cleaner using the "-o" option
* Include KY-040 driver from Circle (removed from MiniDexed)
* Render sound on secondary CPU core 1
* Enable multi-core support on Raspberry Pi 2-4
* Does still work on the Raspberry Pi 1 with restrictions
* Use CSoundBaseDevice::Write() instead overriding GetChunk()
* CMiniDexed is not derived from the sound device classes any more
* Add option SCREEN_DMA_BURST_LENGTH=1 to relieve bus congestion
* Add volume control to MIDI CC and UI
* Add CPU full speed support
Normally the CPU runs at a reduced speed in bare metal applications.
With this update and the setting "fast=true" in the file cmdline.txt, it
runs at the full speed.
Co-authored-by: probonopd <probonopd@users.noreply.github.com>
* Fixes for using standard Synth_Dexed.
Added support for CMSIS.
* Fix for branch of Synth_Dexed
* Submodules for Synth_Dexed and CMSIS_5 added.
* Installation example in README.md: Added different compiler installation.
Added ARM_MATH_NEON to src/Makefile.
* Added (README.md) command for installation on SD card.
FIXME: Remove this line once upstreamed
Co-authored-by: Holger Wirtz <wirtz@parasitstudio.de>
Co-authored-by: probonopd <probonopd@users.noreply.github.com>
* Fixes for using standard Synth_Dexed.
Added support for CMSIS.
* Fix for branch of Synth_Dexed
* Submodules for Synth_Dexed and CMSIS_5 added.
Co-authored-by: Holger Wirtz <wirtz@parasitstudio.de>
Should result in a smaller IRQ latency on CPU core 0 and in a better USB handling.
It still works on the RPi 1 too, but the MIDI dump and profiling has to be disabled there,
otherwise one will hear drops, when the screen scrolls.
https://github.com/probonopd/MiniDexed/issues/39#issuecomment-1062604728
Thanks @rsta2
* Add driver for KY-040 rotary encoder
This driver has been taken from the Circle develop branch and can be
removed here, when the driver made it up into a circle-stdlib release.
* Add initial optional rotary encoder support
* Can change between voice and bank select mode by clicking the switch
* Turn the knob to select the voice or bank according to current mode
* Hold the switch for 3 seconds to reboot the system
* Program change from MIDI is only displayed in voice select mode
* Configuration for KY-040 added to CConfig and minidexed.ini
* Fix: m_I2CMaster has not been initialized in CKernel