Gin
Loading...
Searching...
No Matches
GlideInfo Struct Reference

Configuration for pitch glide (portamento/glissando) between notes. More...

#include <gin_synthesiser.h>

Public Attributes

float fromNote = -1
bool glissando = false
bool portamento = false
float rate = 0.0f

Detailed Description

Configuration for pitch glide (portamento/glissando) between notes.

GlideInfo defines how a synthesizer voice should transition in pitch from one note to another. This is used for implementing portamento (smooth glide) and glissando (stepped glide through semitones).

Fields:

  • fromNote: The starting MIDI note number (-1 if no glide)
  • glissando: If true, glide in semitone steps; if false, smooth glide
  • portamento: If true, enable pitch glide
  • rate: Glide time in milliseconds
See also
SynthesiserVoice, Synthesiser

Member Data Documentation

◆ fromNote

float GlideInfo::fromNote = -1

◆ glissando

bool GlideInfo::glissando = false

◆ portamento

bool GlideInfo::portamento = false

◆ rate

float GlideInfo::rate = 0.0f

The documentation for this struct was generated from the following file: