Old 04-29-2008, 11:02 AM   #1
Cableaddict
Human being with feelings
 
Join Date: Apr 2008
Posts: 1,910
Default MIDI FILTERS- No way to limit key-range?

I hope I'm missing something, but I just can't find a way to do this.

I need to limit the key-range of several VSTi's. I do NOT want to do this within the instrument itself, as I need to control the limit from an external controller.

I can't find this function is any of the existing midi filters. Is there one that I'm just not seeing? (It's a piece of cake in Ableton, Sonar, & Logic)

If not, is there any way to use some kind of third-party filter? (and where would I find such a thing?)
----------------------------

Last- Assuming we had this, or with any exisiting filter parameter- Is there a way to map external hardware controllers to turn it off & on?

Last edited by Cableaddict; 04-29-2008 at 11:19 AM.
Cableaddict is offline   Reply With Quote
Old 04-29-2008, 11:08 AM   #2
beatbybit
Human being with feelings
 
beatbybit's Avatar
 
Join Date: Jul 2006
Location: Hungary
Posts: 3,129
Default

JS: IX/MIDI_Tool
JS: IX/MIDI_Tool II
JS: MIDI/midi_transpose

these plugins are bundled with Reaper
__________________
panda in the desert
beatbybit is offline   Reply With Quote
Old 04-29-2008, 11:16 AM   #3
Cableaddict
Human being with feelings
 
Join Date: Apr 2008
Posts: 1,910
Default

None of these limit the key range.

They have commands for "note range min / note range max" I thought these would be key-range limits, but they are not. They simply limit the key-area that the filter acts upon. (which is pretty cool, but not what I need.)

I need to limit the range that the VSTi responds to. It's such a simple thing, but it doesn't seem to be here.

Last edited by Cableaddict; 04-29-2008 at 01:35 PM.
Cableaddict is offline   Reply With Quote
Old 04-29-2008, 02:27 PM   #4
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,746
Default

I could have sworn there was something like that in the installer.

Anyway, try this? I wrote it in 6 minutes so it may need tweaking Unzip, place it in Program Files/Reaper/effects/schwa, insert in front of whatever vsti you want to limit the input range of.

It seems to work here, but I gave this to BBB on Reaper chat and he said it didn't work at all on his setup, so clearly I've overlooked something, but if your setup is like mine, it may do what you want. If not, I can look at it some more.

[edit: go here http://www.cockos.com/forum/showpost...&postcount=15]

Last edited by schwa; 05-02-2008 at 10:19 AM.
schwa is offline   Reply With Quote
Old 04-29-2008, 10:23 PM   #5
Cableaddict
Human being with feelings
 
Join Date: Apr 2008
Posts: 1,910
Default

Coolness!

I'm just going to crash, but I'll try this tomorrow. Many Thanks.

If it does work, do you know if I'll be able to turn it on-off (bypass) from an external controller? I'm really fuzzy on that part of Reaper.
Cableaddict is offline   Reply With Quote
Old 04-30-2008, 04:46 AM   #6
brotherone
Human being with feelings
 
Join Date: Dec 2006
Posts: 68
Default

Quote:
Originally Posted by schwa View Post
I could have sworn there was something like that in the installer.

Anyway, try this? I wrote it in 6 minutes so it may need tweaking Unzip, place it in Program Files/Reaper/effects/schwa, insert in front of whatever vsti you want to limit the input range of.

It seems to work here, but I gave this to BBB on Reaper chat and he said it didn't work at all on his setup, so clearly I've overlooked something, but if your setup is like mine, it may do what you want. If not, I can look at it some more.
Is it possible to filter specific CC messages in Reaper?
Is there a JS plugin available for this purpose?

Best regards
brotherone is offline   Reply With Quote
Old 04-30-2008, 01:01 PM   #7
LCipher
Human being with feelings
 
LCipher's Avatar
 
Join Date: Apr 2008
Posts: 2,036
Default ndc

I use this to split my keyboard. Works fine - not sure if this is what you want but take a look:

MIDI Note Range Filter


MIDI CC Range Filter



http://www.niallmoody.com/ndcplugs/ndcmidi.htm


Put them first in your FX list before the VSTi you want to filter.
LCipher is offline   Reply With Quote
Old 04-30-2008, 11:00 PM   #8
Cableaddict
Human being with feelings
 
Join Date: Apr 2008
Posts: 1,910
Default

Schwa,

That filter works fine. Thanks!

It would be easier to use if the read-out was in notes, though, instead of numbers.
If you ever update it, please post the link.
---------

LCipher, those filters look good as well. They are VST Dll's though, so where do they go? I tried putting them in the midi filter folder, but Reaper doesn't see them. It would be harder to find them, when needed, in the VST folder.

Is there a way to "trick" Reaper into seeing them in the midi folder?
Any way to convert them to the same file type as the other midi filters?
Cableaddict is offline   Reply With Quote
Old 05-01-2008, 04:08 AM   #9
LCipher
Human being with feelings
 
LCipher's Avatar
 
Join Date: Apr 2008
Posts: 2,036
Default directory

You can stick them in with your vstplugins, or make a new directory and add that directory to the vst options paths.

You can make a new folder in the FX browser and then just drag them into it.
LCipher is offline   Reply With Quote
Old 05-01-2008, 06:33 AM   #10
plamuk
Human being with feelings
 
Join Date: Feb 2007
Posts: 3,221
Default

i am a compulsive midi filter effect collector
i have tons, VST and js
one that i really miss is a CURVE CORRECTOR, which you can use to emulate different fader curves (like the tapers found in high end mixing boards)

Nicfit wrote one for EnergyXT but for the life of me i can't get the demo to work in reaper.
plamuk is offline   Reply With Quote
Old 05-02-2008, 01:10 AM   #11
Cableaddict
Human being with feelings
 
Join Date: Apr 2008
Posts: 1,910
Default

Schwa,

I think your range-limit filter may have a serious bug:

I installed it, to limit a number of VSTi's to the upper-half of my keyboard. However, it seems to be "leaking" occasionally. Some keyboard sounds keep "sneaking through" in the lower octaves, where they should be restricted from triggering.

Additionally, those sounds, once on, do not turn off, (they play forever) even if I manually "tap" them , UNLESS I first defeat your filter.

My guess is that your filter is letting some errant note-ons pass, but not the corresponding note-offs.
--------

I'll try to use one of those VST filters from LCipher, but so far I can't get Reaper to see them. (haven't had time to read all the manual.)

If you do fix this, I also suggest making it so it defaults to "all notes pass" instead of the current "no notes pass."

Also, as I wrote above, it would be better if the read-out was in notes (E3, G4...) instead of numbers.

Last edited by Cableaddict; 05-02-2008 at 11:14 AM.
Cableaddict is offline   Reply With Quote
Old 05-02-2008, 09:29 AM   #12
mbncp
Human being with feelings
 
Join Date: Mar 2008
Posts: 197
Default

>> I think your range-limit filter may have a serious bug:

It's not schwa's plug, the problem is reaper.

I tried to create something similar, and indeed some notes pass thru any way, but the culprid seems to be Reaper as I added a counter, which doesn't move at all, though I see reaper sending some events, once in a while.

Even if I remove midisend(..), some notes are still passed to the midi port. ???????

We need a quick fix here !!!!
mbncp is offline   Reply With Quote
Old 05-02-2008, 09:56 AM   #13
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,746
Default

... no, I think this is a problem with the plugin, something to do with grouping/parens. I'll look at it a bit later.

Last edited by schwa; 05-02-2008 at 10:08 AM.
schwa is offline   Reply With Quote
Old 05-02-2008, 10:11 AM   #14
mbncp
Human being with feelings
 
Join Date: Mar 2008
Posts: 197
Default

Quote:
Originally Posted by schwa View Post
Yes, there's something happening here that I don't understand. Some midi messages get past a JS that should be eating all midi. The problem is occasional enough that it has the feel of a < vs <= type of problem, fwiw.
I think the bug is worse than that, if I hit a single key that should be filtered it works fine. It's when I start to hit more than a key at the time that some are making it thru.
Looks like the ram could be corrupted when receiving multiple events.
That doesnt sound to good.
mbncp is offline   Reply With Quote
Old 05-02-2008, 10:17 AM   #15
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,746
Default

No, it's just grouping, really. JS "while" only works as long as the final statement inside the while loop is true.

Try this? It's probably a very clumsy way to fix the problem, but I'm dashing out...

[edit] added note names in addition to the midi note numbers, as requested.
Attached Files
File Type: zip midi_note_filter.zip (844 Bytes, 450 views)

Last edited by schwa; 05-02-2008 at 12:21 PM.
schwa is offline   Reply With Quote
Old 05-02-2008, 10:48 AM   #16
mbncp
Human being with feelings
 
Join Date: Mar 2008
Posts: 197
Default

I prefer this, though it sucks, I'll have to update all my scripts and probably others.

Anyway, thanks for the info and thanks to the OP as well
mbncp is offline   Reply With Quote
Old 05-02-2008, 12:21 PM   #17
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,746
Default

added note names in addition to the midi note numbers, as requested:

http://www.cockos.com/forum/showpost...7&postcount=15
schwa is offline   Reply With Quote
Old 05-03-2008, 12:29 PM   #18
Cableaddict
Human being with feelings
 
Join Date: Apr 2008
Posts: 1,910
Default

Schwa,

Beautiful! Nicely laid-out, and seems to be working fine with no leaks.

Thanks, man.
Cableaddict is offline   Reply With Quote
Old 05-04-2008, 05:06 AM   #19
rehedon
Human being with feelings
 
Join Date: Nov 2007
Posts: 9
Default So it is possible...

Thanks so much for this thread and the solutions provided.

This is something that I've really struggled with before, and had resigned myself to that it was impossible to do with Reaper.

I frequently use MIDI plugins in the music, but with Reaper, I've had to run them within a version of eXT-VST (1.4), primarily because of thinking it was impossible to limit the MIDI range in the FX list. What a relief to know it can be done!

Off to test more MIDI plugs while the day is young,

r
rehedon is offline   Reply With Quote
Old 10-02-2008, 02:42 AM   #20
fab
Human being with feelings
 
Join Date: Feb 2007
Posts: 300
Default

is (schwa js plug) this in the official installer? it definitely should be! i have sifting thorugh all the midi js plugs to get this!

fab
fab 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:30 AM.


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