File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919import csv
2020import asyncio
2121import pydub
22- from pydub import AudioSegment
2322#pynanosvg
24- import ffmpeg
25- #from ffprobe import FFProbe
26- sys .path .append ('./frameworks/ffmpeg' )
27- sys .path .append ('./frameworks/ffprobe' )
2823
2924GameFPS = 60
3025
@@ -561,11 +556,9 @@ def PlayMusic(musNum):
561556 pymusictype = "wav"
562557 musicfilepath = "./assets/audio/INOSSI - Got you-loop.wav"
563558 musicintrofilepath = "./assets/audio/INOSSI - Got you-start.wav"
564- musicintro = AudioSegment .from_file (musicintrofilepath , format = pymusictype )
565- musicintro = AudioSegment .from_file (musicintrofilepath , format = musicintrofilepath [- 3 :])
566- #pygame.mixer.music.load(musicintrofilepath)
567- #pygame.mixer.music.set_volume(Decimal(pygamemixermusic))
568- #pygame.mixer.music.play()
559+ pygame .mixer .music .load (musicintrofilepath )
560+ pygame .mixer .music .set_volume (Decimal (pygamemixermusic ))
561+ pygame .mixer .music .play ()
569562
570563PlayMusic (random .randint (1 ,6 ))
571564pygame .mixer .music .set_volume (Decimal (pygamemixermusic ) * (Settings [1 ]["value" ] / 100 ))
Original file line number Diff line number Diff line change 77toml
88datetime
99pickle-mixin
10- pydub
11- ffmpeg
12- ffprobe
1310asyncio
1411PyInstaller
You can’t perform that action at this time.
0 commit comments