|
Control Surface API
3.1.2
|
Classes | |
| enum | State |
Public Member Functions | |
| int | x () |
| int | y () |
| int | channel () |
| State | state () |
| double | velocity () |
| void | setVelocity (double velocity) |
| double | releaseVelocity () |
| void | setReleaseVelocity (double velocity) |
| double | duration () |
| void | setDuration (double duration) |
| double | pan () |
| void | setPan (double pan) |
| double | timbre () |
| void | setTimbre (double timbre) |
| double | pressure () |
| void | setPressure (double pressure) |
| double | gain () |
| void | setGain (double gain) |
| double | transpose () |
| void | setTranspose (double transpose) |
| boolean | isIsSelected () |
Object that describes the content of a step at a given position: x for the time, and y for the key.
Definition at line 10 of file NoteStep.java.
| int channel | ( | ) |
| double duration | ( | ) |
| double gain | ( | ) |
| boolean isIsSelected | ( | ) |
| double pan | ( | ) |
| double pressure | ( | ) |
| double releaseVelocity | ( | ) |
| void setDuration | ( | double | duration | ) |
If there is a note started at this position, it will update the duration of the note.
| duration | in beats |
| void setGain | ( | double | gain | ) |
If there is a note started at this position, it will update the gain of the note.
| gain | in the range 0..1, a value of 0.5 results in a gain of 0dB. |
| void setPan | ( | double | pan | ) |
If there is a note started at this position, it will update the panning of the note.
| pan | -1 for left, +1 for right |
| void setPressure | ( | double | pressure | ) |
If there is a note started at this position, it will update the pressure of the note.
| pressure | from 0 to +1 |
| void setReleaseVelocity | ( | double | velocity | ) |
If there is a note started at this position, it will update the release velocity of the note.
| velocity | between 0 and 1 |
| void setTimbre | ( | double | timbre | ) |
If there is a note started at this position, it will update the timbre of the note.
| timbre | from -1 to +1 |
| void setTranspose | ( | double | transpose | ) |
If there is a note started at this position, it will update the pitch offset of the note.
| transpose | in semitones, from -24 to +24 |
| void setVelocity | ( | double | velocity | ) |
If there is a note started at this position, it will update the velocity of the note.
| velocity | between 0 and 1 API version 10 |
| State state | ( | ) |
| double timbre | ( | ) |
| double transpose | ( | ) |
| double velocity | ( | ) |
| int x | ( | ) |
| int y | ( | ) |