LMMS
Loading...
Searching...
No Matches
Util.cpp File Reference
#include "globals.h"
#include "Util.h"
#include <vector>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <fstream>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <rtosc/rtosc.h>

Go to the source code of this file.

Namespaces

namespace  zyncarla

Macros

#define errx(...)

Functions

float zyncarla::VelF (float velocity, unsigned char scaling)
float zyncarla::getdetune (unsigned char type, unsigned short int coarsedetune, unsigned short int finedetune)
bool zyncarla::fileexists (const char *filename)
void zyncarla::set_realtime ()
void zyncarla::os_usleep (long length)
std::size_t zyncarla::os_guess_pid_length ()
 returns pid padded, posix conform
std::string zyncarla::os_pid_as_padded_string ()
 returns pid padded to maximum pid lenght, posix conform
std::string zyncarla::legalizeFilename (std::string filename)
void zyncarla::invSignal (float *sig, size_t len)
float zyncarla::interpolate (const float *data, size_t len, float pos)
float zyncarla::cinterpolate (const float *data, size_t len, float pos)
char * zyncarla::rtosc_splat (const char *path, std::set< std::string > v)

Variables

bool zyncarla::isPlugin = false
prng_t zyncarla::prng_state = 0x1234
constexpr std::size_t zyncarla::max_pid_len = 12
 safe pid lenght guess, posix conform

Macro Definition Documentation

◆ errx

#define errx ( ...)
Value:
{}