LMMS
Loading...
Searching...
No Matches
PADnoteParameters Class Reference

#include <PADnoteParameters.h>

Inheritance diagram for PADnoteParameters:
Presets

Public Member Functions

 PADnoteParameters (FFTwrapper *fft_, std::mutex *mutex_)
 ~PADnoteParameters ()
void defaults ()
void add2XML (XMLwrapper *xml)
void getfromXML (XMLwrapper *xml)
float getprofile (float *smp, int size)
float setPbandwidth (int Pbandwidth)
float getNhr (int n)
void applyparameters (bool lockmutex)
void export2wav (std::string basefilename)
Public Member Functions inherited from Presets
 Presets ()
virtual ~Presets ()
virtual void copy (const char *name)
virtual void paste (int npreset)
virtual bool checkclipboardtype ()
void deletepreset (int npreset)
void rescanforpresets ()

Public Attributes

unsigned char Pmode
struct { 
   struct { 
      unsigned char   type 
      unsigned char   par1 
   }   base
   unsigned char   freqmult 
   struct { 
      unsigned char   par1 
      unsigned char   freq 
   }   modulator
   unsigned char   width 
   struct { 
      unsigned char   mode 
      unsigned char   type 
      unsigned char   par1 
      unsigned char   par2 
   }   amp
   bool   autoscale 
   unsigned char   onehalf 
Php
unsigned int Pbandwidth
unsigned char Pbwscale
struct { 
   unsigned char   type 
   unsigned char   par1 
   unsigned char   par2 
   unsigned char   par3 
Phrpos
struct { 
   unsigned char   samplesize 
   unsigned char   basenote 
   unsigned char   oct 
   unsigned char   smpoct 
Pquality
unsigned char Pfixedfreq
unsigned char PfixedfreqET
unsigned short int PDetune
unsigned short int PCoarseDetune
unsigned char PDetuneType
EnvelopeParamsFreqEnvelope
LFOParamsFreqLfo
unsigned char PStereo
unsigned char PPanning
unsigned char PVolume
unsigned char PAmpVelocityScaleFunction
EnvelopeParamsAmpEnvelope
LFOParamsAmpLfo
unsigned char PPunchStrength
unsigned char PPunchTime
unsigned char PPunchStretch
unsigned char PPunchVelocitySensing
FilterParamsGlobalFilter
unsigned char PFilterVelocityScale
unsigned char PFilterVelocityScaleFunction
EnvelopeParamsFilterEnvelope
LFOParamsFilterLfo
OscilGenoscilgen
Resonanceresonance
struct { 
   int   size 
   float   basefreq 
   float *   smp 
sample [PAD_MAX_SAMPLES]
struct { 
   int   size 
   float   basefreq 
   float *   smp 
newsample [PAD_MAX_SAMPLES]
Public Attributes inherited from Presets
char type [MAX_PRESETTYPE_SIZE]

Private Member Functions

void generatespectrum_bandwidthMode (float *spectrum, int size, float basefreq, float *profile, int profilesize, float bwadjust)
void generatespectrum_otherModes (float *spectrum, int size, float basefreq)
void deletesamples ()
void deletesample (int n)

Private Attributes

FFTwrapperfft
std::mutex * mutex

Additional Inherited Members

Protected Member Functions inherited from Presets
void setpresettype (const char *type)

Constructor & Destructor Documentation

◆ PADnoteParameters()

PADnoteParameters::PADnoteParameters ( FFTwrapper * fft_,
std::mutex * mutex_ )

◆ ~PADnoteParameters()

PADnoteParameters::~PADnoteParameters ( )

Member Function Documentation

◆ add2XML()

void PADnoteParameters::add2XML ( XMLwrapper * xml)
virtual

Implements Presets.

◆ applyparameters()

void PADnoteParameters::applyparameters ( bool lockmutex)

◆ defaults()

void PADnoteParameters::defaults ( void )
virtual

Implements Presets.

◆ deletesample()

void PADnoteParameters::deletesample ( int n)
private

◆ deletesamples()

void PADnoteParameters::deletesamples ( )
private

◆ export2wav()

void PADnoteParameters::export2wav ( std::string basefilename)

◆ generatespectrum_bandwidthMode()

void PADnoteParameters::generatespectrum_bandwidthMode ( float * spectrum,
int size,
float basefreq,
float * profile,
int profilesize,
float bwadjust )
private

◆ generatespectrum_otherModes()

void PADnoteParameters::generatespectrum_otherModes ( float * spectrum,
int size,
float basefreq )
private

sa fac aici interpolarea si sa am grija daca frecv descresc

◆ getfromXML()

void PADnoteParameters::getfromXML ( XMLwrapper * xml)
virtual

Implements Presets.

◆ getNhr()

float PADnoteParameters::getNhr ( int n)

◆ getprofile()

float PADnoteParameters::getprofile ( float * smp,
int size )

◆ setPbandwidth()

float PADnoteParameters::setPbandwidth ( int Pbandwidth)

Member Data Documentation

◆ [struct]

struct { ... } PADnoteParameters::amp

◆ AmpEnvelope

EnvelopeParams* PADnoteParameters::AmpEnvelope

◆ AmpLfo

LFOParams* PADnoteParameters::AmpLfo

◆ autoscale

bool PADnoteParameters::autoscale

◆ [struct]

struct { ... } PADnoteParameters::base

◆ basefreq

float PADnoteParameters::basefreq

◆ basenote

unsigned char PADnoteParameters::basenote

◆ fft

FFTwrapper* PADnoteParameters::fft
private

◆ FilterEnvelope

EnvelopeParams* PADnoteParameters::FilterEnvelope

◆ FilterLfo

LFOParams* PADnoteParameters::FilterLfo

◆ freq

unsigned char PADnoteParameters::freq

◆ FreqEnvelope

EnvelopeParams* PADnoteParameters::FreqEnvelope

◆ FreqLfo

LFOParams* PADnoteParameters::FreqLfo

◆ freqmult

unsigned char PADnoteParameters::freqmult

◆ GlobalFilter

FilterParams* PADnoteParameters::GlobalFilter

◆ mode

unsigned char PADnoteParameters::mode

◆ [struct]

struct { ... } PADnoteParameters::modulator

◆ mutex

std::mutex* PADnoteParameters::mutex
private

◆ [struct]

struct { ... } PADnoteParameters::newsample[PAD_MAX_SAMPLES]

◆ oct

unsigned char PADnoteParameters::oct

◆ onehalf

unsigned char PADnoteParameters::onehalf

◆ oscilgen

OscilGen* PADnoteParameters::oscilgen

◆ PAmpVelocityScaleFunction

unsigned char PADnoteParameters::PAmpVelocityScaleFunction

◆ par1

unsigned char PADnoteParameters::par1

◆ par2

unsigned char PADnoteParameters::par2

◆ par3

unsigned char PADnoteParameters::par3

◆ Pbandwidth

unsigned int PADnoteParameters::Pbandwidth

◆ Pbwscale

unsigned char PADnoteParameters::Pbwscale

◆ PCoarseDetune

unsigned short int PADnoteParameters::PCoarseDetune

◆ PDetune

unsigned short int PADnoteParameters::PDetune

◆ PDetuneType

unsigned char PADnoteParameters::PDetuneType

◆ PFilterVelocityScale

unsigned char PADnoteParameters::PFilterVelocityScale

◆ PFilterVelocityScaleFunction

unsigned char PADnoteParameters::PFilterVelocityScaleFunction

◆ Pfixedfreq

unsigned char PADnoteParameters::Pfixedfreq

◆ PfixedfreqET

unsigned char PADnoteParameters::PfixedfreqET

◆ [struct]

struct { ... } PADnoteParameters::Php

◆ [struct]

struct { ... } PADnoteParameters::Phrpos

◆ Pmode

unsigned char PADnoteParameters::Pmode

◆ PPanning

unsigned char PADnoteParameters::PPanning

◆ PPunchStrength

unsigned char PADnoteParameters::PPunchStrength

◆ PPunchStretch

unsigned char PADnoteParameters::PPunchStretch

◆ PPunchTime

unsigned char PADnoteParameters::PPunchTime

◆ PPunchVelocitySensing

unsigned char PADnoteParameters::PPunchVelocitySensing

◆ [struct]

struct { ... } PADnoteParameters::Pquality

◆ PStereo

unsigned char PADnoteParameters::PStereo

◆ PVolume

unsigned char PADnoteParameters::PVolume

◆ resonance

Resonance* PADnoteParameters::resonance

◆ [struct]

struct { ... } PADnoteParameters::sample[PAD_MAX_SAMPLES]

◆ samplesize

unsigned char PADnoteParameters::samplesize

◆ size

int PADnoteParameters::size

◆ smp

float* PADnoteParameters::smp

◆ smpoct

unsigned char PADnoteParameters::smpoct

◆ type

unsigned char PADnoteParameters::type

◆ width

unsigned char PADnoteParameters::width

The documentation for this class was generated from the following files: