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.5

Now 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

Link to this section Functions

@spec any_solo?() :: boolean()

Checks if solo is enabled for any channel.

See X32Remote.Commands.Solo.any_solo?/1.

@spec clear_solo() :: :ok

Disables solo for all channels.

See X32Remote.Commands.Solo.clear_solo/1.

Link to this function

disable_main_mono_out(channel)

View Source
@spec disable_main_mono_out(channel()) :: :ok

Disables sending a channel's audio to the mono ("MONO/C") main output.

See X32Remote.Commands.MainOut.disable_main_mono_out/2.

Link to this function

disable_main_stereo_out(channel)

View Source
@spec disable_main_stereo_out(channel()) :: :ok

Disables sending a channel's audio to the stereo ("LR") main output.

See X32Remote.Commands.MainOut.disable_main_stereo_out/2.

@spec disable_solo(channel()) :: :ok

Disables solo for the given channel.

See X32Remote.Commands.Solo.disable_solo/2.

Link to this function

enable_main_mono_out(channel)

View Source
@spec enable_main_mono_out(channel()) :: :ok

Enables sending a channel's audio to the mono ("MONO/C") main output.

See X32Remote.Commands.MainOut.enable_main_mono_out/2.

Link to this function

enable_main_stereo_out(channel)

View Source
@spec enable_main_stereo_out(channel()) :: :ok

Enables sending a channel's audio to the stereo ("LR") main output.

See X32Remote.Commands.MainOut.enable_main_stereo_out/2.

@spec enable_solo(channel()) :: :ok

Enables solo for the given channel.

See X32Remote.Commands.Solo.enable_solo/2.

@spec get_fader(channel()) :: float()

Gets the fader setting for a channel.

See X32Remote.Commands.Mixing.get_fader/2.

Link to this function

get_main_mono_level(channel)

View Source
@spec get_main_mono_level(channel()) :: float()

Gets the main mono ("MONO/C") output level setting for a channel.

See X32Remote.Commands.MainOut.get_main_mono_level/2.

@spec get_panning(channel()) :: float()

Gets the pan (left/right) setting for a channel.

See X32Remote.Commands.Mixing.get_panning/2.

@spec info() :: [binary()]

Query info about the console and OSC server.

See X32Remote.Commands.Info.info/1.

@spec main_mono_out?(channel()) :: boolean()

Query if a channel is sending audio to the mono ("MONO/C") main output.

See X32Remote.Commands.MainOut.main_mono_out?/2.

Link to this function

main_stereo_out?(channel)

View Source
@spec main_stereo_out?(channel()) :: boolean()

Query if a channel is sending audio to the stereo ("LR") main output.

See X32Remote.Commands.MainOut.main_stereo_out?/2.

@spec mute(channel()) :: :ok

Mutes a channel.

See X32Remote.Commands.Mixing.mute/2.

@spec muted?(channel()) :: boolean()

Query if a channel is muted.

See X32Remote.Commands.Mixing.muted?/2.

@spec set_clock(NaiveDateTime.t()) :: :ok

Sets the console's clock, as displayed on the mixer's LCD panel.

See X32Remote.Commands.Setup.set_clock/2.

Link to this function

set_fader(channel, volume)

View Source
@spec set_fader(channel(), volume()) :: :ok

Sets the fader setting for a channel.

See X32Remote.Commands.Mixing.set_fader/3.

Link to this function

set_main_mono_level(channel, level)

View Source
@spec set_main_mono_level(channel(), mono_level()) :: :ok

Sets the main mono ("MONO/C") output level setting for a channel.

See X32Remote.Commands.MainOut.set_main_mono_level/3.

Link to this function

set_panning(channel, panning)

View Source
@spec set_panning(channel(), panning()) :: :ok

Sets the pan (left/right) setting for a channel.

See X32Remote.Commands.Mixing.set_panning/3.

@spec solo?(channel()) :: boolean()

Query if solo is enabled for the given channel.

See X32Remote.Commands.Solo.solo?/2.

@spec status() :: [binary()]

Query info about the console's state and network setup.

See X32Remote.Commands.Info.status/1.

@spec unmute(channel()) :: :ok

Unmutes a channel.

See X32Remote.Commands.Mixing.unmute/2.

@spec xinfo() :: [binary()]

Query info about the console and network setup.

See X32Remote.Commands.Info.xinfo/1.