Click or drag to resize

Dsp1283MatrixMixer Class

DSP-1283 Matrix Mixer with AEC and Dante: Base model plus both AEC and Dante

This class will trigger BaseEvent, DspMixerAudioAttributeEvent and DeviceExtenderSigChange events.

Inheritance Hierarchy

Namespace: Crestron.SimplSharpPro.AudioDistribution
Assembly: Crestron.SimplSharpPro.AudioDistribution (in Crestron.SimplSharpPro.AudioDistribution.dll) Version: 2.21.121
Syntax
C#
public sealed class Dsp1283MatrixMixer : Dsp128xAecDanteBase

The Dsp1283MatrixMixer type exposes the following members.

Constructors
 NameDescription
Public methodDsp1283MatrixMixer Constructor to generate a new Ethernet DSP-1283 object
Top
Properties
 NameDescription
Public propertyAecs Collection of Aec supported by the device.
(Inherited from Dsp128xAecBase)
Public propertyAnalogAudio DSP128x/ DSP860 AnalogAudio section.
(Inherited from DspMixerBase)
Public propertyAuxInput DSPxx Auxiliary Input
(Inherited from DspMixerBase)
Public propertyAuxOutput DSPxx Auxiliary Output
(Inherited from DspMixerBase)
Public propertyConnectedIpList A property containing the list of the ConnectedIpInformation objects which contain information about the devices that are connected to this IP ID. This property is only valid for an ethernet device. If this is not an ethernet device, then this property will return null. If this is an ethernet device, the list will be non-null. It will be empty if no devices are connected. The order of items in this list is not guaranteed.
(Inherited from GenericDevice)
Public propertyCRPC CRPC protocol data.
(Inherited from DspMixerBase)
Public propertyCRPCFeedback CRPC protocol data feedback. EventIds: CRPCFeedbackEventId will trigger to indicate change.

The BaseEvent event will trigger for this.


(Inherited from DspMixerBase)
Public propertyDante DSP128x Dante section.
(Inherited from Dsp128xAecDanteBase)
Public propertyCode exampleDescription Get/Set the description of this device.
(Inherited from GenericBase)
Public propertyDisposed Property to indicate if the device has been disposed.
(Inherited from GenericDevice)
Public propertyExtenderPOTSReservedSigs Reserved Cues to control the POTS feature of the device.
(Inherited from Dsp128xAecBase)
Public propertyExtenderVOIPReservedSigs Reserved Cues to control the VOIP feature of the Dante device.
(Inherited from Dsp128xAecBase)
Public propertyFrontPanelBrightness Property to set the front panel display brightness. Valid values range from 0 (minimum brightness) to 100 (maximum brightness). This property is not supported by "UcDsp".
(Inherited from DspMixerBase)
Public propertyFrontPanelBrightnessFeedback Property to get the current front panel display brightness. Valid values range from 0% (minimum brightness) to 100% (maximum brightness). Use PercentToUshort(Single) to convert the percentage to a ushort value or UshortToPercent(UInt16) to convert the ushort value to percentage. EventIds: FrontPanelBrightnessFeedbackEventId will trigger to indicate change. This property is not supported by "UcDsp".

The BaseEvent event will trigger for this.


(Inherited from DspMixerBase)
Public propertyID Property to get the ID of the device.
(Inherited from GenericDevice)
Public propertyIsOnline Property to get the current online state of the device.
(Inherited from GenericDevice)
Public propertyName Get the name of this device.
(Inherited from GenericBase)
Public propertyParent The parent that a given object was added to.
(Inherited from GenericBase)
Public propertyPhone DSP128x Phone section.
(Inherited from Dsp128xAecBase)
Public propertyPresetResultFeedback Indicates error code returned as a result of setting a preset. The error codes are defined under DspMixerBaseeRecallPresetErrorCodes EventIds: PresetResultFeedbackEventId will trigger to indicate change.

The BaseEvent event will trigger for this.


