Skip to main content

Make waveform widgets beautifully.

Project description

Anthos

A Tkinter-based waveform visualization widget using Canvas and librosa.

A fork of ostcrom’s python-tkinter-waveform-widget, with a easier API and cleaner, simpler configuration options.


Usage

import tkwavewidget as anthos
import tkinter as tk

main_window = tk.Tk()

# Standard Tkinter Canvas options:
cnf = {
    "height": 100,
    "width": 500,
    "bg": "green"
}

# Waveform display options:
wave_cnf = {
    "x_scale": 1,
    "y_scale": 5
}

path_to_audio = "test.mp3"

# Create waveform widget
anthos = anthos.WaveWidget(
    main_window,
    path_to_audio,
    cnf,
    wave_cnf
)

# Draw the waveform
anthos.draw()

# The class inherits from tkinter.Canvas
anthos.place()

# Update standard canvas configuration
anthos.config(cnf)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anthos-1.0.2.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anthos-1.0.2-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file anthos-1.0.2.tar.gz.

File metadata

  • Download URL: anthos-1.0.2.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for anthos-1.0.2.tar.gz
Algorithm Hash digest
SHA256 2d9665337132353890fb14fa93972bc8ad1cdb87b6a04faee4f6673560ef956f
MD5 89cf76aaaaef53d2049618c0751f8912
BLAKE2b-256 7ba80e943bba227daffcd0d5164b33731d5ca03584ee6dab9ef0fa68557d8a0c

See more details on using hashes here.

File details

Details for the file anthos-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: anthos-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for anthos-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aab4d64858ebb6f285b7294bc9ef5d288d5922f367a56ab90ebc773cbc641fc4
MD5 1c243e95e26a6306ebb35ceee9b1f458
BLAKE2b-256 8a065dbaf42223c097b5f2758075f3367ed460dae739060abb7ad72fce48f8c3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page