Skip to main content

setChannelVolume

since 0.9.6

Description​

Sets the current and initial volume of the given channel.

Signatures​

function setChannelVolume(channel, volume)JavaScript
void SetChannelVolume(int channel, double volume).net
fun setChannelVolume(channel: Double, volume: Double): UnitAndroid

Parameters​

ParametersTypeSummary
channelAllint

The midi channel to set the volume for.

VolumeAlldouble

The volume as percentage.