LMMS
Loading...
Searching...
No Matches
organ.cpp File Reference
#include <config.h>
#include <calf/giface.h>
#include <calf/organ.h>
#include <iostream>
#include <algorithm>

Macros

#define LARGE_WAVEFORM_PROGRESS()

Functions

static void smoothen (bandlimiter< ORGAN_WAVE_BITS > &bl, float tmp[ORGAN_WAVE_SIZE])
static void phaseshift (bandlimiter< ORGAN_WAVE_BITS > &bl, float tmp[ORGAN_WAVE_SIZE])
static void padsynth (bandlimiter< ORGAN_WAVE_BITS > blSrc, bandlimiter< ORGAN_BIG_WAVE_BITS > &blDest, organ_voice_base::big_wave_family &result, int bwscale=20, float bell_factor=0, bool foldover=false)

Macro Definition Documentation

◆ LARGE_WAVEFORM_PROGRESS

#define LARGE_WAVEFORM_PROGRESS ( )
Value:
do { if (reporter) { progress += 100; reporter->report_progress(floor(progress / totalwaves), "Precalculating large waveforms"); } } while(0)

Function Documentation

◆ padsynth()

void padsynth ( bandlimiter< ORGAN_WAVE_BITS > blSrc,
bandlimiter< ORGAN_BIG_WAVE_BITS > & blDest,
organ_voice_base::big_wave_family & result,
int bwscale = 20,
float bell_factor = 0,
bool foldover = false )
static

◆ phaseshift()

void phaseshift ( bandlimiter< ORGAN_WAVE_BITS > & bl,
float tmp[ORGAN_WAVE_SIZE] )
static

◆ smoothen()

void smoothen ( bandlimiter< ORGAN_WAVE_BITS > & bl,
float tmp[ORGAN_WAVE_SIZE] )
static