Changeset 5270:e25346c13638 in roaraudio for libroardsp/synth.c
- Timestamp:
- 11/17/11 18:20:12 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroardsp/synth.c
r4708 r5270 96 96 float cv0, cv1; 97 97 #endif 98 int i;98 size_t i; 99 99 100 100 _CHECK_PCMOUT(); … … 133 133 // basic SINFs: 134 134 float roar_synth_synf_rect (float t, struct roar_synth_state * state) { 135 (void)state; 136 135 137 t /= 2*M_PI; 136 138 t -= (int)t; … … 143 145 144 146 float roar_synth_synf_saw (float t, struct roar_synth_state * state) { 147 (void)state; 148 145 149 t /= 2*M_PI; 146 150 t -= (int)t; … … 150 154 151 155 float roar_synth_synf_tri (float t, struct roar_synth_state * state) { 156 (void)state; 157 152 158 t /= 2*M_PI; 153 159 t -= (int)t; … … 160 166 161 167 float roar_synth_synf_trap (float t, struct roar_synth_state * state) { 168 (void)state; 169 162 170 t /= 2*M_PI; 163 171 t -= (int)t; … … 176 184 #ifdef ROAR_HAVE_LIBM 177 185 float roar_synth_synf_s2s (float t, struct roar_synth_state * state) { 186 (void)state; 187 178 188 float sin2 = sinf(t/1.2); 179 189
Note: See TracChangeset
for help on using the changeset viewer.