#include #include "tune.h" static float tune_play(struct tune *tune, double time) { return 0.99 * sin(time*440); } const struct tune TUNE = { .play = tune_play, };