mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 03:30:13 +01:00
add 1 billion sound effects
This commit is contained in:
@@ -14,7 +14,7 @@ class VideoPlayer:
|
||||
self.video = VideoFileClip(path)
|
||||
if self.video.audio is not None:
|
||||
self.video.audio.write_audiofile("cache/temp_audio.wav")
|
||||
self.audio = audio.load_music_stream(Path("cache/temp_audio.wav"))
|
||||
self.audio = audio.load_music_stream(Path("cache/temp_audio.wav"), 'video')
|
||||
|
||||
self.buffer_size = 10 # Number of frames to keep in memory
|
||||
self.frame_buffer: dict[float, ray.Texture] = dict() # Dictionary to store frames {timestamp: texture}
|
||||
|
||||
Reference in New Issue
Block a user