Skip to content

Commit

Permalink
Added README and LICENSE.
Browse files Browse the repository at this point in the history
Cleaned documentation.
Changed LFO2 "Depth" to "Amount".
  • Loading branch information
vuki committed Aug 6, 2023
1 parent a129cf5 commit dceb061
Show file tree
Hide file tree
Showing 10 changed files with 856 additions and 12 deletions.
675 changes: 675 additions & 0 deletions LICENSE.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# logue-sdk Oscillator Makefile
# #############################################################################

#SUBDIRS = minilogue-xd prologue nutekt-digital
SUBDIRS = minilogue-xd
SUBDIRS = minilogue-xd prologue nutekt-digital
#SUBDIRS = minilogue-xd

default: all

Expand Down
158 changes: 158 additions & 0 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion minilogue-xd/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
["Env Decay", 0, 100, "%"],
["Env Amount", -99, 100, "%"],
["LFO2 Rate", 0, 100, "%"],
["LFO2 Depth", 0, 100, "%"]
["LFO2 Amount", 0, 100, "%"]
]
}
}
2 changes: 1 addition & 1 deletion nutekt-digital/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
["Env Decay", 0, 100, "%"],
["Env Amount", -99, 100, "%"],
["LFO2 Rate", 0, 100, "%"],
["LFO2 Depth", 0, 100, "%"]
["LFO2 Amount", 0, 100, "%"]
]
}
}
Binary file modified parameters.txt
Binary file not shown.
2 changes: 1 addition & 1 deletion prologue/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
["Env Decay", 0, 100, "%"],
["Env Amount", -99, 100, "%"],
["LFO2 Rate", 0, 100, "%"],
["LFO2 Depth", 0, 100, "%"]
["LFO2 Amount", 0, 100, "%"]
]
}
}
1 change: 1 addition & 0 deletions src/decimator.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* The code is based on hiir library by Laurent de Soras
* http://ldesoras.free.fr/prod.html#src_hiir
* Filter order 8, stopband rejection 69 dB, transition band width 0.01.
* Author: Grzegorz Szwoch (GregVuki)
*/

#include "compat.h"
Expand Down
10 changes: 10 additions & 0 deletions src/wtdef.c
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,17 @@ const unsigned char WAVES[NWAVES][64] = {
39, 2, 202, 1, 247, 60, 62, 57, 16, 142, 1, 173, 142 }
};

/*
* Wavetable definition. A 2D table.
* First index: wavetable number 1..27 or 30.
* Second index: position in the wavetable definition.
* Wavetable definition values are pairs:
* - first item: wavetable slot (0 to 60),
* - second item: wave number, from WAVES table.
*/
#ifndef uchar
typedef unsigned char uchar;
#endif
const uchar WT00[] = { 0, 79, 8, 51, 16, 52, 24, 53, 32, 54, 40, 55, 48, 56, 60, 57 };
const uchar WT01[] = { 0, 58, 8, 59, 16, 60, 24, 61, 32, 62, 40, 63, 48, 64, 60, 65 };
const uchar WT02[] = { 0, 79, 30, 34, 38, 96, 46, 97, 54, 103, 60, 104 };
Expand Down
14 changes: 7 additions & 7 deletions src/wtgen.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
#ifndef _WTGEN_H
#define _WTGEN_H

/*
* wtgen.h
* Wavetable generator inspired by PPG Wave
* Author: Grzegorz Szwoch (GregVuki)
*/

#if defined(OVS_4x)
#define OVS 4
#elif defined(OVS_2x)
Expand All @@ -10,16 +16,10 @@
#define OVS 1
#endif

/*
* wtgen.h
* Wavetable generator inspired by PPG Wave
* Author: Grzegorz Szwoch (GregVuki)
*/

#include <stdint.h>
#include "compat.h"
#include "wtdef.h"
#include "decimator.h"
#include "compat.h"

#define MAXPHASE 128.f
#define MAX_TABLE 61
Expand Down

0 comments on commit dceb061

Please sign in to comment.