Skip to content

semcod/semcod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Harp

AI Cost Tracking

PyPI Version Python License AI Cost Human Time Model

  • 🤖 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


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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages