Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
Safe HaskellSafe-Inferred

Derive.Call.StringUtil

Description

Utilities for stringed instruments.

Synopsis

Documentation

data String Source #

Constructors

String 

Fields

Instances

Instances details
Show String Source # 
Instance details

Defined in Derive.Call.StringUtil

Pretty String Source # 
Instance details

Defined in Derive.Call.StringUtil

find_harmonic Source #

Arguments

:: Bool 
-> Harmonic 
-> [String] 
-> Maybe String 
-> Pitch.NoteNumber 
-> Either Text (String, Harmonic)

Either Error (selected string, harmonic)

If string is given, try to find this pitch in the harmonics of that string. Otherwise, find the string from open_strings which has this as its lowest harmonic.