Old 12-06-2024, 01:51 AM   #1
sockmonkey72
Human being with feelings
 
sockmonkey72's Avatar
 
Join Date: Sep 2021
Location: Berlin
Posts: 2,730
Default MIDI Glue adds curves

Attached is a MIDI file I imported into REAPER; it contains 4 CC events. Here was the source:



Now I import it into REAPER (all is well):



And now I glue it (here's the problem):



Gluing is adding my default curve shape to all points, which is absolutely undesirable. I can't find a preference nor action which modifies this behavior.
Attached Files
File Type: mid export2.mid (102 Bytes, 21 views)
__________________
ReaPack Repository: right-click and copy index URL
sockmonkey72 is offline   Reply With Quote
Old 12-06-2024, 02:09 AM   #2
smandrap
Human being with feelings
 
smandrap's Avatar
 
Join Date: Feb 2021
Location: Probably on a chair
Posts: 3,341
Default

Can confirm. Pretty destructive isn't it?
__________________
My Scripts
smandrap is online now   Reply With Quote
Old 12-06-2024, 02:15 AM   #3
sockmonkey72
Human being with feelings
 
sockmonkey72's Avatar
 
Join Date: Sep 2021
Location: Berlin
Posts: 2,730
Default

Quote:
Originally Posted by smandrap View Post
Can confirm. Pretty destructive isn't it?
It's "generative" to be precise, but it does screw up the meaning of the MIDI.
__________________
ReaPack Repository: right-click and copy index URL
sockmonkey72 is offline   Reply With Quote
Old 12-06-2024, 09:33 AM   #4
inthevoid
Human being with feelings
 
inthevoid's Avatar
 
Join Date: May 2022
Location: London
Posts: 660
Default

Yes, I have this issue as well. I have to remember not to glue anything if I need CC data left intact from imported MIDI from Cubase/Logic so usually end up making a copy of all the data and shoving it in a folder out of sight so that I can grab the intact CCs if needed!
__________________
ReaPack Scripts
inthevoid is offline   Reply With Quote
Old 12-06-2024, 10:55 AM   #5
shawnb61
Human being with feelings
 
shawnb61's Avatar
 
Join Date: Nov 2024
Posts: 57
Default

Yeah it seems to be following the "Apply default CC shape to recorded events" setting when gluing.

It's the "recorded" part that seems inconsistent; this is during editing/gluing, not recording.

Unchecking "Apply default CC shape to recorded events" under CC shape preferences stops this from happening.

Or, changing the default CC shape to square (or whatever shape you desire).

There is no CC "shape" in the source MIDI, that's a Reaper property, so Reaper is going to follow its settings for assigning a shape.
shawnb61 is offline   Reply With Quote
Old 12-06-2024, 11:03 AM   #6
smandrap
Human being with feelings
 
smandrap's Avatar
 
Join Date: Feb 2021
Location: Probably on a chair
Posts: 3,341
Default

But assigning anything but the square shape for imported items cc will change the result upon glueing. And glueing is necessary in a lot of situations. Having to disable options in order to do a clean import of midi just adds chances for user error.
__________________
My Scripts
smandrap is online now   Reply With Quote
Old 12-06-2024, 11:18 AM   #7
shawnb61
Human being with feelings
 
shawnb61's Avatar
 
Join Date: Nov 2024
Posts: 57
Default

This isn't just an importing issue.

Even if you explicitly edit & assign a square shape, on MIDI content that was entered or played, that shape is lost upon gluing (if the assigned shape does not match the default, & this setting is set).

So yeah, it's a bug. Gluing should not change a CC shape at all.

In the meanwhile, workarounds are described above.
shawnb61 is offline   Reply With Quote
Old 12-07-2024, 08:10 AM   #8
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 16,810
Default

Confirmed, it's only when a default CC shape is set and 'Apply default CC shape to recorded events' is enabled. Fixing!
Justin is offline   Reply With Quote
Old 12-07-2024, 10:15 AM   #9
sockmonkey72
Human being with feelings
 
sockmonkey72's Avatar
 
Join Date: Sep 2021
Location: Berlin
Posts: 2,730
Default

Quote:
Originally Posted by Justin View Post
Confirmed, it's only when a default CC shape is set and 'Apply default CC shape to recorded events' is enabled. Fixing!
That's great, thanks Justin.
__________________
ReaPack Repository: right-click and copy index URL
sockmonkey72 is offline   Reply With Quote
Old 12-10-2024, 12:08 AM   #10
shawnb61
Human being with feelings
 
shawnb61's Avatar
 
Join Date: Nov 2024
Posts: 57
Default

There's a note about this in the new release...

Will test it tomorrow.
shawnb61 is offline   Reply With Quote
Old 12-10-2024, 12:13 AM   #11
sockmonkey72
Human being with feelings
 
sockmonkey72's Avatar
 
Join Date: Sep 2021
Location: Berlin
Posts: 2,730
Default

Quote:
Originally Posted by shawnb61 View Post
There's a note about this in the new release...

Will test it tomorrow.
It works, but auto-curve creation during recording (not overdub/replace) is now broken. Presumably all fixed up for the next one.
__________________
ReaPack Repository: right-click and copy index URL
sockmonkey72 is offline   Reply With Quote
Reply

Thread Tools

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:49 PM.


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