23 class SamplingPipeline;
31 class DynamicSoundStream;
36 class TextureArrayBuffer;
39namespace Yantra::Vision {
70MAYAFLUX_API std::shared_ptr<Kriya::SamplingPipeline>
create_sampler(
71 const std::string& filepath, uint32_t num_samples = 48000 * 5,
bool truncate =
true,
72 uint32_t channel = 0, uint64_t max_dur_ms = 0);
85MAYAFLUX_API std::shared_ptr<Kriya::SamplingPipeline>
create_sampler(
86 uint32_t num_samples = 48000 * 5,
bool truncate =
true,
87 uint32_t channel = 0, uint64_t max_dur_ms = 0);
109 std::shared_ptr<Kakshya::DynamicSoundStream>
stream,
110 uint32_t channel = 0, uint64_t max_dur_ms = 0);
132MAYAFLUX_API std::vector<std::shared_ptr<Kriya::SamplingPipeline>>
create_samplers(
133 const std::string& filepath, uint32_t num_samples = 48000 * 5,
bool truncate =
true,
134 uint64_t max_dur_ms = 0, uint32_t max_channels = 0);
143MAYAFLUX_API std::vector<std::shared_ptr<Kriya::SamplingPipeline>>
create_samplers(
144 uint32_t num_samples = 48000 * 5,
bool truncate =
true,
145 uint64_t max_dur_ms = 0, uint32_t max_channels = 0);
169 const std::string& filepath, uint32_t num_samples = 48000 * 5,
bool truncate =
true);
179 uint32_t num_samples = 48000 * 5,
bool truncate =
true);
191 std::shared_ptr<Kakshya::DynamicSoundStream>
stream);
216 std::shared_ptr<Buffers::TextureArrayBuffer>
buffer);
272MAYAFLUX_API std::shared_ptr<Kakshya::DynamicSoundStream>
create_ring(
273 double seconds, uint32_t
channels = 1);
298MAYAFLUX_API std::shared_ptr<Kriya::BufferPipeline>
record_into(
299 const std::shared_ptr<Kakshya::DynamicSoundStream>&
stream,
314MAYAFLUX_API std::shared_ptr<Kriya::BufferPipeline>
record_into(
315 const std::shared_ptr<Kakshya::DynamicSoundStream>&
stream,
316 const std::shared_ptr<Buffers::AudioBuffer>&
buffer, uint32_t channel = 0);
328MAYAFLUX_API std::vector<std::shared_ptr<Kriya::BufferPipeline>>
record_into(
329 const std::shared_ptr<Kakshya::DynamicSoundStream>&
stream,
330 std::vector<Kriya::CaptureBuilder> sources);
Core::GlobalStreamInfo stream
std::shared_ptr< NetworkGeometryBuffer > buffer
Fluent builder interface for constructing BufferCapture configurations.
Declares the layers of a Chimera, in order, and starts feeding them.
Describes a tap set one tap at a time, then starts it.
@ Buffers
Buffers, Managers, processors and processing chains.
@ Kakshya
Containers[Signalsource, Stream, File], Regions, DataProcessors.
@ Kriya
Automatable tasks and fluent scheduling api for Nodes and Buffers.
@ STRETCH
Whole source onto whole destination, aspect ignored.
Kriya::ChimeraBuilder create_chimera(std::shared_ptr< Buffers::TextureArrayBuffer > buffer)
Begin assembling the layers of a TextureArrayBuffer from what feeds each.
Kriya::TapSetBuilder create_tap_set(const std::string &filepath, uint32_t num_samples, bool truncate)
Begin describing several taps that read one audio file.
std::shared_ptr< Kriya::SamplingPipeline > create_sampler(const std::string &filepath, uint32_t num_samples, bool truncate, uint32_t channel, uint64_t max_dur_ms)
Construct a built SamplingPipeline from an audio file.
std::shared_ptr< Yantra::Vision::VisionWorkflow > create_vision_workflow()
A vision workflow running on the engine's managers.
std::shared_ptr< Kakshya::DynamicSoundStream > create_ring(double seconds, uint32_t channels)
Make a circular stream that keeps the most recent seconds of a signal.
std::shared_ptr< Kriya::SamplingPipeline > create_sampler_from_stream(std::shared_ptr< Kakshya::DynamicSoundStream > stream, uint32_t channel, uint64_t max_dur_ms)
Construct a built SamplingPipeline from an existing DynamicSoundStream.
std::vector< std::shared_ptr< Kriya::SamplingPipeline > > create_samplers(const std::string &filepath, uint32_t num_samples, bool truncate, uint64_t max_dur_ms, uint32_t max_channels)
Construct one built SamplingPipeline per channel from an audio file.
std::shared_ptr< Kriya::BufferPipeline > record_into(const std::shared_ptr< Kakshya::DynamicSoundStream > &stream, Kriya::CaptureBuilder source, uint32_t channel)
Record a signal into one channel of a stream, a block at a time.
std::shared_ptr< Buffers::TextureArrayBuffer > create_texture_array(const Kakshya::VideoStreamSpec &spec, const Portal::Graphics::RenderConfig &render, std::optional< Portal::Graphics::FitMode > fit, uint32_t mode)
Make a layered texture buffer that draws to a window.
Kriya::TapSetBuilder create_tap_set_from_stream(std::shared_ptr< Kakshya::DynamicSoundStream > stream)
Begin describing several taps that read an existing DynamicSoundStream.
Main namespace for the Maya Flux audio engine.
Describes a DynamicVideoStream so it can be built by designated initializer.
Unified rendering configuration for graphics buffers.