Found a fix for Mcompare glitches when in particular routing situation in Reaper
- KVRian
- Topic Starter
- 670 posts since 7 May, 2002 from Phoenix, Arizona, USA
Reaper 5.12 x64 Win7
Melda 9.16 VST2
MCompare _when in Sync mode_ and playing a file produces glitches for me when it fulfills these 3 conditions:
On a normal track (MCompare is on my "submaster" track - all tracks go through this before reaching the Master),
Receiving midi messages (even if the submaster track is not armed, midi messages may still go through the track),
and the Mcompare option Sample Accurate Event Processing is On (inside Settings).
No glitches when Mcompare is on the Master track. (I assume because midi messages are not sent through the Master).
No glitches when Sample Accurate Event Processing is Off.
No glitches when MIDI messages are blocked before reaching MCompare. Can block messages by using Reaper's IO routing for MCompare and selecting MIDI Input Disabled.
Happy to finally find a solution for this! I suppose turning off Sample Accurate Event Processing will be no problem with MCompare.
While using MCompare, midi messages may be produced in the project by plugins, such as audio to midi triggers for drum replacement/layering in my case. Apparently these midi messages continue through all above layers of parent tracks, except for the real Master track.
Melda 9.16 VST2
MCompare _when in Sync mode_ and playing a file produces glitches for me when it fulfills these 3 conditions:
On a normal track (MCompare is on my "submaster" track - all tracks go through this before reaching the Master),
Receiving midi messages (even if the submaster track is not armed, midi messages may still go through the track),
and the Mcompare option Sample Accurate Event Processing is On (inside Settings).
No glitches when Mcompare is on the Master track. (I assume because midi messages are not sent through the Master).
No glitches when Sample Accurate Event Processing is Off.
No glitches when MIDI messages are blocked before reaching MCompare. Can block messages by using Reaper's IO routing for MCompare and selecting MIDI Input Disabled.
Happy to finally find a solution for this! I suppose turning off Sample Accurate Event Processing will be no problem with MCompare.
While using MCompare, midi messages may be produced in the project by plugins, such as audio to midi triggers for drum replacement/layering in my case. Apparently these midi messages continue through all above layers of parent tracks, except for the real Master track.
-
MeldaProduction MeldaProduction https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=176122
- KVRAF
- 14019 posts since 15 Mar, 2008 from Czech republic
Hmmm, interesting, thank you for the info! For the recorrd what exact computer and playback settings do you have?
- KVRian
- Topic Starter
- 670 posts since 7 May, 2002 from Phoenix, Arizona, USA
CPU: i7 960, 6gb ram
ASIO buffer 1024, at 44k
Interface: RME Digiface/Hammerfall (PCIe)
do you need other info?
ASIO buffer 1024, at 44k
Interface: RME Digiface/Hammerfall (PCIe)
do you need other info?
-
MeldaProduction MeldaProduction https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=176122
- KVRAF
- 14019 posts since 15 Mar, 2008 from Czech republic
Hmmm, that doesn't sound like a bad computer... Btw does that do that even in an empty project? (I mean just MCompare)
- KVRian
- Topic Starter
- 670 posts since 7 May, 2002 from Phoenix, Arizona, USA
Yes it happens in an otherwise empty project. Here's a minimal Reaper project to test with.
http://ericzang.com/tmp/MCompare_midi_glitches.RPP
Add an audio file to File 1 of MCompare in the Sub-Master track. Have midi generated in track 2 to create glitches (may simply play a midi keyboard) . You don't need any audio in track 2 to test with. Glitches only happen when the MCompare File is activated.
MCompare Sync for File 1 is On.
Settings - Sample Accurate Event Processing is On.
While generating MIDI, turn Off one of the above to stop glitches.
I'm happy with simply turning off the Sample Accurate option.
Thanks!
http://ericzang.com/tmp/MCompare_midi_glitches.RPP
Add an audio file to File 1 of MCompare in the Sub-Master track. Have midi generated in track 2 to create glitches (may simply play a midi keyboard) . You don't need any audio in track 2 to test with. Glitches only happen when the MCompare File is activated.
MCompare Sync for File 1 is On.
Settings - Sample Accurate Event Processing is On.
While generating MIDI, turn Off one of the above to stop glitches.
I'm happy with simply turning off the Sample Accurate option.
Thanks!
Last edited by ericzang on Sun Feb 07, 2016 11:35 am, edited 1 time in total.
-
- KVRAF
- 10310 posts since 2 Sep, 2003 from Surrey, UK
Can't see any glitches here.
I loaded your project and recorded the MIDI output of the track onto new tracks, first with Sample Accurate processing On, then Off. I transposed the recorded MIDI up/down so I could compare all three.
PS I had to turn off RecArm on the first track (or turn on "Monitor track media when recording).
I loaded your project and recorded the MIDI output of the track onto new tracks, first with Sample Accurate processing On, then Off. I transposed the recorded MIDI up/down so I could compare all three.
PS I had to turn off RecArm on the first track (or turn on "Monitor track media when recording).
- KVRian
- Topic Starter
- 670 posts since 7 May, 2002 from Phoenix, Arizona, USA
Thanks for checking it out. Sorry, I don't quite understand the additional testing you made. With my test project, for me, all that needs to be done is load a file into MCompare's File 1 and then start play on Reaper's transport. Glitches will be heard when the midi data is played.
Thinking about your post, perhaps you are looking for glitches in the midi data? The glitches I'm referring to are audio playback click sounds (a bit like when ASIO buffer is too small) only heard on the file in MCompare with the above conditions.
Thinking about your post, perhaps you are looking for glitches in the midi data? The glitches I'm referring to are audio playback click sounds (a bit like when ASIO buffer is too small) only heard on the file in MCompare with the above conditions.
-
- KVRAF
- 10310 posts since 2 Sep, 2003 from Surrey, UK
-
MeldaProduction MeldaProduction https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=176122
- KVRAF
- 14019 posts since 15 Mar, 2008 from Czech republic
Aaaaaaaaaaaaaaaaha! Found and fixed! Please wait for an update.
- KVRian
- Topic Starter
- 670 posts since 7 May, 2002 from Phoenix, Arizona, USA
- KVRist
- 338 posts since 19 Jul, 2013 from Chile
Interesting.ericzang wrote:Reaper 5.12 x64 Win7
Melda 9.16 VST2
MCompare _when in Sync mode_ and playing a file produces glitches for me when it fulfills these 3 conditions:
On a normal track (MCompare is on my "submaster" track - all tracks go through this before reaching the Master),
Receiving midi messages (even if the submaster track is not armed, midi messages may still go through the track),
and the Mcompare option Sample Accurate Event Processing is On (inside Settings).
No glitches when Mcompare is on the Master track. (I assume because midi messages are not sent through the Master).
No glitches when Sample Accurate Event Processing is Off.
No glitches when MIDI messages are blocked before reaching MCompare. Can block messages by using Reaper's IO routing for MCompare and selecting MIDI Input Disabled.
Happy to finally find a solution for this! I suppose turning off Sample Accurate Event Processing will be no problem with MCompare.
While using MCompare, midi messages may be produced in the project by plugins, such as audio to midi triggers for drum replacement/layering in my case. Apparently these midi messages continue through all above layers of parent tracks, except for the real Master track.
Sounds like we are witnessing developers getting aware of ugly effects from unattended MIDI:
MTotalBundle 9.17 changes
Fix: MCompare could glitch in sample accurate mode in sync when incoming MIDI.
Plus, also yesterday, Ableton released their Live 9.6.1b1 beta including this Release Note; (Improvements and feature changes)
"Improved CPU spikes caused by external MIDI input on OSX."
Could MIDItest help? (users) https://www.soundlib.com/studio/