Just Intonation
Version 1.3.1 (19)
Explore key-independent dynamically adapting tuning in just intonation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
request.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright 2016-2017 Karolin Stange, Christoph Wick, and Haye Hinrichsen
3
*
4
* This file is part of JustIntonation.
5
*
6
* JustIntonation is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by the
8
* Free Software Foundation, either version 3 of the License, or (at your
9
* option) any later version.
10
*
11
* JustIntonation is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
* for more details.
15
*
16
* You should have received a copy of the GNU General Public License along
17
* with JustIntonation. If not, see http://www.gnu.org/licenses/.
18
*****************************************************************************/
19
20
//=============================================================================
21
// Class describing the request to play a note
22
//=============================================================================
23
24
#ifndef REQUEST_H
25
#define REQUEST_H
26
27
35
36
struct
Request
37
{
38
enum
Command
39
{
40
NOTE_ON
,
41
NOTE_OFF
,
42
ALL_NOTES_OFF
,
43
OVERALL_PITCH_UP
,
44
OVERALL_PITCH_DOWN
,
45
UNDEFINED
46
};
47
48
Command
command
;
49
int
channel
;
50
int
key
;
51
double
intensity
;
52
int
data
;
53
};
54
55
#endif // REQUEST_H
Request::intensity
double intensity
Volume.
Definition:
request.h:51
Request
Structure containing the data for a play-note request.
Definition:
request.h:36
Request::OVERALL_PITCH_DOWN
Adiabatically drive the overall pitch down.
Definition:
request.h:44
Request::Command
Command
Definition:
request.h:38
Request::ALL_NOTES_OFF
Stop all notes.
Definition:
request.h:42
Request::channel
int channel
MIDI channel (0..15)
Definition:
request.h:49
Request::key
int key
Key index according to MIDI norm (0..127)
Definition:
request.h:50
Request::UNDEFINED
Definition:
request.h:45
Request::command
Command command
command
Definition:
request.h:48
Request::NOTE_ON
Play a note with parameters listed below.
Definition:
request.h:40
Request::OVERALL_PITCH_UP
Adiabatically drive the overall pitch up.
Definition:
request.h:43
Request::data
int data
multipurpose data (do we really need that)
Definition:
request.h:52
Request::NOTE_OFF
Stop playing the note.
Definition:
request.h:41
application
sampler
request.h
Generated on Wed Jul 12 2017 10:39:47 for Just Intonation by
1.8.11