dev90 - linear pitch macro option
This commit is contained in:
parent
4a9855f090
commit
66f5b2117f
34 changed files with 71 additions and 43 deletions
|
|
@ -44,8 +44,8 @@
|
|||
#define BUSY_BEGIN_SOFT softLocked=true; isBusy.lock();
|
||||
#define BUSY_END isBusy.unlock(); softLocked=false;
|
||||
|
||||
#define DIV_VERSION "dev89"
|
||||
#define DIV_ENGINE_VERSION 89
|
||||
#define DIV_VERSION "dev90"
|
||||
#define DIV_ENGINE_VERSION 90
|
||||
|
||||
// for imports
|
||||
#define DIV_VERSION_MOD 0xff01
|
||||
|
|
@ -468,7 +468,7 @@ class DivEngine {
|
|||
unsigned short calcBaseFreqFNumBlock(double clock, double divider, int note, int bits);
|
||||
|
||||
// calculate frequency/period
|
||||
int calcFreq(int base, int pitch, bool period=false, int octave=0);
|
||||
int calcFreq(int base, int pitch, bool period=false, int octave=0, int pitch2=0);
|
||||
|
||||
// find song loop position
|
||||
void walkSong(int& loopOrder, int& loopRow, int& loopEnd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue