scamp_extensions.playback.multi_preset_instrument.MultiNoteHandle
- class scamp_extensions.playback.multi_preset_instrument.MultiNoteHandle(note_handles: Sequence[Union[NoteHandle, ChordHandle]] = ())[source]
Bases:
object
The equivalent of an
NoteHandle
but for aMultiPresetInstrument
.- Parameters:
note_handles – a list of the NoteHandles for the underlying ScampInstruments. (One for the silent notation part, and one for the active preset.)
Methods
change_parameter
(param_name, ...[, ...])change_pitch
(target_value_or_values[, ...])See
change_pitch()
change_volume
(target_value_or_values[, ...])See
change_volume()
end
()See
end()
split
()See
split()
- change_parameter(param_name: str, target_value_or_values: Union[float, Sequence], transition_length_or_lengths: Union[float, Sequence] = 0, transition_curve_shape_or_shapes: Union[float, Sequence] = 0, clock: Optional[Clock] = None) None [source]
- change_pitch(target_value_or_values: Union[float, Sequence], transition_length_or_lengths: Union[float, Sequence] = 0, transition_curve_shape_or_shapes: Union[float, Sequence] = 0, clock: Optional[Clock] = None) None [source]
See
change_pitch()
- change_volume(target_value_or_values: Union[float, Sequence], transition_length_or_lengths: Union[float, Sequence] = 0, transition_curve_shape_or_shapes: Union[float, Sequence] = 0, clock: Optional[Clock] = None) None [source]
See
change_volume()