git ssb

0+

cel / foostudio



Tree: b5ebb2a607ac9ea92f525350e5b18580d0e71888

Files: b5ebb2a607ac9ea92f525350e5b18580d0e71888 / tune.c

192 bytesRaw
1#include <math.h>
2#include "tune.h"
3
4static float tune_play(struct tune *tune, double time)
5{
6 return 0.99 * sin(2. * M_PI * time * 440.);
7}
8
9const struct tune TUNE = {
10 .play = tune_play,
11};
12

Built with git-ssb-web