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

Method getNoteNumber

hi_scripting/scripting/api/ScriptingApi.cpp:506–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

504}
505
506int ScriptingApi::Message::getNoteNumber() const
507{
508#if ENABLE_SCRIPTING_SAFE_CHECKS
509 if(constMessageHolder == nullptr || !constMessageHolder->isNoteOnOrOff())
510 {
511 reportIllegalCall("getNoteNumber()", "onNoteOn / onNoteOff");
512 RETURN_IF_NO_THROW(-1)
513 }
514#endif
515
516 return constMessageHolder->getNoteNumber();
517};
518
519
520void ScriptingApi::Message::delayEvent(int samplesToDelay)

Callers 15

mainFunction · 0.45
onNoteOnFunction · 0.45
onNoteOffFunction · 0.45
onNoteOnFunction · 0.45
printMethod · 0.45
getJSONDataMethod · 0.45
handleEventIdsMethod · 0.45
getEventIdForNoteOffMethod · 0.45
pushArtificialNoteOnMethod · 0.45
onNoteOnMethod · 0.45

Calls 1

isNoteOnOrOffMethod · 0.80

Tested by 7

mainFunction · 0.36
getJSONDataMethod · 0.36
testMidiWriteMethod · 0.36
testConstructorsMethod · 0.36
testNoteOnMethod · 0.36
testEventBufferMethod · 0.36