Bitwig Studio Control Surface API  4.0.1
NoteStep.java
1 package com.bitwig.extension.controller.api;
2 
4 
10 public interface NoteStep
11 {
15  enum State
16  {
17  Empty, NoteOn, NoteSustain,
18  }
19 
24  @OscMethod
25  int x();
26 
31  @OscMethod
32  int y();
33 
38  @OscMethod
39  int channel();
40 
45  @OscMethod
46  State state();
47 
52  @OscMethod
53  double velocity();
54 
60  @OscMethod
61  void setVelocity(double velocity);
62 
67  @OscMethod
68  double releaseVelocity();
69 
75  @OscMethod
76  void setReleaseVelocity(double velocity);
77 
81  @OscMethod
82  double velocitySpread();
83 
88  @OscMethod
89  void setVelocitySpread(double amount);
90 
95  @OscMethod
96  double duration();
97 
103  @OscMethod
104  void setDuration(double duration);
105 
110  @OscMethod
111  double pan();
112 
118  @OscMethod
119  void setPan(double pan);
120 
125  @OscMethod
126  double timbre();
127 
133  @OscMethod
134  void setTimbre(double timbre);
135 
140  @OscMethod
141  double pressure();
142 
148  @OscMethod
149  void setPressure(double pressure);
150 
155  @OscMethod
156  double gain();
157 
163  @OscMethod
164  void setGain(double gain);
165 
170  @OscMethod
171  double transpose();
172 
178  @OscMethod
179  void setTranspose(double transpose);
180 
185  @OscMethod
186  boolean isIsSelected();
187 
193  @OscMethod
194  double chance();
195 
201  @OscMethod
202  void setChance(double chance);
203 
207  @OscMethod
208  boolean isChanceEnabled();
209 
213  @OscMethod
214  void setIsChanceEnabled(boolean isEnabled);
215 
219  @OscMethod
220  boolean isOccurrenceEnabled();
221 
225  @OscMethod
226  void setIsOccurrenceEnabled(boolean isEnabled);
227 
231  @OscMethod
233 
237  @OscMethod
238  void setOccurrence(NoteOccurrence condition);
239 
243  @OscMethod
244  boolean isRecurrenceEnabled();
245 
249  @OscMethod
250  void setIsRecurrenceEnabled(boolean isEnabled);
251 
255  @OscMethod
256  int recurrenceLength();
257 
261  @OscMethod
262  int recurrenceMask();
263 
269  @OscMethod
270  void setRecurrence(int length, int mask);
271 
275  @OscMethod
276  boolean isRepeatEnabled();
277 
281  @OscMethod
282  void setIsRepeatEnabled(boolean isEnabled);
283 
287  @OscMethod
288  int repeatCount();
289 
294  @OscMethod
295  void setRepeatCount(int count);
296 
300  @OscMethod
301  double repeatCurve();
302 
307  @OscMethod
308  void setRepeatCurve(double curve);
309 
313  @OscMethod
314  double repeatVelocityEnd();
315 
320  @OscMethod
321  void setRepeatVelocityEnd(double velocityEnd);
322 
326  @OscMethod
327  double repeatVelocityCurve();
328 
333  @OscMethod
334  void setRepeatVelocityCurve(double curve);
335 
340  @OscMethod
341  boolean isMuted();
342 
347  @OscMethod
348  void setIsMuted(boolean value);
349 }
void setIsRepeatEnabled(boolean isEnabled)
void setIsOccurrenceEnabled(boolean isEnabled)
void setOccurrence(NoteOccurrence condition)
void setRecurrence(int length, int mask)
void setIsRecurrenceEnabled(boolean isEnabled)
void setIsChanceEnabled(boolean isEnabled)
void setRepeatVelocityEnd(double velocityEnd)