Skip to content

GuitarPrometheus::SongStructure::BendPoint

GuitarPrometheus::SongStructure::BendPoint

A note as engraved on a staff: a pitch class, accidental, octave, engraved duration symbol, and position metadata. More…

#include <SongStructure.h>

Public Attributes

Name
doubletickOffset
intcents

Detailed Description

struct GuitarPrometheus::SongStructure::BendPoint;

A note as engraved on a staff: a pitch class, accidental, octave, engraved duration symbol, and position metadata.

Distinct from a MidiEvent (which is what the injector emits when this note is played) — an Engraving is the written representation; the played representation is computed from it.

Immutable after construction. One point on a bend curve. tickOffset is a fractional position 0..1 within the bent note’s duration (0 = note onset, 1 = note offset); cents is the pitch shift in 100ths of a semitone (positive = up, negative = down).

Public Attributes Documentation

variable tickOffset

double tickOffset = 0.0;

variable cents

int cents = 0;

Updated on 2026-05-29 at 07:39:52 +0000