package llama_core

  1. Overview
  2. Docs

Module Signal.GateSource

type 'a signal := 'a t
Sourcetype t

A boolean signal which is usually false but becomes true while a certain condition is satisfied (e.g. a key is held down)

Sourceval to_signal : t -> bool signal
Sourceval of_signal : bool signal -> t
Sourceval to_trigger : t -> Trigger.t
Sourceval sample : t -> Ctx.t -> bool
Sourceval debug_print_sample_index_on_true : t -> t