Page 1 of 1
Envelope attack decay sustain release
Posted: Mon Aug 27, 2018 07:13
by TVsVeryOwn
I'm trying to trigger short composition effects with a drum controller and have them decay in a way similar to the audio playing from that drum pad. Right now I have a Bome translator that mostly works (it doesn't translate more than one note), but I could have saved myself a lot of hassle and 69 Euro if I could have just made an envelope and turned up the sustain (or something, I'm not a sound guy).
Re: Envelope attack decay sustain release
Posted: Mon Aug 27, 2018 08:21
by Arvol
I would like to add a +1 for Midi, Keyboard, and DMX In-Fade and Out-Fade time. Could this be added in the same section as the Piano and Invert section of the Shortcut mappings?
This way I could have an In fade of 0 so it snaps on. A piano style trigger, then an Out fade of 1 second to get a smooth push out.
In the meantime here's a little work around.
Add your FX you want to have a fade, on it's own layer. Add the FX like you would a clip.
Put that layer on top of whatever you want it to modify.
Next, go to your sources tab and add a Blank source as the clip next to it.
Midi map the >| button for that layer, either as a toggle or piano.
Now just set the transition time for that layer.
That should get you the same result, if not, it should be in the same ballpark
I use to use Bomes, but after learning Touch Designer, I can really make some cool Midi behavior FX, and I can even convert Midi to OSC or DMX. It's a handy tool for all of those weird signal conversion and filter tools. It does so much more than that, but it's funny that I don't use it for anything video related lol, just signal conversion

Re: Envelope attack decay sustain release
Posted: Mon Aug 27, 2018 09:41
by TVsVeryOwn
Arvol wrote: Mon Aug 27, 2018 08:21
I would like to add a +1 for Midi, Keyboard, and DMX In-Fade and Out-Fade time. Could this be added in the same section as the Piano and Invert section of the Shortcut mappings?
This way I could have an In fade of 0 so it snaps on. A piano style trigger, then an Out fade of 1 second to get a smooth push out.
In the meantime here's a little work around.
Add your FX you want to have a fade, on it's own layer. Add the FX like you would a clip.
Put that layer on top of whatever you want it to modify.
Next, go to your sources tab and add a Blank source as the clip next to it.
Midi map the >| button for that layer, either as a toggle or piano.
Now just set the transition time for that layer.
That should get you the same result, if not, it should be in the same ballpark
I use to use Bomes, but after learning Touch Designer, I can really make some cool Midi behavior FX, and I can even convert Midi to OSC or DMX. It's a handy tool for all of those weird signal conversion and filter tools. It does so much more than that, but it's funny that I don't use it for anything video related lol, just signal conversion
That just toggles between off and on when I hit the drum. As in I hit it once and it stays on.
Re: Envelope attack decay sustain release
Posted: Mon Aug 27, 2018 09:54
by TVsVeryOwn
Here's what I have with Bomes:
https://youtu.be/sRVnyDCmOWI
One note at a time is perfect, but if I play two there's trouble.
Re: Envelope attack decay sustain release
Posted: Mon Aug 27, 2018 11:12
by Joris
I usually do this by animating the clip opacity and applying an envelope on it. Play once playmode and the Value shortcut are pretty powerful.
From a UX perspective, you’re not dealing with a clip trigger, but with a playing clip’s opacity. So you’re forced to be conscious of the fact that every trigger needs an empty layer to go in.
Having multiple ‘voices’ is not something that fits very well in the video paradigm. It sounds easy on paper. Then you factor in that someone somewhere will trigger a 12 minute 4K h264 encoded video 17 times in rapid succession, and will be mad that his computer’s fans melted into the seventh circle of hell.
Re: Envelope attack decay sustain release
Posted: Tue Aug 28, 2018 02:10
by Arvol
That just toggles between off and on when I hit the drum. As in I hit it once and it stays on.
[/quote]
I must have read that wrong. Sorry.
It said sustain, so I thought you were wanting to trigger something then let it slowly fade out.
So when you trigger the pad, are you looking for a momentary on or a toggle on/off which requires a re-trigger to flip the toggle?
Are you wanting to have a fade in, a fade out, or both?
Joris, I tried the envelope method earlier before posting this. Maybe I'm doing it wrong?
When I presses a button on my APC even with an envelope it was an almost instant on and instant off.
Do I need to assign the layer opacity to timeline as well and slow the speed down, then apply a midi shortcut to a 0 and 100 toggle?
Sorry, I've usually only used the envelopes for strobes and color curves. I've never animated them before, until last night.
Re: Envelope attack decay sustain release
Posted: Tue Aug 28, 2018 04:30
by TVsVeryOwn
I'm looking for momentary on then staying on for long enough for the note to play out. Right now Resolume just takes the note-off and sets velocity to zero. I'd like to set a behaviour so that when it receives note-off in velocity mode it stays on for say 200-400ms in which time the affected variable is falling to zero. Here's what I got to with Steve:
https://www.bome.com/support/kb/midi-ve ... Y291bnQ%3D
Basically it hears a note-on, and keeps pressing it quieter and quieter until reaches zero volume then sends note-off. The script is working principle, I just have to fork over another $100 to Steve to write a four note version.
I have my effects set up to take velocity as their intensity variable and with a piano bypass.
Re: Envelope attack decay sustain release
Posted: Thu Aug 30, 2018 09:39
by Joris
Do I need to assign the layer opacity to timeline as well and slow the speed down, then apply a midi shortcut to a 0 and 100 toggle?
I usually do this on the Clip Opacity, but yeah, you need to animate opacity to Play Once backwards, and then make a Value Shortcut for 100.
Granted, this gets very complex, especially when you get into triggering it on Note Offs. It becomes a complete nightmare when you want to re-assign clip triggers.
Still, I think you can get a very long way without using Bomes.
Re: Envelope attack decay sustain release
Posted: Thu Aug 30, 2018 21:48
by TVsVeryOwn
I ended up just processing the MIDI data with a couple M4L patches and sending everything over OSC.
