~pbatch/soundpipe

soundpipe/tangled/phasor.h -rw-r--r-- 638 bytes
49c52318Paul Batchelor fix talkbox typos 6 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#line 32 "phasor.org"
#ifndef SK_PHASOR_H
#define SK_PHASOR_H

#ifndef SKFLT
#define SKFLT float
#endif

#line 60 "phasor.org"
typedef struct sk_phasor sk_phasor;
#line 32 "phasor.org"
#line 79 "phasor.org"
void sk_phasor_init(sk_phasor *ph, int sr, SKFLT iphs);
#line 97 "phasor.org"
void sk_phasor_freq(sk_phasor *ph, SKFLT freq);
#line 113 "phasor.org"
SKFLT sk_phasor_tick(sk_phasor *ph);
#line 159 "phasor.org"
void sk_phasor_reset(sk_phasor *phs, SKFLT val);
#line 41 "phasor.org"
#ifdef SK_PHASOR_PRIV
#line 70 "phasor.org"
struct sk_phasor {
    SKFLT freq;
    SKFLT phs;
    SKFLT onedsr;
};
#line 43 "phasor.org"
#endif
#endif