#include <string>
#include <sstream>
#include <stdint.h>
#include "Config.h"
#include "../globals.h"
Go to the source code of this file.
|
| float | VelF (float velocity, unsigned char scaling) |
| bool | fileexists (const char *filename) |
| float | getdetune (unsigned char type, unsigned short int coarsedetune, unsigned short int finedetune) |
| void | set_realtime () |
| void | os_sleep (long length) |
| std::string | legalizeFilename (std::string filename) |
| void | invSignal (float *sig, size_t len) |
| template<class T> |
| std::string | stringFrom (T x) |
| template<class T> |
| T | stringTo (const char *x) |
| template<class T> |
| T | limit (T val, T min, T max) |
| prng_t | prng_r (prng_t &p) |
| prng_t | prng (void) |
| void | sprng (prng_t p) |
| float | interpolate (const float *data, size_t len, float pos) |
| float | cinterpolate (const float *data, size_t len, float pos) |
◆ INT32_MAX
| #define INT32_MAX (2147483647) |
◆ N_DETUNE_TYPES
◆ RND
◆ cinterpolate()
| float cinterpolate |
( |
const float * | data, |
|
|
size_t | len, |
|
|
float | pos ) |
◆ fileexists()
| bool fileexists |
( |
const char * | filename | ) |
|
◆ getdetune()
| float getdetune |
( |
unsigned char | type, |
|
|
unsigned short int | coarsedetune, |
|
|
unsigned short int | finedetune ) |
|
extern |
◆ interpolate()
| float interpolate |
( |
const float * | data, |
|
|
size_t | len, |
|
|
float | pos ) |
◆ invSignal()
| void invSignal |
( |
float * | sig, |
|
|
size_t | len ) |
◆ legalizeFilename()
| std::string legalizeFilename |
( |
std::string | filename | ) |
|
◆ limit()
template<class T>
| T limit |
( |
T | val, |
|
|
T | min, |
|
|
T | max ) |
◆ os_sleep()
| void os_sleep |
( |
long | length | ) |
|
Os independent sleep in microsecond
◆ prng()
◆ prng_r()
| prng_t prng_r |
( |
prng_t & | p | ) |
|
|
inline |
◆ set_realtime()
Try to set current thread to realtime priority program priority
- Todo
see if the right pid is being sent
see if this is having desired effect, if not then look at pthread_attr_t
◆ sprng()
◆ stringFrom()
template<class T>
| std::string stringFrom |
( |
T | x | ) |
|
◆ stringTo()
template<class T>
| T stringTo |
( |
const char * | x | ) |
|
◆ VelF()
| float VelF |
( |
float | velocity, |
|
|
unsigned char | scaling ) |
|
extern |
◆ config
◆ denormalkillbuf
the buffer to add noise in order to avoid denormalisation
◆ prng_state