(Inherited from DspMixerBase)
Public propertyRegisterable Property to indicate that this device can be registered.
(Inherited from GenericDevice)
Public propertyRegistered Property to get the current registration state of the device.
(Inherited from GenericDevice)
Public propertyRegistrationFailureReason Property to get the Registration Failure Reason, this will match the return value from the call to register.
(Inherited from GenericDevice)
Public propertySetPreset String Input to define a preset name. The preset names are defined via the tool.
(Inherited from DspMixerBase)
Protected propertySIMPLDeviceImplementation Internal protected member used for actual device control.
(Inherited from GenericDevice)
Public propertyTemperatureFeedback Property to report the overall temperature, when temperature reporting is enabled. The temperature is reported in degrees Fahrenheit when TemperatureFormat = true, and in degrees Celsius when TemperatureFormat = false. The range is from 0d to 2550d where 1d = 0.1 degree. Range of temperature is (0 to 125 degree Celcius, or 32 to 257 degree Fahrenheit) EventIds: TemperatureFeedbackEventId will trigger to indicate change.

The BaseEvent event will trigger for this.


(Inherited from DspMixerBase)
Public propertyTemperatureFormat Sets the format for internal temperature reporting. When false, the format is set to Celsius; when true, Fahrenheit.
(Inherited from DspMixerBase)
Public propertyTemperatureFormatFeedback Indicates the temperature format. The property is true for as long as the format is set to Fahrenheit. When the property is false, this indicates that the format is set to Celcius. EventIds: TemperatureFormatFeedbackEventId will trigger to indicate change.

The BaseEvent event will trigger for this.


(Inherited from DspMixerBase)
Public propertyTemperatureReporting Property for Enabling/Disabling temperature reporting.
(Inherited from DspMixerBase)
Public propertyTemperatureReportingFeedback Indicates if the temperature reporting is enabled or disabled. The property remains true for as long as TemperatureReporting = true; when false, this indicates that temperature reporting is disabled. EventIds: TemperatureReportingFeedbackEventId will trigger to indicate change.

The BaseEvent event will trigger for this.


(Inherited from DspMixerBase)
Public propertyType Property to determine to type of device this is.
(Inherited from GenericDevice)
Public propertyUnRegistrationFailureReason Property to get the Unregistration Failure Reason, this will match the return value from the call to unregister.
(Inherited from GenericDevice)
Public propertyUsbAudio DSP1282/1283 or UC-DSP USB Audio
(Inherited from Dsp128xAecBase)
Public propertyUserSpecifiedObject Can be assigned anything that user wants.
(Inherited from GenericBase)
Protected propertyXioEndpointStubSIMPLDevice The SIMPL "stub" Device that the XiO Director creates for an endpoint to send the 1C/0E to the correct place in hierarchy.
(Inherited from GenericDevice)
Top
Methods
 NameDescription
Public methodDispose Clean up of resources.
(Inherited from GenericBase)
Protected methodDispose(Boolean) Method to perform the actual disposing of the device.
(Inherited from GenericDevice)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Destructor of the device.
(Inherited from GenericDevice)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodOnBaseEvent(Int32) Protected member used to fire the BaseEvent with the default extended information.
(Inherited from GenericBase)
Protected methodOnBaseEvent(Int32, UInt16) Protected member used to fine the BaseEvent with extended event information.
(Inherited from GenericBase)
Public methodRegister Register this device with the system.
(Inherited from GenericDevice)
Public methodToString Return the name of the device.
(Inherited from GenericDevice)
Public methodUnRegister Unregister this device with the system. This function can not be called from the device's own SigChange event handler.

On successful unregistration, if this device supports the OnlineStatusChange event, it will trigger indicating the device when offline.


(Inherited from GenericDevice)
Top
Events
 NameDescription
Public eventBaseEvent Generic base event, triggered when the there are no other handlers available for a specific EventID.
(Inherited from GenericBase)
Public eventDspMixerAudioAttributeEvent Event fired when a DSP-128x or UC-DSP DspMixerAudioAttribute state change was received from the device.
(Inherited from DspMixerBase)
Public eventIpInformationChange Event that tells what IP Address is connected/disconnected from an IP ID for a non-UDP device. This is only valid for an Ethernet device. An exception will be thrown if it is not.
(Inherited from GenericDevice)
Public eventOnlineStatusChange Event triggered when the Online status of the device changes.
(Inherited from GenericDevice)
Top
Example
C#
static Dsp1283MatrixMixer _dsp128x;

