This script demonstrates how to generate the MIDI messages required to control the filter cutoff, effectively creating a "remote control" for the synthesizer.
# Define standard MIDI CC mappings for Roland XV series self.param_map = 'cutoff': 74, 'resonance': 71, 'attack': 73, 'release': 72, 'portamento_time': 5