|
LMMS
|
#include "Util.h"#include <vector>#include <cassert>#include <math.h>#include <stdio.h>#include <err.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include "ThreadShims.h"#include <errno.h>#include <string.h>Classes | |
| struct | pool_entry |
Typedefs | |
| typedef std::vector< pool_entry > | pool_t |
| typedef pool_t::iterator | pool_itr_t |
Functions | |
| float | VelF (float velocity, unsigned char scaling) |
| float | getdetune (unsigned char type, unsigned short int coarsedetune, unsigned short int finedetune) |
| bool | fileexists (const char *filename) |
| void | set_realtime () |
| void | os_sleep (long length) |
| std::string | legalizeFilename (std::string filename) |
| void | invSignal (float *sig, size_t len) |
| float * | getTmpBuffer () |
| void | returnTmpBuffer (float *buf) |
| void | clearTmpBuffers (void) |
| float | interpolate (const float *data, size_t len, float pos) |
| float | cinterpolate (const float *data, size_t len, float pos) |
Variables | |
| prng_t | prng_state = 0x1234 |
| Config | config |
| float * | denormalkillbuf |
| pool_t | pool |
| typedef pool_t::iterator pool_itr_t |
| typedef std::vector<pool_entry> pool_t |
| float cinterpolate | ( | const float * | data, |
| size_t | len, | ||
| float | pos ) |
| bool fileexists | ( | const char * | filename | ) |
| float getdetune | ( | unsigned char | type, |
| unsigned short int | coarsedetune, | ||
| unsigned short int | finedetune ) |
| float * getTmpBuffer | ( | ) |
| float interpolate | ( | const float * | data, |
| size_t | len, | ||
| float | pos ) |
| void invSignal | ( | float * | sig, |
| size_t | len ) |
| std::string legalizeFilename | ( | std::string | filename | ) |
| void os_sleep | ( | long | length | ) |
Os independent sleep in microsecond
| void returnTmpBuffer | ( | float * | buf | ) |
| void set_realtime | ( | ) |
Try to set current thread to realtime priority program priority
see if the right pid is being sent
see if this is having desired effect, if not then look at pthread_attr_t
| float VelF | ( | float | velocity, |
| unsigned char | scaling ) |
| float* denormalkillbuf |
the buffer to add noise in order to avoid denormalisation
| pool_t pool |
| prng_t prng_state = 0x1234 |