Old 02-08-2018, 08:50 PM   #1
pipelineaudio
Mortal
 
pipelineaudio's Avatar
 
Join Date: Jan 2006
Location: Wickenburg, Arizona
Posts: 12,526
Default Trigger a fade on receive, send or track from action?

Is there any way to trigger a fade in or out on a selected track fader or send or receive fader from an action?
__________________
REAPER Shirts are Back! - https://shop.spreadshirt.com/pipelineaudio/
pipelineaudio is offline   Reply With Quote
Old 02-08-2018, 08:55 PM   #2
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Axis Mundi
Posts: 4,691
Default

You mean apart from adding the automation? Kinda doubt it, but SWS Command Parameters have some configurable fade times, but I've not tried to use them for anything. I think it just applies to items. Surely it's scriptable though.
__________________
TwilightMysterySchool
foxAsteria is online now   Reply With Quote
Old 02-08-2018, 10:48 PM   #3
Time Waster
Human being with feelings
 
Time Waster's Avatar
 
Join Date: Aug 2013
Location: Bowral, Australia
Posts: 744
Default

It may be possible to do this using some ReaRack modules, that is, the envelope generator and the amplifier, with a bit of modification to the envelope generator. I would need to add a 'latch' mode to the envelope generator, so that you could trigger the envelope generator by sending a note message, but ignore the note-off. Then sending the same note message a second time, the note-on would be converted to a note off.

You would set up the envelope generator attack and release times for the fade in/fade out and set the sustain level to maximum. If you wanted to trigger using a midi CC, you could add the ReaRack Trigger module before the envelope generator to convert a CC message into a note message.
__________________
ReaRack JSFX Modular Synth - Mostly harmless: https://stash.reaper.fm/v/28403/ReaR...dularSynth.zip
The Wasters of Time: https://soundcloud.com/thewastersoftime

Last edited by Time Waster; 02-14-2018 at 03:33 AM.
Time Waster is offline   Reply With Quote
Old 02-08-2018, 11:23 PM   #4
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Germany
Posts: 5,975
Default

A dedicated JSFX for this would be easy to do. (See the other thread -> https://forum.cockos.com/showthread.php?t=202857&page=2).

-Michael
__________________
www.boa-sorte.de
mschnell is offline   Reply With Quote
Old 02-14-2018, 03:34 AM   #5
Time Waster
Human being with feelings
 
Time Waster's Avatar
 
Join Date: Aug 2013
Location: Bowral, Australia
Posts: 744
Default

I have now added a "latch" trigger mode to the envelope generator, in case you want to try out the above suggestion.
__________________
ReaRack JSFX Modular Synth - Mostly harmless: https://stash.reaper.fm/v/28403/ReaR...dularSynth.zip
The Wasters of Time: https://soundcloud.com/thewastersoftime
Time Waster is offline   Reply With Quote
Old 02-15-2018, 01:06 AM   #6
pipelineaudio
Mortal
 
pipelineaudio's Avatar
 
Join Date: Jan 2006
Location: Wickenburg, Arizona
Posts: 12,526
Default

So that would be for modding an automation envelope?
__________________
REAPER Shirts are Back! - https://shop.spreadshirt.com/pipelineaudio/
pipelineaudio is offline   Reply With Quote
Old 02-15-2018, 06:33 PM   #7
Time Waster
Human being with feelings
 
Time Waster's Avatar
 
Join Date: Aug 2013
Location: Bowral, Australia
Posts: 744
Default

No. The idea would be to use the ReaRack modules to control the track volume and fade in/fade out rate. You would need the following chain of ReaRack modules:

Note Filter (optional)
Envelope Generator (with trigger mode set to 'latch')
CC mixer (optional)
Amplifier

The envelope generator attack and release rates (and curves if required) would be set to control the fade/fade out rates, and set the sustain level to 1 (maximum).

To use the system, press any key (or otherwise send a note-on message) to trigger the envelope generator and start the fade in. To fade out, send the same note-on message again. If you wanted to start with a fade out rather than a fade in, you could add a CC Mixer module between the envelope generator and the amplifier module and set it to invert the control signal.

The note filter could be useful if you want to nominate a particular key to trigger the fade. Set the note filter to only pass that particular note value.

For cross fading, you could set up a copy of the FX chain on each track you want to cross fade. You would use the CC Mixer to invert one track fade, but not the other, and if you had multiple pairs of track you wanted to cross fade at different time, you can use the note filter to set that up with different notes triggering each par of tracks. If you wanted to trigger using CC rather than a note on, you can add a Trigger module before the envelope generator to convert the CC to a note-on message.

None of this helps with muting the track though.

All of this with the proviso that I don't really know what you are trying to do.
__________________
ReaRack JSFX Modular Synth - Mostly harmless: https://stash.reaper.fm/v/28403/ReaR...dularSynth.zip
The Wasters of Time: https://soundcloud.com/thewastersoftime
Time Waster is offline   Reply With Quote
Old 02-15-2018, 09:36 PM   #8
pipelineaudio
Mortal
 
pipelineaudio's Avatar
 
Join Date: Jan 2006
Location: Wickenburg, Arizona
Posts: 12,526
Default

I think we're set with this now. We got one script and one plugin, they can both do it, now I think its fine tuning time
__________________
REAPER Shirts are Back! - https://shop.spreadshirt.com/pipelineaudio/
pipelineaudio 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:34 AM.


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