fbpx


The MIDI Forum

  Friday, 18 November 2022
  4 Replies
  1.2K Visits
9
Votes
Undo
  Subscribe
Any suggestions on how to bulk replace a specific volume in a batch of MIDI files?

Every game I am converting for my SNES MIDI Remaster Project is presenting it's own unique challenges.

In the previous game I completed, I had to boost the channel volume in the converter by 45 for all instruments to be audible.

In the current game I am working on, I have boosted the volumes by 30, but am now finding that the sound engine in this particular game does not end a note if the original volume is set to 0. By boosting everything +30, those notes now do not stop until the next thing is played on that channel.

Any suggestions on how I can easily bulk replace Channel Volume of 30 with Channel Volume of 0? If I can do this, the other volumes will remain higher as needed. Otherwise, I will either have to manually add an earlier Note Off for anything that is supposed to go to 0, or scrap the +30 boost all together, which will give me some very quiet MIDI files.
Jason set the type of the post as  How To Question — 2 weeks ago
2 weeks ago
·
#16663
1
Votes
Undo
If you are not afraid of hacking with JavaScript, try this: https://github.com/jazz-soft/JZZ-midi-SMF
Read MIDI file, add/modify/delete any particular message, save it back.
2 weeks ago
·
#16670
0
Votes
Undo
If you are not afraid of hacking with JavaScript, try this: https://github.com/jazz-soft/JZZ-midi-SMF
Read MIDI file, add/modify/delete any particular message, save it back.

I had a quick look, and quite truthfully, though I have plenty of programing knowledge, Javascript has never been part of my repertoire. I can't wrap my head around how to do anything with your software except for things you have very specific instructions for :p
1 week ago
·
#16681
0
Votes
Undo
If you are not afraid of hacking with JavaScript, try this: https://github.com/jazz-soft/JZZ-midi-SMF/stumble guys

Read MIDI file, add/modify/delete any particular message, save it back.

Can you give more specific instructions?
1 week ago
·
#16690
0
Votes
Undo
Ok, I've added more specific instructions for lazy guys :)
https://github.com/jazz-soft/JZZ-midi-SMF#by-popular-demand
  • Page :
  • 1
There are no replies made for this post yet.