Patched sound.py file to control the 2B based on audio file names in renpy games
For each form the 2B is set to the mapped mode. The BPM determine the value for channel C. Once you set channel A or channel B to a value different than 0, the settings for the mode are saved and restored when the mode is set again.
Overwrite the renpy/audio/sound.py
file in the game directory by the patched sound.py
file.
Start the http server and start the game.