C# Class Launchpad_LED_Editor.DeviceManager

Show file Open project: iUltimateLP/launchpad-led-editor

Public Properties

Property Type Description
LaunchpadMk2Colors int>.Dictionary
LaunchpadSColors int>.Dictionary
devid int
sessionNotes ].Pitch[
sessionNotesS ].Pitch[
sideLEDnotes Pitch[]
sideLEDnotesS Pitch[]
targetInput Midi.InputDevice
targetOutput Midi.OutputDevice

Public Methods

Method Description
GetAllInputDevices ( ) : Midi.InputDevice[]
GetAllOutputDevices ( ) : Midi.OutputDevice[]
GetInputDeviceByName ( string name ) : InputDevice
GetOutputDeviceByName ( string name ) : OutputDevice
colorToVelo ( Color color, LaunchpadModels model ) : int
matrixToNote ( int x, int y, LaunchpadModels model ) : Pitch
matrixToSideLEDs ( int x, int y, LaunchpadModels model ) : Pitch
stringToAscii ( string str ) : byte[]

Method Details

GetAllInputDevices() public static method

public static GetAllInputDevices ( ) : Midi.InputDevice[]
return Midi.InputDevice[]

GetAllOutputDevices() public static method

public static GetAllOutputDevices ( ) : Midi.OutputDevice[]
return Midi.OutputDevice[]

GetInputDeviceByName() public static method

public static GetInputDeviceByName ( string name ) : InputDevice
name string
return Midi.InputDevice

GetOutputDeviceByName() public static method

public static GetOutputDeviceByName ( string name ) : OutputDevice
name string
return Midi.OutputDevice

colorToVelo() public static method

public static colorToVelo ( Color color, LaunchpadModels model ) : int
color Color
model LaunchpadModels
return int

matrixToNote() public static method

public static matrixToNote ( int x, int y, LaunchpadModels model ) : Pitch
x int
y int
model LaunchpadModels
return Pitch

matrixToSideLEDs() public static method

public static matrixToSideLEDs ( int x, int y, LaunchpadModels model ) : Pitch
x int
y int
model LaunchpadModels
return Pitch

stringToAscii() public static method

public static stringToAscii ( string str ) : byte[]
str string
return byte[]

Property Details

LaunchpadMk2Colors public static property

public static Dictionary LaunchpadMk2Colors
return int>.Dictionary

LaunchpadSColors public static property

public static Dictionary LaunchpadSColors
return int>.Dictionary

devid public static property

public static int devid
return int

sessionNotes public static property

public static Pitch[,] sessionNotes
return ].Pitch[

sessionNotesS public static property

public static Pitch[,] sessionNotesS
return ].Pitch[

sideLEDnotes public static property

public static Pitch[] sideLEDnotes
return Pitch[]

sideLEDnotesS public static property

public static Pitch[] sideLEDnotesS
return Pitch[]

targetInput public static property

public static InputDevice,Midi targetInput
return Midi.InputDevice

targetOutput public static property

public static OutputDevice,Midi targetOutput
return Midi.OutputDevice