hexachords_docker / README.md
pachet's picture
restructured the project a bit, added legacy folder
50062d3
---
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:
1. Clone the repository:
```bash
git clone https://huggingface.co/spaces/fpachet/hexachords
cd hexachords
```
2. Install dependencies:
```bash
pip install -r requirements.txt
```
3. Download 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
1. Local Development:
```bash
python working_app_one_score.py
```
2. Web 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:
1. Download a compatible soundfont file
2. Rename it to `soundfont.sf2`
3. Place it in the project root directory