X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=helpers%2Fmusic_file.py;h=7e5f978855c8b6c8dc4b4b47b9d22ef5ae3177d3;hb=c80ff6dc4579ab28c4064576db5a4859e639c504;hp=5baab7ef36d0bf09b92e888f013554506602b59e;hpb=176642649ad18f056675f7d89ea84482084234bc;p=perso%2FImmae%2FProjets%2FPython%2FMusicSampler.git diff --git a/helpers/music_file.py b/helpers/music_file.py index 5baab7e..7e5f978 100644 --- a/helpers/music_file.py +++ b/helpers/music_file.py @@ -177,8 +177,6 @@ class MusicFile(Machine): ms = int(self.sound_position * 1000) ms_fo = max(1, int(fade_out * 1000)) - # FIXME: stop fade_out puis seek -5 -> on abandonne le fade ? (cf - # commentaire dans fonction seek new_audio_segment = self.current_audio_segment[:ms + ms_fo].fade_out(ms_fo) with self.music_lock: self.current_audio_segment = new_audio_segment