use of de.mossgrabers.framework.daw.IStepInfo in project DrivenByMoss by git-moss.
the class CursorClipImpl method changeStepGain.
/**
* {@inheritDoc}
*/
@Override
public void changeStepGain(final int channel, final int step, final int row, final int control) {
final IStepInfo info = this.getStep(channel, step, row);
final double gain = info.getGain() + this.valueChanger.toNormalizedValue((int) this.valueChanger.calcKnobChange(control));
this.updateStepGain(channel, step, row, gain);
}
use of de.mossgrabers.framework.daw.IStepInfo in project DrivenByMoss by git-moss.
the class CursorClipImpl method changeStepPan.
/**
* {@inheritDoc}
*/
@Override
public void changeStepPan(final int channel, final int step, final int row, final int control) {
final IStepInfo info = this.getStep(channel, step, row);
final double pan = info.getPan() + 2.0 * this.valueChanger.toNormalizedValue((int) this.valueChanger.calcKnobChange(control));
this.updateStepPan(channel, step, row, pan);
}
use of de.mossgrabers.framework.daw.IStepInfo in project DrivenByMoss by git-moss.
the class CursorClipImpl method changeChance.
/**
* {@inheritDoc}
*/
@Override
public void changeChance(final int channel, final int step, final int row, final int control) {
final IStepInfo info = this.getStep(channel, step, row);
final double chance = info.getChance() + this.valueChanger.toNormalizedValue((int) this.valueChanger.calcKnobChange(control));
this.updateChance(channel, step, row, chance);
}
use of de.mossgrabers.framework.daw.IStepInfo in project DrivenByMoss by git-moss.
the class CursorClipImpl method changeStepTranspose.
/**
* {@inheritDoc}
*/
@Override
public void changeStepTranspose(final int channel, final int step, final int row, final int control) {
final IStepInfo info = this.getStep(channel, step, row);
final double transpose = info.getTranspose() + this.valueChanger.calcSteppedKnobChange(control) / 10.0;
this.updateStepTranspose(channel, step, row, transpose);
}
use of de.mossgrabers.framework.daw.IStepInfo in project DrivenByMoss by git-moss.
the class CursorClipImpl method changeRepeatVelocityEnd.
/**
* {@inheritDoc}
*/
@Override
public void changeRepeatVelocityEnd(final int channel, final int step, final int row, final int control) {
final IStepInfo info = this.getStep(channel, step, row);
final double velocityEnd = info.getRepeatVelocityEnd() + this.valueChanger.toNormalizedValue((int) this.valueChanger.calcKnobChange(control));
this.updateRepeatVelocityEnd(channel, step, row, velocityEnd);
}
Aggregations