|
Sound Byte Libs 0.5.1-340-gab5b79a
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
The signal transport trait: a component's declared ports and the check of a processing call against them. More...
The signal transport trait: a component's declared ports and the check of a processing call against them.
Enumerations | |
| enum class | Spelling : uint8_t { Either , Scalar , Block } |
| enum class | Unit : uint8_t { Number , CyclesPerFrame } |
Functions | |
| template<std::size_t I, class... A> | |
| constexpr auto | arg (A... args) |
Variables | |
| template<class A > | |
| constexpr bool | is_block_v |
| template<class A > | |
| constexpr bool | is_scalar_v = std::is_arithmetic_v<std::decay_t<A>> |
| template<class A > | |
| constexpr bool | is_omitted_v = std::is_same_v<std::decay_t<A>, Omitted> |
| template<class T > | |
| constexpr std::size_t | port_count_v = port_count<T>::value |
| template<class T > | |
| constexpr std::size_t | parameter_count_v = parameter_count<T>::value |
| template<class T , class... A> | |
| constexpr bool | fits_v = detail::fits<T, A...>(std::index_sequence_for<A...>{}) |
| template<class T > | |
| constexpr bool | is_source_v = is_source<T>::value |
| template<class T > | |
| constexpr bool | is_processor_v = is_processor<T>::value |
|
strong |
Which spellings a port accepts (section 7.2).
| Enumerator | |
|---|---|
| Either | a block or a scalar |
| Scalar | a scalar only |
| Block | a block only |
Definition at line 44 of file transport.hpp.
|
strong |
What a port's or a parameter's value is, so a tool can convert to it.
| Enumerator | |
|---|---|
| Number | used as given |
| CyclesPerFrame | a frequency; a tool takes it in Hz and divides by its sample rate |
Definition at line 51 of file transport.hpp.
|
constexpr |
The I-th port argument, or Omitted when the call left it off.
Definition at line 125 of file transport.hpp.
|
inlineconstexpr |
Definition at line 75 of file transport.hpp.
|
inlineconstexpr |
Definition at line 79 of file transport.hpp.
|
inlineconstexpr |
Definition at line 82 of file transport.hpp.
|
inlineconstexpr |
Definition at line 90 of file transport.hpp.
|
inlineconstexpr |
Definition at line 99 of file transport.hpp.
|
inlineconstexpr |
Whether port arguments of types A... fit T's declared ports.
Definition at line 121 of file transport.hpp.
Referenced by sbl::dsp::Vca::process(), sbl::dsp::Svf::process(), sbl::dsp::BlepOsc< Kernel >::process(), sbl::dsp::PhasePulse< Kernel >::process(), sbl::dsp::PhaseSaw< Kernel >::process(), sbl::dsp::PmPulse::process(), and sbl::dsp::Vco::process().
|
inlineconstexpr |
Definition at line 140 of file transport.hpp.
|
inlineconstexpr |
Definition at line 150 of file transport.hpp.