quattj Posted 17 hours ago Posted 17 hours ago A user over at midi.org (and here as well I believe) created a CAL script for me several years ago to fade out the end of a midi file. It works by inserting "dummy" controllers (#12) and then combines them with any existing expression controllers (#11) to fade the file out. Up to now this has worked very well. However, with the current soundtrack I am working on, every channel MIDI 1-8 plays every instrument, alternating one note at a time. Similarly, every channel 9-16 plays percussion, again alternating every percussion one note at a time. There are 8 individual tracks for each instrument. I believe the issue I am having is that the inserted controllers are affecting the channels when they are not currently on the "active" track for that channel. I can't really wrap my head around half of what the script is doing internally. I can program in C languages just fine, but CAL script just look like gobbledygook to me. 😅 The midi.org forums have been essentially dead since the forum was changed over to new software last(?) year, so hoping to get a quicker response here. *** Essentially, what I would like to have the script modified to ONLY keep the expression controllers where they originally exist, but have them at the newly set level. *** As the script works right now, all of the new controllers remain and continue fading from the last level they encountered. This means if there were none to begin with, you would see a straight line in an expression viewer all the way from 127 down to 0. If there were already expression values, you would see the line go down but where any values already existed, it jumps to that percentage of the modified value, meaning it might go down and then up again. Here are a series of captures from the expression view in Sekaiju to show what I mean. Each of the first 3 images are different percussion instruments and their resulting final expression values after running the script. The fourth image is the combined overlay of how they appear when the file is played. You can see the individually, the expression would work well as a fade out, but when combined they are "destroyed" by the track that had no expression to begin with, and therefore has the full 127 to 0 fadeout. _expression-fadeout.cal
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now