Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

Safe HaskellNone

Derive.Call.Idiom.Wind

Description

Post-process notes to add artifacts characteristic of wind instruments.

Synopsis

Documentation

process :: Fundamentals -> (Maybe Score.Event, Score.Event) -> Score.Event Source #

On each event, find the closest (fundamental, harmonic) for this pitch and the next event's pitch. On the next note's start time, shift the pitch to same harmonic on the next note's fundamental.

(*#) :: Pitch.Hz -> Int -> Pitch.Hz Source #

Hz raised to the nth harmonic.