@christoph-hart Yesss! it's working now! thank you!!!!!
/** TableVelocity Booster * * This script is boosting the velocities according to the table value * of the given note number and the gain slider. * * Usage: 1. Set the table to create a boost curve for the note range. * 2. Set the gain slider to control the amount of boost * * It will "fill up" the velocity to the max amount. Example: * * Table value is at 50% for a given note, gain is at 100%. * If you press a key with velocity 40, it will add 50% of the difference * to 127 (~43). If the gain is at 80%, it would add 40% and so on. */ Content.setHeight(150); const var table = Content.addTable("table", 0, 0); table.set("width", 512); table.set("height", 150); const var gain = Content.addKnob("Gain", 600, 0); gain.set("mode", "NormalizedPercentage"); function onNoteOn() { local tableValue = table.getTableValue(Message.getNoteNumber()); local veloDifference = 127 - Message.getVelocity(); local delta = parseInt(tableValue * veloDifference * gain.getValue()); local newVelocity = Message.getVelocity() + delta; Console.print("In: " + Message.getVelocity() + "Out: " + newVelocity); Message.setVelocity(newVelocity); } function onNoteOff() { } function onController() { } function onTimer() { } function onControl(number, value) { }