Synthesizer / Mbed 2 deprecated DBSMUSICPROJ4

Dependencies:   mbed

variables.hpp

Committer:
benparkes
Date:
2019-07-24
Revision:
4:e56a755aeaf1
Parent:
1:5b491fa83cb7
Child:
12:c77c80e92dc1

File content as of revision 4:e56a755aeaf1:

#ifndef __variables__
#define __variables__

#define MAX_SAMPLES 18

float vc;
float vcshp;
float vd;
float vdshp;
float ve;
float vf;
float vfshp;
float vg;
float vgshp;
float va;
float vashp;
float vb;
float vtempo;
float vplustwo;
float vplusone;
float vzero;
float vnegone;
float vnegtwo;
float vtwo;
float vone;
float vhalf;
float vquater;
float vsixthteenth;
float veigth;
int sumnotes2 = 0;
int sumoctives2 = 0;
int sumduration2 = 0;

int bufferHeader = 0;
int bufferTail = MAX_SAMPLES-1;
int dataHeader = 0;
int dataTail = MAX_SAMPLES-1;
bool loop = 0; //where 1 is looping
int PlayPos = 0;
int ToPlay = 0;
#endif