MCPcopy Create free account
hub / github.com/christophhart/HISE / onNoteOn

Function onNoteOn

hi_scripting/scripting/HardcodedScriptProcessor.h:202–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200 }
201
202 void onNoteOn() override
203 {
204 int newID = Message.makeArtificial();
205
206 if(lastNote != -1)
207 {
208 Synth.noteOffByEventId(lastEventId);
209
210 possibleRetriggerNote = lastNote;
211 possibleRetriggerChannel = lastChannel;
212 }
213
214
215 lastEventId = newID;
216
217 lastNote = Message.getNoteNumber();
218 lastVelo = Message.getVelocity();
219 lastChannel = Message.getChannel();
220 };
221
222 void onNoteOff() override
223 {

Callers 1

processHiseEventMethod · 0.70

Calls 10

makeArtificialMethod · 0.80
noteOffByEventIdMethod · 0.80
getNoteNumberMethod · 0.45
getVelocityMethod · 0.45
getChannelMethod · 0.45
ignoreEventMethod · 0.45
setMessageMethod · 0.45
getUptimeMethod · 0.45
setChannelMethod · 0.45
setBitMethod · 0.45

Tested by

no test coverage detected