-
Notifications
You must be signed in to change notification settings - Fork 0
/
ScriptCommandStructs.h
42 lines (37 loc) · 1015 Bytes
/
ScriptCommandStructs.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
/*
* ScriptCommandStruct.h
*
* Created on: Mar 19, 2014
* Author: edwinrietmeijer
*/
#ifndef SCRIPTCOMMANDSTRUCT_H_
#define SCRIPTCOMMANDSTRUCT_H_
#include "CustomTypes.h"
#include "NoteBlock.h"
#include "Generator.h"
#include "NoteStack.h"
typedef struct {
noteblock::NoteBlock * noteBlock;
noteblock::NoteBlock * anotherNoteBlock;
generator::Generator * generator;
customtypes::NoteBlockFunc noteBlockFunction;
customtypes::GeneratorFunc generatorFunction;
std::string * streamName;
std::vector<int> * pitchSet ;
std::vector<double> * durationSet;
std::vector<double> * velocitySet;
std::vector<double> variableSet;
int firstGenFuncInt;
int secondGenFuncInt;
int thirdGenFuncInt;
double firstGenFuncDouble;
double secondGenFuncDouble;
double thirdGenFuncDouble;
} ScriptCommandVars;
typedef struct {
// notestack::NoteStack * noteStack;
ScriptCommandVars * scriptCommandVars;
double commandDur;
bool * isPlaying;
} ScriptCommandReturn;
#endif /* SCRIPTCOMMANDSTRUCT_H_ */