package llama_interactive

  1. Overview
  2. Docs
Visualization and live interaction for Llama synthesizer library

Install

Dune Dependency

Authors

Maintainers

Sources

0.1.0.tar.gz
sha256=320b997e202b053c1529a70b4fae97b2de4f2d750f26fda199aa3d24c9be7cba
sha512=6a53edfed78ca496009a5b34efbf9b10ed7055ce536ceb7bb0c194090aaa6d103598e5b177260e49c4be9305511f26140db864ed28cdad937ff2da209b5dfbda

doc/llama_interactive/Llama_interactive/index.html

Module Llama_interactiveSource

include module type of struct include Llama end
include module type of struct include Llama_core end
Sourcemodule Live = Llama.Live
Sourceval play_signal : ?downsample:int -> ?scale_output_volume:float -> float Llama_core.Signal.t -> 'a

Play a given signal and never return. The optional downsample argument artificially reduces the sample rate (the sample rate is divided by this value) and is intended for use on slower computers which can't compute samples fast enough to keep up with the audio hardware's sample rate.

Sourceval play_signal_lwt : ?downsample:int -> ?scale_output_volume:float -> float Llama_core.Signal.t -> 'a Lwt.t

Like play_signal but returns a lwt that must be scheduled in order to run. Use this when visualizing a signal with Llama_graphical.

module Dsl = Llama.Dsl
Sourcemodule Signal_player = Llama.Signal_player
module Signal = Llama.Signal
module Float = Llama.Float
module Music = Llama.Music
Sourcemodule Midi = Llama.Midi
Sourcemodule Window : sig ... end
Sourcemodule Input : sig ... end
Sourceval with_window_lwt : ?title:string -> ?width:int -> ?height:int -> ?fps:float -> ?background_rgba_01:(float * float * float * float) -> ?f_delay_s:float -> (Window.t -> 'a Lwt.t) -> 'a Lwt.t
Sourceval with_window : ?title:string -> ?width:int -> ?height:int -> ?fps:float -> ?background_rgba_01:(float * float * float * float) -> ?f_delay_s:float -> (Window.t -> 'a Lwt.t) -> 'a
Sourceval visualize : Window.t -> ?pixel_scale:int -> ?sample_scale:float -> ?sample_to_rgba_01:(float -> float * float * float * float) -> ?stride:int -> ?stable:bool -> float Llama.Signal.t -> float Llama.Signal.t
Sourceval play_signal_visualized_lwt : ?downsample:int -> ?scale_output_volume:float -> ?title:string -> ?width:int -> ?height:int -> ?fps:float -> ?background_rgba_01:(float * float * float * float) -> ?f_delay_s:float -> ?pixel_scale:int -> ?sample_scale:float -> ?sample_to_rgba_01:(float -> float * float * float * float) -> ?stride:int -> ?stable:bool -> float Signal.t -> 'a Lwt.t
Sourceval play_signal_visualized : ?downsample:int -> ?scale_output_volume:float -> ?title:string -> ?width:int -> ?height:int -> ?fps:float -> ?background_rgba_01:(float * float * float * float) -> ?f_delay_s:float -> ?pixel_scale:int -> ?sample_scale:float -> ?sample_to_rgba_01:(float -> float * float * float * float) -> ?stride:int -> ?stable:bool -> float Signal.t -> 'a
OCaml

Innovation. Community. Security.