ReMAS
1.5
Real-time Musical Accompaniment System
|
General header file with constants, defines, structs, etc. using by ReMAS, both CPU and GPU. More...
Go to the source code of this file.
Data Structures | |
struct | DTWconst |
Struct for store global information of the problem. Each composition needs a file with values for these parameters. The structure of this text file, shared with DTWfiles struct should be one line per parameter. No empty lines and one empty line to the end. Example of this file: 57 // Number of bases/combinations. 77 // Number of states. 0.15 // Note duration (sec.) in the score. 11.5129 // ALPHA value. Datos/30sec/Input/hanning.bin // Name and path to the file with hanning data. ... Datos/30sec/Input/corrstates.bin // Name and path to the file with corr_states data. 1 // If 0 input audio from WAV file. If 1 input audio from sound device. hw:2,0 // Sound devide (mic) identification. If previous parameter=0 not used. 150 // MIDI time. Not used when ... 5 // Number of OSC clients. Limited to constant MaxOSC. 127.0.0.1 // If number of OSC client >0 the Host IP for the 1st client. 5432 // If number of OSC client >0 the Port for the 1st client. ... 127.0.0.5 // If number of OSC client >0 the Host IP for the last client. 5445 // If number of OSC client >0 the Port for the last client. More... | |
struct | DTWfiles |
Struct for store the name of input/verificaton files. Each composition needs a file with values for these parameters. The structure of this text file, shared with DTWconst struct should be one line per parameter. No empty lines and one empty line to the end. Example of this file: 57 // Number of bases/combinations. 77 // Number of states. 0.15 // Note duration (sec.) in the score. 11.5129 // ALPHA value. Datos/30sec/Input/hanning.bin // Name and path to the file with hanning data. ... Datos/30sec/Input/corrstates.bin // Name and path to the file with corr_states data. 1 // If 0 input audio from WAV file. If 1 input audio from sound device. hw:2,0 // Sound devide (mic) identification. If previous parameter=0 not used. 150 // MIDI time. Not used when ... 5 // Number of OSC clients. Limited to constant MaxOSC. 127.0.0.1 // If number of OSC client >0 the Host IP for the 1st client. 5432 // If number of OSC client >0 the Port for the 1st client. ... 127.0.0.5 // If number of OSC client >0 the Host IP for the last client. 5445 // If number of OSC client >0 the Port for the last client. More... | |
struct | WAVHeader |
Struct for WAVE file header. WAV files definitions. Note that we only work with 1 channel, 2 bytes per sample FMT length 16, PCM format, standard header length (44 bytes). See Read_WAVHeader function within FileFunctions.c file and struct WAVHeader within this file. More... | |
struct | STempo |
Struct for Compute tempos. More... | |
struct | STempoRL |
Struct for Compute tempos. More... | |
Typedefs | |
typedef struct DTWconst | DTWconst |
typedef struct DTWfiles | DTWfiles |
typedef struct WAVHeader | WAVHeader |
typedef struct STempo | STempo |
typedef struct STempoRL | STempoRL |
General header file with constants, defines, structs, etc. using by ReMAS, both CPU and GPU.
Definition in file defines.h.
#define CHECKERR | ( | x | ) |
#define CHECKNULL | ( | x | ) |
#define CUBLASERR | ( | x | ) |
#define CUDAERR | ( | x | ) |