Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

Derive.Call.StringUtil

Description

Utilities for stringed instruments.

Synopsis

Documentation

data String Source #

Constructors

String 

Fields

Instances

Instances details
Show String # 
Instance details

Defined in Derive.Call.StringUtil

Pretty String # 
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.