Re: Mplayer makes small popping/static sound when speed_set is used
Brad Hermanson <[email protected]> Sun, 16 Jul 2023 15:43:53 -0400
| Newsgroups | gmane.comp.video.mplayer.user |
|---|---|
| Message-ID | <CAPYsT-PbfkJnKc+rd+maRHQw9e938ApsmDycbsr00BJMXZCAgg@mail.gmail.com> |
Muting the program wouldn't be a viable solution since Aletheia is designed to be listened to while adjusting the pitch and speed. It sends multiple speed_set commands (sometimes in quick succession) when transitioning to a different pitch. Therefore, introducing a pause in playback, even temporarily, is not feasible. On Sun, Jul 16, 2023 at 12:00 PM <[email protected]> wrote: > Have you tried muting sound, setting the new frequency, then unmuting? > > On Sat, Jul 15, 2023, 7:34 PM Brad Hermanson <[email protected]> wrote: > > > Over the past two years I've developed a command-line front-end to > MPlayer > > called Aletheia that features front-and-center pitch controls using music > > intervals (e.g. 1/12 of an interval for a semitone, but works with any > > EDO), and it utilizes speed_set to adjust. Everything works great; > however, > > there is a slight clicking/popping/static sound on a speed_set change. > It's > > not a big problem and I feel like it might be out of my control; perhaps > > even a symptom inherent to the audio frequency itself. I was wondering if > > anyone had any ideas on if this could be reduced or eliminated if it is > > something that can be fixed? It seems that even small increments produce > > the sound and I can't imagine it's my code as I'm just sending commands > to > > a pipe to mplayer. I thought that perhaps mplayer itself could scale > small > > increments to reduce the static, or perhaps another solution would be > > better. Aletheia is just a bash script, so the optimization would likely > > have to come from your end. > > > > https://github.com/apeitheo/aletheia > > > > Thank you in advance for any help or insight into this matter. > > _______________________________________________ > > MPlayer-users mailing list > > [email protected] > > https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users > > > _______________________________________________ > MPlayer-users mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users > _______________________________________________ MPlayer-users mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users