You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -158,6 +156,18 @@ All pads support RGB colors, and some buttons do as well. However, some buttons
158
156
For a list of avilable RGB colors check the `DEFAULT_COLOR_PALETTE` dictionary in [push2_python/constants.py](https://github.com/ffont/push2-python/blob/master/push2_python/constants.py). First item of each color entry corresponds to the RGB color name while second item corresponds to the BW color name. The color palette can be customized using the `set_color_palette_entry`, `update_rgb_color_palette_entry` and `reapply_color_palette` of Push2 object. See the documentation of these methods for more details.
159
157
160
158
159
+
### Adjust pad sensitivity
160
+
161
+
`push2-python` implements methods to adjust Push2 pads sensitivity, in particualr it incorporates methods to adjust the velocity curve (which applies to
162
+
note on velocities and to poolyphonic aftertouch sensistivity), and the channel aftertouch range. You can do that using the methods `set_channel_aftertouch_range`
163
+
and `set_velocity_curve` from the `pads` section. Below are two examples of adjusting sensitivity. Please check methods' documentation for more information.
164
+
165
+
```python
166
+
push.pads.set_channel_aftertouch_range(range_start=401, range_end=800) # Configure channel after touch to be quite sensitive
167
+
push.pads.set_velocity_curve(velocities=[int(i *127/40) if i <40else127for i inrange(0,128)]) # Map full velocity range to the first 40 pressure values
168
+
```
169
+
170
+
161
171
### Interface with the display
162
172
163
173
You interface with Push2's display by senidng frames to be display using the `push.display.display_frame` method as follows:
0 commit comments