Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER General Discussion Forum

Reply
 
Thread Tools Display Modes
Old 12-14-2019, 09:38 AM   #1
sproost
Human being with feelings
 
sproost's Avatar
 
Join Date: Jul 2008
Posts: 92
Default MIDI CC doesn't obey default curve shape

Hi,

when I record some midi and CC information, it seems the default CC curve shape isn't obeyed. See attached gif: when I insert a point, it makes it square, even though the default shape is set tot bezier.

This doesn't work the same as the automation envelopes.

Am I doing something wrong or is this a bug?

Hope someone knows, thanks
Attached Images
File Type: gif midi curve.gif (53.6 KB, 434 views)
sproost is offline   Reply With Quote
Old 12-14-2019, 12:27 PM   #2
Eddy
Human being with feelings
 
Join Date: Jun 2017
Posts: 412
Default

yes, I have posted about this recently with no responses. It either doesn't work or is obscurely hidden. As far as I can tell there are global settings at the top of the midi editor and track over-ride settings for each lane. Buy they dont work consistently and dont get remembered consistently between projects. Or maybe they do and there is a setting somewhere else yet again
Eddy is offline   Reply With Quote
Old 12-14-2019, 12:32 PM   #3
sproost
Human being with feelings
 
sproost's Avatar
 
Join Date: Jul 2008
Posts: 92
Default

Ah, I hadn't seen your post yet although I looked. The forums are getting proper busy..

Midi settings not remembering and carrying over to other projects or between midi tracks is unfortunately a reality about Reaper's midi editor afaik.

For now I've made a little custom action shortkey that selects all CC events and turns them into a bezier. But it's yet another thing to remember..

Hope there's another, more sticking, way to make this work. (like this: https://i.imgur.com/UJ8aARc.png)

Last edited by sproost; 12-14-2019 at 12:41 PM.
sproost is offline   Reply With Quote
Old 12-14-2019, 12:35 PM   #4
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,750
Default

In the current released version, the default curve shape is respected when drawing (default click+drag) but not inserting (default shift+click or double-click). This should be fixed in the current development version, and 6.02 should be released in a couple of days with the fix.
schwa is offline   Reply With Quote
Old 12-14-2019, 12:38 PM   #5
sproost
Human being with feelings
 
sproost's Avatar
 
Join Date: Jul 2008
Posts: 92
Default

Quote:
Originally Posted by schwa View Post
In the current released version, the default curve shape is respected when drawing (default click+drag) but not inserting (default shift+click or double-click). This should be fixed in the current development version, and 6.02 should be released in a couple of days with the fix.
Ah, awesome!

Right now "the default curve shape is respected when drawing", but only if drawing in an empty space in the CC lane -- not when drawing in between points (as in the first .gif i posted).
Great it's getting fixed. Thanks for the reply.
sproost is offline   Reply With Quote
Old 01-29-2020, 04:06 PM   #6
robynsveil
Human being with feelings
 
robynsveil's Avatar
 
Join Date: Dec 2019
Location: Brisbane, Australia
Posts: 75
Default At the risk of necro-posting...

I have done a search on this problem, and this is the only post that offered a ray of hope.

It appears that despite what was discussed earlier in this thread, this problem still isn't fixed in 6.03, unless I'm missing a new setting in a MIDI menu somewhere.

Context:
I "write" my piece in Musescore, then export the MIDI file, in order to expose it to Reaper using these settings:

http://www.tightbytes.com/images/pub...Settings01.png

As I posted in NewbieLand (and I hate cross-posting, but I think I must have posted this issue in the wrong forum, as I had 65 views and no replies, i.e., too-hard-basket): in the MIDI Editor, in the 07 Volume MSB CC lane, I have the default CC curve shape set to Bezier. However, the CC curve shape shows up as Square. If I select all points and change it to Bezier, save the MIDI file, close Reaper and re-open it, it will have set the CC curve shape back to Square again.

