TuningHandler
File: Rhapsodist/Core/Processors/TuningHandler.js · Expected module ID: tuningHandler.
Overview
A standalone Script Processor for global coarse/fine tuning and octave/semitone transposition.
Parameters
| ID | Description |
|---|---|
FineTune | “Fine Tune”, -100–100 cents. Engine-wide pitch shifting via Engine.setGlobalPitchFactor. |
CoarseTune | “Coarse Tune”, -12–12 semitones. Engine-wide pitch shifting via Engine.setGlobalPitchFactor. |
OctaveTranspose | “Octave Transpose”, -2–2. |
SemiToneTranspose | “Semi Tone Transpose”, -12–12. |
Usage
Add TuningHandler.js as a Script Processor with the ID tuningHandler, then link the Instrument Settings page’s knbCoarseTune/knbFineTune/knbTranspose controls to its own knobs via processorId/parameterId.
Internal Reference
| Function | Description | Returns |
|---|---|---|
updateTuning() | Combines CoarseTune and FineTune into a single pitch factor and applies it via Engine.setGlobalPitchFactor. Called whenever either knob changes. | — |