hydrogen 1.2.6
Note.h File Reference

Go to the source code of this file.

Data Structures

class  Note
 A note plays an associated instrument with a velocity left and right pan. More...
 
struct  SelectedLayerInfo
 Auxiliary variables storing the rendering state of a H2Core::Note within the H2Core::Sampler. More...
 

Namespaces

namespace  H2Core
 

Macros

#define KEY_MAX   11
 
#define KEY_MIN   0
 
#define KEYS_PER_OCTAVE   12
 
#define LEAD_LAG_MAX   1.0f
 
#define LEAD_LAG_MIN   -1.0f
 
#define MIDI_FACTOR   127
 
#define MIDI_MIDDLE_C   60
 
#define OCTAVE_DEFAULT   0
 
#define OCTAVE_MAX   3
 
#define OCTAVE_MIN   -3
 
#define OCTAVE_OFFSET   3
 
#define PAN_MAX   0.5f
 
#define PAN_MIN   0.0f
 
#define VELOCITY_MAX   1.0f
 
#define VELOCITY_MIN   0.0f
 

Macro Definition Documentation

◆ KEY_MAX

#define KEY_MAX   11

Definition at line 35 of file Note.h.

◆ KEY_MIN

#define KEY_MIN   0

Definition at line 34 of file Note.h.

◆ KEYS_PER_OCTAVE

#define KEYS_PER_OCTAVE   12

Definition at line 40 of file Note.h.

◆ LEAD_LAG_MAX

#define LEAD_LAG_MAX   1.0f

Definition at line 50 of file Note.h.

◆ LEAD_LAG_MIN

#define LEAD_LAG_MIN   -1.0f

Definition at line 49 of file Note.h.

◆ MIDI_FACTOR

#define MIDI_FACTOR   127

Definition at line 43 of file Note.h.

◆ MIDI_MIDDLE_C

#define MIDI_MIDDLE_C   60

Definition at line 42 of file Note.h.

◆ OCTAVE_DEFAULT

#define OCTAVE_DEFAULT   0

Definition at line 39 of file Note.h.

◆ OCTAVE_MAX

#define OCTAVE_MAX   3

Definition at line 37 of file Note.h.

◆ OCTAVE_MIN

#define OCTAVE_MIN   -3

Definition at line 36 of file Note.h.

◆ OCTAVE_OFFSET

#define OCTAVE_OFFSET   3

Definition at line 38 of file Note.h.

◆ PAN_MAX

#define PAN_MAX   0.5f

Definition at line 48 of file Note.h.

◆ PAN_MIN

#define PAN_MIN   0.0f

Definition at line 47 of file Note.h.

◆ VELOCITY_MAX

#define VELOCITY_MAX   1.0f

Definition at line 46 of file Note.h.

◆ VELOCITY_MIN

#define VELOCITY_MIN   0.0f

Definition at line 45 of file Note.h.