http://www.tightbytes.com/images/pub...Settings01.png

http://www.tightbytes.com/images/pub...Settings02.png

Today, I have tried setting it to Slow start/end but it went straight back Square even before closing Reaper. It's like the setting only works while that MIDI Editor window is up. Saving the MIDI to disk does not preserve that setting.

Forgot to say... thank you to sproost for the suggestion of creating a recorded action: that will speed things up a fair bit!
robynsveil is offline   Reply With Quote
Old 01-29-2020, 08:34 PM   #7
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,750
Default

In Preferences > Media > MIDI, the defaults for "Create new MIDI items as:" and "Import existing MIDI items as:" are both set to "MIDI items (in project, recommended)" by default. If the media is in the project as a .mid file reference, as in your screenshots, CC curve shapes will not persist, because these shapes are not part of the MIDI spec -- there's no universal way to write them to the file. We should gray out all of the relevant menu items and actions when there is a .mid file reference open in the MIDI editor.
schwa is offline   Reply With Quote
Old 01-30-2020, 03:32 PM   #8
robynsveil
Human being with feelings
 
robynsveil's Avatar
 
Join Date: Dec 2019
Location: Brisbane, Australia
Posts: 75
Default

Thank you, schwa... I'll change how I import my files. Thanks for that!
robynsveil is offline   Reply With Quote
Old 01-31-2020, 10:47 AM   #9
ivansc
Human being with feelings
 
Join Date: Aug 2007
Location: Near Cambridge UK and Near Questembert, France
Posts: 22,754
Default

