Commit graph

248 commits

Author SHA1 Message Date
John Stäck
6844341d77
Merge pull request #28 from Trasselfrisyr/wlpower
Menu option to set midibeam power level
2019-07-22 12:05:00 +02:00
John Stäck
66b782da16 Menu option to set midibeam power level 2019-07-20 10:38:23 +02:00
Johan Berglund
407683bbc3 Added portamento on vibrato lever when vibrato is controlled with bite 2019-07-18 14:50:35 +02:00
Johan Berglund
ed7db007eb Removed SR and SR+ from CC list 2019-07-18 14:07:52 +02:00
Johan Berglund
597991c968 Added possibility to use bite sensor for vibrato. 2019-07-18 13:58:28 +02:00
Johan Berglund
e251b86100
Merge pull request #26 from blind/adjustbugfix
Flush screen buffer to display in adjust menu (issue #24)
2019-07-17 12:28:05 +02:00
Johan Berglund
8159a4ec16
Merge pull request #27 from blind/subblink
Flush screen buffer when sub cursor is black
2019-07-17 12:23:12 +02:00
Mikael Degerfält
faff2dcfe9 Flush screen buffer when sub cursor is black
Fixes issue #25
2019-07-17 12:19:53 +02:00
Mikael Degerfält
bae4956ea6 Flush screen buffer to the display in adjust menu
The return value (that flagged for redraw) was ignored when handling input in the adjust menu.
2019-07-17 11:56:28 +02:00
Johan Berglund
1cc50cff63 Added secondary breath CC setting (free 1-127) with a rise multiplier to make this CC rise faster than primary CC, for example to get a fast rising VCA control together with a less steep VCF slope. Changed portamento sensor name to BITE. Put SNS dots for MPR121 and Teensy touch keys on separate rows to avoid blanking when redrawn. Note: Update resets to factory settings. 2019-07-15 13:46:34 +02:00
Johan Berglund
1d34681c40 EXTRAS menu page added, with items LEGACY PB, LEGACY BR, GATE HOLD and SPECIAL KEY to enable/disable these special functions. 2019-07-15 07:51:44 +02:00
Johan Berglund
9f7fbb60c3 Deglitching on keys also for CV note pitch. CV note pitch now also changes immediately when new note is fingered in note off state, not waiting for new note on. 2019-07-12 13:57:34 +02:00
Mikael Degerfält
2b147d91fd
Merge pull request #23 from Trasselfrisyr/simfix
More correct display simulation
2019-07-01 14:45:40 +02:00
Mikael Degerfält
4f295a6b52 More correct display simulation
enable/disable works more like the real thing, however not entirely correct. When enabling the display, it takes the current content of the screen buffer instead of the data that has been send to the display controller.
2019-07-01 14:41:39 +02:00
John Stäck
9ab101067a
Merge pull request #22 from Trasselfrisyr/menuscroll
Support scrolling in menus (fixed)
2019-06-29 10:17:54 +02:00
Mikael Degerfält
73e6db7686 Only handle scrolling if there are items to scroll 2019-06-27 16:00:05 +02:00
Mikael Degerfält
0e32077042 Support scrolling in menus
Menus can now have more than 6 entries. There is now an almost empty ABOUT entry in the main menu.
2019-06-27 12:57:49 +02:00
John Stäck
4755b15cd7
Merge pull request #19 from Trasselfrisyr/curves
Curves!
2019-06-27 10:13:45 +02:00
John Stäck
42fcc89da9
Merge pull request #20 from Trasselfrisyr/patchselectfix
Fixed regression bug for patch select
2019-06-27 10:13:32 +02:00
Mikael Degerfält
68d8ac984b Out of bounds check fix 2019-06-26 23:45:15 +02:00
Mikael Degerfält
c2a15441a4 Fixed regression bug for patch select
After the menu refactoring, switching patch with up/down buttons when screen was off didn't work correctly. Now it should work like before i.e. switch patch on first press of button and not requiring a second press.
2019-06-26 18:04:06 +02:00
Mikael Degerfält
faf4f528b3 Custom draw function for curve to show the form and not just name
Draw the curve as well as the name of curve. Could be optimised a bit by not evaluating the curve every pixel, but something like every third pixel. Could also draw dots instead of lines if we need extra speed.
2019-06-26 17:52:43 +02:00
Mikael Degerfält
5d333432ce Removed switch statement for curves, use array lookup instead 2019-06-25 23:00:45 +02:00
John Stäck
a0a3718b85
Merge pull request #18 from Trasselfrisyr/jstck/smallthings
Various small cleanup things
2019-06-25 14:30:10 +02:00
John Stäck
4df0bf068c More stale code removal 2019-06-25 13:42:41 +02:00
John Stäck
cc86c357a0 Move defines elsewhere as they're used in multiple places 2019-06-25 13:42:22 +02:00
John Stäck
416b2a1730 Restructure and clarify defined constants 2019-06-25 13:42:22 +02:00
John Stäck
bc31cb9eef Remove stale commented-out code 2019-06-25 13:42:22 +02:00
John Stäck
549c2797b0 Use pin names rather than hardcoding 2019-06-25 13:42:22 +02:00
John Stäck
7342de4d82 Annotate "fingering math" for readability 2019-06-25 13:41:34 +02:00
John Stäck
34a3dd0613
Merge pull request #17 from Trasselfrisyr/numenu
Full Menu Refactoring
2019-06-25 13:06:02 +02:00
Mikael Degerfält
7505cd21c2
Merge pull request #16 from Trasselfrisyr/compilerthings
Clever compiler tricks
2019-06-24 18:38:27 +02:00
Mikael Degerfält
9074f56ae5
Merge pull request #15 from Trasselfrisyr/eepromfile
Eepromfile storage support
2019-06-24 18:34:53 +02:00
Mikael Degerfält
b061084f1f Fixed som redraw issues 2019-06-24 17:55:37 +02:00
John Stäck
f5fc086177 Only write to file if value has actually changed. 2019-06-24 16:01:27 +02:00
John Stäck
b0ad504761 Fake some useful compiler flags 2019-06-24 15:39:36 +02:00
John Stäck
6c1c5e0344 More explicit version checking 2019-06-24 15:39:13 +02:00
John Stäck
b6ed8126b7 Allow midi+serial usb type too (useful for "console debugging") 2019-06-24 15:38:29 +02:00
John Stäck
0bbfdda241 No need for user to set NEWTEENSYDUINO 2019-06-24 15:03:02 +02:00
John Stäck
d04c0f92f8 Use TEENSYDUINO to determine version rather than making our own 2019-06-24 15:00:42 +02:00
John Stäck
50b1fe9eb3 Check for correct target platform and USB type 2019-06-24 15:00:00 +02:00
John Stäck
2c3df24fc1 Use default eeprom file if none is provided 2019-06-24 14:11:58 +02:00
John Stäck
829c08c031 EEPROM file storage, and argparsing that actually works 2019-06-24 11:56:57 +02:00
Mikael Degerfält
91b2a69d21 Fixed text alignment for sub values with units 2019-06-24 00:17:27 +02:00
Mikael Degerfält
d2f3bba544 Reduced code duplication and fixed adjust cursor bug 2019-06-23 22:02:23 +02:00
Mikael Degerfält
e08a3a5291 Converted lambdas to normal functions to save RAM 2019-06-23 22:01:17 +02:00
Mikael Degerfält
9561556302 No need to set text color all the time
Since the cursor blinking is handled a bit differently now, there is no need to set text color all the time since we know it should always be white. But just to be certain, lets set it to WHITE first thing in the updatePage function.
Also moved the code from plotMIDI into a custom render function for midi sub menu.
2019-06-23 21:28:35 +02:00
Mikael Degerfält
7a2b70c38d Moved code from a function into where it was called
and some minor cleanup
2019-06-23 21:02:08 +02:00
John Stäck
3b2f0fa4cf Add argument parsing for eeprom stuff 2019-06-23 20:44:10 +02:00
Mikael Degerfält
5b59b4cd0f Final push to unify all menu states
All states are now handled by the new menu system, although some are flagged to have a custom handler that does everything by itself.

I replaced most reference parameters to pointers to be able to typecast in a nicer way.

Key input is not passed as a parameter to the menu functions instead of having global variables they all access. I think I broke one thing by doing this, since there is no way to propagate key input changes to the next frame.
2019-06-23 17:14:18 +02:00