You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Hi-hat issue with Scripter Drum Kit Designer Remapper

Hi,


I am using Scripter (Drum Kit Designer Remapper preset) to properly map my Alesis electronic drum kit to Logic's Drum kits. Scripter solves most of my problems, but also creates one: the Hi-Hat Open Edge sample is playing as Hi-Hat Closed Tip, even though the MIDI note from my Alesis drum comes in as the A#1 standard for open hi-hat. I can reassign A#1 to something else (say, Hi-Hat Foot Splash) and it will play as expected. If Scripter is bypassed, my hi-hat open and closed samples behaves normally.


Any ideas on how to fix this? I do have background in programming and I am comfortable editing the JS script if necessary. Or is there another way of doing drum remapping in Logic? (I also have issues with the Crash Stop signals, which I can't map).


Thanks

Mac Pro, macOS 10.13

Posted on Jan 18, 2021 11:45 AM

Reply
Question marked as Top-ranking reply

Posted on Jan 21, 2021 4:13 AM

Fixed. Turns out the code of the Remapper preset was sending the wrong articulation for Open Hi-Hat Edge.


As for the crash stop signals, after a bit of tracing, I figured out that my Alesis drum controller sends a PolyPressure signal for the crash stop signals, so I put some code to change that to the notes that Drum Kit Designer is actually expecting.


function HandleMIDI(event) {


//event.trace();

//handle crash left stop

if(event instanceof PolyPressure && event.pitch == 49) {

var on = new NoteOn; //make a new control change message

on.channel = 10;

on.pitch = 28;

on.velocity = 1; //set the value

on.send(); //send the event

on.trace(); //print the event to the console


var nf = new NoteOff(on);

nf.sendAfterMilliseconds(5); //send the event

//nf.trace(); //print the event to the console

}

//handle crash right stop

else if(event instanceof PolyPressure && event.pitch == 51) {

var on = new NoteOn;

on.channel = 10;

on.pitch = 29;

on.velocity = 1; //set the value

on.send(); //send the event

on.trace(); //print the event to the console


var nf = new NoteOff(on);

nf.sendAfterMilliseconds(5); //send the event

//nf.trace(); //print the event to the console

} else {

event.send();

}

}

Similar questions

1 reply
Question marked as Top-ranking reply

Jan 21, 2021 4:13 AM in response to jfgirouard

Fixed. Turns out the code of the Remapper preset was sending the wrong articulation for Open Hi-Hat Edge.


As for the crash stop signals, after a bit of tracing, I figured out that my Alesis drum controller sends a PolyPressure signal for the crash stop signals, so I put some code to change that to the notes that Drum Kit Designer is actually expecting.


function HandleMIDI(event) {


//event.trace();

//handle crash left stop

if(event instanceof PolyPressure && event.pitch == 49) {

var on = new NoteOn; //make a new control change message

on.channel = 10;

on.pitch = 28;

on.velocity = 1; //set the value

on.send(); //send the event

on.trace(); //print the event to the console


var nf = new NoteOff(on);

nf.sendAfterMilliseconds(5); //send the event

//nf.trace(); //print the event to the console

}

//handle crash right stop

else if(event instanceof PolyPressure && event.pitch == 51) {

var on = new NoteOn;

on.channel = 10;

on.pitch = 29;

on.velocity = 1; //set the value

on.send(); //send the event

on.trace(); //print the event to the console


var nf = new NoteOff(on);

nf.sendAfterMilliseconds(5); //send the event

//nf.trace(); //print the event to the console

} else {

event.send();

}

}

Hi-hat issue with Scripter Drum Kit Designer Remapper

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.