mirror of https://github.com/dcoredump/dexed.git
parent
87e158540c
commit
96470269a0
@ -0,0 +1,12 @@ |
|||||||
|
#!/bin/sh |
||||||
|
export LV2_PATH="/usr/local/lib/lv2" |
||||||
|
jackd --silent -r -d dummy & |
||||||
|
mod-host -i <<ENDOFDATA |
||||||
|
add https://github.com/dcoredump/dexed.lv2 0 |
||||||
|
add http://gareus.org/oss/lv2/stepseq#s8n8 1 |
||||||
|
connect effect_1:midiout effect_0:midi_in |
||||||
|
connect effect_0:lv2_audio_out_1 system:playback_1 |
||||||
|
connect effect_0:lv2_audio_out_1 system:playback_2 |
||||||
|
param_set 1 grid_1_1 1 |
||||||
|
param_set 1 grid_2_3 1 |
||||||
|
ENDOFDADA |
@ -1,44 +0,0 @@ |
|||||||
PluginParam.cpp: 340 DexedAudioProcessor::initCtrl() { |
|
||||||
|
|
||||||
CtrlDX(String name, int steps, int offset = -1, int displayValue = 0); |
|
||||||
|
|
||||||
fxCutoff = new CtrlFloat("Cutoff", &fx.uiCutoff); |
|
||||||
fxReso = new CtrlFloat("Resonance", &fx.uiReso); |
|
||||||
output = new CtrlFloat("Output", &fx.uiGain); |
|
||||||
tune = new CtrlTune("MASTER TUNE ADJ", this); |
|
||||||
|
|
||||||
algo = new CtrlDX("ALGORITHM", 31, 134, 1); |
|
||||||
feedback = new CtrlDX("FEEDBACK", 7, 135); |
|
||||||
oscSync = new CtrlDX("OSC KEY SYNC", 1, 136); |
|
||||||
lfoRate = new CtrlDX("LFO SPEED", 99, 137); |
|
||||||
lfoDelay = new CtrlDX("LFO DELAY", 99, 138); |
|
||||||
lfoPitchDepth = new CtrlDX("LFO PM DEPTH", 99, 139); |
|
||||||
lfoAmpDepth = new CtrlDX("LFO AM DEPTH", 99, 140); |
|
||||||
lfoSync = new CtrlDX("LFO KEY SYNC", 1, 141); |
|
||||||
lfoWaveform = new CtrlDXLabel("LFO WAVE", 5, 142, lbl); |
|
||||||
transpose = new CtrlDXTranspose("MIDDLE C", 48, 144); |
|
||||||
pitchModSens = new CtrlDX("P MODE SENS.", 7, 143); |
|
||||||
|
|
||||||
0..5 |
|
||||||
pitchEgRate[i] = new CtrlDX(rate, 99, 126+i); |
|
||||||
pitchEgLevel[i] = new CtrlDX(level, 99, 130+i); |
|
||||||
opCtrl[opVal].egRate[j] = new CtrlDX(opRate, 99, opTarget + j); |
|
||||||
opCtrl[opVal].egLevel[j] = new CtrlDX(opLevel, 99, opTarget + j + 4); |
|
||||||
opCtrl[opVal].level = new CtrlDX(opVol, 99, opTarget + 16); |
|
||||||
opCtrl[opVal].opMode = new CtrlDX(opMode, 1, opTarget + 17); |
|
||||||
opCtrl[opVal].coarse = new CtrlDX(coarse, 31, opTarget + 18); |
|
||||||
opCtrl[opVal].fine = new CtrlDX(fine, 99, opTarget + 19); |
|
||||||
opCtrl[opVal].detune = new CtrlDX(detune, 14, opTarget + 20, -7); |
|
||||||
opCtrl[opVal].sclBrkPt = new CtrlDX(sclBrkPt, 99, opTarget + 8); |
|
||||||
opCtrl[opVal].sclLeftDepth = new CtrlDX(sclLeftDepth, 99, opTarget + 9); |
|
||||||
opCtrl[opVal].sclRightDepth = new CtrlDX(sclRightDepth, 99, opTarget + 10); |
|
||||||
opCtrl[opVal].sclLeftCurve = new CtrlDXLabel(sclLeftCurve, 3, opTarget + 11, keyScaleLabels); |
|
||||||
opCtrl[opVal].sclRightCurve = new CtrlDXLabel(sclRightCurve, 3, opTarget + 12, keyScaleLabels); |
|
||||||
opCtrl[opVal].sclRate = new CtrlDX(sclRate, 7, opTarget + 13); |
|
||||||
opCtrl[opVal].ampModSens = new CtrlDX(ampModSens, 3, opTarget + 14); |
|
||||||
opCtrl[opVal].velModSens = new CtrlDX(velModSens, 7, opTarget + 15); |
|
||||||
opCtrl[opVal].opSwitch = new CtrlOpSwitch(opSwitchLabel, (char *)&(controllers.opSwitch)+(5-i)); |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,12 @@ |
|||||||
|
#ifdef DEBUG |
||||||
|
#include <stdio.h> |
||||||
|
#include <stdarg.h> |
||||||
|
void _trace(const char *source, const char *fmt, ...) { |
||||||
|
char output[4096]; |
||||||
|
va_list argptr; |
||||||
|
va_start(argptr, fmt); |
||||||
|
vsnprintf(output, 4095, fmt, argptr); |
||||||
|
va_end(argptr); |
||||||
|
printf("%s: %s\n",source,output); |
||||||
|
} |
||||||
|
#endif |
@ -0,0 +1,11 @@ |
|||||||
|
#ifndef TRACE_H_INCLUDED |
||||||
|
#define TRACE_H_INCLUDED |
||||||
|
|
||||||
|
#ifdef DEBUG |
||||||
|
extern void _trace(const char *source, const char *fmt, ...); |
||||||
|
#define TRACE(fmt, ...) _trace(__PRETTY_FUNCTION__,fmt,##__VA_ARGS__) |
||||||
|
#else |
||||||
|
#define TRACE(fmt, ...) |
||||||
|
#endif |
||||||
|
|
||||||
|
#endif |
Loading…
Reference in new issue