R3.2.4 x64 (Renoise.Song.API.lua)
I think it is necessary to change the following property inside the documentation:
renoise.song().instruments[].sample_modulation_sets[].devices[].mode, _observable
to
renoise.song().instruments[].sample_modulation_sets[].devices[].scaling, _observable
Related Documentation
β renoise.SampleFaderModulationDevice (inherits from renoise.SampleModulationDevice)
--------- Constants
renoise.SampleFaderModulationDevice.SCALING_LOG_FAST
renoise.SampleFaderModulationDevice.SCALING_LOG_SLOW
renoise.SampleFaderModulationDevice.SCALING_LINEAR
renoise.SampleFaderModulationDevice.SCALING_EXP_SLOW
renoise.SampleFaderModulationDevice.SCALING_EXP_FAST-------- Properties
β Mode.
renoise.song().instruments.sample_modulation_sets.devices.mode, _observable
β [enum = OPERATOR]β Start & Target value.
renoise.song().instruments.sample_modulation_sets.devices.from
β [renoise.DeviceParameter object, 0-1]
renoise.song().instruments.sample_modulation_sets.devices.to
β [renoise.DeviceParameter object, 0-1]β Duration.
renoise.song().instruments.sample_modulation_sets.devices.duration
β [renoise.DeviceParameter object, 0-1]β Delay.
renoise.song().instruments.sample_modulation_sets.devices.delay
β [renoise.DeviceParameter object, 0-1]
Note: Perhaps you prefer the name .mode for the SampleFader device property (modify it internally, instead of modifying the documentation). The LFO and Velocity Tracking use the .mode name also.