A simplistic program that can change the volumes of songs and sfx, so that you don't have to manually change each note.
During my last project I found some of the pre-made music I chose was either too loud and conflicting with my sound effects, or too quiet. This was a tool I made for myself to help shift the volume of entire songs so that volume mixing was a bit easier. It's a very simple program, nothing special, but hopefully it helps someone else in the same way.
If you run into any glitches or issues, please do let me know!
Instructions:
Download the cart, put it in the same folder as your other carts, and open it in the desktop Pico-8 client. In the code, type the name of the cartridge with the audio you're trying to edit (file extension included) as a string in the "fn" variable and run the cartridge.
Left and Right Arrow Keys: Change song/sound
Up and Down Arrow: Increase/Decrease Volume
Z(Hold): Export all songs/sfx
X(In SFX Mode): Play sound
Automatic Mode:
By default, just running the cart should automatically recognize your songs, divide them up, and play them. After you have adjusted the volume to your liking, holding Z will export the changes you made directly to the cartridge you are editing.
If the program isn't making a song loud enough and you think increasing the maximum possible volume percentage would help, the UPPER_VOL_LIMIT variable controls that value, so feel free to mess with it.
DISCLAIMER
"Exporting" is pushing ALL the changes you made to every song, NOT just the currently selected song.
Additionally, changes you make to the target cartridge can be permanent, so I advise you edit a copy of your target cartridge rather than the original!
Manual Mode:
Typing pattern IDs into the MUSIC_PATTERNS table before running the program will make it read only the songs starting at those IDs. You can use this to narrow down which songs are available for editing as a quality of life option, or use it to force a song to start from a certain pattern in the event that the automatic song finder is incorrect.
Example: MUSIC_PATTERNS = {0,5,14,etc.}
SFX Mode:
Typing SFX IDs into the MUSIC_SFX table before running the program will put it into SFX Mode. In this mode you will be able to edit only the specific SFX that you typed into the table. Press the X key to play the selected sound and use the up and down arrow keys to shift its volume as usual.
Example: MUSIC_SFX = {8,9,12,etc.}
Feel Free to Use This However You Want:
This ones under the default CC license as usual, so do with it as you please. I tried to comment what each function I wrote does, so hopefully that will help you pick it apart if need be. I don't currently plan on expanding this really at all. It was just something I already made for myself to use that I cleaned up and added a visual UI to. If, however, there are any other things you think a tool could help with, or an extra functionality I should add to this, let me know! No promises, but I might circle back around to it. I intended to include the ability to change the volume of pattern channels individually, but it got very messy and I would need to rewrite a lot of stuff so I put that on the back burner.
Anyways, enough rambling, thanks for reading this and checking out the tool!
[Please log in to post a comment]