Old 02-01-2018, 11:40 AM   #1
EricTbone
Human being with feelings
 
Join Date: Feb 2013
Posts: 260
Default Broken MIDI item

I've encountered a MIDI bug that manifest itself as playing notes that aren't visible in the item. This has happened to me once before, but this time I isolated the bug to a Reaper project that I can share.

NOTE: a workaround is to open the MIDI item, copy all the notes and paste them into a newly created MIDI item.

I've attached a project that reproduces the bug in v5.70/x64 (Win7-64 SP1). It contains a single MIDI item which appears empty:



However, if you play this item, there are notes.

If you scroll the arrange view to the left, so that left edge of the item is obscured, the notes become visible:



Even more bizarre, if you slide the item left, the notes don't move with it; it's like a window being dragged along stuck notes. But then if you move to the item to the right, the stuck notes appear to reattach to the item.



(if that doesn't show up as an animated GIF, click here)

That's it. Project file is attached. The buggy item is at 87.3 on the timeline.
Attached Images
File Type: png ReaperEmptyMidiEvent.png (6.8 KB, 296 views)
File Type: png ReaperEmptyMidiEventAfterScrolling.png (9.3 KB, 284 views)
Attached Files
File Type: rpp Bug.rpp (10.0 KB, 158 views)
EricTbone is offline   Reply With Quote
Old 02-05-2018, 11:25 AM   #2
LugNut
Human being with feelings
 
Join Date: Jun 2013
Location: So Florida
Posts: 1,161
Default

Hi,
Wow..never saw that one!
Maybe instead of copying, try glueing the item. I know its a workaround. Do you get this often?
LugNut is offline   Reply With Quote
Old 02-05-2018, 11:50 AM   #3
Dstruct
Human being with feelings
 
Join Date: Jul 2006
Posts: 12,376
Default

Confirmed (5.70 x64).
Dstruct is offline   Reply With Quote
Old 02-10-2018, 01:05 PM   #4
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,592
Default

Another bug in MIDI item graphics:

EDIT: Moved to a separate thread.

Last edited by juliansader; 02-12-2018 at 09:56 AM.
juliansader is offline   Reply With Quote
Old 02-10-2018, 01:32 PM   #5
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 11,992
Default

Quote:
Originally Posted by EricTbone View Post
I've encountered a MIDI bug
This is caused by the partial measures at bars 73 and 81 -- both are 2-beat measures in 4/4 time. The MIDI item with the problem is trimmed down to just a few beats but the underlying MIDI content is long, meaning depending on where the start offset is for that item, the underlying content and therefore the calculation for where the visible MIDI is, spans one or both of those partial measures, which causes content to be skipped. The workaround would be to explicitly add time signature markers of 2/4 time at bars 73 and 81.
schwa is offline   Reply With Quote
Old 02-11-2018, 12:16 PM   #6
Dstruct
Human being with feelings
 
Join Date: Jul 2006
Posts: 12,376
Default

But it's still a display bug that can be fixed, right?
Dstruct is offline   Reply With Quote
Old 02-12-2018, 09:40 AM   #7
EricTbone
Human being with feelings
 
Join Date: Feb 2013
Posts: 260
Default

Quote:
Originally Posted by schwa View Post
This is caused by the partial measures at bars 73 and 81 -- both are 2-beat measures in 4/4 time. The MIDI item with the problem is trimmed down to just a few beats but the underlying MIDI content is long, meaning depending on where the start offset is for that item, the underlying content and therefore the calculation for where the visible MIDI is, spans one or both of those partial measures, which causes content to be skipped. The workaround would be to explicitly add time signature markers of 2/4 time at bars 73 and 81.
Thanks for the response. The "calculations for where the visible MIDI is" is an implementation detail that users typically don't understand, so that workaround would never have occurred to me. I just chop stuff up and move it around while building a track. I've run into this twice, so clearly my workflow is prone to producing it. Other user's mileage may vary.
EricTbone is offline   Reply With Quote
Old 02-12-2018, 09:51 AM   #8
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 24,457
Default

I would just advise not using partial measures if at all possible.
EvilDragon is online now   Reply With Quote
Old 02-12-2018, 09:55 AM   #9
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,592
Default

When converting partial measures to full measures, look out for this bug:

Quote:
Originally Posted by juliansader View Post
"Create measure from time selection" (both versions) alters existing tempo markers at the *end* of the time selection. The new tempos are sometimes even weird out-of-range values such as 8 bpm!

Before creating measure:




After creating measure:

juliansader is offline   Reply With Quote
Old 02-12-2018, 10:56 AM   #10
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 11,992
Default

Quote:
Originally Posted by EricTbone View Post
Thanks for the response. The "calculations for where the visible MIDI is" is an implementation detail
It is, but it also isn't supposed to be easy to create a partial (illegal) measure in the first place. You can create one by opening the time signature marker dialog, explicitly enabling partial measures, then typing in a new position for the time signature change that is not at the start of a measure. Is that how you created the partial measures in this project, or was it some other method?
schwa is offline   Reply With Quote
Old 02-19-2018, 02:20 PM   #11
EricTbone
Human being with feelings
 
Join Date: Feb 2013
Posts: 260
Default

Quote:
Originally Posted by schwa View Post
Is that how you created the partial measures in this project, or was it some other method?
I never typed any position values, but I did make heavy use of regions, which I used to drag portions of my project around while arranging.
EricTbone 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:18 AM.


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