surge-synthesizer / surge

Synthesizer plug-in (previously released as Vember Audio Surge)
https://surge-synthesizer.github.io/
GNU General Public License v3.0
3.11k stars 395 forks source link

MIDI learn issue #7601

Closed tekord closed 5 months ago

tekord commented 5 months ago

Bug Description:

I have a MIDI controller and started assigning CC events to Surge controls via 'MIDI learn' menu (clicked on the menu item then touched a knob on my controller). All Surge controls were sucessfully assigned to my MIDI device (they receive inptu from the device), I clicked 'Set current MIDI mapping as default', then clicked 'Save MIDI mapping as'.

Now I created a new Surge instance, some of the assignements are missing (CC # 16 (General Purpose Slider 1)). No matter what control I learn, this assignement never appiled. I went to 'Show current MIDI mapping' and I see my assignment for this control:

Individual parameter MIDI mappings<p>

CC# | Channel | Parameter
-- | -- | --
5 | 1 | Scene A Portamento
70 | 1 | Scene A Filter 1 Cutoff
73 | 1 | Scene A Amp EG Attack
72 | 1 | Scene A Amp EG Release
5 | 1 | Scene B Portamento
-> 16 | 1 | Scene B Pan
17 | 1 | Scene B Filter 1 Resonance
73 | 1 | Scene B Amp EG Attack
-> 16 | 1 | Scene B Amp EG Decay
72 | 1 | Scene B Amp EG Release

Macro Assignments

CC# | Channel | Macro | Custom Name
-- | -- | -- | --
18 | Omni | 1 | -
19 | Omni | 2 | -
20 | Omni | 3 | -
44 | Omni | 4 | -
45 | Omni | 5 | -
46 | Omni | 6 | -
47 | Omni | 7 | -
48 | Omni | 8 | -

Surge XT Version

Version: Surge XT 1.3.1.4b53827 Build: 2024-02-06 @ 15:34:52 on 'fv-az527-661/pipeline' with 'MSVC-19.37.32826.1' using JUCE 7.0.5 System: Windows 64-bit VST3 on AMD Ryzen 5 3600 6-Core Processor
Host: Reaper @ 44.1 kHz / Process block size: 32 samples

Reproduction Steps:

Described above.

Expected Behavior:

Expected to have Surge controls receive/react to MIDI events as this event is not reserved.

tekord commented 5 months ago

I removed SurgeMIDIDefaults.xml and all files in MIDI Mappings, started over again and everything works now.