Commit graph

68 commits

Author SHA1 Message Date
Johan Berglund
8c1a7444c6 Changed LVL/GLD controls to K6 (increase) and K5 (decrease) to lessen risk of accidental change. LED indicator fix for pinky portamento. 2019-10-20 15:59:50 +02:00
Johan Berglund
58d7584f87 Added static glide/portamento control as pinky key setting. Use LEVEL control to set glide time. 2019-10-20 14:16:10 +02:00
Johan Berglund
053b954936 Added new dual trill functionality (contribution from Nyle) for third trill key allowing it to do both 3 semitones up and 4 semitones up. The alternate value is triggered by touching K3 and K7 (third trill key) at the same time. Third trill setting decides which interval is the standard "non-combo" one. Inspired by this combo thing, I also added an alternate way of doing lecacy style direct patch selection. Latch a note value using pinky key, then touch K1/K5 combo to send program change to that note value, or K2/K6 combo to send high and low numbers (108 to 127 and 0 to 36). 2019-10-20 12:25:24 +02:00
John Stäck
049cb6d434 Avoid floating-point math for vibrato calculations 2019-10-16 15:54:11 +02:00
John Stäck
cb7a4a8b88 No need for volatile copies of these variables. 2019-10-16 15:49:52 +02:00
John Stäck
0cbb6bde78 Explicitly initialize variables, use "bool-specific" values when setting. 2019-10-16 15:30:49 +02:00
John Stäck
7c1aa2c0a4 touchValue never used here, no point in reading touch data. 2019-10-16 15:28:23 +02:00
John Stäck
f36129d4bb Make IntervalTimer stub so simulator works 2019-10-16 15:28:01 +02:00
John Stäck
88b38b3f46 Remove trailing whitespace 2019-10-16 15:07:10 +02:00
Johan Berglund
cd91e6eece Found culprit in long lags issue in doorKnobCheck function. Reading keys again for that was not very clever... Fixed! Still want some more speed for main loop though. Now getting 6-7 ms. Had 5 ms back in 1.3.5 release. Removed scaling/curve for DAC and PWM DAC CV output. Instead made them FAST using timed interrupts. Now updates every 500 microseconds, allowing for audio rate modulation of CV on these outputs by humming into mouthpiece, just like with direct analog CV from sensor. 2019-10-15 16:43:54 +02:00
Johan Berglund
fee9e04ad6 Timing and breath CC rate improvements. 2019-10-09 09:15:15 +02:00
Johan Berglund
7449b04725 Send extra controller CC2 even if CC1 is off. 2019-09-12 18:47:56 +02:00
Johan Berglund
a141434952 Octave setting had stopped working. Corrected. 2019-09-11 07:25:38 +02:00
John Stäck
75ee097857
Merge branch 'master' into sysex 2019-08-26 16:09:32 +02:00
Johan Berglund
bab51190e1 Fix for bite vibrato sensitivity. Added increased range of sensitivity settings. Added possibility to use both bite and lever for vibrato at the same time. Separate timing interval for breath (trying to get speed up again). Moved Teensy touch sense calls for pinky key and special key to function less often called (every standard CC interval). Changed menu name VEL BIAS to VEL BOOST which is a more accurate description. 2019-08-25 12:38:02 +02:00
Johan Berglund
8ad8803c57 Added AT (aftertouch) instead of OFF for Level control. 2019-08-21 18:33:09 +02:00
Johan Berglund
d5506ff2b9 Added secondary CC for extra controller and a Level CC control (stored), both with new settings for pinky key. New pinky settings: "EC2" sends on/off (127/0) for extra ctr CC2. "ECS" uses pinky key as switch between sending primary and secondary CC with extra controller. "LVL" lights up breath and portamento LEDs to indicate level (breath LED on full is max level, portamento LED full is min level), and level can be adjusted with K5 (up) and K1 (down). "LVP" is the same as "LVL", but with stored level transmitted at power up. 2019-08-21 08:44:22 +02:00
Johan Berglund
fcf3bf2e17 Adjust bite vibrato sensitivity range. 2019-08-20 09:19:52 +02:00
John Stäck
2741ff5a27 Config management mode, to send/receive config via usb midi sysex 2019-07-29 17:05:10 +02:00
John Stäck
4966a7ea42 Incorporate Filters code into NuEVI repo for smoother setup. 2019-07-27 16:58:34 +02:00
John Stäck
c6ad2b6c53 Init variables to avoid (incorrect) compiler warnings 2019-07-27 13:32:39 +02:00
John Stäck
3ae4147d7e Move all the LED things to a separate file, as mentioned in comments 2019-07-27 00:42:27 +02:00
John Stäck
3903ec7b98 Mistakes were made 2019-07-27 00:20:01 +02:00
John Stäck
a5385a9ec1 Wrap status led usage in neat functions 2019-07-27 00:06:52 +02:00
John Stäck
e04a14ef95 Simplify readSwitches() 2019-07-26 23:42:08 +02:00
John Stäck
16e9bd0407 Define constant for "dipswitch" positions 2019-07-25 09:09:00 +02:00
John Stäck
ae41482351 Move all EEPROM stuff into settings file
Refactor version upgrade logic
Add some new settings values
2019-07-25 08:50:54 +02:00
John Stäck
def0dcacd0 Remove global var for wireless power, add wl channel menu 2019-07-25 08:48:28 +02:00
John Stäck
33bfc9ea08 Use settings flag for DAC output mode (remove CVSCALEBOARD define) 2019-07-25 08:48:28 +02:00
John Stäck
671dfe9b2c Define constant for "dipswitch" positions 2019-07-25 08:47:58 +02:00
John Stäck
7b179d4343 Add settings for fast boot, bcas mode, 3rd trill, dac out 2019-07-25 08:47:58 +02:00
John Stäck
c38adcd56c Move all EEPROM stuff into settings file
Refactor version upgrade logic
Add some new settings values
2019-07-25 08:47:58 +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
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
68d8ac984b Out of bounds check fix 2019-06-26 23:45:15 +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
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
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
50b1fe9eb3 Check for correct target platform and USB type 2019-06-24 15:00:00 +02:00