summaryrefslogtreecommitdiff
path: root/src/libs/sig/sig.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-02-10 23:47:34 -0800
committerVito Caputo <vcaputo@pengaru.com>2020-02-10 23:47:34 -0800
commit8ff41d060344af4d045bdd79bb826231d6739c7f (patch)
treee7e688c2d06d498b86838367c7e59203a58fb650 /src/libs/sig/sig.h
parent64a0fe99038b9c58a815a92db2eb2ded1fd2801a (diff)
libs/sig: triangle wave; sig_ops_tri / sig_new_tri()
Added a triangle wave
Diffstat (limited to 'src/libs/sig/sig.h')
-rw-r--r--src/libs/sig/sig.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/sig/sig.h b/src/libs/sig/sig.h
index 917dbc4..9be3012 100644
--- a/src/libs/sig/sig.h
+++ b/src/libs/sig/sig.h
@@ -38,15 +38,16 @@ sig_t * sig_new_round(sig_t *x);
sig_t * sig_new_scale(sig_t *x, sig_t *min, sig_t *max);
sig_t * sig_new_sin(sig_t *hz);
sig_t * sig_new_sqr(sig_t *hz);
+sig_t * sig_new_tri(sig_t *hz);
sig_t * sig_new_sub(sig_t *a, sig_t *b);
extern sig_ops_t sig_ops_const;
extern sig_ops_t sig_ops_rand;
extern sig_ops_t sig_ops_sin;
extern sig_ops_t sig_ops_sqr;
+extern sig_ops_t sig_ops_tri;
/* TODO:
-extern sig_ops_t sig_ops_tri;
extern sig_ops_t sig_ops_saw;
*/
© All Rights Reserved