public ControlSystemDsp128x()
{
    //Register console commands 
    CrestronConsole.AddNewConsoleCommand(CreateDeviceCmd, "CreateDevice", "This is a DSP-128X CreateDevice command", ConsoleAccessLevelEnum.AccessOperator);
}

//Method to create the DSP-128X device object
public void CreateDeviceCmd(String args)
{
    _dsp128x = new Dsp1283MatrixMixer(0x16, this);

    if ((_dsp128x.Name == "DSP-1282") || (_dsp128x.Name == "DSP-1283"))
    {
        _dsp128x.ExtenderPOTSReservedSigs.Use();
        _dsp128x.ExtenderVOIPReservedSigs.Use();
    }

    _dsp128x.BaseEvent += Dsp128xBaseEventHandler;
    _dsp128x.DspMixerAudioAttributeEvent += Dsp128xAudioAttributeEventHandler;

    if ((_dsp128x.Name == "DSP-1282") || (_dsp128x.Name == "DSP-1283"))
    {
        _dsp128x.ExtenderPOTSReservedSigs.DeviceExtenderSigChange +=
            ExtenderPOTSReservedSigs_DeviceExtenderSigChange;
        _dsp128x.ExtenderVOIPReservedSigs.DeviceExtenderSigChange +=
            ExtenderVoipReservedSigs_DeviceExtenderSigChange;
    }

    //Register the DSP128x with the Control system
    _dsp128x.Register();
}

// Sig callback used to read VOIP Reserved Sig information received from the DSP128x.
static void ExtenderVoipReservedSigs_DeviceExtenderSigChange(DeviceExtender currentDeviceExtender, SigEventArgs args)
{
    CrestronConsole.PrintLine("VOIP Reserved Sig {0}", args.Sig.Number);

    //Sig change for the extender
    if (args.Sig == _dsp128x.ExtenderVOIPReservedSigs.ConnectedFeedback)
    {
        CrestronConsole.PrintLine("ConnectedFeedback: {0}", args.Sig.BoolValue);
    }
}

// Sig callback used to read POTS Reserved Sig information received from the DSP128x.
static void ExtenderPOTSReservedSigs_DeviceExtenderSigChange(DeviceExtender currentDeviceExtender, SigEventArgs args)
{
    CrestronConsole.PrintLine("POTS Reserved Sig {0}", args.Sig.Number);
    if (args.Sig == _dsp128x.ExtenderPOTSReservedSigs.ConnectedFeedback)
    {
        CrestronConsole.PrintLine("ConnectedFeedback: {0}", args.Sig.BoolValue);
    }
}

// Sig callback used to read information received from the DSP128x for System/AEC/Auxiliary Input/Output slot sigs.
static void Dsp128xBaseEventHandler(GenericBase currentDevice, BaseEventArgs args)
{
    if (args.EventId == DspMixerBase.LogicOutFeedbackEventId)
    {
        CrestronConsole.PrintLine("LogicOutFeedback event occurred for {0}", currentDevice);
    }
    else if (args.EventId == Dsp128xAecBase.AecEnableFeedbackEventId)
    {
        CrestronConsole.PrintLine("AecEnable{0} event occurred for {1}", args.Index, currentDevice);
    }
}

// Sig callback used to read information received from the DSP128x for Audio Attribute sigs.
static void Dsp128xAudioAttributeEventHandler(GenericBase device, DspMixerAudioAttributeEventArgs args)
{
    if (args.EventId == DspMixerBase.MuteEnableFeedbackEventId)
    {
        CrestronConsole.PrintLine("MuteEnableFeedback event occurred for Audio Attribute {0} of device {1}, value is {2}", args.DspMixerAudioAttribute, device, args.DspMixerAudioAttribute.MuteFeedback.BoolValue);
    }
}

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also