Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
Safe HaskellSafe-Inferred

Cmd.Integrate.Convert

Description

The convert function and support.

Synopsis

Documentation

data Track Source #

A simplified description of a UI track, as collected by Derive.Call.Integrate.

Constructors

Track 

Fields

Instances

Instances details
Show Track Source # 
Instance details

Defined in Cmd.Integrate.Convert

Methods

showsPrec :: Int -> Track -> ShowS #

show :: Track -> String #

showList :: [Track] -> ShowS #

Eq Track Source # 
Instance details

Defined in Cmd.Integrate.Convert

Methods

(==) :: Track -> Track -> Bool #

(/=) :: Track -> Track -> Bool #

Pretty.Pretty Track Source # 
Instance details

Defined in Cmd.Integrate.Convert

type Tracks = [(Track, [Track])] Source #

(note track, control tracks)

convert :: Cmd.M m => BlockId -> Stream.Stream Score.Event -> m Tracks Source #

Convert Score.Events to Tracks. This involves splitting overlapping events into tracks, and trying to map low level notation back to high level.