Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Envelope/Envelope.h
- Revision:
- 19:08862f49cd9e
- Parent:
- 18:204cd747b54a
- Child:
- 21:60f01b17b0a6
--- a/Envelope/Envelope.h Thu May 21 22:59:59 2020 +0000
+++ b/Envelope/Envelope.h Fri May 22 20:10:00 2020 +0000
@@ -26,6 +26,7 @@
//Modifies input to envelope
uint16_t env_in(int a, int d, int s, int r, int in, bool init);
+ uint16_t release(int s, int r, int in, bool init);
private://----------------------------------------------------------------------
@@ -41,9 +42,11 @@
int d_vec;
int r_vec;
int at;
+ int samples_r;
//methods
int a_vector_calc(int av);
-
+ int d_vector_calc(int dv, int sv);
+ int r_vector_calc(int sv, int rv);
};
#endif
\ No newline at end of file