ape  0.5.0
Audio Programming Environment
Public Member Functions | List of all members
ape::windowed_signal< T > Struct Template Reference

An infinitely indexable read-only signal that windows the original signal (ie. it is zero outside of the bounds of the source material). Supports signed and unsigned integer indices or hermite-interpolated fractional indices. More...

#include <misc.h>

Public Member Functions

 windowed_signal (uarray< const T > source)
 
operator() (std::int64_t x) const noexcept
 
operator() (std::int32_t x) const noexcept
 
operator() (std::uint64_t x) const noexcept
 
operator() (std::uint32_t x) const noexcept
 
operator() (double x) const noexcept
 Interpolates using hermite4 More...
 

Detailed Description

template<typename T>
struct ape::windowed_signal< T >

An infinitely indexable read-only signal that windows the original signal (ie. it is zero outside of the bounds of the source material). Supports signed and unsigned integer indices or hermite-interpolated fractional indices.

Constructor & Destructor Documentation

◆ windowed_signal()

template<typename T >
ape::windowed_signal< T >::windowed_signal ( uarray< const T >  source)
inline

Member Function Documentation

◆ operator()() [1/5]

template<typename T >
T ape::windowed_signal< T >::operator() ( double  x) const
inlinenoexcept

Interpolates using hermite4

◆ operator()() [2/5]

template<typename T >
T ape::windowed_signal< T >::operator() ( std::int32_t  x) const
inlinenoexcept

◆ operator()() [3/5]

template<typename T >
T ape::windowed_signal< T >::operator() ( std::int64_t  x) const
inlinenoexcept

◆ operator()() [4/5]

template<typename T >
T ape::windowed_signal< T >::operator() ( std::uint32_t  x) const
inlinenoexcept

◆ operator()() [5/5]

template<typename T >
T ape::windowed_signal< T >::operator() ( std::uint64_t  x) const
inlinenoexcept

The documentation for this struct was generated from the following file: