Spaces:
Sleeping
Sleeping
metadata
title: Hexachords
emoji: 🌍
colorFrom: pink
colorTo: pink
sdk: docker
sdk_version: 5.21.0
app_file: app.py
pinned: false
license: mit
short_description: simple generation of hexachords
Hexachords
First experiments with a docker able to generate midi stuff and display the generated scores with verovio. App is in Python/gradio and uses a compiled verovio library as a subprocess. Would be better if used with the python embedding... Next step: build the full hexachord app. This is the verovio CLI version, stable working.
Features
- Generate hexachords based on musical parameters
- (soon) Create musical compositions using hexachordal structures
- (soon) Export compositions to MIDI format
- (soon) Interactive web interface for real-time experimentation
Installation & Setup
To run this project locally:
Clone the repository:
git clone https://huggingface.co/spaces/fpachet/hexachords cd hexachordsInstall dependencies:
pip install -r requirements.txtDownload a soundfont:
- You'll need a soundfont (.sf2) file for audio playback
- Place it in the root directory as
soundfont.sf2 - Note: The soundfont file is not included in the repository due to size limitations
Usage
Local Development:
python working_app_one_score.pyWeb Interface:
- Visit the Hugging Face Space to use the online version
- No installation required for the web interface
Important Note
This project requires a soundfont (.sf2) file for audio playback. Due to file size limitations, the soundfont is not included in the repository. You'll need to:
- Download a compatible soundfont file
- Rename it to
soundfont.sf2 - Place it in the project root directory