Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
replacing DelayFX/ adding another FX in minisynth/digisynth.
No permission to create posts
November 9, 2016
1:04 am
Avatar
Gwen
Member
Members
Forum Posts: 32
Member Since:
November 1, 2016
sp_UserOfflineSmall Offline

i read the synthbook chapter 13 (about delay FX in minisynth)

i would like to replace it in minisynth/digisynth by your dimension-D adjustable FX (http://www.willpirkle.com/fx-b.....#DIMENSION) .

So i added the dimension D files. Added:

minisynth/digisynth.h:
#include "DimensionChorus.h"

also:

minisynth/digisynth.h:
// SDD320 Chorus
CDimensionChorus m_ChorusFX;

in the same file.
and after that: problem.

In the main .CPP file (minisynth for example) the delay FX implementation is:

minisynth/digisynth.cpp:
// --- add master FX
// note: processing in place to save variables
m_DelayFX.processAudio(&dLeftAccum, &dRightAccum, // input values
&dLeftAccum, &dRightAccum); // output values

in the processaudioframe.

but it's a double function, and Dimension D is a float/uint output function.

so i doesn't work 🙁

any help to implement dimension D chorus to digisynth (or minisynth) ?

help appreciated.

thanks.

Gwen.

EDIT: FOUND ! 😀
in processaudio (main file .cpp) i changed:

float dLeftAccum = 0.0;
float dRightAccum = 0.0;

by:

float fLeftAccum = 0.0;
float fRightAccum = 0.0;

and adding this:

minisynth/digisynth.cpp:
// --- add master FX
// note: processing in place to save variables
m_ChorusFX.processAudioFrame(&fLeftAccum, &fRightAccum, // input values
fLeftAccum, fRightAccum); // output values

but i have another problem now.
If i want to add more/another FX, i have only one FX. No found how cumulate 2 FX with the same code 🙁

March 31, 2017
5:38 am
Avatar
Gwen
Member
Members
Forum Posts: 32
Member Since:
November 1, 2016
sp_UserOfflineSmall Offline

delay replaced by two effects: Chorus & Tremolo.

So i added:

if (m_uChorusOn == ON)
m_ChorusFX.processAudioFrame(&fLeftAccum, &fRightAccum, // input values
fLeftAccum, fRightAccum);

if (m_uTremoOn == ON)
m_TremoloFX.processAudioFrame(&fLeftAccum, &fRightAccum, // input values
fLeftAccum, fRightAccum);

 

But in this way either I have the effect chorus, or I have tremolo effect, but not both. tried many ways. No result.

A little clue? 😉

Gwen.

Forum Timezone: America/New_York

Most Users Ever Online: 36

Currently Online:
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 47

Peter: 41

Derek: 41

clau_ste: 39

Frodson: 38

Gwen: 32

EZB: 24

lppier: 23

Msaldaña: 18

Jorge: 17

Member Stats:

Guest Posters: 1

Members: 476

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 30

Topics: 482

Posts: 1876

Newest Members:

sam, annaharris, Marie Weaver, kev, Steven, Mr Anderson, mguy, omelc

Moderators: W Pirkle: 143

Administrators: Tom: 65, JD Young: 80, Will Pirkle: 0, W Pirkle: 143