No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sineosc.h 245B

123456789101112
  1. #ifndef SINEOSC_H_
  2. #define SINEOSC_H_
  3. struct SineOsc {
  4. float a, s0, s1;
  5. };
  6. void sine_osc_init(struct SineOsc *osc);
  7. void sine_osc_set_freq(struct SineOsc *osc, float freq);
  8. float sine_osc_sample(struct SineOsc *osc);
  9. #endif /* SINEOSC_H_ */