Old 11-24-2021, 09:34 AM   #1
Gruust
Human being with feelings
 
Join Date: Mar 2021
Posts: 23
Default per-note pitch bend (MPE) - possible in JSFX?

Is it possible to tune/apply pitch bend individually to single notes in Reaper? If so, can someone provide an example on how to create such per-note pitch bend events?
Gruust is offline   Reply With Quote
Old 11-24-2021, 11:26 AM   #2
lexomir
Human being with feelings
 
lexomir's Avatar
 
Join Date: Oct 2018
Posts: 35
Default

Assign each note to a different midi channel and add pitch bend to the separate channels. If your instrument supports MPE it should handle each channel individually.
lexomir is online now   Reply With Quote
Old 11-25-2021, 02:52 AM   #3
Gruust
Human being with feelings
 
Join Date: Mar 2021
Posts: 23
Default

That's all? That's how it's intended to work? No new control message? Just map the notes to 128 channels?
Gruust is offline   Reply With Quote
Old 11-25-2021, 05:17 AM   #4
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 11,223
Default

Yep. But there are only 16 channels.
MPE just means distributing your notes to multiple channels in a round robin way.
Up to 15 channels for notes and corresponding events, one channel for "global" stuff.
-Michael
mschnell is online now   Reply With Quote
Old 11-25-2021, 05:19 AM   #5
Gruust
Human being with feelings
 
Join Date: Mar 2021
Posts: 23
Default

Quote:
Originally Posted by mschnell View Post
Up to 15 channels for notes and corresponding events, one channel for "global" stuff.
-Michael
How about 256 channels from MIDI 2.0?
Gruust is offline   Reply With Quote
Old 11-25-2021, 08:23 AM   #6
sockmonkey72
Human being with feelings
 
sockmonkey72's Avatar
 
Join Date: Sep 2021
Location: Berlin
Posts: 168
Default

Quote:
Originally Posted by Gruust View Post
How about 256 channels from MIDI 2.0?
That's not MPE, and JSFX doesn't support 8-bit channel indices.
sockmonkey72 is online now   Reply With Quote
Old 11-25-2021, 09:01 AM   #7
lunker
Human being with feelings
 
lunker's Avatar
 
Join Date: Nov 2007
Location: Lucas, TX, USA (via Luleå, Sweden)
Posts: 1,488
Default

But we do have 16 MIDI buses in Reaper, giving us effectively 256 separate MIDI channels.
__________________
Best Regards, Ernie "lunker" Lundqvist
BDSM (Bad Dog Studio Musicians)
Windows 10 running on Z390 + i7-8700

Last edited by lunker; 11-25-2021 at 09:28 AM.
lunker is online now   Reply With Quote
Old 11-25-2021, 10:48 AM   #8
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 11,223
Default

Quote:
Originally Posted by Gruust View Post
How about 256 channels from MIDI 2.0?
AFAIK, the MPE spec is for Midi 1.0. Midi 2.0 supposedly features a completely different concept for what MPE provides.
-Michael
mschnell is online now   Reply With Quote
Old 11-25-2021, 10:49 AM   #9
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 11,223
Default

Quote:
Originally Posted by lunker View Post
But we do have 16 MIDI buses in Reaper, giving us effectively 256 separate MIDI channels.
But not in a way compatible with MPE (over multiple buses).
-Michael
mschnell is online now   Reply With Quote
Old 11-25-2021, 11:48 AM   #10
Gruust
Human being with feelings
 
Join Date: Mar 2021
Posts: 23
Default

is there any existing script/plugin that distributes notes to channels?
Gruust is offline   Reply With Quote
Old 11-25-2021, 11:49 PM   #11
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 11,223
Default

What are you trying to accomplish with that ?

I seem to remember once having tried a JSFX that distributes chord noted to channels. This seems to fit that description.

-Michael

Last edited by mschnell; 11-25-2021 at 11:55 PM.
mschnell is online now   Reply With Quote
Old Yesterday, 01:32 AM   #12
Gruust
Human being with feelings
 
Join Date: Mar 2021
Posts: 23
Default

Quote:
Originally Posted by mschnell View Post
I seem to remember once having tried a JSFX that distributes chord noted to channels. This seems to fit that description.
Can you share it?

Array support in JSFX is a bit whacky, so I don't really know how to remember if a channel is currently "occupied" by an active note...
Gruust is offline   Reply With Quote
Old Yesterday, 03:23 PM   #13
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 11,223
Default

Quote:
Originally Posted by Gruust View Post
Can you share it?
Sorry, but I don't remember the name, nor if it was "stock" or via ReaPack.

Quote:
Originally Posted by Gruust View Post
Array support in JSFX is a bit whacky, so I don't really know how to remember if a channel is currently "occupied" by an active note...
Array support in EEL2 is perfectly fine, just a bit different from what you might be accustomed to (e.g. in C or other languages)

Of course you need to do an array of - say - 15 (one per MPE-channel) elements and save the associated note (on) value in there to allow to free the channel with the appropriate note-off.

-Michael
mschnell is online now   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 11:32 AM.


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