Skip to content

flet-audio#

pypi downloads license

A Flet extension package for displaying audio animations.

It is based on the audioplayers Flutter package.

Platform Support#

This package supports the following platforms:

Platform Supported
Windows
macOS
Linux
iOS
Android
Web

Usage#

Installation#

To install the flet-audio package and add it to your project dependencies:

uv add flet-audio
pip install flet-audio  # (1)!
  1. After this, you will have to manually add this package to your requirements.txt or pyproject.toml.
poetry add flet-audio
Windows Subsystem for Linux (WSL)

On WSL, you need to install GStreamer library.

If you receive error while loading shared libraries: libgstapp-1.0.so.0, it means GStreamer is not installed in your WSL environment.

To install it, run the following command:

apt install -y libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools

Examples#

See these.