Skip to content

Instantly share code, notes, and snippets.

View allumik's full-sized avatar

Alvin Meltsov allumik

  • Maastricht University Medical Center (Maastricht), Competence Centre for Health Technologies (Tartu)
  • Maastricht, Netherlands
  • 12:29 (UTC +02:00)
View GitHub Profile
@allumik
allumik / cue2labels.py
Last active January 20, 2025 20:41 — forked from joelotz/cue2labels.py
Convert a music .cue file into a label file. This module will accept an optional string attribute that specifies the input .cue file. If this file is not provided in the call then file-select box will be presented to the user. Output is a .txt file of labels that can be input into Audacity.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Convert a music .cue file into a label file.
This module will accept an optional string attribute that specifies the input
.cue file. If this file is not provided in the call then file-select box will
be presented to the user. Output is a .txt file of labels that can be input
into Audacity.
Examples: