MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Kriya::TapSet Class Reference

One stream read by several independent taps. More...

#include <TapSet.hpp>

+ Collaboration diagram for MayaFlux::Kriya::TapSet:

Classes

struct  Seat
 
struct  Tap
 

Public Member Functions

void level (size_t tap, double gain)
 Change the level of a tap on all of its outputs.
 
std::shared_ptr< SamplingPipeline > sampler (size_t tap, size_t output=0) const
 The sampling pipeline that plays one output of a tap.
 
Kakshya::StreamSlice & slice (size_t tap, size_t output=0)
 The slice behind one output of a tap, for looping and region edits.
 
void speed (size_t tap, double ratio)
 Change the speed of a tap while it plays.
 
void stop ()
 Silence every tap and cancel entries that have not happened yet.
 
size_t tap_count () const
 Number of taps.
 
 TapSet ()=default
 

Private Attributes

std::shared_ptr< EventChain > m_entries
 
std::vector< std::shared_ptr< SamplingPipeline > > m_pipelines
 
std::vector< Tap > m_taps
 

Friends

class TapSetBuilder
 

Detailed Description

One stream read by several independent taps.

Like several samplers sharing a stream, each tap has its own entry time, speed, direction, level and output channels. Made by TapSetBuilder::start(). Taps are numbered in the order they were declared. Copies share the same taps, so keep one alive for as long as the set should sound.

Definition at line 17 of file TapSet.hpp.


The documentation for this class was generated from the following files: