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

An infinitely indexable read-only signal that repeats the original signal. Supports signed and unsigned integer indices or hermite-interpolated fractional indices. More...

#include <misc.h>

Public Member Functions

 circular_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::circular_signal< T >

An infinitely indexable read-only signal that repeats the original signal. Supports signed and unsigned integer indices or hermite-interpolated fractional indices.

Constructor & Destructor Documentation

◆ circular_signal()

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

Member Function Documentation

◆ operator()() [1/5]

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

Interpolates using hermite4

◆ operator()() [2/5]

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

◆ operator()() [3/5]

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

◆ operator()() [4/5]

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

◆ operator()() [5/5]

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

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