Interface Device
- All Superinterfaces:
DeleteableObject,DuplicableObject,ObjectProxy,Subscribable
- All Known Subinterfaces:
CursorDevice,PinnableCursorDevice,PrimaryDevice
This interface represents a device in Bitwig Studio, both internal devices and plugins.
- Since:
- API version 1
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddActiveModulationSourceObserver(int len, String textWhenUnassigned, StringValueChangedCallback callback) Deprecated.voidAdds an observer on a list of all parameters for the device.voidaddDirectParameterNameObserver(int maxChars, DirectParameterNameChangedCallback callback) Adds an observer for the parameter names (initial and changes) of all parameters for the device.voidAdds an observer for the parameter display value (initial and changes) of all parameters for the device.addDirectParameterValueDisplayObserver(int maxChars, DirectParameterDisplayedValueChangedCallback callback) Returns an observer that reports changes of parameter display values, i.e.voidDeprecated.UseObjectProxy.exists()instead.voidDeprecated.UseisEnabled()instead.voidDeprecated.UseisPlugin()insteadvoidaddNameObserver(int len, String textWhenUnassigned, StringValueChangedCallback callback) Deprecated.Usename()insteadvoidRegisters an observer that reports if there is a next parameter page.voidDeprecated.UsecreateCursorRemoteControlsPage(int)instead.voidDeprecated.Useposition()instead.voidDeprecated.Use the new browser API instead.voidaddPresetCategoryObserver(int len, String textWhenUnassigned, StringValueChangedCallback callback) Deprecated.usepresetCategory()instead.voidaddPresetCreatorObserver(int len, String textWhenUnassigned, StringValueChangedCallback callback) Deprecated.UsepresetCreator()instead.voidDeprecated.Use the new browser API instead.voidaddPresetNameObserver(int len, String textWhenUnassigned, StringValueChangedCallback callback) Deprecated.UsepresetName().addValueObserver(callback) instead.voidDeprecated.Use the new browser API instead.voidRegisters an observer that reports if there is a previous parameter page.voidaddSampleNameObserver(int maxChars, String textWhenUnassigned, StringValueChangedCallback callback) Deprecated.UsesampleName()instead.voidaddSelectedPageObserver(int valueWhenUnassigned, IntegerValueChangedCallback callback) Deprecated.UsecreateCursorRemoteControlsPage(int)instead.voidDeprecated.UseslotNames()instead.InsertionPointthat can be used for inserting after this device.InsertionPointthat can be used for inserting before this device.voidDeprecated.UseafterDeviceInsertionPoint()instead.voidDeprecated.UsebeforeDeviceInsertionPoint()instead.voidDeprecated.UsereplaceDeviceInsertionPoint()instead.Creates a ChainSelector object which will give you control over the current device if it is an Instrument Selector or an Effect Selector.Returns a device layer instance that can be used to navigate the layers or drum pads of the device, in case it has any This is the selected layer from the user interface.createCursorRemoteControlsPage(int parameterCount) Creates a cursor for the selected remote controls page in the device with the supplied number of parameters.createCursorRemoteControlsPage(String name, int parameterCount, String filterExpression) Creates a cursor for a remote controls page in the device with the supplied number of parameters.createDeviceBrowser(int numFilterColumnEntries, int numResultsColumnEntries) Deprecated.UseControllerHost.createPopupBrowser()insteadcreateDrumPadBank(int numPads) Create a bank for navigating the nested layers of the device using a fixed-size window.createLayerBank(int numChannels) Create a bank for navigating the nested layers of the device using a fixed-size window.createSiblingsDeviceBank(int numDevices) Returns an object that provides bank-wise navigation of sibling devices of the same device chain (including the device instance used to create the siblings bank).createSpecificBitwigDevice(UUID deviceId) Creates an interface for accessing the features of a specific Bitwig device.createSpecificVst2Device(int deviceId) Creates an interface for accessing the features of a specific VST2 device.createSpecificVst2Device(int... deviceIds) Creates an interface for accessing the features of a specific VST2 device.createSpecificVst3Device(String deviceId) Creates an interface for accessing the features of a specific VST2 device.createSpecificVst3Device(String... deviceIds) Creates an interface for accessing the features of a specific VST2 device.Returns a representation of the device chain that contains this device.The type of this device.getCommonParameter(int index) Deprecated.The remote controls deprecate this feature.Returns an object that represents the selected device slot as shown in the user interface, and that provides access to the contents of slot's device chain.Deprecated.UsedeviceChain()instead.getEnvelopeParameter(int index) Deprecated.The remote controls deprecate this feature.getMacro(int index) Deprecated.Devices no longer have a built in fixed macro section.getModulationSource(int index) Deprecated.The remote controls deprecate this feature.getParameter(int indexInPage) Deprecated.Use getRemoteControls().getRemoteControlInSlot(indexInPage)Indicates if the device has individual device chains for each note value.Indicates if the device supports nested layers.hasSlots()Indicates if the device has nested device chain slots.voidincDirectParameterValueNormalized(String id, Number increment, Number resolution) Increases the parameter with the specified `id` by the given `increment` according to the given `resolution`.Value that reports if the device is enabled.Returns an object that provides access to the expanded state of the device.Deprecated.UseisRemoteControlsSectionVisible()insteadisNested()Indicates if the device is contained by another device.Deprecated.UseisRemoteControlsSectionVisible()insteadisPlugin()Value that reports if the device is a plugin.Returns an object that provides access to the visibility of the device remote controls section.Returns an object that provides access to the open state of plugin windows.voidloadPreset(int index) Deprecated.Use the new browser API instead.name()Value that reports the name of the device.voidSwitches to the next parameter page.position()Value that reports the position of the device within the parent device chain.Value that reports the current preset category name.Value that reports the current preset creator name.Value that reports the last loaded preset name.voidSwitches to the previous parameter page.InsertionPointthat can be used for replacing this device.Value that reports the file name of the currently loaded sample, in case the device is a sample container device.voidSelects the device in Bitwig Studio.voidsetDirectParameterValueNormalized(String id, Number value, Number resolution) Sets the parameter with the specified `id` to the given `value` according to the given `resolution`.voidsetParameterPage(int page) Switches to the parameter page at the given page index.voidsetPresetCategory(int index) Deprecated.Use the new browser API instead.voidsetPresetCreator(int index) Deprecated.Use the new browser API instead.Value of the list of available FX slots in this device.voidDeprecated.Use new browser API provided viacreateDeviceBrowser(int, int)instead.voidDeprecated.Use new browser API provided viacreateDeviceBrowser(int, int)instead.voidDeprecated.Use new browser API provided viacreateDeviceBrowser(int, int)instead.voidDeprecated.Use new browser API provided viacreateDeviceBrowser(int, int)instead.voidDeprecated.Use new browser API provided viacreateDeviceBrowser(int, int)instead.voidDeprecated.Use new browser API provided viacreateDeviceBrowser(int, int)instead.voidDeprecated.Use isEnabled().toggle() instead.Methods inherited from interface com.bitwig.extension.controller.api.DeleteableObject
deleteObject, deleteObjectActionMethods inherited from interface com.bitwig.extension.controller.api.DuplicableObject
duplicateObject, duplicateObjectActionMethods inherited from interface com.bitwig.extension.controller.api.ObjectProxy
createEqualsValue, existsMethods inherited from interface com.bitwig.extension.controller.api.Subscribable
isSubscribed, setIsSubscribed, subscribe, unsubscribe
-
Method Details
-
getDeviceChain
Deprecated.UsedeviceChain()instead.Returns a representation of the device chain that contains this device. Possible device chain instances are tracks, device layers, drums pads, or FX slots.- Returns:
- the requested device chain object
- Since:
- API version 1
-
deviceChain
DeviceChain deviceChain()Returns a representation of the device chain that contains this device. Possible device chain instances are tracks, device layers, drums pads, or FX slots.- Returns:
- the requested device chain object
- Since:
- API version 5
-
position
IntegerValue position()Value that reports the position of the device within the parent device chain.- Since:
- API version 2
-
addPositionObserver
Deprecated.Useposition()instead.Registers an observer that reports the position of the device within the parent device chain.- Parameters:
callback- a callback function that receives a single integer parameter- Since:
- API version 1
-
isWindowOpen
SettableBooleanValue isWindowOpen()Returns an object that provides access to the open state of plugin windows.- Returns:
- a boolean value object that represents the open state of the editor window, in case the device features a custom editor window (such as plugins).
- Since:
- API version 1
-
isExpanded
SettableBooleanValue isExpanded()Returns an object that provides access to the expanded state of the device.- Returns:
- a boolean value object that represents the expanded state of the device.
- Since:
- API version 1
-
isMacroSectionVisible
Deprecated.UseisRemoteControlsSectionVisible()insteadReturns an object that provides access to the visibility of the device macros section.- Returns:
- a boolean value object that represents the macro section visibility.
- Since:
- API version 1
-
isRemoteControlsSectionVisible
SettableBooleanValue isRemoteControlsSectionVisible()Returns an object that provides access to the visibility of the device remote controls section.- Returns:
- a boolean value object that represents the remote controls section visibility.
- Since:
- API version 2
-
isParameterPageSectionVisible
Deprecated.UseisRemoteControlsSectionVisible()insteadReturns an object that provides access to the visibility of the parameter page mapping editor.- Returns:
- a boolean value object that represents visibility of the parameter page mapping editor.
- Since:
- API version 1
-
getParameter
Deprecated.Use getRemoteControls().getRemoteControlInSlot(indexInPage)Returns the parameter with the given index in the current parameter page.- Parameters:
indexInPage- the index of the parameter within the current parameter page.- Returns:
- an object that provides access to the requested parameter
- Since:
- API version 1
-
createCursorRemoteControlsPage
Creates a cursor for the selected remote controls page in the device with the supplied number of parameters. This section will follow the current page selection made by the user in the application.- Parameters:
parameterCount- The number of parameters the remote controls should contain- Since:
- API version 2
-
createCursorRemoteControlsPage
CursorRemoteControlsPage createCursorRemoteControlsPage(String name, int parameterCount, String filterExpression) Creates a cursor for a remote controls page in the device with the supplied number of parameters. This section will be independent from the current page selected by the user in Bitwig Studio's user interface. The supplied filter is an expression that can be used to match pages this section is interested in. The expression is matched by looking at the tags added to the pages. If the expression is empty then no filtering will occur.- Parameters:
name- A name to associate with this section. This will be used to remember manual mappings made by the user within this section.parameterCount- The number of parameters the remote controls should containfilterExpression- An expression used to match pages that the user can navigate through. For now this can only be the name of a single tag the pages should contain (e.g "drawbars", "dyn", "env", "eq", "filter", "fx", "lfo", "mixer", "osc", "overview", "perf").- Since:
- API version 2
-
getEnvelopeParameter
Deprecated.The remote controls deprecate this feature. Instead create remote controls with.invalid reference
#createIndependentRemoteControls(String, int, String)Returns the parameter with the given index in the envelope parameter page.- Parameters:
index- the index of the parameter within the envelope parameter page.- Returns:
- an object that provides access to the requested parameter
- Since:
- API version 1
-
getCommonParameter
Deprecated.The remote controls deprecate this feature. Instead create remote controls with.invalid reference
#createIndependentRemoteControls(String, int, String)Returns the parameter with the given index in the common parameter page.- Parameters:
index- the index of the parameter within the common parameter page.- Returns:
- an object that provides access to the requested parameter
- Since:
- API version 1
-
getModulationSource
Deprecated.The remote controls deprecate this feature. Instead create remote controls with.invalid reference
#createIndependentRemoteControls(String, int, String)Returns the modulation source at the given index.- Parameters:
index- the index of the modulation source- Returns:
- An object that represents the requested modulation source
- Since:
- API version 1
-
getMacro
Deprecated.Devices no longer have a built in fixed macro section. Instead the user can define pages of mappings and these should be used instead.Returns the macro control at the given index.- Parameters:
index- the index of the macro control, must be in the range [0..7]- Returns:
- An object that represents the requested macro control
- Since:
- API version 1
-
addHasSelectedDeviceObserver
Deprecated.UseObjectProxy.exists()instead.Registers an observer that reports if the device is selected.- Parameters:
callback- a callback function that receives a single boolean parameter.- Since:
- API version 1
-
selectInEditor
void selectInEditor()Selects the device in Bitwig Studio.- Since:
- API version 1
-
isPlugin
BooleanValue isPlugin()Value that reports if the device is a plugin.- Since:
- API version 2
-
addIsPluginObserver
Deprecated.UseisPlugin()insteadRegisters an observer that reports if the device is a plugin.- Parameters:
callback- a callback function that receives a single boolean parameter.- Since:
- API version 1
-
previousParameterPage
void previousParameterPage()Switches to the previous parameter page.- Since:
- API version 1
-
nextParameterPage
void nextParameterPage()Switches to the next parameter page.- Since:
- API version 1
-
addPreviousParameterPageEnabledObserver
Registers an observer that reports if there is a previous parameter page.- Parameters:
callback- a callback function that receives a single boolean parameter- Since:
- API version 1
-
addNextParameterPageEnabledObserver
Registers an observer that reports if there is a next parameter page.- Parameters:
callback- a callback function that receives a single boolean parameter- Since:
- API version 1
-
setParameterPage
void setParameterPage(int page) Switches to the parameter page at the given page index.- Parameters:
page- the index of the desired parameter page- Since:
- API version 1
-
switchToPreviousPreset
Deprecated.Use new browser API provided viacreateDeviceBrowser(int, int)instead.Loads the previous preset.- Since:
- API version 1
-
switchToNextPreset
Deprecated.Use new browser API provided viacreateDeviceBrowser(int, int)instead.Loads the next preset.- Since:
- API version 1
-
switchToPreviousPresetCategory
Deprecated.Use new browser API provided viacreateDeviceBrowser(int, int)instead.Switches to the previous preset category.- Since:
- API version 1
-
switchToNextPresetCategory
Deprecated.Use new browser API provided viacreateDeviceBrowser(int, int)instead.Switches to the next preset category.- Since:
- API version 1
-
switchToPreviousPresetCreator
Deprecated.Use new browser API provided viacreateDeviceBrowser(int, int)instead.Switches to the previous preset creator.- Since:
- API version 1
-
switchToNextPresetCreator
Deprecated.Use new browser API provided viacreateDeviceBrowser(int, int)instead.Switches to the next preset creator.- Since:
- API version 1
-
createDeviceBrowser
Deprecated.UseControllerHost.createPopupBrowser()insteadReturns an object used for browsing devices, presets and other content. Committing the browsing session will load or create a device from the selected resource and replace the current device.- Parameters:
numFilterColumnEntries- the size of the window used to navigate the filter column entries.numResultsColumnEntries- the size of the window used to navigate the results column entries.- Returns:
- the requested device browser object.
- Since:
- API version 1
-
name
StringValue name()Value that reports the name of the device.- Since:
- API version 2
-
addNameObserver
@Deprecated void addNameObserver(int len, String textWhenUnassigned, StringValueChangedCallback callback) Deprecated.Usename()insteadRegisters an observer that reports the name of the device.- Parameters:
len- the maximum length of the name. Longer names will get truncated.textWhenUnassigned- the default name that gets reported when the device is not associated with a Bitwig Studio device yet.callback- a callback function that receives a single name (string) parameter- Since:
- API version 1
-
presetName
StringValue presetName()Value that reports the last loaded preset name.- Since:
- API version 2
-
addPresetNameObserver
@Deprecated void addPresetNameObserver(int len, String textWhenUnassigned, StringValueChangedCallback callback) Deprecated.UsepresetName().addValueObserver(callback) instead.Registers an observer that reports the last loaded preset name.- Parameters:
len- the maximum length of the name. Longer names will get truncated.textWhenUnassigned- the default name that gets reported when the device is not associated with a Bitwig Studio device yet.callback- a callback function that receives a single name (string) parameter- Since:
- API version 1
-
presetCategory
StringValue presetCategory()Value that reports the current preset category name.- Since:
- API version 2
-
addPresetCategoryObserver
@Deprecated void addPresetCategoryObserver(int len, String textWhenUnassigned, StringValueChangedCallback callback) Deprecated.usepresetCategory()instead.Registers an observer that reports the current preset category name.- Parameters:
len- the maximum length of the name. Longer names will get truncated.textWhenUnassigned- the default name that gets reported when the device is not associated with a Bitwig Studio device yet.callback- a callback function that receives a single name (string) parameter- Since:
- API version 1
-
presetCreator
StringValue presetCreator()Value that reports the current preset creator name.- Since:
- API version 2
-
addPresetCreatorObserver
@Deprecated void addPresetCreatorObserver(int len, String textWhenUnassigned, StringValueChangedCallback callback) Deprecated.UsepresetCreator()instead.Registers an observer that reports the current preset creator name.- Parameters:
len- the maximum length of the name. Longer names will get truncated.textWhenUnassigned- the default name that gets reported when the device is not associated with a Bitwig Studio device yet.callback- a callback function that receives a single name (string) parameter- Since:
- API version 1
-
addSelectedPageObserver
@Deprecated void addSelectedPageObserver(int valueWhenUnassigned, IntegerValueChangedCallback callback) Deprecated.UsecreateCursorRemoteControlsPage(int)instead.Registers an observer that reports the currently selected parameter page.- Parameters:
valueWhenUnassigned- the default page index that gets reported when the device is not associated with a device instance in Bitwig Studio yet.callback- a callback function that receives a single page index parameter (integer)- Since:
- API version 1
-
addActiveModulationSourceObserver
@Deprecated void addActiveModulationSourceObserver(int len, String textWhenUnassigned, StringValueChangedCallback callback) Deprecated.UsecreateCursorRemoteControlsPage(int)instead.Registers an observer that reports the name of the active modulation source.- Parameters:
len- the maximum length of the name. Longer names will get truncated.textWhenUnassigned- the default name that gets reported when the device is not associated with a Bitwig Studio device yet.callback- a callback function that receives a single name parameter (string)- Since:
- API version 1
-
addPageNamesObserver
Deprecated.UsecreateCursorRemoteControlsPage(int)instead.Registers an observer that reports the names of the devices parameter pages.- Parameters:
callback- a callback function that receives a single string array parameter containing the names of the parameter pages- Since:
- API version 1
-
addPresetNamesObserver
Deprecated.Use the new browser API instead.Registers an observer that reports the names of the available presets for the device according to the current configuration of preset category and creator filtering.- Parameters:
callback- a callback function that receives a single string array parameter containing the names of the presets for the current category and creator filter.- Since:
- API version 1
- See Also:
-
loadPreset
Deprecated.Use the new browser API instead.Loads the preset with the index from the list provided byaddPresetNamesObserver(com.bitwig.extension.callback.StringArrayValueChangedCallback).- Since:
- API version 1
-
addPresetCategoriesObserver
Deprecated.Use the new browser API instead.Registers an observer that reports the names of the available preset categories for the device.- Parameters:
callback- a callback function that receives a single string array parameter containing the names of the preset categories- Since:
- API version 1
-
setPresetCategory
Deprecated.Use the new browser API instead.Sets the preset category filter with the index from the array provided byaddPresetCategoriesObserver(com.bitwig.extension.callback.StringArrayValueChangedCallback).- Since:
- API version 1
-
addPresetCreatorsObserver
Deprecated.Use the new browser API instead.Registers an observer that reports the names of the available preset creators for the device.- Parameters:
callback- a callback function that receives a single string array parameter containing the names of the preset creators- Since:
- API version 1
-
setPresetCreator
Deprecated.Use the new browser API instead.Sets the preset creator filter with the index from the list provided byaddPresetCreatorsObserver(com.bitwig.extension.callback.StringArrayValueChangedCallback).- Since:
- API version 1
-
toggleEnabledState
Deprecated.Use isEnabled().toggle() instead.Toggles the enabled state of the device.- Since:
- API version 1
-
isEnabled
SettableBooleanValue isEnabled()Value that reports if the device is enabled.- Since:
- API version 2
-
addIsEnabledObserver
Deprecated.UseisEnabled()instead.Registers an observer that reports if the device is enabled.- Parameters:
callback- a callback function that receives a single boolean parameter- Since:
- API version 1
-
hasSlots
BooleanValue hasSlots()Indicates if the device has nested device chain slots. UseslotNames()to get a list of available slot names, and navigate to devices in those slots using theCursorDeviceinterface.- Returns:
- a value object that indicates if the device has nested device chains in FX slots.
- Since:
- API version 1
-
slotNames
StringArrayValue slotNames()Value of the list of available FX slots in this device.- Since:
- API version 2
-
addSlotsObserver
Deprecated.UseslotNames()instead.Registers an observer that gets notified when the list of available FX slots changes.- Parameters:
callback- a callback function which takes a single string array argument that contains the names of the slots.- Since:
- API version 1
-
getCursorSlot
DeviceSlot getCursorSlot()Returns an object that represents the selected device slot as shown in the user interface, and that provides access to the contents of slot's device chain.- Returns:
- the requested slot cursor object
- Since:
- API version 1
-
isNested
BooleanValue isNested()Indicates if the device is contained by another device.- Returns:
- a value object that indicates if the device is nested
- Since:
- API version 1
-
hasLayers
BooleanValue hasLayers()Indicates if the device supports nested layers.- Returns:
- a value object that indicates if the device supports nested layers.
- Since:
- API version 1
-
hasDrumPads
BooleanValue hasDrumPads()Indicates if the device has individual device chains for each note value.- Returns:
- a value object that indicates if the device has individual device chains for each note value.
- Since:
- API version 1
-
createLayerBank
Create a bank for navigating the nested layers of the device using a fixed-size window. This bank will work over the following devices: - Instrument Layer - Effect Layer - Instrument Selector - Effect Selector- Parameters:
numChannels- the number of channels that the device layer bank should be configured with- Returns:
- a device layer bank object configured with the desired number of channels
- Since:
- API version 1
-
createDrumPadBank
Create a bank for navigating the nested layers of the device using a fixed-size window.- Parameters:
numPads- the number of channels that the drum pad bank should be configured with- Returns:
- a drum pad bank object configured with the desired number of pads
- Since:
- API version 1
-
createCursorLayer
CursorDeviceLayer createCursorLayer()Returns a device layer instance that can be used to navigate the layers or drum pads of the device, in case it has any This is the selected layer from the user interface.- Returns:
- a cursor device layer instance
- Since:
- API version 1
-
createChainSelector
ChainSelector createChainSelector()Creates a ChainSelector object which will give you control over the current device if it is an Instrument Selector or an Effect Selector. To check if the device is currently a ChainSelector, use}. If you want to have access to all the chains, useinvalid @link
{@link ChainSelector.exists()createLayerBank(int).- Returns:
- a chain selector instance
- Since:
- API version 6
-
createSpecificBitwigDevice
Creates an interface for accessing the features of a specific Bitwig device.- Since:
- API version 12
-
createSpecificVst2Device
Creates an interface for accessing the features of a specific VST2 device.- Since:
- API version 12
-
createSpecificVst2Device
Creates an interface for accessing the features of a specific VST2 device.- Since:
- API version 12
-
createSpecificVst3Device
Creates an interface for accessing the features of a specific VST2 device.- Since:
- API version 12
-
createSpecificVst3Device
Creates an interface for accessing the features of a specific VST2 device.- Since:
- API version 12
-
addDirectParameterIdObserver
Adds an observer on a list of all parameters for the device. The callback always updates with an array containing all the IDs for the device.- Parameters:
callback- function with the signature (String[])- Since:
- API version 1
-
addDirectParameterNameObserver
Adds an observer for the parameter names (initial and changes) of all parameters for the device.- Parameters:
maxChars- maximum length of the string sent to the observer.callback- function with the signature (String ID, String name)- Since:
- API version 1
-
addDirectParameterValueDisplayObserver
DirectParameterValueDisplayObserver addDirectParameterValueDisplayObserver(int maxChars, DirectParameterDisplayedValueChangedCallback callback) Returns an observer that reports changes of parameter display values, i.e. parameter values formatted as a string to be read by the user, for example "-6.02 dB". The returned observer object can be used to configure which parameters should be observed. By default no parameters are observed. It should be avoided to observe all parameters at the same time for performance reasons.- Parameters:
maxChars- maximum length of the string sent to the observer.callback- function with the signature (String ID, String valueDisplay)- Returns:
- an observer object that can be used to enable or disable actual observing for certain parameters.
- Since:
- API version 1
-
addDirectParameterNormalizedValueObserver
void addDirectParameterNormalizedValueObserver(DirectParameterNormalizedValueChangedCallback callback) Adds an observer for the parameter display value (initial and changes) of all parameters for the device.- Parameters:
callback- a callback function with the signature (String ID, float normalizedValue). If the value is not accessible 'Number.NaN' (not-a-number) is reported, can be checked with 'isNaN(value)'.- Since:
- API version 1
-
setDirectParameterValueNormalized
Sets the parameter with the specified `id` to the given `value` according to the given `resolution`.- Parameters:
id- the parameter identifier stringvalue- the new value normalized to the range [0..resolution-1]resolution- the resolution of the new value- Since:
- API version 1
-
incDirectParameterValueNormalized
Increases the parameter with the specified `id` by the given `increment` according to the given `resolution`. To decrease the parameter value pass in a negative increment.- Parameters:
id- the parameter identifier stringincrement- the amount that the parameter value should be increased by, normalized to the range [0..resolution-1]resolution- the resolution of the new value- Since:
- API version 1
-
sampleName
StringValue sampleName()Value that reports the file name of the currently loaded sample, in case the device is a sample container device.- Since:
- API version 2
-
addSampleNameObserver
@Deprecated void addSampleNameObserver(int maxChars, String textWhenUnassigned, StringValueChangedCallback callback) Deprecated.UsesampleName()instead.Registers an observer that reports the file name of the currently loaded sample, in case the device is a sample container device.- Parameters:
maxChars- maximum length of the string sent to the observer.textWhenUnassigned- the default name that gets reported when the device is not associated with a Bitwig Studio device yet.callback- a callback function that receives a single string parameter.
-
createSiblingsDeviceBank
Returns an object that provides bank-wise navigation of sibling devices of the same device chain (including the device instance used to create the siblings bank).- Parameters:
numDevices- the number of devices that are simultaneously accessible- Returns:
- the requested device bank object
- Since:
- API version 1
-
browseToInsertBeforeDevice
Deprecated.UsebeforeDeviceInsertionPoint()instead.Starts browsing for content that can be inserted before this device in Bitwig Studio's popup browser.- Since:
- API version 2
-
browseToInsertAfterDevice
Deprecated.UseafterDeviceInsertionPoint()instead.Starts browsing for content that can be inserted before this device in Bitwig Studio's popup browser.- Since:
- API version 2
-
browseToReplaceDevice
Deprecated.UsereplaceDeviceInsertionPoint()instead.Starts browsing for content that can replace this device in Bitwig Studio's popup browser.- Since:
- API version 2
-
afterDeviceInsertionPoint
InsertionPoint afterDeviceInsertionPoint()InsertionPointthat can be used for inserting after this device.- Since:
- API version 7
-
beforeDeviceInsertionPoint
InsertionPoint beforeDeviceInsertionPoint()InsertionPointthat can be used for inserting before this device.- Since:
- API version 7
-
replaceDeviceInsertionPoint
InsertionPoint replaceDeviceInsertionPoint()InsertionPointthat can be used for replacing this device.- Since:
- API version 7
-
deviceType
EnumValue deviceType()The type of this device.- Since:
- API version 12
-
createCursorRemoteControlsPage(int)instead.