Holo-Tune is a multimedia project that includes two versions of a hand-tracked music player: a web version built with HTML, CSS, and JavaScript, and a Python version utilizing Pygame. Both versions aim to provide an interactive music experience, but they differ in their implementation and song sources.
- Location:
web/ - Files:
index.html: Contains the main HTML structure of the web application. It links to external CSS and JavaScript files for styling and functionality.styles.css: Contains the CSS styles for the web application, defining the layout, colors, fonts, and other visual aspects.script.js: Contains the JavaScript code that handles the music player functionality, including track loading, play/pause controls, and hand tracking.
- Song Source: The web version uses hosted placeholder songs.
- Location:
python/ - Files:
holo_tune.py: The main Python script for the Pygame version of the application. It implements similar functionality to the web version, using device songs instead of hosted songs. It handles user input, music playback, and the graphical interface.requirements.txt: Lists the Python dependencies required for the Pygame application, ensuring that the necessary libraries are installed.songs/: This directory is intended to hold device audio files for the Pygame version. Note that the actual audio files are not included in the repository.
- Song Source: The Python version uses device songs stored locally.
To ensure that the Python version does not interfere with the HTML version during deployment, a .gitignore file is included in the project root. This file specifies files and directories that should be ignored by Git.
Holo-Tune provides two distinct yet complementary experiences for users interested in interactive music playback. The web version offers accessibility through browsers, while the Python version allows for local audio file usage, making it suitable for various use cases.
The Holo-Tune project is the part of the grander Holo-Mat project