src/matching.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/poll.h>
#include <sys/time.h>
#include "global.h"
#include "table.h"
Go to the source code of this file.
Define Documentation
Function Documentation
This function is the kernel of this program. We can divide it into four parts: (1) first, it handles the musician input in real time; (2) compares it with the score using the LCS problem algorithm; (3) updates the virtual clock according to the musician's tempo; (4) plays the accompaniment given the evolution of the virtual clock.
Variable Documentation