macsaif Posted November 8, 2018 Report Share Posted November 8, 2018 Just one question about delay function and Sender/Receiver. If I call delay function in NGR, are the Sender and Receiver working in the background during delay? It seems that during delay forwarding of midi events from Receiver to Sender are stopped. Is there any solution to make delay between 2 functions in NGR without stopping of other running functions in the background? Frank Quote Link to comment Share on other sites More sharing options...
FantomXR Posted November 8, 2018 Report Share Posted November 8, 2018 Not without programming a timer in RTOS. Quote Link to comment Share on other sites More sharing options...
macsaif Posted November 9, 2018 Author Report Share Posted November 9, 2018 That is a problem. No idea how to programming RTOS. My general problem is that from NG board I am sending 2 sysex messages to KB board which are changing the status of Break_Is_Make On/Off for keyboard 1 and 2. When I am sending the first message I need to wait few milliseconds because the KB board is sending note_off messages for each tone 0-127 at changing of the status of the Break_Is_Make (I need to ignore or process these messages). If I am putting delay in NGR between 2 sysex messages the NG board will start to process these received messages after delay time and it causes random note on messages. Quote Link to comment Share on other sites More sharing options...
FantomXR Posted November 9, 2018 Report Share Posted November 9, 2018 Do you send single note off events? This is not necessary. I assume that Thorsten took care of the classical MIDI implementation. If you send CC #123 from NG to KB, KB should interpret this as "All notes off". This should speed up the process significantly. Quote Link to comment Share on other sites More sharing options...
macsaif Posted November 9, 2018 Author Report Share Posted November 9, 2018 No, I am sending sysex for switching On/Off the Break Is Make function. It causes that after switching the KB board is sending Note Off messages for all notes starting from 0 to 127. I do not need it but can do nothing with it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.