Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

external control of fadein/fadeout in midi notes

For general discussion related FlowStone

external control of fadein/fadeout in midi notes

Postby tester » Wed May 20, 2015 9:55 am

Midi topic is rather foreign to me, so apologies for eventual confusions.
What I'd like to achieve is following.

I have a vst effect with midi control/keys within it. This vst effect operates on audio content.

What I need to do, is to have a way, that when I press the midi note (or chord) - midi volume of these notes fades in slowly (few to 40 seconds or more regulation) to maximum, and when I release it - midi volume slowly fades out to zero (the same long times). So this should be valid to individual midi notes (but can be the same timing for all notes; it's just this is not about fade in/out on midi track, but on midi notes). Plus it would be good then to have some control over the fade curves (linear mixing will not produce smooth output)

So I guess, in hosts like reaper - it would go like this:
midi keys -> midi effect (fade in/out) -> vsti plugin that outputs processed audio.

1) Is this doable anyway? (what plugins would do this in hosts like reaper?)
2) Is this doable in Flowstone? (how?)
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: external control of fadein/fadeout in midi notes

Postby KG_is_back » Wed May 20, 2015 10:05 am

what do you exactly mean by fade in / fade out?
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: external control of fadein/fadeout in midi notes

Postby tester » Wed May 20, 2015 11:58 am

Fade in: when pressing the midi key(s) - volume of pressed note(s) goes from zero to maximum.
Fade out: when releasing midi key(s) - - volume of that note(s) goes from maximum to zero.
In the meantime it keeps the maximum volume.
(everything else, i.e. sonically - happens in audio processed by vst plugin - like waves morphoder).

Fade n/out time: adjustable, between few seconds to about a minute or more
Fade in/out curve: adjustable, because linear will not fit here.

It's not a thing for manual corrections on midi track in DAW; too messy. Alternative would be some script for adding fade in/out curves to "volume in time" of notes according to some templates I guess, but no luck with finding it (in reaper) yet.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: external control of fadein/fadeout in midi notes

Postby MyCo » Wed May 20, 2015 2:16 pm

The Midi protocol doesn't support note volume messages, AFAIK. Volume changes are per channel, affecting all notes on a channel at once. Only chance would be to roll your own messages (eg. using polyphonic aftertouch), but the Effect plugin which receives this message has to know what this message means, so you have to build this custom, too. At that point the whole thing is useless, because it would be much easier to build the same functionality into the audio effect instead of messing around with an additional midi plugin. BTW: FS doesn't support Midi-Only-Plugins...
User avatar
MyCo
 
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany

Re: external control of fadein/fadeout in midi notes

Postby Nubeat7 » Wed May 20, 2015 5:37 pm

should be no problem with cubase note expression maps
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: external control of fadein/fadeout in midi notes

Postby tester » Wed May 20, 2015 6:35 pm

To particular example, I can't do reverse engineering on waves morphoder :-) because I'm not sure what I'm looking at (but if you know how to replicate "thalamus" preset - I would be interested; it's a very specific combination with audio I use). Generally volume control could be common for all notes on track; notes go in harmonic chords in these projects. So I guess if there are other fades, it would just involve 2-3 paralel tracks.

"cubase note expression maps" - how old cubase version can it be?
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: external control of fadein/fadeout in midi notes

Postby KG_is_back » Wed May 20, 2015 11:01 pm

As mentioned before, Midi protocol has no "volume modulation" on per note basis. There is "note on" with pitch and velocity and "note-off" with pitch and velocity. There exists per-note aftertouch if I recall correctly, which you can use to modulate notes while pressed. However, flowstone can't interpret those on its own (= there is no "per note aftertouch" output on midi-to-poly module). You can possibly write a ruby module, that reads per-note-aftertouch messages and sends them to coresponding voices in poly. Frankly, I have no Idea how to do that.

Do the fade-in/out lengths and curves need to be adjustable per-note and on-fly via midi? If answer to both of those is "no", you can probably go with ASR envelope (attack, sustain, release). and possibly automate attack and release lengths/curves via midi CC controller, making it adjustable on-fly.
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: external control of fadein/fadeout in midi notes

Postby Perfect Human Interface » Fri May 22, 2015 7:02 am

Surely by "volume" he simply means velocity. Velocity is very commonly used to control note volume.

As KG mentioned, ASR envelope... this should be extremely simple with that!
Perfect Human Interface
 
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Re: external control of fadein/fadeout in midi notes

Postby Attic » Tue Jun 02, 2015 5:18 pm

Or detect incoming midi note-on and use that to trigger the slide component then attach to midi MIDI CC 7 (Volume).
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
User avatar
Attic
 
Posts: 30
Joined: Sat Feb 13, 2010 1:40 pm
Location: San Francisco California

Re: external control of fadein/fadeout in midi notes

Postby tester » Wed Jun 03, 2015 9:00 am

In Reaper, I see something like Rea Mici Control, which allows to automate selected CC lanes. If I understand it correctly, it takes messages from physical controller connected to PC, and transforms them according to - for example, automation wirings. As far I can see - it works.

So this leads me to a question. Can I capture that way - incoming notes from hardware (or midi track) and send to vsti instrument in a desired manner? (for example, manipulating selected CCs for individual notes - combined with a sort of filters or lists?).

[One thing I have not figured out yet is, whether there is something in Reaper specifically - to apply custom fade in/out curves to CC lanes to individual notes there]

ASR envelope is within VSTi if I understand, thus - may not work as expected.

Sorry for confusion, but this topic generally is not from my area.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Next

Return to General

Who is online

Users browsing this forum: No registered users and 61 guests