https://github.com/semcod/semcod
https://github.com/semcod/semcod
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/semcod/semcod
- Owner: semcod
- License: apache-2.0
- Created: 2026-05-10T09:24:22.000Z (30 days ago)
- Default Branch: main
- Last Pushed: 2026-05-10T10:20:46.000Z (30 days ago)
- Last Synced: 2026-05-10T11:35:28.309Z (30 days ago)
- Language: Python
- Size: 41 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Harp
## AI Cost Tracking
   
  
- 🤖 **LLM usage:** $1.0500 (7 commits)
- 👤 **Human dev:** ~$232 (2.3h @ $100/h, 30min dedup)
Generated on 2026-05-10 using [openrouter/qwen/qwen3-coder-next](https://openrouter.ai/qwen/qwen3-coder-next)
---
A Python package for musical string manipulation and analysis, particularly focused on harp-like string instruments and their properties.
## Features
- Musical note and frequency conversion utilities
- String vibration modeling
- Harp instrument simulation
- Audio analysis tools for string instruments
## Installation
```bash
pip install harp
```
## Quick Start
```python
from harp import Harp, note_to_frequency, frequency_to_note
# Convert between notes and frequencies
freq = note_to_frequency('A4')
note = frequency_to_note(440.0)
# Create a harp with standard tuning
harp = Harp(num_strings=47)
harp.tune_to_standard()
# Play a note
harp.pluck_string(0, velocity=0.8)
```
## Development
Install in development mode:
```bash
git clone https://github.com/yourusername/harp.git
cd harp
pip install -e .[dev]
```
This package uses modern Python packaging with `pyproject.toml`. No `setup.py` file is required.
Run tests:
```bash
pytest
```
## License
Licensed under Apache-2.0.