Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,4 +11,63 @@ license: mit
|
|
| 11 |
short_description: simple generation of hexachords
|
| 12 |
---
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
short_description: simple generation of hexachords
|
| 12 |
---
|
| 13 |
|
| 14 |
+
# Hexachords
|
| 15 |
+
|
| 16 |
+
A musical composition tool that generates and manipulates hexachords - six-note musical structures.
|
| 17 |
+
This Hugging Face Space provides an interactive interface for exploring and creating music with hexachords.
|
| 18 |
+
Collaboration with Jean-Louis Hennequin who uses hexachords for film music composition.
|
| 19 |
+
|
| 20 |
+
## Features
|
| 21 |
+
|
| 22 |
+
- Generate hexachords based on musical parameters
|
| 23 |
+
- (soon) Create musical compositions using hexachordal structures
|
| 24 |
+
- (soon) Export compositions to MIDI format
|
| 25 |
+
- (soon) Interactive web interface for real-time experimentation
|
| 26 |
+
|
| 27 |
+
## Installation & Setup
|
| 28 |
+
|
| 29 |
+
To run this project locally:
|
| 30 |
+
|
| 31 |
+
1. Clone the repository:
|
| 32 |
+
```bash
|
| 33 |
+
git clone https://huggingface.co/spaces/fpachet/hexachords
|
| 34 |
+
cd hexachords
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
2. Install dependencies:
|
| 38 |
+
```bash
|
| 39 |
+
pip install -r requirements.txt
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
3. Download a soundfont:
|
| 43 |
+
- You'll need a soundfont (.sf2) file for audio playback
|
| 44 |
+
- Place it in the root directory as `soundfont.sf2`
|
| 45 |
+
- Note: The soundfont file is not included in the repository due to size limitations
|
| 46 |
+
|
| 47 |
+
## Usage
|
| 48 |
+
|
| 49 |
+
1. Local Development:
|
| 50 |
+
```bash
|
| 51 |
+
python app.py
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
+
2. Web Interface:
|
| 55 |
+
- Visit the Hugging Face Space to use the online version
|
| 56 |
+
- No installation required for the web interface
|
| 57 |
+
|
| 58 |
+
## Important Note
|
| 59 |
+
|
| 60 |
+
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:
|
| 61 |
+
|
| 62 |
+
1. Download a compatible soundfont file
|
| 63 |
+
2. Rename it to `soundfont.sf2`
|
| 64 |
+
3. Place it in the project root directory
|
| 65 |
+
|
| 66 |
+
Recommended soundfonts:
|
| 67 |
+
- General User GS
|
| 68 |
+
- FluidR3_GM
|
| 69 |
+
|
| 70 |
+
## License
|
| 71 |
+
|
| 72 |
+
This project is licensed under the MIT License - see the LICENSE file for details.
|
| 73 |
+
|