Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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

IDDescription
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

FunctionDescriptionReturns
updateTuning()Combines CoarseTune and FineTune into a single pitch factor and applies it via Engine.setGlobalPitchFactor. Called whenever either knob changes.—