Resource icon

In-Race Music 1.2

Login or Register an account to download this content
Extract the folder into your apps/python folder then place .wav or .mp3 files into the "Songs" folder inside the "Music" folder. Other file types might work, but .wav and .mp3 are only types that have been tested.

***Requirements***
You must have python installed.

Latest updates

  1. Version 1.2

    Now runs in the background rather than having a command window open when you start a race.
  2. Version 1.1

    Now includes the playsound module so that it shouldn't need to be installed separately.

Latest reviews

Hi! This seems like an awesome idea. But could you perhaps explain how this works exactly. I'm a total amateur when it comes to python. As an aside, I have no idea how the"playsound" module is installed and searches on how to install it have been vague.
S
SwankyOrc
Download Python and install it (available here: https://www.python.org/ftp/python/3.9.4/python-3.9.4-amd64.exe) if you haven't already. This should include a thing called Pip. Then open up command prompt (search cmd in the windows search bar) and type in "pip install playsound" but without the speech marks. Then with your music placed in the "Assetto Corsa/apps/python/Music/Songs" folder as .wav files the music should start playing once you load a race in the game.

It might be a bit of a janky way of doing it but when the session loads in the music.py script is loaded. All this script does is launch the play_songs.py script that is also there which then checks all of the files in the Songs folder and starts playing from a random point. Then after each song finishes it plays the next and so on until the AC session is ended. When the session is ended the music.py script kills the play_songs.py script to stop the music.

Hope this helps.

Latest News

Author
SwankyOrc
Downloads
794
File size
11.4 KB
Views
17,132
First release
Last update
User rating
3.00 star(s) 1 ratings

Are you buying car setups?

  • Yes

  • No


Results are only viewable after voting.
Back
Top