Just Intonation  Version 1.3.1 (19)
Explore key-independent dynamically adapting tuning in just intonation
Request Struct Reference

Structure containing the data for a play-note request. More...

#include <request.h>

Collaboration diagram for Request:
Collaboration graph

Public Types

enum  Command {
  NOTE_ON, NOTE_OFF, ALL_NOTES_OFF, OVERALL_PITCH_UP,
  OVERALL_PITCH_DOWN, UNDEFINED
}
 

Public Attributes

Command command
 command More...
 
int channel
 MIDI channel (0..15) More...
 
int key
 Key index according to MIDI norm (0..127) More...
 
double intensity
 Volume. More...
 
int data
 multipurpose data (do we really need that) More...
 

Detailed Description

Structure containing the data for a play-note request.

The SoundGenerator fills a queue (mQueue) of Requests to play a or to stop a note or other controlling commands. The Sampler executes these commands as soon as possible in an independent thread.

Note
This structure has no implementation file.

Definition at line 36 of file request.h.

Member Enumeration Documentation

Enumerator
NOTE_ON 

Play a note with parameters listed below.

NOTE_OFF 

Stop playing the note.

ALL_NOTES_OFF 

Stop all notes.

OVERALL_PITCH_UP 

Adiabatically drive the overall pitch up.

OVERALL_PITCH_DOWN 

Adiabatically drive the overall pitch down.

UNDEFINED 

Definition at line 38 of file request.h.

Member Data Documentation

int Request::channel

MIDI channel (0..15)

Definition at line 49 of file request.h.

Command Request::command

command

Definition at line 48 of file request.h.

int Request::data

multipurpose data (do we really need that)

Definition at line 52 of file request.h.

double Request::intensity

Volume.

Definition at line 51 of file request.h.

int Request::key

Key index according to MIDI norm (0..127)

Definition at line 50 of file request.h.


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