I've recently seen this: https://tech-blog.sonos.com/posts/pyflac-real-time-lossless-audio-compression-in-python/
https://github.com/sonos/pyFLAC I haven't tried it, though. cheers, Matthias On Sun, Jun 13, 2021 at 4:21 PM Keith Edmunds <k...@midnighthax.com> wrote: > > What I'm trying to do: control the playing of flac files from Python, and > specifically be able to start playback at some arbitraty point in the file. > > I'm writing a music player in Python. It's aims differ from the usual > music player as this being used to manage the music of an online radio > show. > > The music source files are FLAC. Sometimes I need to be able to start > playing the file from, say, 5 seconds in (could be any time). I'm > currently using the Python bindings of vlc to manage the playing, but it's > very inexact when trying to start at a specific time spot. > > Has anyone had success in playing flac files via Python, and been able to > start playback at some arbitrary point? > -- > Great music, chat and even some wit. > Join me every Friday evening at 8pm for > Keith's Music Box: > https://www.mixcloud.com/live/KeithsMusicBox/ > _______________________________________________ > Linux-audio-dev mailing list > Linux-audio-dev@lists.linuxaudio.org > https://lists.linuxaudio.org/listinfo/linux-audio-dev _______________________________________________ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org https://lists.linuxaudio.org/listinfo/linux-audio-dev