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

Cmd.Repl.LTrack

Description

Cmds for track level operations.

Synopsis

# Documentation

List all tracks, along with the number of blocks each one appears in.

Tracks that don't appear in any block.

Remove tracks with no events from the given block.

map_titles :: (Text -> Text) -> Cmd.CmdL () Source #

Transform all track titles.

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

Find all tracks with the given string in their title. You can use Ui.blocks_with_track_id to find the blocks with the tracks, and map_titles or replace to change the titles.

find_f :: Cmd.M m => (Text -> Bool) -> m [(TrackId, Text)] Source #

# manipulation

duplicate :: Ui.M m => BlockId -> Types.TrackNum -> BlockId -> Types.TrackNum -> m () Source #

Duplicate a track from one block to another. The underlying track is the same, so edits in one of its occurrances will be reflected in all of its blocks.

# events

Reduce event text to notation at a fixed time increment. It only works out if each event only has a single letter.

4 measures per line, 16 time steps per measure.

# signal render

nline :: Text -> Cmd.CmdL () Source #

Pass "#" for the pitch track.

Arguments

 :: Cmd.M m => (Maybe Track.RenderSource -> Track.RenderStyle) -> Text Either a control name, or a #-prefixed pitch name. -> m ()