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...
#include <defines.h>
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.
Definition at line 190 of file defines.h.
◆ ALPHA
ALPHA parameter. Default value=11.5129
Definition at line 195 of file defines.h.
◆ HostIP
char DTWconst::HostIP[MaxOSC][16] |
Host IP for OSC messages. Limited to 5. Used if NCLIOSC!= 0
Definition at line 200 of file defines.h.
◆ HostPort
char DTWconst::HostPort[MaxOSC][5] |
Host port for OSC messages. Used if NCliOSC != 0
Definition at line 201 of file defines.h.
◆ N_BASES
Number of bases/combinations. No default value.
Definition at line 192 of file defines.h.
◆ N_STATES
Number of states. No default value.
Definition at line 193 of file defines.h.
◆ NCliOSC
Number of OSC Clients. No default value
Definition at line 199 of file defines.h.
◆ NoteLen
Duration of the notes (sec.) in the score
Definition at line 194 of file defines.h.
◆ SoundID
char DTWconst::SoundID[32] |
Sound device (mic) identification. Used if WAVorMIC != 0
Definition at line 197 of file defines.h.
◆ Time_MIC
Sound time mic. Used if WAVorMIC != 0
Definition at line 198 of file defines.h.
◆ WAVorMIC
Equal to 0 input audio from WAV file, 1 from sound device
Definition at line 196 of file defines.h.
The documentation for this struct was generated from the following file: