rehersify
alpha 0.5 (released 2019-01-05)
Martin Asperholm, [email protected], www.asperholm.net.
GNU General Public License, version 3
This is rehersify, a small python script that uses SoX and lame to create rehersal music files out of individual music files containing single voices.
The program is in the Alpha stage, meaning that the feature set is extremely limited, that the customization options are non-existent, that the program is prone to break if not used exactly as intended, and that this readme file is incredibly sparse. However, given that one follows the instructions below, it should be usable.
In order to run this script you need Python, Sox, and lame installed and ready to go.
Input files should be named "This is the songs name@voice%voiceGroup" (with voiceGroup starting at 1 and counting upwards and where several files can be inside the same voice group) and placed in the folder 'input' that is placed in the same folder that rehersify.py is placed. Input formats that are accepted are WAW and AIF. The voice group command tells rehersify two things:
1. In what order the different parts should be placed in stereo space. Lower numbers are placed more to the left and higher numbers are placed more to the right.
2. How the volume of each voice should be adjusted. Volumes of individual voices (that aren't the focus of that particular rehersal file) are adjusted so that their combined volume is the same as each other individual voice group.
Output files are generated in the 'output' folder. Output files have the format 'mp3'.
When you've placed your input files in the input folder, use the Terminal to navigate to the folder where you've placed the program and type
python rehersify.py
- Made it so that voices that belongs to the same voice group together have the same volume (when not being the primary rehersal voice of the file) if you assume that they are uncorrelated and have the same input volume.
- Added rehersal files where the voice in question is placed to the left in the stereo field with the other voices placed to the right.
- Cleaned up and optimized the code in general.
- Changed the naming of output files.
- Bug fixes.
- Bug fixes.
- Changed the syntax of input files.
- Added a normalization process at the end to all the output files.
- Tweaked volume parameters.
- Added a final step where all output files are converted to mp3 files with the help of lame.
- Implemented a behind the scenes function so that every input file is converted to a mono file (regardless if it already is a mono file or not).
- Added an automatic scaling to avoid clipping in the final mix.
- Added stereo feature: Voices can now be spread out in stereo space.
- Added the basic functionality: Taking a number of sound files and combining them into rehersal files where the volume is mixed differently.