Files: 9a4197f942e271323580995751fd9296ef58aad6 / tune.c
192 bytesRaw
1 | |
2 | |
3 | |
4 | static float tune_play(struct tune *tune, double time) |
5 | { |
6 | return 0.99 * sin(2. * M_PI * time * 440.); |
7 | } |
8 | |
9 | const struct tune TUNE = { |
10 | .play = tune_play, |
11 | }; |
12 |
Built with git-ssb-web