Skip to main content

A Python package for musical string manipulation and analysis

Project description

Harp

AI Cost Tracking

AI Cost AI Model

This project uses AI-generated code. Total cost: $0.1307 with 10 AI commits.

Generated on 2026-06-29 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

semcod-0.1.14.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

semcod-0.1.14-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file semcod-0.1.14.tar.gz.

File metadata

  • Download URL: semcod-0.1.14.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for semcod-0.1.14.tar.gz
Algorithm Hash digest
SHA256 07f62c9eb8e80aeba4ea18939b3731f809891b929a0ed2a20b0c263c9b307f63
MD5 1059104adc5a8f5f0791bbfe27b817e0
BLAKE2b-256 362c0f744382b37905c834a29c1bdf9a66bba0f56fe423c22916e26100d7c1b5

See more details on using hashes here.

File details

Details for the file semcod-0.1.14-py3-none-any.whl.

File metadata

  • Download URL: semcod-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for semcod-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 6dc7dc1c51221e1718655fa521d0b08b05f4c313159ca67e21a973f4ac8f5639
MD5 d066eb53e61c312110dc421dfd481ed0
BLAKE2b-256 d81db28a243a6735d28a8bb6523fd2c0d0278289bd8809db6f68d17b136dabf2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page