* 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
* First implementation of using four PCM5102 I2S sound devices for 8-channel mono sound output on a Raspberry Pi 5. Requires latest develop branch of circle.
* Update to required develop branch of circle
* Adjusted default chunk sizes to correctly support number of channels.
* Update queue size as per Rene's suggestion.
---------
Co-authored-by: probonopd <probonopd@users.noreply.github.com>
* Initial build with basic structure to support st7789device once added to circle.
* Implementation of ST7789 display - requires updated circle with new ST7789 character driver.
* Added more details to minidexed.ini about ST7789 and SPI options.
* Update to develop branch of circle that now supports st7789 character mode display.
* Minor formatting fixes to tidy up.
* Allow setting of more advanced SPI parameters: mode and clock.
* Update to allow for font size as an option.
* Initial attempt to include USB Gadget Mode as a configuration option. Note: Also requires a move to the latest release of circle.
* Set "official" (as allocated from pid.codes) USB vendor and device ID for MiniDexed
* Initial implementation of Program Up/Down and Tone Generator Up/Down selection and short cuts as buttons and MIDI buttons.
* Add configuration option for Program Change to act on Voices within a TG or Performances.
* Added PC option to Performance menu. Various bug fixes. Allow menu updating if on Performance/Load display. Swapped TG1 and TG3 in Performance 000008 so that TG1 is set to MIDI CH 1 in all Performances.
* Minor fixups in formatting and so on after review.
* Formatting fixups
* Changed config setting to match description in original manuals: Performance Select Channel. Also now accepts 1-16 or Omni as values.
* Additional fix to ensure GPIO buttons are working correctly on Voices or Performances.
* Changed initialisation order for PerformanceSelectChannel to avoid asset problem on a Pi 4 and updated menu text to fit nicely on a HD44780 display.
* Added Engines Mark I and OPL
* Added Engine selection
* Update config.cpp
* Added selection for Engine Type
* Added Engine Type selection
* Update build.yml
* Fixes
* Reverting to an old commit (I screwed up)
* Small fix
* Small Fixes
* Fix for error when compiling on 64-bit platforms
* Casting of the engine variable corrected
* Changed the way we parse and set the engine type from the config file following @diyelectromusic suggestions
* Fixed a typo
* Update Synth_Dexed commit
* Moved blocks of code around
* Update Synth_Dexed to 8c67f73
https://github.com/probonopd/MiniDexed/issues/403#issuecomment-1455130745
* Update Synth_Dexed to a908f78
https://github.com/probonopd/MiniDexed/discussions/358#discussioncomment-5358731
* Synth_Dexed deb0905
* Add EngineMsfa.o to Makefile
* Don't add EngineMsfa.o here...
* ...but add EngineMsfa.o here
* Fix missing \
* Update build.yml
* Add Synth_Dexed to the submodules update
* Update Synth_Dexed
* Update Synth_Dexed to c9f5274
https://github.com/probonopd/MiniDexed/issues/526#issuecomment-1670217925
---------
Co-authored-by: probonopd <probonopd@users.noreply.github.com>
* Fix for Issue #457 - changed m_nNumLoadedBanks to be m_nNumHighestBank and updated functionality in menus accordingly.
* Fix for Issue #460 implements MIDI Bank Select MSB/LSB based on PR #395 submitted by @abscisys
* Fix for Issue #458 to not show blank banks in the menus. Also handles MIDI bank select messages and won't change banks if the final selected bank isn't loaded.
* Firm up bank validity handling slightly.
* Fix for Issue #459 Initial support for loading of headerless SysEx voice banks as a configuraton option
* Fix for Issue #459 Added config option for headerless SysEx voice banks.
* Implement option to allow MIDI Program Change messages to select aross four consecutive banks as discussed in Issue #391.
Note: It does not check if consecutive banks are loaded. That is down to the user. The default is "enabled".
* Fix for Issue #457 - changed m_nNumLoadedBanks to be m_nNumHighestBank and updated functionality in menus accordingly.
* Fix for Issue #460 implements MIDI Bank Select MSB/LSB based on PR #395 submitted by @abscisys
* Fix for Issue #458 to not show blank banks in the menus. Also handles MIDI bank select messages and won't change banks if the final selected bank isn't loaded.
* Firm up bank validity handling slightly.
* Fix for Issue #459 Initial support for loading of headerless SysEx voice banks as a configuraton option
* Fix for Issue #459 Added config option for headerless SysEx voice banks.
* Update Circle develop branch
for SSD1306 display rotation support
https://github.com/probonopd/MiniDexed/discussions/412
* Implements rotation and mirroring options for SSD1306 displays (only). (#420)
Requires an update to circle (PR submitted to develop branch)
Co-authored-by: diyelectromusic <68612569+diyelectromusic@users.noreply.github.com>
* circle-stdlib e318f89
Needed to support Circle develop
* Fix for Issue 421 - circle sound drivers have moved to their own subdirectory and library.
* Updated to keep in step with updates from the original in circle-stdlib.
* git checkout circle-newlib 48bf91d
Needed for circle ec09d7e
Co-authored-by: probonopd <probonopd@users.noreply.github.com>
* First implementation of NoteOn/NoteOff MIDI UI buttons
* First implementation of NoteOn/NoteOff MIDI UI buttons
Co-authored-by: diyelectromusic <68612569+diyelectromusic@users.noreply.github.com>
* Initial commit for MIDI user interface button support.
Status: first successful build.
* Second try with more functionality plugged in and compiling...
* First "it seems to work for me" version for initial testing of MIDI buttons.
* Fix Off/Omni logic
* Fix order of Prev/Next when initialising the button UI.
Co-authored-by: Kevin <68612569+diyelectromusic@users.noreply.github.com>
* Initial support for SSD1306 128x32 or 128x64 OLED displays
* Update circle
Co-authored-by: Kevin <diyelectromusic@gmail.com>
Co-authored-by: probonopd <probonopd@users.noreply.github.com>
* Default behavior changed: Click to enter menus, long-press to leave menus, double-click to go to the home screen (configurable)
* Buttons can have click, double click and long press events
* Changed default config, added new options and renamed EncoderPinSwitch to ButtonPinShortcut
Co-authored-by: Kevin <diyelectromusic@gmail.com>
Co-authored-by: Stephen Brown <steve@fig14.com>
* Option "MIDIThrough=from,to" in minidexed.ini to enable
* This forwards MIDI events from the device "from" to "to"
* from/to can be:
* umidiN (USB MIDI keyboard, N = 1..4)
* ttyS1 (serial interface)
* ukbd1 (PC keyboard)
* See src/minidexed.ini for an example
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
* 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
* Make synth parameters configurable
* Add class CConfig, which holds the configuration
* Add template config file minidexed.ini
* Register panic handler in CKernel to allow to display assertions
* Fix: Performance timer did not show correct percent value with HDMI
* Add class CDexedAdapter
Some Dexed methods require to be guarded from being interrupted
by other Dexed calls. This is done in the class CDexedAdapter.
* Add class CUserInterface
The user interface should be implemented here. As a start it supports
showing the program number and name on the LCD display. The LCD output
is buffered, so that LCD writes from an IRQ handler are possible.
* Move MIDI handling from CMiniDexed to specific classes
* CMIDIDevice is the generic MIDI handler
* CMIDIKeyboard handles USB audio class MIDI devices
* CSerialMIDIDevice handles the serial MIDI device
* Now all MIDI inputs can work simultaneous
* Program change and bank select work with serial MIDI
* Add headers to all files
* Include voices.c in sysexfileloader.cpp
* Cleanup Makefile
* Support headless operation on Raspberry Pi 4
Some code cleanup for src/kernel.*
* Code cleanup for src/minidexed.*
Move implementation of constructors to minidexed.cpp
Reorder member variables
* Support multiple USB MIDI inputs at once
* Maximum 2 inputs on Raspberry Pi 1-3
* Maximum 4 inputs on Raspberry Pi 4
* Suppress frequent messages in MIDI dump
* Use minidexed.txt
* Document `SoundDevice` in `minidexed.ini`
Co-authored-by: probonopd <probonopd@users.noreply.github.com>