My workaround so far has been using a third party plugin, this of course involves much more steps in the workflow so I would really love to see a way of doing it inside Cubase without using 3rd party plugins:
Here I am using an extra MIDI track, in this track I am sending the MIDI data to
- The Sampler Track (to play the samples in function of the MIDI Notes)
- The 3rd party Plugin (to receive the E.W. modulation and control the Volume with it)
This Reason Rack Plugin only receives a small amount of MIDI CCs, so if I want to modulate with more different MIDI CC’s then this plugin won’t work anymore.
PD: I was thinking that maybe I could use ModScript for this, but not sure if it really works, I tried making a script using ChatGPT because I have 0 programming knowledge but I couldn’t make it to work:
// Script by ChatGPT to modify a parameter based on MIDI CC input
getDescription = function () {
return "MIDI CC to Parameter Modulation";
}
// Declarar el número de CC a escuchar (ej. CC 7 es volumen)
CCNumber = 11; // Número de CC MIDI
paramIndex = 1; // Índice del parámetro (1-8)
currentCCValue = 0;
//-----------------------------------------------------------
processModulation = function (inputValue, numSamples) {
return currentCCValue;
}
//-----------------------------------------------------------
onCCEvent = function (channel, ccNumber, ccValue) {
// Si el número de CC coincide con el que estamos escuchando
if (ccNumber === CCNumber) {
// Normalizar el valor de CC entre 0 y 1 (Cubase espera valores entre 0 y 1)
currentCCValue = ccValue / 127; // Los valores de CC MIDI van de 0 a 127
// Llamar a onParamChange para modificar el parámetro en Cubase
onParamChange(paramIndex, currentCCValue);
}
}
// Función para manejar los cambios de parámetro
onParamChange = function (paramIndex, newValue) {
// Aquí puedes añadir más lógica si es necesario, como limitar el valor o aplicar efectos
// Por ahora, se establece directamente el valor del parámetro
// Cubase automáticamente tomará el valor y lo aplicará al parámetro correspondiente
}