MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
Rigs.hpp File Reference

Pre-assembled, purpose-built signal flow configurations. More...

+ Include dependency graph for Rigs.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
 
namespace  MayaFlux::Buffers
 
namespace  MayaFlux::Kakshya
 
namespace  MayaFlux::Kriya
 
namespace  MayaFlux::Yantra
 
namespace  MayaFlux::Yantra::Vision
 

Functions

Kriya::ChimeraBuilder MayaFlux::create_chimera (const Kakshya::VideoStreamSpec &spec, Portal::Graphics::RenderConfig render, std::optional< Portal::Graphics::FitMode > fit=Portal::Graphics::FitMode::STRETCH)
 Begin a Chimera over an array buffer made and drawn here.
 
Kriya::ChimeraBuilder MayaFlux::create_chimera (std::shared_ptr< Buffers::TextureArrayBuffer > buffer)
 Begin assembling the layers of a TextureArrayBuffer from what feeds each.
 
std::shared_ptr< Kakshya::DynamicSoundStream > MayaFlux::create_ring (double seconds, uint32_t channels=1)
 Make a circular stream that keeps the most recent seconds of a signal.
 
std::shared_ptr< Kriya::SamplingPipeline > MayaFlux::create_sampler (const std::string &filepath, uint32_t num_samples=48000 *5, bool truncate=true, uint32_t channel=0, uint64_t max_dur_ms=0)
 Construct a built SamplingPipeline from an audio file.
 
std::shared_ptr< Kriya::SamplingPipeline > MayaFlux::create_sampler (uint32_t num_samples=48000 *5, bool truncate=true, uint32_t channel=0, uint64_t max_dur_ms=0)
 Construct a built SamplingPipeline from a file picked in a dialog.
 
std::shared_ptr< Kriya::SamplingPipeline > MayaFlux::create_sampler_from_stream (std::shared_ptr< Kakshya::DynamicSoundStream > stream, uint32_t channel=0, uint64_t max_dur_ms=0)
 Construct a built SamplingPipeline from an existing DynamicSoundStream.
 
std::vector< std::shared_ptr< Kriya::SamplingPipeline > > MayaFlux::create_samplers (const std::string &filepath, uint32_t num_samples=48000 *5, bool truncate=true, uint64_t max_dur_ms=0, uint32_t max_channels=0)
 Construct one built SamplingPipeline per channel from an audio file.
 
std::vector< std::shared_ptr< Kriya::SamplingPipeline > > MayaFlux::create_samplers (uint32_t num_samples=48000 *5, bool truncate=true, uint64_t max_dur_ms=0, uint32_t max_channels=0)
 Construct one built SamplingPipeline per channel from a file picked in a dialog.
 
Kriya::TapSetBuilder MayaFlux::create_tap_set (const std::string &filepath, uint32_t num_samples=48000 *5, bool truncate=true)
 Begin describing several taps that read one audio file.
 
Kriya::TapSetBuilder MayaFlux::create_tap_set (uint32_t num_samples=48000 *5, bool truncate=true)
 Begin describing several taps that read a file picked in a dialog.
 
Kriya::TapSetBuilder MayaFlux::create_tap_set_from_stream (std::shared_ptr< Kakshya::DynamicSoundStream > stream)
 Begin describing several taps that read an existing DynamicSoundStream.
 
std::shared_ptr< Buffers::TextureArrayBuffer > MayaFlux::create_texture_array (const Kakshya::VideoStreamSpec &spec, const Portal::Graphics::RenderConfig &render, std::optional< Portal::Graphics::FitMode > fit=Portal::Graphics::FitMode::STRETCH, uint32_t mode=0)
 Make a layered texture buffer that draws to a window.
 
std::shared_ptr< Yantra::Vision::VisionWorkflow > MayaFlux::create_vision_workflow ()
 A vision workflow running on the engine's managers.
 
std::shared_ptr< Kriya::BufferPipeline > MayaFlux::record_into (const std::shared_ptr< Kakshya::DynamicSoundStream > &stream, const std::shared_ptr< Buffers::AudioBuffer > &buffer, uint32_t channel=0)
 Record a live buffer into one channel of a stream.
 
std::shared_ptr< Kriya::BufferPipeline > MayaFlux::record_into (const std::shared_ptr< Kakshya::DynamicSoundStream > &stream, Kriya::CaptureBuilder source, uint32_t channel=0)
 Record a signal into one channel of a stream, a block at a time.
 
std::vector< std::shared_ptr< Kriya::BufferPipeline > > MayaFlux::record_into (const std::shared_ptr< Kakshya::DynamicSoundStream > &stream, std::vector< Kriya::CaptureBuilder > sources)
 Record several sources into consecutive channels of a stream.
 

Detailed Description

Pre-assembled, purpose-built signal flow configurations.

Each function in this file constructs, wires, and returns a fully built pipeline object ready for immediate use. The caller receives a live rig with no further assembly required: IO, buffering, scheduling, and output routing are resolved internally using engine globals.

These are convenience entry points. Direct construction of the underlying types (SamplingPipeline, BufferPipeline, etc.) remains available for cases that require non-default configuration before build().

Definition in file Rigs.hpp.