23 #ifndef Pd___PdMaster_h
24 #define Pd___PdMaster_h
26 #define PD_FLOATUINTTYPE unsigned int
42 #include "UnitGenerator.h"
67 unsigned long samplerate = 44100;
68 int blocksize = BLOCKSIZE;
69 double timeInSampleTicks;
70 double timeInMilliSeconds;
71 int fftWindowSize = 64;
72 std::string pdName =
"PdMaster";
88 int cosTableSize = COSTABSIZE;
91 void *
resizebytes(
void *old,
size_t oldsize,
size_t newsize);
92 void freebytes(
void *fatso,
size_t nbytes);
96 void setSampleRate(
unsigned long);
97 unsigned long getSampleRate();
98 void setBlockSize(
int);
115 void setFFTWindow(
int);
int pdBigOrSmall(double f)
Definition: PdMaster.cpp:86
The Pd++ namespace.
Definition: BandPass.cpp:14
double getTimeInSampleTicks()
Definition: PdMaster.cpp:69
A super class inherited by all Pd++ objects.
Definition: PdMaster.h:62
double rmstodb(double)
Definition: PdMaster.cpp:238
double dbtorms(double)
Definition: PdMaster.cpp:252
void * getbytes(size_t nbytes)
Definition: PdMaster.cpp:96
Input and output struct for PdAlgorithm.
Definition: PdMaster.h:46
double ftom(double)
Definition: PdMaster.cpp:203
Definition: PdMaster.h:82
int PD_BIGORSMALL(float f)
Definition: PdMaster.cpp:147
long getTimeInMilliSeconds(double time)
Definition: PdMaster.cpp:77
Personal namespace. Use intials for your own classes.
Definition: CosineWave.cpp:18
void * resizebytes(void *old, size_t oldsize, size_t newsize)
Definition: PdMaster.cpp:113
void cos_maketable()
Definition: PdMaster.cpp:154
void freebytes(void *fatso, size_t nbytes)
Definition: PdMaster.cpp:133
Definition: PdMaster.h:77
double mtof(double)
Definition: PdMaster.cpp:189
A portaudio wrapper class, based on portaudio's example.
Definition: paRender++.h:52
double dbtopow(double)
Definition: PdMaster.cpp:223
A struct returned by complex filters.
Definition: PdMaster.h:55
std::string getPath()
Definition: PdMaster.cpp:26
double powtodb(double)
Definition: PdMaster.cpp:209