Skip to content

Commit

Permalink
Different Morpheus internal encodings added
Browse files Browse the repository at this point in the history
  • Loading branch information
dukesrg committed Oct 12, 2021
1 parent f204c3b commit 434adbc
Show file tree
Hide file tree
Showing 7 changed files with 88 additions and 5 deletions.
23 changes: 23 additions & 0 deletions Morpheus-A-osc/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"header" :
{
"platform" : "nutekt-digital",
"module" : "osc",
"api" : "1.1-0",
"dev_id" : 1701541188,
"prg_id" : 0,
"version" : "1.2-0",
"name" : "Morpheus-A",
"num_param" : 5,
"params" : [
["Mode", 0, 1, ""],
["LFOX", 0, 100, "%"],
["LFOY", 0, 100, "%"],
["LFOTrigger", 0, 3, ""],
["Interpolate", 0, 1, ""]
],
"custom_data" : [
["Raw wave, A-law encoded", 64, 16384]
]
}
}
4 changes: 2 additions & 2 deletions Morpheus-osc/project.mk → Morpheus-A-osc/project.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

include $(PLATFORMDIR)/osc.mk

PROJECT = Morpheus
PROJECT = Morpheus-A

UCSRC =

UCXXSRC = ../src/morpheus.cpp

UINCDIR = $(PROJECTDIR)/../inc

UDEFS =
UDEFS = -DFORMAT_ALAW

ULIBS =

Expand Down
23 changes: 23 additions & 0 deletions Morpheus-P-osc/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"header" :
{
"platform" : "nutekt-digital",
"module" : "osc",
"api" : "1.1-0",
"dev_id" : 1701541188,
"prg_id" : 0,
"version" : "1.2-0",
"name" : "Morpheus-P",
"num_param" : 5,
"params" : [
["Mode", 0, 1, ""],
["LFOX", 0, 100, "%"],
["LFOY", 0, 100, "%"],
["LFOTrigger", 0, 3, ""],
["Interpolate", 0, 1, ""]
],
"custom_data" : [
["Raw wave, 8-bit linear PCM encoded", 64, 16384]
]
}
}
19 changes: 19 additions & 0 deletions Morpheus-P-osc/project.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# #############################################################################
# Project Customization
# #############################################################################

include $(PLATFORMDIR)/osc.mk

PROJECT = Morpheus-P

UCSRC =

UCXXSRC = ../src/morpheus.cpp

UINCDIR = $(PROJECTDIR)/../inc

UDEFS = -DFORMAT_PCM8

ULIBS =

ULIBDIR =
4 changes: 2 additions & 2 deletions Morpheus-osc/manifest.json → Morpheus-U-osc/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"api" : "1.1-0",
"dev_id" : 1701541188,
"prg_id" : 0,
"version" : "1.0-1",
"name" : "Morpheus",
"version" : "1.2-0",
"name" : "Morpheus-U",
"num_param" : 5,
"params" : [
["Mode", 0, 1, ""],
Expand Down
19 changes: 19 additions & 0 deletions Morpheus-U-osc/project.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# #############################################################################
# Project Customization
# #############################################################################

include $(PLATFORMDIR)/osc.mk

PROJECT = Morpheus-U

UCSRC =

UCXXSRC = ../src/morpheus.cpp

UINCDIR = $(PROJECTDIR)/../inc

UDEFS = -DFORMAT_ULAW

ULIBS =

ULIBDIR =
1 change: 0 additions & 1 deletion src/morpheus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "simplelfo.hpp"
#include "userosc.h"

#define FORMAT_ULAW
#define SAMPLE_COUNT 256
#define WAVE_COUNT 64
#define WAVE_COUNT_X 8
Expand Down

0 comments on commit 434adbc

Please sign in to comment.