Jump to content

Find/Change skipping first instance that meets criteria if at start of track


quattj

Recommended Posts

I am running a find/change for controller 7 Volume with value range 1 to 127 and replacing with value 40 to 127.  In the resulting MIDI file, no volume should be below 40 unless it is 0.  However, in 10 of the songs on the 31 song soundtrack I am working on, the volume remains at 28 because it is set at the very beginning of the track and there are no further volume changes in most of them to later boost it up.

This can be confirmed in the Event Viewer, where that original volume of 28 setting does not appear in the list of events.

I am using Cakewalk 2022.11.  Can anyone confirm that this is either fixed or not fixed in newer versions?  I am attaching a sample file.  To replicate the issue,

load the file

click in any track and press CTRL-A to select all

run Process -> Find/Change

Select only Control: Number Min 7, Max 7; Value Min 1 Max 127 then press OK

Set Control: Number Min 7, Max 7; Value Min 40 Max 127 then press OK

Save the file.

Then load it in an alternate editor/player/decompiler/whatever and check the volume values for Channel 7 and Channel 8.

16 Final Space noperc clean repair MERGE GS mod5.mid

Link to comment
Share on other sites

When you open a .MID file, the first CC7 event in the first measure of each track is used to set the MIDI Volume widget in the track and is removed from the Event list. When you find/replace all the values, that Volume widget level remains unaltered, and when you re-save as MIDI, that value is written back to the file at the front of the event list.

I don't believe there's an option to override this behavior. You just need to set the Volume widget in each track to the desired initial value before saving.

Link to comment
Share on other sites

Thanks, and yikes.  My files are too varied for this to be feasible, especially since I don't know the exact number the volume would be after running the find/change.  Events should be events. 😑 I worked around it by adding volume modification in to my own editor that I wrote for the project I am working on.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...