AbiCut is a Windows desktop application for preparing and controlling music segments together with PowerPoint slides during live school events.
The project was developed for a real graduation-event workflow: each presentation slide can be assigned to a student and a specific Spotify track segment. AbiCut combines project preparation, Spotify integration, PowerPoint monitoring and a dedicated live view in one application.
During a graduation ceremony, individual presentation slides can require a specific part of a song to start at exactly the right moment. Managing this manually becomes difficult when many students, songs and timings have to be coordinated reliably.
AbiCut provides a structured workflow for this process:
- Create a project from an Excel class list.
- Optionally import a Spotify playlist.
- Assign and verify songs for each slide.
- Define start position, duration and fade settings.
- Confirm the configuration before the event.
- Start Live Mode and let AbiCut react to PowerPoint slide changes.
AbiCut starts with a project wizard. A project name, Excel class list and optionally a Spotify playlist can be provided during setup.
Student names are imported from the selected Excel file. AbiCut detects the relevant name columns and creates the slide structure automatically.
A Spotify playlist can be imported and matched to the generated student slides.
Spotify is optional: AbiCut can be started and used without Spotify credentials. Spotify-dependent features become available after the credentials are configured in the application settings.
The main screen and project manager provide an overview of preparation progress and allow existing projects to be opened, duplicated, renamed or deleted.
The editor shows all slides and their preparation state. For each slide, the song, playback position, duration and fade values can be configured and verified.
Default values for start position, song duration and fades can be configured globally.
During Live Mode, AbiCut reacts to PowerPoint slide changes and displays the current playback state.
| Unconfigured | Playing | Disabled |
|---|---|---|
![]() |
![]() |
![]() |
-
Project Wizard
- creates a new AbiCut project
- imports student names from
.xlsxor.xlsfiles - automatically detects common name-column formats
- can import a Spotify playlist directly during setup
-
Project Management
- open and manage multiple projects
- duplicate, rename and delete projects
- keep track of project preparation progress
-
Spotify Integration
- optional Spotify configuration
- Spotify OAuth authentication
- persistent local OAuth cache
- playlist import
- track metadata retrieval
- playback control
- seek to a defined track position
- automatic fade-in and fade-out
-
Slide Editor
- assign songs to individual presentation slides
- configure start position and playback duration
- define fade-in and fade-out values
- test configured track segments
- enable or disable individual slides
- explicitly confirm timing configuration
-
PowerPoint Integration
- reads the current PowerPoint slideshow position through Windows COM
- detects slide changes during the presentation
- reconnects if PowerPoint is opened later
- handles unavailable or closed presentations without crashing
- triggers the configured Spotify segment for the active slide
-
Live Monitor
- displays the current slide and student
- shows the active song
- previews the next slide / student / song
- displays playback progress and remaining time
- distinguishes between active, disabled and unconfigured slides
- indicates PowerPoint connection / slideshow status
-
JSON-based Project Storage
- project metadata and slide configuration are stored in readable JSON files
- each student receives a unique ID
- configuration states such as
enabled,song_addedandtime_confirmedare stored explicitly
-
Persistent User Data
- projects and settings are stored separately from the application files
- project folders can be copied between PCs
- application updates do not require moving project data
Excel class list ────────┐
│
Spotify playlist ────────┼──> Project Wizard
│ │
│ v
│ Project config (JSON)
│ │
│ v
└──> AbiCut Editor
│
┌─────────┴─────────┐
│ │
v v
Spotify Web API PowerPoint COM
│ │
└─────────┬─────────┘
v
Live Controller
│
v
Live Monitor
The application is split into dedicated modules for project management, configuration, Spotify control, PowerPoint communication, editing and live operation.
The repository contains:
config.example.json
This file documents the current AbiCut project format using fictional names and placeholder Spotify data. It is not automatically loaded as a real project.
A slide entry can contain data such as:
{
"student": "Max Mustermann",
"student_id": "example-student-001",
"song": "Example Song",
"artist": "Example Artist",
"uri": "spotify:track:EXAMPLE_TRACK_ID",
"start_ms": 15000,
"duration_ms": 30000,
"fade_in": 2.0,
"fade_out": 2.0,
"enabled": true,
"song_added": true,
"time_confirmed": true
}Real AbiCut projects are created under:
Documents/
└── AbiCut/
└── projects/
└── <project-name>/
└── config.json
This keeps real student and event data outside the public repository.
- Python
- Tkinter / ttk — desktop user interface
- Spotipy — Spotify Web API integration
- Spotify OAuth
- pywin32 / win32com — PowerPoint automation and slideshow monitoring
- pandas — Excel class-list import
- openpyxl / xlrd — Excel file support
- JSON — project and settings storage
- threading — playback timing and fades
- PyInstaller — Windows application build
- Inno Setup — Windows installer packaging
AbiCut currently targets Windows, because the PowerPoint integration uses win32com.
For the core application you need:
- Python 3
- Microsoft PowerPoint desktop application
- the Python packages listed in
requirements.txt
Spotify is not required to start AbiCut.
To use Spotify-dependent features such as playlist import, song testing and playback control, you additionally need:
- a Spotify developer application
- valid Spotify API credentials
- an available Spotify playback device
Clone the repository:
git clone https://github.com/leonstein2611/abicut.git
cd abicutInstall the dependencies:
pip install -r requirements.txtStart AbiCut:
python main.pyOn first launch, AbiCut creates its local data directory automatically:
Documents/
└── AbiCut/
├── settings.json
├── current_project.txt
└── projects/
The Spotify OAuth cache is created in the same directory after the first successful Spotify authentication:
Documents\AbiCut\.spotify_cache
Real Spotify credentials are intentionally not stored in this repository.
AbiCut can be started normally without Spotify credentials. Spotify-dependent features remain unavailable until credentials are added.
To enable Spotify integration, open the AbiCut settings and enter:
- Spotify Client ID
- Spotify Client Secret
- Redirect URI
The default redirect URI is:
http://127.0.0.1:8888/callback
The Spotify application must use the same redirect URI.
AbiCut stores the local settings in:
Documents\AbiCut\settings.json
Spotify OAuth authentication is cached locally in:
Documents\AbiCut\.spotify_cache
Both files are local runtime data and must not be committed to Git.
Start the application with:
python main.pyAbiCut can be used for project management and preparation without Spotify credentials.
For the full Live Mode workflow:
- Configure Spotify credentials in AbiCut.
- Authenticate Spotify once.
- Make sure a Spotify playback device is active.
- Open the prepared PowerPoint presentation.
- Start the PowerPoint slideshow.
- Open the prepared AbiCut project.
- Start Live Mode.
- Changing the PowerPoint slide triggers the corresponding configured Spotify segment.
AbiCut can also reconnect to PowerPoint if the presentation is opened after the application.
abicut/
├── assets/
│ ├── abicut_logo.png
│ └── abicut_logo.ico
│
├── main.py # Application entry point
├── paths.py # Application, resource and user-data paths
├── startscreen.py # Main menu / project overview
├── project_wizard.py # New-project workflow
├── project_manager.py # Project management
├── project_controller.py # Current-project handling
├── project_statistics.py # Project progress / statistics
├── class_importer.py # Excel class-list import
├── playlist_importer.py # Spotify playlist import
├── gui.py # Main project editor
├── slide_editor.py # Detailed slide configuration
├── spotify_connection.py # Spotify connection / authentication
├── spotify_controller.py # Spotify playback control
├── powerpoint_controller.py # PowerPoint COM integration
├── live_controller.py # Live-event logic
├── monitor.py # Live monitor UI
├── settings_manager.py # Local settings persistence
├── settings_window.py # Settings UI
├── baseWindow.py # Shared window behavior
├── utils.py # Time conversion utilities
├── requirements.txt
├── config.example.json
├── version_info.txt
├── AbiCut_Setup.iss
└── .gitignore
The public repository intentionally excludes runtime and personal data such as:
settings.json
current_project.txt
.spotify_cache
.cache
config.json
projects/
__pycache__/
build/
dist/
installer/
This prevents Spotify credentials, authentication data and real student/project information from being published.
User data is stored separately from the application files under:
Documents\AbiCut
This separation also allows AbiCut projects to be transferred between PCs by copying the corresponding project folder.
AbiCut can be packaged as a Windows desktop application using PyInstaller.
Example build command:
python -m PyInstaller --noconfirm --clean --windowed --onedir --name "AbiCut" --icon "assets\abicut_logo.ico" --version-file "version_info.txt" --add-data "assets;assets" main.pyThe generated application is located under:
dist\AbiCut\
A Windows installer can then be created from the generated dist\AbiCut folder using the included AbiCut_Setup.iss Inno Setup script.
The public build must not include real student data or private project folders.
Version 1.0 — completed / operational
AbiCut was developed as a complete desktop application for a real school event workflow. The application combines project preparation, validation and live control instead of focusing only on a single playback script.
The current version includes persistent user-data paths, optional Spotify configuration, local OAuth caching, PowerPoint reconnection handling, Windows application branding and installer support.
The public repository documents the technical implementation while keeping credentials and real project data private.
AbiCut grew from the practical requirement to coordinate PowerPoint slides and individual music segments reliably during a graduation event.
What started as a smaller event-control tool developed into a modular desktop application with project management, Excel and Spotify imports, editing and validation tools, persistent JSON project data and a dedicated Live Controller.
This project is licensed under the MIT License. See LICENSE.md for details.
Leon Stein
Robotics & Autonomous Systems / technical projects in software, embedded systems and automation.











