View Source X32Remote.Mixer (x32_remote v0.1.0)
A convenience wrapper for running X32 commands on a single mixer.
By default, X32Remote will start a supervised mixer session, with a
registered name of X32Remote.Mixer.Session. This module imports all the
functions from the X32Remote.Commands.* modules, automatically supplying
that name as the first argument.
This greatly simplifies the process of issuing commands. Instead of
iex> {:ok, client} = ExOSC.Client.start_link(ip: {1,2,3,4}, port: 10023)
iex> {:ok, session} = X32Remote.Server.start_link(client: client)
iex> X32Remote.Commands.Mixing.get_fader(session, "ch/01")
0.5Now you can just do
iex> X32Remote.Mixer.get_fader(session, "ch/01")
0.5
Link to this section Summary
Functions
Checks if solo is enabled for any channel.
Disables solo for all channels.
Disables sending a channel's audio to the mono ("MONO/C") main output.
Disables sending a channel's audio to the stereo ("LR") main output.
Disables solo for the given channel.
Enables sending a channel's audio to the mono ("MONO/C") main output.
Enables sending a channel's audio to the stereo ("LR") main output.
Enables solo for the given channel.
Gets the fader setting for a channel.
Gets the main mono ("MONO/C") output level setting for a channel.
Gets the pan (left/right) setting for a channel.
Query info about the console and OSC server.
Query if a channel is sending audio to the mono ("MONO/C") main output.
Query if a channel is sending audio to the stereo ("LR") main output.
Mutes a channel.
Query if a channel is muted.
Sets the console's clock, as displayed on the mixer's LCD panel.
Sets the fader setting for a channel.
Sets the main mono ("MONO/C") output level setting for a channel.
Sets the pan (left/right) setting for a channel.
Query if solo is enabled for the given channel.
Query info about the console's state and network setup.
Unmutes a channel.
Query info about the console and network setup.
Link to this section Types
@type channel() :: X32Remote.Types.Channel.channel()
@type mono_level() :: X32Remote.Types.mono_level()
@type panning() :: X32Remote.Types.panning()
@type volume() :: X32Remote.Types.volume()
Link to this section Functions
@spec any_solo?() :: boolean()
Checks if solo is enabled for any channel.
@spec clear_solo() :: :ok
Disables solo for all channels.
@spec disable_main_mono_out(channel()) :: :ok
Disables sending a channel's audio to the mono ("MONO/C") main output.
@spec disable_main_stereo_out(channel()) :: :ok
Disables sending a channel's audio to the stereo ("LR") main output.
@spec disable_solo(channel()) :: :ok
Disables solo for the given channel.
@spec enable_main_mono_out(channel()) :: :ok
Enables sending a channel's audio to the mono ("MONO/C") main output.
@spec enable_main_stereo_out(channel()) :: :ok
Enables sending a channel's audio to the stereo ("LR") main output.
@spec enable_solo(channel()) :: :ok
Enables solo for the given channel.
Gets the fader setting for a channel.
Gets the main mono ("MONO/C") output level setting for a channel.
Gets the pan (left/right) setting for a channel.
@spec info() :: [binary()]
Query info about the console and OSC server.
Query if a channel is sending audio to the mono ("MONO/C") main output.
Query if a channel is sending audio to the stereo ("LR") main output.
@spec mute(channel()) :: :ok
Mutes a channel.
Query if a channel is muted.
@spec set_clock(NaiveDateTime.t()) :: :ok
Sets the console's clock, as displayed on the mixer's LCD panel.
Sets the fader setting for a channel.
@spec set_main_mono_level(channel(), mono_level()) :: :ok
Sets the main mono ("MONO/C") output level setting for a channel.
Sets the pan (left/right) setting for a channel.
Query if solo is enabled for the given channel.
@spec status() :: [binary()]
Query info about the console's state and network setup.
@spec unmute(channel()) :: :ok
Unmutes a channel.
@spec xinfo() :: [binary()]
Query info about the console and network setup.