Interface Channel
- All Superinterfaces:
DeleteableObject,DeviceChain,DuplicableObject,ObjectProxy,Subscribable
- All Known Subinterfaces:
CursorChannel,CursorDeviceLayer,CursorTrack,DeviceLayer,DrumPad,MasterTrack,Track
This interface defines access to the common attributes and operations of channels, such as tracks or nested
device channels.
- Since:
- API version 1
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddColorObserver(ColorValueChangedCallback callback) Deprecated.voidRegisters an observer that reports if the device chain is selected in Bitwig Studio mixer.voidaddNoteObserver(NotePlaybackCallback callback) Deprecated.useplayingNotes()instead.voidaddVuMeterObserver(int range, int channel, boolean peak, IntegerValueChangedCallback callback) Registers an observer for the VU-meter of this track.Reports the channel UUID.Reports the channel index.color()Get the color of the channel.voidDuplicates the track.getMute()Deprecated.Usemute()instead.getPan()Deprecated.Usepan()instead.getSend(int index) Deprecated.UsesendBank()instead.getSolo()Deprecated.Usesolo()instead.Deprecated.Usevolume()instead.Returns an object that represents the activated state of the channel.True if the current channel is being muted by an other channel with solo on.voidTries to scroll the contents of the arrangement editor so that the channel becomes visible.voidTries to scroll the contents of the mixer panel so that the channel becomes visible.mute()Gets a representation of the channels mute control.pan()Gets a representation of the channels pan control.Returns an array of the playing notes.voidSelects the device chain in the Bitwig Studio mixer, in case it is a selectable object.sendBank()Gets aSendBankthat can be used to navigate the sends of this channel.solo()Gets a representation of the channels solo control.volume()Gets a representation of the channels volume control.Methods inherited from interface com.bitwig.extension.controller.api.DeleteableObject
deleteObject, deleteObjectActionMethods inherited from interface com.bitwig.extension.controller.api.DeviceChain
addIsSelectedInEditorObserver, addIsSelectedObserver, addNameObserver, browseToInsertAtEndOfChain, browseToInsertAtStartOfChain, createDeviceBank, createDeviceBrowser, endOfDeviceChainInsertionPoint, name, select, selectInEditor, startOfDeviceChainInsertionPointMethods 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
-
channelId
StringValue channelId()Reports the channel UUID.- Since:
- API version 20
-
channelIndex
IntegerValue channelIndex()Reports the channel index.- Since:
- API version 22
-
isActivated
SettableBooleanValue isActivated()Returns an object that represents the activated state of the channel.- Returns:
- an object that provides access to the channels activated state.
- Since:
- API version 1
-
getVolume
Deprecated.Usevolume()instead.Gets a representation of the channels volume control.- Returns:
- an object that provides access to the channels volume control.
- Since:
- API version 1
-
volume
Parameter volume()Gets a representation of the channels volume control.- Returns:
- an object that provides access to the channels volume control.
- Since:
- API version 5
-
getPan
Deprecated.Usepan()instead.Gets a representation of the channels pan control.- Returns:
- an object that provides access to the channels pan control.
- Since:
- API version 1
-
pan
Parameter pan()Gets a representation of the channels pan control.- Returns:
- an object that provides access to the channels pan control.
- Since:
- API version 5
-
getMute
Deprecated.Usemute()instead.Gets a representation of the channels mute control.- Returns:
- an object that provides access to the channels mute control.
- Since:
- API version 1
-
mute
SettableBooleanValue mute()Gets a representation of the channels mute control.- Returns:
- an object that provides access to the channels mute control.
- Since:
- API version 5
-
getSolo
Deprecated.Usesolo()instead.Gets a representation of the channels solo control.- Returns:
- an object that provides access to the channels solo control.
- Since:
- API version 1
-
solo
SoloValue solo()Gets a representation of the channels solo control.- Returns:
- an object that provides access to the channels solo control.
- Since:
- API version 1
-
isMutedBySolo
BooleanValue isMutedBySolo()True if the current channel is being muted by an other channel with solo on.- Since:
- API version 10
-
addVuMeterObserver
Registers an observer for the VU-meter of this track.- Parameters:
range- the number of steps to which the reported values should be scaled. For example a range of 128 would cause the callback to be called with values between 0 and 127.channel- 0 for left channel, 1 for right channel, -1 for the sum of bothpeak- when `true` the peak value is reported, otherwise the RMS valuecallback- a callback function that takes a single numeric argument. The value is in the range [0..range-1].- Since:
- API version 1
-
addNoteObserver
Deprecated.useplayingNotes()instead.Registers an observer that reports notes when they are played on the channel.- Parameters:
callback- a callback function that receives three parameters: 1. on/off state (boolean), 2. key (int), and 3. velocity (float).- Since:
- API version 1
-
playingNotes
PlayingNoteArrayValue playingNotes()Returns an array of the playing notes.- Since:
- API version 2
-
addColorObserver
Deprecated.usecolor()instead.Registers an observer that receives notifications about the color of the channel. The callback gets called at least once immediately after this function call to report the current color. Additional calls are fired each time the color changes.- Parameters:
callback- a callback function that receives three float parameters in the range [0..1]: 1. red, 2. green, and 3. blue.- Since:
- API version 1
-
color
SettableColorValue color()Get the color of the channel.- Since:
- API version 2
-
sendBank
SendBank sendBank()Gets aSendBankthat can be used to navigate the sends of this channel.- Since:
- API version 2
-
getSend
Deprecated.UsesendBank()instead.Gets a representation of the channels send control at the given index.- Parameters:
index- the index of the send, must be valid- Returns:
- an object that provides access to the requested send control.
- Since:
- API version 1
-
duplicate
void duplicate()Duplicates the track.- Since:
- API version 1
-
selectInMixer
void selectInMixer()Selects the device chain in the Bitwig Studio mixer, in case it is a selectable object.- Since:
- API version 1
-
addIsSelectedInMixerObserver
Registers an observer that reports if the device chain is selected in Bitwig Studio mixer.- Parameters:
callback- a callback function that takes a single boolean parameter.- Since:
- API version 1
-
makeVisibleInArranger
void makeVisibleInArranger()Tries to scroll the contents of the arrangement editor so that the channel becomes visible.- Since:
- API version 1
-
makeVisibleInMixer
void makeVisibleInMixer()Tries to scroll the contents of the mixer panel so that the channel becomes visible.- Since:
- API version 1
-
color()instead.