Interesting. I had come across this one when converting all my old SMFs into Reaper & assumed it was either me doing something weird in the programming of the original SMF or having something that I couldn`t find set wrong!
Thanks for the explanation, Schwa!
__________________
Ici on parles Franglais
ivansc is offline   Reply With Quote
Old 04-11-2020, 09:16 AM   #10
explodingPSYCH
Human being with feelings
 
Join Date: Sep 2015
Posts: 302
Default

Quote:
Originally Posted by schwa View Post
In Preferences > Media > MIDI, the defaults for "Create new MIDI items as:" and "Import existing MIDI items as:" are both set to "MIDI items (in project, recommended)" by default. If the media is in the project as a .mid file reference, as in your screenshots, CC curve shapes will not persist, because these shapes are not part of the MIDI spec -- there's no universal way to write them to the file. We should gray out all of the relevant menu items and actions when there is a .mid file reference open in the MIDI editor.
I must be missing something because I'm still running into issue. My recorded pitch CC's are always square, despite my defaults being set to linear.
explodingPSYCH is offline   Reply With Quote
Old 04-12-2020, 06:04 AM   #11
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,750
Default

Because CC envelopes are not part of the MIDI specification, recorded events do not include any CC curve information. If REAPER applied the default curve shape to recorded events, then playback would sound different from what you heard when you recorded the MIDI.
schwa is offline   Reply With Quote
Old 04-12-2020, 12:31 PM   #12
sproost
Human being with feelings
 
sproost's Avatar
 
Join Date: Jul 2008
Posts: 92
Default

Quote:
Originally Posted by schwa View Post
Because CC envelopes are not part of the MIDI specification, recorded events do not include any CC curve information. If REAPER applied the default curve shape to recorded events, then playback would sound different from what you heard when you recorded the MIDI.
I understand this, but is there any way to prevent this behavior? See gif.

I'm recording a few notes and even though the default curve shape is bezier, adding a point in the CC lane will make it square.

Thanks
Attached Images
File Type: gif ezgif-1-ce8ef04be4a8.gif (62.3 KB, 330 views)
sproost is offline   Reply With Quote
Old 04-12-2020, 12:54 PM   #13
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,750
Default

The curve shape is attached to the event itself. If you add two or more events in a row with the mouse, you should see that the curve that immediately follows the new events is the default shape, but the curve that immediately follows a recorded event will remain square unless you specifically change that point shape, or change the shape for all points after recording.

This is consistent with how curves work on track envelopes, but we'll think about if it makes sense to add an option that would change both the previous and the current event shape when a new event is added.
schwa is offline   Reply With Quote
Old 04-12-2020, 02:37 PM   #14
explodingPSYCH
Human being with feelings
 
Join Date: Sep 2015
Posts: 302
Default

Quote:
Originally Posted by schwa View Post
Because CC envelopes are not part of the MIDI specification, recorded events do not include any CC curve information. If REAPER applied the default curve shape to recorded events, then playback would sound different from what you heard when you recorded the MIDI.
I don't totally understand the technical aspect of CC curves and how they related to recorded MIDI data, but when I go to adjust points in the envelope that I've recorded live, they are always square and it would seem like having an option to turn them into my default curve selection automatically after recording would be pretty ideal.

I would think an option to have recorded CC be set by the user (either independently of default CC, or to reference default CC) would be very useful. Speaking for myself, it would create a more expected/unified outcome, as I am expecting my default curves to ALL be linear. I find square to be rarely useful.

Last edited by explodingPSYCH; 04-12-2020 at 02:49 PM.
explodingPSYCH is offline   Reply With Quote
Old 04-14-2020, 06:50 AM   #15
sproost
Human being with feelings
 
sproost's Avatar
 
Join Date: Jul 2008
Posts: 92
Default

Quote:
Originally Posted by schwa View Post
the curve that immediately follows a recorded event will remain square unless you specifically change that point shape, or change the shape for all points after recording.

This is consistent with how curves work on track envelopes, but we'll think about if it makes sense to add an option that would change both the previous and the current event shape when a new event is added.
Thanks, that's it.

I think it would make sense and I would really like this option. Selecting a point shape specifically is finicky.
I would also like this not in the last place because I agree with above post that the default square cc envelope is rarely useful.
sproost is offline   Reply With Quote
Old 07-11-2020, 11:37 AM   #16
Tycho
Human being with feelings
 
Tycho's Avatar
 
Join Date: Jan 2011
Location: San Francisco
Posts: 461
Default

Adding to this, would love this feature. As it stands now (6.12c) when I draw in CC events the default curve shape is obeyed. however, when I record CC events in the shape defaults to square. if I'm understanding schwa's responses correctly the issue is that I'm using a midi controller to record in the CC's and because that controller is adhering to the midi spec, there cannot be a curve shape so the data is written with the square curve shape, which just means independent events with no relation to each other.

while this makes sense from a technical standpoint, in practical use I want the ability to edit the written CC data using my default curve shape. right now I just run an action after recording to force the shape to linear, but an option to do this by default would be very useful.

has anyone found a workaround for this yet?
Tycho is offline   Reply With Quote
Old 07-13-2020, 08:01 AM   #17
Ericson
Human being with feelings
 
Join Date: Jun 2019
Location: Rotterdam
Posts: 94
Default

Is added in 6.12 dev0712:
+ MIDI: add option to apply default CC shape to recorded events [p=2270410]
Ericson is offline   Reply With Quote
Old 07-24-2020, 09:06 AM   #18
H000W
Human being with feelings
 
Join Date: Jul 2020
Posts: 14
Default

Quote:
Originally Posted by Ericson View Post
Is added in 6.12 dev0712:
+ MIDI: add option to apply default CC shape to recorded events [p=2270410]
Yes! I'm loving this feature! This will save a lot of messing around for me.

One little issue with it so far though. Unfortunately when I turn it on, it applies the bezier shape to events recorded on CC64, (which is the hold pedal). Using the bezier shape on the hold pedal causes some strange behavior - i.e. the the hold effect cuts off earlier than it should thanks to the shape of the curve which is added.

Would love to be able to turn the "apply default CC shape to recorded events" setting on... with an exception of the hold pedal - or an exception for all of the on/off lanes.

Unless I'm missing something, I don't seem to be able to find a way to do this?
H000W is offline   Reply With Quote
Old 09-12-2020, 11:00 AM   #19
A Future In Noise
Human being with feelings
 
Join Date: Apr 2020
Posts: 80
Default

Quote:
Originally Posted by schwa View Post
Because CC envelopes are not part of the MIDI specification, recorded events do not include any CC curve information. If REAPER applied the default curve shape to recorded events, then playback would sound different from what you heard when you recorded the MIDI.
I haven't read through all comments. But what I wonder is why I'm not able, in Midi tracks created in REAPER, to create bezier curves if is use for example cc 52-54 to control an instrument, whereas i CAN create a bezier curve if I use for example cc 7, in the very same track/item?
A Future In Noise is offline   Reply With Quote
Old 09-13-2020, 05:36 PM   #20
explodingPSYCH
Human being with feelings
 
Join Date: Sep 2015
Posts: 302
Default

Hi, for some reason I am having trouble finding the option to apply default CC shape to recorded events. Where is it located?

EDIT: NM, found it in the MIDI Editor under Options >> CC/velocity lane >> apply default CC shape to recorded events

Last edited by explodingPSYCH; 09-13-2020 at 05:56 PM.
explodingPSYCH is offline   Reply With Quote
Old 09-14-2020, 04:47 AM   #21
z.curve
Human being with feelings
 
Join Date: Apr 2014
Location: UK
Posts: 70
Default

Quote:
Originally Posted by A Future In Noise View Post
I haven't read through all comments. But what I wonder is why I'm not able, in Midi tracks created in REAPER, to create bezier curves if is use for example cc 52-54 to control an instrument, whereas i CAN create a bezier curve if I use for example cc 7, in the very same track/item?
There's a toggle option to enable this:

MIDI Editor > Options > CC/velocity lane > Allow CC shape in bank and LSB lanes (CC0, CC32-CC63)
z.curve is offline   Reply With Quote
Old 08-30-2021, 05:06 PM   #22
deaman312
Human being with feelings
 
Join Date: Nov 2018
Posts: 24
Default

Quote:
Originally Posted by H000W View Post
Yes! I'm loving this feature! This will save a lot of messing around for me.

One little issue with it so far though. Unfortunately when I turn it on, it applies the bezier shape to events recorded on CC64, (which is the hold pedal). Using the bezier shape on the hold pedal causes some strange behavior - i.e. the the hold effect cuts off earlier than it should thanks to the shape of the curve which is added.

Would love to be able to turn the "apply default CC shape to recorded events" setting on... with an exception of the hold pedal - or an exception for all of the on/off lanes.

Unless I'm missing something, I don't seem to be able to find a way to do this?
Were you able to find a solution for this? Messes with my CC64 data quite a bit....
deaman312 is offline   Reply With Quote
Old 01-11-2023, 06:43 AM   #23
richardj
Human being with feelings
 
Join Date: Nov 2012
Posts: 178
Default

Is this possible yet in 2023? Whenever I add points to my mod wheel with shift-click they don't obey the default curve. I've even selected all the points in the graph and set them to the same curve type too. Makes no difference. New points start linear curves.
richardj is offline   Reply With Quote
Old 01-12-2023, 06:52 PM   #24
skylar_battles
Human being with feelings
 
Join Date: Mar 2022
Posts: 1,522
Default

Bump having issues here as well.
skylar_battles is offline   Reply With Quote
Old 01-12-2023, 07:39 PM   #25
Fergler
Human being with feelings
 
Fergler's Avatar
 
Join Date: Jan 2014
Posts: 5,207
Default

Hey, just want to chime in that beyond just greying out the inapplicable menu items, how do we signify to the user why they are greyed out so they can infer the solution (switching from .mid reference to project reference) on their own?

Last edited by Fergler; 01-12-2023 at 10:13 PM.
Fergler 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 10:00 PM.


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