MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ to_binding_osc()

InputBinding MayaFlux::Core::InputDeviceInfo::to_binding_osc ( const std::string &  pattern) const

Definition at line 192 of file InputBinding.cpp.

193{
194 return InputBinding {
195 .backend = backend_type,
196 .device_id = id,
197 .osc_address_pattern = pattern.empty() ? std::nullopt : std::optional(pattern)
198 };
199}
Vruta::SoundRoutine pattern(Vruta::TaskScheduler &scheduler, std::function< std::any(uint64_t)> pattern_func, std::function< void(std::any)> callback, double interval_seconds)
Creates a generative algorithm that produces values based on a pattern function.
Definition Tasks.cpp:93
uint32_t id
Unique device identifier within backend.
InputType backend_type
Which backend manages this device.

References MayaFlux::Core::InputBinding::backend, backend_type, and id.