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

Cmd.Repl.LIntegrate

Description

Functions to deal with derive and score integration.

Synopsis

create

block :: Cmd.M m => m ViewId Source #

Create an integrated block from the focused block. The block integrate call will automatically create one block, but you have to use this if you want more than one. Actually, you can use it on a block without a << integrate call, but there isn't much point since it won't reintegrate until you add one.

score_block :: Cmd.M m => m ViewId Source #

Create a block integrate copy of the selected block. Details at Block.TrackDestinations.

track :: Cmd.M m => m () Source #

Similar to block, explicitly create another track integrated from the selected one, which should already have a < integrate call on it.

score_track :: Cmd.M m => m () Source #

Create a track integrate copy of the selected track. Details at Block.TrackDestinations.

revert

sel_revert :: Cmd.M m => m () Source #

Revert the selected range back to the integrated state.

inspect

dest_to_sources :: Cmd.M m => m [(TrackId, (Block.Source, Text))] Source #

Show the integration state in an abbreviated way. This is an inverse mapping from dest to source.

indices :: Cmd.M m => m [(TrackId, (Block.Source, Block.EventIndex))] Source #

Show source UI events.

integrated :: Cmd.M m => m Text Source #

This is always going to be empty because cache strips collect_integrated. That's too bad because sometimes I want to see the original events, for debugging.