-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathARASharedObject.h
58 lines (48 loc) · 1.19 KB
/
ARASharedObject.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#pragma once
#include <JuceHeader.h>
namespace ARAExtension {
enum ARAContentType : uint32_t {
ARAContentTypeUnknown = 0,
ARAContentTypeNote = ARA::kARAContentTypeNotes,
ARAContentTypeTempoEntry = ARA::kARAContentTypeTempoEntries,
ARAContentTypeBarSignature = ARA::kARAContentTypeBarSignatures,
ARAContentTypeStaticTuning = ARA::kARAContentTypeStaticTuning,
ARAContentTypeKeySignature = ARA::kARAContentTypeKeySignatures,
ARAContentTypeSheetChord = ARA::kARAContentTypeSheetChords,
ARAContentTypeNotePlus = 0x8000,
ARAContentTypePitchWheel,
ARAContentTypeAfterTouch,
ARAContentTypeChannelPressure,
ARAContentTypeController,
ARAContentTypeMisc
};
struct ARAContentNote {
uint8_t channel;
double startSec, endSec;
uint8_t pitch;
uint8_t vel;
juce::String lyrics;
};
struct ARAContentIntParam {
uint8_t channel;
double timeSec;
int value;
};
struct ARAContentAfterTouch {
uint8_t channel;
double timeSec;
uint8_t notePitch;
uint8_t value;
};
struct ARAContentController {
uint8_t channel;
double timeSec;
uint8_t number;
uint8_t value;
};
struct ARAContentMisc {
uint8_t channel;
double timeSec;
juce::MidiMessage message;
};
}