Skip to content

semcod/semcod

Repository files navigation

Harp

AI Cost Tracking

PyPI Version Python License AI Cost Human Time Model

  • 🤖 LLM usage: $0.0730 (10 commits)
  • 👤 Human dev: ~$769 (7.7h @ $100/h, 30min dedup)

Generated on 2026-07-06 using openrouter/deep/deep-v4-pro


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.

About

A Python package for musical string manipulation and analysis

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors