Codebase list libsdl2-mixer / 0a3fbe0f-c00c-4cf8-99e4-f268d4cc2d77/main timidity / tables.h
0a3fbe0f-c00c-4cf8-99e4-f268d4cc2d77/main

Tree @0a3fbe0f-c00c-4cf8-99e4-f268d4cc2d77/main (Download .tar.gz)

tables.h @0a3fbe0f-c00c-4cf8-99e4-f268d4cc2d77/mainraw · history · blame

/* 

    TiMidity -- Experimental MIDI to WAVE converter
    Copyright (C) 1995 Tuukka Toivonen <toivonen@clinet.fi>

    This program is free software; you can redistribute it and/or modify
    it under the terms of the Perl Artistic License, available in COPYING.

    tables.h
*/

#include <math.h>
#define sine(x) (sin((2*PI/1024.0) * (x)))

#define SINE_CYCLE_LENGTH 1024
extern const Sint32 freq_table[];
extern const double vol_table[];
extern const double bend_fine[];
extern const double bend_coarse[];