COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 05-06-2020, 06:21 PM   #1
bozmillar
Human being with feelings
 
bozmillar's Avatar
 
Join Date: Sep 2009
Posts: 623
Default Sample Accurate MIDI input

Is there a way for MIDI input to be sample accurate in IPlug? I noticed that there's some slight variation to the timing when I use MIDI the way it's used in the sample project.
__________________
http://www.bozdigitallabs.com
bozmillar is offline   Reply With Quote
Old 05-06-2020, 11:56 PM   #2
Tale
Human being with feelings
 
Tale's Avatar
 
Join Date: Jul 2008
Location: The Netherlands
Posts: 3,645
Default

I don't know which sample project you are referring to, but IMidiMsg has mOffset, which is the offset of the MIDI message within the next audio block. As long as you take this into account, then your MIDI timing should be rock solid.
Tale is online now   Reply With Quote
Old 05-07-2020, 09:35 AM   #3
bozmillar
Human being with feelings
 
bozmillar's Avatar
 
Join Date: Sep 2009
Posts: 623
Default

Quote:
Originally Posted by Tale View Post
I don't know which sample project you are referring to, but IMidiMsg has mOffset, which is the offset of the MIDI message within the next audio block. As long as you take this into account, then your MIDI timing should be rock solid.
oh, I had no idea. I'll check that out.
__________________
http://www.bozdigitallabs.com
bozmillar is offline   Reply With Quote
Old 05-07-2020, 11:11 AM   #4
bozmillar
Human being with feelings
 
bozmillar's Avatar
 
Join Date: Sep 2009
Posts: 623
Default

Worked perfectly. Thanks.
__________________
http://www.bozdigitallabs.com
bozmillar is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:05 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.