add strech
parent
8b072db733
commit
4e0097be1c
|
|
@ -1,7 +1,7 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include <function.hpp>
|
typedef int32_t (*FUN)(int32_t);
|
||||||
|
|
||||||
auto simplest_lowpass(Function<uint32_t, int16_t> f_in) {
|
int32_t stretch(FUN f, float multiplicator, int32_t value) {
|
||||||
Function<uint32_t, int16_t> f_out;
|
return f(multiplicator * value);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue