Author Topic: Fade out  (Read 399 times)

0 Members and 1 Guest are viewing this topic.

Fade out
« on: July 30, 2020, 07:07:41 PM »
Hello to every one, hope someone could give me some ideas, I need to reduce or lower the volume to cero in a midi song at the end. What would be the best way? should I include several control volume registers from 100 to 0 in each midi track at the end of each one? is there an easier way? by sysex? I appreciate a lot your thoughts. Thanks folks.  8)
 

Offline overover

Re: Fade out
« Reply #1 on: July 30, 2020, 07:53:36 PM »
Hi bhergar56,

I recommend NOT to use CC #7 (Channel Volume) for Fade In/Out but to use CC #11 (Expression).

You can easily add/create a Fade In or Fade Out with "MixMaster" PC (Windows) program:

>>> https://psrtutorial.com/MB/mixMaster.html


Open your MIDI file in MixMaster.
Click on "List View" button.
Go to tab "Other" > "Process Events" and select "Fade Expression In/Out" or "Fade Expression In/Out Custom".
Make the desired settings and click "Ok".
Click on "Save as" button to save the edited MIDI file. (Use a new/changed filename to avoid overwiting the source file.)

Please see also the attached picture.


Hope this helps!

Best regards,
Chris

« Last Edit: July 30, 2020, 08:01:08 PM by overover »
Everyone always said: This is not possible! - Then someone came and ... just did it!
 
The following users thanked this post: bhergar56

Re: Fade out
« Reply #2 on: July 30, 2020, 08:38:42 PM »
Thanks a lot Chris. I'll try it. :)
 

Re: Fade out
« Reply #3 on: July 31, 2020, 03:19:25 PM »
Thanks a lot Chris. I'll try it. :)


Regarding Chris advice for using #CC 11 (expression) and not #CC 7 (volume), and making some research on the web, I found this article and hopefully can help understand to others the difference between expression and volume for making/using a fade in/out technic.:  (It seems difficult to explain what expression in midi vocabulary means....)

"Expression
Number: 11 (coarse) 43 (fine)

Affects:

This is a percentage of Volume (ie, as set by Volume Controller). In other words, Expression divides the current volume into 16,384 steps (or 128 if 8-bit instead of 14-bit resolution is used). Volume Controller is used to set the overall volume of the entire musical part, whereas Expression is used for doing crescendos and decrescendos. By having both a master Volume and sub-Volume (ie, Expression), it makes possible adjusting the overall volume of a part without having to adjust every single MIDI message comprising a crescendo or decrescendo. When Expression is at 100% (ie, maximum or 0x3FFF), then the volume represents the true setting of Volume Controller. Lower values of Expression begin to subtract from the volume. When Expression is 0% (ie, 0x0000), then volume is off. When Expression is 50% (ie, 0x1FFF), then the volume is cut in half.

If a MultiTimbral device, then each Part usually has its own Expression level.

Value Range:

14-bit coarse/fine resolution. 0x0000 to 0x3FFF where 0 is minimum effect.

NOTE: Most all devices ignore the Fine adjust (#43) for Expression, and just implement Coarse adjust (#11) because 14-bit resolution isn't needed for this. In this case, maximum is 127, 50% is 64, and off is 0. So assume that a channel's volume is 100. After receiving an Expression Controller of value 64, the volume is reduced to 50 (ie, 50% of 100). After receiving another Expression of 127, the volume is restored to 100. Now, assume the volume is changed (via Volume Controller) to 80. After receiving an Expression Controller of value 64, the volume is reduced to 40 (ie, 50% of 80). After receiving another Expression of 127, the volume is restored to 80."