Initial work to change octave mixer spectral module to a more generic ratio mixer module that has more shifters and allows changing the shift ratios. Also added a separate tab page in the GUI for it.

This commit is contained in:
xenakios
2018-04-03 16:34:20 +03:00
parent 3729c4ec28
commit 941ebf31a5
6 changed files with 155 additions and 6 deletions

View File

@ -27,6 +27,12 @@ using floatvector = std::vector<REALTYPE>;
using float2dvector = std::vector<std::vector<float>>;
using float3dvector = std::vector<std::vector<std::vector<float>>>;
template<typename T>
using uptrvec = std::vector<std::unique_ptr<T>>;
template<typename T>
using sptrvec = std::vector<std::shared_ptr<T>>;
template<typename T>
inline std::unique_ptr<T> unique_from_raw(T* ptr)
{