A Python package for musical string manipulation and analysis
Project description
Harp
AI Cost Tracking
- 🤖 LLM usage: $1.2000 (8 commits)
- 👤 Human dev: ~$238 (2.4h @ $100/h, 30min dedup)
Generated on 2026-05-10 using openrouter/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
pip install harp
Quick Start
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:
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:
pytest
License
Licensed under Apache-2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file semcod-0.1.11.tar.gz.
File metadata
- Download URL: semcod-0.1.11.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58c58d78ea12fa72326c70bc20ccfb8778429f5cb8b34b9980339051a764961c
|
|
| MD5 |
8cc3a329f6c787b95168cf39c3aaff99
|
|
| BLAKE2b-256 |
909f52e7ee8b9fa3512d72adfcb503138d6268d931314e8dae72e862c0fe71ee
|
File details
Details for the file semcod-0.1.11-py3-none-any.whl.
File metadata
- Download URL: semcod-0.1.11-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbb4695ff89c2e459d43ca1dcf901efd22e03b21da2ee9c0367a8c6f6ab05c47
|
|
| MD5 |
1c7f8184213c643a7244adbee3290d6e
|
|
| BLAKE2b-256 |
371647d05ccb0b08ea9d43cc196a87c8dcdd3074e39c62b17b41f1207c048cbc
|