Safe Haskell | Safe-Inferred |
---|
Functions to deal with derive and score integration.
Synopsis
- block :: Cmd.M m => m ViewId
- score_block :: Cmd.M m => m ViewId
- track :: Cmd.M m => m ()
- score_track :: Cmd.M m => m ()
- clear_score_track :: Cmd.M m => m ()
- clear_score_tracks_of :: Ui.M m => BlockId -> m ()
- sel_revert :: Cmd.M m => m ()
- delete_manual :: Cmd.M m => Block.SourceKey -> m ()
- track_sources :: Cmd.M m => m Text
- show_track_dests :: Block.TrackDestinations -> [Text]
- show_score_dest :: (TrackId, (TrackId, Block.EventIndex)) -> [Text]
- show_dest :: Block.NoteDestination -> [Text]
- show_index :: Block.EventIndex -> [Text]
- show_event :: Event.Event -> Text
- dest_to_sources :: Cmd.M m => m [(TrackId, (Block.Source, Text))]
- sel_edits :: Cmd.M m => m ([Event.IndexKey], [Merge.Edit])
- edits :: Cmd.M m => BlockId -> TrackId -> m ([Event.IndexKey], [Merge.Edit])
- indices :: Cmd.M m => m [(TrackId, (Block.Source, Block.EventIndex))]
- indices_of :: Maybe (BlockId, Block.TrackDestinations) -> [(TrackId, Block.TrackDestinations)] -> [(TrackId, Block.EventIndex)]
- integrated :: Cmd.M m => m Text
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
.
score_track :: Cmd.M m => m () Source #
Create a track integrate copy of the selected track. Details at
Block.TrackDestinations
.
clear_score_track :: Cmd.M m => m () Source #
clear_score_tracks_of :: Ui.M m => BlockId -> m () Source #
revert
sel_revert :: Cmd.M m => m () Source #
Revert the selected range back to the integrated state.
delete_manual :: Cmd.M m => Block.SourceKey -> m () Source #
inspect
track_sources :: Cmd.M m => m Text Source #
show_score_dest :: (TrackId, (TrackId, Block.EventIndex)) -> [Text] Source #
show_dest :: Block.NoteDestination -> [Text] Source #
show_index :: Block.EventIndex -> [Text] Source #
show_event :: Event.Event -> Text Source #
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.
sel_edits :: Cmd.M m => m ([Event.IndexKey], [Merge.Edit]) Source #
edits :: Cmd.M m => BlockId -> TrackId -> m ([Event.IndexKey], [Merge.Edit]) Source #
indices :: Cmd.M m => m [(TrackId, (Block.Source, Block.EventIndex))] Source #
Show source UI events.
indices_of :: Maybe (BlockId, Block.TrackDestinations) -> [(TrackId, Block.TrackDestinations)] -> [(TrackId, Block.EventIndex)] Source #
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.