Safe Haskell | Safe-Inferred |
---|
Cmds to edit a pitch track, which is a special kind of control track.
This module creates the pitches that are later parsed by Derive.Control.
Synopsis
- cmd_val_edit :: Cmd.M m => Msg.Msg -> m Cmd.Status
- cmd_method_edit :: Cmd.M m => Msg.Msg -> m Cmd.Status
- val_edit_at :: Cmd.M m => EditUtil.Pos -> Pitch.Note -> m ()
- method_edit_at :: Cmd.M m => EditUtil.Pos -> EditUtil.Key -> m ()
- cmd_record_note_status :: Cmd.M m => Msg.Msg -> m Cmd.Status
- transpose_selection :: Cmd.M m => Transposition -> Pitch.Octave -> Pitch.Step -> m ()
- transpose :: Transposition -> Pitch.Octave -> Pitch.Step -> ModifyPitch
- cycle_enharmonics :: ModifyPitch
- pitches :: Cmd.M m => ModifyPitch -> m ()
- pitch_tracks :: Cmd.M m => ModifyPitch -> ModifyEvents.Track m
Documentation
cmd_val_edit :: Cmd.M m => Msg.Msg -> m Cmd.Status Source #
Val edit turns Msg.InputNote
s into the appropriate scale degree call
for the scale in scope.
Like control tracks, '
will add a '
call, which repeats the last value.
This is useful to extend a constant pitch value to the desired breakpoint.
cmd_method_edit :: Cmd.M m => Msg.Msg -> m Cmd.Status Source #
Method edit directs keystrokes to the (optional) call around the pitch call. Pitches by themselves simply set a constant pitch by default, but a call can create an interpolated curve, or a trill, or anything really.
val_edit_at :: Cmd.M m => EditUtil.Pos -> Pitch.Note -> m () Source #
method_edit_at :: Cmd.M m => EditUtil.Pos -> EditUtil.Key -> m () Source #
cmd_record_note_status :: Cmd.M m => Msg.Msg -> m Cmd.Status Source #
Record the last note entered.
edits
transpose_selection :: Cmd.M m => Transposition -> Pitch.Octave -> Pitch.Step -> m () Source #
transpose :: Transposition -> Pitch.Octave -> Pitch.Step -> ModifyPitch Source #
cycle_enharmonics :: ModifyPitch Source #
pitch_tracks :: Cmd.M m => ModifyPitch -> ModifyEvents.Track m Source #
Apply a ModifyPitch to only pitch tracks.