Channel constructor
Channel({
- required Synthesizer synthesizer,
- required bool isPercussionChannel,
- required List<
double> blockLeft, - required List<
double> blockRight, - required int bankNumber,
- required int patchNumber,
- required int modulation,
- required int volume,
- required int pan,
- required int expression,
- required bool holdPedal,
- required int reverbSend,
- required int chorusSend,
- required int rpn,
- required int pitchBendRange,
- required int coarseTune,
- required int fineTune,
- required double pitchBend,
Implementation
Channel({required this.synthesizer,
required this.isPercussionChannel,
required this.blockLeft,
required this.blockRight,
required int bankNumber,
required int patchNumber,
required int modulation,
required int volume,
required int pan,
required int expression,
required bool holdPedal,
required int reverbSend,
required int chorusSend,
required int rpn,
required int pitchBendRange,
required int coarseTune,
required int fineTune,
required double pitchBend}) :
_bankNumber = bankNumber,
_patchNumber = patchNumber,
_modulation = modulation,
_volume = volume,
_pan = pan,
_expression = expression,
_holdPedal = holdPedal,
_reverbSend = reverbSend,
_chorusSend = chorusSend,
_rpn = rpn,
_pitchBendRange = pitchBendRange,
_coarseTune = coarseTune,
_fineTune = fineTune,
_pitchBend = pitchBend;